@gearbox-protocol/sdk 14.7.0-next.1 → 14.7.0-next.2
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.
|
@@ -9,8 +9,8 @@ export interface GetStrategyPointsProps {
|
|
|
9
9
|
export declare function getStrategyPoints({ strategy, info, strategyCreditManagers, apyListByNetwork, }: GetStrategyPointsProps): {
|
|
10
10
|
pointsInfo: import("../types.js").LocalPointsInfo | undefined;
|
|
11
11
|
pointsInfoDebt: import("../types.js").LocalPointsInfo | undefined;
|
|
12
|
-
rewards: import("
|
|
13
|
-
debtRewards: import("
|
|
12
|
+
rewards: import("../../../../rewards/index.js").PointsReward<string>[];
|
|
13
|
+
debtRewards: import("../../../../rewards/index.js").DebtReward<string>[];
|
|
14
14
|
rewardRates: (bigint | "soon")[];
|
|
15
15
|
debtRewardRates: (bigint | "soon")[];
|
|
16
16
|
};
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import type { Address } from "viem";
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type: string;
|
|
7
|
-
multiplier: PointsMultiplier;
|
|
8
|
-
}
|
|
9
|
-
export interface LocalDebtReward extends LocalPointsReward {
|
|
10
|
-
cm: Address | "any";
|
|
11
|
-
}
|
|
12
|
-
export interface LocalPointsInfo {
|
|
13
|
-
symbol: string;
|
|
14
|
-
address: Address;
|
|
15
|
-
rewards?: Array<LocalPointsReward> | undefined;
|
|
16
|
-
debtRewards?: Array<LocalDebtReward> | undefined;
|
|
17
|
-
}
|
|
2
|
+
import type { DebtReward, PointsInfo, PointsReward } from "../../../../rewards/index.js";
|
|
3
|
+
export type LocalPointsReward = PointsReward<string>;
|
|
4
|
+
export type LocalDebtReward = DebtReward<string>;
|
|
5
|
+
export type LocalPointsInfo = PointsInfo<string>;
|
|
18
6
|
export type PointsList = Record<Address, LocalPointsInfo>;
|
|
19
7
|
export type BasePointsList = Record<Address, LocalPointsInfo>;
|
|
20
8
|
export type ExtraCollateralPointsList = Record<Address, Record<Address, LocalPointsInfo>>;
|