@gearbox-protocol/sdk 3.0.0-next.142 → 3.0.0-next.143

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.
@@ -1,5 +1,5 @@
1
1
  import { LPTokens, PartialRecord, SupportedToken } from "@gearbox-protocol/sdk-gov";
2
- export type AdditionalTokenWithAPY = Extract<SupportedToken, "STETH" | "weETH" | "osETH" | "rETH" | "wstETH" | "ezETH" | "cbETH" | "sfrxETH">;
2
+ export type AdditionalTokenWithAPY = Extract<SupportedToken, "STETH" | "weETH" | "osETH" | "rETH" | "wstETH" | "ezETH" | "cbETH" | "sfrxETH" | "USDe">;
3
3
  export declare const additionalTokensWIthAPY: Record<AdditionalTokenWithAPY, true>;
4
4
  export type TokensWithAPY = LPTokens | AdditionalTokenWithAPY;
5
5
  export type LpTokensAPY = PartialRecord<TokensWithAPY, number>;
package/lib/apy/index.js CHANGED
@@ -25,6 +25,7 @@ exports.additionalTokensWIthAPY = {
25
25
  ezETH: true,
26
26
  cbETH: true,
27
27
  sfrxETH: true,
28
+ USDe: true,
28
29
  };
29
30
  const isTokenWithAPY = (t) => typeof t === "string" &&
30
31
  (!!sdk_gov_1.lpTokens[t] ||
@@ -16,7 +16,7 @@ export declare const creditManagerByAddress: Record<string, SupportedCreditManag
16
16
  export type MainnetPoolsV1 = "DAI_V1" | "USDC_V1" | "WETH_V1" | "WBTC_V1" | "WSTETH_V1" | "FRAX_V1";
17
17
  export type MainnetPoolsV3 = "USDC_V3_TRADE" | "WETH_V3_TRADE" | "WBTC_V3_TRADE";
18
18
  export type MainnetPools = MainnetPoolsV1 | MainnetPoolsV3;
19
- export type ArbitrumPools = never;
19
+ export type ArbitrumPools = "USDC_V3" | "WETH_V3";
20
20
  export type OptimismPools = never;
21
21
  type PoolsListType = {
22
22
  [key in NetworkType]: key extends "Mainnet" ? Record<MainnetPools, string> : key extends "Arbitrum" ? Record<ArbitrumPools, string> : key extends "Optimism" ? Record<OptimismPools, string> : never;
@@ -59,7 +59,10 @@ exports.poolByNetwork = {
59
59
  WBTC_V3_TRADE: "0xda00010eda646913f273e10e7a5d1f659242757d".toLowerCase(),
60
60
  WETH_V3_TRADE: "0xda0002859b2d05f66a753d8241fcde8623f26f4f".toLowerCase(),
61
61
  },
62
- Arbitrum: {},
62
+ Arbitrum: {
63
+ USDC_V3: "0xa76c604145d7394dec36c49af494c144ff327861".toLowerCase(),
64
+ WETH_V3: "0x04419d3509f13054f60d253e0c79491d9e683399".toLowerCase(),
65
+ },
63
66
  Optimism: {},
64
67
  };
65
68
  const deployedContractNames = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.142",
3
+ "version": "3.0.0-next.143",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",