@wildcatfi/wildcat-sdk 3.0.6 → 3.0.8
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/account/index.d.ts +2 -0
- package/dist/account/index.d.ts.map +1 -1
- package/dist/account/index.js +13 -0
- package/dist/account/index.js.map +1 -1
- package/dist/gql/getLenderAccountsForAllMarkets.d.ts +14 -0
- package/dist/gql/getLenderAccountsForAllMarkets.d.ts.map +1 -0
- package/dist/gql/getLenderAccountsForAllMarkets.js +31 -0
- package/dist/gql/getLenderAccountsForAllMarkets.js.map +1 -0
- package/dist/gql/getMarketsForBorrower.d.ts +3 -2
- package/dist/gql/getMarketsForBorrower.d.ts.map +1 -1
- package/dist/gql/getMarketsForBorrower.js +5 -2
- package/dist/gql/getMarketsForBorrower.js.map +1 -1
- package/dist/gql/getMarketsWithEvents.d.ts +13 -0
- package/dist/gql/getMarketsWithEvents.d.ts.map +1 -0
- package/dist/gql/{getMarketsForAllBorrowers.js → getMarketsWithEvents.js} +5 -5
- package/dist/gql/getMarketsWithEvents.js.map +1 -0
- package/dist/gql/graphql.d.ts +49 -56
- package/dist/gql/graphql.d.ts.map +1 -1
- package/dist/gql/graphql.js +71 -73
- package/dist/gql/graphql.js.map +1 -1
- package/dist/gql/index.d.ts +2 -1
- package/dist/gql/index.d.ts.map +1 -1
- package/dist/gql/index.js +2 -1
- package/dist/gql/index.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/gql/getMarketsForAllBorrowers.d.ts +0 -13
- package/dist/gql/getMarketsForAllBorrowers.d.ts.map +0 -1
- package/dist/gql/getMarketsForAllBorrowers.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -8
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -24
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/types.d.ts +0 -13
- package/dist/hooks/types.d.ts.map +0 -1
- package/dist/hooks/types.js +0 -3
- package/dist/hooks/types.js.map +0 -1
- package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.d.ts +0 -27
- package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.d.ts.map +0 -1
- package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js +0 -85
- package/dist/hooks/useAccountsWhereLenderAuthorizedOrActive.js.map +0 -1
- package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.d.ts +0 -10
- package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.d.ts.map +0 -1
- package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.js +0 -72
- package/dist/hooks/useAllPendingWithdrawalBatchesForMarket.js.map +0 -1
- package/dist/hooks/useGetAccountWithMarket.d.ts +0 -14
- package/dist/hooks/useGetAccountWithMarket.d.ts.map +0 -1
- package/dist/hooks/useGetAccountWithMarket.js +0 -59
- package/dist/hooks/useGetAccountWithMarket.js.map +0 -1
- package/dist/hooks/useLenderAccount.d.ts +0 -15
- package/dist/hooks/useLenderAccount.d.ts.map +0 -1
- package/dist/hooks/useLenderAccount.js +0 -57
- package/dist/hooks/useLenderAccount.js.map +0 -1
- package/dist/hooks/useLenderWithdrawalsForMarket.d.ts +0 -16
- package/dist/hooks/useLenderWithdrawalsForMarket.d.ts.map +0 -1
- package/dist/hooks/useLenderWithdrawalsForMarket.js +0 -88
- package/dist/hooks/useLenderWithdrawalsForMarket.js.map +0 -1
- package/dist/hooks/useMarket.d.ts +0 -13
- package/dist/hooks/useMarket.d.ts.map +0 -1
- package/dist/hooks/useMarket.js +0 -56
- package/dist/hooks/useMarket.js.map +0 -1
- package/dist/hooks/useMarketsForBorrower.d.ts +0 -13
- package/dist/hooks/useMarketsForBorrower.d.ts.map +0 -1
- package/dist/hooks/useMarketsForBorrower.js +0 -60
- package/dist/hooks/useMarketsForBorrower.js.map +0 -1
package/dist/gql/graphql.d.ts
CHANGED
|
@@ -624,6 +624,7 @@ export declare enum SubgraphAccountMadeFirstDeposit_OrderBy {
|
|
|
624
624
|
MarketId = "market__id",
|
|
625
625
|
MarketIsClosed = "market__isClosed",
|
|
626
626
|
MarketIsDelinquent = "market__isDelinquent",
|
|
627
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
627
628
|
MarketIsRegistered = "market__isRegistered",
|
|
628
629
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
629
630
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -911,6 +912,7 @@ export declare enum SubgraphAnnualInterestBipsUpdated_OrderBy {
|
|
|
911
912
|
MarketId = "market__id",
|
|
912
913
|
MarketIsClosed = "market__isClosed",
|
|
913
914
|
MarketIsDelinquent = "market__isDelinquent",
|
|
915
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
914
916
|
MarketIsRegistered = "market__isRegistered",
|
|
915
917
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
916
918
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -1232,6 +1234,7 @@ export declare enum SubgraphBorrow_OrderBy {
|
|
|
1232
1234
|
MarketId = "market__id",
|
|
1233
1235
|
MarketIsClosed = "market__isClosed",
|
|
1234
1236
|
MarketIsDelinquent = "market__isDelinquent",
|
|
1237
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
1235
1238
|
MarketIsRegistered = "market__isRegistered",
|
|
1236
1239
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
1237
1240
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -2128,6 +2131,7 @@ export declare enum SubgraphDebtRepaid_OrderBy {
|
|
|
2128
2131
|
MarketId = "market__id",
|
|
2129
2132
|
MarketIsClosed = "market__isClosed",
|
|
2130
2133
|
MarketIsDelinquent = "market__isDelinquent",
|
|
2134
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
2131
2135
|
MarketIsRegistered = "market__isRegistered",
|
|
2132
2136
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
2133
2137
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -2299,6 +2303,7 @@ export declare enum SubgraphDelinquencyStatusChanged_OrderBy {
|
|
|
2299
2303
|
MarketId = "market__id",
|
|
2300
2304
|
MarketIsClosed = "market__isClosed",
|
|
2301
2305
|
MarketIsDelinquent = "market__isDelinquent",
|
|
2306
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
2302
2307
|
MarketIsRegistered = "market__isRegistered",
|
|
2303
2308
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
2304
2309
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -2497,6 +2502,7 @@ export declare enum SubgraphDeposit_OrderBy {
|
|
|
2497
2502
|
MarketId = "market__id",
|
|
2498
2503
|
MarketIsClosed = "market__isClosed",
|
|
2499
2504
|
MarketIsDelinquent = "market__isDelinquent",
|
|
2505
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
2500
2506
|
MarketIsRegistered = "market__isRegistered",
|
|
2501
2507
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
2502
2508
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -2662,6 +2668,7 @@ export declare enum SubgraphDisabledForceBuyBacks_OrderBy {
|
|
|
2662
2668
|
MarketId = "market__id",
|
|
2663
2669
|
MarketIsClosed = "market__isClosed",
|
|
2664
2670
|
MarketIsDelinquent = "market__isDelinquent",
|
|
2671
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
2665
2672
|
MarketIsRegistered = "market__isRegistered",
|
|
2666
2673
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
2667
2674
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -2818,6 +2825,7 @@ export declare enum SubgraphFeesCollected_OrderBy {
|
|
|
2818
2825
|
MarketId = "market__id",
|
|
2819
2826
|
MarketIsClosed = "market__isClosed",
|
|
2820
2827
|
MarketIsDelinquent = "market__isDelinquent",
|
|
2828
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
2821
2829
|
MarketIsRegistered = "market__isRegistered",
|
|
2822
2830
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
2823
2831
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -3010,6 +3018,7 @@ export declare enum SubgraphFixedTermUpdated_OrderBy {
|
|
|
3010
3018
|
MarketId = "market__id",
|
|
3011
3019
|
MarketIsClosed = "market__isClosed",
|
|
3012
3020
|
MarketIsDelinquent = "market__isDelinquent",
|
|
3021
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
3013
3022
|
MarketIsRegistered = "market__isRegistered",
|
|
3014
3023
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
3015
3024
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -3217,6 +3226,7 @@ export declare enum SubgraphForceBuyBack_OrderBy {
|
|
|
3217
3226
|
MarketId = "market__id",
|
|
3218
3227
|
MarketIsClosed = "market__isClosed",
|
|
3219
3228
|
MarketIsDelinquent = "market__isDelinquent",
|
|
3229
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
3220
3230
|
MarketIsRegistered = "market__isRegistered",
|
|
3221
3231
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
3222
3232
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -3456,6 +3466,7 @@ export declare enum SubgraphHooksConfig_OrderBy {
|
|
|
3456
3466
|
MarketId = "market__id",
|
|
3457
3467
|
MarketIsClosed = "market__isClosed",
|
|
3458
3468
|
MarketIsDelinquent = "market__isDelinquent",
|
|
3469
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
3459
3470
|
MarketIsRegistered = "market__isRegistered",
|
|
3460
3471
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
3461
3472
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -4694,6 +4705,7 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
|
|
|
4694
4705
|
MarketId = "market__id",
|
|
4695
4706
|
MarketIsClosed = "market__isClosed",
|
|
4696
4707
|
MarketIsDelinquent = "market__isDelinquent",
|
|
4708
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
4697
4709
|
MarketIsRegistered = "market__isRegistered",
|
|
4698
4710
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
4699
4711
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -4948,6 +4960,7 @@ export declare enum SubgraphLenderAccount_OrderBy {
|
|
|
4948
4960
|
MarketId = "market__id",
|
|
4949
4961
|
MarketIsClosed = "market__isClosed",
|
|
4950
4962
|
MarketIsDelinquent = "market__isDelinquent",
|
|
4963
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
4951
4964
|
MarketIsRegistered = "market__isRegistered",
|
|
4952
4965
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
4953
4966
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -5473,6 +5486,7 @@ export declare enum SubgraphLenderInterestAccrued_OrderBy {
|
|
|
5473
5486
|
MarketId = "market__id",
|
|
5474
5487
|
MarketIsClosed = "market__isClosed",
|
|
5475
5488
|
MarketIsDelinquent = "market__isDelinquent",
|
|
5489
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
5476
5490
|
MarketIsRegistered = "market__isRegistered",
|
|
5477
5491
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
5478
5492
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -5717,6 +5731,7 @@ export type SubgraphMarket = {
|
|
|
5717
5731
|
interestAccrualRecords: SubgraphMarketInterestAccrued[];
|
|
5718
5732
|
isClosed: Scalars["Boolean"]["output"];
|
|
5719
5733
|
isDelinquent: Scalars["Boolean"]["output"];
|
|
5734
|
+
isIncurringPenalties: Scalars["Boolean"]["output"];
|
|
5720
5735
|
isRegistered: Scalars["Boolean"]["output"];
|
|
5721
5736
|
lastInterestAccruedTimestamp: Scalars["Int"]["output"];
|
|
5722
5737
|
lenders: SubgraphLenderAccount[];
|
|
@@ -5972,6 +5987,7 @@ export declare enum SubgraphMarketAdded_OrderBy {
|
|
|
5972
5987
|
MarketId = "market__id",
|
|
5973
5988
|
MarketIsClosed = "market__isClosed",
|
|
5974
5989
|
MarketIsDelinquent = "market__isDelinquent",
|
|
5990
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
5975
5991
|
MarketIsRegistered = "market__isRegistered",
|
|
5976
5992
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
5977
5993
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -6117,6 +6133,7 @@ export declare enum SubgraphMarketClosed_OrderBy {
|
|
|
6117
6133
|
MarketId = "market__id",
|
|
6118
6134
|
MarketIsClosed = "market__isClosed",
|
|
6119
6135
|
MarketIsDelinquent = "market__isDelinquent",
|
|
6136
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
6120
6137
|
MarketIsRegistered = "market__isRegistered",
|
|
6121
6138
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
6122
6139
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -6244,6 +6261,7 @@ export declare enum SubgraphMarketDeployed_OrderBy {
|
|
|
6244
6261
|
MarketId = "market__id",
|
|
6245
6262
|
MarketIsClosed = "market__isClosed",
|
|
6246
6263
|
MarketIsDelinquent = "market__isDelinquent",
|
|
6264
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
6247
6265
|
MarketIsRegistered = "market__isRegistered",
|
|
6248
6266
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
6249
6267
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -6447,6 +6465,7 @@ export declare enum SubgraphMarketInterestAccrued_OrderBy {
|
|
|
6447
6465
|
MarketId = "market__id",
|
|
6448
6466
|
MarketIsClosed = "market__isClosed",
|
|
6449
6467
|
MarketIsDelinquent = "market__isDelinquent",
|
|
6468
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
6450
6469
|
MarketIsRegistered = "market__isRegistered",
|
|
6451
6470
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
6452
6471
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -6576,6 +6595,7 @@ export declare enum SubgraphMarketRemoved_OrderBy {
|
|
|
6576
6595
|
MarketId = "market__id",
|
|
6577
6596
|
MarketIsClosed = "market__isClosed",
|
|
6578
6597
|
MarketIsDelinquent = "market__isDelinquent",
|
|
6598
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
6579
6599
|
MarketIsRegistered = "market__isRegistered",
|
|
6580
6600
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
6581
6601
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -6901,6 +6921,10 @@ export type SubgraphMarket_Filter = {
|
|
|
6901
6921
|
isDelinquent_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
6902
6922
|
isDelinquent_not?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
6903
6923
|
isDelinquent_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
6924
|
+
isIncurringPenalties?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
6925
|
+
isIncurringPenalties_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
6926
|
+
isIncurringPenalties_not?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
6927
|
+
isIncurringPenalties_not_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
6904
6928
|
isRegistered?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
6905
6929
|
isRegistered_in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
|
6906
6930
|
isRegistered_not?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
@@ -7260,6 +7284,7 @@ export declare enum SubgraphMarket_OrderBy {
|
|
|
7260
7284
|
InterestAccrualRecords = "interestAccrualRecords",
|
|
7261
7285
|
IsClosed = "isClosed",
|
|
7262
7286
|
IsDelinquent = "isDelinquent",
|
|
7287
|
+
IsIncurringPenalties = "isIncurringPenalties",
|
|
7263
7288
|
IsRegistered = "isRegistered",
|
|
7264
7289
|
LastInterestAccruedTimestamp = "lastInterestAccruedTimestamp",
|
|
7265
7290
|
Lenders = "lenders",
|
|
@@ -7442,6 +7467,7 @@ export declare enum SubgraphMaxTotalSupplyUpdated_OrderBy {
|
|
|
7442
7467
|
MarketId = "market__id",
|
|
7443
7468
|
MarketIsClosed = "market__isClosed",
|
|
7444
7469
|
MarketIsDelinquent = "market__isDelinquent",
|
|
7470
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
7445
7471
|
MarketIsRegistered = "market__isRegistered",
|
|
7446
7472
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
7447
7473
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -7636,6 +7662,7 @@ export declare enum SubgraphMinimumDepositUpdated_OrderBy {
|
|
|
7636
7662
|
MarketId = "market__id",
|
|
7637
7663
|
MarketIsClosed = "market__isClosed",
|
|
7638
7664
|
MarketIsDelinquent = "market__isDelinquent",
|
|
7665
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
7639
7666
|
MarketIsRegistered = "market__isRegistered",
|
|
7640
7667
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
7641
7668
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -8345,6 +8372,7 @@ export declare enum SubgraphProtocolFeeBipsUpdated_OrderBy {
|
|
|
8345
8372
|
MarketId = "market__id",
|
|
8346
8373
|
MarketIsClosed = "market__isClosed",
|
|
8347
8374
|
MarketIsDelinquent = "market__isDelinquent",
|
|
8375
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
8348
8376
|
MarketIsRegistered = "market__isRegistered",
|
|
8349
8377
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
8350
8378
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -9489,6 +9517,7 @@ export declare enum SubgraphReserveRatioBipsUpdated_OrderBy {
|
|
|
9489
9517
|
MarketId = "market__id",
|
|
9490
9518
|
MarketIsClosed = "market__isClosed",
|
|
9491
9519
|
MarketIsDelinquent = "market__isDelinquent",
|
|
9520
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
9492
9521
|
MarketIsRegistered = "market__isRegistered",
|
|
9493
9522
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
9494
9523
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -11132,6 +11161,7 @@ export declare enum SubgraphTransfer_OrderBy {
|
|
|
11132
11161
|
MarketId = "market__id",
|
|
11133
11162
|
MarketIsClosed = "market__isClosed",
|
|
11134
11163
|
MarketIsDelinquent = "market__isDelinquent",
|
|
11164
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
11135
11165
|
MarketIsRegistered = "market__isRegistered",
|
|
11136
11166
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
11137
11167
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -11699,6 +11729,7 @@ export declare enum SubgraphWithdrawalBatchInterestAccrued_OrderBy {
|
|
|
11699
11729
|
MarketId = "market__id",
|
|
11700
11730
|
MarketIsClosed = "market__isClosed",
|
|
11701
11731
|
MarketIsDelinquent = "market__isDelinquent",
|
|
11732
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
11702
11733
|
MarketIsRegistered = "market__isRegistered",
|
|
11703
11734
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
11704
11735
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -12030,6 +12061,7 @@ export declare enum SubgraphWithdrawalBatch_OrderBy {
|
|
|
12030
12061
|
MarketId = "market__id",
|
|
12031
12062
|
MarketIsClosed = "market__isClosed",
|
|
12032
12063
|
MarketIsDelinquent = "market__isDelinquent",
|
|
12064
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
12033
12065
|
MarketIsRegistered = "market__isRegistered",
|
|
12034
12066
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
12035
12067
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -12468,6 +12500,7 @@ export declare enum SubgraphWithdrawalRequest_OrderBy {
|
|
|
12468
12500
|
MarketId = "market__id",
|
|
12469
12501
|
MarketIsClosed = "market__isClosed",
|
|
12470
12502
|
MarketIsDelinquent = "market__isDelinquent",
|
|
12503
|
+
MarketIsIncurringPenalties = "market__isIncurringPenalties",
|
|
12471
12504
|
MarketIsRegistered = "market__isRegistered",
|
|
12472
12505
|
MarketLastInterestAccruedTimestamp = "market__lastInterestAccruedTimestamp",
|
|
12473
12506
|
MarketMaxTotalSupply = "market__maxTotalSupply",
|
|
@@ -13121,6 +13154,10 @@ export type SubgraphGetLenderAccountWithMarketQuery = {
|
|
|
13121
13154
|
export type SubgraphGetAllMarketsForLenderViewQueryVariables = Exact<{
|
|
13122
13155
|
lender?: InputMaybe<Scalars["Bytes"]["input"]>;
|
|
13123
13156
|
marketFilter?: InputMaybe<SubgraphMarket_Filter>;
|
|
13157
|
+
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13158
|
+
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13159
|
+
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
13160
|
+
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
13124
13161
|
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13125
13162
|
skipDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13126
13163
|
orderDeposits?: InputMaybe<SubgraphDeposit_OrderBy>;
|
|
@@ -13177,6 +13214,7 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
|
|
|
13177
13214
|
eventIndex: number;
|
|
13178
13215
|
borrowRecords: SubgraphBorrowDataFragment[];
|
|
13179
13216
|
repaymentRecords: SubgraphRepaymentDataFragment[];
|
|
13217
|
+
lenders: SubgraphAccountDataForLenderViewFragment[];
|
|
13180
13218
|
controller?: {
|
|
13181
13219
|
__typename: "Controller";
|
|
13182
13220
|
id: string;
|
|
@@ -13186,32 +13224,6 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
|
|
|
13186
13224
|
hooks?: SubgraphHooksInstanceDataFragment | null;
|
|
13187
13225
|
deployedEvent: SubgraphMarketDeployedEventFragment;
|
|
13188
13226
|
}>;
|
|
13189
|
-
lenderAccounts: Array<{
|
|
13190
|
-
__typename: "LenderAccount";
|
|
13191
|
-
id: string;
|
|
13192
|
-
address: string;
|
|
13193
|
-
scaledBalance: string;
|
|
13194
|
-
role: SubgraphLenderStatus;
|
|
13195
|
-
totalDeposited: string;
|
|
13196
|
-
lastScaleFactor: string;
|
|
13197
|
-
lastUpdatedTimestamp: number;
|
|
13198
|
-
totalInterestEarned: string;
|
|
13199
|
-
numPendingWithdrawalBatches: number;
|
|
13200
|
-
market: {
|
|
13201
|
-
__typename: "Market";
|
|
13202
|
-
id: string;
|
|
13203
|
-
};
|
|
13204
|
-
controllerAuthorization?: {
|
|
13205
|
-
__typename: "LenderAuthorization";
|
|
13206
|
-
authorized: boolean;
|
|
13207
|
-
} | null;
|
|
13208
|
-
hooksAccess?: SubgraphLenderHooksAccessDataFragment | null;
|
|
13209
|
-
knownLenderStatus?: {
|
|
13210
|
-
__typename: "KnownLenderStatus";
|
|
13211
|
-
id: string;
|
|
13212
|
-
} | null;
|
|
13213
|
-
deposits: SubgraphDepositDataFragment[];
|
|
13214
|
-
}>;
|
|
13215
13227
|
controllerAuthorizations: Array<{
|
|
13216
13228
|
__typename: "LenderAuthorization";
|
|
13217
13229
|
lender: string;
|
|
@@ -13228,6 +13240,11 @@ export type SubgraphGetAllMarketsForLenderViewQuery = {
|
|
|
13228
13240
|
export type SubgraphGetAccountsWhereLenderAuthorizedOrActiveQueryVariables = Exact<{
|
|
13229
13241
|
lender: Scalars["Bytes"]["input"];
|
|
13230
13242
|
accountFilter?: InputMaybe<SubgraphLenderAccount_Filter>;
|
|
13243
|
+
marketFilter?: InputMaybe<SubgraphMarket_Filter>;
|
|
13244
|
+
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13245
|
+
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13246
|
+
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
13247
|
+
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
13231
13248
|
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13232
13249
|
skipDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13233
13250
|
orderDeposits?: InputMaybe<SubgraphDeposit_OrderBy>;
|
|
@@ -13502,9 +13519,9 @@ export type SubgraphGetMarketEventsQuery = {
|
|
|
13502
13519
|
fixedTermUpdatedRecords: SubgraphFixedTermUpdatedDataFragment[];
|
|
13503
13520
|
} | null;
|
|
13504
13521
|
};
|
|
13505
|
-
export type
|
|
13506
|
-
borrower: Scalars["Bytes"]["input"];
|
|
13522
|
+
export type SubgraphGetMarketsWithEventsQueryVariables = Exact<{
|
|
13507
13523
|
marketFilter?: InputMaybe<SubgraphMarket_Filter>;
|
|
13524
|
+
shouldSkipRecords?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
13508
13525
|
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13509
13526
|
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13510
13527
|
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
@@ -13526,35 +13543,13 @@ export type SubgraphGetMarketsForBorrowerQueryVariables = Exact<{
|
|
|
13526
13543
|
orderRepayments?: InputMaybe<SubgraphDebtRepaid_OrderBy>;
|
|
13527
13544
|
directionRepayments?: InputMaybe<SubgraphOrderDirection>;
|
|
13528
13545
|
}>;
|
|
13529
|
-
export type
|
|
13546
|
+
export type SubgraphGetMarketsWithEventsQuery = {
|
|
13530
13547
|
__typename: "Query";
|
|
13531
13548
|
markets: SubgraphMarketDataWithEventsFragment[];
|
|
13532
13549
|
};
|
|
13533
|
-
export type SubgraphGetMarketsForAllBorrowersQueryVariables = Exact<{
|
|
13534
|
-
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13535
|
-
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13536
|
-
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
13537
|
-
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
13538
|
-
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13539
|
-
skipDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13540
|
-
orderDeposits?: InputMaybe<SubgraphDeposit_OrderBy>;
|
|
13541
|
-
directionDeposits?: InputMaybe<SubgraphOrderDirection>;
|
|
13542
|
-
numBorrows?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13543
|
-
skipBorrows?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13544
|
-
orderBorrows?: InputMaybe<SubgraphBorrow_OrderBy>;
|
|
13545
|
-
directionBorrows?: InputMaybe<SubgraphOrderDirection>;
|
|
13546
|
-
numFeeCollections?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13547
|
-
skipFeeCollections?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13548
|
-
orderFeeCollections?: InputMaybe<SubgraphFeesCollected_OrderBy>;
|
|
13549
|
-
directionFeeCollections?: InputMaybe<SubgraphOrderDirection>;
|
|
13550
|
-
numRepayments?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13551
|
-
skipRepayments?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13552
|
-
orderRepayments?: InputMaybe<SubgraphDebtRepaid_OrderBy>;
|
|
13553
|
-
directionRepayments?: InputMaybe<SubgraphOrderDirection>;
|
|
13554
|
-
}>;
|
|
13555
|
-
export type SubgraphGetMarketsForAllBorrowersQuery = SubgraphGetMarketsForBorrowerQuery;
|
|
13556
13550
|
export type SubgraphGetMarketQueryVariables = Exact<{
|
|
13557
13551
|
market: Scalars["ID"]["input"];
|
|
13552
|
+
shouldSkipRecords?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
13558
13553
|
numDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13559
13554
|
skipDeposits?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13560
13555
|
orderDeposits?: InputMaybe<SubgraphDeposit_OrderBy>;
|
|
@@ -13755,10 +13750,8 @@ export declare const GetAllHooksDataForBorrowerDocument: Apollo.DocumentNode;
|
|
|
13755
13750
|
export type GetAllHooksDataForBorrowerQueryResult = Apollo.QueryResult<SubgraphGetAllHooksDataForBorrowerQuery, SubgraphGetAllHooksDataForBorrowerQueryVariables>;
|
|
13756
13751
|
export declare const GetMarketEventsDocument: Apollo.DocumentNode;
|
|
13757
13752
|
export type GetMarketEventsQueryResult = Apollo.QueryResult<SubgraphGetMarketEventsQuery, SubgraphGetMarketEventsQueryVariables>;
|
|
13758
|
-
export declare const
|
|
13759
|
-
export type
|
|
13760
|
-
export declare const GetMarketsForAllBorrowersDocument: Apollo.DocumentNode;
|
|
13761
|
-
export type GetMarketsForAllBorrowersQueryResult = Apollo.QueryResult<SubgraphGetMarketsForAllBorrowersQuery, SubgraphGetMarketsForAllBorrowersQueryVariables>;
|
|
13753
|
+
export declare const GetMarketsWithEventsDocument: Apollo.DocumentNode;
|
|
13754
|
+
export type GetMarketsWithEventsQueryResult = Apollo.QueryResult<SubgraphGetMarketsWithEventsQuery, SubgraphGetMarketsWithEventsQueryVariables>;
|
|
13762
13755
|
export declare const GetMarketDocument: Apollo.DocumentNode;
|
|
13763
13756
|
export type GetMarketQueryResult = Apollo.QueryResult<SubgraphGetMarketQuery, SubgraphGetMarketQueryVariables>;
|
|
13764
13757
|
export declare const GetWithdrawalRequestsByMarketDocument: Apollo.DocumentNode;
|