Skip to content

Commit b2ce26f

Browse files
feat(statics): add coin feature to be hidden in IMS balance fetches
ticket: SC-2604 TICKET: SC-2604
1 parent 34cc01c commit b2ce26f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

modules/statics/src/base.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,11 @@ export enum CoinFeature {
451451
* This coin is an EVM compatible coin and should use common EVM logic in WP
452452
*/
453453
EVM_COMPATIBLE_WP = 'evm-compatible-wp',
454+
455+
/**
456+
* This token is internal and shouldn't be exposed to users
457+
*/
458+
RESTRICTED = 'restricted',
454459
}
455460

456461
/**

modules/statics/src/coins.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,13 +2621,15 @@ export const coins = CoinMap.fromCoins([
26212621
'30d034ae-41fd-4da2-bbb2-05fe1e301108',
26222622
'erc721:unsteth',
26232623
'Lido: stETH Withdrawal NFT',
2624-
'0x889edc2edab5f40e902b864ad4d7ade8e412f9b1'
2624+
'0x889edc2edab5f40e902b864ad4d7ade8e412f9b1',
2625+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.RESTRICTED]
26252626
),
26262627
terc721(
26272628
'05ce9121-45e0-4e9c-941b-1aa95bedfcc5',
26282629
'terc721:unsteth',
26292630
'Test Lido: stETH Withdrawal NFT',
2630-
'0xfe56573178f1bcdf53f01a6e9977670dcbbd9186'
2631+
'0xfe56573178f1bcdf53f01a6e9977670dcbbd9186',
2632+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.RESTRICTED]
26312633
),
26322634
terc721(
26332635
'e795fc78-b8a7-47a1-8294-5ecbe8a74c3a',

0 commit comments

Comments
 (0)