@exodus/ethereum-lib 2.23.1 → 2.24.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.
|
|
3
|
+
"version": "2.24.1",
|
|
4
4
|
"description": "Ethereum Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@exodus/asset-lib": "^3.7.1",
|
|
18
|
-
"@exodus/assets": "^8.0.
|
|
18
|
+
"@exodus/assets": "^8.0.78",
|
|
19
19
|
"@exodus/basic-utils": "^0.7.0",
|
|
20
20
|
"@exodus/ethereumjs-common": "^2.4.0-exodus.6",
|
|
21
21
|
"@exodus/ethereumjs-tx": "^3.3.0-exodus.6",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"ms": "^2.1.1",
|
|
28
28
|
"reselect": "~3.0.1"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "7946545f70f53529e2d73a027ca5020d0c895800"
|
|
31
31
|
}
|
package/src/constants.js
CHANGED
|
@@ -28,7 +28,7 @@ const CHAIN_DATA = {
|
|
|
28
28
|
matic: {
|
|
29
29
|
chainId: 137,
|
|
30
30
|
serverUrl: 'https://polygon.a.exodus.io/wallet/v1/',
|
|
31
|
-
confirmationsNumber:
|
|
31
|
+
confirmationsNumber: 50,
|
|
32
32
|
tokenType: 'MATIC_ERC20',
|
|
33
33
|
},
|
|
34
34
|
avalanchec: {
|
|
@@ -49,6 +49,16 @@ const CHAIN_DATA = {
|
|
|
49
49
|
confirmationsNumber: 6,
|
|
50
50
|
// tokenType: // we do not support tokens yet
|
|
51
51
|
},
|
|
52
|
+
ethereumarbnova: {
|
|
53
|
+
chainId: 42170,
|
|
54
|
+
serverUrl: 'https://arbitrum-nova-clarity-d.a.exodus.io',
|
|
55
|
+
confirmationsNumber: 3,
|
|
56
|
+
},
|
|
57
|
+
ethereumarbone: {
|
|
58
|
+
chainId: 42161,
|
|
59
|
+
serverUrl: 'https://arbitrum-one-clarity-d.a.exodus.io',
|
|
60
|
+
confirmationsNumber: 3,
|
|
61
|
+
},
|
|
52
62
|
}
|
|
53
63
|
|
|
54
64
|
export const DEFAULT_SERVER_URLS = mapValues(CHAIN_DATA, ({ serverUrl }) => serverUrl)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FeeData } from '@exodus/asset-lib'
|
|
2
|
+
import assets from '@exodus/assets'
|
|
3
|
+
|
|
4
|
+
export default new FeeData({
|
|
5
|
+
config: {
|
|
6
|
+
gasPrice: '1.25 Gwei',
|
|
7
|
+
max: '25 Gwei',
|
|
8
|
+
min: '0.01 Gwei',
|
|
9
|
+
fuelThreshold: '25 Gwei',
|
|
10
|
+
gasPriceEconomicalRate: 0.7,
|
|
11
|
+
gasPriceMinimumRate: 0.5,
|
|
12
|
+
eip1559Enabled: false,
|
|
13
|
+
},
|
|
14
|
+
mainKey: 'gasPrice',
|
|
15
|
+
currency: assets.ethereumarbnova.currency,
|
|
16
|
+
})
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FeeData } from '@exodus/asset-lib'
|
|
2
|
+
import assets from '@exodus/assets'
|
|
3
|
+
|
|
4
|
+
export default new FeeData({
|
|
5
|
+
config: {
|
|
6
|
+
gasPrice: '1.25 Gwei',
|
|
7
|
+
max: '25 Gwei',
|
|
8
|
+
min: '0.1 Gwei',
|
|
9
|
+
fuelThreshold: '25 Gwei',
|
|
10
|
+
gasPriceEconomicalRate: 0.7,
|
|
11
|
+
gasPriceMinimumRate: 0.5,
|
|
12
|
+
eip1559Enabled: false,
|
|
13
|
+
},
|
|
14
|
+
mainKey: 'gasPrice',
|
|
15
|
+
currency: assets.ethereumarbone.currency,
|
|
16
|
+
})
|
package/src/fee-data/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as ethereum } from './ethereum'
|
|
2
|
+
export { default as ethereumarbnova } from './ethereumarbnova'
|
|
3
|
+
export { default as ethereumarbone } from './ethereumarbone'
|
|
2
4
|
export { default as ethereumclassic } from './ethereumclassic'
|
|
3
5
|
export { default as ethereumgoerli } from './ethereumgoerli'
|
|
4
6
|
export { default as bsc } from './bsc'
|