@gearbox-protocol/sdk 7.11.1 → 7.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.
@@ -67,6 +67,9 @@ const chains = {
67
67
  "0x354fe9f450F60b8547f88BE042E4A45b46128a06": "Chaos Labs",
68
68
  "0x4d427D418342d8CE89a7634c3a402851978B680A": "K3"
69
69
  },
70
+ testMarketConfigurators: {
71
+ "0xc168343c791d56dd1da4b4b8b0cc1c1ec1a16e6b": "cp0x"
72
+ },
70
73
  isPublic: true,
71
74
  wellKnownToken: {
72
75
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -485,6 +485,11 @@ const normalTokens = {
485
485
  name: "USDX",
486
486
  symbol: "USDX",
487
487
  type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
488
+ },
489
+ cp0xLRT: {
490
+ name: "cp0xLRT",
491
+ symbol: "cp0xLRT",
492
+ type: { AllNetworks: import_tokenType.TokenType.NORMAL_TOKEN }
488
493
  }
489
494
  };
490
495
  const isNormalToken = (t) => typeof t === "string" && !!normalTokens[t];
@@ -359,6 +359,7 @@ const tokenDataByNetwork = {
359
359
  pzETH: "0x8c9532a60E0E7C6BbD2B2c1303F63aCE1c3E9811",
360
360
  DVstETH: "0x5E362eb2c0706Bd1d134689eC75176018385430B",
361
361
  waEthLidowstETH: "0x775F661b0bD1739349b9A2A3EF60be277c5d2D29",
362
+ cp0xLRT: "0xB908c9FE885369643adB5FBA4407d52bD726c72d",
362
363
  BTCB: import_constants.NOT_DEPLOYED,
363
364
  WBNB: import_constants.NOT_DEPLOYED,
364
365
  dUSDTv310: import_constants.NOT_DEPLOYED,
@@ -676,6 +677,7 @@ const tokenDataByNetwork = {
676
677
  pzETH: import_constants.NOT_DEPLOYED,
677
678
  DVstETH: import_constants.NOT_DEPLOYED,
678
679
  waEthLidowstETH: import_constants.NOT_DEPLOYED,
680
+ cp0xLRT: import_constants.NOT_DEPLOYED,
679
681
  BTCB: import_constants.NOT_DEPLOYED,
680
682
  WBNB: import_constants.NOT_DEPLOYED,
681
683
  dUSDTv310: import_constants.NOT_DEPLOYED,
@@ -993,6 +995,7 @@ const tokenDataByNetwork = {
993
995
  pzETH: import_constants.NOT_DEPLOYED,
994
996
  DVstETH: import_constants.NOT_DEPLOYED,
995
997
  waEthLidowstETH: import_constants.NOT_DEPLOYED,
998
+ cp0xLRT: import_constants.NOT_DEPLOYED,
996
999
  BTCB: import_constants.NOT_DEPLOYED,
997
1000
  WBNB: import_constants.NOT_DEPLOYED,
998
1001
  dUSDTv310: import_constants.NOT_DEPLOYED,
@@ -1309,6 +1312,7 @@ const tokenDataByNetwork = {
1309
1312
  pzETH: import_constants.NOT_DEPLOYED,
1310
1313
  DVstETH: import_constants.NOT_DEPLOYED,
1311
1314
  waEthLidowstETH: import_constants.NOT_DEPLOYED,
1315
+ cp0xLRT: import_constants.NOT_DEPLOYED,
1312
1316
  BTCB: import_constants.NOT_DEPLOYED,
1313
1317
  WBNB: import_constants.NOT_DEPLOYED,
1314
1318
  dUSDTv310: import_constants.NOT_DEPLOYED,
@@ -1625,6 +1629,7 @@ const tokenDataByNetwork = {
1625
1629
  pzETH: import_constants.NOT_DEPLOYED,
1626
1630
  DVstETH: import_constants.NOT_DEPLOYED,
1627
1631
  waEthLidowstETH: import_constants.NOT_DEPLOYED,
1632
+ cp0xLRT: import_constants.NOT_DEPLOYED,
1628
1633
  BTCB: import_constants.NOT_DEPLOYED,
1629
1634
  WBNB: import_constants.NOT_DEPLOYED,
1630
1635
  dUSDTv310: import_constants.NOT_DEPLOYED,
@@ -43,6 +43,7 @@ const EXTRA_FARM_TOKENS = {
43
43
  amphrETH: true,
44
44
  LBTC: true,
45
45
  Re7LRT: true,
46
+ cp0xLRT: true,
46
47
  PT_ezETH_26DEC2024: true,
47
48
  PT_eETH_26DEC2024: true,
48
49
  PT_sUSDe_26DEC2024: true,
@@ -51,6 +51,9 @@ const chains = {
51
51
  "0x354fe9f450F60b8547f88BE042E4A45b46128a06": "Chaos Labs",
52
52
  "0x4d427D418342d8CE89a7634c3a402851978B680A": "K3"
53
53
  },
54
+ testMarketConfigurators: {
55
+ "0xc168343c791d56dd1da4b4b8b0cc1c1ec1a16e6b": "cp0x"
56
+ },
54
57
  isPublic: true,
55
58
  wellKnownToken: {
56
59
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -461,6 +461,11 @@ const normalTokens = {
461
461
  name: "USDX",
462
462
  symbol: "USDX",
463
463
  type: { AllNetworks: TokenType.NORMAL_TOKEN }
464
+ },
465
+ cp0xLRT: {
466
+ name: "cp0xLRT",
467
+ symbol: "cp0xLRT",
468
+ type: { AllNetworks: TokenType.NORMAL_TOKEN }
464
469
  }
465
470
  };
466
471
  const isNormalToken = (t) => typeof t === "string" && !!normalTokens[t];
@@ -330,6 +330,7 @@ const tokenDataByNetwork = {
330
330
  pzETH: "0x8c9532a60E0E7C6BbD2B2c1303F63aCE1c3E9811",
331
331
  DVstETH: "0x5E362eb2c0706Bd1d134689eC75176018385430B",
332
332
  waEthLidowstETH: "0x775F661b0bD1739349b9A2A3EF60be277c5d2D29",
333
+ cp0xLRT: "0xB908c9FE885369643adB5FBA4407d52bD726c72d",
333
334
  BTCB: NOT_DEPLOYED,
334
335
  WBNB: NOT_DEPLOYED,
335
336
  dUSDTv310: NOT_DEPLOYED,
@@ -647,6 +648,7 @@ const tokenDataByNetwork = {
647
648
  pzETH: NOT_DEPLOYED,
648
649
  DVstETH: NOT_DEPLOYED,
649
650
  waEthLidowstETH: NOT_DEPLOYED,
651
+ cp0xLRT: NOT_DEPLOYED,
650
652
  BTCB: NOT_DEPLOYED,
651
653
  WBNB: NOT_DEPLOYED,
652
654
  dUSDTv310: NOT_DEPLOYED,
@@ -964,6 +966,7 @@ const tokenDataByNetwork = {
964
966
  pzETH: NOT_DEPLOYED,
965
967
  DVstETH: NOT_DEPLOYED,
966
968
  waEthLidowstETH: NOT_DEPLOYED,
969
+ cp0xLRT: NOT_DEPLOYED,
967
970
  BTCB: NOT_DEPLOYED,
968
971
  WBNB: NOT_DEPLOYED,
969
972
  dUSDTv310: NOT_DEPLOYED,
@@ -1280,6 +1283,7 @@ const tokenDataByNetwork = {
1280
1283
  pzETH: NOT_DEPLOYED,
1281
1284
  DVstETH: NOT_DEPLOYED,
1282
1285
  waEthLidowstETH: NOT_DEPLOYED,
1286
+ cp0xLRT: NOT_DEPLOYED,
1283
1287
  BTCB: NOT_DEPLOYED,
1284
1288
  WBNB: NOT_DEPLOYED,
1285
1289
  dUSDTv310: NOT_DEPLOYED,
@@ -1596,6 +1600,7 @@ const tokenDataByNetwork = {
1596
1600
  pzETH: NOT_DEPLOYED,
1597
1601
  DVstETH: NOT_DEPLOYED,
1598
1602
  waEthLidowstETH: NOT_DEPLOYED,
1603
+ cp0xLRT: NOT_DEPLOYED,
1599
1604
  BTCB: NOT_DEPLOYED,
1600
1605
  WBNB: NOT_DEPLOYED,
1601
1606
  dUSDTv310: NOT_DEPLOYED,
@@ -18,6 +18,7 @@ const EXTRA_FARM_TOKENS = {
18
18
  amphrETH: true,
19
19
  LBTC: true,
20
20
  Re7LRT: true,
21
+ cp0xLRT: true,
21
22
  PT_ezETH_26DEC2024: true,
22
23
  PT_eETH_26DEC2024: true,
23
24
  PT_sUSDe_26DEC2024: true,
@@ -1,6 +1,6 @@
1
1
  import type { Address, Chain } from "viem";
2
2
  import { z } from "zod";
3
- export type Curator = "Chaos Labs" | "K3";
3
+ export type Curator = "Chaos Labs" | "K3" | "cp0x";
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" | "rstETH_Lido_wstETH" | "DVstETH_Prime_wstETH" | "SHIB" | "crvUSD" | "WBNB" | "BTCB" | "USD1" | "USDX";
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" | "rstETH_Lido_wstETH" | "DVstETH_Prime_wstETH" | "SHIB" | "crvUSD" | "WBNB" | "BTCB" | "USD1" | "USDX" | "cp0xLRT";
5
5
  export type NormalTokenData = {
6
6
  symbol: NormalToken;
7
7
  type: Partial<Record<TokenNetwork, TokenType.NORMAL_TOKEN>>;
@@ -1,6 +1,6 @@
1
1
  import type { Address } from "viem";
2
2
  import type { LPTokens, SupportedToken } from "../../sdk-gov-legacy/index.js";
3
- type ExtraFarmTokens = Extract<SupportedToken, "STETH" | "rETH" | "osETH" | "cbETH" | "wstETH" | "weETH" | "ezETH" | "sfrxETH" | "USDe" | "rsETH" | "rswETH" | "pufETH" | "pzETH" | "rstETH" | "steakLRT" | "amphrETH" | "LBTC" | "Re7LRT" | "PT_ezETH_26DEC2024" | "PT_eETH_26DEC2024" | "PT_sUSDe_26DEC2024" | "PT_eBTC_26DEC2024" | "PT_LBTC_27MAR2025" | "eBTC" | "PT_cornLBTC_26DEC2024" | "PT_corn_eBTC_27MAR2025" | "PT_corn_pumpBTC_26DEC2024" | "pumpBTC" | "PT_sUSDe_27MAR2025" | "DVstETH" | "beraSTONE" | "PT_sUSDe_29MAY2025" | "tETH" | "PT_beraSTONE_10APR2025" | "stS" | "csUSDL" | "scUSD" | "ynBNBx">;
3
+ type ExtraFarmTokens = Extract<SupportedToken, "STETH" | "rETH" | "osETH" | "cbETH" | "wstETH" | "weETH" | "ezETH" | "sfrxETH" | "USDe" | "rsETH" | "rswETH" | "pufETH" | "pzETH" | "rstETH" | "steakLRT" | "amphrETH" | "LBTC" | "Re7LRT" | "PT_ezETH_26DEC2024" | "PT_eETH_26DEC2024" | "PT_sUSDe_26DEC2024" | "PT_eBTC_26DEC2024" | "PT_LBTC_27MAR2025" | "eBTC" | "PT_cornLBTC_26DEC2024" | "PT_corn_eBTC_27MAR2025" | "PT_corn_pumpBTC_26DEC2024" | "pumpBTC" | "PT_sUSDe_27MAR2025" | "DVstETH" | "beraSTONE" | "PT_sUSDe_29MAY2025" | "tETH" | "PT_beraSTONE_10APR2025" | "stS" | "csUSDL" | "scUSD" | "ynBNBx" | "cp0xLRT">;
4
4
  type LRTAndLSTTokens = Exclude<ExtraFarmTokens, "USDe">;
5
5
  export declare const isExtraFarmToken: (t: unknown) => t is ExtraFarmTokens;
6
6
  export declare const isLRT_LSTToken: (t: unknown) => t is LRTAndLSTTokens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "7.11.1",
3
+ "version": "7.12.0",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",