@gearbox-protocol/sdk 3.0.0-next.149 → 3.0.0-next.150
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.
|
@@ -3,7 +3,7 @@ export declare const stEthPoolWrapper: Record<NetworkType, string>;
|
|
|
3
3
|
type MainnetCreditManagersV1 = "DAI_V1" | "USDC_V1" | "WETH_V1" | "WBTC_V1";
|
|
4
4
|
type MainnetCreditManagersV2 = "DAI_V2" | "USDC_V2" | "WETH_V2" | "WSTETH_V2" | "WBTC_V2" | "FRAX_V2";
|
|
5
5
|
type MainnetCreditManagersV2_1 = "WETH_V2_1";
|
|
6
|
-
type MainnetCreditManagersV3 = "USDC_V3_TRADE_TIER_1" | "USDC_V3_TRADE_TIER_2" | "USDC_V3_TRADE_TIER_3" | "WBTC_V3_TRADE_TIER_1" | "WBTC_V3_TRADE_TIER_2" | "WBTC_V3_TRADE_TIER_3" | "WETH_V3_TRADE_TIER_1" | "WETH_V3_TRADE_TIER_2" | "WETH_V3_TRADE_TIER_3" | "USDC_V3_FARM" | "WETH_V3_FARM" | "WETH_V3_RESTAKING" | "
|
|
6
|
+
type MainnetCreditManagersV3 = "USDC_V3_TRADE_TIER_1" | "USDC_V3_TRADE_TIER_2" | "USDC_V3_TRADE_TIER_3" | "WBTC_V3_TRADE_TIER_1" | "WBTC_V3_TRADE_TIER_2" | "WBTC_V3_TRADE_TIER_3" | "WETH_V3_TRADE_TIER_1" | "WETH_V3_TRADE_TIER_2" | "WETH_V3_TRADE_TIER_3" | "USDC_V3_FARM" | "WETH_V3_FARM" | "WETH_V3_RESTAKING" | "USDT_V3_TIER_1_BROKEN" | "GHO_V3_TIER_1" | "DAI_V3_TIER_1" | "USDT_V3_TIER_1";
|
|
7
7
|
export type MainnetCreditManagers = MainnetCreditManagersV1 | MainnetCreditManagersV2 | MainnetCreditManagersV2_1 | MainnetCreditManagersV3;
|
|
8
8
|
export type ArbitrumCreditManagers = "USDC_E_V3_TRADE_TIER_1" | "USDC_E_V3_TRADE_TIER_2" | "WETH_V3_TRADE_TIER_1" | "WETH_V3_TRADE_TIER_2";
|
|
9
9
|
export type OptimismCreditManagers = never;
|
|
@@ -15,7 +15,7 @@ export declare const creditManagerByNetwork: CreditManagersListType;
|
|
|
15
15
|
export type SupportedCreditManagers = MainnetCreditManagers | ArbitrumCreditManagers;
|
|
16
16
|
export declare const creditManagerByAddress: Record<string, SupportedCreditManagers>;
|
|
17
17
|
export type MainnetPoolsV1 = "DAI_V1" | "USDC_V1" | "WETH_V1" | "WBTC_V1" | "WSTETH_V1" | "FRAX_V1";
|
|
18
|
-
export type MainnetPoolsV3 = "USDC_V3_TRADE" | "WETH_V3_TRADE" | "WBTC_V3_TRADE" | "
|
|
18
|
+
export type MainnetPoolsV3 = "USDC_V3_TRADE" | "WETH_V3_TRADE" | "WBTC_V3_TRADE" | "USDT_V3_BROKEN" | "GHO_V3" | "DAI_V3" | "USDT_V3";
|
|
19
19
|
export type MainnetPools = MainnetPoolsV1 | MainnetPoolsV3;
|
|
20
20
|
export type ArbitrumPools = "USDC_V3" | "WETH_V3";
|
|
21
21
|
export type OptimismPools = never;
|
|
@@ -33,7 +33,8 @@ exports.creditManagerByNetwork = {
|
|
|
33
33
|
USDC_V3_FARM: "0x1d489ccd2b96908c0a80acbbdb2f1963ffed3384".toLowerCase(),
|
|
34
34
|
WETH_V3_FARM: "0x6dc0eb1980fa6b3fa89f5b29937b9baab5865b3e".toLowerCase(),
|
|
35
35
|
WETH_V3_RESTAKING: "0x50ba483272484fc5eebe8676dc87d814a11faef6".toLowerCase(),
|
|
36
|
-
|
|
36
|
+
USDT_V3_TIER_1_BROKEN: "0x6950f4190aa1e1339519d5d4d89796ae4165cd5c".toLowerCase(),
|
|
37
|
+
USDT_V3_TIER_1: "0xe35eb22a349baba4f1a28a9cdba641d3b72c6203".toLowerCase(),
|
|
37
38
|
GHO_V3_TIER_1: "0x58c8e983d9479b69b64970f79e8965ea347189c9".toLowerCase(),
|
|
38
39
|
DAI_V3_TIER_1: "0x4582411643f9bbe6c736ed2114eda856b1c9ed40".toLowerCase(),
|
|
39
40
|
},
|
|
@@ -63,9 +64,10 @@ exports.poolByNetwork = {
|
|
|
63
64
|
USDC_V3_TRADE: "0xda00000035fef4082f78def6a8903bee419fbf8e".toLowerCase(),
|
|
64
65
|
WBTC_V3_TRADE: "0xda00010eda646913f273e10e7a5d1f659242757d".toLowerCase(),
|
|
65
66
|
WETH_V3_TRADE: "0xda0002859b2d05f66a753d8241fcde8623f26f4f".toLowerCase(),
|
|
66
|
-
|
|
67
|
+
USDT_V3_BROKEN: "0x1dc0f3359a254f876b37906cfc1000a35ce2d717".toLowerCase(),
|
|
67
68
|
GHO_V3: "0x4d56c9cba373ad39df69eb18f076b7348000ae09".toLowerCase(),
|
|
68
69
|
DAI_V3: "0xe7146f53dbcae9d6fa3555fe502648deb0b2f823".toLowerCase(),
|
|
70
|
+
USDT_V3: "0x05a811275fe9b4de503b3311f51edf6a856d936e".toLowerCase(),
|
|
69
71
|
},
|
|
70
72
|
Arbitrum: {
|
|
71
73
|
USDC_V3: "0xa76c604145d7394dec36c49af494c144ff327861".toLowerCase(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.150",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "npx mocha -r ts-node/register -r dotenv/config 'src/**/*.spec.ts'"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@gearbox-protocol/sdk-gov": "^1.
|
|
33
|
+
"@gearbox-protocol/sdk-gov": "^1.51.1",
|
|
34
34
|
"axios": "^1.2.6",
|
|
35
35
|
"decimal.js-light": "^2.5.1",
|
|
36
36
|
"deep-eql": "^4.1.0",
|