gondi 0.30.3 → 0.31.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;
@@ -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;