@exodus/ethereum-lib 3.3.34-alpha.0 → 3.3.35
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/LICENSE.md +0 -0
- package/package.json +3 -2
- package/src/account-state/index.js +2 -1
- package/src/utils/index.js +1 -1
package/LICENSE.md
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-lib",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.35",
|
|
4
4
|
"description": "Ethereum Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -43,5 +43,6 @@
|
|
|
43
43
|
"lodash": "^4.17.15",
|
|
44
44
|
"ms": "^2.1.1",
|
|
45
45
|
"reselect": "~3.0.1"
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "ad589509e7ae08b35f42188275c037293b6aa073"
|
|
47
48
|
}
|
|
@@ -6,10 +6,11 @@ import { parseLegacyBalances } from './parse-legacy-balances'
|
|
|
6
6
|
export default function createEthereumLikeAccountState(asset, assets = {}) {
|
|
7
7
|
return class EthereumLikeAccountState extends AccountState {
|
|
8
8
|
static defaults = {
|
|
9
|
-
startblock: 0,
|
|
9
|
+
startblock: 0, // deprecated. It seems not used anymore. Remove when it's safe
|
|
10
10
|
clarityCursor: '',
|
|
11
11
|
balance: asset.currency.ZERO,
|
|
12
12
|
tokenBalances: {},
|
|
13
|
+
index: 0,
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
// legacy -- this should have no effect on Ethereum-like assets that do not have legacy account state
|
package/src/utils/index.js
CHANGED
|
@@ -129,13 +129,13 @@ const customTokensWithRpcBalance = [
|
|
|
129
129
|
'feg_ethereum_ef42acf0',
|
|
130
130
|
'feg_bsc_48812e49',
|
|
131
131
|
'opt2_matic_2bb66719',
|
|
132
|
-
'babydoge_bsc_ee74eb55',
|
|
133
132
|
]
|
|
134
133
|
|
|
135
134
|
export const isRpcBalanceAsset = (asset) =>
|
|
136
135
|
[
|
|
137
136
|
'bsc',
|
|
138
137
|
'matic',
|
|
138
|
+
'babydoge_bsc',
|
|
139
139
|
'ousd_ethereum_48fcf72d',
|
|
140
140
|
'steth',
|
|
141
141
|
'weth',
|