@exodus/ethereum-plugin 2.27.0 → 2.28.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,26 @@
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.28.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.28.0...@exodus/ethereum-plugin@2.28.1) (2026-03-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: use the monitor server for pending EVM tx drop checks (#7675)
13
+
14
+
15
+
16
+ ## [2.28.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.27.0...@exodus/ethereum-plugin@2.28.0) (2026-03-18)
17
+
18
+
19
+ ### Features
20
+
21
+
22
+ * feat: add USDC blacklist check on ethereum (#7580)
23
+
24
+
25
+
6
26
  ## [2.27.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.26.0...@exodus/ethereum-plugin@2.27.0) (2026-03-12)
7
27
 
8
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-plugin",
3
- "version": "2.27.0",
3
+ "version": "2.28.1",
4
4
  "description": "Ethereum plugin for Exodus SDK powered wallets",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -24,7 +24,7 @@
24
24
  "@exodus/asset-lib": "^5.8.0",
25
25
  "@exodus/basic-utils": "^3.0.1",
26
26
  "@exodus/currency": "^6.0.1",
27
- "@exodus/ethereum-api": "^8.70.0",
27
+ "@exodus/ethereum-api": "^8.70.2",
28
28
  "@exodus/ethereum-lib": "^5.22.0",
29
29
  "@exodus/ethereum-meta": "^2.9.0",
30
30
  "@exodus/ethereumjs": "^1.0.0",
@@ -38,8 +38,8 @@
38
38
  "@exodus/assets-testing": "^1.0.0",
39
39
  "@exodus/crypto": "^1.0.0-rc.13",
40
40
  "@exodus/evm-fork-testing": "^0.5.0",
41
- "@exodus/models": "^12.13.0",
42
- "@exodus/web3-ethereum-utils": "^4.7.2",
41
+ "@exodus/models": "^13.0.0",
42
+ "@exodus/web3-ethereum-utils": "^4.7.3",
43
43
  "delay": "^4.0.1",
44
44
  "ms": "^2.1.1"
45
45
  },
@@ -51,5 +51,5 @@
51
51
  "type": "git",
52
52
  "url": "git+https://github.com/ExodusMovement/assets.git"
53
53
  },
54
- "gitHead": "bdd3658f4f045809a360f53f0fd2027293c00de8"
54
+ "gitHead": "959153b1ea9f3fc33398dd5a167c2c29c8af2df1"
55
55
  }
@@ -3,13 +3,23 @@ import { createContractBlackListCheck } from '@exodus/ethereum-api'
3
3
  import assetsList from '@exodus/ethereum-meta'
4
4
 
5
5
  const tetherusd = assetsList.find(({ name }) => name === 'tetherusd')
6
- const contractAddress = tetherusd.contract.current
6
+ const tetherusdContractAddress = tetherusd.assetId
7
+ const usdcoin = assetsList.find(({ name }) => name === 'usdcoin')
8
+ const usdcoinContractAddress = usdcoin.assetId
7
9
 
8
10
  export const tetherusdBlackListCheckFactory = ({ server }) =>
9
11
  createContractBlackListCheck({
10
- contractAddress,
12
+ contractAddress: tetherusdContractAddress,
11
13
  selector: '0xe47d6060',
12
14
  server,
13
15
  })
14
16
 
17
+ export const usdcoinBlackListCheckFactory = ({ server }) =>
18
+ createContractBlackListCheck({
19
+ contractAddress: usdcoinContractAddress,
20
+ selector: '0xfe575a87',
21
+ server,
22
+ })
23
+
24
+ usdcoinBlackListCheckFactory.type = BlacklistCheckTypes.CONTRACT_CALL
15
25
  tetherusdBlackListCheckFactory.type = BlacklistCheckTypes.CONTRACT_CALL
package/src/index.js CHANGED
@@ -2,7 +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
+ import { tetherusdBlackListCheckFactory, usdcoinBlackListCheckFactory } from './blacklist-checks.js'
6
6
  import { stakingConfiguration, stakingDependencies } from './staking.js'
7
7
 
8
8
  const createAsset = createAssetFactory({
@@ -42,7 +42,7 @@ const createAsset = createAssetFactory({
42
42
  'shiryoinu_ethereum_ff507c93',
43
43
  'volt_ethereum_9e0778ce',
44
44
  ],
45
- blacklistChecks: [tetherusdBlackListCheckFactory],
45
+ blacklistChecks: [tetherusdBlackListCheckFactory, usdcoinBlackListCheckFactory],
46
46
  supportsCustomFees: true,
47
47
  nfts: true,
48
48
  isMaxFeeAsset: true,
@@ -1,4 +1,5 @@
1
1
  import { memoize } from '@exodus/basic-utils'
2
+ // eslint-disable-next-line @exodus/import/no-deprecated
2
3
  import { isNumberUnit } from '@exodus/currency'
3
4
  import {
4
5
  estimateGasLimit,
@@ -15,6 +16,7 @@ export function stakingServiceFactory({ assetClientInterface, server: _server, s
15
16
  const assetName = 'ethereum'
16
17
 
17
18
  function amountToCurrency({ asset, amount }) {
19
+ // eslint-disable-next-line @exodus/import/no-deprecated
18
20
  return isNumberUnit(amount) ? amount : asset.currency.parse(amount)
19
21
  }
20
22