Skip to content

Commit 9272469

Browse files
committed
feat: updated earn-controller method action types
1 parent fbcf8b6 commit 9272469

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

packages/earn-controller/src/EarnController-method-action-types.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,6 @@ export type EarnControllerRefreshLendingPositionsAction = {
116116
handler: EarnController['refreshLendingPositions'];
117117
};
118118

119-
/**
120-
* Refreshes the lending eligibility status for the current account.
121-
* Updates the eligibility status in the controller state based on the location and address blocklist for compliance.
122-
*
123-
* @param options - Optional arguments
124-
* @param [options.address] - The address to refresh lending eligibility for (optional).
125-
* @returns A promise that resolves when the eligibility status has been updated
126-
*/
127-
export type EarnControllerRefreshLendingEligibilityAction = {
128-
type: `EarnController:refreshLendingEligibility`;
129-
handler: EarnController['refreshLendingEligibility'];
130-
};
131-
132119
/**
133120
* Refreshes all lending related data including markets, positions, and eligibility.
134121
* This method allows partial success, meaning some data may update while other requests fail.
@@ -302,7 +289,6 @@ export type EarnControllerMethodActions =
302289
| EarnControllerRefreshPooledStakingDataAction
303290
| EarnControllerRefreshLendingMarketsAction
304291
| EarnControllerRefreshLendingPositionsAction
305-
| EarnControllerRefreshLendingEligibilityAction
306292
| EarnControllerRefreshLendingDataAction
307293
| EarnControllerRefreshTronStakingApyAction
308294
| EarnControllerGetTronStakingApyAction

packages/earn-controller/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export type {
2929
EarnControllerRefreshPooledStakingDataAction,
3030
EarnControllerRefreshLendingMarketsAction,
3131
EarnControllerRefreshLendingPositionsAction,
32-
EarnControllerRefreshLendingEligibilityAction,
3332
EarnControllerRefreshLendingDataAction,
3433
EarnControllerRefreshTronStakingApyAction,
3534
EarnControllerGetTronStakingApyAction,

0 commit comments

Comments
 (0)