Skip to content

Commit 198ce0c

Browse files
authored
Merge pull request #7466 from BitGo/COIN-6422
feat(statics): ungate coins and tokens for Germany
2 parents c37022a + 77702c9 commit 198ce0c

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
@@ -3772,7 +3772,7 @@ export const allCoinsAndTokens = [
37723772
18,
37733773
'0x912ce59144191c1204e64559fe8253a0e49e6548',
37743774
UnderlyingAsset['arbeth:arb'],
3775-
TOKEN_FEATURES_WITH_FRANKFURT
3775+
[...TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY]
37763776
),
37773777
arbethErc20(
37783778
'65668b2e-6560-4749-a965-4d03eaeffaec',

modules/statics/src/coinFeatures.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ export const SUI_FEATURES = [
369369
CoinFeature.BULK_STAKING_TRANSACTION,
370370
CoinFeature.SUPPORTS_TOKENS,
371371
CoinFeature.CUSTODY_BITGO_FRANKFURT,
372+
CoinFeature.CUSTODY_BITGO_GERMANY,
372373
CoinFeature.CUSTODY_BULK_TRANSACTION,
373374
];
374375
export const SUI_TOKEN_FEATURES = [
@@ -447,6 +448,7 @@ export const TON_FEATURES = [
447448
CoinFeature.STAKING,
448449
CoinFeature.REBUILD_ON_CUSTODY_SIGNING,
449450
CoinFeature.CUSTODY_BITGO_FRANKFURT,
451+
CoinFeature.CUSTODY_BITGO_GERMANY,
450452
CoinFeature.ALPHANUMERIC_MEMO_ID,
451453
CoinFeature.SUPPORTS_TOKENS,
452454
];
@@ -467,6 +469,7 @@ export const ARBETH_FEATURES = [
467469
CoinFeature.USES_NON_PACKED_ENCODING_FOR_TXDATA,
468470
CoinFeature.ETH_ROLLUP_CHAIN,
469471
CoinFeature.CUSTODY_BITGO_FRANKFURT,
472+
CoinFeature.CUSTODY_BITGO_GERMANY,
470473
CoinFeature.EIP1559,
471474
CoinFeature.WALLET_CONNECT_DEFI,
472475
CoinFeature.MULTISIG,

modules/statics/src/coins/erc20Coins.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,8 @@ export const erc20Coins = [
22952295
'Ethena',
22962296
18,
22972297
'0x57e114b691db790c35207b2e685d4a43181e6061',
2298-
UnderlyingAsset.ENA
2298+
UnderlyingAsset.ENA,
2299+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
22992300
),
23002301
erc20(
23012302
'44c90df7-cdb9-4a7e-a5fa-33f3e12e42d1',
@@ -3352,7 +3353,8 @@ export const erc20Coins = [
33523353
'Immutable X',
33533354
18,
33543355
'0xf57e7e7c23978c3caec3c3548e3d615c346e79ff',
3355-
UnderlyingAsset.IMXV2
3356+
UnderlyingAsset.IMXV2,
3357+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
33563358
),
33573359
erc20(
33583360
'b86f9330-7c00-4e1a-9432-ec965e3c14d4',
@@ -3411,7 +3413,7 @@ export const erc20Coins = [
34113413
18,
34123414
'0xe28b3b32b6c345a34ff64674606124dd5aceca30',
34133415
UnderlyingAsset.INJV2,
3414-
TOKEN_FEATURES_WITH_SWISS
3416+
[...TOKEN_FEATURES_WITH_SWISS, CoinFeature.CUSTODY_BITGO_GERMANY]
34153417
),
34163418
erc20(
34173419
'108a64ac-9be8-4bf9-a683-3f30d49708de',
@@ -3698,7 +3700,7 @@ export const erc20Coins = [
36983700
18,
36993701
'0x5a98fcbea516cf06857215779fd812ca3bef1b32',
37003702
UnderlyingAsset.LDO,
3701-
ETH_FEATURES_WITH_FRANKFURT
3703+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
37023704
),
37033705
erc20(
37043706
'5a44ae9e-c002-46cd-af8a-7e5fc91f3492',
@@ -4498,7 +4500,7 @@ export const erc20Coins = [
44984500
18,
44994501
'0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3',
45004502
UnderlyingAsset.ONDO,
4501-
ETH_FEATURES_WITH_FRANKFURT
4503+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
45024504
),
45034505
erc20(
45044506
'fa692f6a-3491-4c7a-b512-927e6fcdd3f0',
@@ -5089,7 +5091,7 @@ export const erc20Coins = [
50895091
18,
50905092
'0x4a220e6096b25eadb88358cb44068a3248254675',
50915093
UnderlyingAsset.QNT,
5092-
ETH_FEATURES_WITH_FRANKFURT
5094+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
50935095
),
50945096
erc20(
50955097
'c3961c7d-6788-45d0-9630-f413ce6e0889',
@@ -11391,7 +11393,8 @@ export const erc20Coins = [
1139111393
'Morpho Token',
1139211394
18,
1139311395
'0x58d97b57bb95320f9a05dc918aef65434969c2b2',
11394-
UnderlyingAsset['eth:morpho']
11396+
UnderlyingAsset['eth:morpho'],
11397+
ETH_FEATURES_WITH_FRANKFURT_GERMANY
1139511398
),
1139611399
erc20(
1139711400
'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)