@suilend/sdk 1.1.99 → 2.0.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.
Files changed (91) hide show
  1. package/_generated/_dependencies/source/0x1/ascii/structs.d.ts +7 -7
  2. package/_generated/_dependencies/source/0x1/ascii/structs.js +35 -75
  3. package/_generated/_dependencies/source/0x1/index.js +3 -6
  4. package/_generated/_dependencies/source/0x1/option/structs.d.ts +3 -3
  5. package/_generated/_dependencies/source/0x1/option/structs.js +31 -69
  6. package/_generated/_dependencies/source/0x1/type-name/structs.d.ts +5 -5
  7. package/_generated/_dependencies/source/0x1/type-name/structs.js +20 -25
  8. package/_generated/_dependencies/source/0x2/bag/structs.d.ts +7 -7
  9. package/_generated/_dependencies/source/0x2/bag/structs.js +24 -29
  10. package/_generated/_dependencies/source/0x2/balance/structs.d.ts +7 -7
  11. package/_generated/_dependencies/source/0x2/balance/structs.js +49 -56
  12. package/_generated/_dependencies/source/0x2/index.js +3 -6
  13. package/_generated/_dependencies/source/0x2/object/structs.d.ts +8 -8
  14. package/_generated/_dependencies/source/0x2/object/structs.js +34 -41
  15. package/_generated/_dependencies/source/0x2/object-table/structs.d.ts +7 -7
  16. package/_generated/_dependencies/source/0x2/object-table/structs.js +31 -36
  17. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/i64/structs.d.ts +5 -5
  18. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/i64/structs.js +23 -28
  19. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/index.js +4 -7
  20. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price/structs.d.ts +11 -11
  21. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price/structs.js +32 -37
  22. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-feed/structs.d.ts +23 -23
  23. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-feed/structs.js +29 -34
  24. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-identifier/structs.d.ts +4 -4
  25. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-identifier/structs.js +21 -59
  26. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-info/structs.d.ts +55 -55
  27. package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-info/structs.js +46 -53
  28. package/_generated/_framework/reified.d.ts +2 -2
  29. package/_generated/_framework/reified.js +27 -40
  30. package/_generated/_framework/util.js +26 -40
  31. package/_generated/_framework/vector.d.ts +4 -4
  32. package/_generated/_framework/vector.js +16 -21
  33. package/_generated/suilend/cell/structs.d.ts +4 -4
  34. package/_generated/suilend/cell/structs.js +31 -36
  35. package/_generated/suilend/decimal/structs.d.ts +4 -4
  36. package/_generated/suilend/decimal/structs.js +19 -24
  37. package/_generated/suilend/index.js +8 -12
  38. package/_generated/suilend/lending-market/functions.d.ts +1 -0
  39. package/_generated/suilend/lending-market/functions.js +271 -302
  40. package/_generated/suilend/lending-market/structs.d.ts +146 -146
  41. package/_generated/suilend/lending-market/structs.js +549 -617
  42. package/_generated/suilend/lending-market-registry/functions.js +7 -11
  43. package/_generated/suilend/liquidity-mining/structs.d.ts +50 -50
  44. package/_generated/suilend/liquidity-mining/structs.js +159 -205
  45. package/_generated/suilend/obligation/structs.d.ts +106 -106
  46. package/_generated/suilend/obligation/structs.js +313 -363
  47. package/_generated/suilend/rate-limiter/functions.js +23 -31
  48. package/_generated/suilend/rate-limiter/structs.d.ts +15 -15
  49. package/_generated/suilend/rate-limiter/structs.js +49 -56
  50. package/_generated/suilend/reserve/structs.d.ts +139 -139
  51. package/_generated/suilend/reserve/structs.js +397 -451
  52. package/_generated/suilend/reserve-config/functions.js +149 -190
  53. package/_generated/suilend/reserve-config/structs.d.ts +33 -33
  54. package/_generated/suilend/reserve-config/structs.js +109 -149
  55. package/api/events.js +1 -5
  56. package/api/index.js +1 -17
  57. package/client.d.ts +10 -10
  58. package/client.js +118 -128
  59. package/index.js +7 -23
  60. package/lib/constants.js +3 -9
  61. package/lib/index.js +5 -21
  62. package/lib/initialize.d.ts +3 -3
  63. package/lib/initialize.js +103 -140
  64. package/lib/liquidityMining.d.ts +3 -3
  65. package/lib/liquidityMining.js +57 -72
  66. package/lib/pyth.js +9 -14
  67. package/lib/strategyOwnerCap.js +106 -119
  68. package/lib/transactions.js +2 -7
  69. package/lib/types.js +4 -7
  70. package/mmt.js +2 -5
  71. package/package.json +1 -1
  72. package/parsers/apiReserveAssetDataEvent.js +25 -33
  73. package/parsers/index.js +5 -21
  74. package/parsers/lendingMarket.d.ts +1 -1
  75. package/parsers/lendingMarket.js +12 -19
  76. package/parsers/obligation.js +19 -26
  77. package/parsers/rateLimiter.js +11 -19
  78. package/parsers/reserve.d.ts +1 -1
  79. package/parsers/reserve.js +42 -85
  80. package/strategies.d.ts +11 -11
  81. package/strategies.js +547 -586
  82. package/swap/index.js +2 -18
  83. package/swap/quote.js +57 -65
  84. package/swap/transaction.d.ts +2 -2
  85. package/swap/transaction.js +40 -35
  86. package/utils/events.d.ts +3 -3
  87. package/utils/events.js +18 -35
  88. package/utils/index.js +16 -40
  89. package/utils/obligation.d.ts +4 -4
  90. package/utils/obligation.js +17 -60
  91. package/utils/simulate.js +118 -143
