@exodus/ethereum-lib 3.3.10 → 3.3.12

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.3.10",
3
+ "version": "3.3.12",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -41,5 +41,5 @@
41
41
  "ms": "^2.1.1",
42
42
  "reselect": "~3.0.1"
43
43
  },
44
- "gitHead": "9450a6e46fc1b88d72ffdec39e7cefb8fa82be80"
44
+ "gitHead": "516bfb4ee826b72710dd20a9c16ea21346fffeff"
45
45
  }
package/src/constants.js CHANGED
@@ -79,11 +79,18 @@ const CHAIN_DATA = {
79
79
  },
80
80
  flare: {
81
81
  chainId: 14,
82
- serverUrl: 'https://flare-nn-d.a.exodus.io/ext/C/rpc',
82
+ serverUrl: 'https://flare-nn.a.exodus.io/ext/C/rpc',
83
83
  confirmationsNumber: 30,
84
84
  monitorType: 'no-history',
85
85
  tokenType: 'FLR_ERC20',
86
86
  },
87
+ aurora: {
88
+ chainId: 1313161554,
89
+ serverUrl: 'https://aurora.a.exodus.io',
90
+ confirmationsNumber: 3,
91
+ monitorType: 'no-history',
92
+ tokenType: 'AURORA_ERC20',
93
+ },
87
94
  }
88
95
 
89
96
  export const DEFAULT_SERVER_URLS = mapValues(CHAIN_DATA, ({ serverUrl }) => serverUrl)
@@ -0,0 +1,16 @@
1
+ import { FeeData } from '@exodus/asset-lib'
2
+ import { asset } from '@exodus/flare-meta'
3
+
4
+ export default new FeeData({
5
+ config: {
6
+ gasPrice: '0.07 Gwei',
7
+ max: '1 Gwei',
8
+ min: '0.001 Gwei',
9
+ fuelThreshold: '0.1 Gwei',
10
+ gasPriceEconomicalRate: 0.8,
11
+ gasPriceMinimumRate: 0.6,
12
+ eip1559Enabled: false,
13
+ },
14
+ mainKey: 'gasPrice',
15
+ currency: asset.currency,
16
+ })
@@ -11,3 +11,4 @@ export { default as harmonymainnet } from './harmony'
11
11
  export { default as rootstock } from './rootstock'
12
12
  export { default as optimism } from './optimism'
13
13
  export { default as flare } from './flare'
14
+ export { default as aurora } from './aurora'
@@ -24,6 +24,7 @@ export const isArbitrumOneToken = (asset) => asset.assetType === 'ETHEREUM_ARBON
24
24
  export const isRootstockToken = (asset) => asset.assetType === 'RSK_ERC20'
25
25
  export const isOptimismToken = (asset) => asset.assetType === 'OPT_ERC20'
26
26
  export const isFlareToken = (asset) => asset.assetType === 'FLR_ERC20'
27
+ export const isAuroraToken = (asset) => asset.assetType === 'AURORA_ERC20'
27
28
 
28
29
  // All ethereum-like tokens
29
30
  export const isEthereumLikeToken = (asset) => ETHEREUM_LIKE_TOKEN_TYPES.includes(asset.assetType)