gondi 0.30.4 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ import type { multiSourceLoanABI as multiSourceLoanABIV4 } from './generated/blo
4
4
  import type { auctionLoanLiquidatorABI as auctionLoanLiquidatorABIV5, multiSourceLoanABI as multiSourceLoanABIV5 } from './generated/blockchain/v5';
5
5
  import type { auctionLoanLiquidatorAbi as auctionLoanLiquidatorABIV6, multiSourceLoanAbi as multiSourceLoanABIV6 } from './generated/blockchain/v6';
6
6
  import type { multiSourceLoanAbi as multiSourceLoanABIV7 } from './generated/blockchain/v7';
7
+ import type { multiSourceLoanAbi as multiSourceLoanABIV8 } from './generated/blockchain/v8';
7
8
  type RepayAbiTypeV4 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV4, 'repayLoan'>['inputs']>;
8
9
  type RepayAbiTypeV5 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV5, 'repayLoan'>['inputs']>;
9
10
  type RepayAbiTypeV6 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV6, 'repayLoan'>['inputs']>;
@@ -11,6 +12,8 @@ type EmitAbiTypeV4 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof mul
11
12
  type EmitAbiTypeV5 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV5, 'emitLoan'>['inputs']>;
12
13
  type EmitAbiTypeV6 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV6, 'emitLoan'>['inputs']>;
13
14
  type EmitAbiTypeV7 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV7, 'emitLoan'>['inputs']>;
15
+ type EmitAbiTypeV8 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV8, 'emitLoan'>['inputs']>;
16
+ type RepayAbiTypeV8 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV8, 'repayLoan'>['inputs']>;
14
17
  type RefiAbiTypeV4 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV4, 'refinanceFull'>['inputs']>;
15
18
  type RefiAbiTypeV5 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV5, 'refinanceFull'>['inputs']>;
16
19
  type RefiAbiTypeV6 = AbiParametersToPrimitiveTypes<ExtractAbiFunction<typeof multiSourceLoanABIV6, 'refinanceFull'>['inputs']>;
@@ -28,10 +31,16 @@ export type LoanV6 = RepayAbiTypeV6[0]['loan'] & {
28
31
  startTime: Date | bigint;
29
32
  contractStartTime: Date | bigint;
30
33
  };
31
- export type Loan = LoanV4 | LoanV5 | LoanV6;
34
+ export type LoanV8 = RepayAbiTypeV8[0]['loan'] & {
35
+ contractAddress: Address;
36
+ startTime: Date | bigint;
37
+ contractStartTime: Date | bigint;
38
+ };
39
+ export type Loan = LoanV4 | LoanV5 | LoanV6 | LoanV8;
32
40
  export type OfferV4 = EmitAbiTypeV4[0];
33
41
  export type OfferV5 = EmitAbiTypeV5[0]['executionData']['offer'];
34
42
  export type OfferV6 = EmitAbiTypeV6[0]['executionData']['offerExecution'][number]['offer'];
43
+ export type OfferV8 = EmitAbiTypeV8[0]['executionData']['offerExecution'][number]['offer'];
35
44
  export type RenegotiationV4 = RefiAbiTypeV4[0];
36
45
  export type RenegotiationV5 = RefiAbiTypeV5[0];
37
46
  export type RenegotiationV6 = RefiAbiTypeV6[0];
@@ -39,6 +48,7 @@ export type SignableRepaymentDataV5 = RepayAbiTypeV5[0]['data'];
39
48
  export type SignableRepaymentDataV6 = RepayAbiTypeV6[0]['data'];
40
49
  export type ExecutionDataV6 = EmitAbiTypeV6[0]['executionData'];
41
50
  export type ExecutionDataV7 = EmitAbiTypeV7[0]['executionData'];
51
+ export type ExecutionDataV8 = EmitAbiTypeV8[0]['executionData'];
42
52
  type AuctionV5 = PlaceBidAbiTypeV5[2];
43
53
  type AuctionV6 = PlaceBidAbiTypeV6[2];
44
54
  export type Auction = AuctionV5 | AuctionV6;
@@ -50,8 +60,6 @@ export declare const zeroHex: HexString;
50
60
  export declare const REORG_SAFETY_BUFFER: bigint;
51
61
  export declare const __ETH_ADDRESS: `0x${string}`;
