@exodus/basemainnet-plugin 2.2.0 → 2.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/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.1](https://github.com/ExodusMovement/assets/compare/@exodus/basemainnet-plugin@2.3.0...@exodus/basemainnet-plugin@2.3.1) (2024-12-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: increase gasLimit estimation when from or to address are unknown (#4594)
13
+
14
+
15
+
16
+ ## [2.3.0](https://github.com/ExodusMovement/assets/compare/@exodus/basemainnet-plugin@2.2.0...@exodus/basemainnet-plugin@2.3.0) (2024-12-02)
17
+
18
+
19
+ ### Features
20
+
21
+
22
+ * feat: gasPriceMaximumRate in evm fee data (#4578)
23
+
24
+
25
+
6
26
  ## [2.2.0](https://github.com/ExodusMovement/assets/compare/@exodus/basemainnet-plugin@2.1.0...@exodus/basemainnet-plugin@2.2.0) (2024-09-11)
7
27
 
8
28
 
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @exodus/basemainnet-plugin
2
+
3
+ Base Mainnet plugin for Exodus SDK powered wallets. See [Asset Packages](../../docs/asset-packages.md) for more detail on this package's role.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exodus/basemainnet-plugin",
3
- "version": "2.2.0",
4
- "description": "Exodus basemainnet-plugin",
3
+ "version": "2.3.1",
4
+ "description": "Base Mainnet plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "files": [
@@ -20,9 +20,8 @@
20
20
  "lint:fix": "yarn lint --fix"
21
21
  },
22
22
  "dependencies": {
23
- "@exodus/asset-lib": "^5.0.0",
24
23
  "@exodus/basemainnet-meta": "^2.0.0",
25
- "@exodus/ethereum-api": "^8.2.0"
24
+ "@exodus/ethereum-api": "^8.22.1"
26
25
  },
27
26
  "devDependencies": {
28
27
  "@exodus/assets-testing": "^1.0.0"
@@ -35,5 +34,5 @@
35
34
  "type": "git",
36
35
  "url": "git+https://github.com/ExodusMovement/assets.git"
37
36
  },
38
- "gitHead": "58ea21c56ba1be91efaf1af219c1b4cd5bb75341"
37
+ "gitHead": "3388dd56aaa85965b27bc8a13e92f098a43cba58"
39
38
  }
package/src/index.js CHANGED
@@ -1,14 +1,20 @@
1
1
  import assetsList from '@exodus/basemainnet-meta'
2
2
  import { createAssetFactory } from '@exodus/ethereum-api'
3
3
 
4
- import feeData from './fee-data.js'
5
-
6
4
  // same address between base and optimism
7
5
  export const GAS_ORACLE_ADDRESS = '0x420000000000000000000000000000000000000F'
8
6
 
9
7
  const createAsset = createAssetFactory({
10
8
  assetsList,
11
- feeData,
9
+ feeDataConfig: {
10
+ gasPrice: '0.2 Gwei',
11
+ baseFeePerGas: '0.2 Gwei',
12
+ tipGasPrice: '0.02 Gwei',
13
+ max: '1 Gwei',
14
+ min: '0.001 Gwei',
15
+ fuelThreshold: '750000 Gwei',
16
+ eip1559Enabled: true,
17
+ },
12
18
  erc20FuelBuffer: 1.1, // 10% more than the required fee
13
19
  serverUrl: 'https://base-qn.a.exodus.io',
14
20
  confirmationsNumber: 30,
package/src/fee-data.js DELETED
@@ -1,18 +0,0 @@
1
- import { FeeData } from '@exodus/asset-lib'
2
- import { asset } from '@exodus/basemainnet-meta'
3
-
4
- export default new FeeData({
5
- config: {
6
- gasPrice: '0.2 Gwei',
7
- baseFeePerGas: '0.2 Gwei',
8
- tipGasPrice: '0.02 Gwei',
9
- max: '1 Gwei',
10
- min: '0.001 Gwei',
11
- fuelThreshold: '750000 Gwei',
12
- gasPriceEconomicalRate: 0.8,
13
- gasPriceMinimumRate: 0.6,
14
- eip1559Enabled: true,
15
- },
16
- mainKey: 'gasPrice',
17
- currency: asset.currency,
18
- })