Skip to content

Commit b6b4b24

Browse files
Merge pull request #5091 from BitGo/COIN-2116-ungate-assets-for-frankfurt-trust
feat(statics): ungating tokens for Frankfurt trust
2 parents 086b5ef + 7ab9463 commit b6b4b24

File tree

2 files changed

+101
-34
lines changed

2 files changed

+101
-34
lines changed

modules/statics/src/coins.ts

Lines changed: 60 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ const OAS_FEATURES = [
352352
CoinFeature.BULK_TRANSACTION,
353353
];
354354
const ETH_FEATURES_WITH_FRANKFURT = [...ETH_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
355+
const SOL_TOKEN_FEATURES_WITH_FRANKFURT = [...SOL_TOKEN_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
356+
const XLM_TOKEN_FEATURES_WITH_FRANKFURT = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
355357
const ZETA_FEATURES = [...COSMOS_SIDECHAIN_FEATURES, CoinFeature.CUSTODY_BITGO_SINGAPORE];
356358
const ZETA_EVM_FEATURES = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_SINGAPORE];
357359
export const coins = CoinMap.fromCoins([
@@ -2000,7 +2002,8 @@ export const coins = CoinMap.fromCoins([
20002002
'ApeCoin',
20012003
18,
20022004
'0x4d224452801aced8b2f0aebe155379bb5d594381',
2003-
UnderlyingAsset.APE
2005+
UnderlyingAsset.APE,
2006+
ETH_FEATURES_WITH_FRANKFURT
20042007
),
20052008
erc20(
20062009
'59bbe1cb-55bf-4ce0-823b-47ee21112890',
@@ -2480,7 +2483,8 @@ export const coins = CoinMap.fromCoins([
24802483
'Blur',
24812484
18,
24822485
'0x5283d291dbcf85356a21ba090e6db59121208b44',
2483-
UnderlyingAsset.BLUR
2486+
UnderlyingAsset.BLUR,
2487+
ETH_FEATURES_WITH_FRANKFURT
24842488
),
24852489
erc20(
24862490
'76207650-917a-455e-b2f8-c9654a4d8d90',
@@ -2544,7 +2548,8 @@ export const coins = CoinMap.fromCoins([
25442548
'Boba Token',
25452549
18,
25462550
'0x42bbfa2e77757c645eeaad1655e0911a7553efbc',
2547-
UnderlyingAsset.BOBA
2551+
UnderlyingAsset.BOBA,
2552+
ETH_FEATURES_WITH_FRANKFURT
25482553
),
25492554
erc20(
25502555
'0f2c360d-7733-4d02-8548-e41c222115f0',
@@ -3128,7 +3133,8 @@ export const coins = CoinMap.fromCoins([
31283133
'Cryptex',
31293134
18,
31303135
'0x321c2fe4446c7c963dc41dd58879af648838f98d',
3131-
UnderlyingAsset.CTX
3136+
UnderlyingAsset.CTX,
3137+
ETH_FEATURES_WITH_FRANKFURT
31323138
),
31333139
erc20(
31343140
'e7550f73-fedd-4eb3-9838-d8b4f63c9a9f',
@@ -3201,7 +3207,7 @@ export const coins = CoinMap.fromCoins([
32013207
18,
32023208
'0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359',
32033209
UnderlyingAsset.DAI,
3204-
undefined,
3210+
ETH_FEATURES_WITH_FRANKFURT,
32053211
undefined,
32063212
'SAI'
32073213
),
@@ -3684,7 +3690,8 @@ export const coins = CoinMap.fromCoins([
36843690
'Ethereum Name Service',
36853691
18,
36863692
'0xc18360217d8f7ab5e7c516566761ea12ce7f9d72',
3687-
UnderlyingAsset.ENS
3693+
UnderlyingAsset.ENS,
3694+
ETH_FEATURES_WITH_FRANKFURT
36883695
),
36893696
erc20(
36903697
'c11b3a5b-2801-4cb2-bfb7-460af2449a94',
@@ -4260,7 +4267,8 @@ export const coins = CoinMap.fromCoins([
42604267
'Gods Unchained',
42614268
18,
42624269
'0xccc8cb5229b0ac8069c51fd58367fd1e622afd97',
4263-
UnderlyingAsset.GODS
4270+
UnderlyingAsset.GODS,
4271+
ETH_FEATURES_WITH_FRANKFURT
42644272
),
42654273
erc20(
42664274
'7613ac09-eeb1-4aa9-8cac-b36cac79ce7e',
@@ -4885,7 +4893,8 @@ export const coins = CoinMap.fromCoins([
48854893
'Lido DAO Token',
48864894
18,
48874895
'0x5a98fcbea516cf06857215779fd812ca3bef1b32',
4888-
UnderlyingAsset.LDO
4896+
UnderlyingAsset.LDO,
4897+
ETH_FEATURES_WITH_FRANKFURT
48894898
),
48904899
erc20(
48914900
'5a44ae9e-c002-46cd-af8a-7e5fc91f3492',
@@ -4941,7 +4950,8 @@ export const coins = CoinMap.fromCoins([
49414950
'LimeWire Token',
49424951
18,
49434952
'0x628a3b2e302c7e896acc432d2d0dd22b6cb9bc88',
4944-
UnderlyingAsset.LMWR
4953+
UnderlyingAsset.LMWR,
4954+
ETH_FEATURES_WITH_FRANKFURT
49454955
),
49464956
erc20(
49474957
'741a2032-0f4f-400c-8c1c-55fe33af7f5c',
@@ -5345,7 +5355,8 @@ export const coins = CoinMap.fromCoins([
53455355
'Mog Coin',
53465356
18,
53475357
'0xaaee1a9723aadb7afa2810263653a34ba2c21c7a',
5348-
UnderlyingAsset.MOG
5358+
UnderlyingAsset.MOG,
5359+
ETH_FEATURES_WITH_FRANKFURT
53495360
),
53505361
erc20(
53515362
'199e23f6-a1be-40c8-ab93-9df2d0c5f6c2',
@@ -5361,7 +5372,8 @@ export const coins = CoinMap.fromCoins([
53615372
'Maple Token',
53625373
18,
53635374
'0x33349b282065b0284d756f0577fb39c158f935e6',
5364-
UnderlyingAsset.MPL
5375+
UnderlyingAsset.MPL,
5376+
ETH_FEATURES_WITH_FRANKFURT
53655377
),
53665378
erc20(
53675379
'ef3fd8e2-ac69-4499-b615-59c4b3c5b674',
@@ -5617,7 +5629,8 @@ export const coins = CoinMap.fromCoins([
56175629
'Ondo',
56185630
18,
56195631
'0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3',
5620-
UnderlyingAsset.ONDO
5632+
UnderlyingAsset.ONDO,
5633+
ETH_FEATURES_WITH_FRANKFURT
56215634
),
56225635
erc20(
56235636
'fa692f6a-3491-4c7a-b512-927e6fcdd3f0',
@@ -5873,7 +5886,8 @@ export const coins = CoinMap.fromCoins([
58735886
'Pepe',
58745887
18,
58755888
'0x6982508145454ce325ddbe47a25d4ec3d2311933',
5876-
UnderlyingAsset.PEPE
5889+
UnderlyingAsset.PEPE,
5890+
ETH_FEATURES_WITH_FRANKFURT
58775891
),
58785892
erc20(
58795893
'90edae14-9c2c-4245-bb90-a9062d08ef95',
@@ -6218,7 +6232,8 @@ export const coins = CoinMap.fromCoins([
62186232
'Radicle',
62196233
18,
62206234
'0x31c8eacbffdd875c74b94b077895bd78cf1e64a3',
6221-
UnderlyingAsset.RAD
6235+
UnderlyingAsset.RAD,
6236+
ETH_FEATURES_WITH_FRANKFURT
62226237
),
62236238
erc20(
62246239
'5641e709-977d-486f-b000-842f43a2d82d',
@@ -6458,7 +6473,8 @@ export const coins = CoinMap.fromCoins([
64586473
'Render',
64596474
18,
64606475
'0x6de037ef9ad2725eb40118bb1702ebb27e4aeb24',
6461-
UnderlyingAsset.RNDR
6476+
UnderlyingAsset.RNDR,
6477+
ETH_FEATURES_WITH_FRANKFURT
64626478
),
64636479
erc20(
64646480
'18880028-ca07-4229-a39d-406812ef4380',
@@ -6699,7 +6715,8 @@ export const coins = CoinMap.fromCoins([
66996715
'SKALE Network',
67006716
18,
67016717
'0x00c83aecc790e8a4453e5dd3b0b4b3680501a7a7',
6702-
UnderlyingAsset.SKALE
6718+
UnderlyingAsset.SKALE,
6719+
ETH_FEATURES_WITH_FRANKFURT
67036720
),
67046721
erc20(
67056722
'bf1fb48c-be9e-48a9-8769-ccb034c1cffe',
@@ -6723,7 +6740,8 @@ export const coins = CoinMap.fromCoins([
67236740
'Smooth Love Potion',
67246741
0,
67256742
'0xcc8fa225d80b9c7d42f96e9570156c65d6caaa25',
6726-
UnderlyingAsset.SLP
6743+
UnderlyingAsset.SLP,
6744+
ETH_FEATURES_WITH_FRANKFURT
67276745
),
67286746
erc20(
67296747
'55631719-83ac-45af-bd7d-b69d7fef7092',
@@ -6739,7 +6757,8 @@ export const coins = CoinMap.fromCoins([
67396757
'Swarm Markets',
67406758
18,
67416759
'0xb17548c7b510427baac4e267bea62e800b247173',
6742-
UnderlyingAsset.SMT
6760+
UnderlyingAsset.SMT,
6761+
ETH_FEATURES_WITH_FRANKFURT
67436762
),
67446763
erc20(
67456764
'd736cd6a-55d1-48a5-8cf5-6b920715cb7f',
@@ -6835,7 +6854,8 @@ export const coins = CoinMap.fromCoins([
68356854
'StarkNet Token',
68366855
18,
68376856
'0xca14007eff0db1f8135f4c25b34de49ab0d42766',
6838-
UnderlyingAsset.STRK
6857+
UnderlyingAsset.STRK,
6858+
ETH_FEATURES_WITH_FRANKFURT
68396859
),
68406860
erc20(
68416861
'19382390-e3cf-4597-9723-f7c91a22e798',
@@ -7172,7 +7192,8 @@ export const coins = CoinMap.fromCoins([
71727192
'OriginTrails',
71737193
18,
71747194
'0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f',
7175-
UnderlyingAsset.TRAC
7195+
UnderlyingAsset.TRAC,
7196+
ETH_FEATURES_WITH_FRANKFURT
71767197
),
71777198
erc20(
71787199
'00aec019-d10f-48c3-af0b-ef742832a803',
@@ -7244,7 +7265,8 @@ export const coins = CoinMap.fromCoins([
72447265
'Truflation',
72457266
18,
72467267
'0x38c2a4a7330b22788374b8ff70bba513c8d848ca',
7247-
UnderlyingAsset.TRUF
7268+
UnderlyingAsset.TRUF,
7269+
ETH_FEATURES_WITH_FRANKFURT
72487270
),
72497271
erc20(
72507272
'800b8416-6928-4adf-b291-5016760e740b',
@@ -7574,7 +7596,8 @@ export const coins = CoinMap.fromCoins([
75747596
'Vega Protocol',
75757597
18,
75767598
'0xcb84d72e61e383767c4dfeb2d8ff7f4fb89abc6e',
7577-
UnderlyingAsset.VEGA
7599+
UnderlyingAsset.VEGA,
7600+
ETH_FEATURES_WITH_FRANKFURT
75787601
),
75797602
erc20(
75807603
'2afb510c-8932-4baf-822d-fb1b3a70a5bd',
@@ -7710,7 +7733,8 @@ export const coins = CoinMap.fromCoins([
77107733
'Wecan Group',
77117734
18,
77127735
'0xea60cd69f2b9fd6eb067bddbbf86a5bdeffbbc55',
7713-
UnderlyingAsset.WECAN
7736+
UnderlyingAsset.WECAN,
7737+
ETH_FEATURES_WITH_FRANKFURT
77147738
),
77157739
erc20(
77167740
'c758d712-e38f-41e5-aee9-db575fce7c73',
@@ -7968,7 +7992,8 @@ export const coins = CoinMap.fromCoins([
79687992
'Chainge',
79697993
18,
79707994
'0xb712d62fe84258292d1961b5150a19bc4ab49026',
7971-
UnderlyingAsset.XCHNG
7995+
UnderlyingAsset.XCHNG,
7996+
ETH_FEATURES_WITH_FRANKFURT
79727997
),
79737998
erc20(
79747999
'9d696529-40f9-4b59-9960-447cc85d4663',
@@ -8858,7 +8883,8 @@ export const coins = CoinMap.fromCoins([
88588883
'FLOKI',
88598884
9,
88608885
'0xcf0c122c6b73ff809c693db761e7baebe62b6a2e',
8861-
UnderlyingAsset.FLOKI
8886+
UnderlyingAsset.FLOKI,
8887+
ETH_FEATURES_WITH_FRANKFURT
88628888
),
88638889
erc20(
88648890
'2504fe5b-37d1-4db3-8829-ba4c5b649163',
@@ -13334,7 +13360,7 @@ export const coins = CoinMap.fromCoins([
1333413360
7,
1333513361
UnderlyingAsset['xlm:ZUSD-GDF6VOEGRWLOZ64PQQGKD2IYWA22RLT37GJKS2EJXZHT2VLAGWLC5TOB'],
1333613362
'stablecoin.z.com',
13337-
AccountCoin.DEFAULT_FEATURES,
13363+
XLM_TOKEN_FEATURES_WITH_FRANKFURT,
1333813364
'',
1333913365
'ZUSD'
1334013366
),
@@ -13356,7 +13382,7 @@ export const coins = CoinMap.fromCoins([
1335613382
7,
1335713383
UnderlyingAsset['xlm:VEUR-GDXLSLCOPPHTWOQXLLKSVN4VN3G67WD2ENU7UMVAROEYVJLSPSEWXIZN'],
1335813384
'vnx.li',
13359-
AccountCoin.DEFAULT_FEATURES,
13385+
XLM_TOKEN_FEATURES_WITH_FRANKFURT,
1336013386
'',
1336113387
'VEUR'
1336213388
),
@@ -13367,7 +13393,7 @@ export const coins = CoinMap.fromCoins([
1336713393
7,
1336813394
UnderlyingAsset['xlm:VCHF-GDXLSLCOPPHTWOQXLLKSVN4VN3G67WD2ENU7UMVAROEYVJLSPSEWXIZN'],
1336913395
'vnx.li',
13370-
AccountCoin.DEFAULT_FEATURES,
13396+
XLM_TOKEN_FEATURES_WITH_FRANKFURT,
1337113397
'',
1337213398
'VCHF'
1337313399
),
@@ -16894,7 +16920,7 @@ export const coins = CoinMap.fromCoins([
1689416920
6,
1689516921
'HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3',
1689616922
UnderlyingAsset['sol:pyth'],
16897-
SOL_TOKEN_FEATURES
16923+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1689816924
),
1689916925
solToken(
1690016926
'20847b14-4982-448b-a61c-9b7d42085948',
@@ -16903,7 +16929,7 @@ export const coins = CoinMap.fromCoins([
1690316929
5,
1690416930
'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263',
1690516931
UnderlyingAsset['sol:bonk'],
16906-
SOL_TOKEN_FEATURES
16932+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1690716933
),
1690816934
solToken(
1690916935
'7457400a-dbce-4e33-a50a-356c9a1eca3e',
@@ -16921,7 +16947,7 @@ export const coins = CoinMap.fromCoins([
1692116947
6,
1692216948
'JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN',
1692316949
UnderlyingAsset['jup'],
16924-
SOL_TOKEN_FEATURES
16950+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1692516951
),
1692616952
solToken(
1692716953
'c4db311f-8a4a-4821-b7b4-c4d04c4de752',
@@ -16939,7 +16965,7 @@ export const coins = CoinMap.fromCoins([
1693916965
6,
1694016966
'EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm',
1694116967
UnderlyingAsset['wif'],
16942-
SOL_TOKEN_FEATURES
16968+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1694316969
),
1694416970
solToken(
1694516971
'683e5064-fff0-401d-bf62-08f49bb130fc',
@@ -17200,7 +17226,7 @@ export const coins = CoinMap.fromCoins([
1720017226
8,
1720117227
'rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof',
1720217228
UnderlyingAsset['sol:render'],
17203-
SOL_TOKEN_FEATURES
17229+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1720417230
),
1720517231
solToken(
1720617232
'76d493a6-d674-4987-85ae-5a9dca0711b1',
@@ -17209,7 +17235,7 @@ export const coins = CoinMap.fromCoins([
1720917235
5,
1721017236
'WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk',
1721117237
UnderlyingAsset['sol:wen'],
17212-
SOL_TOKEN_FEATURES
17238+
SOL_TOKEN_FEATURES_WITH_FRANKFURT
1721317239
),
1721417240
solToken(
1721517241
'fe471409-0687-4920-a70d-7db46b08e4f2',

modules/statics/test/unit/coins.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,47 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
149149
wbtc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
150150
tkx: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
151151
mana: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
152+
ape: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
153+
blur: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
154+
boba: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
155+
dai: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
156+
ens: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
157+
floki: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
158+
gods: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
159+
ldo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
160+
lmwr: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
161+
mpl: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
162+
ondo: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
163+
pepe: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
164+
trac: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
165+
truf: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
166+
vega: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
167+
wecan: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
168+
ctx: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
169+
xchng: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
170+
mog: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
171+
rndr: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
172+
skale: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
173+
slp: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
174+
smt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
175+
strk: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
176+
rad: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
177+
'sol:pyth': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
178+
'sol:bonk': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
179+
'sol:jup': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
180+
'sol:wif': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
181+
'sol:render': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
182+
'sol:wen': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
183+
'xlm:ZUSD-GDF6VOEGRWLOZ64PQQGKD2IYWA22RLT37GJKS2EJXZHT2VLAGWLC5TOB': {
184+
features: [CoinFeature.CUSTODY_BITGO_FRANKFURT],
185+
},
186+
'xlm:VEUR-GDXLSLCOPPHTWOQXLLKSVN4VN3G67WD2ENU7UMVAROEYVJLSPSEWXIZN': {
187+
features: [CoinFeature.CUSTODY_BITGO_FRANKFURT],
188+
},
189+
'xlm:VCHF-GDXLSLCOPPHTWOQXLLKSVN4VN3G67WD2ENU7UMVAROEYVJLSPSEWXIZN': {
190+
features: [CoinFeature.CUSTODY_BITGO_FRANKFURT],
191+
},
192+
152193
// Test Coins
153194
talgo: {
154195
features: [

0 commit comments

Comments
 (0)