@@ -10,7 +10,7 @@ import { Decimal } from "../decimal/structs";
10
10
  import { PKG_V1, PKG_V8 } from "../index";
11
11
  import { PoolRewardManager } from "../liquidity-mining/structs";
12
12
  import { ReserveConfig } from "../reserve-config/structs";
13
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
13
+ import { SuiJsonRpcClient, SuiObjectData, SuiParsedData } from "@mysten/sui/jsonRpc";
14
14
  export declare function isBalanceKey(type: string): boolean;
15
15
  export interface BalanceKeyFields {
16
16
  dummyField: ToField<"bool">;
@@ -31,8 +31,8 @@ export declare class BalanceKey implements StructClass {
31
31
  static get r(): reified.StructClassReified<BalanceKey, BalanceKeyFields>;
32
32
  static phantom(): PhantomReified<ToTypeStr<BalanceKey>>;
33
33
  static get p(): reified.PhantomReified<"0x1f54a9a2d71799553197e9ea24557797c6398d6a65f2d4d3818c9304b75d5e21::reserve::BalanceKey" | "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::reserve::BalanceKey">;
34
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
35
- dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
34
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
35
+ dummy_field: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
36
36
  }, string>;
37
37
  static fromFields(fields: Record<string, any>): BalanceKey;
38
38
  static fromFieldsWithTypes(item: FieldsWithTypes): BalanceKey;
@@ -49,7 +49,7 @@ export declare class BalanceKey implements StructClass {
49
49
  static fromJSON(json: Record<string, any>): BalanceKey;
50
50
  static fromSuiParsedData(content: SuiParsedData): BalanceKey;
51
51
  static fromSuiObjectData(data: SuiObjectData): BalanceKey;
52
- static fetch(client: SuiClient, id: string): Promise<BalanceKey>;
52
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<BalanceKey>;
53
53
  }
54
54
  export declare function isBalances(type: string): boolean;
55
55
  export interface BalancesFields<P extends PhantomTypeArgument, T extends PhantomTypeArgument> {
@@ -79,21 +79,21 @@ export declare class Balances<P extends PhantomTypeArgument, T extends PhantomTy
79
79
  static get r(): typeof Balances.reified;
80
80
  static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
81
81
  static get p(): typeof Balances.phantom;
82
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
83
- available_amount: import("@mysten/sui/bcs").BcsStruct<{
84
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
82
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
83
+ available_amount: import("@mysten/bcs").BcsStruct<{
84
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
85
85
  }, string>;
86
- ctoken_supply: import("@mysten/sui/bcs").BcsStruct<{
87
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
86
+ ctoken_supply: import("@mysten/bcs").BcsStruct<{
87
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
88
88
  }, string>;
89
- fees: import("@mysten/sui/bcs").BcsStruct<{
90
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
89
+ fees: import("@mysten/bcs").BcsStruct<{
90
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
91
91
  }, string>;
92
- ctoken_fees: import("@mysten/sui/bcs").BcsStruct<{
93
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
92
+ ctoken_fees: import("@mysten/bcs").BcsStruct<{
93
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
94
94
  }, string>;
95
- deposited_ctokens: import("@mysten/sui/bcs").BcsStruct<{
96
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
95
+ deposited_ctokens: import("@mysten/bcs").BcsStruct<{
96
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
97
97
  }, string>;
98
98
  }, string>;
99
99
  static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
@@ -139,7 +139,7 @@ export declare class Balances<P extends PhantomTypeArgument, T extends PhantomTy
139
139
  static fromJSON<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], json: Record<string, any>): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
140
140
  static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], content: SuiParsedData): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
141
141
  static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: SuiObjectData): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
142
- static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArgs: [P, T], id: string): Promise<Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
142
+ static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArgs: [P, T], id: string): Promise<Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
143
143
  }
