@gearbox-protocol/sdk 9.2.0 → 9.3.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.
@@ -75,7 +75,10 @@ const chains = {
75
75
  "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
76
76
  "0x09d8305F49374AEA6A78aF6C996df2913e8f3b19": "Tulipa"
77
77
  },
78
- testMarketConfigurators: {},
78
+ testMarketConfigurators: {
79
+ "0x99df7330bf42d596af2e9d9836d4fc2077c574aa": "M11 Credit",
80
+ "0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "kpk"
81
+ },
79
82
  isPublic: true,
80
83
  wellKnownToken: {
81
84
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -23,29 +23,44 @@ __export(poolMigration_exports, {
23
23
  module.exports = __toCommonJS(poolMigration_exports);
24
24
  const POOL_DELAYED_MIGRATION_CONTRACTS = {
25
25
  Mainnet: [
26
+ // USDC
26
27
  {
27
- // TODO: fix address
28
- address: "0xF044d86668DB274Ce56179fE24a7ed22dE1f7d46",
29
- // "dUSDCV3" "Trade USDC v3"
28
+ address: "0x4174aEe40eC3f27A68252663547Bc60E0B1b58c1",
29
+ // "dUSDCV3" "Chaos"
30
30
  poolIn: "0xda00000035fef4082f78def6a8903bee419fbf8e",
31
31
  // "USDC" "invariant"
32
32
  poolOut: "0xc155444481854c60e7a29f4150373f479988f32d"
33
33
  },
34
34
  {
35
- // TODO: fix address
36
- address: "0x181b4aDB132Da85e9dB56D025EeB7E18dFd6Ddda",
37
- // "dUSDCV3" "Trade USDC v3"
35
+ address: "0xD2F14195b00cDBB5A7ba63273086C7eBc685F16D",
36
+ // "dUSDCV3" "Chaos"
38
37
  poolIn: "0xda00000035fef4082f78def6a8903bee419fbf8e",
39
38
  // "USDC" "tulipa"
40
39
  poolOut: "0xf0795c47fa58d00f5f77f4d5c01f31ee891e21b4"
41
40
  },
41
+ // wstETH
42
42
  {
43
- // TODO: fix address
44
- address: "0x0A31e33E37e6cD720cE347e277b414E22816959c",
45
- // "dWETHV3" "Trade WETH v3"
43
+ address: "0x0a5722f8D321B2e072d92FA78fEb0B2f84E600A3",
44
+ // "dwstETHV3" "Chaos"
45
+ poolIn: "0xff94993fa7ea27efc943645f95adb36c1b81244b",
46
+ // "dcp0xLRT" "cp0x"
47
+ poolOut: "0x72ccb97cbdc40f8fb7ffa42ed93ae74923547200"
48
+ },
49
+ // WETH
50
+ {
51
+ address: "0x4a981692330F40853dcEc441d6603f5BdfFCbEb2",
52
+ // "dWETHV3" "Chaos"
46
53
  poolIn: "0xda0002859b2d05f66a753d8241fcde8623f26f4f",
47
- // "dWETHV3-cp0x" "Gearbox WETH v3"
54
+ // "dWETHV3-cp0x" "cp0x"
48
55
  poolOut: "0xf00b548f1b69cb5ee559d891e03a196fb5101d4a"
56
+ },
57
+ // tBTC
58
+ {
59
+ address: "0x88C7f9267F0a5690a182504D86c4161e41A8487A",
60
+ // "dtBTCV3" "Chaos"
61
+ poolIn: "0x7354ec6e852108411e681d13e11185c3a2567981",
62
+ // "Re7tBTC" "re7"
63
+ poolOut: "0xf791ecc5f2472637eac9dfe3f7894c0b32c32bdf"
49
64
  }
50
65
  ]
51
66
  };
@@ -59,7 +59,10 @@ const chains = {
59
59
  "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
60
60
  "0x09d8305F49374AEA6A78aF6C996df2913e8f3b19": "Tulipa"
61
61
  },
62
- testMarketConfigurators: {},
62
+ testMarketConfigurators: {
63
+ "0x99df7330bf42d596af2e9d9836d4fc2077c574aa": "M11 Credit",
64
+ "0x1b265b97eb169fb6668e3258007c3b0242c7bdbe": "kpk"
65
+ },
63
66
  isPublic: true,
64
67
  wellKnownToken: {
65
68
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
@@ -1,28 +1,43 @@
1
1
  const POOL_DELAYED_MIGRATION_CONTRACTS = {
2
2
  Mainnet: [
3
+ // USDC
3
4
  {
4
- // TODO: fix address
5
- address: "0xF044d86668DB274Ce56179fE24a7ed22dE1f7d46",
6
- // "dUSDCV3" "Trade USDC v3"
5
+ address: "0x4174aEe40eC3f27A68252663547Bc60E0B1b58c1",
6
+ // "dUSDCV3" "Chaos"
7
7
  poolIn: "0xda00000035fef4082f78def6a8903bee419fbf8e",
8
8
  // "USDC" "invariant"
9
9
  poolOut: "0xc155444481854c60e7a29f4150373f479988f32d"
10
10
  },
11
11
  {
12
- // TODO: fix address
13
- address: "0x181b4aDB132Da85e9dB56D025EeB7E18dFd6Ddda",
14
- // "dUSDCV3" "Trade USDC v3"
12
+ address: "0xD2F14195b00cDBB5A7ba63273086C7eBc685F16D",
13
+ // "dUSDCV3" "Chaos"
15
14
  poolIn: "0xda00000035fef4082f78def6a8903bee419fbf8e",
16
15
  // "USDC" "tulipa"
17
16
  poolOut: "0xf0795c47fa58d00f5f77f4d5c01f31ee891e21b4"
18
17
  },
18
+ // wstETH
19
19
  {
20
- // TODO: fix address
21
- address: "0x0A31e33E37e6cD720cE347e277b414E22816959c",
22
- // "dWETHV3" "Trade WETH v3"
20
+ address: "0x0a5722f8D321B2e072d92FA78fEb0B2f84E600A3",
21
+ // "dwstETHV3" "Chaos"
22
+ poolIn: "0xff94993fa7ea27efc943645f95adb36c1b81244b",
23
+ // "dcp0xLRT" "cp0x"
24
+ poolOut: "0x72ccb97cbdc40f8fb7ffa42ed93ae74923547200"
25
+ },
26
+ // WETH
27
+ {
28
+ address: "0x4a981692330F40853dcEc441d6603f5BdfFCbEb2",
29
+ // "dWETHV3" "Chaos"
23
30
  poolIn: "0xda0002859b2d05f66a753d8241fcde8623f26f4f",
24
- // "dWETHV3-cp0x" "Gearbox WETH v3"
31
+ // "dWETHV3-cp0x" "cp0x"
25
32
  poolOut: "0xf00b548f1b69cb5ee559d891e03a196fb5101d4a"
33
+ },
34
+ // tBTC
35
+ {
36
+ address: "0x88C7f9267F0a5690a182504D86c4161e41A8487A",
37
+ // "dtBTCV3" "Chaos"
38
+ poolIn: "0x7354ec6e852108411e681d13e11185c3a2567981",
39
+ // "Re7tBTC" "re7"
40
+ poolOut: "0xf791ecc5f2472637eac9dfe3f7894c0b32c32bdf"
26
41
  }
27
42
  ]
28
43
  };
@@ -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 Group" | "Tulipa";
3
+ export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group" | "Tulipa" | "M11 Credit" | "kpk";
4
4
  export interface GearboxChain extends Chain {
5
5
  network: NetworkType;
6
6
  defaultMarketConfigurators: Record<Address, Curator>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "9.2.0",
3
+ "version": "9.3.0",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",