@suilend/sdk 1.1.85 → 1.1.86
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.
- package/_generated/_dependencies/source/0x1/ascii/structs.d.ts +7 -11
- package/_generated/_dependencies/source/0x1/option/structs.d.ts +4 -6
- package/_generated/_dependencies/source/0x1/type-name/structs.d.ts +6 -10
- package/_generated/_dependencies/source/0x2/bag/structs.d.ts +8 -15
- package/_generated/_dependencies/source/0x2/balance/structs.d.ts +6 -10
- package/_generated/_dependencies/source/0x2/object/structs.d.ts +8 -14
- package/_generated/_dependencies/source/0x2/object-table/structs.d.ts +8 -15
- package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/i64/structs.d.ts +4 -7
- package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price/structs.d.ts +12 -23
- package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-feed/structs.d.ts +30 -58
- package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-identifier/structs.d.ts +4 -6
- package/_generated/_dependencies/source/0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e/price-info/structs.d.ts +75 -146
- package/_generated/_framework/util.d.ts +4 -16
- package/_generated/_framework/vector.d.ts +12 -5
- package/_generated/suilend/cell/structs.d.ts +6 -10
- package/_generated/suilend/decimal/structs.d.ts +3 -5
- package/_generated/suilend/lending-market/structs.d.ts +392 -368
- package/_generated/suilend/liquidity-mining/structs.d.ts +160 -134
- package/_generated/suilend/obligation/structs.d.ts +217 -332
- package/_generated/suilend/rate-limiter/structs.d.ts +17 -32
- package/_generated/suilend/reserve/structs.d.ts +393 -383
- package/_generated/suilend/reserve-config/structs.d.ts +40 -76
- package/client.d.ts +1 -1
- package/client.js +2 -2
- package/lib/initialize.d.ts +1 -2
- package/lib/initialize.js +62 -54
- package/lib/strategyOwnerCap.js +24 -16
- package/lib/types.d.ts +0 -1
- package/package.json +1 -1
- package/parsers/lendingMarket.d.ts +0 -1
- package/parsers/lendingMarket.js +2 -3
|
@@ -31,11 +31,9 @@ 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").
|
|
35
|
-
dummy_field: boolean
|
|
36
|
-
},
|
|
37
|
-
dummy_field: boolean;
|
|
38
|
-
}>;
|
|
34
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
35
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
36
|
+
}, string>;
|
|
39
37
|
static fromFields(fields: Record<string, any>): BalanceKey;
|
|
40
38
|
static fromFieldsWithTypes(item: FieldsWithTypes): BalanceKey;
|
|
41
39
|
static fromBcs(data: Uint8Array): BalanceKey;
|
|
@@ -81,39 +79,23 @@ export declare class Balances<P extends PhantomTypeArgument, T extends PhantomTy
|
|
|
81
79
|
static get r(): typeof Balances.reified;
|
|
82
80
|
static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
|
|
83
81
|
static get p(): typeof Balances.phantom;
|
|
84
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
85
|
-
available_amount: {
|
|
86
|
-
value: string
|
|
87
|
-
}
|
|
88
|
-
ctoken_supply: {
|
|
89
|
-
value: string
|
|
90
|
-
}
|
|
91
|
-
fees: {
|
|
92
|
-
value: string
|
|
93
|
-
}
|
|
94
|
-
ctoken_fees: {
|
|
95
|
-
value: string
|
|
96
|
-
}
|
|
97
|
-
deposited_ctokens: {
|
|
98
|
-
value: string
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
available_amount: {
|
|
102
|
-
value: string | number | bigint;
|
|
103
|
-
};
|
|
104
|
-
ctoken_supply: {
|
|
105
|
-
value: string | number | bigint;
|
|
106
|
-
};
|
|
107
|
-
fees: {
|
|
108
|
-
value: string | number | bigint;
|
|
109
|
-
};
|
|
110
|
-
ctoken_fees: {
|
|
111
|
-
value: string | number | bigint;
|
|
112
|
-
};
|
|
113
|
-
deposited_ctokens: {
|
|
114
|
-
value: string | number | bigint;
|
|
115
|
-
};
|
|
116
|
-
}>;
|
|
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">;
|
|
85
|
+
}, string>;
|
|
86
|
+
ctoken_supply: import("@mysten/sui/bcs").BcsStruct<{
|
|
87
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
88
|
+
}, string>;
|
|
89
|
+
fees: import("@mysten/sui/bcs").BcsStruct<{
|
|
90
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
91
|
+
}, string>;
|
|
92
|
+
ctoken_fees: import("@mysten/sui/bcs").BcsStruct<{
|
|
93
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
+
}, string>;
|
|
95
|
+
deposited_ctokens: import("@mysten/sui/bcs").BcsStruct<{
|
|
96
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
97
|
+
}, string>;
|
|
98
|
+
}, string>;
|
|
117
99
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
118
100
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], item: FieldsWithTypes): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
119
101
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: Uint8Array): Balances<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
@@ -179,11 +161,9 @@ export declare class CToken<P extends PhantomTypeArgument, T extends PhantomType
|
|
|
179
161
|
static get r(): typeof CToken.reified;
|
|
180
162
|
static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
|
|
181
163
|
static get p(): typeof CToken.phantom;
|
|
182
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
183
|
-
dummy_field: boolean
|
|
184
|
-
},
|
|
185
|
-
dummy_field: boolean;
|
|
186
|
-
}>;
|
|
164
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
165
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
166
|
+
}, string>;
|
|
187
167
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
188
168
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], item: FieldsWithTypes): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
189
169
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: Uint8Array): CToken<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
@@ -227,27 +207,18 @@ export declare class ClaimStakingRewardsEvent implements StructClass {
|
|
|
227
207
|
static get r(): reified.StructClassReified<ClaimStakingRewardsEvent, ClaimStakingRewardsEventFields>;
|
|
228
208
|
static phantom(): PhantomReified<ToTypeStr<ClaimStakingRewardsEvent>>;
|
|
229
209
|
static get p(): reified.PhantomReified<"0xe5ed361add4433f4d23e56fc0e3bacab39b93592d5e65d508e33fd19ff696669::reserve::ClaimStakingRewardsEvent" | "0x5b54b47971238403d6ade3c8c2cc75814cb55145a5184af916bb5b12aaf184cb::reserve::ClaimStakingRewardsEvent">;
|
|
230
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
231
|
-
lending_market_id: string
|
|
232
|
-
coin_type: {
|
|
233
|
-
name: {
|
|
234
|
-
bytes: number[]
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
reserve_id: string;
|
|
238
|
-
amount: string;
|
|
239
|
-
}, {
|
|
240
|
-
lending_market_id: string;
|
|
241
|
-
coin_type: {
|
|
242
|
-
name: {
|
|
243
|
-
bytes: Iterable<number> & {
|
|
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> & {
|
|
244
215
|
length: number;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
reserve_id: string
|
|
249
|
-
amount: string | number | bigint
|
|
250
|
-
}>;
|
|
216
|
+
}, string>;
|
|
217
|
+
}, string>;
|
|
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">;
|
|
221
|
+
}, string>;
|
|
251
222
|
static fromFields(fields: Record<string, any>): ClaimStakingRewardsEvent;
|
|
252
223
|
static fromFieldsWithTypes(item: FieldsWithTypes): ClaimStakingRewardsEvent;
|
|
253
224
|
static fromBcs(data: Uint8Array): ClaimStakingRewardsEvent;
|
|
@@ -321,83 +292,46 @@ export declare class InterestUpdateEvent implements StructClass {
|
|
|
321
292
|
static get r(): reified.StructClassReified<InterestUpdateEvent, InterestUpdateEventFields>;
|
|
322
293
|
static phantom(): PhantomReified<ToTypeStr<InterestUpdateEvent>>;
|
|
323
294
|
static get p(): reified.PhantomReified<"0x1f54a9a2d71799553197e9ea24557797c6398d6a65f2d4d3818c9304b75d5e21::reserve::InterestUpdateEvent" | "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::reserve::InterestUpdateEvent">;
|
|
324
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
325
|
-
lending_market_id: string
|
|
326
|
-
coin_type: {
|
|
327
|
-
name: {
|
|
328
|
-
bytes: number[]
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
reserve_id: string;
|
|
332
|
-
cumulative_borrow_rate: {
|
|
333
|
-
value: string;
|
|
334
|
-
};
|
|
335
|
-
available_amount: string;
|
|
336
|
-
borrowed_amount: {
|
|
337
|
-
value: string;
|
|
338
|
-
};
|
|
339
|
-
unclaimed_spread_fees: {
|
|
340
|
-
value: string;
|
|
341
|
-
};
|
|
342
|
-
ctoken_supply: string;
|
|
343
|
-
borrow_interest_paid: {
|
|
344
|
-
value: string;
|
|
345
|
-
};
|
|
346
|
-
spread_fee: {
|
|
347
|
-
value: string;
|
|
348
|
-
};
|
|
349
|
-
supply_interest_earned: {
|
|
350
|
-
value: string;
|
|
351
|
-
};
|
|
352
|
-
borrow_interest_paid_usd_estimate: {
|
|
353
|
-
value: string;
|
|
354
|
-
};
|
|
355
|
-
protocol_fee_usd_estimate: {
|
|
356
|
-
value: string;
|
|
357
|
-
};
|
|
358
|
-
supply_interest_earned_usd_estimate: {
|
|
359
|
-
value: string;
|
|
360
|
-
};
|
|
361
|
-
}, {
|
|
362
|
-
lending_market_id: string;
|
|
363
|
-
coin_type: {
|
|
364
|
-
name: {
|
|
365
|
-
bytes: Iterable<number> & {
|
|
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> & {
|
|
366
300
|
length: number;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
reserve_id: string
|
|
371
|
-
cumulative_borrow_rate: {
|
|
372
|
-
value: string | number | bigint
|
|
373
|
-
}
|
|
374
|
-
available_amount: string | number | bigint
|
|
375
|
-
borrowed_amount: {
|
|
376
|
-
value: string | number | bigint
|
|
377
|
-
}
|
|
378
|
-
unclaimed_spread_fees: {
|
|
379
|
-
value: string | number | bigint
|
|
380
|
-
}
|
|
381
|
-
ctoken_supply: string | number | bigint
|
|
382
|
-
borrow_interest_paid: {
|
|
383
|
-
value: string | number | bigint
|
|
384
|
-
}
|
|
385
|
-
spread_fee: {
|
|
386
|
-
value: string | number | bigint
|
|
387
|
-
}
|
|
388
|
-
supply_interest_earned: {
|
|
389
|
-
value: string | number | bigint
|
|
390
|
-
}
|
|
391
|
-
borrow_interest_paid_usd_estimate: {
|
|
392
|
-
value: string | number | bigint
|
|
393
|
-
}
|
|
394
|
-
protocol_fee_usd_estimate: {
|
|
395
|
-
value: string | number | bigint
|
|
396
|
-
}
|
|
397
|
-
supply_interest_earned_usd_estimate: {
|
|
398
|
-
value: string | number | bigint
|
|
399
|
-
}
|
|
400
|
-
}>;
|
|
301
|
+
}, string>;
|
|
302
|
+
}, string>;
|
|
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">;
|
|
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">;
|
|
311
|
+
}, string>;
|
|
312
|
+
unclaimed_spread_fees: import("@mysten/sui/bcs").BcsStruct<{
|
|
313
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
318
|
+
}, string>;
|
|
319
|
+
spread_fee: import("@mysten/sui/bcs").BcsStruct<{
|
|
320
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
321
|
+
}, string>;
|
|
322
|
+
supply_interest_earned: import("@mysten/sui/bcs").BcsStruct<{
|
|
323
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
327
|
+
}, string>;
|
|
328
|
+
protocol_fee_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
|
|
329
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
333
|
+
}, string>;
|
|
334
|
+
}, string>;
|
|
401
335
|
static fromFields(fields: Record<string, any>): InterestUpdateEvent;
|
|
402
336
|
static fromFieldsWithTypes(item: FieldsWithTypes): InterestUpdateEvent;
|
|
403
337
|
static fromBcs(data: Uint8Array): InterestUpdateEvent;
|
|
@@ -503,13 +437,10 @@ export declare class LiquidityRequest<P extends PhantomTypeArgument, T extends P
|
|
|
503
437
|
static get r(): typeof LiquidityRequest.reified;
|
|
504
438
|
static phantom<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(P: P, T: T): PhantomReified<ToTypeStr<LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>>>;
|
|
505
439
|
static get p(): typeof LiquidityRequest.phantom;
|
|
506
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
507
|
-
amount: string
|
|
508
|
-
fee: string
|
|
509
|
-
},
|
|
510
|
-
amount: string | number | bigint;
|
|
511
|
-
fee: string | number | bigint;
|
|
512
|
-
}>;
|
|
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">;
|
|
443
|
+
}, string>;
|
|
513
444
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], fields: Record<string, any>): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
514
445
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], item: FieldsWithTypes): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
515
446
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>, T extends PhantomReified<PhantomTypeArgument>>(typeArgs: [P, T], data: Uint8Array): LiquidityRequest<ToPhantomTypeArgument<P>, ToPhantomTypeArgument<T>>;
|
|
@@ -585,161 +516,285 @@ export declare class Reserve<P extends PhantomTypeArgument> implements StructCla
|
|
|
585
516
|
static get r(): typeof Reserve.reified;
|
|
586
517
|
static phantom<P extends PhantomReified<PhantomTypeArgument>>(P: P): PhantomReified<ToTypeStr<Reserve<ToPhantomTypeArgument<P>>>>;
|
|
587
518
|
static get p(): typeof Reserve.phantom;
|
|
588
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
589
|
-
id: {
|
|
590
|
-
id: {
|
|
591
|
-
bytes: string
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
lending_market_id: {
|
|
595
|
-
bytes: string
|
|
596
|
-
}
|
|
597
|
-
array_index: string
|
|
598
|
-
coin_type: {
|
|
599
|
-
name: {
|
|
600
|
-
bytes: number[]
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
|
-
config: {
|
|
604
|
-
element: {
|
|
605
|
-
vec: any[];
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
mint_decimals: number;
|
|
609
|
-
price_identifier: {
|
|
610
|
-
bytes: number[];
|
|
611
|
-
};
|
|
612
|
-
price: {
|
|
613
|
-
value: string;
|
|
614
|
-
};
|
|
615
|
-
smoothed_price: {
|
|
616
|
-
value: string;
|
|
617
|
-
};
|
|
618
|
-
price_last_update_timestamp_s: string;
|
|
619
|
-
available_amount: string;
|
|
620
|
-
ctoken_supply: string;
|
|
621
|
-
borrowed_amount: {
|
|
622
|
-
value: string;
|
|
623
|
-
};
|
|
624
|
-
cumulative_borrow_rate: {
|
|
625
|
-
value: string;
|
|
626
|
-
};
|
|
627
|
-
interest_last_update_timestamp_s: string;
|
|
628
|
-
unclaimed_spread_fees: {
|
|
629
|
-
value: string;
|
|
630
|
-
};
|
|
631
|
-
attributed_borrow_value: {
|
|
632
|
-
value: string;
|
|
633
|
-
};
|
|
634
|
-
deposits_pool_reward_manager: {
|
|
635
|
-
id: {
|
|
636
|
-
id: {
|
|
637
|
-
bytes: string;
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
total_shares: string;
|
|
641
|
-
pool_rewards: {
|
|
642
|
-
vec: any[];
|
|
643
|
-
}[];
|
|
644
|
-
last_update_time_ms: string;
|
|
645
|
-
};
|
|
646
|
-
borrows_pool_reward_manager: {
|
|
647
|
-
id: {
|
|
648
|
-
id: {
|
|
649
|
-
bytes: string;
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
total_shares: string;
|
|
653
|
-
pool_rewards: {
|
|
654
|
-
vec: any[];
|
|
655
|
-
}[];
|
|
656
|
-
last_update_time_ms: string;
|
|
657
|
-
};
|
|
658
|
-
}, {
|
|
659
|
-
id: {
|
|
660
|
-
id: {
|
|
661
|
-
bytes: string;
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
lending_market_id: {
|
|
665
|
-
bytes: string;
|
|
666
|
-
};
|
|
667
|
-
array_index: string | number | bigint;
|
|
668
|
-
coin_type: {
|
|
669
|
-
name: {
|
|
670
|
-
bytes: Iterable<number> & {
|
|
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>;
|
|
523
|
+
}, string>;
|
|
524
|
+
}, string>;
|
|
525
|
+
lending_market_id: import("@mysten/sui/bcs").BcsStruct<{
|
|
526
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
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> & {
|
|
671
532
|
length: number;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
config: {
|
|
676
|
-
element: {
|
|
677
|
-
vec:
|
|
533
|
+
}, string>;
|
|
534
|
+
}, string>;
|
|
535
|
+
}, string>;
|
|
536
|
+
config: import("@mysten/sui/bcs").BcsStruct<{
|
|
537
|
+
element: import("@mysten/sui/bcs").BcsStruct<{
|
|
538
|
+
vec: import("@mysten/sui/bcs").BcsType<{
|
|
539
|
+
open_ltv_pct: number;
|
|
540
|
+
close_ltv_pct: number;
|
|
541
|
+
max_close_ltv_pct: number;
|
|
542
|
+
borrow_weight_bps: string;
|
|
543
|
+
deposit_limit: string;
|
|
544
|
+
borrow_limit: string;
|
|
545
|
+
liquidation_bonus_bps: string;
|
|
546
|
+
max_liquidation_bonus_bps: string;
|
|
547
|
+
deposit_limit_usd: string;
|
|
548
|
+
borrow_limit_usd: string;
|
|
549
|
+
interest_rate_utils: number[];
|
|
550
|
+
interest_rate_aprs: string[];
|
|
551
|
+
borrow_fee_bps: string;
|
|
552
|
+
spread_fee_bps: string;
|
|
553
|
+
protocol_liquidation_fee_bps: string;
|
|
554
|
+
isolated: boolean;
|
|
555
|
+
open_attributed_borrow_limit_usd: string;
|
|
556
|
+
close_attributed_borrow_limit_usd: string;
|
|
557
|
+
additional_fields: {
|
|
558
|
+
id: {
|
|
559
|
+
id: {
|
|
560
|
+
bytes: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
size: string;
|
|
564
|
+
};
|
|
565
|
+
}[], Iterable<{
|
|
566
|
+
open_ltv_pct: number;
|
|
567
|
+
close_ltv_pct: number;
|
|
568
|
+
max_close_ltv_pct: number;
|
|
569
|
+
borrow_weight_bps: string | number | bigint;
|
|
570
|
+
deposit_limit: string | number | bigint;
|
|
571
|
+
borrow_limit: string | number | bigint;
|
|
572
|
+
liquidation_bonus_bps: string | number | bigint;
|
|
573
|
+
max_liquidation_bonus_bps: string | number | bigint;
|
|
574
|
+
deposit_limit_usd: string | number | bigint;
|
|
575
|
+
borrow_limit_usd: string | number | bigint;
|
|
576
|
+
interest_rate_utils: Iterable<number> & {
|
|
577
|
+
length: number;
|
|
578
|
+
};
|
|
579
|
+
interest_rate_aprs: Iterable<string | number | bigint> & {
|
|
580
|
+
length: number;
|
|
581
|
+
};
|
|
582
|
+
borrow_fee_bps: string | number | bigint;
|
|
583
|
+
spread_fee_bps: string | number | bigint;
|
|
584
|
+
protocol_liquidation_fee_bps: string | number | bigint;
|
|
585
|
+
isolated: boolean;
|
|
586
|
+
open_attributed_borrow_limit_usd: string | number | bigint;
|
|
587
|
+
close_attributed_borrow_limit_usd: string | number | bigint;
|
|
588
|
+
additional_fields: {
|
|
589
|
+
id: {
|
|
590
|
+
id: {
|
|
591
|
+
bytes: string;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
size: string | number | bigint;
|
|
595
|
+
};
|
|
596
|
+
}> & {
|
|
678
597
|
length: number;
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
mint_decimals: number
|
|
683
|
-
price_identifier: {
|
|
684
|
-
bytes: Iterable<number> & {
|
|
598
|
+
}, string>;
|
|
599
|
+
}, string>;
|
|
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> & {
|
|
685
604
|
length: number;
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
price: {
|
|
689
|
-
value: string | number | bigint
|
|
690
|
-
}
|
|
691
|
-
smoothed_price: {
|
|
692
|
-
value: string | number | bigint
|
|
693
|
-
}
|
|
694
|
-
price_last_update_timestamp_s: string | number | bigint
|
|
695
|
-
available_amount: string | number | bigint
|
|
696
|
-
ctoken_supply: string | number | bigint
|
|
697
|
-
borrowed_amount: {
|
|
698
|
-
value: string | number | bigint
|
|
699
|
-
}
|
|
700
|
-
cumulative_borrow_rate: {
|
|
701
|
-
value: string | number | bigint
|
|
702
|
-
}
|
|
703
|
-
interest_last_update_timestamp_s: string | number | bigint
|
|
704
|
-
unclaimed_spread_fees: {
|
|
705
|
-
value: string | number | bigint
|
|
706
|
-
}
|
|
707
|
-
attributed_borrow_value: {
|
|
708
|
-
value: string | number | bigint
|
|
709
|
-
}
|
|
710
|
-
deposits_pool_reward_manager: {
|
|
711
|
-
id: {
|
|
712
|
-
id: {
|
|
713
|
-
bytes: string
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
total_shares: string | number | bigint
|
|
717
|
-
pool_rewards:
|
|
718
|
-
vec:
|
|
605
|
+
}, string>;
|
|
606
|
+
}, string>;
|
|
607
|
+
price: import("@mysten/sui/bcs").BcsStruct<{
|
|
608
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
609
|
+
}, string>;
|
|
610
|
+
smoothed_price: import("@mysten/sui/bcs").BcsStruct<{
|
|
611
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
618
|
+
}, string>;
|
|
619
|
+
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsStruct<{
|
|
620
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
625
|
+
}, string>;
|
|
626
|
+
attributed_borrow_value: import("@mysten/sui/bcs").BcsStruct<{
|
|
627
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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>;
|
|
633
|
+
}, string>;
|
|
634
|
+
}, string>;
|
|
635
|
+
total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
636
|
+
pool_rewards: import("@mysten/sui/bcs").BcsType<{
|
|
637
|
+
vec: {
|
|
638
|
+
id: {
|
|
639
|
+
id: {
|
|
640
|
+
bytes: string;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
pool_reward_manager_id: {
|
|
644
|
+
bytes: string;
|
|
645
|
+
};
|
|
646
|
+
coin_type: {
|
|
647
|
+
name: {
|
|
648
|
+
bytes: number[];
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
start_time_ms: string;
|
|
652
|
+
end_time_ms: string;
|
|
653
|
+
total_rewards: string;
|
|
654
|
+
allocated_rewards: {
|
|
655
|
+
value: string;
|
|
656
|
+
};
|
|
657
|
+
cumulative_rewards_per_share: {
|
|
658
|
+
value: string;
|
|
659
|
+
};
|
|
660
|
+
num_user_reward_managers: string;
|
|
661
|
+
additional_fields: {
|
|
662
|
+
id: {
|
|
663
|
+
id: {
|
|
664
|
+
bytes: string;
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
size: string;
|
|
668
|
+
};
|
|
669
|
+
}[];
|
|
670
|
+
}[], Iterable<{
|
|
671
|
+
vec: Iterable<{
|
|
672
|
+
id: {
|
|
673
|
+
id: {
|
|
674
|
+
bytes: string;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
pool_reward_manager_id: {
|
|
678
|
+
bytes: string;
|
|
679
|
+
};
|
|
680
|
+
coin_type: {
|
|
681
|
+
name: {
|
|
682
|
+
bytes: Iterable<number> & {
|
|
683
|
+
length: number;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
start_time_ms: string | number | bigint;
|
|
688
|
+
end_time_ms: string | number | bigint;
|
|
689
|
+
total_rewards: string | number | bigint;
|
|
690
|
+
allocated_rewards: {
|
|
691
|
+
value: string | number | bigint;
|
|
692
|
+
};
|
|
693
|
+
cumulative_rewards_per_share: {
|
|
694
|
+
value: string | number | bigint;
|
|
695
|
+
};
|
|
696
|
+
num_user_reward_managers: string | number | bigint;
|
|
697
|
+
additional_fields: {
|
|
698
|
+
id: {
|
|
699
|
+
id: {
|
|
700
|
+
bytes: string;
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
size: string | number | bigint;
|
|
704
|
+
};
|
|
705
|
+
}> & {
|
|
719
706
|
length: number;
|
|
720
707
|
};
|
|
721
708
|
}> & {
|
|
722
709
|
length: number;
|
|
723
|
-
}
|
|
724
|
-
last_update_time_ms: string | number | bigint
|
|
725
|
-
}
|
|
726
|
-
borrows_pool_reward_manager: {
|
|
727
|
-
id: {
|
|
728
|
-
id: {
|
|
729
|
-
bytes: string
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
total_shares: string | number | bigint
|
|
733
|
-
pool_rewards:
|
|
734
|
-
vec:
|
|
710
|
+
}, string>;
|
|
711
|
+
last_update_time_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
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>;
|
|
717
|
+
}, string>;
|
|
718
|
+
}, string>;
|
|
719
|
+
total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
720
|
+
pool_rewards: import("@mysten/sui/bcs").BcsType<{
|
|
721
|
+
vec: {
|
|
722
|
+
id: {
|
|
723
|
+
id: {
|
|
724
|
+
bytes: string;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
pool_reward_manager_id: {
|
|
728
|
+
bytes: string;
|
|
729
|
+
};
|
|
730
|
+
coin_type: {
|
|
731
|
+
name: {
|
|
732
|
+
bytes: number[];
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
start_time_ms: string;
|
|
736
|
+
end_time_ms: string;
|
|
737
|
+
total_rewards: string;
|
|
738
|
+
allocated_rewards: {
|
|
739
|
+
value: string;
|
|
740
|
+
};
|
|
741
|
+
cumulative_rewards_per_share: {
|
|
742
|
+
value: string;
|
|
743
|
+
};
|
|
744
|
+
num_user_reward_managers: string;
|
|
745
|
+
additional_fields: {
|
|
746
|
+
id: {
|
|
747
|
+
id: {
|
|
748
|
+
bytes: string;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
size: string;
|
|
752
|
+
};
|
|
753
|
+
}[];
|
|
754
|
+
}[], Iterable<{
|
|
755
|
+
vec: Iterable<{
|
|
756
|
+
id: {
|
|
757
|
+
id: {
|
|
758
|
+
bytes: string;
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
pool_reward_manager_id: {
|
|
762
|
+
bytes: string;
|
|
763
|
+
};
|
|
764
|
+
coin_type: {
|
|
765
|
+
name: {
|
|
766
|
+
bytes: Iterable<number> & {
|
|
767
|
+
length: number;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
start_time_ms: string | number | bigint;
|
|
772
|
+
end_time_ms: string | number | bigint;
|
|
773
|
+
total_rewards: string | number | bigint;
|
|
774
|
+
allocated_rewards: {
|
|
775
|
+
value: string | number | bigint;
|
|
776
|
+
};
|
|
777
|
+
cumulative_rewards_per_share: {
|
|
778
|
+
value: string | number | bigint;
|
|
779
|
+
};
|
|
780
|
+
num_user_reward_managers: string | number | bigint;
|
|
781
|
+
additional_fields: {
|
|
782
|
+
id: {
|
|
783
|
+
id: {
|
|
784
|
+
bytes: string;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
size: string | number | bigint;
|
|
788
|
+
};
|
|
789
|
+
}> & {
|
|
735
790
|
length: number;
|
|
736
791
|
};
|
|
737
792
|
}> & {
|
|
738
793
|
length: number;
|
|
739
|
-
}
|
|
740
|
-
last_update_time_ms: string | number | bigint
|
|
741
|
-
}
|
|
742
|
-
}>;
|
|
794
|
+
}, string>;
|
|
795
|
+
last_update_time_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
796
|
+
}, string>;
|
|
797
|
+
}, string>;
|
|
743
798
|
static fromFields<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, fields: Record<string, any>): Reserve<ToPhantomTypeArgument<P>>;
|
|
744
799
|
static fromFieldsWithTypes<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, item: FieldsWithTypes): Reserve<ToPhantomTypeArgument<P>>;
|
|
745
800
|
static fromBcs<P extends PhantomReified<PhantomTypeArgument>>(typeArg: P, data: Uint8Array): Reserve<ToPhantomTypeArgument<P>>;
|
|
@@ -1025,95 +1080,52 @@ export declare class ReserveAssetDataEvent implements StructClass {
|
|
|
1025
1080
|
static get r(): reified.StructClassReified<ReserveAssetDataEvent, ReserveAssetDataEventFields>;
|
|
1026
1081
|
static phantom(): PhantomReified<ToTypeStr<ReserveAssetDataEvent>>;
|
|
1027
1082
|
static get p(): reified.PhantomReified<"0x1f54a9a2d71799553197e9ea24557797c6398d6a65f2d4d3818c9304b75d5e21::reserve::ReserveAssetDataEvent" | "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::reserve::ReserveAssetDataEvent">;
|
|
1028
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1029
|
-
lending_market_id: string
|
|
1030
|
-
coin_type: {
|
|
1031
|
-
name: {
|
|
1032
|
-
bytes: number[]
|
|
1033
|
-
};
|
|
1034
|
-
};
|
|
1035
|
-
reserve_id: string;
|
|
1036
|
-
available_amount: {
|
|
1037
|
-
value: string;
|
|
1038
|
-
};
|
|
1039
|
-
supply_amount: {
|
|
1040
|
-
value: string;
|
|
1041
|
-
};
|
|
1042
|
-
borrowed_amount: {
|
|
1043
|
-
value: string;
|
|
1044
|
-
};
|
|
1045
|
-
available_amount_usd_estimate: {
|
|
1046
|
-
value: string;
|
|
1047
|
-
};
|
|
1048
|
-
supply_amount_usd_estimate: {
|
|
1049
|
-
value: string;
|
|
1050
|
-
};
|
|
1051
|
-
borrowed_amount_usd_estimate: {
|
|
1052
|
-
value: string;
|
|
1053
|
-
};
|
|
1054
|
-
borrow_apr: {
|
|
1055
|
-
value: string;
|
|
1056
|
-
};
|
|
1057
|
-
supply_apr: {
|
|
1058
|
-
value: string;
|
|
1059
|
-
};
|
|
1060
|
-
ctoken_supply: string;
|
|
1061
|
-
cumulative_borrow_rate: {
|
|
1062
|
-
value: string;
|
|
1063
|
-
};
|
|
1064
|
-
price: {
|
|
1065
|
-
value: string;
|
|
1066
|
-
};
|
|
1067
|
-
smoothed_price: {
|
|
1068
|
-
value: string;
|
|
1069
|
-
};
|
|
1070
|
-
price_last_update_timestamp_s: string;
|
|
1071
|
-
}, {
|
|
1072
|
-
lending_market_id: string;
|
|
1073
|
-
coin_type: {
|
|
1074
|
-
name: {
|
|
1075
|
-
bytes: Iterable<number> & {
|
|
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> & {
|
|
1076
1088
|
length: number;
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
reserve_id: string
|
|
1081
|
-
available_amount: {
|
|
1082
|
-
value: string | number | bigint
|
|
1083
|
-
}
|
|
1084
|
-
supply_amount: {
|
|
1085
|
-
value: string | number | bigint
|
|
1086
|
-
}
|
|
1087
|
-
borrowed_amount: {
|
|
1088
|
-
value: string | number | bigint
|
|
1089
|
-
}
|
|
1090
|
-
available_amount_usd_estimate: {
|
|
1091
|
-
value: string | number | bigint
|
|
1092
|
-
}
|
|
1093
|
-
supply_amount_usd_estimate: {
|
|
1094
|
-
value: string | number | bigint
|
|
1095
|
-
}
|
|
1096
|
-
borrowed_amount_usd_estimate: {
|
|
1097
|
-
value: string | number | bigint
|
|
1098
|
-
}
|
|
1099
|
-
borrow_apr: {
|
|
1100
|
-
value: string | number | bigint
|
|
1101
|
-
}
|
|
1102
|
-
supply_apr: {
|
|
1103
|
-
value: string | number | bigint
|
|
1104
|
-
}
|
|
1105
|
-
ctoken_supply: string | number | bigint
|
|
1106
|
-
cumulative_borrow_rate: {
|
|
1107
|
-
value: string | number | bigint
|
|
1108
|
-
}
|
|
1109
|
-
price: {
|
|
1110
|
-
value: string | number | bigint
|
|
1111
|
-
}
|
|
1112
|
-
smoothed_price: {
|
|
1113
|
-
value: string | number | bigint
|
|
1114
|
-
}
|
|
1115
|
-
price_last_update_timestamp_s: string | number | bigint
|
|
1116
|
-
}>;
|
|
1089
|
+
}, string>;
|
|
1090
|
+
}, string>;
|
|
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">;
|
|
1095
|
+
}, string>;
|
|
1096
|
+
supply_amount: import("@mysten/sui/bcs").BcsStruct<{
|
|
1097
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1098
|
+
}, string>;
|
|
1099
|
+
borrowed_amount: import("@mysten/sui/bcs").BcsStruct<{
|
|
1100
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1101
|
+
}, string>;
|
|
1102
|
+
available_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
|
|
1103
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1104
|
+
}, string>;
|
|
1105
|
+
supply_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
|
|
1106
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1107
|
+
}, string>;
|
|
1108
|
+
borrowed_amount_usd_estimate: import("@mysten/sui/bcs").BcsStruct<{
|
|
1109
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1110
|
+
}, string>;
|
|
1111
|
+
borrow_apr: import("@mysten/sui/bcs").BcsStruct<{
|
|
1112
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1113
|
+
}, string>;
|
|
1114
|
+
supply_apr: import("@mysten/sui/bcs").BcsStruct<{
|
|
1115
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
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">;
|
|
1120
|
+
}, string>;
|
|
1121
|
+
price: import("@mysten/sui/bcs").BcsStruct<{
|
|
1122
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1123
|
+
}, string>;
|
|
1124
|
+
smoothed_price: import("@mysten/sui/bcs").BcsStruct<{
|
|
1125
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u256">;
|
|
1126
|
+
}, string>;
|
|
1127
|
+
price_last_update_timestamp_s: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1128
|
+
}, string>;
|
|
1117
1129
|
static fromFields(fields: Record<string, any>): ReserveAssetDataEvent;
|
|
1118
1130
|
static fromFieldsWithTypes(item: FieldsWithTypes): ReserveAssetDataEvent;
|
|
1119
1131
|
static fromBcs(data: Uint8Array): ReserveAssetDataEvent;
|
|
@@ -1229,11 +1241,9 @@ export declare class StakerKey implements StructClass {
|
|
|
1229
1241
|
static get r(): reified.StructClassReified<StakerKey, StakerKeyFields>;
|
|
1230
1242
|
static phantom(): PhantomReified<ToTypeStr<StakerKey>>;
|
|
1231
1243
|
static get p(): reified.PhantomReified<"0xe5ed361add4433f4d23e56fc0e3bacab39b93592d5e65d508e33fd19ff696669::reserve::StakerKey" | "0x5b54b47971238403d6ade3c8c2cc75814cb55145a5184af916bb5b12aaf184cb::reserve::StakerKey">;
|
|
1232
|
-
static get bcs(): import("@mysten/sui/bcs").
|
|
1233
|
-
dummy_field: boolean
|
|
1234
|
-
},
|
|
1235
|
-
dummy_field: boolean;
|
|
1236
|
-
}>;
|
|
1244
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
1245
|
+
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
1246
|
+
}, string>;
|
|
1237
1247
|
static fromFields(fields: Record<string, any>): StakerKey;
|
|
1238
1248
|
static fromFieldsWithTypes(item: FieldsWithTypes): StakerKey;
|
|
1239
1249
|
static fromBcs(data: Uint8Array): StakerKey;
|