144
144
  export declare function isCToken(type: string): boolean;
145
145
  export interface CTokenFields<P extends PhantomTypeArgument, T extends PhantomTypeArgument> {
@@ -161,8 +161,8 @@ export declare class CToken<P extends PhantomTypeArgument, T extends PhantomType
161
161
  static get r(): typeof CToken.reified;
162
162
  static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
163
163
  static get p(): typeof CToken.phantom;
164
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
165
- dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
164
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
165
+ dummy_field: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
166
166
  }, string>;
167
167
  static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
168
168
  static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], item: FieldsWithTypes): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
@@ -179,7 +179,7 @@ export declare class CToken<P extends PhantomTypeArgument, T extends PhantomType
179
179
  static fromJSON<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], json: Record<string, any>): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
180
180
  static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], content: SuiParsedData): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
181
181
  static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: SuiObjectData): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
182
- static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArgs: [P, T], id: string): Promise<CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
182
+ static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArgs: [P, T], id: string): Promise<CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
183
183
  }
184
184
  export declare function isClaimStakingRewardsEvent(type: string): boolean;
185
185
  export interface ClaimStakingRewardsEventFields {
@@ -207,17 +207,17 @@ export declare class ClaimStakingRewardsEvent implements StructClass {
207
207
  static get r(): reified.StructClassReified<ClaimStakingRewardsEvent, ClaimStakingRewardsEventFields>;
208
208
  static phantom(): PhantomReified<ToTypeStr<ClaimStakingRewardsEvent>>;
209
209
  static get p(): reified.PhantomReified<"0xe5ed361add4433f4d23e56fc0e3bacab39b93592d5e65d508e33fd19ff696669::reserve::ClaimStakingRewardsEvent" | "0x5b54b47971238403d6ade3c8c2cc75814cb55145a5184af916bb5b12aaf184cb::reserve::ClaimStakingRewardsEvent">;
210
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
211
- lending_market_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
212
- coin_type: import("@mysten/sui/bcs").BcsStruct<{
213
- name: import("@mysten/sui/bcs").BcsStruct<{
214
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
210
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
211
+ lending_market_id: import("@mysten/bcs").BcsType<string, string, string>;
212
+ coin_type: import("@mysten/bcs").BcsStruct<{
213
+ name: import("@mysten/bcs").BcsStruct<{
214
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
215
215
  length: number;
216
216
  }, string>;
217
217
  }, string>;
218
218
  }, string>;
219
- reserve_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
220
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
219
+ reserve_id: import("@mysten/bcs").BcsType<string, string, string>;
220
+ amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
221
221
  }, string>;
222
222
  static fromFields(fields: Record<string, any>): ClaimStakingRewardsEvent;
223
223
  static fromFieldsWithTypes(item: FieldsWithTypes): ClaimStakingRewardsEvent;
@@ -244,7 +244,7 @@ export declare class ClaimStakingRewardsEvent implements StructClass {
244
244
  static fromJSON(json: Record<string, any>): ClaimStakingRewardsEvent;
245
245
  static fromSuiParsedData(content: SuiParsedData): ClaimStakingRewardsEvent;
246
246
  static fromSuiObjectData(data: SuiObjectData): ClaimStakingRewardsEvent;
247
- static fetch(client: SuiClient, id: string): Promise<ClaimStakingRewardsEvent>;
247
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<ClaimStakingRewardsEvent>;
248
248
  }
249
249
  export declare function isInterestUpdateEvent(type: string): boolean;
250
250
  export interface InterestUpdateEventFields {
@@ -292,44 +292,44 @@ export declare class InterestUpdateEvent implements StructClass {
292
292
  static get r(): reified.StructClassReified<InterestUpdateEvent, InterestUpdateEventFields>;
293
293
  static phantom(): PhantomReified<ToTypeStr<InterestUpdateEvent>>;
294
294
  static get p(): reified.PhantomReified<"0x1f54a9a2d71799553197e9ea24557797c6398d6a65f2d4d3818c9304b75d5e21::reserve::InterestUpdateEvent" | "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::reserve::InterestUpdateEvent">;
295
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
296
- lending_market_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
297
- coin_type: import("@mysten/sui/bcs").BcsStruct<{
298
- name: import("@mysten/sui/bcs").BcsStruct<{
299
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
295
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
296
+ lending_market_id: import("@mysten/bcs").BcsType<string, string, string>;
297
+ coin_type: import("@mysten/bcs").BcsStruct<{
298
+ name: import("@mysten/bcs").BcsStruct<{
299
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
300
300
  length: number;
301
301
  }, string>;
302
302
  }, string>;
303
303
  }, string>;
304
- reserve_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
305
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsStruct<{
306
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
304
+ reserve_id: import("@mysten/bcs").BcsType<string, string, string>;
305
+ cumulative_borrow_rate: import("@mysten/bcs").BcsStruct<{
306
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
307
307
  }, string>;
308
- available_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
309
- borrowed_amount: import("@mysten/sui/bcs").BcsStruct<{
310
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
308
+ available_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
309
+ borrowed_amount: import("@mysten/bcs").BcsStruct<{
310
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
311
311
  }, string>;
312
- unclaimed_spread_fees: import("@mysten/sui/bcs").BcsStruct<{
313
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
312
+ unclaimed_spread_fees: import("@mysten/bcs").BcsStruct<{
313
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
314
314
  }, string>;
315
- ctoken_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
316
- borrow_interest_paid: import("@mysten/sui/bcs").BcsStruct<{
317
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
315
+ ctoken_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
316
+ borrow_interest_paid: import("@mysten/bcs").BcsStruct<{
317
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
318
318
  }, string>;
319
- spread_fee: import("@mysten/sui/bcs").BcsStruct<{
320
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
319
+ spread_fee: import("@mysten/bcs").BcsStruct<{
320
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
321
321
  }, string>;
322
- supply_interest_earned: import("@mysten/sui/bcs").BcsStruct<{
323
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
322
+ supply_interest_earned: import("@mysten/bcs").BcsStruct<{
323
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
324
324
  }, string>;
325
- borrow_interest_paid_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
326
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
325
+ borrow_interest_paid_usd_estimate: import("@mysten/bcs").BcsStruct<{
326
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
327
327
  }, string>;
328
- protocol_fee_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
329
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
328
+ protocol_fee_usd_estimate: import("@mysten/bcs").BcsStruct<{
329
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
330
330
  }, string>;
331
- supply_interest_earned_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
332
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
331
+ supply_interest_earned_usd_estimate: import("@mysten/bcs").BcsStruct<{
332
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
333
333
  }, string>;
334
334
  }, string>;
335
335
  static fromFields(fields: Record<string, any>): InterestUpdateEvent;
@@ -413,7 +413,7 @@ export declare class InterestUpdateEvent implements StructClass {
413
413
  static fromJSON(json: Record<string, any>): InterestUpdateEvent;
414
414
  static fromSuiParsedData(content: SuiParsedData): InterestUpdateEvent;
415
415
  static fromSuiObjectData(data: SuiObjectData): InterestUpdateEvent;
416
- static fetch(client: SuiClient, id: string): Promise<InterestUpdateEvent>;
416
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<InterestUpdateEvent>;
417
417
  }
418
418
  export declare function isLiquidityRequest(type: string): boolean;
419
419
  export interface LiquidityRequestFields<P extends PhantomTypeArgument, T extends PhantomTypeArgument> {
@@ -437,9 +437,9 @@ export declare class LiquidityRequest<P extends PhantomTypeArgument, T extends P
437
437
  static get r(): typeof LiquidityRequest.reified;
438
438
  static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
439
439
  static get p(): typeof LiquidityRequest.phantom;
440
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
441
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
442
- fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
440
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
441
+ amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
442
+ fee: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
443
443
  }, string>;
444
444
  static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
445
445
  static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], item: FieldsWithTypes): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
@@ -458,7 +458,7 @@ export declare class LiquidityRequest<P extends PhantomTypeArgument, T extends P
458
458
  static fromJSON<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], json: Record<string, any>): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
459
459
  static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], content: SuiParsedData): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
460
460
  static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: SuiObjectData): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
461
- static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArgs: [P, T], id: string): Promise<LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
461
+ static fetch<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArgs: [P, T], id: string): Promise<LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>;
462
462
  }