52
62
  export declare const __HYPE_ADDRESS = "0x0000000000000000000000000000000000000999";
63
+ export declare const __RETH_ADDRESS = "0x0000000000000000000000000000000000004663";
53
64
  export declare const isNativeCurrency: (address: Address) => boolean;
54
- export declare const hyperliquid: {
55
- id: 999;
56
- };
57
65
  export {};
@@ -101,6 +101,7 @@ export declare class Api {
101
101
  expirationTime: import("../../generated/graphql").Scalars["BigInt"];
102
102
  fee: import("../../generated/graphql").Scalars["BigInt"];
103
103
  lenderAddress: import("../../generated/graphql").Scalars["Address"];
104
+ lenderRefinanceDisabled?: import("../../generated/graphql").Scalars["Boolean"];
104
105
  maxSeniorRepayment?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["BigInt"]>;
105
106
  maxTrancheFloor?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["BigInt"]>;
106
107
  nftId: import("../../generated/graphql").Scalars["Int"];
@@ -257,6 +258,7 @@ export declare class Api {
257
258
  expirationTime: import("../../generated/graphql").Scalars["BigInt"];
258
259
  fee: import("../../generated/graphql").Scalars["BigInt"];
259
260
  lenderAddress: import("../../generated/graphql").Scalars["Address"];
261
+ lenderRefinanceDisabled?: import("../../generated/graphql").Scalars["Boolean"];
260
262
  maxSeniorRepayment?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["BigInt"]>;
261
263
  maxTrancheFloor?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["BigInt"]>;
262
264
  offerHash: import("../../generated/graphql").Scalars["Hash"];
@@ -328,6 +330,7 @@ export declare class Api {
328
330
  repayment: bigint;
329
331
  hidden?: boolean | null;
330
332
  maxSeniorRepayment: bigint;
333
+ lenderRefinanceDisabled: boolean;
331
334
  collection: {
332
335
  __typename?: "Collection";
333
336
  id: string;
@@ -385,6 +388,7 @@ export declare class Api {
385
388
  repayment: bigint;
386
389
  hidden?: boolean | null;
387
390
  maxSeniorRepayment: bigint;
391
+ lenderRefinanceDisabled: boolean;
388
392
  nft: {
389
393
  __typename?: "NFT";
390
394
  id: string;
@@ -451,6 +455,7 @@ export declare class Api {
451
455
  repayment: bigint;
452
456
  hidden?: boolean | null;
453
457
  maxSeniorRepayment: bigint;
458
+ lenderRefinanceDisabled: boolean;
454
459
  collection: {
455
460
  __typename?: "Collection";
456
461
  id: string;
@@ -508,6 +513,7 @@ export declare class Api {
508
513
  repayment: bigint;
509
514
  hidden?: boolean | null;
510
515
  maxSeniorRepayment: bigint;
516
+ lenderRefinanceDisabled: boolean;
511
517
  nft: {
512
518
  __typename?: "NFT";
513
519
  id: string;
@@ -571,6 +577,7 @@ export declare class Api {
571
577
  blendedAprBps: number;
572
578
  totalOriginationFee: bigint;
573
579
  protocolFee: bigint;
580
+ lenderRefinanceDisabled: boolean;
574
581
  offer: {
575
582
  __typename?: "CollectionOffer";
576
583
  offerId: bigint;
@@ -665,6 +672,7 @@ export declare class Api {
665
672
  blendedAprBps: number;
666
673
  totalOriginationFee: bigint;
667
674
  protocolFee: bigint;
675
+ lenderRefinanceDisabled: boolean;
668
676
  offer: {
669
677
  __typename?: "CollectionOffer";
670
678
  offerId: bigint;
@@ -37,6 +37,7 @@ export declare class AllV4 extends BaseContract<typeof auctionLoanLiquidatorABIV
37
37
  blobGasUsed?: bigint | undefined;
38
38
  blockHash: import("viem").Hash;
39
39
  blockNumber: bigint;
40
+ blockTimestamp?: bigint | undefined;
40
41
  contractAddress: Address | null | undefined;
41
42
  cumulativeGasUsed: bigint;
42
43
  effectiveGasPrice: bigint;
@@ -69,6 +70,7 @@ export declare class AllV4 extends BaseContract<typeof auctionLoanLiquidatorABIV
69
70
  blobGasUsed?: bigint | undefined;
70
71
  blockHash: import("viem").Hash;
71
72
  blockNumber: bigint;
73
+ blockTimestamp?: bigint | undefined;
72
74
  contractAddress: Address | null | undefined;
73
75
  cumulativeGasUsed: bigint;
74
76
  effectiveGasPrice: bigint;
@@ -21,6 +21,7 @@ export declare class AllV5 extends BaseContract<typeof auctionLoanLiquidatorABIV
21
21
  blobGasUsed?: bigint | undefined;
22
22
  blockHash: import("viem").Hash;
23
23
  blockNumber: bigint;
24
+ blockTimestamp?: bigint | undefined;
24
25
  contractAddress: Address | null | undefined;
25
26
  cumulativeGasUsed: bigint;
26
27
  effectiveGasPrice: bigint;
@@ -54,6 +55,7 @@ export declare class AllV5 extends BaseContract<typeof auctionLoanLiquidatorABIV
54
55
  blobGasUsed?: bigint | undefined;
55
56
  blockHash: import("viem").Hash;
56
57
  blockNumber: bigint;
58
+ blockTimestamp?: bigint | undefined;
57
59
  contractAddress: Address | null | undefined;
58
60
  cumulativeGasUsed: bigint;
59
61
  effectiveGasPrice: bigint;
@@ -20,6 +20,7 @@ export declare class AllV6 extends BaseContract<typeof auctionWithBuyoutLoanLiqu
20
20
  blobGasUsed?: bigint | undefined;
21
21
  blockHash: import("viem").Hash;
22
22
  blockNumber: bigint;
23
+ blockTimestamp?: bigint | undefined;
23
24
  contractAddress: Address | null | undefined;
24
25
  cumulativeGasUsed: bigint;
25
26
  effectiveGasPrice: bigint;
@@ -54,6 +55,7 @@ export declare class AllV6 extends BaseContract<typeof auctionWithBuyoutLoanLiqu
54
55
  blobGasUsed?: bigint | undefined;
55
56
  blockHash: import("viem").Hash;
56
57
  blockNumber: bigint;
58
+ blockTimestamp?: bigint | undefined;
57
59
  contractAddress: Address | null | undefined;
58
60
  cumulativeGasUsed: bigint;
59
61
  effectiveGasPrice: bigint;
@@ -84,6 +86,7 @@ export declare class AllV6 extends BaseContract<typeof auctionWithBuyoutLoanLiqu
84
86
  blobGasUsed?: bigint | undefined;
85
87
  blockHash: import("viem").Hash;
86
88
  blockNumber: bigint;
89
+ blockTimestamp?: bigint | undefined;
87
90
  contractAddress: Address | null | undefined;
88
91
  cumulativeGasUsed: bigint;
89
92
  effectiveGasPrice: bigint;
@@ -7,5 +7,5 @@ export declare class Erc20 extends BaseContract<typeof erc20ABI> {
7
7
  address: Address;
8
8
  walletClient: Wallet;
9
9
  });
10
- decodeApproveCalldata(calldata: Hex): readonly [`0x${string}`, bigint];
10
+ decodeApproveCalldata(calldata: Hex): readonly [spender: `0x${string}`, amount: bigint];
11
11
  }
@@ -28,6 +28,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
28
28
  blobGasUsed?: bigint | undefined;
29
29
  blockHash: Hash;
30
30
  blockNumber: bigint;
31
+ blockTimestamp?: bigint | undefined;
31
32
  contractAddress: Address | null | undefined;
32
33
  cumulativeGasUsed: bigint;
33
34
  effectiveGasPrice: bigint;
@@ -57,6 +58,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
57
58
  blobGasUsed?: bigint | undefined;
58
59
  blockHash: Hash;
59
60
  blockNumber: bigint;
61
+ blockTimestamp?: bigint | undefined;
60
62
  contractAddress: Address | null | undefined;
61
63
  cumulativeGasUsed: bigint;
62
64
  effectiveGasPrice: bigint;
@@ -83,6 +85,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
83
85
  blobGasUsed?: bigint | undefined;
84
86
  blockHash: Hash;
85
87
  blockNumber: bigint;
88
+ blockTimestamp?: bigint | undefined;
86
89
  contractAddress: Address | null | undefined;
87
90
  cumulativeGasUsed: bigint;
88
91
  effectiveGasPrice: bigint;
@@ -109,6 +112,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
109
112
  blobGasUsed?: bigint | undefined;
110
113
  blockHash: Hash;
111
114
  blockNumber: bigint;
115
+ blockTimestamp?: bigint | undefined;
112
116
  contractAddress: Address | null | undefined;
113
117
  cumulativeGasUsed: bigint;
114
118
  effectiveGasPrice: bigint;
@@ -134,6 +138,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
134
138
  blobGasUsed?: bigint | undefined;
135
139
  blockHash: Hash;
136
140
  blockNumber: bigint;
141
+ blockTimestamp?: bigint | undefined;
137
142
  contractAddress: Address | null | undefined;
138
143
  cumulativeGasUsed: bigint;
139
144
  effectiveGasPrice: bigint;
@@ -181,6 +186,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
181
186
  blobGasUsed?: bigint | undefined;
182
187
  blockHash: Hash;
183
188
  blockNumber: bigint;
189
+ blockTimestamp?: bigint | undefined;
184
190
  contractAddress: Address | null | undefined;
185
191
  cumulativeGasUsed: bigint;
186
192
  effectiveGasPrice: bigint;
@@ -218,6 +224,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
218
224
  blobGasUsed?: bigint | undefined;
219
225
  blockHash: Hash;
220
226
  blockNumber: bigint;
227
+ blockTimestamp?: bigint | undefined;
221
228
  contractAddress: Address | null | undefined;
222
229
  cumulativeGasUsed: bigint;
223
230
  effectiveGasPrice: bigint;
@@ -267,6 +274,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
267
274
  blobGasUsed?: bigint | undefined;
268
275
  blockHash: Hash;
269
276
  blockNumber: bigint;
277
+ blockTimestamp?: bigint | undefined;
270
278
  contractAddress: Address | null | undefined;
271
279
  cumulativeGasUsed: bigint;
272
280
  effectiveGasPrice: bigint;
@@ -313,6 +321,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
313
321
  blobGasUsed?: bigint | undefined;
314
322
  blockHash: Hash;
315
323
  blockNumber: bigint;
324
+ blockTimestamp?: bigint | undefined;
316
325
  contractAddress: Address | null | undefined;
317
326
  cumulativeGasUsed: bigint;
318
327
  effectiveGasPrice: bigint;
@@ -366,6 +375,7 @@ export declare class MslV4 extends BaseContract<typeof multiSourceLoanABIV4> {
366
375
  blobGasUsed?: bigint | undefined;
367
376
  blockHash: Hash;
368
377
  blockNumber: bigint;
378
+ blockTimestamp?: bigint | undefined;
369
379
  contractAddress: Address | null | undefined;
370
380
  cumulativeGasUsed: bigint;
371
381
  effectiveGasPrice: bigint;
@@ -31,6 +31,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
31
31
  blobGasUsed?: bigint | undefined;
32
32
  blockHash: Hash;
33
33
  blockNumber: bigint;
34
+ blockTimestamp?: bigint | undefined;
34
35
  contractAddress: Address | null | undefined;
35
36
  cumulativeGasUsed: bigint;
36
37
  effectiveGasPrice: bigint;
@@ -57,6 +58,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
57
58
  blobGasUsed?: bigint | undefined;
58
59
  blockHash: Hash;
59
60
  blockNumber: bigint;
61
+ blockTimestamp?: bigint | undefined;
60
62
  contractAddress: Address | null | undefined;
61
63
  cumulativeGasUsed: bigint;
62
64
  effectiveGasPrice: bigint;
@@ -85,6 +87,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
85
87
  blobGasUsed?: bigint | undefined;
86
88
  blockHash: Hash;
87
89
  blockNumber: bigint;
90
+ blockTimestamp?: bigint | undefined;
88
91
  contractAddress: Address | null | undefined;
89
92
  cumulativeGasUsed: bigint;
90
93
  effectiveGasPrice: bigint;
@@ -111,6 +114,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
111
114
  blobGasUsed?: bigint | undefined;
112
115
  blockHash: Hash;
113
116
  blockNumber: bigint;
117
+ blockTimestamp?: bigint | undefined;
114
118
  contractAddress: Address | null | undefined;
115
119
  cumulativeGasUsed: bigint;
116
120
  effectiveGasPrice: bigint;
@@ -137,6 +141,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
137
141
  blobGasUsed?: bigint | undefined;
138
142
  blockHash: Hash;
139
143
  blockNumber: bigint;
144
+ blockTimestamp?: bigint | undefined;
140
145
  contractAddress: Address | null | undefined;
141
146
  cumulativeGasUsed: bigint;
142
147
  effectiveGasPrice: bigint;
@@ -162,6 +167,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
162
167
  blobGasUsed?: bigint | undefined;
163
168
  blockHash: Hash;
164
169
  blockNumber: bigint;
170
+ blockTimestamp?: bigint | undefined;
165
171
  contractAddress: Address | null | undefined;
166
172
  cumulativeGasUsed: bigint;
167
173
  effectiveGasPrice: bigint;
@@ -236,6 +242,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
236
242
  blobGasUsed?: bigint | undefined;
237
243
  blockHash: Hash;
238
244
  blockNumber: bigint;
245
+ blockTimestamp?: bigint | undefined;
239
246
  contractAddress: Address | null | undefined;
240
247
  cumulativeGasUsed: bigint;
241
248
  effectiveGasPrice: bigint;
@@ -281,6 +288,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
281
288
  blobGasUsed?: bigint | undefined;
282
289
  blockHash: Hash;
283
290
  blockNumber: bigint;
291
+ blockTimestamp?: bigint | undefined;
284
292
  contractAddress: Address | null | undefined;
285
293
  cumulativeGasUsed: bigint;
286
294
  effectiveGasPrice: bigint;
@@ -320,6 +328,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
320
328
  blobGasUsed?: bigint | undefined;
321
329
  blockHash: Hash;
322
330
  blockNumber: bigint;
331
+ blockTimestamp?: bigint | undefined;
323
332
  contractAddress: Address | null | undefined;
324
333
  cumulativeGasUsed: bigint;
325
334
  effectiveGasPrice: bigint;
@@ -369,6 +378,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
369
378
  blobGasUsed?: bigint | undefined;
370
379
  blockHash: Hash;
371
380
  blockNumber: bigint;
381
+ blockTimestamp?: bigint | undefined;
372
382
  contractAddress: Address | null | undefined;
373
383
  cumulativeGasUsed: bigint;
374
384
  effectiveGasPrice: bigint;
@@ -415,6 +425,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
415
425
  blobGasUsed?: bigint | undefined;
416
426
  blockHash: Hash;
417
427
  blockNumber: bigint;
428
+ blockTimestamp?: bigint | undefined;
418
429
  contractAddress: Address | null | undefined;
419
430
  cumulativeGasUsed: bigint;
420
431
  effectiveGasPrice: bigint;
@@ -466,6 +477,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
466
477
  blobGasUsed?: bigint | undefined;
467
478
  blockHash: Hash;
468
479
  blockNumber: bigint;
480
+ blockTimestamp?: bigint | undefined;
469
481
  contractAddress: Address | null | undefined;
470
482
  cumulativeGasUsed: bigint;
471
483
  effectiveGasPrice: bigint;
@@ -494,6 +506,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
494
506
  blobGasUsed?: bigint | undefined;
495
507
  blockHash: Hash;
496
508
  blockNumber: bigint;
509
+ blockTimestamp?: bigint | undefined;
497
510
  contractAddress: Address | null | undefined;
498
511
  cumulativeGasUsed: bigint;
499
512
  effectiveGasPrice: bigint;
@@ -540,6 +553,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
540
553
  blobGasUsed?: bigint | undefined;
541
554
  blockHash: Hash;
542
555
  blockNumber: bigint;
556
+ blockTimestamp?: bigint | undefined;
543
557
  contractAddress: Address | null | undefined;
544
558
  cumulativeGasUsed: bigint;
545
559
  effectiveGasPrice: bigint;
@@ -568,6 +582,7 @@ export declare class MslV5 extends BaseContract<typeof multiSourceLoanABIV5> {
568
582
  blobGasUsed?: bigint | undefined;
569
583
  blockHash: Hash;
570
584
  blockNumber: bigint;
585
+ blockTimestamp?: bigint | undefined;
571
586
  contractAddress: Address | null | undefined;
572
587
  cumulativeGasUsed: bigint;
573
588
  effectiveGasPrice: bigint;