@gearbox-protocol/sdk 14.5.0 → 14.5.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.
|
@@ -74,7 +74,7 @@ const chains = {
|
|
|
74
74
|
"0x3b56538833fc02f4f0e75609390f26ded0c32e42": "Re7",
|
|
75
75
|
"0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
|
|
76
76
|
"0x09d8305F49374AEA6A78aF6C996df2913e8f3b19": "Tulipa",
|
|
77
|
-
"0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "
|
|
77
|
+
"0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "KPK",
|
|
78
78
|
"0x9dddd1b9ce0ac8aa0c80e4ec141600b9bf0101c3": "UltraYield",
|
|
79
79
|
"0x601067eba24bb5b558a184fc082525637e96a42d": "Gami Labs"
|
|
80
80
|
},
|
|
@@ -60,7 +60,7 @@ const chains = {
|
|
|
60
60
|
"0x3b56538833fc02f4f0e75609390f26ded0c32e42": "Re7",
|
|
61
61
|
"0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
|
|
62
62
|
"0x09d8305F49374AEA6A78aF6C996df2913e8f3b19": "Tulipa",
|
|
63
|
-
"0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "
|
|
63
|
+
"0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "KPK",
|
|
64
64
|
"0x9dddd1b9ce0ac8aa0c80e4ec141600b9bf0101c3": "UltraYield",
|
|
65
65
|
"0x601067eba24bb5b558a184fc082525637e96a42d": "Gami Labs"
|
|
66
66
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Address } from "viem";
|
|
2
2
|
import type { PartialRecord } from "../../sdk/index.js";
|
|
3
3
|
export type TokenTypeStrategy = "eth" | "s" | "btc" | "stable" | "wbnb" | "wxtz" | "bfBTC" | "mon";
|
|
4
|
+
export type StrategyMarketType = "common" | "rwa";
|
|
4
5
|
export interface StrategyConfigPayload {
|
|
5
6
|
name: string;
|
|
6
7
|
/**
|
|
@@ -24,6 +25,10 @@ export interface StrategyConfigPayload {
|
|
|
24
25
|
* Strategy type. Used for filtering
|
|
25
26
|
*/
|
|
26
27
|
strategyType: [TokenTypeStrategy];
|
|
28
|
+
/**
|
|
29
|
+
* Strategy market type. Used for filtering
|
|
30
|
+
*/
|
|
31
|
+
strategyMarketType?: [StrategyMarketType];
|
|
27
32
|
/**
|
|
28
33
|
* undefined - released;
|
|
29
34
|
* number - one value for the current chain.
|
|
@@ -35,7 +40,7 @@ export interface StrategyConfigPayload {
|
|
|
35
40
|
* undefined, false = no.
|
|
36
41
|
*/
|
|
37
42
|
hideInProd?: boolean;
|
|
38
|
-
/** An option to show strategies in main app
|
|
43
|
+
/** An option to show strategies in main app (app.gearbox.fi).
|
|
39
44
|
* undefined, true = yes; false = no.
|
|
40
45
|
*/
|
|
41
46
|
showInMainApp?: boolean;
|
|
@@ -4,7 +4,7 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Known curator names that manage Gearbox markets.
|
|
5
5
|
*
|
|
6
6
|
**/
|
|
7
|
-
export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group" | "Tulipa" | "M11 Credit" | "
|
|
7
|
+
export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group" | "Tulipa" | "M11 Credit" | "KPK" | "Hyperithm" | "UltraYield" | "TelosC" | "Gami Labs" | "Securitize";
|
|
8
8
|
/**
|
|
9
9
|
* Extended viem {@link Chain} with Gearbox-specific metadata.
|
|
10
10
|
*
|