@metamask-previews/earn-controller 11.0.0-preview-42084fe4 → 11.0.0-preview-e69ede40

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.
@@ -1,7 +1,7 @@
1
1
  import type { LendingMarket } from "@metamask/stake-sdk";
2
- import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket } from "./EarnController.cjs";
2
+ import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket, LendingPositionWithMarketReference } from "./EarnController.cjs";
3
3
  export declare const selectLendingMarkets: (state: EarnControllerState) => LendingMarket[];
4
- export declare const selectLendingPositions: (state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[];
4
+ export declare const selectLendingPositions: (state: EarnControllerState) => LendingPositionWithMarketReference[];
5
5
  export declare const selectLendingMarketsForChainId: (chainId: number) => ((state: EarnControllerState) => LendingMarket[]) & {
6
6
  clearCache: () => void;
7
7
  resultsCount: () => number;
@@ -44,18 +44,18 @@ export declare const selectLendingMarketsByProtocolAndId: ((state: EarnControlle
44
44
  argsMemoize: typeof import("reselect").weakMapMemoize;
45
45
  memoize: typeof import("reselect").weakMapMemoize;
46
46
  };
47
- export declare const selectLendingMarketForProtocolAndId: (protocol: string, id: string) => ((state: EarnControllerState) => LendingMarket) & {
47
+ export declare const selectLendingMarketForProtocolAndId: (protocol: string, id: string) => ((state: EarnControllerState) => LendingMarket | undefined) & {
48
48
  clearCache: () => void;
49
49
  resultsCount: () => number;
50
50
  resetResultsCount: () => void;
51
51
  } & {
52
- resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket;
53
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket) & {
52
+ resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket | undefined;
53
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket | undefined) & {
54
54
  clearCache: () => void;
55
55
  resultsCount: () => number;
56
56
  resetResultsCount: () => void;
57
57
  };
58
- lastResult: () => LendingMarket;
58
+ lastResult: () => LendingMarket | undefined;
59
59
  dependencies: [((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
60
60
  clearCache: () => void;
61
61
  resultsCount: () => number;
@@ -111,14 +111,14 @@ export declare const selectLendingPositionsWithMarket: ((state: EarnControllerSt
111
111
  resultsCount: () => number;
112
112
  resetResultsCount: () => void;
113
113
  } & {
114
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
115
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
114
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
115
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
116
116
  clearCache: () => void;
117
117
  resultsCount: () => number;
118
118
  resetResultsCount: () => void;
119
119
  };
120
120
  lastResult: () => LendingPositionWithMarket[];
121
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
121
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
122
122
  clearCache: () => void;
123
123
  resultsCount: () => number;
124
124
  resetResultsCount: () => void;
@@ -164,14 +164,14 @@ export declare const selectLendingPositionsByChainId: ((state: EarnControllerSta
164
164
  resultsCount: () => number;
165
165
  resetResultsCount: () => void;
166
166
  } & {
167
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
168
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
167
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
168
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
169
169
  clearCache: () => void;
170
170
  resultsCount: () => number;
171
171
  resetResultsCount: () => void;
172
172
  };
173
173
  lastResult: () => LendingPositionWithMarket[];
174
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
174
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
175
175
  clearCache: () => void;
176
176
  resultsCount: () => number;
177
177
  resetResultsCount: () => void;
@@ -225,14 +225,14 @@ export declare const selectLendingPositionsByProtocolChainIdMarketId: ((state: E
225
225
  resultsCount: () => number;
226
226
  resetResultsCount: () => void;
227
227
  } & {
228
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
229
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
228
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
229
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
230
230
  clearCache: () => void;
231
231
  resultsCount: () => number;
232
232
  resetResultsCount: () => void;
233
233
  };
234
234
  lastResult: () => LendingPositionWithMarket[];
235
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
235
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
236
236
  clearCache: () => void;
237
237
  resultsCount: () => number;
238
238
  resetResultsCount: () => void;
@@ -362,14 +362,14 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
362
362
  resultsCount: () => number;
363
363
  resetResultsCount: () => void;
364
364
  } & {
365
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
366
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
365
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
366
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
367
367
  clearCache: () => void;
368
368
  resultsCount: () => number;
369
369
  resetResultsCount: () => void;
370
370
  };
371
371
  lastResult: () => LendingPositionWithMarket[];
372
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
372
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
373
373
  clearCache: () => void;
374
374
  resultsCount: () => number;
375
375
  resetResultsCount: () => void;
@@ -551,14 +551,14 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
551
551
  resultsCount: () => number;
552
552
  resetResultsCount: () => void;
553
553
  } & {
554
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
555
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
554
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
555
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
556
556
  clearCache: () => void;
557
557
  resultsCount: () => number;
558
558
  resetResultsCount: () => void;
559
559
  };
560
560
  lastResult: () => LendingPositionWithMarket[];
561
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
561
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
562
562
  clearCache: () => void;
563
563
  resultsCount: () => number;
564
564
  resetResultsCount: () => void;
@@ -628,14 +628,14 @@ export declare const selectLendingPositionsByProtocol: ((state: EarnControllerSt
628
628
  resultsCount: () => number;
629
629
  resetResultsCount: () => void;
630
630
  } & {
631
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
632
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
631
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
632
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
633
633
  clearCache: () => void;
634
634
  resultsCount: () => number;
635
635
  resetResultsCount: () => void;
636
636
  };
637
637
  lastResult: () => LendingPositionWithMarket[];
638
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
638
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
639
639
  clearCache: () => void;
640
640
  resultsCount: () => number;
641
641
  resetResultsCount: () => void;
@@ -809,14 +809,14 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
809
809
  resultsCount: () => number;
810
810
  resetResultsCount: () => void;
811
811
  } & {
812
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
813
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
812
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
813
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
814
814
  clearCache: () => void;
815
815
  resultsCount: () => number;
816
816
  resetResultsCount: () => void;
817
817
  };
818
818
  lastResult: () => LendingPositionWithMarket[];
819
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
819
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
820
820
  clearCache: () => void;
821
821
  resultsCount: () => number;
822
822
  resetResultsCount: () => void;
@@ -869,18 +869,18 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
869
869
  argsMemoize: typeof import("reselect").weakMapMemoize;
870
870
  memoize: typeof import("reselect").weakMapMemoize;
871
871
  };
872
- export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: string, tokenAddress: string) => ((state: EarnControllerState) => LendingMarketWithPosition) & {
872
+ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: string, tokenAddress: string) => ((state: EarnControllerState) => LendingMarketWithPosition | undefined) & {
873
873
  clearCache: () => void;
874
874
  resultsCount: () => number;
875
875
  resetResultsCount: () => void;
876
876
  } & {
877
- resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition;
878
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition) & {
877
+ resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition | undefined;
878
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition | undefined) & {
879
879
  clearCache: () => void;
880
880
  resultsCount: () => number;
881
881
  resetResultsCount: () => void;
882
882
  };
883
- lastResult: () => LendingMarketWithPosition;
883
+ lastResult: () => LendingMarketWithPosition | undefined;
884
884
  dependencies: [((state: EarnControllerState) => Record<string, Record<string, LendingMarketWithPosition>>) & {
885
885
  clearCache: () => void;
886
886
  resultsCount: () => number;
@@ -1018,14 +1018,14 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
1018
1018
  resultsCount: () => number;
1019
1019
  resetResultsCount: () => void;
1020
1020
  } & {
1021
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1022
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1021
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1022
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1023
1023
  clearCache: () => void;
1024
1024
  resultsCount: () => number;
1025
1025
  resetResultsCount: () => void;
1026
1026
  };
1027
1027
  lastResult: () => LendingPositionWithMarket[];
1028
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1028
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1029
1029
  clearCache: () => void;
1030
1030
  resultsCount: () => number;
1031
1031
  resetResultsCount: () => void;
@@ -1223,14 +1223,14 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
1223
1223
  resultsCount: () => number;
1224
1224
  resetResultsCount: () => void;
1225
1225
  } & {
1226
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1227
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1226
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1227
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1228
1228
  clearCache: () => void;
1229
1229
  resultsCount: () => number;
1230
1230
  resetResultsCount: () => void;
1231
1231
  };
1232
1232
  lastResult: () => LendingPositionWithMarket[];
1233
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1233
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1234
1234
  clearCache: () => void;
1235
1235
  resultsCount: () => number;
1236
1236
  resetResultsCount: () => void;
@@ -1420,14 +1420,14 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
1420
1420
  resultsCount: () => number;
1421
1421
  resetResultsCount: () => void;
1422
1422
  } & {
1423
- resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1424
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1423
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1424
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1425
1425
  clearCache: () => void;
1426
1426
  resultsCount: () => number;
1427
1427
  resetResultsCount: () => void;
1428
1428
  };
1429
1429
  lastResult: () => LendingPositionWithMarket[];
1430
- dependencies: [(state: EarnControllerState) => import("./EarnController.cjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1430
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1431
1431
  clearCache: () => void;
1432
1432
  resultsCount: () => number;
1433
1433
  resetResultsCount: () => void;
@@ -1481,4 +1481,38 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
1481
1481
  memoize: typeof import("reselect").weakMapMemoize;
1482
1482
  };
1483
1483
  export declare const selectIsLendingEligible: (state: EarnControllerState) => boolean;
1484
+ /**
1485
+ * Selects the TRON staking state.
1486
+ *
1487
+ * @param state - The EarnController state.
1488
+ * @returns The TRON staking state.
1489
+ */
1490
+ export declare const selectTronStaking: (state: EarnControllerState) => EarnControllerState['tron_staking'];
1491
+ /**
1492
+ * Selects the APY for TRON staking.
1493
+ *
1494
+ * @param state - The EarnController state.
1495
+ * @returns The APY for TRON staking, or undefined if not available.
1496
+ */
1497
+ export declare const selectTronStakingApy: ((state: EarnControllerState) => string | undefined) & {
1498
+ clearCache: () => void;
1499
+ resultsCount: () => number;
1500
+ resetResultsCount: () => void;
1501
+ } & {
1502
+ resultFunc: (resultFuncArgs_0: import("./EarnController.cjs").TronStakingState) => string | undefined;
1503
+ memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.cjs").TronStakingState) => string | undefined) & {
1504
+ clearCache: () => void;
1505
+ resultsCount: () => number;
1506
+ resetResultsCount: () => void;
1507
+ };
1508
+ lastResult: () => string | undefined;
1509
+ dependencies: [(state: EarnControllerState) => EarnControllerState['tron_staking']];
1510
+ recomputations: () => number;
1511
+ resetRecomputations: () => void;
1512
+ dependencyRecomputations: () => number;
1513
+ resetDependencyRecomputations: () => void;
1514
+ } & {
1515
+ argsMemoize: typeof import("reselect").weakMapMemoize;
1516
+ memoize: typeof import("reselect").weakMapMemoize;
1517
+ };
1484
1518
  //# sourceMappingURL=selectors.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.cts","sourceRoot":"","sources":["../src/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,4BAA4B;AAGzD,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,yBAAyB,EAC1B,6BAAyB;AAE1B,eAAO,MAAM,oBAAoB,UAAW,mBAAmB,oBACxC,CAAC;AAExB,eAAO,MAAM,sBAAsB,UAAW,mBAAmB,oEACxC,CAAC;AAE1B,eAAO,MAAM,8BAA8B,YAAa,MAAM;;;;;;;;;;;;2BANlB,mBAAmB;;;;;;;;CAS5D,CAAC;AAEJ,eAAO,MAAM,mCAAmC;;;;;;;;;;;;2BAXJ,mBAAmB;;;;;;;;CAuB9D,CAAC;AAEF,eAAO,MAAM,mCAAmC,aACpC,MAAM,MACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;+BA3BgC,mBAAmB;;;;;;;;;;;;;;;;CAgC5D,CAAC;AAEJ,eAAO,MAAM,6BAA6B;;;;;;;;;;;;2BAlCE,mBAAmB;;;;;;;;CA2C9D,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;2BA1CC,mBAAmB;;;;;;;;;;;;+BAHrB,mBAAmB;;;;;;;;;;;;;;;;CAyD9D,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;+BAxDE,mBAAmB;;;;;;;;;;;;mCAHrB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;CAyE9D,CAAC;AAEF,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;+BAxEd,mBAAmB;;;;;;;;;;;;mCAHrB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;CAsF9D,CAAC;AAEF,eAAO,MAAM,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1
1
  import type { LendingMarket } from "@metamask/stake-sdk";
2
- import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket } from "./EarnController.mjs";
2
+ import type { EarnControllerState, LendingMarketWithPosition, LendingPositionWithMarket, LendingPositionWithMarketReference } from "./EarnController.mjs";
3
3
  export declare const selectLendingMarkets: (state: EarnControllerState) => LendingMarket[];
4
- export declare const selectLendingPositions: (state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[];
4
+ export declare const selectLendingPositions: (state: EarnControllerState) => LendingPositionWithMarketReference[];
5
5
  export declare const selectLendingMarketsForChainId: (chainId: number) => ((state: EarnControllerState) => LendingMarket[]) & {
6
6
  clearCache: () => void;
7
7
  resultsCount: () => number;
@@ -44,18 +44,18 @@ export declare const selectLendingMarketsByProtocolAndId: ((state: EarnControlle
44
44
  argsMemoize: typeof import("reselect").weakMapMemoize;
45
45
  memoize: typeof import("reselect").weakMapMemoize;
46
46
  };
47
- export declare const selectLendingMarketForProtocolAndId: (protocol: string, id: string) => ((state: EarnControllerState) => LendingMarket) & {
47
+ export declare const selectLendingMarketForProtocolAndId: (protocol: string, id: string) => ((state: EarnControllerState) => LendingMarket | undefined) & {
48
48
  clearCache: () => void;
49
49
  resultsCount: () => number;
50
50
  resetResultsCount: () => void;
51
51
  } & {
52
- resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket;
53
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket) & {
52
+ resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket | undefined;
53
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarket>>) => LendingMarket | undefined) & {
54
54
  clearCache: () => void;
55
55
  resultsCount: () => number;
56
56
  resetResultsCount: () => void;
57
57
  };
58
- lastResult: () => LendingMarket;
58
+ lastResult: () => LendingMarket | undefined;
59
59
  dependencies: [((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
60
60
  clearCache: () => void;
61
61
  resultsCount: () => number;
@@ -111,14 +111,14 @@ export declare const selectLendingPositionsWithMarket: ((state: EarnControllerSt
111
111
  resultsCount: () => number;
112
112
  resetResultsCount: () => void;
113
113
  } & {
114
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
115
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
114
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
115
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
116
116
  clearCache: () => void;
117
117
  resultsCount: () => number;
118
118
  resetResultsCount: () => void;
119
119
  };
120
120
  lastResult: () => LendingPositionWithMarket[];
121
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
121
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
122
122
  clearCache: () => void;
123
123
  resultsCount: () => number;
124
124
  resetResultsCount: () => void;
@@ -164,14 +164,14 @@ export declare const selectLendingPositionsByChainId: ((state: EarnControllerSta
164
164
  resultsCount: () => number;
165
165
  resetResultsCount: () => void;
166
166
  } & {
167
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
168
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
167
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
168
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
169
169
  clearCache: () => void;
170
170
  resultsCount: () => number;
171
171
  resetResultsCount: () => void;
172
172
  };
173
173
  lastResult: () => LendingPositionWithMarket[];
174
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
174
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
175
175
  clearCache: () => void;
176
176
  resultsCount: () => number;
177
177
  resetResultsCount: () => void;
@@ -225,14 +225,14 @@ export declare const selectLendingPositionsByProtocolChainIdMarketId: ((state: E
225
225
  resultsCount: () => number;
226
226
  resetResultsCount: () => void;
227
227
  } & {
228
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
229
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
228
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
229
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
230
230
  clearCache: () => void;
231
231
  resultsCount: () => number;
232
232
  resetResultsCount: () => void;
233
233
  };
234
234
  lastResult: () => LendingPositionWithMarket[];
235
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
235
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
236
236
  clearCache: () => void;
237
237
  resultsCount: () => number;
238
238
  resetResultsCount: () => void;
@@ -362,14 +362,14 @@ export declare const selectLendingMarketsWithPosition: ((state: EarnControllerSt
362
362
  resultsCount: () => number;
363
363
  resetResultsCount: () => void;
364
364
  } & {
365
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
366
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
365
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
366
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
367
367
  clearCache: () => void;
368
368
  resultsCount: () => number;
369
369
  resetResultsCount: () => void;
370
370
  };
371
371
  lastResult: () => LendingPositionWithMarket[];
372
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
372
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
373
373
  clearCache: () => void;
374
374
  resultsCount: () => number;
375
375
  resetResultsCount: () => void;
@@ -551,14 +551,14 @@ export declare const selectLendingMarketsByTokenAddress: ((state: EarnController
551
551
  resultsCount: () => number;
552
552
  resetResultsCount: () => void;
553
553
  } & {
554
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
555
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
554
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
555
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
556
556
  clearCache: () => void;
557
557
  resultsCount: () => number;
558
558
  resetResultsCount: () => void;
559
559
  };
560
560
  lastResult: () => LendingPositionWithMarket[];
561
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
561
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
562
562
  clearCache: () => void;
563
563
  resultsCount: () => number;
564
564
  resetResultsCount: () => void;
@@ -628,14 +628,14 @@ export declare const selectLendingPositionsByProtocol: ((state: EarnControllerSt
628
628
  resultsCount: () => number;
629
629
  resetResultsCount: () => void;
630
630
  } & {
631
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
632
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
631
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
632
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
633
633
  clearCache: () => void;
634
634
  resultsCount: () => number;
635
635
  resetResultsCount: () => void;
636
636
  };
637
637
  lastResult: () => LendingPositionWithMarket[];
638
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
638
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
639
639
  clearCache: () => void;
640
640
  resultsCount: () => number;
641
641
  resetResultsCount: () => void;
@@ -809,14 +809,14 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
809
809
  resultsCount: () => number;
810
810
  resetResultsCount: () => void;
811
811
  } & {
812
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
813
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
812
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
813
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
814
814
  clearCache: () => void;
815
815
  resultsCount: () => number;
816
816
  resetResultsCount: () => void;
817
817
  };
818
818
  lastResult: () => LendingPositionWithMarket[];
819
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
819
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
820
820
  clearCache: () => void;
821
821
  resultsCount: () => number;
822
822
  resetResultsCount: () => void;
@@ -869,18 +869,18 @@ export declare const selectLendingMarketByProtocolAndTokenAddress: ((state: Earn
869
869
  argsMemoize: typeof import("reselect").weakMapMemoize;
870
870
  memoize: typeof import("reselect").weakMapMemoize;
871
871
  };
872
- export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: string, tokenAddress: string) => ((state: EarnControllerState) => LendingMarketWithPosition) & {
872
+ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: string, tokenAddress: string) => ((state: EarnControllerState) => LendingMarketWithPosition | undefined) & {
873
873
  clearCache: () => void;
874
874
  resultsCount: () => number;
875
875
  resetResultsCount: () => void;
876
876
  } & {
877
- resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition;
878
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition) & {
877
+ resultFunc: (resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition | undefined;
878
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, Record<string, LendingMarketWithPosition>>) => LendingMarketWithPosition | undefined) & {
879
879
  clearCache: () => void;
880
880
  resultsCount: () => number;
881
881
  resetResultsCount: () => void;
882
882
  };
883
- lastResult: () => LendingMarketWithPosition;
883
+ lastResult: () => LendingMarketWithPosition | undefined;
884
884
  dependencies: [((state: EarnControllerState) => Record<string, Record<string, LendingMarketWithPosition>>) & {
885
885
  clearCache: () => void;
886
886
  resultsCount: () => number;
@@ -1018,14 +1018,14 @@ export declare const selectLendingMarketForProtocolAndTokenAddress: (protocol: s
1018
1018
  resultsCount: () => number;
1019
1019
  resetResultsCount: () => void;
1020
1020
  } & {
1021
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1022
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1021
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1022
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1023
1023
  clearCache: () => void;
1024
1024
  resultsCount: () => number;
1025
1025
  resetResultsCount: () => void;
1026
1026
  };
1027
1027
  lastResult: () => LendingPositionWithMarket[];
1028
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1028
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1029
1029
  clearCache: () => void;
1030
1030
  resultsCount: () => number;
1031
1031
  resetResultsCount: () => void;
@@ -1223,14 +1223,14 @@ export declare const selectLendingMarketsByChainIdAndOutputTokenAddress: ((state
1223
1223
  resultsCount: () => number;
1224
1224
  resetResultsCount: () => void;
1225
1225
  } & {
1226
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1227
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1226
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1227
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1228
1228
  clearCache: () => void;
1229
1229
  resultsCount: () => number;
1230
1230
  resetResultsCount: () => void;
1231
1231
  };
1232
1232
  lastResult: () => LendingPositionWithMarket[];
1233
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1233
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1234
1234
  clearCache: () => void;
1235
1235
  resultsCount: () => number;
1236
1236
  resetResultsCount: () => void;
@@ -1420,14 +1420,14 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
1420
1420
  resultsCount: () => number;
1421
1421
  resetResultsCount: () => void;
1422
1422
  } & {
1423
- resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1424
- memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1423
+ resultFunc: (resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[];
1424
+ memoizedResultFunc: ((resultFuncArgs_0: LendingPositionWithMarketReference[], resultFuncArgs_1: Record<string, Record<string, LendingMarket>>) => LendingPositionWithMarket[]) & {
1425
1425
  clearCache: () => void;
1426
1426
  resultsCount: () => number;
1427
1427
  resetResultsCount: () => void;
1428
1428
  };
1429
1429
  lastResult: () => LendingPositionWithMarket[];
1430
- dependencies: [(state: EarnControllerState) => import("./EarnController.mjs").LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1430
+ dependencies: [(state: EarnControllerState) => LendingPositionWithMarketReference[], ((state: EarnControllerState) => Record<string, Record<string, LendingMarket>>) & {
1431
1431
  clearCache: () => void;
1432
1432
  resultsCount: () => number;
1433
1433
  resetResultsCount: () => void;
@@ -1481,4 +1481,38 @@ export declare const selectLendingMarketsByChainIdAndTokenAddress: ((state: Earn
1481
1481
  memoize: typeof import("reselect").weakMapMemoize;
1482
1482
  };
1483
1483
  export declare const selectIsLendingEligible: (state: EarnControllerState) => boolean;
1484
+ /**
1485
+ * Selects the TRON staking state.
1486
+ *
1487
+ * @param state - The EarnController state.
1488
+ * @returns The TRON staking state.
1489
+ */
1490
+ export declare const selectTronStaking: (state: EarnControllerState) => EarnControllerState['tron_staking'];
1491
+ /**
1492
+ * Selects the APY for TRON staking.
1493
+ *
1494
+ * @param state - The EarnController state.
1495
+ * @returns The APY for TRON staking, or undefined if not available.
1496
+ */
1497
+ export declare const selectTronStakingApy: ((state: EarnControllerState) => string | undefined) & {
1498
+ clearCache: () => void;
1499
+ resultsCount: () => number;
1500
+ resetResultsCount: () => void;
1501
+ } & {
1502
+ resultFunc: (resultFuncArgs_0: import("./EarnController.mjs").TronStakingState) => string | undefined;
1503
+ memoizedResultFunc: ((resultFuncArgs_0: import("./EarnController.mjs").TronStakingState) => string | undefined) & {
1504
+ clearCache: () => void;
1505
+ resultsCount: () => number;
1506
+ resetResultsCount: () => void;
1507
+ };
1508
+ lastResult: () => string | undefined;
1509
+ dependencies: [(state: EarnControllerState) => EarnControllerState['tron_staking']];
1510
+ recomputations: () => number;
1511
+ resetRecomputations: () => void;
1512
+ dependencyRecomputations: () => number;
1513
+ resetDependencyRecomputations: () => void;
1514
+ } & {
1515
+ argsMemoize: typeof import("reselect").weakMapMemoize;
1516
+ memoize: typeof import("reselect").weakMapMemoize;
1517
+ };
1484
1518
  //# sourceMappingURL=selectors.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.mts","sour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