@exodus/ethereum-api 8.60.0 → 8.61.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,30 @@
|
|
|
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
|
+
## [8.61.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.61.0...@exodus/ethereum-api@8.61.1) (2025-12-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/ethereum-api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.61.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.60.0...@exodus/ethereum-api@8.61.0) (2025-12-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* feat: asset family (#6984)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* fix: register `eth_estimateGas` as a critical section (#7057)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [8.60.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.59.2...@exodus/ethereum-api@8.60.0) (2025-11-22)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -11,8 +35,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
35
|
|
|
12
36
|
* feat: Bundle approve and delegate functions for Matic staking (With simulation) (#6707)
|
|
13
37
|
|
|
14
|
-
* feat: Default privacyRpcUrl (SERVO) (#6968)
|
|
15
38
|
|
|
39
|
+
* feat: Default privacyRpcUrl (SERVO) (#6968)
|
|
16
40
|
|
|
17
41
|
|
|
18
42
|
## [8.59.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.59.1...@exodus/ethereum-api@8.59.2) (2025-11-19)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.61.1",
|
|
4
4
|
"description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Ethereum and EVM-based blockchains",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@exodus/bip44-constants": "^195.0.0",
|
|
30
30
|
"@exodus/crypto": "^1.0.0-rc.26",
|
|
31
31
|
"@exodus/currency": "^6.0.1",
|
|
32
|
-
"@exodus/ethereum-lib": "^5.
|
|
32
|
+
"@exodus/ethereum-lib": "^5.20.0",
|
|
33
33
|
"@exodus/ethereum-meta": "^2.9.1",
|
|
34
34
|
"@exodus/ethereumholesky-meta": "^2.0.5",
|
|
35
35
|
"@exodus/ethereumjs": "^1.8.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@exodus/safe-string": "^1.2.1",
|
|
39
39
|
"@exodus/simple-retry": "^0.0.6",
|
|
40
40
|
"@exodus/solidity-contract": "^1.3.0",
|
|
41
|
-
"@exodus/web3-ethereum-utils": "^4.
|
|
41
|
+
"@exodus/web3-ethereum-utils": "^4.6.0",
|
|
42
42
|
"bn.js": "^5.2.1",
|
|
43
43
|
"delay": "^4.0.1",
|
|
44
44
|
"eventemitter3": "^4.0.7",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"type": "git",
|
|
68
68
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "600b3f3f510e30333080011e85958f71835e020c"
|
|
71
71
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { connectAssetsList } from '@exodus/assets'
|
|
1
|
+
import { ASSET_FAMILY, connectAssetsList } from '@exodus/assets'
|
|
2
2
|
import bip44Constants from '@exodus/bip44-constants/by-ticker.js'
|
|
3
3
|
import {
|
|
4
4
|
createEthereumLikeAccountState,
|
|
@@ -182,6 +182,7 @@ export const createAssetFactory = ({
|
|
|
182
182
|
const features = {
|
|
183
183
|
accountState: true,
|
|
184
184
|
customTokens,
|
|
185
|
+
family: ASSET_FAMILY.EVM,
|
|
185
186
|
feeMonitor: true,
|
|
186
187
|
feesApi: true,
|
|
187
188
|
isMaxFeeAsset,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ASSET_FAMILY } from '@exodus/assets'
|
|
1
2
|
import { createContract } from '@exodus/ethereum-lib'
|
|
2
3
|
import assert from 'minimalistic-assert'
|
|
3
4
|
|
|
@@ -9,6 +10,7 @@ import {
|
|
|
9
10
|
import { createStakingApi } from './staking-api.js'
|
|
10
11
|
|
|
11
12
|
const defaultTokenFeatures = {
|
|
13
|
+
family: ASSET_FAMILY.EVM,
|
|
12
14
|
isMaxFeeAsset: true,
|
|
13
15
|
}
|
|
14
16
|
|
|
@@ -216,4 +216,12 @@ export default class ClarityServerV2 extends ClarityServer {
|
|
|
216
216
|
await this.fetchRpcHttpRequest({ baseApiPath, body: request })
|
|
217
217
|
)
|
|
218
218
|
}
|
|
219
|
+
|
|
220
|
+
async estimateGas(...params) {
|
|
221
|
+
const { baseApiPath } = this
|
|
222
|
+
const request = this.estimateGasRequest(...params)
|
|
223
|
+
return this.handleJsonRPCResponse(
|
|
224
|
+
await this.fetchRpcHttpRequest({ baseApiPath, body: request })
|
|
225
|
+
)
|
|
226
|
+
}
|
|
219
227
|
}
|