@exodus/ethereum-lib 5.9.1 → 5.10.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 +22 -0
- package/package.json +3 -3
- package/src/abi/index.js +2 -2
- package/src/create-contract/index.js +2 -0
- package/src/utils/index.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.10.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.10.0...@exodus/ethereum-lib@5.10.1) (2025-04-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: remove bsc assets from RPC balance list (#5444)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [5.10.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.9.1...@exodus/ethereum-lib@5.10.0) (2025-04-08)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* feat: demote batch of 20 tokens (#5347)
|
|
23
|
+
|
|
24
|
+
* feat: demote troublesome tokens (#5280)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [5.9.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.9.0...@exodus/ethereum-lib@5.9.1) (2025-02-06)
|
|
7
29
|
|
|
8
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-lib",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@exodus/bitcoin-meta": "^2.0.0",
|
|
40
40
|
"@exodus/bsc-meta": "^2.0.0",
|
|
41
41
|
"@exodus/crypto": "^1.0.0-rc.13",
|
|
42
|
-
"@exodus/ethereum-meta": "^2.
|
|
42
|
+
"@exodus/ethereum-meta": "^2.5.0",
|
|
43
43
|
"@exodus/ethereumclassic-meta": "^2.0.0",
|
|
44
44
|
"@exodus/fantommainnet-meta": "^2.0.0",
|
|
45
45
|
"@exodus/matic-meta": "^2.0.0"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"type": "git",
|
|
52
52
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "ecb4bcc6088186f382a07550df989646486b1ca6"
|
|
55
55
|
}
|
package/src/abi/index.js
CHANGED
|
@@ -21,14 +21,14 @@ import scdMcdMigration from './scd-mcd-migration.js'
|
|
|
21
21
|
|
|
22
22
|
const index = {
|
|
23
23
|
ant,
|
|
24
|
-
cdai,
|
|
24
|
+
cdai, // 'cdai' has been demoted. Keeping the ABI for now in case we still need it
|
|
25
25
|
dai,
|
|
26
26
|
erc20,
|
|
27
27
|
erc20BytesParams,
|
|
28
28
|
erc721,
|
|
29
29
|
ethStakingAccounting,
|
|
30
30
|
ethStakingPool,
|
|
31
|
-
gnt,
|
|
31
|
+
gnt, // 'golem' has been demoted. Keeping the ABI for now in case we still need it
|
|
32
32
|
kyberv2,
|
|
33
33
|
loomv2Swap,
|
|
34
34
|
repv2,
|
|
@@ -9,10 +9,12 @@ export default function createContract(address, contractName) {
|
|
|
9
9
|
// return new SolidityContract(ABI.dai, address)
|
|
10
10
|
// case 'cdai':
|
|
11
11
|
// return new SolidityContract(ABI.cdai, address)
|
|
12
|
+
// 'augurv2' has been demoted. Keeping the ABI for now in case we still need it
|
|
12
13
|
case 'augurv2':
|
|
13
14
|
return new SolidityContract(ABI.repv2, address, true)
|
|
14
15
|
case 'aragon':
|
|
15
16
|
return new SolidityContract(ABI.ant, address, true)
|
|
17
|
+
// 'golem' has been demoted. Keeping the ABI for now in case we still need it
|
|
16
18
|
case 'golem':
|
|
17
19
|
return new SolidityContract(ABI.gnt, address, true)
|
|
18
20
|
case 'loomv2Swap':
|
package/src/utils/index.js
CHANGED
|
@@ -128,30 +128,20 @@ export const isFeePaymentTx = (tx) => tx?.data?.data?.startsWith(FEE_PAYMENT_PRE
|
|
|
128
128
|
|
|
129
129
|
const customTokensWithRpcBalance = [
|
|
130
130
|
'ampl_ethereum_48428467',
|
|
131
|
-
'babydoge_bsc_ee74eb55',
|
|
132
|
-
'drb_bsc_8971f1e2',
|
|
133
|
-
'elephant_bsc_e879afb1',
|
|
134
|
-
'feg_bsc_48812e49',
|
|
135
131
|
'feg_ethereum_ef42acf0',
|
|
136
|
-
'floki_bsc_c4112b36',
|
|
137
132
|
'floki_ethereum_4a3891a6',
|
|
138
133
|
'mark_ethereum_0d0c07dd',
|
|
139
|
-
'move_bsc_4b4012e3',
|
|
140
134
|
'opt2_matic_2bb66719',
|
|
141
|
-
'posi_bsc_9a2aa8c5',
|
|
142
135
|
'saitama_ethereum_5547ffb6',
|
|
143
136
|
'shiryoinu_ethereum_ff507c93',
|
|
144
|
-
'volt_bsc_bea66b91',
|
|
145
137
|
'volt_ethereum_9e0778ce',
|
|
146
138
|
'wavax_avalanchec_635505b3',
|
|
147
|
-
'wbnb_bsc_7329a389',
|
|
148
139
|
'wftm_fantommainnet_7edc4949',
|
|
149
140
|
'wmatic_matic_424fae45',
|
|
150
141
|
]
|
|
151
142
|
|
|
152
143
|
export const isRpcBalanceAsset = (asset) =>
|
|
153
144
|
[
|
|
154
|
-
'bsc',
|
|
155
145
|
'ethereumarbone',
|
|
156
146
|
'fantommainnet',
|
|
157
147
|
'matic',
|