From 61b241c5560cf1d91ca1762a28aca1379da2e44d Mon Sep 17 00:00:00 2001 From: Deepak Jangid Date: Thu, 26 Sep 2024 13:23:39 +0530 Subject: [PATCH] feat(statics): add new coinfeature to identify eth rollup chain Ticket: WIN-3410 --- modules/statics/src/base.ts | 5 +++++ modules/statics/src/coins.ts | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 45a6278cd6..79cc91055f 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -287,6 +287,11 @@ export enum CoinFeature { * This coin supports acceleration or nonce filling txn for stuck transactions for onchain wallet */ STUCK_TRANSACTION_MANAGEMENT_ONCHAIN = 'stuck-transaction-management-onchain', + + /** + * This coin is onboarded on etheruem rollup chain + */ + ETH_ROLLUP_CHAIN = 'eth-rollup-chain', } /** diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 40f91cfcba..740ad84d34 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -1130,7 +1130,7 @@ export const coins = CoinMap.fromCoins([ 18, UnderlyingAsset.ARBETH, BaseUnit.ETH, - ARBETH_FEATURES + [...ARBETH_FEATURES, CoinFeature.ETH_ROLLUP_CHAIN] ), account( '1d1cd251-88e1-4d0a-81a9-3e080de8757b', @@ -1150,7 +1150,7 @@ export const coins = CoinMap.fromCoins([ 18, UnderlyingAsset.OPETH, BaseUnit.ETH, - OPETH_FEATURES + [...OPETH_FEATURES, CoinFeature.ETH_ROLLUP_CHAIN] ), account( '53b1e350-f907-45ec-abf7-11d132547055', @@ -1170,7 +1170,7 @@ export const coins = CoinMap.fromCoins([ 18, UnderlyingAsset.ZKETH, BaseUnit.ETH, - ZKETH_FEATURES + [...ZKETH_FEATURES, CoinFeature.ETH_ROLLUP_CHAIN] ), account( 'ac3c225e-55a9-4236-b907-a4cccc30a2fd',