@exodus/ethereum-lib 5.15.0 → 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 +8 -0
- package/package.json +2 -2
- package/src/utils/index.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-lib",
|
|
3
|
-
"version": "5.15.
|
|
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": "
|
|
53
|
+
"gitHead": "1077a752b60e0b25961613fd007596ab3368188e"
|
|
54
54
|
}
|
package/src/utils/index.js
CHANGED
|
@@ -119,33 +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
|
-
'matic',
|
|
141
|
-
'optimism',
|
|
142
|
-
'ousd_ethereum_48fcf72d',
|
|
143
|
-
'steth',
|
|
144
|
-
'weth',
|
|
145
|
-
...customTokensWithRpcBalance,
|
|
146
|
-
// eslint-disable-next-line @exodus/import/no-deprecated
|
|
147
|
-
].includes(asset.name)
|
|
148
|
-
|
|
149
122
|
export const getAssetAddresses = (asset) => {
|
|
150
123
|
// It seems to be two schemas of assets. The original and the transformed by the client.
|
|
151
124
|
// Can we unify?
|