Skip to content

Commit 3ad54a7

Browse files
feat(statics): adding new coin features for evm coin WRW support
Ticket: WIN-6106 TICKET: WIN-6106
1 parent 46af619 commit 3ad54a7

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

modules/statics/src/base.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,16 @@ export enum CoinFeature {
398398
*/
399399
EVM_COMPATIBLE_IMS = 'evm-compatible-ims',
400400

401+
/**
402+
* This coin is an EVM compatible coin which supports unsigned sweep recovery
403+
*/
404+
EVM_UNSIGNED_SWEEP_RECOVERY = 'evm-unsigned-sweep-recovery',
405+
406+
/**
407+
* This coin is an EVM compatible coin which supports non-bitgo recovery
408+
*/
409+
EVM_NON_BITGO_RECOVERY = 'evm-non-bitgo-recovery',
410+
401411
/**
402412
* This coin is a rebase token and should use the rebase token functionality
403413
*/

modules/statics/src/coins.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,13 @@ export const coins = CoinMap.fromCoins([
12711271
18,
12721272
UnderlyingAsset.MON,
12731273
BaseUnit.ETH,
1274-
[...EVM_FEATURES, CoinFeature.SHARED_EVM_SIGNING, CoinFeature.SHARED_EVM_SDK]
1274+
[
1275+
...EVM_FEATURES,
1276+
CoinFeature.SHARED_EVM_SIGNING,
1277+
CoinFeature.SHARED_EVM_SDK,
1278+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
1279+
CoinFeature.EVM_NON_BITGO_RECOVERY,
1280+
]
12751281
),
12761282
account(
12771283
'd4f8e4f5-7060-44e3-aca1-e3ac11597ecb',

0 commit comments

Comments
 (0)