Skip to content

Commit b314ad8

Browse files
committed
feat(statics): ungate 7 top priority assets for bitstamp
COIN-2519 TICKET: COIN-2519
1 parent 4d70af6 commit b314ad8

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

modules/statics/src/coins.ts

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const DOT_FEATURES = [
165165
CoinFeature.STAKING,
166166
CoinFeature.EXPIRING_TRANSACTIONS,
167167
CoinFeature.REBUILD_ON_CUSTODY_SIGNING,
168+
CoinFeature.CUSTODY_BITGO_FRANKFURT,
168169
];
169170
const EOS_FEATURES = [
170171
...AccountCoin.DEFAULT_FEATURES,
@@ -230,6 +231,7 @@ const NEAR_FEATURES = [
230231
CoinFeature.TSS_COLD,
231232
CoinFeature.STAKING,
232233
CoinFeature.REBUILD_ON_CUSTODY_SIGNING,
234+
CoinFeature.CUSTODY_BITGO_FRANKFURT,
233235
];
234236
const MATIC_FEATURES = [
235237
...AccountCoin.DEFAULT_FEATURES,
@@ -313,9 +315,13 @@ const INJECTIVE_FEATURES = [
313315
const COREUM_FEATURES = [...COSMOS_SIDECHAIN_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
314316
const SEI_FEATURES = [...COSMOS_SIDECHAIN_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
315317
const TOKEN_FEATURES_WITH_SWISS = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_SWITZERLAND];
316-
const TOKEN_FEATURES_WITH_NY = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_NEW_YORK];
317-
const TOKEN_FEATURES_WITH_NY_GERMANY = [...TOKEN_FEATURES_WITH_NY, CoinFeature.CUSTODY_BITGO_GERMANY];
318318
const TOKEN_FEATURES_WITH_FRANKFURT = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
319+
const TOKEN_FEATURES_WITH_NY_GERMANY_FRANKFURT = [
320+
...AccountCoin.DEFAULT_FEATURES,
321+
CoinFeature.CUSTODY_BITGO_NEW_YORK,
322+
CoinFeature.CUSTODY_BITGO_GERMANY,
323+
CoinFeature.CUSTODY_BITGO_FRANKFURT,
324+
];
319325
const GENERIC_TOKEN_FEATURES = [
320326
CoinFeature.ACCOUNT_MODEL,
321327
CoinFeature.REQUIRES_BIG_NUMBER,
@@ -4474,7 +4480,8 @@ export const coins = CoinMap.fromCoins([
44744480
'The Graph',
44754481
18,
44764482
'0xc944e90c64b2c07662a292be6244bdf05cda44a7',
4477-
UnderlyingAsset.GRT
4483+
UnderlyingAsset.GRT,
4484+
ETH_FEATURES_WITH_FRANKFURT
44784485
),
44794486
erc20(
44804487
'b9a52473-f4a9-491f-a59d-e642f87299ef',
@@ -5102,7 +5109,8 @@ export const coins = CoinMap.fromCoins([
51025109
'ChainLink',
51035110
18,
51045111
'0x514910771af9ca656af840dff83e8264ecf986ca',
5105-
UnderlyingAsset.LINK
5112+
UnderlyingAsset.LINK,
5113+
ETH_FEATURES_WITH_FRANKFURT
51065114
),
51075115
erc20(
51085116
'ca72e22a-8fd4-4f17-90f0-c44987be9dcd',
@@ -6767,7 +6775,8 @@ export const coins = CoinMap.fromCoins([
67676775
'Sand',
67686776
18,
67696777
'0x3845badade8e6dff049820680d1f14bd3903a5d0',
6770-
UnderlyingAsset.SAND
6778+
UnderlyingAsset.SAND,
6779+
ETH_FEATURES_WITH_FRANKFURT
67716780
),
67726781
erc20(
67736782
'2de0ecf5-f1ad-410f-900d-1843755e4b49',
@@ -6856,7 +6865,7 @@ export const coins = CoinMap.fromCoins([
68566865
18,
68576866
'0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce',
68586867
UnderlyingAsset.SHIB,
6859-
TOKEN_FEATURES_WITH_NY_GERMANY
6868+
TOKEN_FEATURES_WITH_NY_GERMANY_FRANKFURT
68606869
),
68616870
erc20(
68626871
'e25ca1cf-b0f4-42a0-9d7f-42b94a1e9738',
@@ -7578,7 +7587,8 @@ export const coins = CoinMap.fromCoins([
75787587
'Uniswap Token',
75797588
18,
75807589
'0x1f9840a85d5af5bf1d1762f925bdaddc4201f984',
7581-
UnderlyingAsset.UNI
7590+
UnderlyingAsset.UNI,
7591+
ETH_FEATURES_WITH_FRANKFURT
75827592
),
75837593
erc20(
75847594
'c0210f3b-f053-4a5b-b375-2abe8c013e29',

modules/statics/test/unit/coins.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
7777
CoinFeature.CUSTODY_BITGO_NEW_YORK,
7878
],
7979
},
80+
dot: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
8081
eos: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
8182
eth: {
8283
features: [
@@ -105,6 +106,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
105106
},
106107
dash: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
107108
matic: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
109+
near: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
108110
weth: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
109111
eigen: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
110112
'reth-rocket': { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
@@ -154,7 +156,13 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
154156
CoinFeature.CUSTODY_BITGO_FRANKFURT,
155157
],
156158
},
157-
shib: { features: [CoinFeature.CUSTODY_BITGO_NEW_YORK, CoinFeature.CUSTODY_BITGO_GERMANY] },
159+
shib: {
160+
features: [
161+
CoinFeature.CUSTODY_BITGO_NEW_YORK,
162+
CoinFeature.CUSTODY_BITGO_GERMANY,
163+
CoinFeature.CUSTODY_BITGO_FRANKFURT,
164+
],
165+
},
158166
injv2: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
159167
moca: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
160168
wbtc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -226,6 +234,10 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
226234
rly: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
227235
atom: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
228236
dfi: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
237+
grt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
238+
link: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
239+
sand: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
240+
uni: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
229241
tia: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
230242
bsc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
231243

@@ -315,6 +327,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
315327
tcelo: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
316328
tcoreum: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
317329
tdoge: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
330+
tdot: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
318331
teos: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
319332
gteth: {
320333
features: [
@@ -351,6 +364,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
351364
],
352365
},
353366
tmatic: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
367+
tnear: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
354368
tweth: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
355369
tinjective: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
356370
topeth: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },

0 commit comments

Comments
 (0)