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.
- package/dist/index.mjs +600 -319
- package/dist/index.mjs.map +4 -4
- package/dist/src/addStepCallback.d.ts +1 -4431
- package/dist/src/blockchain.d.ts +12 -4
- package/dist/src/clients/api/index.d.ts +8 -0
- package/dist/src/clients/contracts/AllV4.d.ts +2 -0
- package/dist/src/clients/contracts/AllV5.d.ts +2 -0
- package/dist/src/clients/contracts/AllV6.d.ts +3 -0
- package/dist/src/clients/contracts/Erc20.d.ts +1 -1
- package/dist/src/clients/contracts/MslV4.d.ts +10 -0
- package/dist/src/clients/contracts/MslV5.d.ts +15 -0
- package/dist/src/clients/contracts/MslV6.d.ts +9098 -6
- package/dist/src/clients/contracts/UserVaultV5.d.ts +2 -0
- package/dist/src/clients/contracts/UserVaultV6.d.ts +6 -0
- package/dist/src/clients/contracts/index.d.ts +11 -4
- package/dist/src/deploys.d.ts +11 -3
- package/dist/src/generated/blockchain/v8.d.ts +2900 -0
- package/dist/src/generated/graphql/index.d.ts +1124 -698
- package/dist/src/gondi.d.ts +276 -0
- package/dist/src/utils/loan.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/src/gondi.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export declare class Gondi {
|
|
|
71
71
|
expirationTime: import("./generated/graphql").Scalars["BigInt"];
|
|
72
72
|
fee: import("./generated/graphql").Scalars["BigInt"];
|
|
73
73
|
lenderAddress: import("./generated/graphql").Scalars["Address"];
|
|
74
|
+
lenderRefinanceDisabled?: import("./generated/graphql").Scalars["Boolean"];
|
|
74
75
|
maxSeniorRepayment?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
75
76
|
maxTrancheFloor?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
76
77
|
nftId: import("./generated/graphql").Scalars["Int"];
|
|
@@ -100,6 +101,7 @@ export declare class Gondi {
|
|
|
100
101
|
expirationTime: import("./generated/graphql").Scalars["BigInt"];
|
|
101
102
|
fee: import("./generated/graphql").Scalars["BigInt"];
|
|
102
103
|
lenderAddress: import("./generated/graphql").Scalars["Address"];
|
|
104
|
+
lenderRefinanceDisabled?: import("./generated/graphql").Scalars["Boolean"];
|
|
103
105
|
maxSeniorRepayment?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
104
106
|
maxTrancheFloor?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
105
107
|
offerHash: import("./generated/graphql").Scalars["Hash"];
|
|
@@ -125,6 +127,7 @@ export declare class Gondi {
|
|
|
125
127
|
expirationTime: import("./generated/graphql").Scalars["BigInt"];
|
|
126
128
|
fee: import("./generated/graphql").Scalars["BigInt"];
|
|
127
129
|
lenderAddress: import("./generated/graphql").Scalars["Address"];
|
|
130
|
+
lenderRefinanceDisabled?: import("./generated/graphql").Scalars["Boolean"];
|
|
128
131
|
maxSeniorRepayment?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
129
132
|
maxTrancheFloor?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["BigInt"]>;
|
|
130
133
|
offerHash: import("./generated/graphql").Scalars["Hash"];
|
|
@@ -402,6 +405,7 @@ export declare class Gondi {
|
|
|
402
405
|
replaceOrderIdInt64?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["Int64"]>;
|
|
403
406
|
signature: import("./generated/graphql").InputMaybe<`0x${string}`>;
|
|
404
407
|
startTime: import("./generated/graphql").Scalars["BigInt"];
|
|
408
|
+
stealth?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["Boolean"]>;
|
|
405
409
|
taker?: import("./generated/graphql").InputMaybe<import("./generated/graphql").Scalars["Address"]>;
|
|
406
410
|
tokenId: import("./generated/graphql").Scalars["BigInt"];
|
|
407
411
|
__typename?: "SellAndRepayOrder";
|
|
@@ -445,6 +449,7 @@ export declare class Gondi {
|
|
|
445
449
|
blobGasUsed?: bigint | undefined;
|
|
446
450
|
blockHash: Hash;
|
|
447
451
|
blockNumber: bigint;
|
|
452
|
+
blockTimestamp?: bigint | undefined;
|
|
448
453
|
contractAddress: Address | null | undefined;
|
|
449
454
|
cumulativeGasUsed: bigint;
|
|
450
455
|
effectiveGasPrice: bigint;
|
|
@@ -465,6 +470,28 @@ export declare class Gondi {
|
|
|
465
470
|
blobGasUsed?: bigint | undefined;
|
|
466
471
|
blockHash: Hash;
|
|
467
472
|
blockNumber: bigint;
|
|
473
|
+
blockTimestamp?: bigint | undefined;
|
|
474
|
+
contractAddress: Address | null | undefined;
|
|
475
|
+
cumulativeGasUsed: bigint;
|
|
476
|
+
effectiveGasPrice: bigint;
|
|
477
|
+
from: Address;
|
|
478
|
+
gasUsed: bigint;
|
|
479
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
480
|
+
logsBloom: Hex;
|
|
481
|
+
root?: Hash | undefined;
|
|
482
|
+
status: "success" | "reverted";
|
|
483
|
+
to: Address | null;
|
|
484
|
+
transactionHash: Hash;
|
|
485
|
+
transactionIndex: number;
|
|
486
|
+
type: import("viem").TransactionType;
|
|
487
|
+
lender: `0x${string}`;
|
|
488
|
+
offerId: bigint;
|
|
489
|
+
} | {
|
|
490
|
+
blobGasPrice?: bigint | undefined;
|
|
491
|
+
blobGasUsed?: bigint | undefined;
|
|
492
|
+
blockHash: Hash;
|
|
493
|
+
blockNumber: bigint;
|
|
494
|
+
blockTimestamp?: bigint | undefined;
|
|
468
495
|
contractAddress: Address | null | undefined;
|
|
469
496
|
cumulativeGasUsed: bigint;
|
|
470
497
|
effectiveGasPrice: bigint;
|
|
@@ -492,6 +519,7 @@ export declare class Gondi {
|
|
|
492
519
|
blobGasUsed?: bigint | undefined;
|
|
493
520
|
blockHash: Hash;
|
|
494
521
|
blockNumber: bigint;
|
|
522
|
+
blockTimestamp?: bigint | undefined;
|
|
495
523
|
contractAddress: Address | null | undefined;
|
|
496
524
|
cumulativeGasUsed: bigint;
|
|
497
525
|
effectiveGasPrice: bigint;
|
|
@@ -511,6 +539,9 @@ export declare class Gondi {
|
|
|
511
539
|
} | {
|
|
512
540
|
lender: `0x${string}`;
|
|
513
541
|
offerId: bigint;
|
|
542
|
+
} | {
|
|
543
|
+
lender: `0x${string}`;
|
|
544
|
+
offerId: bigint;
|
|
514
545
|
})[];
|
|
515
546
|
}>;
|
|
516
547
|
}>;
|
|
@@ -524,6 +555,7 @@ export declare class Gondi {
|
|
|
524
555
|
blobGasUsed?: bigint | undefined;
|
|
525
556
|
blockHash: Hash;
|
|
526
557
|
blockNumber: bigint;
|
|
558
|
+
blockTimestamp?: bigint | undefined;
|
|
527
559
|
contractAddress: Address | null | undefined;
|
|
528
560
|
cumulativeGasUsed: bigint;
|
|
529
561
|
effectiveGasPrice: bigint;
|
|
@@ -599,6 +631,28 @@ export declare class Gondi {
|
|
|
599
631
|
blobGasUsed?: bigint | undefined;
|
|
600
632
|
blockHash: Hash;
|
|
601
633
|
blockNumber: bigint;
|
|
634
|
+
blockTimestamp?: bigint | undefined;
|
|
635
|
+
contractAddress: Address | null | undefined;
|
|
636
|
+
cumulativeGasUsed: bigint;
|
|
637
|
+
effectiveGasPrice: bigint;
|
|
638
|
+
from: Address;
|
|
639
|
+
gasUsed: bigint;
|
|
640
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
641
|
+
logsBloom: Hex;
|
|
642
|
+
root?: Hash | undefined;
|
|
643
|
+
status: "success" | "reverted";
|
|
644
|
+
to: Address | null;
|
|
645
|
+
transactionHash: Hash;
|
|
646
|
+
transactionIndex: number;
|
|
647
|
+
type: import("viem").TransactionType;
|
|
648
|
+
lender: `0x${string}`;
|
|
649
|
+
renegotiationId: bigint;
|
|
650
|
+
} | {
|
|
651
|
+
blobGasPrice?: bigint | undefined;
|
|
652
|
+
blobGasUsed?: bigint | undefined;
|
|
653
|
+
blockHash: Hash;
|
|
654
|
+
blockNumber: bigint;
|
|
655
|
+
blockTimestamp?: bigint | undefined;
|
|
602
656
|
contractAddress: Address | null | undefined;
|
|
603
657
|
cumulativeGasUsed: bigint;
|
|
604
658
|
effectiveGasPrice: bigint;
|
|
@@ -619,6 +673,7 @@ export declare class Gondi {
|
|
|
619
673
|
blobGasUsed?: bigint | undefined;
|
|
620
674
|
blockHash: Hash;
|
|
621
675
|
blockNumber: bigint;
|
|
676
|
+
blockTimestamp?: bigint | undefined;
|
|
622
677
|
contractAddress: Address | null | undefined;
|
|
623
678
|
cumulativeGasUsed: bigint;
|
|
624
679
|
effectiveGasPrice: bigint;
|
|
@@ -660,6 +715,7 @@ export declare class Gondi {
|
|
|
660
715
|
blobGasUsed?: bigint | undefined;
|
|
661
716
|
blockHash: Hash;
|
|
662
717
|
blockNumber: bigint;
|
|
718
|
+
blockTimestamp?: bigint | undefined;
|
|
663
719
|
contractAddress: Address | null | undefined;
|
|
664
720
|
cumulativeGasUsed: bigint;
|
|
665
721
|
effectiveGasPrice: bigint;
|
|
@@ -685,6 +741,7 @@ export declare class Gondi {
|
|
|
685
741
|
blobGasUsed?: bigint | undefined;
|
|
686
742
|
blockHash: Hash;
|
|
687
743
|
blockNumber: bigint;
|
|
744
|
+
blockTimestamp?: bigint | undefined;
|
|
688
745
|
contractAddress: Address | null | undefined;
|
|
689
746
|
cumulativeGasUsed: bigint;
|
|
690
747
|
effectiveGasPrice: bigint;
|
|
@@ -738,6 +795,27 @@ export declare class Gondi {
|
|
|
738
795
|
}[];
|
|
739
796
|
protocolFee: bigint;
|
|
740
797
|
id: string;
|
|
798
|
+
} | {
|
|
799
|
+
contractAddress: `0x${string}`;
|
|
800
|
+
borrower: `0x${string}`;
|
|
801
|
+
nftCollateralTokenId: bigint;
|
|
802
|
+
nftCollateralAddress: `0x${string}`;
|
|
803
|
+
principalAddress: `0x${string}`;
|
|
804
|
+
principalAmount: bigint;
|
|
805
|
+
startTime: bigint;
|
|
806
|
+
duration: bigint;
|
|
807
|
+
tranche: readonly {
|
|
808
|
+
loanId: bigint;
|
|
809
|
+
floor: bigint;
|
|
810
|
+
principalAmount: bigint;
|
|
811
|
+
lender: `0x${string}`;
|
|
812
|
+
accruedInterest: bigint;
|
|
813
|
+
startTime: bigint;
|
|
814
|
+
aprBps: bigint;
|
|
815
|
+
}[];
|
|
816
|
+
protocolFee: bigint;
|
|
817
|
+
lenderRefinanceDisabled: boolean;
|
|
818
|
+
id: string;
|
|
741
819
|
};
|
|
742
820
|
loanId: bigint;
|
|
743
821
|
offerIds: string[];
|
|
@@ -749,6 +827,7 @@ export declare class Gondi {
|
|
|
749
827
|
blobGasUsed?: bigint | undefined;
|
|
750
828
|
blockHash: Hash;
|
|
751
829
|
blockNumber: bigint;
|
|
830
|
+
blockTimestamp?: bigint | undefined;
|
|
752
831
|
contractAddress: Address | null | undefined;
|
|
753
832
|
cumulativeGasUsed: bigint;
|
|
754
833
|
effectiveGasPrice: bigint;
|
|
@@ -796,6 +875,7 @@ export declare class Gondi {
|
|
|
796
875
|
blobGasUsed?: bigint | undefined;
|
|
797
876
|
blockHash: Hash;
|
|
798
877
|
blockNumber: bigint;
|
|
878
|
+
blockTimestamp?: bigint | undefined;
|
|
799
879
|
contractAddress: Address | null | undefined;
|
|
800
880
|
cumulativeGasUsed: bigint;
|
|
801
881
|
effectiveGasPrice: bigint;
|
|
@@ -849,6 +929,27 @@ export declare class Gondi {
|
|
|
849
929
|
}[];
|
|
850
930
|
protocolFee: bigint;
|
|
851
931
|
id: string;
|
|
932
|
+
} | {
|
|
933
|
+
contractAddress: `0x${string}`;
|
|
934
|
+
borrower: `0x${string}`;
|
|
935
|
+
nftCollateralTokenId: bigint;
|
|
936
|
+
nftCollateralAddress: `0x${string}`;
|
|
937
|
+
principalAddress: `0x${string}`;
|
|
938
|
+
principalAmount: bigint;
|
|
939
|
+
startTime: bigint;
|
|
940
|
+
duration: bigint;
|
|
941
|
+
tranche: readonly {
|
|
942
|
+
loanId: bigint;
|
|
943
|
+
floor: bigint;
|
|
944
|
+
principalAmount: bigint;
|
|
945
|
+
lender: `0x${string}`;
|
|
946
|
+
accruedInterest: bigint;
|
|
947
|
+
startTime: bigint;
|
|
948
|
+
aprBps: bigint;
|
|
949
|
+
}[];
|
|
950
|
+
protocolFee: bigint;
|
|
951
|
+
lenderRefinanceDisabled: boolean;
|
|
952
|
+
id: string;
|
|
852
953
|
};
|
|
853
954
|
loanId: bigint;
|
|
854
955
|
offerIds: string[];
|
|
@@ -874,6 +975,29 @@ export declare class Gondi {
|
|
|
874
975
|
blobGasUsed?: bigint | undefined;
|
|
875
976
|
blockHash: Hash;
|
|
876
977
|
blockNumber: bigint;
|
|
978
|
+
blockTimestamp?: bigint | undefined;
|
|
979
|
+
contractAddress: Address | null | undefined;
|
|
980
|
+
cumulativeGasUsed: bigint;
|
|
981
|
+
effectiveGasPrice: bigint;
|
|
982
|
+
from: Address;
|
|
983
|
+
gasUsed: bigint;
|
|
984
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
985
|
+
logsBloom: Hex;
|
|
986
|
+
root?: Hash | undefined;
|
|
987
|
+
status: "success" | "reverted";
|
|
988
|
+
to: Address | null;
|
|
989
|
+
transactionHash: Hash;
|
|
990
|
+
transactionIndex: number;
|
|
991
|
+
type: import("viem").TransactionType;
|
|
992
|
+
loanId: bigint;
|
|
993
|
+
totalRepayment: bigint;
|
|
994
|
+
fee: bigint;
|
|
995
|
+
} | {
|
|
996
|
+
blobGasPrice?: bigint | undefined;
|
|
997
|
+
blobGasUsed?: bigint | undefined;
|
|
998
|
+
blockHash: Hash;
|
|
999
|
+
blockNumber: bigint;
|
|
1000
|
+
blockTimestamp?: bigint | undefined;
|
|
877
1001
|
contractAddress: Address | null | undefined;
|
|
878
1002
|
cumulativeGasUsed: bigint;
|
|
879
1003
|
effectiveGasPrice: bigint;
|
|
@@ -895,6 +1019,7 @@ export declare class Gondi {
|
|
|
895
1019
|
blobGasUsed?: bigint | undefined;
|
|
896
1020
|
blockHash: Hash;
|
|
897
1021
|
blockNumber: bigint;
|
|
1022
|
+
blockTimestamp?: bigint | undefined;
|
|
898
1023
|
contractAddress: Address | null | undefined;
|
|
899
1024
|
cumulativeGasUsed: bigint;
|
|
900
1025
|
effectiveGasPrice: bigint;
|
|
@@ -951,6 +1076,7 @@ export declare class Gondi {
|
|
|
951
1076
|
repayment: bigint;
|
|
952
1077
|
hidden?: boolean | null;
|
|
953
1078
|
maxSeniorRepayment: bigint;
|
|
1079
|
+
lenderRefinanceDisabled: boolean;
|
|
954
1080
|
collection: {
|
|
955
1081
|
__typename?: "Collection";
|
|
956
1082
|
id: string;
|
|
@@ -1008,6 +1134,7 @@ export declare class Gondi {
|
|
|
1008
1134
|
repayment: bigint;
|
|
1009
1135
|
hidden?: boolean | null;
|
|
1010
1136
|
maxSeniorRepayment: bigint;
|
|
1137
|
+
lenderRefinanceDisabled: boolean;
|
|
1011
1138
|
nft: {
|
|
1012
1139
|
__typename?: "NFT";
|
|
1013
1140
|
id: string;
|
|
@@ -1074,6 +1201,7 @@ export declare class Gondi {
|
|
|
1074
1201
|
repayment: bigint;
|
|
1075
1202
|
hidden?: boolean | null;
|
|
1076
1203
|
maxSeniorRepayment: bigint;
|
|
1204
|
+
lenderRefinanceDisabled: boolean;
|
|
1077
1205
|
collection: {
|
|
1078
1206
|
__typename?: "Collection";
|
|
1079
1207
|
id: string;
|
|
@@ -1131,6 +1259,7 @@ export declare class Gondi {
|
|
|
1131
1259
|
repayment: bigint;
|
|
1132
1260
|
hidden?: boolean | null;
|
|
1133
1261
|
maxSeniorRepayment: bigint;
|
|
1262
|
+
lenderRefinanceDisabled: boolean;
|
|
1134
1263
|
nft: {
|
|
1135
1264
|
__typename?: "NFT";
|
|
1136
1265
|
id: string;
|
|
@@ -1194,6 +1323,7 @@ export declare class Gondi {
|
|
|
1194
1323
|
blendedAprBps: number;
|
|
1195
1324
|
totalOriginationFee: bigint;
|
|
1196
1325
|
protocolFee: bigint;
|
|
1326
|
+
lenderRefinanceDisabled: boolean;
|
|
1197
1327
|
offer: {
|
|
1198
1328
|
__typename?: "CollectionOffer";
|
|
1199
1329
|
offerId: bigint;
|
|
@@ -1288,6 +1418,7 @@ export declare class Gondi {
|
|
|
1288
1418
|
blendedAprBps: number;
|
|
1289
1419
|
totalOriginationFee: bigint;
|
|
1290
1420
|
protocolFee: bigint;
|
|
1421
|
+
lenderRefinanceDisabled: boolean;
|
|
1291
1422
|
offer: {
|
|
1292
1423
|
__typename?: "CollectionOffer";
|
|
1293
1424
|
offerId: bigint;
|
|
@@ -1592,6 +1723,14 @@ export declare class Gondi {
|
|
|
1592
1723
|
address: Address;
|
|
1593
1724
|
decimals: number;
|
|
1594
1725
|
};
|
|
1726
|
+
} | {
|
|
1727
|
+
__typename?: "StealthMaskedOrder";
|
|
1728
|
+
price: bigint;
|
|
1729
|
+
currency: {
|
|
1730
|
+
__typename?: "Currency";
|
|
1731
|
+
address: Address;
|
|
1732
|
+
decimals: number;
|
|
1733
|
+
};
|
|
1595
1734
|
} | {
|
|
1596
1735
|
__typename?: "TraitOrder";
|
|
1597
1736
|
price: bigint;
|
|
@@ -1639,6 +1778,7 @@ export declare class Gondi {
|
|
|
1639
1778
|
blobGasUsed?: bigint | undefined;
|
|
1640
1779
|
blockHash: Hash;
|
|
1641
1780
|
blockNumber: bigint;
|
|
1781
|
+
blockTimestamp?: bigint | undefined;
|
|
1642
1782
|
contractAddress: Address | null | undefined;
|
|
1643
1783
|
cumulativeGasUsed: bigint;
|
|
1644
1784
|
effectiveGasPrice: bigint;
|
|
@@ -1692,6 +1832,27 @@ export declare class Gondi {
|
|
|
1692
1832
|
}[];
|
|
1693
1833
|
protocolFee: bigint;
|
|
1694
1834
|
id: string;
|
|
1835
|
+
} | {
|
|
1836
|
+
contractAddress: `0x${string}`;
|
|
1837
|
+
borrower: `0x${string}`;
|
|
1838
|
+
nftCollateralTokenId: bigint;
|
|
1839
|
+
nftCollateralAddress: `0x${string}`;
|
|
1840
|
+
principalAddress: `0x${string}`;
|
|
1841
|
+
principalAmount: bigint;
|
|
1842
|
+
startTime: bigint;
|
|
1843
|
+
duration: bigint;
|
|
1844
|
+
tranche: readonly {
|
|
1845
|
+
loanId: bigint;
|
|
1846
|
+
floor: bigint;
|
|
1847
|
+
principalAmount: bigint;
|
|
1848
|
+
lender: `0x${string}`;
|
|
1849
|
+
accruedInterest: bigint;
|
|
1850
|
+
startTime: bigint;
|
|
1851
|
+
aprBps: bigint;
|
|
1852
|
+
}[];
|
|
1853
|
+
protocolFee: bigint;
|
|
1854
|
+
lenderRefinanceDisabled: boolean;
|
|
1855
|
+
id: string;
|
|
1695
1856
|
};
|
|
1696
1857
|
loanId: bigint;
|
|
1697
1858
|
renegotiationId: string;
|
|
@@ -1703,6 +1864,7 @@ export declare class Gondi {
|
|
|
1703
1864
|
blobGasUsed?: bigint | undefined;
|
|
1704
1865
|
blockHash: Hash;
|
|
1705
1866
|
blockNumber: bigint;
|
|
1867
|
+
blockTimestamp?: bigint | undefined;
|
|
1706
1868
|
contractAddress: Address | null | undefined;
|
|
1707
1869
|
cumulativeGasUsed: bigint;
|
|
1708
1870
|
effectiveGasPrice: bigint;
|
|
@@ -1750,6 +1912,7 @@ export declare class Gondi {
|
|
|
1750
1912
|
blobGasUsed?: bigint | undefined;
|
|
1751
1913
|
blockHash: Hash;
|
|
1752
1914
|
blockNumber: bigint;
|
|
1915
|
+
blockTimestamp?: bigint | undefined;
|
|
1753
1916
|
contractAddress: Address | null | undefined;
|
|
1754
1917
|
cumulativeGasUsed: bigint;
|
|
1755
1918
|
effectiveGasPrice: bigint;
|
|
@@ -1803,6 +1966,27 @@ export declare class Gondi {
|
|
|
1803
1966
|
}[];
|
|
1804
1967
|
protocolFee: bigint;
|
|
1805
1968
|
id: string;
|
|
1969
|
+
} | {
|
|
1970
|
+
contractAddress: `0x${string}`;
|
|
1971
|
+
borrower: `0x${string}`;
|
|
1972
|
+
nftCollateralTokenId: bigint;
|
|
1973
|
+
nftCollateralAddress: `0x${string}`;
|
|
1974
|
+
principalAddress: `0x${string}`;
|
|
1975
|
+
principalAmount: bigint;
|
|
1976
|
+
startTime: bigint;
|
|
1977
|
+
duration: bigint;
|
|
1978
|
+
tranche: readonly {
|
|
1979
|
+
loanId: bigint;
|
|
1980
|
+
floor: bigint;
|
|
1981
|
+
principalAmount: bigint;
|
|
1982
|
+
lender: `0x${string}`;
|
|
1983
|
+
accruedInterest: bigint;
|
|
1984
|
+
startTime: bigint;
|
|
1985
|
+
aprBps: bigint;
|
|
1986
|
+
}[];
|
|
1987
|
+
protocolFee: bigint;
|
|
1988
|
+
lenderRefinanceDisabled: boolean;
|
|
1989
|
+
id: string;
|
|
1806
1990
|
};
|
|
1807
1991
|
loanId: bigint;
|
|
1808
1992
|
renegotiationId: string;
|
|
@@ -1814,6 +1998,7 @@ export declare class Gondi {
|
|
|
1814
1998
|
blobGasUsed?: bigint | undefined;
|
|
1815
1999
|
blockHash: Hash;
|
|
1816
2000
|
blockNumber: bigint;
|
|
2001
|
+
blockTimestamp?: bigint | undefined;
|
|
1817
2002
|
contractAddress: Address | null | undefined;
|
|
1818
2003
|
cumulativeGasUsed: bigint;
|
|
1819
2004
|
effectiveGasPrice: bigint;
|
|
@@ -1861,6 +2046,7 @@ export declare class Gondi {
|
|
|
1861
2046
|
blobGasUsed?: bigint | undefined;
|
|
1862
2047
|
blockHash: Hash;
|
|
1863
2048
|
blockNumber: bigint;
|
|
2049
|
+
blockTimestamp?: bigint | undefined;
|
|
1864
2050
|
contractAddress: Address | null | undefined;
|
|
1865
2051
|
cumulativeGasUsed: bigint;
|
|
1866
2052
|
effectiveGasPrice: bigint;
|
|
@@ -1914,6 +2100,27 @@ export declare class Gondi {
|
|
|
1914
2100
|
}[];
|
|
1915
2101
|
protocolFee: bigint;
|
|
1916
2102
|
id: string;
|
|
2103
|
+
} | {
|
|
2104
|
+
contractAddress: `0x${string}`;
|
|
2105
|
+
borrower: `0x${string}`;
|
|
2106
|
+
nftCollateralTokenId: bigint;
|
|
2107
|
+
nftCollateralAddress: `0x${string}`;
|
|
2108
|
+
principalAddress: `0x${string}`;
|
|
2109
|
+
principalAmount: bigint;
|
|
2110
|
+
startTime: bigint;
|
|
2111
|
+
duration: bigint;
|
|
2112
|
+
tranche: readonly {
|
|
2113
|
+
loanId: bigint;
|
|
2114
|
+
floor: bigint;
|
|
2115
|
+
principalAmount: bigint;
|
|
2116
|
+
lender: `0x${string}`;
|
|
2117
|
+
accruedInterest: bigint;
|
|
2118
|
+
startTime: bigint;
|
|
2119
|
+
aprBps: bigint;
|
|
2120
|
+
}[];
|
|
2121
|
+
protocolFee: bigint;
|
|
2122
|
+
lenderRefinanceDisabled: boolean;
|
|
2123
|
+
id: string;
|
|
1917
2124
|
};
|
|
1918
2125
|
loanId: bigint;
|
|
1919
2126
|
renegotiationId: string;
|
|
@@ -1935,6 +2142,7 @@ export declare class Gondi {
|
|
|
1935
2142
|
blobGasUsed?: bigint | undefined;
|
|
1936
2143
|
blockHash: Hash;
|
|
1937
2144
|
blockNumber: bigint;
|
|
2145
|
+
blockTimestamp?: bigint | undefined;
|
|
1938
2146
|
contractAddress: Address | null | undefined;
|
|
1939
2147
|
cumulativeGasUsed: bigint;
|
|
1940
2148
|
effectiveGasPrice: bigint;
|
|
@@ -1964,6 +2172,7 @@ export declare class Gondi {
|
|
|
1964
2172
|
blobGasUsed?: bigint | undefined;
|
|
1965
2173
|
blockHash: Hash;
|
|
1966
2174
|
blockNumber: bigint;
|
|
2175
|
+
blockTimestamp?: bigint | undefined;
|
|
1967
2176
|
contractAddress: Address | null | undefined;
|
|
1968
2177
|
cumulativeGasUsed: bigint;
|
|
1969
2178
|
effectiveGasPrice: bigint;
|
|
@@ -2008,6 +2217,7 @@ export declare class Gondi {
|
|
|
2008
2217
|
blobGasUsed?: bigint | undefined;
|
|
2009
2218
|
blockHash: Hash;
|
|
2010
2219
|
blockNumber: bigint;
|
|
2220
|
+
blockTimestamp?: bigint | undefined;
|
|
2011
2221
|
contractAddress: Address | null | undefined;
|
|
2012
2222
|
cumulativeGasUsed: bigint;
|
|
2013
2223
|
effectiveGasPrice: bigint;
|
|
@@ -2056,6 +2266,7 @@ export declare class Gondi {
|
|
|
2056
2266
|
blobGasUsed?: bigint | undefined;
|
|
2057
2267
|
blockHash: Hash;
|
|
2058
2268
|
blockNumber: bigint;
|
|
2269
|
+
blockTimestamp?: bigint | undefined;
|
|
2059
2270
|
contractAddress: Address | null | undefined;
|
|
2060
2271
|
cumulativeGasUsed: bigint;
|
|
2061
2272
|
effectiveGasPrice: bigint;
|
|
@@ -2117,6 +2328,7 @@ export declare class Gondi {
|
|
|
2117
2328
|
blobGasUsed?: bigint | undefined;
|
|
2118
2329
|
blockHash: Hash;
|
|
2119
2330
|
blockNumber: bigint;
|
|
2331
|
+
blockTimestamp?: bigint | undefined;
|
|
2120
2332
|
contractAddress: Address | null | undefined;
|
|
2121
2333
|
cumulativeGasUsed: bigint;
|
|
2122
2334
|
effectiveGasPrice: bigint;
|
|
@@ -2170,6 +2382,27 @@ export declare class Gondi {
|
|
|
2170
2382
|
}[];
|
|
2171
2383
|
protocolFee: bigint;
|
|
2172
2384
|
id: string;
|
|
2385
|
+
} | {
|
|
2386
|
+
contractAddress: `0x${string}`;
|
|
2387
|
+
borrower: `0x${string}`;
|
|
2388
|
+
nftCollateralTokenId: bigint;
|
|
2389
|
+
nftCollateralAddress: `0x${string}`;
|
|
2390
|
+
principalAddress: `0x${string}`;
|
|
2391
|
+
principalAmount: bigint;
|
|
2392
|
+
startTime: bigint;
|
|
2393
|
+
duration: bigint;
|
|
2394
|
+
tranche: readonly {
|
|
2395
|
+
loanId: bigint;
|
|
2396
|
+
floor: bigint;
|
|
2397
|
+
principalAmount: bigint;
|
|
2398
|
+
lender: `0x${string}`;
|
|
2399
|
+
accruedInterest: bigint;
|
|
2400
|
+
startTime: bigint;
|
|
2401
|
+
aprBps: bigint;
|
|
2402
|
+
}[];
|
|
2403
|
+
protocolFee: bigint;
|
|
2404
|
+
lenderRefinanceDisabled: boolean;
|
|
2405
|
+
id: string;
|
|
2173
2406
|
};
|
|
2174
2407
|
loanId: bigint;
|
|
2175
2408
|
}>;
|
|
@@ -2208,6 +2441,7 @@ export declare class Gondi {
|
|
|
2208
2441
|
blobGasUsed?: bigint | undefined;
|
|
2209
2442
|
blockHash: Hash;
|
|
2210
2443
|
blockNumber: bigint;
|
|
2444
|
+
blockTimestamp?: bigint | undefined;
|
|
2211
2445
|
contractAddress: Address | null | undefined;
|
|
2212
2446
|
cumulativeGasUsed: bigint;
|
|
2213
2447
|
effectiveGasPrice: bigint;
|
|
@@ -2253,6 +2487,27 @@ export declare class Gondi {
|
|
|
2253
2487
|
blobGasUsed?: bigint | undefined;
|
|
2254
2488
|
blockHash: Hash;
|
|
2255
2489
|
blockNumber: bigint;
|
|
2490
|
+
blockTimestamp?: bigint | undefined;
|
|
2491
|
+
contractAddress: Address | null | undefined;
|
|
2492
|
+
cumulativeGasUsed: bigint;
|
|
2493
|
+
effectiveGasPrice: bigint;
|
|
2494
|
+
from: Address;
|
|
2495
|
+
gasUsed: bigint;
|
|
2496
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
2497
|
+
logsBloom: Hex;
|
|
2498
|
+
root?: Hash | undefined;
|
|
2499
|
+
status: "success" | "reverted";
|
|
2500
|
+
to: Address | null;
|
|
2501
|
+
transactionHash: Hash;
|
|
2502
|
+
transactionIndex: number;
|
|
2503
|
+
type: import("viem").TransactionType;
|
|
2504
|
+
loanId: bigint;
|
|
2505
|
+
} | {
|
|
2506
|
+
blobGasPrice?: bigint | undefined;
|
|
2507
|
+
blobGasUsed?: bigint | undefined;
|
|
2508
|
+
blockHash: Hash;
|
|
2509
|
+
blockNumber: bigint;
|
|
2510
|
+
blockTimestamp?: bigint | undefined;
|
|
2256
2511
|
contractAddress: Address | null | undefined;
|
|
2257
2512
|
cumulativeGasUsed: bigint;
|
|
2258
2513
|
effectiveGasPrice: bigint;
|
|
@@ -2272,6 +2527,7 @@ export declare class Gondi {
|
|
|
2272
2527
|
blobGasUsed?: bigint | undefined;
|
|
2273
2528
|
blockHash: Hash;
|
|
2274
2529
|
blockNumber: bigint;
|
|
2530
|
+
blockTimestamp?: bigint | undefined;
|
|
2275
2531
|
contractAddress: Address | null | undefined;
|
|
2276
2532
|
cumulativeGasUsed: bigint;
|
|
2277
2533
|
effectiveGasPrice: bigint;
|
|
@@ -2300,6 +2556,7 @@ export declare class Gondi {
|
|
|
2300
2556
|
blobGasUsed?: bigint | undefined;
|
|
2301
2557
|
blockHash: Hash;
|
|
2302
2558
|
blockNumber: bigint;
|
|
2559
|
+
blockTimestamp?: bigint | undefined;
|
|
2303
2560
|
contractAddress: Address | null | undefined;
|
|
2304
2561
|
cumulativeGasUsed: bigint;
|
|
2305
2562
|
effectiveGasPrice: bigint;
|
|
@@ -2327,6 +2584,7 @@ export declare class Gondi {
|
|
|
2327
2584
|
blobGasUsed?: bigint | undefined;
|
|
2328
2585
|
blockHash: Hash;
|
|
2329
2586
|
blockNumber: bigint;
|
|
2587
|
+
blockTimestamp?: bigint | undefined;
|
|
2330
2588
|
contractAddress: Address | null | undefined;
|
|
2331
2589
|
cumulativeGasUsed: bigint;
|
|
2332
2590
|
effectiveGasPrice: bigint;
|
|
@@ -2358,6 +2616,7 @@ export declare class Gondi {
|
|
|
2358
2616
|
blobGasUsed?: bigint | undefined;
|
|
2359
2617
|
blockHash: Hash;
|
|
2360
2618
|
blockNumber: bigint;
|
|
2619
|
+
blockTimestamp?: bigint | undefined;
|
|
2361
2620
|
contractAddress: Address | null | undefined;
|
|
2362
2621
|
cumulativeGasUsed: bigint;
|
|
2363
2622
|
effectiveGasPrice: bigint;
|
|
@@ -2387,6 +2646,7 @@ export declare class Gondi {
|
|
|
2387
2646
|
blobGasUsed?: bigint | undefined;
|
|
2388
2647
|
blockHash: Hash;
|
|
2389
2648
|
blockNumber: bigint;
|
|
2649
|
+
blockTimestamp?: bigint | undefined;
|
|
2390
2650
|
contractAddress: Address | null | undefined;
|
|
2391
2651
|
cumulativeGasUsed: bigint;
|
|
2392
2652
|
effectiveGasPrice: bigint;
|
|
@@ -2416,6 +2676,7 @@ export declare class Gondi {
|
|
|
2416
2676
|
blobGasUsed?: bigint | undefined;
|
|
2417
2677
|
blockHash: Hash;
|
|
2418
2678
|
blockNumber: bigint;
|
|
2679
|
+
blockTimestamp?: bigint | undefined;
|
|
2419
2680
|
contractAddress: Address | null | undefined;
|
|
2420
2681
|
cumulativeGasUsed: bigint;
|
|
2421
2682
|
effectiveGasPrice: bigint;
|
|
@@ -2449,6 +2710,7 @@ export declare class Gondi {
|
|
|
2449
2710
|
blobGasUsed?: bigint | undefined;
|
|
2450
2711
|
blockHash: Hash;
|
|
2451
2712
|
blockNumber: bigint;
|
|
2713
|
+
blockTimestamp?: bigint | undefined;
|
|
2452
2714
|
contractAddress: Address | null | undefined;
|
|
2453
2715
|
cumulativeGasUsed: bigint;
|
|
2454
2716
|
effectiveGasPrice: bigint;
|
|
@@ -2502,6 +2764,7 @@ export declare class Gondi {
|
|
|
2502
2764
|
blobGasUsed?: bigint | undefined;
|
|
2503
2765
|
blockHash: Hash;
|
|
2504
2766
|
blockNumber: bigint;
|
|
2767
|
+
blockTimestamp?: bigint | undefined;
|
|
2505
2768
|
contractAddress: Address | null | undefined;
|
|
2506
2769
|
cumulativeGasUsed: bigint;
|
|
2507
2770
|
effectiveGasPrice: bigint;
|
|
@@ -2523,6 +2786,7 @@ export declare class Gondi {
|
|
|
2523
2786
|
blobGasUsed?: bigint | undefined;
|
|
2524
2787
|
blockHash: Hash;
|
|
2525
2788
|
blockNumber: bigint;
|
|
2789
|
+
blockTimestamp?: bigint | undefined;
|
|
2526
2790
|
contractAddress: Address | null | undefined;
|
|
2527
2791
|
cumulativeGasUsed: bigint;
|
|
2528
2792
|
effectiveGasPrice: bigint;
|
|
@@ -2590,6 +2854,7 @@ export declare class Gondi {
|
|
|
2590
2854
|
blobGasUsed?: bigint | undefined;
|
|
2591
2855
|
blockHash: Hash;
|
|
2592
2856
|
blockNumber: bigint;
|
|
2857
|
+
blockTimestamp?: bigint | undefined;
|
|
2593
2858
|
contractAddress: Address | null | undefined;
|
|
2594
2859
|
cumulativeGasUsed: bigint;
|
|
2595
2860
|
effectiveGasPrice: bigint;
|
|
@@ -2625,6 +2890,7 @@ export declare class Gondi {
|
|
|
2625
2890
|
blobGasUsed?: bigint | undefined;
|
|
2626
2891
|
blockHash: Hash;
|
|
2627
2892
|
blockNumber: bigint;
|
|
2893
|
+
blockTimestamp?: bigint | undefined;
|
|
2628
2894
|
contractAddress: Address | null | undefined;
|
|
2629
2895
|
cumulativeGasUsed: bigint;
|
|
2630
2896
|
effectiveGasPrice: bigint;
|
|
@@ -2646,6 +2912,7 @@ export declare class Gondi {
|
|
|
2646
2912
|
blobGasUsed?: bigint | undefined;
|
|
2647
2913
|
blockHash: Hash;
|
|
2648
2914
|
blockNumber: bigint;
|
|
2915
|
+
blockTimestamp?: bigint | undefined;
|
|
2649
2916
|
contractAddress: Address | null | undefined;
|
|
2650
2917
|
cumulativeGasUsed: bigint;
|
|
2651
2918
|
effectiveGasPrice: bigint;
|
|
@@ -2675,6 +2942,7 @@ export declare class Gondi {
|
|
|
2675
2942
|
blobGasUsed?: bigint | undefined;
|
|
2676
2943
|
blockHash: Hash;
|
|
2677
2944
|
blockNumber: bigint;
|
|
2945
|
+
blockTimestamp?: bigint | undefined;
|
|
2678
2946
|
contractAddress: Address | null | undefined;
|
|
2679
2947
|
cumulativeGasUsed: bigint;
|
|
2680
2948
|
effectiveGasPrice: bigint;
|
|
@@ -2696,6 +2964,7 @@ export declare class Gondi {
|
|
|
2696
2964
|
blobGasUsed?: bigint | undefined;
|
|
2697
2965
|
blockHash: Hash;
|
|
2698
2966
|
blockNumber: bigint;
|
|
2967
|
+
blockTimestamp?: bigint | undefined;
|
|
2699
2968
|
contractAddress: Address | null | undefined;
|
|
2700
2969
|
cumulativeGasUsed: bigint;
|
|
2701
2970
|
effectiveGasPrice: bigint;
|
|
@@ -2723,6 +2992,7 @@ export declare class Gondi {
|
|
|
2723
2992
|
blobGasUsed?: bigint | undefined;
|
|
2724
2993
|
blockHash: Hash;
|
|
2725
2994
|
blockNumber: bigint;
|
|
2995
|
+
blockTimestamp?: bigint | undefined;
|
|
2726
2996
|
contractAddress: Address | null | undefined;
|
|
2727
2997
|
cumulativeGasUsed: bigint;
|
|
2728
2998
|
effectiveGasPrice: bigint;
|
|
@@ -2750,6 +3020,7 @@ export declare class Gondi {
|
|
|
2750
3020
|
blobGasUsed?: bigint | undefined;
|
|
2751
3021
|
blockHash: Hash;
|
|
2752
3022
|
blockNumber: bigint;
|
|
3023
|
+
blockTimestamp?: bigint | undefined;
|
|
2753
3024
|
contractAddress: Address | null | undefined;
|
|
2754
3025
|
cumulativeGasUsed: bigint;
|
|
2755
3026
|
effectiveGasPrice: bigint;
|
|
@@ -2778,6 +3049,7 @@ export declare class Gondi {
|
|
|
2778
3049
|
blobGasUsed?: bigint | undefined;
|
|
2779
3050
|
blockHash: Hash;
|
|
2780
3051
|
blockNumber: bigint;
|
|
3052
|
+
blockTimestamp?: bigint | undefined;
|
|
2781
3053
|
contractAddress: Address | null | undefined;
|
|
2782
3054
|
cumulativeGasUsed: bigint;
|
|
2783
3055
|
effectiveGasPrice: bigint;
|
|
@@ -2805,6 +3077,7 @@ export declare class Gondi {
|
|
|
2805
3077
|
blobGasUsed?: bigint | undefined;
|
|
2806
3078
|
blockHash: Hash;
|
|
2807
3079
|
blockNumber: bigint;
|
|
3080
|
+
blockTimestamp?: bigint | undefined;
|
|
2808
3081
|
contractAddress: Address | null | undefined;
|
|
2809
3082
|
cumulativeGasUsed: bigint;
|
|
2810
3083
|
effectiveGasPrice: bigint;
|
|
@@ -2883,6 +3156,9 @@ export declare class Gondi {
|
|
|
2883
3156
|
} | {
|
|
2884
3157
|
recipient: `0x${string}`;
|
|
2885
3158
|
fraction: bigint;
|
|
3159
|
+
} | {
|
|
3160
|
+
recipient: `0x${string}`;
|
|
3161
|
+
fraction: bigint;
|
|
2886
3162
|
}>;
|
|
2887
3163
|
}
|
|
2888
3164
|
type MakeOfferType = Omit<Awaited<ReturnType<Gondi['makeSingleNftOffer']>>, 'nftId'> | Omit<Awaited<ReturnType<Gondi['makeCollectionOffer']>>, 'collectionId'>;
|