@exodus/ethereum-lib 2.26.4 → 2.26.5
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/LICENSE.md +0 -0
- package/package.json +3 -2
- package/src/constants.js +1 -0
- package/src/utils/index.js +1 -0
package/LICENSE.md
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-lib",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.5",
|
|
4
4
|
"description": "Ethereum Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -28,5 +28,6 @@
|
|
|
28
28
|
"lodash": "^4.17.15",
|
|
29
29
|
"ms": "^2.1.1",
|
|
30
30
|
"reselect": "~3.0.1"
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"gitHead": "a2502a7535897d95bfda93148f8ae7ae37b9369c"
|
|
32
33
|
}
|
package/src/constants.js
CHANGED
package/src/utils/index.js
CHANGED
|
@@ -18,6 +18,7 @@ export const isAvalancheToken = (asset) => asset.assetType === 'AVAX_ERC20'
|
|
|
18
18
|
export const isFantomToken = (asset) => asset.assetType === 'FTM_ERC20'
|
|
19
19
|
export const isArbitrumNovaToken = (asset) => asset.assetType === 'ETHEREUM_ARBNOVA_ERC20'
|
|
20
20
|
export const isArbitrumOneToken = (asset) => asset.assetType === 'ETHEREUM_ARBONE_ERC20'
|
|
21
|
+
export const isRootstockToken = (asset) => asset.assetType === 'RSK_ERC20'
|
|
21
22
|
|
|
22
23
|
// All ethereum-like tokens
|
|
23
24
|
export const isEthereumLikeToken = (asset) => ETHEREUM_LIKE_TOKEN_TYPES.includes(asset.assetType)
|