Add
ArbitrumOne
toenums.ts
Add
ArbitrumOne
check tostatic custom
method ofCommon
class
Showing 2 of 2 files from the diff.
packages/common/src/common.ts
changed.
packages/common/src/enums.ts
changed.
@@ -120,6 +120,16 @@
Loading
120 | 120 | opts |
|
121 | 121 | ) |
|
122 | 122 | } |
|
123 | + | if (chainParamsOrName === CustomChain.ArbitrumOne) { |
|
124 | + | return Common.custom( |
|
125 | + | { |
|
126 | + | name: CustomChain.ArbitrumOne, |
|
127 | + | chainId: 42161, |
|
128 | + | networkId: 42161, |
|
129 | + | }, |
|
130 | + | opts |
|
131 | + | ) |
|
132 | + | } |
|
123 | 133 | if (chainParamsOrName === CustomChain.xDaiChain) { |
|
124 | 134 | return Common.custom( |
|
125 | 135 | { |
@@ -60,6 +60,13 @@
Loading
60 | 60 | */ |
|
61 | 61 | ArbitrumRinkebyTestnet = 'arbitrum-rinkeby-testnet', |
|
62 | 62 | ||
63 | + | /** |
|
64 | + | * Arbitrum One - mainnet for Arbitrum roll-up |
|
65 | + | * |
|
66 | + | * - [Documentation](https://developer.offchainlabs.com/public-chains) |
|
67 | + | */ |
|
68 | + | ArbitrumOne = 'arbitrum-one', |
|
69 | + | ||
63 | 70 | /** |
|
64 | 71 | * xDai EVM sidechain with a native stable token |
|
65 | 72 | * |
Files | Coverage |
---|---|
packages | 87.50% |
Project Totals (198 files) | 87.50% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.