@exodus/basemainnet-plugin 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/basemainnet-plugin",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Exodus basemainnet-plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -19,11 +19,11 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@exodus/basemainnet-meta": "^1.0.6",
22
- "@exodus/ethereum-api": "^7.3.0",
22
+ "@exodus/ethereum-api": "^7.4.0",
23
23
  "@exodus/ethereum-lib": "^4.4.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@exodus/assets-testing": "^1.0.0"
27
27
  },
28
- "gitHead": "fc66c4756ed4022ae0889ca063adc0c3a17cbfd3"
28
+ "gitHead": "ac617aef893ac9d6b1689ca12e7b6de68a258621"
29
29
  }
package/src/index.js CHANGED
@@ -2,10 +2,15 @@ import { createAssetFactory } from '@exodus/ethereum-api'
2
2
  import { basemainnet as feeData } from '@exodus/ethereum-lib/src/fee-data'
3
3
  import assetsList from '@exodus/basemainnet-meta'
4
4
 
5
+ // same address between base and optimism
6
+ export const GAS_ORACLE_ADDRESS = '0x420000000000000000000000000000000000000F'
7
+
5
8
  const createAsset = createAssetFactory({
6
9
  assetsList,
7
10
  feeData,
8
11
  erc20FuelBuffer: 1.1, // 10% more than the required fee
12
+ nfts: true,
13
+ l1GasOracleAddress: GAS_ORACLE_ADDRESS,
9
14
  })
10
15
 
11
16
  const assetPlugin = { createAsset }