@huma-finance/soroban-pool-storage 0.0.15 → 0.0.16

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.
@@ -0,0 +1,1088 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { Buffer } from "buffer";
4
+ import { AssembledTransaction, Client as ContractClient, ClientOptions as ContractClientOptions } from "@stellar/stellar-sdk/contract";
5
+ import type { u32, u64, u128, Option } from "@stellar/stellar-sdk/contract";
6
+ export * from "@stellar/stellar-sdk";
7
+ export * as contract from "@stellar/stellar-sdk/contract";
8
+ export * as rpc from "@stellar/stellar-sdk/rpc";
9
+ export declare const networks: {
10
+ readonly unknown: {
11
+ readonly networkPassphrase: "Public Global Stellar Network ; September 2015";
12
+ readonly contractId: "CBIJ2WP7TTSMINHJRUX52YR2T3YOD7T2X4335PW3DS4GIOOJ5JQT5WF2";
13
+ };
14
+ };
15
+ export declare const Errors: {
16
+ 201: {
17
+ message: string;
18
+ };
19
+ 202: {
20
+ message: string;
21
+ };
22
+ 203: {
23
+ message: string;
24
+ };
25
+ 204: {
26
+ message: string;
27
+ };
28
+ 801: {
29
+ message: string;
30
+ };
31
+ 1: {
32
+ message: string;
33
+ };
34
+ 2: {
35
+ message: string;
36
+ };
37
+ 3: {
38
+ message: string;
39
+ };
40
+ 4: {
41
+ message: string;
42
+ };
43
+ 5: {
44
+ message: string;
45
+ };
46
+ 6: {
47
+ message: string;
48
+ };
49
+ 7: {
50
+ message: string;
51
+ };
52
+ };
53
+ export interface YieldTrackerRefreshedEvent {
54
+ last_updated_date: u64;
55
+ total_assets: u128;
56
+ unpaid_yield: u128;
57
+ }
58
+ export type FixedSeniorYieldTranchesPolicyDataKey = {
59
+ tag: "SeniorYieldTracker";
60
+ values: void;
61
+ };
62
+ export interface SeniorYieldTracker {
63
+ last_updated_date: u64;
64
+ total_assets: u128;
65
+ unpaid_yield: u128;
66
+ }
67
+ export interface FixedSeniorYieldTranchesPolicy {
68
+ placeholder: boolean;
69
+ }
70
+ export interface RiskAdjustedTranchesPolicy {
71
+ placeholder: boolean;
72
+ }
73
+ export type PayPeriodDuration = {
74
+ tag: "Monthly";
75
+ values: void;
76
+ } | {
77
+ tag: "Quarterly";
78
+ values: void;
79
+ } | {
80
+ tag: "SemiAnnually";
81
+ values: void;
82
+ };
83
+ export type TranchesPolicyType = {
84
+ tag: "FixedSeniorYield";
85
+ values: void;
86
+ } | {
87
+ tag: "RiskAdjusted";
88
+ values: void;
89
+ };
90
+ export interface PoolSettings {
91
+ default_grace_period_days: u32;
92
+ late_payment_grace_period_days: u32;
93
+ max_credit_line: u128;
94
+ min_deposit_amount: u128;
95
+ pay_period_duration: PayPeriodDuration;
96
+ principal_only_payment_allowed: boolean;
97
+ }
98
+ export interface LPConfig {
99
+ auto_redemption_after_lockup: boolean;
100
+ fixed_senior_yield_bps: u32;
101
+ liquidity_cap: u128;
102
+ max_senior_junior_ratio: u32;
103
+ tranches_risk_adjustment_bps: u32;
104
+ withdrawal_lockout_period_days: u32;
105
+ }
106
+ export interface FeeStructure {
107
+ front_loading_fee_bps: u32;
108
+ front_loading_fee_flat: u128;
109
+ late_fee_bps: u32;
110
+ yield_bps: u32;
111
+ }
112
+ export type PoolStatus = {
113
+ tag: "Off";
114
+ values: void;
115
+ } | {
116
+ tag: "On";
117
+ values: void;
118
+ } | {
119
+ tag: "Closed";
120
+ values: void;
121
+ };
122
+ export interface Epoch {
123
+ end_time: u64;
124
+ id: u64;
125
+ }
126
+ export interface AdminRnR {
127
+ liquidity_rate_bps_ea: u32;
128
+ liquidity_rate_bps_pool_owner: u32;
129
+ reward_rate_bps_ea: u32;
130
+ reward_rate_bps_pool_owner: u32;
131
+ }
132
+ export interface TrancheAddresses {
133
+ addrs: Array<Option<string>>;
134
+ }
135
+ export interface TrancheAssets {
136
+ assets: Array<u128>;
137
+ }
138
+ export interface Client {
139
+ /**
140
+ * Construct and simulate a initialize transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
141
+ */
142
+ initialize: ({ addrs, tranche_addrs, tranches_policy, }: {
143
+ addrs: Array<string>;
144
+ tranche_addrs: Array<Option<string>>;
145
+ tranches_policy: TranchesPolicyType;
146
+ }, options?: {
147
+ /**
148
+ * The fee to pay for the transaction. Default: BASE_FEE
149
+ */
150
+ fee?: number;
151
+ /**
152
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
153
+ */
154
+ timeoutInSeconds?: number;
155
+ /**
156
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
157
+ */
158
+ simulate?: boolean;
159
+ }) => Promise<AssembledTransaction<null>>;
160
+ /**
161
+ * Construct and simulate a set_contract_addrs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
162
+ */
163
+ set_contract_addrs: ({ pool, pool_manager, credit, }: {
164
+ pool: string;
165
+ pool_manager: string;
166
+ credit: string;
167
+ }, options?: {
168
+ /**
169
+ * The fee to pay for the transaction. Default: BASE_FEE
170
+ */
171
+ fee?: number;
172
+ /**
173
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
174
+ */
175
+ timeoutInSeconds?: number;
176
+ /**
177
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
178
+ */
179
+ simulate?: boolean;
180
+ }) => Promise<AssembledTransaction<null>>;
181
+ /**
182
+ * Construct and simulate a set_huma_config transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
183
+ */
184
+ set_huma_config: ({ huma_config, huma_owner, sentinel, }: {
185
+ huma_config: string;
186
+ huma_owner: string;
187
+ sentinel: string;
188
+ }, options?: {
189
+ /**
190
+ * The fee to pay for the transaction. Default: BASE_FEE
191
+ */
192
+ fee?: number;
193
+ /**
194
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
195
+ */
196
+ timeoutInSeconds?: number;
197
+ /**
198
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
199
+ */
200
+ simulate?: boolean;
201
+ }) => Promise<AssembledTransaction<null>>;
202
+ /**
203
+ * Construct and simulate a set_pool_owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
204
+ */
205
+ set_pool_owner: ({ pool_owner }: {
206
+ pool_owner: string;
207
+ }, options?: {
208
+ /**
209
+ * The fee to pay for the transaction. Default: BASE_FEE
210
+ */
211
+ fee?: number;
212
+ /**
213
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
214
+ */
215
+ timeoutInSeconds?: number;
216
+ /**
217
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
218
+ */
219
+ simulate?: boolean;
220
+ }) => Promise<AssembledTransaction<null>>;
221
+ /**
222
+ * Construct and simulate a set_pool_owner_treasury transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
223
+ */
224
+ set_pool_owner_treasury: ({ pool_owner_treasury }: {
225
+ pool_owner_treasury: string;
226
+ }, options?: {
227
+ /**
228
+ * The fee to pay for the transaction. Default: BASE_FEE
229
+ */
230
+ fee?: number;
231
+ /**
232
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
233
+ */
234
+ timeoutInSeconds?: number;
235
+ /**
236
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
237
+ */
238
+ simulate?: boolean;
239
+ }) => Promise<AssembledTransaction<null>>;
240
+ /**
241
+ * Construct and simulate a set_evaluation_agent transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
242
+ */
243
+ set_evaluation_agent: ({ ea }: {
244
+ ea: string;
245
+ }, options?: {
246
+ /**
247
+ * The fee to pay for the transaction. Default: BASE_FEE
248
+ */
249
+ fee?: number;
250
+ /**
251
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
252
+ */
253
+ timeoutInSeconds?: number;
254
+ /**
255
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
256
+ */
257
+ simulate?: boolean;
258
+ }) => Promise<AssembledTransaction<null>>;
259
+ /**
260
+ * Construct and simulate a set_tranche_addresses transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
261
+ */
262
+ set_tranche_addresses: ({ junior_addr, senior_addr, }: {
263
+ junior_addr: string;
264
+ senior_addr: Option<string>;
265
+ }, options?: {
266
+ /**
267
+ * The fee to pay for the transaction. Default: BASE_FEE
268
+ */
269
+ fee?: number;
270
+ /**
271
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
272
+ */
273
+ timeoutInSeconds?: number;
274
+ /**
275
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
276
+ */
277
+ simulate?: boolean;
278
+ }) => Promise<AssembledTransaction<null>>;
279
+ /**
280
+ * Construct and simulate a set_pool_operator transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
281
+ */
282
+ set_pool_operator: ({ addr, is_operator }: {
283
+ addr: string;
284
+ is_operator: boolean;
285
+ }, options?: {
286
+ /**
287
+ * The fee to pay for the transaction. Default: BASE_FEE
288
+ */
289
+ fee?: number;
290
+ /**
291
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
292
+ */
293
+ timeoutInSeconds?: number;
294
+ /**
295
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
296
+ */
297
+ simulate?: boolean;
298
+ }) => Promise<AssembledTransaction<null>>;
299
+ /**
300
+ * Construct and simulate a set_pool_status transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
301
+ */
302
+ set_pool_status: ({ status }: {
303
+ status: PoolStatus;
304
+ }, options?: {
305
+ /**
306
+ * The fee to pay for the transaction. Default: BASE_FEE
307
+ */
308
+ fee?: number;
309
+ /**
310
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
311
+ */
312
+ timeoutInSeconds?: number;
313
+ /**
314
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
315
+ */
316
+ simulate?: boolean;
317
+ }) => Promise<AssembledTransaction<null>>;
318
+ /**
319
+ * Construct and simulate a set_epoch transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
320
+ */
321
+ set_epoch: ({ epoch }: {
322
+ epoch: Epoch;
323
+ }, options?: {
324
+ /**
325
+ * The fee to pay for the transaction. Default: BASE_FEE
326
+ */
327
+ fee?: number;
328
+ /**
329
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
330
+ */
331
+ timeoutInSeconds?: number;
332
+ /**
333
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
334
+ */
335
+ simulate?: boolean;
336
+ }) => Promise<AssembledTransaction<null>>;
337
+ /**
338
+ * Construct and simulate a set_admin_rnr transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
339
+ */
340
+ set_admin_rnr: ({ pool_owner_reward_rate, pool_owner_liquidity_rate, ea_reward_rate, ea_liquidity_rate, }: {
341
+ pool_owner_reward_rate: u32;
342
+ pool_owner_liquidity_rate: u32;
343
+ ea_reward_rate: u32;
344
+ ea_liquidity_rate: u32;
345
+ }, options?: {
346
+ /**
347
+ * The fee to pay for the transaction. Default: BASE_FEE
348
+ */
349
+ fee?: number;
350
+ /**
351
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
352
+ */
353
+ timeoutInSeconds?: number;
354
+ /**
355
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
356
+ */
357
+ simulate?: boolean;
358
+ }) => Promise<AssembledTransaction<null>>;
359
+ /**
360
+ * Construct and simulate a set_pool_settings transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
361
+ */
362
+ set_pool_settings: ({ max_credit_line, min_deposit_amount, pay_period_duration, late_payment_grace_period_days, default_grace_period_days, principal_only_payment_allowed, }: {
363
+ max_credit_line: u128;
364
+ min_deposit_amount: u128;
365
+ pay_period_duration: PayPeriodDuration;
366
+ late_payment_grace_period_days: u32;
367
+ default_grace_period_days: u32;
368
+ principal_only_payment_allowed: boolean;
369
+ }, options?: {
370
+ /**
371
+ * The fee to pay for the transaction. Default: BASE_FEE
372
+ */
373
+ fee?: number;
374
+ /**
375
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
376
+ */
377
+ timeoutInSeconds?: number;
378
+ /**
379
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
380
+ */
381
+ simulate?: boolean;
382
+ }) => Promise<AssembledTransaction<null>>;
383
+ /**
384
+ * Construct and simulate a set_lp_config transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
385
+ */
386
+ set_lp_config: ({ liquidity_cap, max_senior_junior_ratio, fixed_senior_yield_bps, tranches_risk_adjustment_bps, withdrawal_lockout_period_days, auto_redemption_after_lockup, }: {
387
+ liquidity_cap: u128;
388
+ max_senior_junior_ratio: u32;
389
+ fixed_senior_yield_bps: u32;
390
+ tranches_risk_adjustment_bps: u32;
391
+ withdrawal_lockout_period_days: u32;
392
+ auto_redemption_after_lockup: boolean;
393
+ }, options?: {
394
+ /**
395
+ * The fee to pay for the transaction. Default: BASE_FEE
396
+ */
397
+ fee?: number;
398
+ /**
399
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
400
+ */
401
+ timeoutInSeconds?: number;
402
+ /**
403
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
404
+ */
405
+ simulate?: boolean;
406
+ }) => Promise<AssembledTransaction<null>>;
407
+ /**
408
+ * Construct and simulate a set_fee_structure transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
409
+ */
410
+ set_fee_structure: ({ yield_bps, late_fee_bps, front_loading_fee_flat, front_loading_fee_bps, }: {
411
+ yield_bps: u32;
412
+ late_fee_bps: u32;
413
+ front_loading_fee_flat: u128;
414
+ front_loading_fee_bps: u32;
415
+ }, options?: {
416
+ /**
417
+ * The fee to pay for the transaction. Default: BASE_FEE
418
+ */
419
+ fee?: number;
420
+ /**
421
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
422
+ */
423
+ timeoutInSeconds?: number;
424
+ /**
425
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
426
+ */
427
+ simulate?: boolean;
428
+ }) => Promise<AssembledTransaction<null>>;
429
+ /**
430
+ * Construct and simulate a set_tranches_policy_type transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
431
+ */
432
+ set_tranches_policy_type: ({ policy_type }: {
433
+ policy_type: TranchesPolicyType;
434
+ }, options?: {
435
+ /**
436
+ * The fee to pay for the transaction. Default: BASE_FEE
437
+ */
438
+ fee?: number;
439
+ /**
440
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
441
+ */
442
+ timeoutInSeconds?: number;
443
+ /**
444
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
445
+ */
446
+ simulate?: boolean;
447
+ }) => Promise<AssembledTransaction<null>>;
448
+ /**
449
+ * Construct and simulate a send_tokens transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
450
+ */
451
+ send_tokens: ({ to, amount, caller }: {
452
+ to: string;
453
+ amount: u128;
454
+ caller: string;
455
+ }, options?: {
456
+ /**
457
+ * The fee to pay for the transaction. Default: BASE_FEE
458
+ */
459
+ fee?: number;
460
+ /**
461
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
462
+ */
463
+ timeoutInSeconds?: number;
464
+ /**
465
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
466
+ */
467
+ simulate?: boolean;
468
+ }) => Promise<AssembledTransaction<null>>;
469
+ /**
470
+ * Construct and simulate a add_tranche_assets transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
471
+ */
472
+ add_tranche_assets: ({ addr, amount }: {
473
+ addr: string;
474
+ amount: u128;
475
+ }, options?: {
476
+ /**
477
+ * The fee to pay for the transaction. Default: BASE_FEE
478
+ */
479
+ fee?: number;
480
+ /**
481
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
482
+ */
483
+ timeoutInSeconds?: number;
484
+ /**
485
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
486
+ */
487
+ simulate?: boolean;
488
+ }) => Promise<AssembledTransaction<null>>;
489
+ /**
490
+ * Construct and simulate a reduce_tranche_assets transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
491
+ */
492
+ reduce_tranche_assets: ({ addr, amount }: {
493
+ addr: string;
494
+ amount: u128;
495
+ }, options?: {
496
+ /**
497
+ * The fee to pay for the transaction. Default: BASE_FEE
498
+ */
499
+ fee?: number;
500
+ /**
501
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
502
+ */
503
+ timeoutInSeconds?: number;
504
+ /**
505
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
506
+ */
507
+ simulate?: boolean;
508
+ }) => Promise<AssembledTransaction<null>>;
509
+ /**
510
+ * Construct and simulate a update_assets transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
511
+ */
512
+ update_assets: ({ caller, tranche_assets, }: {
513
+ caller: string;
514
+ tranche_assets: TrancheAssets;
515
+ }, options?: {
516
+ /**
517
+ * The fee to pay for the transaction. Default: BASE_FEE
518
+ */
519
+ fee?: number;
520
+ /**
521
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
522
+ */
523
+ timeoutInSeconds?: number;
524
+ /**
525
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
526
+ */
527
+ simulate?: boolean;
528
+ }) => Promise<AssembledTransaction<null>>;
529
+ /**
530
+ * Construct and simulate a update_admin_fees_reserve transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
531
+ */
532
+ update_admin_fees_reserve: ({ amount, increase }: {
533
+ amount: u128;
534
+ increase: boolean;
535
+ }, options?: {
536
+ /**
537
+ * The fee to pay for the transaction. Default: BASE_FEE
538
+ */
539
+ fee?: number;
540
+ /**
541
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
542
+ */
543
+ timeoutInSeconds?: number;
544
+ /**
545
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
546
+ */
547
+ simulate?: boolean;
548
+ }) => Promise<AssembledTransaction<null>>;
549
+ /**
550
+ * Construct and simulate a distribute_profit_to_tranches transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
551
+ */
552
+ distribute_profit_to_tranches: ({ profit, admin_fees }: {
553
+ profit: u128;
554
+ admin_fees: u128;
555
+ }, options?: {
556
+ /**
557
+ * The fee to pay for the transaction. Default: BASE_FEE
558
+ */
559
+ fee?: number;
560
+ /**
561
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
562
+ */
563
+ timeoutInSeconds?: number;
564
+ /**
565
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
566
+ */
567
+ simulate?: boolean;
568
+ }) => Promise<AssembledTransaction<TrancheAssets>>;
569
+ /**
570
+ * Construct and simulate a refresh_yield_tracker transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
571
+ */
572
+ refresh_yield_tracker: ({ tranche_assets }: {
573
+ tranche_assets: TrancheAssets;
574
+ }, options?: {
575
+ /**
576
+ * The fee to pay for the transaction. Default: BASE_FEE
577
+ */
578
+ fee?: number;
579
+ /**
580
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
581
+ */
582
+ timeoutInSeconds?: number;
583
+ /**
584
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
585
+ */
586
+ simulate?: boolean;
587
+ }) => Promise<AssembledTransaction<null>>;
588
+ /**
589
+ * Construct and simulate a upgrade transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
590
+ */
591
+ upgrade: ({ new_wasm_hash }: {
592
+ new_wasm_hash: Buffer;
593
+ }, options?: {
594
+ /**
595
+ * The fee to pay for the transaction. Default: BASE_FEE
596
+ */
597
+ fee?: number;
598
+ /**
599
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
600
+ */
601
+ timeoutInSeconds?: number;
602
+ /**
603
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
604
+ */
605
+ simulate?: boolean;
606
+ }) => Promise<AssembledTransaction<null>>;
607
+ /**
608
+ * Construct and simulate a get_huma_owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
609
+ */
610
+ get_huma_owner: (options?: {
611
+ /**
612
+ * The fee to pay for the transaction. Default: BASE_FEE
613
+ */
614
+ fee?: number;
615
+ /**
616
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
617
+ */
618
+ timeoutInSeconds?: number;
619
+ /**
620
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
621
+ */
622
+ simulate?: boolean;
623
+ }) => Promise<AssembledTransaction<string>>;
624
+ /**
625
+ * Construct and simulate a get_pool_owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
626
+ */
627
+ get_pool_owner: (options?: {
628
+ /**
629
+ * The fee to pay for the transaction. Default: BASE_FEE
630
+ */
631
+ fee?: number;
632
+ /**
633
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
634
+ */
635
+ timeoutInSeconds?: number;
636
+ /**
637
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
638
+ */
639
+ simulate?: boolean;
640
+ }) => Promise<AssembledTransaction<string>>;
641
+ /**
642
+ * Construct and simulate a get_pool_owner_treasury transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
643
+ */
644
+ get_pool_owner_treasury: (options?: {
645
+ /**
646
+ * The fee to pay for the transaction. Default: BASE_FEE
647
+ */
648
+ fee?: number;
649
+ /**
650
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
651
+ */
652
+ timeoutInSeconds?: number;
653
+ /**
654
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
655
+ */
656
+ simulate?: boolean;
657
+ }) => Promise<AssembledTransaction<string>>;
658
+ /**
659
+ * Construct and simulate a get_evaluation_agent transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
660
+ */
661
+ get_evaluation_agent: (options?: {
662
+ /**
663
+ * The fee to pay for the transaction. Default: BASE_FEE
664
+ */
665
+ fee?: number;
666
+ /**
667
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
668
+ */
669
+ timeoutInSeconds?: number;
670
+ /**
671
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
672
+ */
673
+ simulate?: boolean;
674
+ }) => Promise<AssembledTransaction<string>>;
675
+ /**
676
+ * Construct and simulate a get_sentinel transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
677
+ */
678
+ get_sentinel: (options?: {
679
+ /**
680
+ * The fee to pay for the transaction. Default: BASE_FEE
681
+ */
682
+ fee?: number;
683
+ /**
684
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
685
+ */
686
+ timeoutInSeconds?: number;
687
+ /**
688
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
689
+ */
690
+ simulate?: boolean;
691
+ }) => Promise<AssembledTransaction<string>>;
692
+ /**
693
+ * Construct and simulate a get_underlying_token transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
694
+ */
695
+ get_underlying_token: (options?: {
696
+ /**
697
+ * The fee to pay for the transaction. Default: BASE_FEE
698
+ */
699
+ fee?: number;
700
+ /**
701
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
702
+ */
703
+ timeoutInSeconds?: number;
704
+ /**
705
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
706
+ */
707
+ simulate?: boolean;
708
+ }) => Promise<AssembledTransaction<string>>;
709
+ /**
710
+ * Construct and simulate a get_available_balance transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
711
+ */
712
+ get_available_balance: (options?: {
713
+ /**
714
+ * The fee to pay for the transaction. Default: BASE_FEE
715
+ */
716
+ fee?: number;
717
+ /**
718
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
719
+ */
720
+ timeoutInSeconds?: number;
721
+ /**
722
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
723
+ */
724
+ simulate?: boolean;
725
+ }) => Promise<AssembledTransaction<u128>>;
726
+ /**
727
+ * Construct and simulate a get_pool_status transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
728
+ */
729
+ get_pool_status: (options?: {
730
+ /**
731
+ * The fee to pay for the transaction. Default: BASE_FEE
732
+ */
733
+ fee?: number;
734
+ /**
735
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
736
+ */
737
+ timeoutInSeconds?: number;
738
+ /**
739
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
740
+ */
741
+ simulate?: boolean;
742
+ }) => Promise<AssembledTransaction<PoolStatus>>;
743
+ /**
744
+ * Construct and simulate a get_pool_settings transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
745
+ */
746
+ get_pool_settings: (options?: {
747
+ /**
748
+ * The fee to pay for the transaction. Default: BASE_FEE
749
+ */
750
+ fee?: number;
751
+ /**
752
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
753
+ */
754
+ timeoutInSeconds?: number;
755
+ /**
756
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
757
+ */
758
+ simulate?: boolean;
759
+ }) => Promise<AssembledTransaction<PoolSettings>>;
760
+ /**
761
+ * Construct and simulate a get_lp_config transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
762
+ */
763
+ get_lp_config: (options?: {
764
+ /**
765
+ * The fee to pay for the transaction. Default: BASE_FEE
766
+ */
767
+ fee?: number;
768
+ /**
769
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
770
+ */
771
+ timeoutInSeconds?: number;
772
+ /**
773
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
774
+ */
775
+ simulate?: boolean;
776
+ }) => Promise<AssembledTransaction<LPConfig>>;
777
+ /**
778
+ * Construct and simulate a get_fee_structure transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
779
+ */
780
+ get_fee_structure: (options?: {
781
+ /**
782
+ * The fee to pay for the transaction. Default: BASE_FEE
783
+ */
784
+ fee?: number;
785
+ /**
786
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
787
+ */
788
+ timeoutInSeconds?: number;
789
+ /**
790
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
791
+ */
792
+ simulate?: boolean;
793
+ }) => Promise<AssembledTransaction<FeeStructure>>;
794
+ /**
795
+ * Construct and simulate a get_admin_rnr transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
796
+ */
797
+ get_admin_rnr: (options?: {
798
+ /**
799
+ * The fee to pay for the transaction. Default: BASE_FEE
800
+ */
801
+ fee?: number;
802
+ /**
803
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
804
+ */
805
+ timeoutInSeconds?: number;
806
+ /**
807
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
808
+ */
809
+ simulate?: boolean;
810
+ }) => Promise<AssembledTransaction<AdminRnR>>;
811
+ /**
812
+ * Construct and simulate a get_current_epoch transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
813
+ */
814
+ get_current_epoch: (options?: {
815
+ /**
816
+ * The fee to pay for the transaction. Default: BASE_FEE
817
+ */
818
+ fee?: number;
819
+ /**
820
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
821
+ */
822
+ timeoutInSeconds?: number;
823
+ /**
824
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
825
+ */
826
+ simulate?: boolean;
827
+ }) => Promise<AssembledTransaction<Epoch>>;
828
+ /**
829
+ * Construct and simulate a get_tranche_assets_by_addr transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
830
+ */
831
+ get_tranche_assets_by_addr: ({ addr }: {
832
+ addr: string;
833
+ }, options?: {
834
+ /**
835
+ * The fee to pay for the transaction. Default: BASE_FEE
836
+ */
837
+ fee?: number;
838
+ /**
839
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
840
+ */
841
+ timeoutInSeconds?: number;
842
+ /**
843
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
844
+ */
845
+ simulate?: boolean;
846
+ }) => Promise<AssembledTransaction<u128>>;
847
+ /**
848
+ * Construct and simulate a get_tranche_assets transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
849
+ */
850
+ get_tranche_assets: (options?: {
851
+ /**
852
+ * The fee to pay for the transaction. Default: BASE_FEE
853
+ */
854
+ fee?: number;
855
+ /**
856
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
857
+ */
858
+ timeoutInSeconds?: number;
859
+ /**
860
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
861
+ */
862
+ simulate?: boolean;
863
+ }) => Promise<AssembledTransaction<TrancheAssets>>;
864
+ /**
865
+ * Construct and simulate a get_tranche_addresses transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
866
+ */
867
+ get_tranche_addresses: (options?: {
868
+ /**
869
+ * The fee to pay for the transaction. Default: BASE_FEE
870
+ */
871
+ fee?: number;
872
+ /**
873
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
874
+ */
875
+ timeoutInSeconds?: number;
876
+ /**
877
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
878
+ */
879
+ simulate?: boolean;
880
+ }) => Promise<AssembledTransaction<TrancheAddresses>>;
881
+ /**
882
+ * Construct and simulate a is_pool_owner_or_huma_owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
883
+ */
884
+ is_pool_owner_or_huma_owner: ({ addr }: {
885
+ addr: string;
886
+ }, options?: {
887
+ /**
888
+ * The fee to pay for the transaction. Default: BASE_FEE
889
+ */
890
+ fee?: number;
891
+ /**
892
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
893
+ */
894
+ timeoutInSeconds?: number;
895
+ /**
896
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
897
+ */
898
+ simulate?: boolean;
899
+ }) => Promise<AssembledTransaction<boolean>>;
900
+ /**
901
+ * Construct and simulate a is_pool_operator transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
902
+ */
903
+ is_pool_operator: ({ addr }: {
904
+ addr: string;
905
+ }, options?: {
906
+ /**
907
+ * The fee to pay for the transaction. Default: BASE_FEE
908
+ */
909
+ fee?: number;
910
+ /**
911
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
912
+ */
913
+ timeoutInSeconds?: number;
914
+ /**
915
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
916
+ */
917
+ simulate?: boolean;
918
+ }) => Promise<AssembledTransaction<boolean>>;
919
+ /**
920
+ * Construct and simulate a is_protocol_and_pool_on transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
921
+ */
922
+ is_protocol_and_pool_on: (options?: {
923
+ /**
924
+ * The fee to pay for the transaction. Default: BASE_FEE
925
+ */
926
+ fee?: number;
927
+ /**
928
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
929
+ */
930
+ timeoutInSeconds?: number;
931
+ /**
932
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
933
+ */
934
+ simulate?: boolean;
935
+ }) => Promise<AssembledTransaction<boolean>>;
936
+ /**
937
+ * Construct and simulate a check_liquidity_requirements transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
938
+ */
939
+ check_liquidity_requirements: ({ lender, tranche_vault, balance, }: {
940
+ lender: string;
941
+ tranche_vault: string;
942
+ balance: u128;
943
+ }, options?: {
944
+ /**
945
+ * The fee to pay for the transaction. Default: BASE_FEE
946
+ */
947
+ fee?: number;
948
+ /**
949
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
950
+ */
951
+ timeoutInSeconds?: number;
952
+ /**
953
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
954
+ */
955
+ simulate?: boolean;
956
+ }) => Promise<AssembledTransaction<null>>;
957
+ /**
958
+ * Construct and simulate a check_pool_owner_liquidity_req transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
959
+ */
960
+ check_pool_owner_liquidity_req: ({ tranche_vault, balance }: {
961
+ tranche_vault: string;
962
+ balance: u128;
963
+ }, options?: {
964
+ /**
965
+ * The fee to pay for the transaction. Default: BASE_FEE
966
+ */
967
+ fee?: number;
968
+ /**
969
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
970
+ */
971
+ timeoutInSeconds?: number;
972
+ /**
973
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
974
+ */
975
+ simulate?: boolean;
976
+ }) => Promise<AssembledTransaction<null>>;
977
+ /**
978
+ * Construct and simulate a check_ea_liquidity_req transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
979
+ */
980
+ check_ea_liquidity_req: ({ tranche_vault, balance }: {
981
+ tranche_vault: string;
982
+ balance: u128;
983
+ }, options?: {
984
+ /**
985
+ * The fee to pay for the transaction. Default: BASE_FEE
986
+ */
987
+ fee?: number;
988
+ /**
989
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
990
+ */
991
+ timeoutInSeconds?: number;
992
+ /**
993
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
994
+ */
995
+ simulate?: boolean;
996
+ }) => Promise<AssembledTransaction<null>>;
997
+ /**
998
+ * Construct and simulate a get_pool_owner_min_liquidity_req transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
999
+ */
1000
+ get_pool_owner_min_liquidity_req: ({ index }: {
1001
+ index: u32;
1002
+ }, options?: {
1003
+ /**
1004
+ * The fee to pay for the transaction. Default: BASE_FEE
1005
+ */
1006
+ fee?: number;
1007
+ /**
1008
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
1009
+ */
1010
+ timeoutInSeconds?: number;
1011
+ /**
1012
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1013
+ */
1014
+ simulate?: boolean;
1015
+ }) => Promise<AssembledTransaction<u128>>;
1016
+ /**
1017
+ * Construct and simulate a get_ea_min_liquidity_req transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1018
+ */
1019
+ get_ea_min_liquidity_req: ({ index }: {
1020
+ index: u32;
1021
+ }, options?: {
1022
+ /**
1023
+ * The fee to pay for the transaction. Default: BASE_FEE
1024
+ */
1025
+ fee?: number;
1026
+ /**
1027
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
1028
+ */
1029
+ timeoutInSeconds?: number;
1030
+ /**
1031
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1032
+ */
1033
+ simulate?: boolean;
1034
+ }) => Promise<AssembledTransaction<u128>>;
1035
+ }
1036
+ export declare class Client extends ContractClient {
1037
+ readonly options: ContractClientOptions;
1038
+ constructor(options: ContractClientOptions);
1039
+ readonly fromJSON: {
1040
+ initialize: (json: string) => AssembledTransaction<null>;
1041
+ set_contract_addrs: (json: string) => AssembledTransaction<null>;
1042
+ set_huma_config: (json: string) => AssembledTransaction<null>;
1043
+ set_pool_owner: (json: string) => AssembledTransaction<null>;
1044
+ set_pool_owner_treasury: (json: string) => AssembledTransaction<null>;
1045
+ set_evaluation_agent: (json: string) => AssembledTransaction<null>;
1046
+ set_tranche_addresses: (json: string) => AssembledTransaction<null>;
1047
+ set_pool_operator: (json: string) => AssembledTransaction<null>;
1048
+ set_pool_status: (json: string) => AssembledTransaction<null>;
1049
+ set_epoch: (json: string) => AssembledTransaction<null>;
1050
+ set_admin_rnr: (json: string) => AssembledTransaction<null>;
1051
+ set_pool_settings: (json: string) => AssembledTransaction<null>;
1052
+ set_lp_config: (json: string) => AssembledTransaction<null>;
1053
+ set_fee_structure: (json: string) => AssembledTransaction<null>;
1054
+ set_tranches_policy_type: (json: string) => AssembledTransaction<null>;
1055
+ send_tokens: (json: string) => AssembledTransaction<null>;
1056
+ add_tranche_assets: (json: string) => AssembledTransaction<null>;
1057
+ reduce_tranche_assets: (json: string) => AssembledTransaction<null>;
1058
+ update_assets: (json: string) => AssembledTransaction<null>;
1059
+ update_admin_fees_reserve: (json: string) => AssembledTransaction<null>;
1060
+ distribute_profit_to_tranches: (json: string) => AssembledTransaction<TrancheAssets>;
1061
+ refresh_yield_tracker: (json: string) => AssembledTransaction<null>;
1062
+ upgrade: (json: string) => AssembledTransaction<null>;
1063
+ get_huma_owner: (json: string) => AssembledTransaction<string>;
1064
+ get_pool_owner: (json: string) => AssembledTransaction<string>;
1065
+ get_pool_owner_treasury: (json: string) => AssembledTransaction<string>;
1066
+ get_evaluation_agent: (json: string) => AssembledTransaction<string>;
1067
+ get_sentinel: (json: string) => AssembledTransaction<string>;
1068
+ get_underlying_token: (json: string) => AssembledTransaction<string>;
1069
+ get_available_balance: (json: string) => AssembledTransaction<bigint>;
1070
+ get_pool_status: (json: string) => AssembledTransaction<PoolStatus>;
1071
+ get_pool_settings: (json: string) => AssembledTransaction<PoolSettings>;
1072
+ get_lp_config: (json: string) => AssembledTransaction<LPConfig>;
1073
+ get_fee_structure: (json: string) => AssembledTransaction<FeeStructure>;
1074
+ get_admin_rnr: (json: string) => AssembledTransaction<AdminRnR>;
1075
+ get_current_epoch: (json: string) => AssembledTransaction<Epoch>;
1076
+ get_tranche_assets_by_addr: (json: string) => AssembledTransaction<bigint>;
1077
+ get_tranche_assets: (json: string) => AssembledTransaction<TrancheAssets>;
1078
+ get_tranche_addresses: (json: string) => AssembledTransaction<TrancheAddresses>;
1079
+ is_pool_owner_or_huma_owner: (json: string) => AssembledTransaction<boolean>;
1080
+ is_pool_operator: (json: string) => AssembledTransaction<boolean>;
1081
+ is_protocol_and_pool_on: (json: string) => AssembledTransaction<boolean>;
1082
+ check_liquidity_requirements: (json: string) => AssembledTransaction<null>;
1083
+ check_pool_owner_liquidity_req: (json: string) => AssembledTransaction<null>;
1084
+ check_ea_liquidity_req: (json: string) => AssembledTransaction<null>;
1085
+ get_pool_owner_min_liquidity_req: (json: string) => AssembledTransaction<bigint>;
1086
+ get_ea_min_liquidity_req: (json: string) => AssembledTransaction<bigint>;
1087
+ };
1088
+ }