@exodus/ethereum-plugin 2.24.0 → 2.25.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.
- package/CHANGELOG.md +18 -0
- package/package.json +4 -3
- package/src/blacklist-checks.js +15 -0
- package/src/index.js +2 -0
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
|
+
## [2.25.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.23.1...@exodus/ethereum-plugin@2.25.0) (2026-03-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat: add USDT blacklist status APIs for ETH and TRX and expose TRX raw account (#7444)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
* fix: avoid race conditions resulting in a `tipGasPrice` of `0` where possible (#7458)
|
|
19
|
+
|
|
20
|
+
* fix: harden EthlikeError and improve error handling in tx-send (#7308)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [2.24.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.23.1...@exodus/ethereum-plugin@2.24.0) (2026-03-03)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0",
|
|
4
4
|
"description": "Ethereum plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
"lint:fix": "yarn lint --fix"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"@exodus/asset-lib": "^5.8.0",
|
|
24
25
|
"@exodus/basic-utils": "^3.0.1",
|
|
25
26
|
"@exodus/currency": "^6.0.1",
|
|
26
|
-
"@exodus/ethereum-api": "^8.
|
|
27
|
+
"@exodus/ethereum-api": "^8.66.0",
|
|
27
28
|
"@exodus/ethereum-lib": "^5.21.0",
|
|
28
29
|
"@exodus/ethereum-meta": "^2.9.0",
|
|
29
30
|
"@exodus/ethereumjs": "^1.0.0",
|
|
@@ -50,5 +51,5 @@
|
|
|
50
51
|
"type": "git",
|
|
51
52
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
52
53
|
},
|
|
53
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "c715aabef7146610ab562c184a971c675f6d088f"
|
|
54
55
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BlacklistCheckTypes } from '@exodus/asset-lib'
|
|
2
|
+
import { createContractBlackListCheck } from '@exodus/ethereum-api'
|
|
3
|
+
import assetsList from '@exodus/ethereum-meta'
|
|
4
|
+
|
|
5
|
+
const tetherusd = assetsList.find(({ name }) => name === 'tetherusd')
|
|
6
|
+
const contractAddress = tetherusd.contract.current
|
|
7
|
+
|
|
8
|
+
export const tetherusdBlackListCheckFactory = ({ server }) =>
|
|
9
|
+
createContractBlackListCheck({
|
|
10
|
+
contractAddress,
|
|
11
|
+
selector: '0xe47d6060',
|
|
12
|
+
server,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
tetherusdBlackListCheckFactory.type = BlacklistCheckTypes.CONTRACT_CALL
|
package/src/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { createAssetFactory } from '@exodus/ethereum-api'
|
|
3
3
|
import assetsList from '@exodus/ethereum-meta'
|
|
4
4
|
|
|
5
|
+
import { tetherusdBlackListCheckFactory } from './blacklist-checks.js'
|
|
5
6
|
import { stakingConfiguration, stakingDependencies } from './staking.js'
|
|
6
7
|
|
|
7
8
|
const createAsset = createAssetFactory({
|
|
@@ -41,6 +42,7 @@ const createAsset = createAssetFactory({
|
|
|
41
42
|
'shiryoinu_ethereum_ff507c93',
|
|
42
43
|
'volt_ethereum_9e0778ce',
|
|
43
44
|
],
|
|
45
|
+
blacklistChecks: [tetherusdBlackListCheckFactory],
|
|
44
46
|
supportsCustomFees: true,
|
|
45
47
|
nfts: true,
|
|
46
48
|
isMaxFeeAsset: true,
|