@gearbox-protocol/sdk 3.0.0-next.238 → 3.0.0-next.239
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/lib/core/strategy.d.ts +2 -1
- package/lib/core/strategy.js +4 -2
- package/package.json +1 -1
package/lib/core/strategy.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ interface CalculateMaxAPYProps {
|
|
|
18
18
|
}
|
|
19
19
|
export declare class Strategy {
|
|
20
20
|
readonly name: string;
|
|
21
|
-
readonly
|
|
21
|
+
readonly id: AllLPTokens;
|
|
22
|
+
readonly tokenOut: AllLPTokens;
|
|
22
23
|
readonly protocolSymbol: string;
|
|
23
24
|
readonly releaseAt: ReleaseAt;
|
|
24
25
|
readonly collateralTokens: Array<SupportedToken>;
|
package/lib/core/strategy.js
CHANGED
|
@@ -4,13 +4,15 @@ exports.Strategy = void 0;
|
|
|
4
4
|
const sdk_gov_1 = require("@gearbox-protocol/sdk-gov");
|
|
5
5
|
class Strategy {
|
|
6
6
|
name;
|
|
7
|
-
|
|
7
|
+
id;
|
|
8
|
+
tokenOut;
|
|
8
9
|
protocolSymbol;
|
|
9
10
|
releaseAt;
|
|
10
11
|
collateralTokens;
|
|
11
12
|
constructor(payload) {
|
|
12
13
|
this.name = payload.name;
|
|
13
|
-
this.
|
|
14
|
+
this.id = payload.lpTokenSymbol;
|
|
15
|
+
this.tokenOut = payload.lpTokenSymbol;
|
|
14
16
|
this.protocolSymbol = payload.protocolSymbol;
|
|
15
17
|
this.collateralTokens = payload.collateralTokens;
|
|
16
18
|
this.releaseAt = payload.releaseAt;
|