@gearbox-protocol/sdk 13.5.0-next.3 → 13.5.1

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.
@@ -5,6 +5,7 @@ import type { gaugeCompressorAbi } from "../../abi/compressors/gaugeCompressor.j
5
5
  import type { marketCompressorAbi } from "../../abi/compressors/marketCompressor.js";
6
6
  import type { peripheryCompressorAbi } from "../../abi/compressors/peripheryCompressor.js";
7
7
  import type { rewardsCompressorAbi } from "../../abi/compressors/rewardsCompressor.js";
8
+ import type { NetworkType } from "../chain/index.js";
8
9
  /**
9
10
  * Recursively unwraps array types to their element type.
10
11
  **/
@@ -244,6 +245,14 @@ export interface IBaseContract {
244
245
  * labeling methods for user-facing output.
245
246
  */
246
247
  readonly name: string;
248
+ /**
249
+ * Chain ID of the contract.
250
+ **/
251
+ readonly chainId: number;
252
+ /**
253
+ * Network type of the contract.
254
+ **/
255
+ readonly networkType: NetworkType;
247
256
  /**
248
257
  * @internal
249
258
  * `true` when the local state has diverged from on-chain and needs a sync.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "13.5.0-next.3",
3
+ "version": "13.5.1",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",