@gearbox-protocol/sdk 3.0.0-next.203 → 3.0.0-next.205

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.
@@ -16,7 +16,7 @@ const merklAPI_1 = require("./merklAPI");
16
16
  const DEFAULT_POOLS_WITH_EXTRA_REWARDS = {
17
17
  Mainnet: ["sdcrvUSDV3"],
18
18
  Arbitrum: [],
19
- Optimism: [],
19
+ Optimism: ["sdUSDCV3", "sdWETHV3"],
20
20
  Base: [],
21
21
  };
22
22
  class GearboxRewardsApi {
@@ -14,7 +14,7 @@ const apy_1 = require("./apy");
14
14
  const POOL_POINTS = {
15
15
  Mainnet: {
16
16
  [contractsRegister_1.poolByNetwork.Mainnet.WETH_V3_TRADE]: {
17
- // !& ezeth
17
+ // !& ezETH
18
18
  // ezETH: {
19
19
  // amount: PERCENTAGE_FACTOR,
20
20
  // symbol: "ezETH",
@@ -30,6 +30,7 @@ const POOL_POINTS = {
30
30
  },
31
31
  },
32
32
  Arbitrum: {
33
+ // !& ezETH
33
34
  // [poolByNetwork.Arbitrum.WETH_V3]: {
34
35
  // ezETH: {
35
36
  // amount: PERCENTAGE_FACTOR,
@@ -37,6 +37,7 @@ export declare class RedstoneApi {
37
37
  static getRedstonePriceFeeds: ({ priceOracleAddress, currentTokenData, provider, network, }: GetRedstoneFeedsProps) => Promise<{
38
38
  main: RedstonePriceFeeds;
39
39
  reserve: RedstonePriceFeeds;
40
+ allReserve: Record<string, string>;
40
41
  }>;
41
42
  private static getPriceFeedsOfInterest_Onchain;
42
43
  private static getRedstonePF_Onchain;
@@ -280,6 +280,7 @@ class RedstoneApi {
280
280
  return {
281
281
  main: mainPFData,
282
282
  reserve: reservePFData,
283
+ allReserve: sdk_gov_1.TypedObjectUtils.fromEntries(reservePF.map(([s, a]) => [currentTokenData[s], a])),
283
284
  };
284
285
  };
285
286
  static getPriceFeedsOfInterest_Onchain(priceFeeds, feedsTypeResponse, priceFeed0Response) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.203",
3
+ "version": "3.0.0-next.205",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",