Skip to content

Commit

Permalink
Merge pull request #4949 from BitGo/l2-chain-coinfeature
Browse files Browse the repository at this point in the history
feat(statics): add new coinfeature to identify eth rollup chain
  • Loading branch information
dpkjnr committed Sep 26, 2024
2 parents a8595b0 + 61b241c commit ae0b25d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

/**
Expand Down
6 changes: 3 additions & 3 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit ae0b25d

Please sign in to comment.