@exodus/ethereum-plugin 2.32.3 → 2.32.5
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 +23 -0
- package/package.json +3 -3
- package/src/index.js +6 -7
- package/src/staking/polygon/matic-staking-utils.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.32.5](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.32.4...@exodus/ethereum-plugin@2.32.5) (2026-06-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* clarity native transaction privacy ([#8265](https://github.com/ExodusMovement/assets/issues/8265)) ([c79975e](https://github.com/ExodusMovement/assets/commit/c79975ec0605ef05a4f6eb8c3d1d0fc4531a1f5b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **ethereum:** clamp negative spendable from in-flight sends ([#8246](https://github.com/ExodusMovement/assets/issues/8246)) ([25dbe72](https://github.com/ExodusMovement/assets/commit/25dbe7216bec02b4adec9362cf46509077ea7d1f))
|
|
17
|
+
* use eip-7623 calldata pricing for defaultGasLimit ([#8288](https://github.com/ExodusMovement/assets/issues/8288)) ([227efda](https://github.com/ExodusMovement/assets/commit/227efda89a79970cd763805a17dd1b2ba07e0b23))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [2.32.4](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.32.3...@exodus/ethereum-plugin@2.32.4) (2026-06-03)
|
|
22
|
+
|
|
23
|
+
**Note:** Version bump only for package @exodus/ethereum-plugin
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
## [2.32.3](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@2.32.2...@exodus/ethereum-plugin@2.32.3) (2026-06-02)
|
|
7
30
|
|
|
8
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-plugin",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.5",
|
|
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.9.0",
|
|
25
25
|
"@exodus/basic-utils": "^3.0.1",
|
|
26
26
|
"@exodus/currency": "^6.0.1",
|
|
27
|
-
"@exodus/ethereum-api": "^8.76.
|
|
27
|
+
"@exodus/ethereum-api": "^8.76.5",
|
|
28
28
|
"@exodus/ethereum-lib": "^5.24.1",
|
|
29
29
|
"@exodus/ethereum-meta": "^2.9.0",
|
|
30
30
|
"@exodus/ethereumjs": "^1.0.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "c704777d72888bf3a94f3a7ddc1b0e57cda3e6dc"
|
|
57
57
|
}
|
package/src/index.js
CHANGED
|
@@ -7,9 +7,6 @@ import { stakingConfiguration, stakingDependencies } from './staking.js'
|
|
|
7
7
|
|
|
8
8
|
export { POLYGON_STAKING_PREFLIGHT_ERROR_REASONS } from './staking/polygon/service.js'
|
|
9
9
|
|
|
10
|
-
// Exodus-hosted proxy to Hypernative's transaction risk assessment endpoint.
|
|
11
|
-
const RISK_ASSESSMENT_PROXY_URL = 'https://simulation.a.exodus.io/simulation/transaction/assessment'
|
|
12
|
-
|
|
13
10
|
const createAsset = createAssetFactory({
|
|
14
11
|
assetsList,
|
|
15
12
|
feeDataConfig: {
|
|
@@ -49,6 +46,7 @@ const createAsset = createAssetFactory({
|
|
|
49
46
|
],
|
|
50
47
|
blacklistChecks: [tetherusdBlackListCheckFactory, usdcoinBlackListCheckFactory],
|
|
51
48
|
supportsCustomFees: true,
|
|
49
|
+
supportsTransactionPrivacy: true,
|
|
52
50
|
nfts: true,
|
|
53
51
|
isMaxFeeAsset: true,
|
|
54
52
|
erc20FuelBuffer: 1.1, // 10% more than the required fee
|
|
@@ -59,10 +57,8 @@ const createAsset = createAssetFactory({
|
|
|
59
57
|
serverUrl: 'https://eth-clarity.a.exodus.io',
|
|
60
58
|
monitorInterval: '1m',
|
|
61
59
|
confirmationsNumber: 30,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
apiUrl: RISK_ASSESSMENT_PROXY_URL,
|
|
65
|
-
},
|
|
60
|
+
// https://ethereum.org/roadmap/pectra/
|
|
61
|
+
eip7623Supported: true,
|
|
66
62
|
eip7702Supported: [
|
|
67
63
|
{ address: '0xD2e28229F6f2c235e57De2EbC727025A1D0530FB', name: 'Trust Wallet' },
|
|
68
64
|
{ address: '0x63c0c19a282a1B52b07dD5a65b58948A07DAE32B', name: 'MetaMask' },
|
|
@@ -77,6 +73,9 @@ const createAsset = createAssetFactory({
|
|
|
77
73
|
{ address: '0x4428a93B478fa76A5BD9c7641F54EC6373855433', name: 'Bitdev 2' },
|
|
78
74
|
{ address: '0x7702cb554e6bFb442cb743A7dF23154544a7176C', name: 'Coinbase Wallet' },
|
|
79
75
|
],
|
|
76
|
+
transactionAssessment: {
|
|
77
|
+
enabled: true,
|
|
78
|
+
},
|
|
80
79
|
})
|
|
81
80
|
|
|
82
81
|
const assetPlugin = { createAsset }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import NumberUnit from '@exodus/currency'
|
|
2
|
+
import { simulateTransactions as simulateEthereumTransactions } from '@exodus/ethereum-api'
|
|
2
3
|
import { parseUnsignedTx } from '@exodus/ethereum-lib'
|
|
3
4
|
import assert from 'minimalistic-assert'
|
|
4
5
|
|
|
@@ -58,7 +59,8 @@ export async function maticDelegateSimulateTransactions({
|
|
|
58
59
|
senderAddress,
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
const simulationResponse = await
|
|
62
|
+
const simulationResponse = await simulateEthereumTransactions({
|
|
63
|
+
asset: asset.baseAsset,
|
|
62
64
|
...simulationTxData,
|
|
63
65
|
transactions: [approveTxRequest, delegateTxRequest],
|
|
64
66
|
})
|