@wildcatfi/wildcat-sdk 3.0.10 → 3.0.12
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 +1 -7
- package/dist/account/index.d.ts.map +1 -1
- package/dist/account/index.js +2 -25
- package/dist/account/index.js.map +1 -1
- package/dist/gql/getActiveLendersByMarket.d.ts +38 -0
- package/dist/gql/getActiveLendersByMarket.d.ts.map +1 -0
- package/dist/gql/getActiveLendersByMarket.js +119 -0
- package/dist/gql/getActiveLendersByMarket.js.map +1 -0
- package/dist/gql/getPolicyLenders.d.ts +8 -0
- package/dist/gql/getPolicyLenders.d.ts.map +1 -0
- package/dist/gql/getPolicyLenders.js +27 -0
- package/dist/gql/getPolicyLenders.js.map +1 -0
- package/dist/gql/getPolicyMarketsAndLenders.d.ts +19 -0
- package/dist/gql/getPolicyMarketsAndLenders.d.ts.map +1 -0
- package/dist/gql/getPolicyMarketsAndLenders.js +40 -0
- package/dist/gql/getPolicyMarketsAndLenders.js.map +1 -0
- package/dist/gql/graphql.d.ts +209 -6
- package/dist/gql/graphql.d.ts.map +1 -1
- package/dist/gql/graphql.js +224 -7
- package/dist/gql/graphql.js.map +1 -1
- package/dist/gql/index.d.ts +4 -1
- package/dist/gql/index.d.ts.map +1 -1
- package/dist/gql/index.js +3 -0
- package/dist/gql/index.js.map +1 -1
- package/dist/gql/utils.d.ts +19 -0
- package/dist/gql/utils.d.ts.map +1 -0
- package/dist/gql/utils.js +30 -0
- package/dist/gql/utils.js.map +1 -0
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/type-parsers.d.ts +5 -1
- package/dist/utils/type-parsers.d.ts.map +1 -1
- package/dist/utils/type-parsers.js +21 -1
- package/dist/utils/type-parsers.js.map +1 -1
- package/package.json +1 -1
package/dist/gql/graphql.d.ts
CHANGED
|
@@ -595,6 +595,7 @@ export declare enum SubgraphAccountMadeFirstDeposit_OrderBy {
|
|
|
595
595
|
HooksName = "hooks__name",
|
|
596
596
|
Id = "id",
|
|
597
597
|
LenderAccount = "lenderAccount",
|
|
598
|
+
LenderAccountAddedTimestamp = "lenderAccount__addedTimestamp",
|
|
598
599
|
LenderAccountAddress = "lenderAccount__address",
|
|
599
600
|
LenderAccountId = "lenderAccount__id",
|
|
600
601
|
LenderAccountLastScaleFactor = "lenderAccount__lastScaleFactor",
|
|
@@ -2467,6 +2468,7 @@ export type SubgraphDeposit_Filter = {
|
|
|
2467
2468
|
};
|
|
2468
2469
|
export declare enum SubgraphDeposit_OrderBy {
|
|
2469
2470
|
Account = "account",
|
|
2471
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
2470
2472
|
AccountAddress = "account__address",
|
|
2471
2473
|
AccountId = "account__id",
|
|
2472
2474
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -3192,6 +3194,7 @@ export type SubgraphForceBuyBack_Filter = {
|
|
|
3192
3194
|
};
|
|
3193
3195
|
export declare enum SubgraphForceBuyBack_OrderBy {
|
|
3194
3196
|
Account = "account",
|
|
3197
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
3195
3198
|
AccountAddress = "account__address",
|
|
3196
3199
|
AccountId = "account__id",
|
|
3197
3200
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -3618,6 +3621,7 @@ export type SubgraphHooksInstance = {
|
|
|
3618
3621
|
hooksTemplate: SubgraphHooksTemplate;
|
|
3619
3622
|
id: Scalars["ID"]["output"];
|
|
3620
3623
|
kind: SubgraphHooksKind;
|
|
3624
|
+
lenders: SubgraphLenderHooksAccess[];
|
|
3621
3625
|
markets: SubgraphMarket[];
|
|
3622
3626
|
name: Scalars["String"]["output"];
|
|
3623
3627
|
nameUpdatedRecords: SubgraphHooksNameUpdated[];
|
|
@@ -3647,6 +3651,13 @@ export type SubgraphHooksInstanceAccountUnblockFromDepositsRecordsArgs = {
|
|
|
3647
3651
|
skip?: InputMaybe<Scalars["Int"]["input"]>;
|
|
3648
3652
|
where?: InputMaybe<SubgraphAccountUnblockedFromDeposits_Filter>;
|
|
3649
3653
|
};
|
|
3654
|
+
export type SubgraphHooksInstanceLendersArgs = {
|
|
3655
|
+
first?: InputMaybe<Scalars["Int"]["input"]>;
|
|
3656
|
+
orderBy?: InputMaybe<SubgraphLenderHooksAccess_OrderBy>;
|
|
3657
|
+
orderDirection?: InputMaybe<SubgraphOrderDirection>;
|
|
3658
|
+
skip?: InputMaybe<Scalars["Int"]["input"]>;
|
|
3659
|
+
where?: InputMaybe<SubgraphLenderHooksAccess_Filter>;
|
|
3660
|
+
};
|
|
3650
3661
|
export type SubgraphHooksInstanceMarketsArgs = SubgraphArchControllerMarketsArgs;
|
|
3651
3662
|
export type SubgraphHooksInstanceNameUpdatedRecordsArgs = {
|
|
3652
3663
|
first?: InputMaybe<Scalars["Int"]["input"]>;
|
|
@@ -3872,6 +3883,7 @@ export type SubgraphHooksInstance_Filter = {
|
|
|
3872
3883
|
kind_in?: InputMaybe<SubgraphHooksKind[]>;
|
|
3873
3884
|
kind_not?: InputMaybe<SubgraphHooksKind>;
|
|
3874
3885
|
kind_not_in?: InputMaybe<SubgraphHooksKind[]>;
|
|
3886
|
+
lenders_?: InputMaybe<SubgraphLenderHooksAccess_Filter>;
|
|
3875
3887
|
markets_?: InputMaybe<SubgraphMarket_Filter>;
|
|
3876
3888
|
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
3877
3889
|
nameUpdatedRecords_?: InputMaybe<SubgraphHooksNameUpdated_Filter>;
|
|
@@ -3920,6 +3932,7 @@ export declare enum SubgraphHooksInstance_OrderBy {
|
|
|
3920
3932
|
HooksTemplateProtocolFeeBips = "hooksTemplate__protocolFeeBips",
|
|
3921
3933
|
Id = "id",
|
|
3922
3934
|
Kind = "kind",
|
|
3935
|
+
Lenders = "lenders",
|
|
3923
3936
|
Markets = "markets",
|
|
3924
3937
|
Name = "name",
|
|
3925
3938
|
NameUpdatedRecords = "nameUpdatedRecords",
|
|
@@ -4676,6 +4689,7 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
|
|
|
4676
4689
|
HooksAccessLender = "hooksAccess__lender",
|
|
4677
4690
|
Id = "id",
|
|
4678
4691
|
LenderAccount = "lenderAccount",
|
|
4692
|
+
LenderAccountAddedTimestamp = "lenderAccount__addedTimestamp",
|
|
4679
4693
|
LenderAccountAddress = "lenderAccount__address",
|
|
4680
4694
|
LenderAccountId = "lenderAccount__id",
|
|
4681
4695
|
LenderAccountLastScaleFactor = "lenderAccount__lastScaleFactor",
|
|
@@ -4740,6 +4754,7 @@ export declare enum SubgraphKnownLenderStatus_OrderBy {
|
|
|
4740
4754
|
}
|
|
4741
4755
|
export type SubgraphLenderAccount = {
|
|
4742
4756
|
__typename: "LenderAccount";
|
|
4757
|
+
addedTimestamp: Scalars["Int"]["output"];
|
|
4743
4758
|
address: Scalars["Bytes"]["output"];
|
|
4744
4759
|
controllerAuthorization?: Maybe<SubgraphLenderAuthorization>;
|
|
4745
4760
|
deposits: SubgraphDeposit[];
|
|
@@ -4781,6 +4796,14 @@ export type SubgraphLenderAccountWithdrawalsArgs = {
|
|
|
4781
4796
|
export type SubgraphLenderAccount_Filter = {
|
|
4782
4797
|
/** Filter for the block changed event. */
|
|
4783
4798
|
_change_block?: InputMaybe<SubgraphBlockChangedFilter>;
|
|
4799
|
+
addedTimestamp?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4800
|
+
addedTimestamp_gt?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4801
|
+
addedTimestamp_gte?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4802
|
+
addedTimestamp_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
|
4803
|
+
addedTimestamp_lt?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4804
|
+
addedTimestamp_lte?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4805
|
+
addedTimestamp_not?: InputMaybe<Scalars["Int"]["input"]>;
|
|
4806
|
+
addedTimestamp_not_in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
|
4784
4807
|
address?: InputMaybe<Scalars["Bytes"]["input"]>;
|
|
4785
4808
|
address_contains?: InputMaybe<Scalars["Bytes"]["input"]>;
|
|
4786
4809
|
address_gt?: InputMaybe<Scalars["Bytes"]["input"]>;
|
|
@@ -4922,6 +4945,7 @@ export type SubgraphLenderAccount_Filter = {
|
|
|
4922
4945
|
withdrawals_?: InputMaybe<SubgraphLenderWithdrawalStatus_Filter>;
|
|
4923
4946
|
};
|
|
4924
4947
|
export declare enum SubgraphLenderAccount_OrderBy {
|
|
4948
|
+
AddedTimestamp = "addedTimestamp",
|
|
4925
4949
|
Address = "address",
|
|
4926
4950
|
ControllerAuthorization = "controllerAuthorization",
|
|
4927
4951
|
ControllerAuthorizationAuthorized = "controllerAuthorization__authorized",
|
|
@@ -5453,6 +5477,7 @@ export type SubgraphLenderInterestAccrued_Filter = {
|
|
|
5453
5477
|
};
|
|
5454
5478
|
export declare enum SubgraphLenderInterestAccrued_OrderBy {
|
|
5455
5479
|
Account = "account",
|
|
5480
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
5456
5481
|
AccountAddress = "account__address",
|
|
5457
5482
|
AccountId = "account__id",
|
|
5458
5483
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -5658,6 +5683,7 @@ export type SubgraphLenderWithdrawalStatus_Filter = {
|
|
|
5658
5683
|
};
|
|
5659
5684
|
export declare enum SubgraphLenderWithdrawalStatus_OrderBy {
|
|
5660
5685
|
Account = "account",
|
|
5686
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
5661
5687
|
AccountAddress = "account__address",
|
|
5662
5688
|
AccountId = "account__id",
|
|
5663
5689
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -11131,6 +11157,7 @@ export declare enum SubgraphTransfer_OrderBy {
|
|
|
11131
11157
|
BlockNumber = "blockNumber",
|
|
11132
11158
|
BlockTimestamp = "blockTimestamp",
|
|
11133
11159
|
From = "from",
|
|
11160
|
+
FromAddedTimestamp = "from__addedTimestamp",
|
|
11134
11161
|
FromAddress = "from__address",
|
|
11135
11162
|
FromId = "from__id",
|
|
11136
11163
|
FromLastScaleFactor = "from__lastScaleFactor",
|
|
@@ -11195,6 +11222,7 @@ export declare enum SubgraphTransfer_OrderBy {
|
|
|
11195
11222
|
MarketWithdrawalRequestsIndex = "market__withdrawalRequestsIndex",
|
|
11196
11223
|
ScaledAmount = "scaledAmount",
|
|
11197
11224
|
To = "to",
|
|
11225
|
+
ToAddedTimestamp = "to__addedTimestamp",
|
|
11198
11226
|
ToAddress = "to__address",
|
|
11199
11227
|
ToId = "to__id",
|
|
11200
11228
|
ToLastScaleFactor = "to__lastScaleFactor",
|
|
@@ -12228,6 +12256,7 @@ export type SubgraphWithdrawalExecution_Filter = {
|
|
|
12228
12256
|
};
|
|
12229
12257
|
export declare enum SubgraphWithdrawalExecution_OrderBy {
|
|
12230
12258
|
Account = "account",
|
|
12259
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
12231
12260
|
AccountAddress = "account__address",
|
|
12232
12261
|
AccountId = "account__id",
|
|
12233
12262
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -12450,6 +12479,7 @@ export type SubgraphWithdrawalRequest_Filter = {
|
|
|
12450
12479
|
};
|
|
12451
12480
|
export declare enum SubgraphWithdrawalRequest_OrderBy {
|
|
12452
12481
|
Account = "account",
|
|
12482
|
+
AccountAddedTimestamp = "account__addedTimestamp",
|
|
12453
12483
|
AccountAddress = "account__address",
|
|
12454
12484
|
AccountId = "account__id",
|
|
12455
12485
|
AccountLastScaleFactor = "account__lastScaleFactor",
|
|
@@ -12630,6 +12660,23 @@ export type SubgraphAccountDataForLenderViewFragment = {
|
|
|
12630
12660
|
} | null;
|
|
12631
12661
|
deposits: SubgraphDepositDataFragment[];
|
|
12632
12662
|
};
|
|
12663
|
+
export type SubgraphBasicLenderDataFragment = {
|
|
12664
|
+
__typename: "LenderAccount";
|
|
12665
|
+
id: string;
|
|
12666
|
+
address: string;
|
|
12667
|
+
scaledBalance: string;
|
|
12668
|
+
addedTimestamp: number;
|
|
12669
|
+
role: SubgraphLenderStatus;
|
|
12670
|
+
controllerAuthorization?: {
|
|
12671
|
+
__typename: "LenderAuthorization";
|
|
12672
|
+
authorized: boolean;
|
|
12673
|
+
} | null;
|
|
12674
|
+
hooksAccess?: SubgraphLenderHooksAccessDataFragment | null;
|
|
12675
|
+
knownLenderStatus?: {
|
|
12676
|
+
__typename: "KnownLenderStatus";
|
|
12677
|
+
id: string;
|
|
12678
|
+
} | null;
|
|
12679
|
+
};
|
|
12633
12680
|
export type SubgraphLenderPropertiesFragment = {
|
|
12634
12681
|
__typename: "LenderAccount";
|
|
12635
12682
|
id: string;
|
|
@@ -12642,11 +12689,6 @@ export type SubgraphLenderPropertiesFragment = {
|
|
|
12642
12689
|
totalInterestEarned: string;
|
|
12643
12690
|
numPendingWithdrawalBatches: number;
|
|
12644
12691
|
};
|
|
12645
|
-
export type SubgraphAllAuthorizedLendersViewMarketInfoFragment = {
|
|
12646
|
-
__typename: "Market";
|
|
12647
|
-
id: string;
|
|
12648
|
-
name: string;
|
|
12649
|
-
};
|
|
12650
12692
|
export type SubgraphAllAuthorizedLendersViewFragment = {
|
|
12651
12693
|
__typename: "LenderAuthorization";
|
|
12652
12694
|
lender: string;
|
|
@@ -13639,8 +13681,157 @@ export type SubgraphGetAllAuthorizedLendersQuery = {
|
|
|
13639
13681
|
__typename: "Controller";
|
|
13640
13682
|
authorizedLenders: SubgraphAllAuthorizedLendersViewFragment[];
|
|
13641
13683
|
} | null;
|
|
13684
|
+
hooks?: {
|
|
13685
|
+
__typename: "HooksInstance";
|
|
13686
|
+
lenders: SubgraphLenderHooksAccessDataFragment[];
|
|
13687
|
+
} | null;
|
|
13688
|
+
}>;
|
|
13689
|
+
};
|
|
13690
|
+
export type SubgraphGetV1AuthorizedLendersQueryVariables = Exact<{
|
|
13691
|
+
borrower: Scalars["Bytes"]["input"];
|
|
13692
|
+
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13693
|
+
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13694
|
+
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
13695
|
+
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
13696
|
+
}>;
|
|
13697
|
+
export type SubgraphGetV1AuthorizedLendersQuery = {
|
|
13698
|
+
__typename: "Query";
|
|
13699
|
+
controllers: Array<{
|
|
13700
|
+
__typename: "Controller";
|
|
13701
|
+
markets: Array<{
|
|
13702
|
+
__typename: "Market";
|
|
13703
|
+
id: string;
|
|
13704
|
+
name: string;
|
|
13705
|
+
}>;
|
|
13706
|
+
authorizedLenders: Array<{
|
|
13707
|
+
__typename: "LenderAuthorization";
|
|
13708
|
+
lender: string;
|
|
13709
|
+
authorized: boolean;
|
|
13710
|
+
}>;
|
|
13711
|
+
}>;
|
|
13712
|
+
};
|
|
13713
|
+
export type SubgraphV1LenderWithActiveMarketsFragment = {
|
|
13714
|
+
__typename: "LenderAuthorization";
|
|
13715
|
+
lender: string;
|
|
13716
|
+
authorized: boolean;
|
|
13717
|
+
marketAccounts: Array<{
|
|
13718
|
+
__typename: "LenderAccount";
|
|
13719
|
+
role: SubgraphLenderStatus;
|
|
13720
|
+
market: {
|
|
13721
|
+
__typename: "Market";
|
|
13722
|
+
id: string;
|
|
13723
|
+
name: string;
|
|
13724
|
+
};
|
|
13642
13725
|
}>;
|
|
13643
13726
|
};
|
|
13727
|
+
export type SubgraphV2LenderWithActiveMarketsFragment = {
|
|
13728
|
+
__typename: "LenderHooksAccess";
|
|
13729
|
+
id: string;
|
|
13730
|
+
lender: string;
|
|
13731
|
+
isBlockedFromDeposits: boolean;
|
|
13732
|
+
canRefresh: boolean;
|
|
13733
|
+
lastApprovalTimestamp: number;
|
|
13734
|
+
marketAccounts: Array<{
|
|
13735
|
+
__typename: "LenderAccount";
|
|
13736
|
+
knownLenderStatus?: {
|
|
13737
|
+
__typename: "KnownLenderStatus";
|
|
13738
|
+
id: string;
|
|
13739
|
+
} | null;
|
|
13740
|
+
market: {
|
|
13741
|
+
__typename: "Market";
|
|
13742
|
+
id: string;
|
|
13743
|
+
name: string;
|
|
13744
|
+
};
|
|
13745
|
+
}>;
|
|
13746
|
+
lastProvider?: SubgraphRoleProviderDataFragment | null;
|
|
13747
|
+
};
|
|
13748
|
+
export type SubgraphControllerAuthorizedLendersWithActiveMarketsFragment = {
|
|
13749
|
+
__typename: "Controller";
|
|
13750
|
+
authorizedLenders: SubgraphV1LenderWithActiveMarketsFragment[];
|
|
13751
|
+
};
|
|
13752
|
+
export type SubgraphHooksInstanceLendersWithActiveMarketsFragment = {
|
|
13753
|
+
__typename: "HooksInstance";
|
|
13754
|
+
lenders: SubgraphV2LenderWithActiveMarketsFragment[];
|
|
13755
|
+
};
|
|
13756
|
+
export type SubgraphGetLendersByHooksInstanceOrControllerQueryVariables = Exact<{
|
|
13757
|
+
contractAddress: Scalars["ID"]["input"];
|
|
13758
|
+
isController: Scalars["Boolean"]["input"];
|
|
13759
|
+
lenderHooksAccessFilter?: InputMaybe<SubgraphLenderHooksAccess_Filter>;
|
|
13760
|
+
lenderAuthorizationFilter?: InputMaybe<SubgraphLenderAuthorization_Filter>;
|
|
13761
|
+
numMarketAccountsPerLender?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13762
|
+
skipMarketAccountsPerLender?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13763
|
+
numLenders?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13764
|
+
skipLenders?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13765
|
+
orderLenderHooksAccess?: InputMaybe<SubgraphLenderHooksAccess_OrderBy>;
|
|
13766
|
+
directionLenders?: InputMaybe<SubgraphOrderDirection>;
|
|
13767
|
+
}>;
|
|
13768
|
+
export type SubgraphGetLendersByHooksInstanceOrControllerQuery = {
|
|
13769
|
+
__typename: "Query";
|
|
13770
|
+
hooksInstance?: {
|
|
13771
|
+
__typename: "HooksInstance";
|
|
13772
|
+
id: string;
|
|
13773
|
+
borrower: string;
|
|
13774
|
+
name: string;
|
|
13775
|
+
kind: SubgraphHooksKind;
|
|
13776
|
+
eventIndex: number;
|
|
13777
|
+
hooksTemplate: SubgraphHooksTemplateDataFragment;
|
|
13778
|
+
providers: SubgraphRoleProviderDataFragment[];
|
|
13779
|
+
lenders: SubgraphV2LenderWithActiveMarketsFragment[];
|
|
13780
|
+
} | null;
|
|
13781
|
+
controller?: SubgraphControllerAuthorizedLendersWithActiveMarketsFragment | null;
|
|
13782
|
+
};
|
|
13783
|
+
export type SubgraphGetMarketsAndLendersByHooksInstanceOrControllerQueryVariables = Exact<{
|
|
13784
|
+
contractAddress: Scalars["ID"]["input"];
|
|
13785
|
+
isController: Scalars["Boolean"]["input"];
|
|
13786
|
+
marketFilter?: InputMaybe<SubgraphMarket_Filter>;
|
|
13787
|
+
numMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13788
|
+
skipMarkets?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13789
|
+
orderMarkets?: InputMaybe<SubgraphMarket_OrderBy>;
|
|
13790
|
+
directionMarkets?: InputMaybe<SubgraphOrderDirection>;
|
|
13791
|
+
lenderHooksAccessFilter?: InputMaybe<SubgraphLenderHooksAccess_Filter>;
|
|
13792
|
+
lenderAuthorizationFilter?: InputMaybe<SubgraphLenderAuthorization_Filter>;
|
|
13793
|
+
numMarketAccountsPerLender?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13794
|
+
skipMarketAccountsPerLender?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13795
|
+
numLenders?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13796
|
+
skipLenders?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13797
|
+
orderLenderHooksAccess?: InputMaybe<SubgraphLenderHooksAccess_OrderBy>;
|
|
13798
|
+
directionLenders?: InputMaybe<SubgraphOrderDirection>;
|
|
13799
|
+
}>;
|
|
13800
|
+
export type SubgraphGetMarketsAndLendersByHooksInstanceOrControllerQuery = {
|
|
13801
|
+
__typename: "Query";
|
|
13802
|
+
hooksInstance?: {
|
|
13803
|
+
__typename: "HooksInstance";
|
|
13804
|
+
id: string;
|
|
13805
|
+
borrower: string;
|
|
13806
|
+
name: string;
|
|
13807
|
+
kind: SubgraphHooksKind;
|
|
13808
|
+
eventIndex: number;
|
|
13809
|
+
markets: SubgraphMarketDataFragment[];
|
|
13810
|
+
hooksTemplate: SubgraphHooksTemplateDataFragment;
|
|
13811
|
+
providers: SubgraphRoleProviderDataFragment[];
|
|
13812
|
+
lenders: SubgraphV2LenderWithActiveMarketsFragment[];
|
|
13813
|
+
} | null;
|
|
13814
|
+
controller?: {
|
|
13815
|
+
__typename: "Controller";
|
|
13816
|
+
markets: SubgraphMarketDataFragment[];
|
|
13817
|
+
authorizedLenders: SubgraphV1LenderWithActiveMarketsFragment[];
|
|
13818
|
+
} | null;
|
|
13819
|
+
};
|
|
13820
|
+
export type SubgraphGetActiveLendersByMarketQueryVariables = Exact<{
|
|
13821
|
+
market: Scalars["ID"]["input"];
|
|
13822
|
+
accountFilter?: InputMaybe<SubgraphLenderAccount_Filter>;
|
|
13823
|
+
numAccounts?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13824
|
+
skipAccounts?: InputMaybe<Scalars["Int"]["input"]>;
|
|
13825
|
+
orderAccounts?: InputMaybe<SubgraphLenderAccount_OrderBy>;
|
|
13826
|
+
directionAccounts?: InputMaybe<SubgraphOrderDirection>;
|
|
13827
|
+
}>;
|
|
13828
|
+
export type SubgraphGetActiveLendersByMarketQuery = {
|
|
13829
|
+
__typename: "Query";
|
|
13830
|
+
market?: {
|
|
13831
|
+
__typename: "Market";
|
|
13832
|
+
lenders: SubgraphBasicLenderDataFragment[];
|
|
13833
|
+
} | null;
|
|
13834
|
+
};
|
|
13644
13835
|
export type SubgraphGetAuthorizedLendersByBorrowerQueryVariables = Exact<{
|
|
13645
13836
|
filter: SubgraphController_Filter;
|
|
13646
13837
|
}>;
|
|
@@ -13698,7 +13889,7 @@ export declare const RoleProviderDataFragmentDoc: Apollo.DocumentNode;
|
|
|
13698
13889
|
export declare const LenderHooksAccessDataFragmentDoc: Apollo.DocumentNode;
|
|
13699
13890
|
export declare const DepositDataFragmentDoc: Apollo.DocumentNode;
|
|
13700
13891
|
export declare const AccountDataForLenderViewFragmentDoc: Apollo.DocumentNode;
|
|
13701
|
-
export declare const
|
|
13892
|
+
export declare const BasicLenderDataFragmentDoc: Apollo.DocumentNode;
|
|
13702
13893
|
export declare const AllAuthorizedLendersViewFragmentDoc: Apollo.DocumentNode;
|
|
13703
13894
|
export declare const AprConstraintsFragmentDoc: Apollo.DocumentNode;
|
|
13704
13895
|
export declare const DelinquencyStatusChangedDataFragmentDoc: Apollo.DocumentNode;
|
|
@@ -13728,6 +13919,10 @@ export declare const WithdrawalBatchPropertiesWithEventsFragmentDoc: Apollo.Docu
|
|
|
13728
13919
|
export declare const AnnualInterestBipsUpdatedDataFragmentDoc: Apollo.DocumentNode;
|
|
13729
13920
|
export declare const MaxTotalSupplyUpdatedDataFragmentDoc: Apollo.DocumentNode;
|
|
13730
13921
|
export declare const MarketClosedDataFragmentDoc: Apollo.DocumentNode;
|
|
13922
|
+
export declare const V1LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
|
|
13923
|
+
export declare const ControllerAuthorizedLendersWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
|
|
13924
|
+
export declare const V2LenderWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
|
|
13925
|
+
export declare const HooksInstanceLendersWithActiveMarketsFragmentDoc: Apollo.DocumentNode;
|
|
13731
13926
|
export declare const GetLenderAccountForMarketDocument: Apollo.DocumentNode;
|
|
13732
13927
|
export type GetLenderAccountForMarketQueryResult = Apollo.QueryResult<SubgraphGetLenderAccountForMarketQuery, SubgraphGetLenderAccountForMarketQueryVariables>;
|
|
13733
13928
|
export declare const GetLenderAccountWithMarketDocument: Apollo.DocumentNode;
|
|
@@ -13766,6 +13961,14 @@ export declare const GetAuthorizedLendersByMarketDocument: Apollo.DocumentNode;
|
|
|
13766
13961
|
export type GetAuthorizedLendersByMarketQueryResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByMarketQuery, SubgraphGetAuthorizedLendersByMarketQueryVariables>;
|
|
13767
13962
|
export declare const GetAllAuthorizedLendersDocument: Apollo.DocumentNode;
|
|
13768
13963
|
export type GetAllAuthorizedLendersQueryResult = Apollo.QueryResult<SubgraphGetAllAuthorizedLendersQuery, SubgraphGetAllAuthorizedLendersQueryVariables>;
|
|
13964
|
+
export declare const GetV1AuthorizedLendersDocument: Apollo.DocumentNode;
|
|
13965
|
+
export type GetV1AuthorizedLendersQueryResult = Apollo.QueryResult<SubgraphGetV1AuthorizedLendersQuery, SubgraphGetV1AuthorizedLendersQueryVariables>;
|
|
13966
|
+
export declare const GetLendersByHooksInstanceOrControllerDocument: Apollo.DocumentNode;
|
|
13967
|
+
export type GetLendersByHooksInstanceOrControllerQueryResult = Apollo.QueryResult<SubgraphGetLendersByHooksInstanceOrControllerQuery, SubgraphGetLendersByHooksInstanceOrControllerQueryVariables>;
|
|
13968
|
+
export declare const GetMarketsAndLendersByHooksInstanceOrControllerDocument: Apollo.DocumentNode;
|
|
13969
|
+
export type GetMarketsAndLendersByHooksInstanceOrControllerQueryResult = Apollo.QueryResult<SubgraphGetMarketsAndLendersByHooksInstanceOrControllerQuery, SubgraphGetMarketsAndLendersByHooksInstanceOrControllerQueryVariables>;
|
|
13970
|
+
export declare const GetActiveLendersByMarketDocument: Apollo.DocumentNode;
|
|
13971
|
+
export type GetActiveLendersByMarketQueryResult = Apollo.QueryResult<SubgraphGetActiveLendersByMarketQuery, SubgraphGetActiveLendersByMarketQueryVariables>;
|
|
13769
13972
|
export declare const GetAuthorizedLendersByBorrowerDocument: Apollo.DocumentNode;
|
|
13770
13973
|
export type GetAuthorizedLendersByBorrowerQueryResult = Apollo.QueryResult<SubgraphGetAuthorizedLendersByBorrowerQuery, SubgraphGetAuthorizedLendersByBorrowerQueryVariables>;
|
|
13771
13974
|
export declare const GetSubgraphStatusDocument: Apollo.DocumentNode;
|