@metamask-previews/earn-controller 12.2.6-preview-3e34650c2 → 12.2.6-preview-4f4c98e
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 +4 -0
- package/dist/{EarnController-method-action-types.d.mts → EarnController-method-action-types.d.ts} +2 -2
- package/dist/EarnController-method-action-types.d.ts.map +1 -0
- package/dist/{EarnController-method-action-types.mjs → EarnController-method-action-types.js} +1 -1
- package/dist/EarnController-method-action-types.js.map +1 -0
- package/dist/{EarnController.d.cts → EarnController.d.ts} +12 -12
- package/dist/EarnController.d.ts.map +1 -0
- package/dist/{EarnController.mjs → EarnController.js} +7 -7
- package/dist/EarnController.js.map +1 -0
- package/dist/{index.d.cts → index.d.ts} +6 -6
- package/dist/index.d.ts.map +1 -0
- package/dist/{index.mjs → index.js} +4 -4
- package/dist/index.js.map +1 -0
- package/dist/{selectors.d.cts → selectors.d.ts} +117 -117
- package/dist/selectors.d.ts.map +1 -0
- package/dist/{selectors.mjs → selectors.js} +2 -2
- package/dist/selectors.js.map +1 -0
- package/dist/{types.d.cts → types.d.ts} +1 -1
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +12 -16
- package/dist/EarnController-method-action-types.cjs +0 -7
- package/dist/EarnController-method-action-types.cjs.map +0 -1
- package/dist/EarnController-method-action-types.d.cts +0 -263
- package/dist/EarnController-method-action-types.d.cts.map +0 -1
- package/dist/EarnController-method-action-types.d.mts.map +0 -1
- package/dist/EarnController-method-action-types.mjs.map +0 -1
- package/dist/EarnController.cjs +0 -778
- package/dist/EarnController.cjs.map +0 -1
- package/dist/EarnController.d.cts.map +0 -1
- package/dist/EarnController.d.mts +0 -365
- package/dist/EarnController.d.mts.map +0 -1
- package/dist/EarnController.mjs.map +0 -1
- package/dist/index.cjs +0 -33
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -6
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/selectors.cjs +0 -121
- package/dist/selectors.cjs.map +0 -1
- package/dist/selectors.d.cts.map +0 -1
- package/dist/selectors.d.mts +0 -1518
- package/dist/selectors.d.mts.map +0 -1
- package/dist/selectors.mjs.map +0 -1
- package/dist/types.cjs +0 -3
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.cts.map +0 -1
- package/dist/types.d.mts +0 -21
- package/dist/types.d.mts.map +0 -1
- package/dist/types.mjs +0 -2
- package/dist/types.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LendingMarket } from
|
|
2
|
-
import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket, LendingPositionWithMarketReference } from
|
|
1
|
+
import type { LendingMarket } from '@metamask/stake-sdk';
|
|
2
|
+
import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket, LendingPositionWithMarketReference } from './EarnController.js';
|
|
3
3
|
export declare const selectLendingMarkets: (state: EarnControllerState) => LendingMarket[];
|
|
4
4
|
export declare const selectLendingPositions: (state: EarnControllerState) => LendingPositionWithMarketReference[];
|
|
5
5
|
export declare const selectLendingMarketsForChainId: (chainId: number) => ((state: EarnControllerState) => LendingMarket[]) & {
|
|
@@ -14,14 +14,14 @@ export declare const selectLendingMarketsForChainId: (chainId: number) => ((stat
|
|
|
14
14
|
resetResultsCount: () => void;
|
|
15
15
|
};
|
|
16
16
|
lastResult: () => LendingMarket[];
|
|
17
|
-
dependencies: [
|
|
17
|
+
dependencies: [typeof selectLendingMarkets];
|
|
18
18
|
recomputations: () => number;
|
|
19
19
|
resetRecomputations: () => void;
|
|
20
20
|
dependencyRecomputations: () => number;
|
|
21
21
|
resetDependencyRecomputations: () => void;
|
|
22
22
|
} & {
|
|
23
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
24
23
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
24
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
25
25
|
};
|
|
26
26
|
export declare const selectLendingMarketsByProtocolAndId: ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
27
27
|
clearCache: () => void;
|
|
@@ -35,14 +35,14 @@ export declare const selectLendingMarketsByProtocolAndId: ((state: EarnControlle
|
|
|
35
35
|
resetResultsCount: () => void;
|
|
36
36
|
};
|
|
37
37
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
38
|
-
dependencies: [
|
|
38
|
+
dependencies: [typeof selectLendingMarkets];
|
|
39
39
|
recomputations: () => number;
|
|
40
40
|
resetRecomputations: () => void;
|
|
41
41
|
dependencyRecomputations: () => number;
|
|
42
42
|
resetDependencyRecomputations: () => void;
|
|
43
43
|
} & {
|
|
44
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
45
44
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
45
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
46
46
|
};
|
|
47
47
|
export declare const selectLendingMarketForProtocolAndId: (protocol: string, id: string) => ((state: EarnControllerState) => LendingMarket | undefined) & {
|
|
48
48
|
clearCache: () => void;
|
|
@@ -68,22 +68,22 @@ export declare const selectLendingMarketForProtocolAndId: (protocol: string, id:
|
|
|
68
68
|
resetResultsCount: () => void;
|
|
69
69
|
};
|
|
70
70
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
71
|
-
dependencies: [
|
|
71
|
+
dependencies: [typeof selectLendingMarkets];
|
|
72
72
|
recomputations: () => number;
|
|
73
73
|
resetRecomputations: () => void;
|
|
74
74
|
dependencyRecomputations: () => number;
|
|
75
75
|
resetDependencyRecomputations: () => void;
|
|
76
76
|
} & {
|
|
77
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
78
77
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
78
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
79
79
|
}];
|
|
80
80
|
recomputations: () => number;
|
|
81
81
|
resetRecomputations: () => void;
|
|
82
82
|
dependencyRecomputations: () => number;
|
|
83
83
|
resetDependencyRecomputations: () => void;
|
|
84
84
|
} & {
|
|
85
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
86
85
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
86
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
87
87
|
};
|
|
88
88
|
export declare const selectLendingMarketsByChainId: ((state: EarnControllerState) => Record<number, LendingMarket[]>) & {
|
|
89
89
|
clearCache: () => void;
|
|
@@ -97,14 +97,14 @@ export declare const selectLendingMarketsByChainId: ((state: EarnControllerState
|
|
|
97
97
|
resetResultsCount: () => void;
|
|
98
98
|
};
|
|
99
99
|
lastResult: () => Record<number, LendingMarket[]>;
|
|
100
|
-
dependencies: [
|
|
100
|
+
dependencies: [typeof selectLendingMarkets];
|
|
101
101
|
recomputations: () => number;
|
|
102
102
|
resetRecomputations: () => void;
|
|
103
103
|
dependencyRecomputations: () => number;
|
|
104
104
|
resetDependencyRecomputations: () => void;
|
|
105
105
|
} & {
|
|
106
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
107
106
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
107
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
108
108
|
};
|
|
109
109
|
export declare const selectLendingPositionsWithMarket: ((state: EarnControllerState) => LendingPositionWithMarket[]) & {
|
|
110
110
|
clearCache: () => void;
|
|
@@ -118,7 +118,7 @@ export declare const selectLendingPositionsWithMarket: ((state: EarnControllerSt
|
|
|
118
118
|
resetResultsCount: () => void;
|
|
119
119
|
};
|
|
120
120
|
lastResult: () => LendingPositionWithMarket[];
|
|
121
|
-
dependencies: [
|
|
121
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
122
122
|
clearCache: () => void;
|
|
123
123
|
resultsCount: () => number;
|
|
124
124
|
resetResultsCount: () => void;
|
|
@@ -130,22 +130,22 @@ export declare const selectLendingPositionsWithMarket: ((state: EarnControllerSt
|
|
|
130
130
|
resetResultsCount: () => void;
|
|
131
131
|
};
|
|
132
132
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
133
|
-
dependencies: [
|
|
133
|
+
dependencies: [typeof selectLendingMarkets];
|
|
134
134
|
recomputations: () => number;
|
|
135
135
|
resetRecomputations: () => void;
|
|
136
136
|
dependencyRecomputations: () => number;
|
|
137
137
|
resetDependencyRecomputations: () => void;
|
|
138
138
|
} & {
|
|
139
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
140
139
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
140
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
141
141
|
}];
|
|
142
142
|
recomputations: () => number;
|
|
143
143
|
resetRecomputations: () => void;
|
|
144
144
|
dependencyRecomputations: () => number;
|
|
145
145
|
resetDependencyRecomputations: () => void;
|
|
146
146
|
} & {
|
|
147
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
148
147
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
148
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
149
149
|
};
|
|
150
150
|
export declare const selectLendingPositionsByChainId: ((state: EarnControllerState) => Record<number, LendingPositionWithMarket[]>) & {
|
|
151
151
|
clearCache: () => void;
|
|
@@ -171,7 +171,7 @@ export declare const selectLendingPositionsByChainId: ((state: EarnControllerSta
|
|
|
171
171
|
resetResultsCount: () => void;
|
|
172
172
|
};
|
|
173
173
|
lastResult: () => LendingPositionWithMarket[];
|
|
174
|
-
dependencies: [
|
|
174
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
175
175
|
clearCache: () => void;
|
|
176
176
|
resultsCount: () => number;
|
|
177
177
|
resetResultsCount: () => void;
|
|
@@ -183,30 +183,30 @@ export declare const selectLendingPositionsByChainId: ((state: EarnControllerSta
|
|
|
183
183
|
resetResultsCount: () => void;
|
|
184
184
|
};
|
|
185
185
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
186
|
-
dependencies: [
|
|
186
|
+
dependencies: [typeof selectLendingMarkets];
|
|
187
187
|
recomputations: () => number;
|
|
188
188
|
resetRecomputations: () => void;
|
|
189
189
|
dependencyRecomputations: () => number;
|
|
190
190
|
resetDependencyRecomputations: () => void;
|
|
191
191
|
} & {
|
|
192
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
193
192
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
193
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
194
194
|
}];
|
|
195
195
|
recomputations: () => number;
|
|
196
196
|
resetRecomputations: () => void;
|
|
197
197
|
dependencyRecomputations: () => number;
|
|
198
198
|
resetDependencyRecomputations: () => void;
|
|
199
199
|
} & {
|
|
200
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
201
200
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
201
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
202
202
|
}];
|
|
203
203
|
recomputations: () => number;
|
|
204
204
|
resetRecomputations: () => void;
|
|
205
205
|
dependencyRecomputations: () => number;
|
|
206
206
|
resetDependencyRecomputations: () => void;
|
|
207
207
|
} & {
|
|
208
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
209
208
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
209
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
210
210
|
};
|
|
211
211
|
export declare const selectLendingPositionsByProtocolChainIdMarketId: ((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
212
212
|
clearCache: () => void;
|
|
@@ -232,7 +232,7 @@ export declare const selectLendingPositionsByProtocolChainIdMarketId: ((state: E
|
|
|
232
232
|
resetResultsCount: () => void;
|
|
233
233
|
};
|
|
234
234
|
lastResult: () => LendingPositionWithMarket[];
|
|
235
|
-
dependencies: [
|
|
235
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
236
236
|
clearCache: () => void;
|
|
237
237
|
resultsCount: () => number;
|
|
238
238
|
resetResultsCount: () => void;
|
|
@@ -244,33 +244,32 @@ export declare const selectLendingPositionsByProtocolChainIdMarketId: ((state: E
|
|
|
244
244
|
resetResultsCount: () => void;
|
|
245
245
|
};
|
|
246
246
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
247
|
-
dependencies: [
|
|
247
|
+
dependencies: [typeof selectLendingMarkets];
|
|
248
248
|
recomputations: () => number;
|
|
249
249
|
resetRecomputations: () => void;
|
|
250
250
|
dependencyRecomputations: () => number;
|
|
251
251
|
resetDependencyRecomputations: () => void;
|
|
252
252
|
} & {
|
|
253
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
254
253
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
254
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
255
255
|
}];
|
|
256
256
|
recomputations: () => number;
|
|
257
257
|
resetRecomputations: () => void;
|
|
258
258
|
dependencyRecomputations: () => number;
|
|
259
259
|
resetDependencyRecomputations: () => void;
|
|
260
260
|
} & {
|
|
261
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
262
261
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
262
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
263
263
|
}];
|
|
264
264
|
recomputations: () => number;
|
|
265
265
|
resetRecomputations: () => void;
|
|
266
266
|
dependencyRecomputations: () => number;
|
|
267
267
|
resetDependencyRecomputations: () => void;
|
|
268
268
|
} & {
|
|
269
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
270
269
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
270
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
271
271
|
};
|
|
272
272
|
export declare const selectLendingMarketsWithPosition: ((state: EarnControllerState) => {
|
|
273
|
-
position: LendingPositionWithMarket;
|
|
274
273
|
netSupplyRate: number;
|
|
275
274
|
totalSupplyRate: number;
|
|
276
275
|
id: string;
|
|
@@ -285,13 +284,13 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
285
284
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
286
285
|
rate: number;
|
|
287
286
|
}[];
|
|
287
|
+
position: LendingPositionWithMarket;
|
|
288
288
|
}[]) & {
|
|
289
289
|
clearCache: () => void;
|
|
290
290
|
resultsCount: () => number;
|
|
291
291
|
resetResultsCount: () => void;
|
|
292
292
|
} & {
|
|
293
293
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
294
|
-
position: LendingPositionWithMarket;
|
|
295
294
|
netSupplyRate: number;
|
|
296
295
|
totalSupplyRate: number;
|
|
297
296
|
id: string;
|
|
@@ -306,9 +305,9 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
306
305
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
307
306
|
rate: number;
|
|
308
307
|
}[];
|
|
308
|
+
position: LendingPositionWithMarket;
|
|
309
309
|
}[];
|
|
310
310
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
311
|
-
position: LendingPositionWithMarket;
|
|
312
311
|
netSupplyRate: number;
|
|
313
312
|
totalSupplyRate: number;
|
|
314
313
|
id: string;
|
|
@@ -323,13 +322,13 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
323
322
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
324
323
|
rate: number;
|
|
325
324
|
}[];
|
|
325
|
+
position: LendingPositionWithMarket;
|
|
326
326
|
}[]) & {
|
|
327
327
|
clearCache: () => void;
|
|
328
328
|
resultsCount: () => number;
|
|
329
329
|
resetResultsCount: () => void;
|
|
330
330
|
};
|
|
331
331
|
lastResult: () => {
|
|
332
|
-
position: LendingPositionWithMarket;
|
|
333
332
|
netSupplyRate: number;
|
|
334
333
|
totalSupplyRate: number;
|
|
335
334
|
id: string;
|
|
@@ -344,6 +343,7 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
344
343
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
345
344
|
rate: number;
|
|
346
345
|
}[];
|
|
346
|
+
position: LendingPositionWithMarket;
|
|
347
347
|
}[];
|
|
348
348
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
349
349
|
clearCache: () => void;
|
|
@@ -369,7 +369,7 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
369
369
|
resetResultsCount: () => void;
|
|
370
370
|
};
|
|
371
371
|
lastResult: () => LendingPositionWithMarket[];
|
|
372
|
-
dependencies: [
|
|
372
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
373
373
|
clearCache: () => void;
|
|
374
374
|
resultsCount: () => number;
|
|
375
375
|
resetResultsCount: () => void;
|
|
@@ -381,38 +381,38 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
|
|
|
381
381
|
resetResultsCount: () => void;
|
|
382
382
|
};
|
|
383
383
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
384
|
-
dependencies: [
|
|
384
|
+
dependencies: [typeof selectLendingMarkets];
|
|
385
385
|
recomputations: () => number;
|
|
386
386
|
resetRecomputations: () => void;
|
|
387
387
|
dependencyRecomputations: () => number;
|
|
388
388
|
resetDependencyRecomputations: () => void;
|
|
389
389
|
} & {
|
|
390
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
391
390
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
391
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
392
392
|
}];
|
|
393
393
|
recomputations: () => number;
|
|
394
394
|
resetRecomputations: () => void;
|
|
395
395
|
dependencyRecomputations: () => number;
|
|
396
396
|
resetDependencyRecomputations: () => void;
|
|
397
397
|
} & {
|
|
398
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
399
398
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
399
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
400
400
|
}];
|
|
401
401
|
recomputations: () => number;
|
|
402
402
|
resetRecomputations: () => void;
|
|
403
403
|
dependencyRecomputations: () => number;
|
|
404
404
|
resetDependencyRecomputations: () => void;
|
|
405
405
|
} & {
|
|
406
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
407
406
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
408
|
-
|
|
407
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
408
|
+
}, typeof selectLendingMarkets];
|
|
409
409
|
recomputations: () => number;
|
|
410
410
|
resetRecomputations: () => void;
|
|
411
411
|
dependencyRecomputations: () => number;
|
|
412
412
|
resetDependencyRecomputations: () => void;
|
|
413
413
|
} & {
|
|
414
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
415
414
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
415
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
416
416
|
};
|
|
417
417
|
export declare const selectLendingMarketsByTokenAddress: ((state: EarnControllerState) => Record<string, LendingMarketWithPosition[]>) & {
|
|
418
418
|
clearCache: () => void;
|
|
@@ -420,7 +420,6 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
420
420
|
resetResultsCount: () => void;
|
|
421
421
|
} & {
|
|
422
422
|
resultFunc: (resultFuncArgs_0: {
|
|
423
|
-
position: LendingPositionWithMarket;
|
|
424
423
|
netSupplyRate: number;
|
|
425
424
|
totalSupplyRate: number;
|
|
426
425
|
id: string;
|
|
@@ -435,9 +434,9 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
435
434
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
436
435
|
rate: number;
|
|
437
436
|
}[];
|
|
437
|
+
position: LendingPositionWithMarket;
|
|
438
438
|
}[]) => Record<string, LendingMarketWithPosition[]>;
|
|
439
439
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
440
|
-
position: LendingPositionWithMarket;
|
|
441
440
|
netSupplyRate: number;
|
|
442
441
|
totalSupplyRate: number;
|
|
443
442
|
id: string;
|
|
@@ -452,6 +451,7 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
452
451
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
453
452
|
rate: number;
|
|
454
453
|
}[];
|
|
454
|
+
position: LendingPositionWithMarket;
|
|
455
455
|
}[]) => Record<string, LendingMarketWithPosition[]>) & {
|
|
456
456
|
clearCache: () => void;
|
|
457
457
|
resultsCount: () => number;
|
|
@@ -459,7 +459,6 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
459
459
|
};
|
|
460
460
|
lastResult: () => Record<string, LendingMarketWithPosition[]>;
|
|
461
461
|
dependencies: [((state: EarnControllerState) => {
|
|
462
|
-
position: LendingPositionWithMarket;
|
|
463
462
|
netSupplyRate: number;
|
|
464
463
|
totalSupplyRate: number;
|
|
465
464
|
id: string;
|
|
@@ -474,13 +473,13 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
474
473
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
475
474
|
rate: number;
|
|
476
475
|
}[];
|
|
476
|
+
position: LendingPositionWithMarket;
|
|
477
477
|
}[]) & {
|
|
478
478
|
clearCache: () => void;
|
|
479
479
|
resultsCount: () => number;
|
|
480
480
|
resetResultsCount: () => void;
|
|
481
481
|
} & {
|
|
482
482
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
483
|
-
position: LendingPositionWithMarket;
|
|
484
483
|
netSupplyRate: number;
|
|
485
484
|
totalSupplyRate: number;
|
|
486
485
|
id: string;
|
|
@@ -495,9 +494,9 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
495
494
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
496
495
|
rate: number;
|
|
497
496
|
}[];
|
|
497
|
+
position: LendingPositionWithMarket;
|
|
498
498
|
}[];
|
|
499
499
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
500
|
-
position: LendingPositionWithMarket;
|
|
501
500
|
netSupplyRate: number;
|
|
502
501
|
totalSupplyRate: number;
|
|
503
502
|
id: string;
|
|
@@ -512,13 +511,13 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
512
511
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
513
512
|
rate: number;
|
|
514
513
|
}[];
|
|
514
|
+
position: LendingPositionWithMarket;
|
|
515
515
|
}[]) & {
|
|
516
516
|
clearCache: () => void;
|
|
517
517
|
resultsCount: () => number;
|
|
518
518
|
resetResultsCount: () => void;
|
|
519
519
|
};
|
|
520
520
|
lastResult: () => {
|
|
521
|
-
position: LendingPositionWithMarket;
|
|
522
521
|
netSupplyRate: number;
|
|
523
522
|
totalSupplyRate: number;
|
|
524
523
|
id: string;
|
|
@@ -533,6 +532,7 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
533
532
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
534
533
|
rate: number;
|
|
535
534
|
}[];
|
|
535
|
+
position: LendingPositionWithMarket;
|
|
536
536
|
}[];
|
|
537
537
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
538
538
|
clearCache: () => void;
|
|
@@ -558,7 +558,7 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
558
558
|
resetResultsCount: () => void;
|
|
559
559
|
};
|
|
560
560
|
lastResult: () => LendingPositionWithMarket[];
|
|
561
|
-
dependencies: [
|
|
561
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
562
562
|
clearCache: () => void;
|
|
563
563
|
resultsCount: () => number;
|
|
564
564
|
resetResultsCount: () => void;
|
|
@@ -570,46 +570,46 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
|
|
|
570
570
|
resetResultsCount: () => void;
|
|
571
571
|
};
|
|
572
572
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
573
|
-
dependencies: [
|
|
573
|
+
dependencies: [typeof selectLendingMarkets];
|
|
574
574
|
recomputations: () => number;
|
|
575
575
|
resetRecomputations: () => void;
|
|
576
576
|
dependencyRecomputations: () => number;
|
|
577
577
|
resetDependencyRecomputations: () => void;
|
|
578
578
|
} & {
|
|
579
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
580
579
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
580
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
581
581
|
}];
|
|
582
582
|
recomputations: () => number;
|
|
583
583
|
resetRecomputations: () => void;
|
|
584
584
|
dependencyRecomputations: () => number;
|
|
585
585
|
resetDependencyRecomputations: () => void;
|
|
586
586
|
} & {
|
|
587
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
588
587
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
588
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
589
589
|
}];
|
|
590
590
|
recomputations: () => number;
|
|
591
591
|
resetRecomputations: () => void;
|
|
592
592
|
dependencyRecomputations: () => number;
|
|
593
593
|
resetDependencyRecomputations: () => void;
|
|
594
594
|
} & {
|
|
595
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
596
595
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
597
|
-
|
|
596
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
597
|
+
}, typeof selectLendingMarkets];
|
|
598
598
|
recomputations: () => number;
|
|
599
599
|
resetRecomputations: () => void;
|
|
600
600
|
dependencyRecomputations: () => number;
|
|
601
601
|
resetDependencyRecomputations: () => void;
|
|
602
602
|
} & {
|
|
603
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
604
603
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
604
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
605
605
|
}];
|
|
606
606
|
recomputations: () => number;
|
|
607
607
|
resetRecomputations: () => void;
|
|
608
608
|
dependencyRecomputations: () => number;
|
|
609
609
|
resetDependencyRecomputations: () => void;
|
|
610
610
|
} & {
|
|
611
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
612
611
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
612
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
613
613
|
};
|
|
614
614
|
export declare const selectLendingPositionsByProtocol: ((state: EarnControllerState) => Record<string, LendingPositionWithMarket[]>) & {
|
|
615
615
|
clearCache: () => void;
|
|
@@ -635,7 +635,7 @@ export declare const selectLendingPositionsByProtocol: ((state: EarnControllerSt
|
|
|
635
635
|
resetResultsCount: () => void;
|
|
636
636
|
};
|
|
637
637
|
lastResult: () => LendingPositionWithMarket[];
|
|
638
|
-
dependencies: [
|
|
638
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
639
639
|
clearCache: () => void;
|
|
640
640
|
resultsCount: () => number;
|
|
641
641
|
resetResultsCount: () => void;
|
|
@@ -647,30 +647,30 @@ export declare const selectLendingPositionsByProtocol: ((state: EarnControllerSt
|
|
|
647
647
|
resetResultsCount: () => void;
|
|
648
648
|
};
|
|
649
649
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
650
|
-
dependencies: [
|
|
650
|
+
dependencies: [typeof selectLendingMarkets];
|
|
651
651
|
recomputations: () => number;
|
|
652
652
|
resetRecomputations: () => void;
|
|
653
653
|
dependencyRecomputations: () => number;
|
|
654
654
|
resetDependencyRecomputations: () => void;
|
|
655
655
|
} & {
|
|
656
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
657
656
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
657
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
658
658
|
}];
|
|
659
659
|
recomputations: () => number;
|
|
660
660
|
resetRecomputations: () => void;
|
|
661
661
|
dependencyRecomputations: () => number;
|
|
662
662
|
resetDependencyRecomputations: () => void;
|
|
663
663
|
} & {
|
|
664
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
665
664
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
665
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
666
666
|
}];
|
|
667
667
|
recomputations: () => number;
|
|
668
668
|
resetRecomputations: () => void;
|
|
669
669
|
dependencyRecomputations: () => number;
|
|
670
670
|
resetDependencyRecomputations: () => void;
|
|
671
671
|
} & {
|
|
672
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
673
672
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
673
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
674
674
|
};
|
|
675
675
|
export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: EarnControllerState) => Record<string, Record<string, LendingMarketWithPosition>>) & {
|
|
676
676
|
clearCache: () => void;
|
|
@@ -678,7 +678,6 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
678
678
|
resetResultsCount: () => void;
|
|
679
679
|
} & {
|
|
680
680
|
resultFunc: (resultFuncArgs_0: {
|
|
681
|
-
position: LendingPositionWithMarket;
|
|
682
681
|
netSupplyRate: number;
|
|
683
682
|
totalSupplyRate: number;
|
|
684
683
|
id: string;
|
|
@@ -693,9 +692,9 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
693
692
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
694
693
|
rate: number;
|
|
695
694
|
}[];
|
|
695
|
+
position: LendingPositionWithMarket;
|
|
696
696
|
}[]) => Record<string, Record<string, LendingMarketWithPosition>>;
|
|
697
697
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
698
|
-
position: LendingPositionWithMarket;
|
|
699
698
|
netSupplyRate: number;
|
|
700
699
|
totalSupplyRate: number;
|
|
701
700
|
id: string;
|
|
@@ -710,6 +709,7 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
710
709
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
711
710
|
rate: number;
|
|
712
711
|
}[];
|
|
712
|
+
position: LendingPositionWithMarket;
|
|
713
713
|
}[]) => Record<string, Record<string, LendingMarketWithPosition>>) & {
|
|
714
714
|
clearCache: () => void;
|
|
715
715
|
resultsCount: () => number;
|
|
@@ -717,7 +717,6 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
717
717
|
};
|
|
718
718
|
lastResult: () => Record<string, Record<string, LendingMarketWithPosition>>;
|
|
719
719
|
dependencies: [((state: EarnControllerState) => {
|
|
720
|
-
position: LendingPositionWithMarket;
|
|
721
720
|
netSupplyRate: number;
|
|
722
721
|
totalSupplyRate: number;
|
|
723
722
|
id: string;
|
|
@@ -732,13 +731,13 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
732
731
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
733
732
|
rate: number;
|
|
734
733
|
}[];
|
|
734
|
+
position: LendingPositionWithMarket;
|
|
735
735
|
}[]) & {
|
|
736
736
|
clearCache: () => void;
|
|
737
737
|
resultsCount: () => number;
|
|
738
738
|
resetResultsCount: () => void;
|
|
739
739
|
} & {
|
|
740
740
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
741
|
-
position: LendingPositionWithMarket;
|
|
742
741
|
netSupplyRate: number;
|
|
743
742
|
totalSupplyRate: number;
|
|
744
743
|
id: string;
|
|
@@ -753,9 +752,9 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
753
752
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
754
753
|
rate: number;
|
|
755
754
|
}[];
|
|
755
|
+
position: LendingPositionWithMarket;
|
|
756
756
|
}[];
|
|
757
757
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
758
|
-
position: LendingPositionWithMarket;
|
|
759
758
|
netSupplyRate: number;
|
|
760
759
|
totalSupplyRate: number;
|
|
761
760
|
id: string;
|
|
@@ -770,13 +769,13 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
770
769
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
771
770
|
rate: number;
|
|
772
771
|
}[];
|
|
772
|
+
position: LendingPositionWithMarket;
|
|
773
773
|
}[]) & {
|
|
774
774
|
clearCache: () => void;
|
|
775
775
|
resultsCount: () => number;
|
|
776
776
|
resetResultsCount: () => void;
|
|
777
777
|
};
|
|
778
778
|
lastResult: () => {
|
|
779
|
-
position: LendingPositionWithMarket;
|
|
780
779
|
netSupplyRate: number;
|
|
781
780
|
totalSupplyRate: number;
|
|
782
781
|
id: string;
|
|
@@ -791,6 +790,7 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
791
790
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
792
791
|
rate: number;
|
|
793
792
|
}[];
|
|
793
|
+
position: LendingPositionWithMarket;
|
|
794
794
|
}[];
|
|
795
795
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
796
796
|
clearCache: () => void;
|
|
@@ -816,7 +816,7 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
816
816
|
resetResultsCount: () => void;
|
|
817
817
|
};
|
|
818
818
|
lastResult: () => LendingPositionWithMarket[];
|
|
819
|
-
dependencies: [
|
|
819
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
820
820
|
clearCache: () => void;
|
|
821
821
|
resultsCount: () => number;
|
|
822
822
|
resetResultsCount: () => void;
|
|
@@ -828,46 +828,46 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
|
|
|
828
828
|
resetResultsCount: () => void;
|
|
829
829
|
};
|
|
830
830
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
831
|
-
dependencies: [
|
|
831
|
+
dependencies: [typeof selectLendingMarkets];
|
|
832
832
|
recomputations: () => number;
|
|
833
833
|
resetRecomputations: () => void;
|
|
834
834
|
dependencyRecomputations: () => number;
|
|
835
835
|
resetDependencyRecomputations: () => void;
|
|
836
836
|
} & {
|
|
837
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
838
837
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
838
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
839
839
|
}];
|
|
840
840
|
recomputations: () => number;
|
|
841
841
|
resetRecomputations: () => void;
|
|
842
842
|
dependencyRecomputations: () => number;
|
|
843
843
|
resetDependencyRecomputations: () => void;
|
|
844
844
|
} & {
|
|
845
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
846
845
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
846
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
847
847
|
}];
|
|
848
848
|
recomputations: () => number;
|
|
849
849
|
resetRecomputations: () => void;
|
|
850
850
|
dependencyRecomputations: () => number;
|
|
851
851
|
resetDependencyRecomputations: () => void;
|
|
852
852
|
} & {
|
|
853
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
854
853
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
855
|
-
|
|
854
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
855
|
+
}, typeof selectLendingMarkets];
|
|
856
856
|
recomputations: () => number;
|
|
857
857
|
resetRecomputations: () => void;
|
|
858
858
|
dependencyRecomputations: () => number;
|
|
859
859
|
resetDependencyRecomputations: () => void;
|
|
860
860
|
} & {
|
|
861
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
862
861
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
862
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
863
863
|
}];
|
|
864
864
|
recomputations: () => number;
|
|
865
865
|
resetRecomputations: () => void;
|
|
866
866
|
dependencyRecomputations: () => number;
|
|
867
867
|
resetDependencyRecomputations: () => void;
|
|
868
868
|
} & {
|
|
869
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
870
869
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
870
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
871
871
|
};
|
|
872
872
|
export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: string, tokenAddress: string) => ((state: EarnControllerState) => LendingMarketWithPosition | undefined) & {
|
|
873
873
|
clearCache: () => void;
|
|
@@ -887,7 +887,6 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
887
887
|
resetResultsCount: () => void;
|
|
888
888
|
} & {
|
|
889
889
|
resultFunc: (resultFuncArgs_0: {
|
|
890
|
-
position: LendingPositionWithMarket;
|
|
891
890
|
netSupplyRate: number;
|
|
892
891
|
totalSupplyRate: number;
|
|
893
892
|
id: string;
|
|
@@ -902,9 +901,9 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
902
901
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
903
902
|
rate: number;
|
|
904
903
|
}[];
|
|
904
|
+
position: LendingPositionWithMarket;
|
|
905
905
|
}[]) => Record<string, Record<string, LendingMarketWithPosition>>;
|
|
906
906
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
907
|
-
position: LendingPositionWithMarket;
|
|
908
907
|
netSupplyRate: number;
|
|
909
908
|
totalSupplyRate: number;
|
|
910
909
|
id: string;
|
|
@@ -919,6 +918,7 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
919
918
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
920
919
|
rate: number;
|
|
921
920
|
}[];
|
|
921
|
+
position: LendingPositionWithMarket;
|
|
922
922
|
}[]) => Record<string, Record<string, LendingMarketWithPosition>>) & {
|
|
923
923
|
clearCache: () => void;
|
|
924
924
|
resultsCount: () => number;
|
|
@@ -926,7 +926,6 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
926
926
|
};
|
|
927
927
|
lastResult: () => Record<string, Record<string, LendingMarketWithPosition>>;
|
|
928
928
|
dependencies: [((state: EarnControllerState) => {
|
|
929
|
-
position: LendingPositionWithMarket;
|
|
930
929
|
netSupplyRate: number;
|
|
931
930
|
totalSupplyRate: number;
|
|
932
931
|
id: string;
|
|
@@ -941,13 +940,13 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
941
940
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
942
941
|
rate: number;
|
|
943
942
|
}[];
|
|
943
|
+
position: LendingPositionWithMarket;
|
|
944
944
|
}[]) & {
|
|
945
945
|
clearCache: () => void;
|
|
946
946
|
resultsCount: () => number;
|
|
947
947
|
resetResultsCount: () => void;
|
|
948
948
|
} & {
|
|
949
949
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
950
|
-
position: LendingPositionWithMarket;
|
|
951
950
|
netSupplyRate: number;
|
|
952
951
|
totalSupplyRate: number;
|
|
953
952
|
id: string;
|
|
@@ -962,9 +961,9 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
962
961
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
963
962
|
rate: number;
|
|
964
963
|
}[];
|
|
964
|
+
position: LendingPositionWithMarket;
|
|
965
965
|
}[];
|
|
966
966
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
967
|
-
position: LendingPositionWithMarket;
|
|
968
967
|
netSupplyRate: number;
|
|
969
968
|
totalSupplyRate: number;
|
|
970
969
|
id: string;
|
|
@@ -979,13 +978,13 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
979
978
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
980
979
|
rate: number;
|
|
981
980
|
}[];
|
|
981
|
+
position: LendingPositionWithMarket;
|
|
982
982
|
}[]) & {
|
|
983
983
|
clearCache: () => void;
|
|
984
984
|
resultsCount: () => number;
|
|
985
985
|
resetResultsCount: () => void;
|
|
986
986
|
};
|
|
987
987
|
lastResult: () => {
|
|
988
|
-
position: LendingPositionWithMarket;
|
|
989
988
|
netSupplyRate: number;
|
|
990
989
|
totalSupplyRate: number;
|
|
991
990
|
id: string;
|
|
@@ -1000,6 +999,7 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
1000
999
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1001
1000
|
rate: number;
|
|
1002
1001
|
}[];
|
|
1002
|
+
position: LendingPositionWithMarket;
|
|
1003
1003
|
}[];
|
|
1004
1004
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
1005
1005
|
clearCache: () => void;
|
|
@@ -1025,7 +1025,7 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
1025
1025
|
resetResultsCount: () => void;
|
|
1026
1026
|
};
|
|
1027
1027
|
lastResult: () => LendingPositionWithMarket[];
|
|
1028
|
-
dependencies: [
|
|
1028
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
1029
1029
|
clearCache: () => void;
|
|
1030
1030
|
resultsCount: () => number;
|
|
1031
1031
|
resetResultsCount: () => void;
|
|
@@ -1037,54 +1037,54 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
|
|
|
1037
1037
|
resetResultsCount: () => void;
|
|
1038
1038
|
};
|
|
1039
1039
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
1040
|
-
dependencies: [
|
|
1040
|
+
dependencies: [typeof selectLendingMarkets];
|
|
1041
1041
|
recomputations: () => number;
|
|
1042
1042
|
resetRecomputations: () => void;
|
|
1043
1043
|
dependencyRecomputations: () => number;
|
|
1044
1044
|
resetDependencyRecomputations: () => void;
|
|
1045
1045
|
} & {
|
|
1046
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1047
1046
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1047
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1048
1048
|
}];
|
|
1049
1049
|
recomputations: () => number;
|
|
1050
1050
|
resetRecomputations: () => void;
|
|
1051
1051
|
dependencyRecomputations: () => number;
|
|
1052
1052
|
resetDependencyRecomputations: () => void;
|
|
1053
1053
|
} & {
|
|
1054
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1055
1054
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1055
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1056
1056
|
}];
|
|
1057
1057
|
recomputations: () => number;
|
|
1058
1058
|
resetRecomputations: () => void;
|
|
1059
1059
|
dependencyRecomputations: () => number;
|
|
1060
1060
|
resetDependencyRecomputations: () => void;
|
|
1061
1061
|
} & {
|
|
1062
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1063
1062
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1064
|
-
|
|
1063
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1064
|
+
}, typeof selectLendingMarkets];
|
|
1065
1065
|
recomputations: () => number;
|
|
1066
1066
|
resetRecomputations: () => void;
|
|
1067
1067
|
dependencyRecomputations: () => number;
|
|
1068
1068
|
resetDependencyRecomputations: () => void;
|
|
1069
1069
|
} & {
|
|
1070
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1071
1070
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1071
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1072
1072
|
}];
|
|
1073
1073
|
recomputations: () => number;
|
|
1074
1074
|
resetRecomputations: () => void;
|
|
1075
1075
|
dependencyRecomputations: () => number;
|
|
1076
1076
|
resetDependencyRecomputations: () => void;
|
|
1077
1077
|
} & {
|
|
1078
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1079
1078
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1079
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1080
1080
|
}];
|
|
1081
1081
|
recomputations: () => number;
|
|
1082
1082
|
resetRecomputations: () => void;
|
|
1083
1083
|
dependencyRecomputations: () => number;
|
|
1084
1084
|
resetDependencyRecomputations: () => void;
|
|
1085
1085
|
} & {
|
|
1086
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1087
1086
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1087
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1088
1088
|
};
|
|
1089
1089
|
export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state: EarnControllerState) => Record<string, Record<string, LendingMarketWithPosition[]>>) & {
|
|
1090
1090
|
clearCache: () => void;
|
|
@@ -1092,7 +1092,6 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1092
1092
|
resetResultsCount: () => void;
|
|
1093
1093
|
} & {
|
|
1094
1094
|
resultFunc: (resultFuncArgs_0: {
|
|
1095
|
-
position: LendingPositionWithMarket;
|
|
1096
1095
|
netSupplyRate: number;
|
|
1097
1096
|
totalSupplyRate: number;
|
|
1098
1097
|
id: string;
|
|
@@ -1107,9 +1106,9 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1107
1106
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1108
1107
|
rate: number;
|
|
1109
1108
|
}[];
|
|
1109
|
+
position: LendingPositionWithMarket;
|
|
1110
1110
|
}[]) => Record<string, Record<string, LendingMarketWithPosition[]>>;
|
|
1111
1111
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
1112
|
-
position: LendingPositionWithMarket;
|
|
1113
1112
|
netSupplyRate: number;
|
|
1114
1113
|
totalSupplyRate: number;
|
|
1115
1114
|
id: string;
|
|
@@ -1124,6 +1123,7 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1124
1123
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1125
1124
|
rate: number;
|
|
1126
1125
|
}[];
|
|
1126
|
+
position: LendingPositionWithMarket;
|
|
1127
1127
|
}[]) => Record<string, Record<string, LendingMarketWithPosition[]>>) & {
|
|
1128
1128
|
clearCache: () => void;
|
|
1129
1129
|
resultsCount: () => number;
|
|
@@ -1131,7 +1131,6 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1131
1131
|
};
|
|
1132
1132
|
lastResult: () => Record<string, Record<string, LendingMarketWithPosition[]>>;
|
|
1133
1133
|
dependencies: [((state: EarnControllerState) => {
|
|
1134
|
-
position: LendingPositionWithMarket;
|
|
1135
1134
|
netSupplyRate: number;
|
|
1136
1135
|
totalSupplyRate: number;
|
|
1137
1136
|
id: string;
|
|
@@ -1146,13 +1145,13 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1146
1145
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1147
1146
|
rate: number;
|
|
1148
1147
|
}[];
|
|
1148
|
+
position: LendingPositionWithMarket;
|
|
1149
1149
|
}[]) & {
|
|
1150
1150
|
clearCache: () => void;
|
|
1151
1151
|
resultsCount: () => number;
|
|
1152
1152
|
resetResultsCount: () => void;
|
|
1153
1153
|
} & {
|
|
1154
1154
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
1155
|
-
position: LendingPositionWithMarket;
|
|
1156
1155
|
netSupplyRate: number;
|
|
1157
1156
|
totalSupplyRate: number;
|
|
1158
1157
|
id: string;
|
|
@@ -1167,9 +1166,9 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1167
1166
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1168
1167
|
rate: number;
|
|
1169
1168
|
}[];
|
|
1169
|
+
position: LendingPositionWithMarket;
|
|
1170
1170
|
}[];
|
|
1171
1171
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
1172
|
-
position: LendingPositionWithMarket;
|
|
1173
1172
|
netSupplyRate: number;
|
|
1174
1173
|
totalSupplyRate: number;
|
|
1175
1174
|
id: string;
|
|
@@ -1184,13 +1183,13 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1184
1183
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1185
1184
|
rate: number;
|
|
1186
1185
|
}[];
|
|
1186
|
+
position: LendingPositionWithMarket;
|
|
1187
1187
|
}[]) & {
|
|
1188
1188
|
clearCache: () => void;
|
|
1189
1189
|
resultsCount: () => number;
|
|
1190
1190
|
resetResultsCount: () => void;
|
|
1191
1191
|
};
|
|
1192
1192
|
lastResult: () => {
|
|
1193
|
-
position: LendingPositionWithMarket;
|
|
1194
1193
|
netSupplyRate: number;
|
|
1195
1194
|
totalSupplyRate: number;
|
|
1196
1195
|
id: string;
|
|
@@ -1205,6 +1204,7 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1205
1204
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1206
1205
|
rate: number;
|
|
1207
1206
|
}[];
|
|
1207
|
+
position: LendingPositionWithMarket;
|
|
1208
1208
|
}[];
|
|
1209
1209
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
1210
1210
|
clearCache: () => void;
|
|
@@ -1230,7 +1230,7 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1230
1230
|
resetResultsCount: () => void;
|
|
1231
1231
|
};
|
|
1232
1232
|
lastResult: () => LendingPositionWithMarket[];
|
|
1233
|
-
dependencies: [
|
|
1233
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
1234
1234
|
clearCache: () => void;
|
|
1235
1235
|
resultsCount: () => number;
|
|
1236
1236
|
resetResultsCount: () => void;
|
|
@@ -1242,46 +1242,46 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
|
|
|
1242
1242
|
resetResultsCount: () => void;
|
|
1243
1243
|
};
|
|
1244
1244
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
1245
|
-
dependencies: [
|
|
1245
|
+
dependencies: [typeof selectLendingMarkets];
|
|
1246
1246
|
recomputations: () => number;
|
|
1247
1247
|
resetRecomputations: () => void;
|
|
1248
1248
|
dependencyRecomputations: () => number;
|
|
1249
1249
|
resetDependencyRecomputations: () => void;
|
|
1250
1250
|
} & {
|
|
1251
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1252
1251
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1252
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1253
1253
|
}];
|
|
1254
1254
|
recomputations: () => number;
|
|
1255
1255
|
resetRecomputations: () => void;
|
|
1256
1256
|
dependencyRecomputations: () => number;
|
|
1257
1257
|
resetDependencyRecomputations: () => void;
|
|
1258
1258
|
} & {
|
|
1259
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1260
1259
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1260
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1261
1261
|
}];
|
|
1262
1262
|
recomputations: () => number;
|
|
1263
1263
|
resetRecomputations: () => void;
|
|
1264
1264
|
dependencyRecomputations: () => number;
|
|
1265
1265
|
resetDependencyRecomputations: () => void;
|
|
1266
1266
|
} & {
|
|
1267
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1268
1267
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1269
|
-
|
|
1268
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1269
|
+
}, typeof selectLendingMarkets];
|
|
1270
1270
|
recomputations: () => number;
|
|
1271
1271
|
resetRecomputations: () => void;
|
|
1272
1272
|
dependencyRecomputations: () => number;
|
|
1273
1273
|
resetDependencyRecomputations: () => void;
|
|
1274
1274
|
} & {
|
|
1275
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1276
1275
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1276
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1277
1277
|
}];
|
|
1278
1278
|
recomputations: () => number;
|
|
1279
1279
|
resetRecomputations: () => void;
|
|
1280
1280
|
dependencyRecomputations: () => number;
|
|
1281
1281
|
resetDependencyRecomputations: () => void;
|
|
1282
1282
|
} & {
|
|
1283
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1284
1283
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1284
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1285
1285
|
};
|
|
1286
1286
|
export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: EarnControllerState) => Record<string, Record<string, LendingMarketWithPosition[]>>) & {
|
|
1287
1287
|
clearCache: () => void;
|
|
@@ -1289,7 +1289,6 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1289
1289
|
resetResultsCount: () => void;
|
|
1290
1290
|
} & {
|
|
1291
1291
|
resultFunc: (resultFuncArgs_0: {
|
|
1292
|
-
position: LendingPositionWithMarket;
|
|
1293
1292
|
netSupplyRate: number;
|
|
1294
1293
|
totalSupplyRate: number;
|
|
1295
1294
|
id: string;
|
|
@@ -1304,9 +1303,9 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1304
1303
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1305
1304
|
rate: number;
|
|
1306
1305
|
}[];
|
|
1306
|
+
position: LendingPositionWithMarket;
|
|
1307
1307
|
}[]) => Record<string, Record<string, LendingMarketWithPosition[]>>;
|
|
1308
1308
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
1309
|
-
position: LendingPositionWithMarket;
|
|
1310
1309
|
netSupplyRate: number;
|
|
1311
1310
|
totalSupplyRate: number;
|
|
1312
1311
|
id: string;
|
|
@@ -1321,6 +1320,7 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1321
1320
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1322
1321
|
rate: number;
|
|
1323
1322
|
}[];
|
|
1323
|
+
position: LendingPositionWithMarket;
|
|
1324
1324
|
}[]) => Record<string, Record<string, LendingMarketWithPosition[]>>) & {
|
|
1325
1325
|
clearCache: () => void;
|
|
1326
1326
|
resultsCount: () => number;
|
|
@@ -1328,7 +1328,6 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1328
1328
|
};
|
|
1329
1329
|
lastResult: () => Record<string, Record<string, LendingMarketWithPosition[]>>;
|
|
1330
1330
|
dependencies: [((state: EarnControllerState) => {
|
|
1331
|
-
position: LendingPositionWithMarket;
|
|
1332
1331
|
netSupplyRate: number;
|
|
1333
1332
|
totalSupplyRate: number;
|
|
1334
1333
|
id: string;
|
|
@@ -1343,13 +1342,13 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1343
1342
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1344
1343
|
rate: number;
|
|
1345
1344
|
}[];
|
|
1345
|
+
position: LendingPositionWithMarket;
|
|
1346
1346
|
}[]) & {
|
|
1347
1347
|
clearCache: () => void;
|
|
1348
1348
|
resultsCount: () => number;
|
|
1349
1349
|
resetResultsCount: () => void;
|
|
1350
1350
|
} & {
|
|
1351
1351
|
resultFunc: (resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
1352
|
-
position: LendingPositionWithMarket;
|
|
1353
1352
|
netSupplyRate: number;
|
|
1354
1353
|
totalSupplyRate: number;
|
|
1355
1354
|
id: string;
|
|
@@ -1364,9 +1363,9 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1364
1363
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1365
1364
|
rate: number;
|
|
1366
1365
|
}[];
|
|
1366
|
+
position: LendingPositionWithMarket;
|
|
1367
1367
|
}[];
|
|
1368
1368
|
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, Record<string, LendingPositionWithMarket>>>, resultFuncArgs_1: LendingMarket[]) => {
|
|
1369
|
-
position: LendingPositionWithMarket;
|
|
1370
1369
|
netSupplyRate: number;
|
|
1371
1370
|
totalSupplyRate: number;
|
|
1372
1371
|
id: string;
|
|
@@ -1381,13 +1380,13 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1381
1380
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1382
1381
|
rate: number;
|
|
1383
1382
|
}[];
|
|
1383
|
+
position: LendingPositionWithMarket;
|
|
1384
1384
|
}[]) & {
|
|
1385
1385
|
clearCache: () => void;
|
|
1386
1386
|
resultsCount: () => number;
|
|
1387
1387
|
resetResultsCount: () => void;
|
|
1388
1388
|
};
|
|
1389
1389
|
lastResult: () => {
|
|
1390
|
-
position: LendingPositionWithMarket;
|
|
1391
1390
|
netSupplyRate: number;
|
|
1392
1391
|
totalSupplyRate: number;
|
|
1393
1392
|
id: string;
|
|
@@ -1402,6 +1401,7 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1402
1401
|
token: import("@metamask/stake-sdk").TokenInfo;
|
|
1403
1402
|
rate: number;
|
|
1404
1403
|
}[];
|
|
1404
|
+
position: LendingPositionWithMarket;
|
|
1405
1405
|
}[];
|
|
1406
1406
|
dependencies: [((state: EarnControllerState) => Record<string, Record<string, Record<string, LendingPositionWithMarket>>>) & {
|
|
1407
1407
|
clearCache: () => void;
|
|
@@ -1427,7 +1427,7 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1427
1427
|
resetResultsCount: () => void;
|
|
1428
1428
|
};
|
|
1429
1429
|
lastResult: () => LendingPositionWithMarket[];
|
|
1430
|
-
dependencies: [
|
|
1430
|
+
dependencies: [typeof selectLendingPositions, ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
|
|
1431
1431
|
clearCache: () => void;
|
|
1432
1432
|
resultsCount: () => number;
|
|
1433
1433
|
resetResultsCount: () => void;
|
|
@@ -1439,46 +1439,46 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
|
|
|
1439
1439
|
resetResultsCount: () => void;
|
|
1440
1440
|
};
|
|
1441
1441
|
lastResult: () => Record<string, Record<string, LendingMarket>>;
|
|
1442
|
-
dependencies: [
|
|
1442
|
+
dependencies: [typeof selectLendingMarkets];
|
|
1443
1443
|
recomputations: () => number;
|
|
1444
1444
|
resetRecomputations: () => void;
|
|
1445
1445
|
dependencyRecomputations: () => number;
|
|
1446
1446
|
resetDependencyRecomputations: () => void;
|
|
1447
1447
|
} & {
|
|
1448
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1449
1448
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1449
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1450
1450
|
}];
|
|
1451
1451
|
recomputations: () => number;
|
|
1452
1452
|
resetRecomputations: () => void;
|
|
1453
1453
|
dependencyRecomputations: () => number;
|
|
1454
1454
|
resetDependencyRecomputations: () => void;
|
|
1455
1455
|
} & {
|
|
1456
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1457
1456
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1457
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1458
1458
|
}];
|
|
1459
1459
|
recomputations: () => number;
|
|
1460
1460
|
resetRecomputations: () => void;
|
|
1461
1461
|
dependencyRecomputations: () => number;
|
|
1462
1462
|
resetDependencyRecomputations: () => void;
|
|
1463
1463
|
} & {
|
|
1464
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1465
1464
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1466
|
-
|
|
1465
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1466
|
+
}, typeof selectLendingMarkets];
|
|
1467
1467
|
recomputations: () => number;
|
|
1468
1468
|
resetRecomputations: () => void;
|
|
1469
1469
|
dependencyRecomputations: () => number;
|
|
1470
1470
|
resetDependencyRecomputations: () => void;
|
|
1471
1471
|
} & {
|
|
1472
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1473
1472
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1473
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1474
1474
|
}];
|
|
1475
1475
|
recomputations: () => number;
|
|
1476
1476
|
resetRecomputations: () => void;
|
|
1477
1477
|
dependencyRecomputations: () => number;
|
|
1478
1478
|
resetDependencyRecomputations: () => void;
|
|
1479
1479
|
} & {
|
|
1480
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1481
1480
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1481
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1482
1482
|
};
|
|
1483
1483
|
export declare const selectIsLendingEligible: (state: EarnControllerState) => boolean;
|
|
1484
1484
|
/**
|
|
@@ -1499,20 +1499,20 @@ export declare const selectTronStakingApy: ((state: EarnControllerState) => stri
|
|
|
1499
1499
|
resultsCount: () => number;
|
|
1500
1500
|
resetResultsCount: () => void;
|
|
1501
1501
|
} & {
|
|
1502
|
-
resultFunc: (resultFuncArgs_0: import("./EarnController.
|
|
1503
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.
|
|
1502
|
+
resultFunc: (resultFuncArgs_0: import("./EarnController.js").TronStakingState) => string | undefined;
|
|
1503
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.js").TronStakingState) => string | undefined) & {
|
|
1504
1504
|
clearCache: () => void;
|
|
1505
1505
|
resultsCount: () => number;
|
|
1506
1506
|
resetResultsCount: () => void;
|
|
1507
1507
|
};
|
|
1508
1508
|
lastResult: () => string | undefined;
|
|
1509
|
-
dependencies: [
|
|
1509
|
+
dependencies: [typeof selectTronStaking];
|
|
1510
1510
|
recomputations: () => number;
|
|
1511
1511
|
resetRecomputations: () => void;
|
|
1512
1512
|
dependencyRecomputations: () => number;
|
|
1513
1513
|
resetDependencyRecomputations: () => void;
|
|
1514
1514
|
} & {
|
|
1515
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1516
1515
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
1516
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
1517
1517
|
};
|
|
1518
|
-
//# sourceMappingURL=selectors.d.
|
|
1518
|
+
//# sourceMappingURL=selectors.d.ts.map
|