@exodus/ethereum-lib 5.14.1 → 5.15.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,24 @@
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
+ ## [5.15.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.15.0...@exodus/ethereum-lib@5.15.1) (2025-07-01)
7
+
8
+ **Note:** Version bump only for package @exodus/ethereum-lib
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.15.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.14.1...@exodus/ethereum-lib@5.15.0) (2025-07-01)
15
+
16
+
17
+ ### Features
18
+
19
+
20
+ * feat: enable absolute balance for basemainnet (#5983)
21
+
22
+
23
+
6
24
  ## [5.14.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.14.0...@exodus/ethereum-lib@5.14.1) (2025-06-30)
7
25
 
8
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "5.14.1",
3
+ "version": "5.15.1",
4
4
  "description": "Ethereum utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -50,5 +50,5 @@
50
50
  "type": "git",
51
51
  "url": "git+https://github.com/ExodusMovement/assets.git"
52
52
  },
53
- "gitHead": "648f0a53f06c4cdad30f0fdd7ec837ea46e2c31e"
53
+ "gitHead": "1077a752b60e0b25961613fd007596ab3368188e"
54
54
  }
@@ -119,34 +119,6 @@ export const isApproveTx = (tx) => tx?.data?.data?.startsWith(APPROVE_METHOD_ID)
119
119
 
120
120
  export const isFeePaymentTx = (tx) => tx?.data?.data?.startsWith(FEE_PAYMENT_PREFIX)
121
121
 
122
- const customTokensWithRpcBalance = [
123
- 'ampl_ethereum_48428467',
124
- 'feg_ethereum_ef42acf0',
125
- 'floki_ethereum_4a3891a6',
126
- 'mark_ethereum_0d0c07dd',
127
- 'opt2_matic_2bb66719',
128
- 'saitama_ethereum_5547ffb6',
129
- 'shiryoinu_ethereum_ff507c93',
130
- 'volt_ethereum_9e0778ce',
131
- 'wavax_avalanchec_635505b3',
132
- 'wftm_fantommainnet_7edc4949',
133
- 'wmatic_matic_424fae45',
134
- ]
135
-
136
- export const isRpcBalanceAsset = (asset) =>
137
- [
138
- 'ethereumarbone',
139
- 'fantommainnet',
140
- 'basemainnet',
141
- 'matic',
142
- 'optimism',
143
- 'ousd_ethereum_48fcf72d',
144
- 'steth',
145
- 'weth',
146
- ...customTokensWithRpcBalance,
147
- // eslint-disable-next-line @exodus/import/no-deprecated
148
- ].includes(asset.name)
149
-
150
122
  export const getAssetAddresses = (asset) => {
151
123
  // It seems to be two schemas of assets. The original and the transformed by the client.
152
124
  // Can we unify?