@exodus/ethereum-lib 2.22.0 → 2.22.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": "2.22.0",
3
+ "version": "2.22.1",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -14,17 +14,18 @@
14
14
  "access": "restricted"
15
15
  },
16
16
  "dependencies": {
17
- "@exodus/asset-lib": "^3.5.4",
17
+ "@exodus/asset-lib": "^3.7.1",
18
+ "@exodus/assets": "^8.0.74",
18
19
  "@exodus/basic-utils": "^0.7.0",
19
20
  "@exodus/ethereumjs-common": "^2.4.0-exodus.6",
20
21
  "@exodus/ethereumjs-tx": "^3.3.0-exodus.6",
21
22
  "@exodus/ethereumjs-util": "^7.1.0-exodus.6",
22
- "@exodus/models": "^8.5.12",
23
+ "@exodus/models": "^8.10.4",
23
24
  "@exodus/solidity-contract": "^0.1.3",
24
25
  "base-x": "^3.0.2",
25
26
  "lodash": "^4.17.15",
26
27
  "ms": "^2.1.1",
27
28
  "reselect": "~3.0.1"
28
29
  },
29
- "gitHead": "b269a7f2bb12b4d8c107ebe153d099dd8ce4d0ad"
30
+ "gitHead": "20a76440ef521add9b6c61a79cb924c66f3b0271"
30
31
  }
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  // https://snowtrace.io/chart/gasprice
6
7
  // https://stats.avax.network/dashboard/c-chain-activity/
7
8
  gasPrice: '225 nAVAX',
@@ -14,6 +15,6 @@ export default new FeeData(
14
15
  eip1559Enabled: true,
15
16
  tipGasPrice: '4 nAVAX',
16
17
  },
17
- 'gasPrice',
18
- 'avalanchec'
19
- )
18
+ mainKey: 'gasPrice',
19
+ currency: assets.avalanchec.currency,
20
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  gasPrice: '20 Gwei',
6
7
  max: '200 Gwei',
7
8
  min: '1 Gwei',
@@ -10,6 +11,6 @@ export default new FeeData(
10
11
  gasPriceMinimumRate: 0.6,
11
12
  eip1559Enabled: false,
12
13
  },
13
- 'gasPrice',
14
- 'bsc'
15
- )
14
+ mainKey: 'gasPrice',
15
+ currency: assets.bsc.currency,
16
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  gasPrice: '75 Gwei',
6
7
  baseFeePerGas: '50 Gwei',
7
8
  max: '250 Gwei',
@@ -13,7 +14,8 @@ export default new FeeData(
13
14
  enableFeeDelegation: false,
14
15
  tipGasPrice: '2 Gwei',
15
16
  eip1559Enabled: true,
17
+ rbfEnabled: true,
16
18
  },
17
- 'gasPrice',
18
- 'ethereum'
19
- )
19
+ mainKey: 'gasPrice',
20
+ currency: assets.ethereum.currency,
21
+ })
@@ -1,12 +1,13 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  gasPrice: '20 Gwei',
6
7
  max: '250 Gwei',
7
8
  min: '1 Gwei',
8
9
  eip1559Enabled: false,
9
10
  },
10
- 'gasPrice',
11
- 'ethereumclassic'
12
- )
11
+ mainKey: 'gasPrice',
12
+ currency: assets.ethereumclassic.currency,
13
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  gasPrice: '75 Gwei',
6
7
  baseFeePerGas: '50 Gwei',
7
8
  max: '250 Gwei',
@@ -14,6 +15,6 @@ export default new FeeData(
14
15
  tipGasPrice: '2 Gwei',
15
16
  eip1559Enabled: true,
16
17
  },
17
- 'gasPrice',
18
- 'ethereumgoerli'
19
- )
18
+ mainKey: 'gasPrice',
19
+ currency: assets.ethereumgoerli.currency,
20
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  // https://ftmscan.com/chart/gasprice
6
7
  gasPrice: '400 Gwei',
7
8
  max: '700 Gwei',
@@ -11,6 +12,6 @@ export default new FeeData(
11
12
  gasPriceMinimumRate: 0.6,
12
13
  eip1559Enabled: false,
13
14
  },
14
- 'gasPrice',
15
- 'fantommainnet'
16
- )
15
+ mainKey: 'gasPrice',
16
+ currency: assets.fantommainnet.currency,
17
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  gasPrice: '10 Gwei',
6
7
  max: '700 Gwei',
7
8
  min: '30 Gwei',
@@ -10,6 +11,6 @@ export default new FeeData(
10
11
  gasPriceMinimumRate: 0.6,
11
12
  eip1559Enabled: false,
12
13
  },
13
- 'gasPrice',
14
- 'harmonymainnet'
15
- )
14
+ mainKey: 'gasPrice',
15
+ currency: assets.harmonymainnet.currency,
16
+ })
@@ -1,7 +1,8 @@
1
1
  import { FeeData } from '@exodus/asset-lib'
2
+ import assets from '@exodus/assets'
2
3
 
3
- export default new FeeData(
4
- {
4
+ export default new FeeData({
5
+ config: {
5
6
  // https://polygonscan.com/chart/gasprice
6
7
  baseFeePerGas: '100 Gwei',
7
8
  tipGasPrice: '35 Gwei',
@@ -13,6 +14,6 @@ export default new FeeData(
13
14
  gasPriceMinimumRate: 0.6,
14
15
  eip1559Enabled: true,
15
16
  },
16
- 'gasPrice',
17
- 'matic'
18
- )
17
+ mainKey: 'gasPrice',
18
+ currency: assets.matic.currency,
19
+ })