463
463
  export declare function isReserve(type: string): boolean;
464
464
  export interface ReserveFields<P extends PhantomTypeArgument> {
@@ -516,26 +516,26 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
516
516
  static get r(): typeof Reserve.reified;
517
517
  static phantom<P extends PhantomReified<PhantomTypeArgument>>(P: P): PhantomReified<ToTypeStr<Reserve<ToPhantomTypeArgument<P>>>>;
518
518
  static get p(): typeof Reserve.phantom;
519
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
520
- id: import("@mysten/sui/bcs").BcsStruct<{
521
- id: import("@mysten/sui/bcs").BcsStruct<{
522
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
519
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
520
+ id: import("@mysten/bcs").BcsStruct<{
521
+ id: import("@mysten/bcs").BcsStruct<{
522
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
523
523
  }, string>;
524
524
  }, string>;
525
- lending_market_id: import("@mysten/sui/bcs").BcsStruct<{
526
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
525
+ lending_market_id: import("@mysten/bcs").BcsStruct<{
526
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
527
527
  }, string>;
528
- array_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
529
- coin_type: import("@mysten/sui/bcs").BcsStruct<{
530
- name: import("@mysten/sui/bcs").BcsStruct<{
531
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
528
+ array_index: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
529
+ coin_type: import("@mysten/bcs").BcsStruct<{
530
+ name: import("@mysten/bcs").BcsStruct<{
531
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
532
532
  length: number;
533
533
  }, string>;
534
534
  }, string>;
535
535
  }, string>;
536
- config: import("@mysten/sui/bcs").BcsStruct<{
537
- element: import("@mysten/sui/bcs").BcsStruct<{
538
- vec: import("@mysten/sui/bcs").BcsType<{
536
+ config: import("@mysten/bcs").BcsStruct<{
537
+ element: import("@mysten/bcs").BcsStruct<{
538
+ vec: import("@mysten/bcs").BcsType<{
539
539
  open_ltv_pct: number;
540
540
  close_ltv_pct: number;
541
541
  max_close_ltv_pct: number;
@@ -598,42 +598,42 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
598
598
  }, string>;
599
599
  }, string>;
600
600
  }, string>;
601
- mint_decimals: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
602
- price_identifier: import("@mysten/sui/bcs").BcsStruct<{
603
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
601
+ mint_decimals: import("@mysten/bcs").BcsType<number, number, "u8">;
602
+ price_identifier: import("@mysten/bcs").BcsStruct<{
603
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
604
604
  length: number;
605
605
  }, string>;
606
606
  }, string>;
607
- price: import("@mysten/sui/bcs").BcsStruct<{
608
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
607
+ price: import("@mysten/bcs").BcsStruct<{
608
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
609
609
  }, string>;
610
- smoothed_price: import("@mysten/sui/bcs").BcsStruct<{
611
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
610
+ smoothed_price: import("@mysten/bcs").BcsStruct<{
611
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
612
612
  }, string>;
613
- price_last_update_timestamp_s: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
614
- available_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
615
- ctoken_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
616
- borrowed_amount: import("@mysten/sui/bcs").BcsStruct<{
617
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
613
+ price_last_update_timestamp_s: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
614
+ available_amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
615
+ ctoken_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
616
+ borrowed_amount: import("@mysten/bcs").BcsStruct<{
617
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
618
618
  }, string>;
619
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsStruct<{
620
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
619
+ cumulative_borrow_rate: import("@mysten/bcs").BcsStruct<{
620
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
621
621
  }, string>;
622
- interest_last_update_timestamp_s: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
623
- unclaimed_spread_fees: import("@mysten/sui/bcs").BcsStruct<{
624
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
622
+ interest_last_update_timestamp_s: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
623
+ unclaimed_spread_fees: import("@mysten/bcs").BcsStruct<{
624
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
625
625
  }, string>;
626
- attributed_borrow_value: import("@mysten/sui/bcs").BcsStruct<{
627
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
626
+ attributed_borrow_value: import("@mysten/bcs").BcsStruct<{
627
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
628
628
  }, string>;
629
- deposits_pool_reward_manager: import("@mysten/sui/bcs").BcsStruct<{
630
- id: import("@mysten/sui/bcs").BcsStruct<{
631
- id: import("@mysten/sui/bcs").BcsStruct<{
632
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
629
+ deposits_pool_reward_manager: import("@mysten/bcs").BcsStruct<{
630
+ id: import("@mysten/bcs").BcsStruct<{
631
+ id: import("@mysten/bcs").BcsStruct<{
632
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
633
633
  }, string>;
634
634
  }, string>;
635
- total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
636
- pool_rewards: import("@mysten/sui/bcs").BcsType<{
635
+ total_shares: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
636
+ pool_rewards: import("@mysten/bcs").BcsType<{
637
637
  vec: {
638
638
  id: {
639
639
  id: {
@@ -708,16 +708,16 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
708
708
  }> & {
709
709
  length: number;
710
710
  }, string>;
711
- last_update_time_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
711
+ last_update_time_ms: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
712
712
  }, string>;
713
- borrows_pool_reward_manager: import("@mysten/sui/bcs").BcsStruct<{
714
- id: import("@mysten/sui/bcs").BcsStruct<{
715
- id: import("@mysten/sui/bcs").BcsStruct<{
716
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
713
+ borrows_pool_reward_manager: import("@mysten/bcs").BcsStruct<{
714
+ id: import("@mysten/bcs").BcsStruct<{
715
+ id: import("@mysten/bcs").BcsStruct<{
716
+ bytes: import("@mysten/bcs").BcsType<string, string, string>;
717
717
  }, string>;
718
718
  }, string>;
719
- total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
720
- pool_rewards: import("@mysten/sui/bcs").BcsType<{
719
+ total_shares: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
720
+ pool_rewards: import("@mysten/bcs").BcsType<{
721
721
  vec: {
722
722
  id: {
723
723
  id: {
@@ -792,7 +792,7 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
792
792
  }> & {
793
793
  length: number;
794
794
  }, string>;
795
- last_update_time_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
795
+ last_update_time_ms: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
796
796
  }, string>;
797
797
  }, string>;
798
798
  static fromFields<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, fields: Record<string, any>): Reserve<ToPhantomTypeArgument<P>>;
@@ -1028,7 +1028,7 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
1028
1028
  static fromJSON<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, json: Record<string, any>): Reserve<ToPhantomTypeArgument<P>>;
1029
1029
  static fromSuiParsedData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, content: SuiParsedData): Reserve<ToPhantomTypeArgument<P>>;
1030
1030
  static fromSuiObjectData<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: SuiObjectData): Reserve<ToPhantomTypeArgument<P>>;
1031
- static fetch<P extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: P, id: string): Promise<Reserve<ToPhantomTypeArgument<P>>>;
1031
+ static fetch<P extends PhantomReified<PhantomTypeArgument>>(client: SuiJsonRpcClient, typeArg: P, id: string): Promise<Reserve<ToPhantomTypeArgument<P>>>;
1032
1032
  }
1033
1033
  export declare function isReserveAssetDataEvent(type: string): boolean;
1034
1034
  export interface ReserveAssetDataEventFields {
@@ -1080,51 +1080,51 @@ export declare class ReserveAssetDataEvent implements StructClass {
1080
1080
  static get r(): reified.StructClassReified<ReserveAssetDataEvent, ReserveAssetDataEventFields>;
1081
1081
  static phantom(): PhantomReified<ToTypeStr<ReserveAssetDataEvent>>;
1082
1082
  static get p(): reified.PhantomReified<"0x1f54a9a2d71799553197e9ea24557797c6398d6a65f2d4d3818c9304b75d5e21::reserve::ReserveAssetDataEvent" | "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::reserve::ReserveAssetDataEvent">;
1083
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1084
- lending_market_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
1085
- coin_type: import("@mysten/sui/bcs").BcsStruct<{
1086
- name: import("@mysten/sui/bcs").BcsStruct<{
1087
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1083
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
1084
+ lending_market_id: import("@mysten/bcs").BcsType<string, string, string>;
1085
+ coin_type: import("@mysten/bcs").BcsStruct<{
1086
+ name: import("@mysten/bcs").BcsStruct<{
1087
+ bytes: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
1088
1088
  length: number;
1089
1089
  }, string>;
1090
1090
  }, string>;
1091
1091
  }, string>;
1092
- reserve_id: import("@mysten/sui/bcs").BcsType<string, string, string>;
1093
- available_amount: import("@mysten/sui/bcs").BcsStruct<{
1094
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1092
+ reserve_id: import("@mysten/bcs").BcsType<string, string, string>;
1093
+ available_amount: import("@mysten/bcs").BcsStruct<{
1094
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1095
1095
  }, string>;
1096
- supply_amount: import("@mysten/sui/bcs").BcsStruct<{
1097
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1096
+ supply_amount: import("@mysten/bcs").BcsStruct<{
1097
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1098
1098
  }, string>;
1099
- borrowed_amount: import("@mysten/sui/bcs").BcsStruct<{
1100
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1099
+ borrowed_amount: import("@mysten/bcs").BcsStruct<{
1100
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1101
1101
  }, string>;
1102
- available_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
1103
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1102
+ available_amount_usd_estimate: import("@mysten/bcs").BcsStruct<{
1103
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1104
1104
  }, string>;
1105
- supply_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
1106
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1105
+ supply_amount_usd_estimate: import("@mysten/bcs").BcsStruct<{
1106
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1107
1107
  }, string>;
1108
- borrowed_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
1109
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1108
+ borrowed_amount_usd_estimate: import("@mysten/bcs").BcsStruct<{
1109
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1110
1110
  }, string>;
1111
- borrow_apr: import("@mysten/sui/bcs").BcsStruct<{
1112
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1111
+ borrow_apr: import("@mysten/bcs").BcsStruct<{
1112
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1113
1113
  }, string>;
1114
- supply_apr: import("@mysten/sui/bcs").BcsStruct<{
1115
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1114
+ supply_apr: import("@mysten/bcs").BcsStruct<{
1115
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1116
1116
  }, string>;
1117
- ctoken_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1118
- cumulative_borrow_rate: import("@mysten/sui/bcs").BcsStruct<{
1119
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1117
+ ctoken_supply: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
1118
+ cumulative_borrow_rate: import("@mysten/bcs").BcsStruct<{
1119
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1120
1120
  }, string>;
1121
- price: import("@mysten/sui/bcs").BcsStruct<{
1122
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1121
+ price: import("@mysten/bcs").BcsStruct<{
1122
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1123
1123
  }, string>;
1124
- smoothed_price: import("@mysten/sui/bcs").BcsStruct<{
1125
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
1124
+ smoothed_price: import("@mysten/bcs").BcsStruct<{
1125
+ value: import("@mysten/bcs").BcsType<string, string | number | bigint, "u256">;
1126
1126
  }, string>;
1127
- price_last_update_timestamp_s: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1127
+ price_last_update_timestamp_s: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
1128
1128
  }, string>;
1129
1129
  static fromFields(fields: Record<string, any>): ReserveAssetDataEvent;
1130
1130
  static fromFieldsWithTypes(item: FieldsWithTypes): ReserveAssetDataEvent;
@@ -1219,7 +1219,7 @@ export declare class ReserveAssetDataEvent implements StructClass {
1219
1219
  static fromJSON(json: Record<string, any>): ReserveAssetDataEvent;
1220
1220
  static fromSuiParsedData(content: SuiParsedData): ReserveAssetDataEvent;
1221
1221
  static fromSuiObjectData(data: SuiObjectData): ReserveAssetDataEvent;
1222
- static fetch(client: SuiClient, id: string): Promise<ReserveAssetDataEvent>;
1222
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<ReserveAssetDataEvent>;
1223
1223
  }
1224
1224
  export declare function isStakerKey(type: string): boolean;
1225
1225
  export interface StakerKeyFields {
@@ -1241,8 +1241,8 @@ export declare class StakerKey implements StructClass {
1241
1241
  static get r(): reified.StructClassReified<StakerKey, StakerKeyFields>;
1242
1242
  static phantom(): PhantomReified<ToTypeStr<StakerKey>>;
1243
1243
  static get p(): reified.PhantomReified<"0xe5ed361add4433f4d23e56fc0e3bacab39b93592d5e65d508e33fd19ff696669::reserve::StakerKey" | "0x5b54b47971238403d6ade3c8c2cc75814cb55145a5184af916bb5b12aaf184cb::reserve::StakerKey">;
1244
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1245
- dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1244
+ static get bcs(): import("@mysten/bcs").BcsStruct<{
1245
+ dummy_field: import("@mysten/bcs").BcsType<boolean, boolean, "bool">;
1246
1246
  }, string>;
1247
1247
  static fromFields(fields: Record<string, any>): StakerKey;
1248
1248
  static fromFieldsWithTypes(item: FieldsWithTypes): StakerKey;
@@ -1259,5 +1259,5 @@ export declare class StakerKey implements StructClass {
1259
1259
  static fromJSON(json: Record<string, any>): StakerKey;
1260
1260
  static fromSuiParsedData(content: SuiParsedData): StakerKey;
1261
1261
  static fromSuiObjectData(data: SuiObjectData): StakerKey;
1262
- static fetch(client: SuiClient, id: string): Promise<StakerKey>;
1262
+ static fetch(client: SuiJsonRpcClient, id: string): Promise<StakerKey>;
1263
1263
  }