@gearbox-protocol/sdk 8.11.0 → 8.12.0

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.
@@ -70,6 +70,9 @@ const chains = {
70
70
  "0xc168343c791d56dd1da4b4b8b0cc1c1ec1a16e6b": "cp0x",
71
71
  "0x3b56538833fc02f4f0e75609390f26ded0c32e42": "Re7"
72
72
  },
73
+ testMarketConfigurators: {
74
+ "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group"
75
+ },
73
76
  isPublic: true,
74
77
  wellKnownToken: {
75
78
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -265,7 +268,7 @@ const chains = {
265
268
  network: "Hemi",
266
269
  defaultMarketConfigurators: {},
267
270
  testMarketConfigurators: {
268
- "0xc9961b8a0c763779690577f2c76962c086af2fe3": "Invariant"
271
+ "0xc9961b8a0c763779690577f2c76962c086af2fe3": "Invariant Group"
269
272
  },
270
273
  isPublic: false,
271
274
  wellKnownToken: {
@@ -282,11 +285,10 @@ const chains = {
282
285
  Lisk: (0, import_viem.defineChain)({
283
286
  ...import_chains.lisk,
284
287
  network: "Lisk",
285
- defaultMarketConfigurators: {},
286
- testMarketConfigurators: {
288
+ defaultMarketConfigurators: {
287
289
  "0x25778dbf0e56b7feb8358c4aa2f6f9e19a1c145a": "Re7"
288
290
  },
289
- isPublic: false,
291
+ isPublic: true,
290
292
  wellKnownToken: {
291
293
  address: "0xF242275d3a6527d877f2c927a82D9b057609cc71",
292
294
  symbol: "USDC.e"
@@ -535,6 +535,21 @@ const normalTokens = {
535
535
  name: "bfBTC",
536
536
  symbol: "bfBTC",
537
537
  type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
538
+ },
539
+ sUSDf: {
540
+ name: "sUSDf",
541
+ symbol: "sUSDf",
542
+ type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
543
+ },
544
+ PT_sUSDf_25SEP2025: {
545
+ name: "Pendle PT sUSDf 25 September 2025 expiry",
546
+ symbol: "PT_sUSDf_25SEP2025",
547
+ type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
548
+ },
549
+ stkcvxUSDCUSDf: {
550
+ name: "Convex stkcvxUSDCUSDf",
551
+ symbol: "stkcvxUSDCUSDf",
552
+ type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
538
553
  }
539
554
  };
540
555
  const isNormalToken = (t) => typeof t === "string" && !!normalTokens[t];
@@ -351,7 +351,10 @@ const tokenDataByNetwork = {
351
351
  PT_sUSDX_1SEP2025: import_constants.NOT_DEPLOYED,
352
352
  lskETH: import_constants.NOT_DEPLOYED,
353
353
  hemiBTC: import_constants.NOT_DEPLOYED,
354
- bfBTC: import_constants.NOT_DEPLOYED
354
+ bfBTC: import_constants.NOT_DEPLOYED,
355
+ PT_sUSDf_25SEP2025: "0xAB365C0879024481E4ad3b47bd6FeA9c10014FbC",
356
+ sUSDf: "0xc8CF6D7991f15525488b2A83Df53468D682Ba4B0",
357
+ stkcvxUSDCUSDf: "0xa327D7f665AFE9Ecb0963B5561C84C48C7EC71AB"
355
358
  },
356
359
  ///
357
360
  ///
@@ -40,7 +40,8 @@ const ALIASES = {
40
40
  PT_sUSDe_29MAY2025: "p.sUSDe(29.05.25)",
41
41
  PT_beraSTONE_10APR2025: "p.beraSTONE(10.04.25)",
42
42
  PT_uptBTC_14AUG2025: "p.uptBTC(14.08.25)",
43
- PT_sUSDX_1SEP2025: "p.sUSDX(1.09.25)"
43
+ PT_sUSDX_1SEP2025: "p.sUSDX(1.09.25)",
44
+ PT_sUSDf_25SEP2025: "p.sUSDf(1.09.25)"
44
45
  };
45
46
  class TokenData {
46
47
  address;
@@ -56,6 +56,9 @@ const chains = {
56
56
  "0xc168343c791d56dd1da4b4b8b0cc1c1ec1a16e6b": "cp0x",
57
57
  "0x3b56538833fc02f4f0e75609390f26ded0c32e42": "Re7"
58
58
  },
59
+ testMarketConfigurators: {
60
+ "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group"
61
+ },
59
62
  isPublic: true,
60
63
  wellKnownToken: {
61
64
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -251,7 +254,7 @@ const chains = {
251
254
  network: "Hemi",
252
255
  defaultMarketConfigurators: {},
253
256
  testMarketConfigurators: {
254
- "0xc9961b8a0c763779690577f2c76962c086af2fe3": "Invariant"
257
+ "0xc9961b8a0c763779690577f2c76962c086af2fe3": "Invariant Group"
255
258
  },
256
259
  isPublic: false,
257
260
  wellKnownToken: {
@@ -268,11 +271,10 @@ const chains = {
268
271
  Lisk: defineChain({
269
272
  ...lisk,
270
273
  network: "Lisk",
271
- defaultMarketConfigurators: {},
272
- testMarketConfigurators: {
274
+ defaultMarketConfigurators: {
273
275
  "0x25778dbf0e56b7feb8358c4aa2f6f9e19a1c145a": "Re7"
274
276
  },
275
- isPublic: false,
277
+ isPublic: true,
276
278
  wellKnownToken: {
277
279
  address: "0xF242275d3a6527d877f2c927a82D9b057609cc71",
278
280
  symbol: "USDC.e"
@@ -511,6 +511,21 @@ const normalTokens = {
511
511
  name: "bfBTC",
512
512
  symbol: "bfBTC",
513
513
  type: { AllNetworks: TokenType.NORMAL_TOKEN }
514
+ },
515
+ sUSDf: {
516
+ name: "sUSDf",
517
+ symbol: "sUSDf",
518
+ type: { AllNetworks: TokenType.NORMAL_TOKEN }
519
+ },
520
+ PT_sUSDf_25SEP2025: {
521
+ name: "Pendle PT sUSDf 25 September 2025 expiry",
522
+ symbol: "PT_sUSDf_25SEP2025",
523
+ type: { AllNetworks: TokenType.NORMAL_TOKEN }
524
+ },
525
+ stkcvxUSDCUSDf: {
526
+ name: "Convex stkcvxUSDCUSDf",
527
+ symbol: "stkcvxUSDCUSDf",
528
+ type: { AllNetworks: TokenType.NORMAL_TOKEN }
514
529
  }
515
530
  };
516
531
  const isNormalToken = (t) => typeof t === "string" && !!normalTokens[t];
@@ -324,7 +324,10 @@ const tokenDataByNetwork = {
324
324
  PT_sUSDX_1SEP2025: NOT_DEPLOYED,
325
325
  lskETH: NOT_DEPLOYED,
326
326
  hemiBTC: NOT_DEPLOYED,
327
- bfBTC: NOT_DEPLOYED
327
+ bfBTC: NOT_DEPLOYED,
328
+ PT_sUSDf_25SEP2025: "0xAB365C0879024481E4ad3b47bd6FeA9c10014FbC",
329
+ sUSDf: "0xc8CF6D7991f15525488b2A83Df53468D682Ba4B0",
330
+ stkcvxUSDCUSDf: "0xa327D7f665AFE9Ecb0963B5561C84C48C7EC71AB"
328
331
  },
329
332
  ///
330
333
  ///
@@ -17,7 +17,8 @@ const ALIASES = {
17
17
  PT_sUSDe_29MAY2025: "p.sUSDe(29.05.25)",
18
18
  PT_beraSTONE_10APR2025: "p.beraSTONE(10.04.25)",
19
19
  PT_uptBTC_14AUG2025: "p.uptBTC(14.08.25)",
20
- PT_sUSDX_1SEP2025: "p.sUSDX(1.09.25)"
20
+ PT_sUSDX_1SEP2025: "p.sUSDX(1.09.25)",
21
+ PT_sUSDf_25SEP2025: "p.sUSDf(1.09.25)"
21
22
  };
22
23
  class TokenData {
23
24
  address;
@@ -1,6 +1,6 @@
1
1
  import type { Address, Chain } from "viem";
2
2
  import { z } from "zod/v4";
3
- export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant";
3
+ export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group";
4
4
  export interface GearboxChain extends Chain {
5
5
  network: NetworkType;
6
6
  defaultMarketConfigurators: Record<Address, Curator>;
@@ -1,7 +1,7 @@
1
1
  import type { TokenBase } from "./token.js";
2
2
  import type { TokenNetwork } from "./tokenType.js";
3
3
  import { TokenType } from "./tokenType.js";
4
- export type NormalToken = "1INCH" | "AAVE" | "CRV" | "LINK" | "SNX" | "UNI" | "USDT" | "DOLA" | "USDC" | "USDC_e" | "DAI" | "WETH" | "WBTC" | "tBTC" | "YFI" | "WLD" | "OP" | "STETH" | "CVX" | "FRAX" | "FXS" | "LDO" | "LUSD" | "sUSD" | "GUSD" | "LQTY" | "GMX" | "ARB" | "BAL" | "ARB" | "MKR" | "RPL" | "APE" | "rETH" | "AURA" | "LBTC" | "eBTC" | "solvBTC" | "pumpBTC" | "osETH" | "weETH" | "SWISE" | "ezETH" | "rsETH" | "PENDLE" | "frxETH" | "cbETH" | "rswETH" | "USDe" | "GHO" | "pufETH" | "wstETH" | "USDS" | "SKY" | "beraSTONE" | "wS" | "stS" | "scUSD" | "T" | "tETH" | "USDL" | "wUSDL" | "csUSDL" | "RLUSD" | "MORPHO" | "steakLRT" | "Re7LRT" | "amphrETH" | "rstETH" | "pzETH" | "DVstETH" | "waEthLidowstETH" | "PT_rsETH_26SEP2024" | "PT_sUSDe_26DEC2024" | "PT_eETH_26DEC2024" | "PT_ezETH_26DEC2024" | "PT_eBTC_26DEC2024" | "PT_LBTC_27MAR2025" | "PT_corn_solvBTC_BBN_26DEC2024" | "PT_corn_pumpBTC_26DEC2024" | "PT_cornLBTC_26DEC2024" | "PT_corn_eBTC_27MAR2025" | "PT_sUSDe_27MAR2025" | "PT_sUSDe_29MAY2025" | "PT_beraSTONE_10APR2025" | "PT_sUSDX_1SEP2025" | "rstETH_Lido_wstETH" | "DVstETH_Prime_wstETH" | "SHIB" | "crvUSD" | "WBNB" | "BTCB" | "USD1" | "USDX" | "cp0xLRT" | "uptBTC" | "PT_uptBTC_14AUG2025" | "WXTZ" | "mTBILL" | "mBASIS" | "lskETH" | "hemiBTC" | "bfBTC";
4
+ export type NormalToken = "1INCH" | "AAVE" | "CRV" | "LINK" | "SNX" | "UNI" | "USDT" | "DOLA" | "USDC" | "USDC_e" | "DAI" | "WETH" | "WBTC" | "tBTC" | "YFI" | "WLD" | "OP" | "STETH" | "CVX" | "FRAX" | "FXS" | "LDO" | "LUSD" | "sUSD" | "GUSD" | "LQTY" | "GMX" | "ARB" | "BAL" | "ARB" | "MKR" | "RPL" | "APE" | "rETH" | "AURA" | "LBTC" | "eBTC" | "solvBTC" | "pumpBTC" | "osETH" | "weETH" | "SWISE" | "ezETH" | "rsETH" | "PENDLE" | "frxETH" | "cbETH" | "rswETH" | "USDe" | "GHO" | "pufETH" | "wstETH" | "USDS" | "SKY" | "beraSTONE" | "wS" | "stS" | "scUSD" | "T" | "tETH" | "USDL" | "wUSDL" | "csUSDL" | "RLUSD" | "MORPHO" | "steakLRT" | "Re7LRT" | "amphrETH" | "rstETH" | "pzETH" | "DVstETH" | "waEthLidowstETH" | "PT_rsETH_26SEP2024" | "PT_sUSDe_26DEC2024" | "PT_eETH_26DEC2024" | "PT_ezETH_26DEC2024" | "PT_eBTC_26DEC2024" | "PT_LBTC_27MAR2025" | "PT_corn_solvBTC_BBN_26DEC2024" | "PT_corn_pumpBTC_26DEC2024" | "PT_cornLBTC_26DEC2024" | "PT_corn_eBTC_27MAR2025" | "PT_sUSDe_27MAR2025" | "PT_sUSDe_29MAY2025" | "PT_beraSTONE_10APR2025" | "PT_sUSDX_1SEP2025" | "rstETH_Lido_wstETH" | "DVstETH_Prime_wstETH" | "SHIB" | "crvUSD" | "WBNB" | "BTCB" | "USD1" | "USDX" | "cp0xLRT" | "uptBTC" | "PT_uptBTC_14AUG2025" | "WXTZ" | "mTBILL" | "mBASIS" | "lskETH" | "hemiBTC" | "bfBTC" | "sUSDf" | "PT_sUSDf_25SEP2025" | "stkcvxUSDCUSDf";
5
5
  export type NormalTokenData = {
6
6
  symbol: NormalToken;
7
7
  type: Partial<Record<TokenNetwork, TokenType.NORMAL_TOKEN>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "8.11.0",
3
+ "version": "8.12.0",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",