@exodus/ethereum-lib 3.2.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "3.2.0",
3
+ "version": "3.3.1",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  "@exodus/basic-utils": "^0.7.0",
21
21
  "@exodus/bip32": "^1.0.0",
22
22
  "@exodus/bsc-meta": "^1.0.14",
23
- "@exodus/ethereum-meta": "^1.0.23",
23
+ "@exodus/ethereum-meta": "^1.0.24",
24
24
  "@exodus/ethereumarbnova-meta": "^1.0.2",
25
25
  "@exodus/ethereumarbone-meta": "^1.1.4",
26
26
  "@exodus/ethereumclassic-meta": "^1.0.1",
@@ -41,5 +41,5 @@
41
41
  "ms": "^2.1.1",
42
42
  "reselect": "~3.0.1"
43
43
  },
44
- "gitHead": "31d3f43f30cdaf25e7bae2a0e4f7671a55d82faf"
44
+ "gitHead": "eb4cad64f725a9460b8c57ec19bd073ed95be343"
45
45
  }
package/src/constants.js CHANGED
@@ -68,6 +68,7 @@ const CHAIN_DATA = {
68
68
  serverUrl: 'https://optimism-clarity.a.exodus.io',
69
69
  confirmationsNumber: 3,
70
70
  monitorType: 'clarity',
71
+ tokenType: 'OPT_ERC20',
71
72
  },
72
73
  rootstock: {
73
74
  chainId: 30,
@@ -18,6 +18,7 @@ export const isFantomToken = (asset) => asset.assetType === 'FTM_ERC20'
18
18
  export const isArbitrumNovaToken = (asset) => asset.assetType === 'ETHEREUM_ARBNOVA_ERC20'
19
19
  export const isArbitrumOneToken = (asset) => asset.assetType === 'ETHEREUM_ARBONE_ERC20'
20
20
  export const isRootstockToken = (asset) => asset.assetType === 'RSK_ERC20'
21
+ export const isOptimismToken = (asset) => asset.assetType === 'OPT_ERC20'
21
22
 
22
23
  // All ethereum-like tokens
23
24
  export const isEthereumLikeToken = (asset) => ETHEREUM_LIKE_TOKEN_TYPES.includes(asset.assetType)