@wildcatfi/wildcat-sdk 3.0.61-beta → 3.0.63-beta

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.
@@ -0,0 +1,35 @@
1
+ import { ApolloClient, FetchPolicy, NormalizedCacheObject } from "@apollo/client";
2
+ import { SubgraphMarketDailyStats_OrderBy, SubgraphOrderDirection, SubgraphWithdrawalBatch_OrderBy } from "./graphql";
3
+ import { SupportedChainId } from "../constants";
4
+ import { Market } from "../market";
5
+ export type GetMarketChartsDataOptions = {
6
+ chainId: SupportedChainId;
7
+ fetchPolicy: FetchPolicy;
8
+ market: Market;
9
+ numWithdrawalBatches?: number;
10
+ skipWithdrawalBatches?: number;
11
+ orderWithdrawalBatches?: SubgraphWithdrawalBatch_OrderBy;
12
+ directionWithdrawalBatches?: SubgraphOrderDirection;
13
+ numDailyStats?: number;
14
+ skipDailyStats?: number;
15
+ orderDailyStats?: SubgraphMarketDailyStats_OrderBy;
16
+ directionDailyStats?: SubgraphOrderDirection;
17
+ };
18
+ export type MarketDailyStats = {
19
+ timestamp: number;
20
+ totalDeposited: number;
21
+ totalWithdrawn: number;
22
+ totalBorrowed: number;
23
+ totalRepaid: number;
24
+ };
25
+ export type MarketWithdrawalBatchExpirationStats = {
26
+ timestamp: number;
27
+ normalizedAmountPaid: number;
28
+ normalizedAmountOwed: number;
29
+ };
30
+ export type MarketChartsData = {
31
+ withdrawalBatches: MarketWithdrawalBatchExpirationStats[];
32
+ dailyStats: MarketDailyStats[];
33
+ };
34
+ export declare function getMarketChartsData(subgraphClient: ApolloClient<NormalizedCacheObject>, { chainId, fetchPolicy, market, numWithdrawalBatches, skipWithdrawalBatches, orderWithdrawalBatches, directionWithdrawalBatches, numDailyStats, skipDailyStats, orderDailyStats, directionDailyStats }: GetMarketChartsDataOptions): Promise<MarketChartsData>;
35
+ //# sourceMappingURL=getMarketChartsData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMarketChartsData.d.ts","sourceRoot":"","sources":["../../src/gql/getMarketChartsData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAIL,gCAAgC,EAChC,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IAEf,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,CAAC,EAAE,+BAA+B,CAAC;IACzD,0BAA0B,CAAC,EAAE,sBAAsB,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,gCAAgC,CAAC;IACnD,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,iBAAiB,EAAE,oCAAoC,EAAE,CAAC;IAC1D,UAAU,EAAE,gBAAgB,EAAE,CAAC;CAChC,CAAC;AAEF,wBAAsB,mBAAmB,CACvC,cAAc,EAAE,YAAY,CAAC,qBAAqB,CAAC,EACnD,EACE,OAAO,EACP,WAAW,EACX,MAAM,EACN,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACpB,EAAE,0BAA0B,GAC5B,OAAO,CAAC,gBAAgB,CAAC,CAwD3B"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getMarketChartsData = void 0;
4
+ const graphql_1 = require("./graphql");
5
+ const utils_1 = require("../utils");
6
+ async function getMarketChartsData(subgraphClient, { chainId, fetchPolicy, market, numWithdrawalBatches, skipWithdrawalBatches, orderWithdrawalBatches, directionWithdrawalBatches, numDailyStats, skipDailyStats, orderDailyStats, directionDailyStats }) {
7
+ const result = await subgraphClient.query({
8
+ query: graphql_1.GetMarketChartsDataDocument,
9
+ fetchPolicy,
10
+ variables: {
11
+ market: market.address.toLowerCase(),
12
+ numWithdrawalBatches,
13
+ skipWithdrawalBatches,
14
+ orderWithdrawalBatches,
15
+ directionWithdrawalBatches,
16
+ numDailyStats,
17
+ skipDailyStats,
18
+ orderDailyStats,
19
+ directionDailyStats
20
+ }
21
+ });
22
+ const marketData = result.data.market;
23
+ (0, utils_1.assert)(!!marketData, "Market data not found in subgraph query");
24
+ const token = market.underlyingToken;
25
+ const withdrawalBatches = marketData.withdrawalBatches
26
+ .map((batch) => {
27
+ const { expiry, expiration } = batch;
28
+ if (!expiration) {
29
+ throw new Error("Expiration not found");
30
+ }
31
+ return {
32
+ timestamp: +expiry,
33
+ normalizedAmountPaid: +token.getAmount(expiration.normalizedAmountPaid).format(),
34
+ normalizedAmountOwed: +token.getAmount(expiration.normalizedAmountOwed).format()
35
+ };
36
+ })
37
+ .sort((a, b) => a.timestamp - b.timestamp);
38
+ const dailyStats = marketData.dailyStats
39
+ .map((stat) => {
40
+ const { timestamp, totalDeposited, totalWithdrawalsRequested, totalBorrowed, totalRepaid } = stat;
41
+ return {
42
+ timestamp: +timestamp,
43
+ totalDeposited: +token.getAmount(totalDeposited).format(),
44
+ totalWithdrawn: +token.getAmount(totalWithdrawalsRequested).format(),
45
+ totalBorrowed: +token.getAmount(totalBorrowed).format(),
46
+ totalRepaid: +token.getAmount(totalRepaid).format()
47
+ };
48
+ })
49
+ .sort((a, b) => a.timestamp - b.timestamp);
50
+ return {
51
+ withdrawalBatches,
52
+ dailyStats
53
+ };
54
+ }
55
+ exports.getMarketChartsData = getMarketChartsData;
56
+ //# sourceMappingURL=getMarketChartsData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMarketChartsData.js","sourceRoot":"","sources":["../../src/gql/getMarketChartsData.ts"],"names":[],"mappings":";;;AACA,uCAOmB;AAGnB,oCAAkC;AAoC3B,KAAK,UAAU,mBAAmB,CACvC,cAAmD,EACnD,EACE,OAAO,EACP,WAAW,EACX,MAAM,EACN,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACQ;IAE7B,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,KAAK,CAGvC;QACA,KAAK,EAAE,qCAA2B;QAClC,WAAW;QACX,SAAS,EAAE;YACT,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE;YACpC,oBAAoB;YACpB,qBAAqB;YACrB,sBAAsB;YACtB,0BAA0B;YAC1B,aAAa;YACb,cAAc;YACd,eAAe;YACf,mBAAmB;SACpB;KACF,CAAC,CAAC;IAEH,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;IACtC,IAAA,cAAM,EAAC,CAAC,CAAC,UAAU,EAAE,yCAAyC,CAAC,CAAC;IAEhE,MAAM,KAAK,GAAG,MAAM,CAAC,eAAe,CAAC;IAErC,MAAM,iBAAiB,GAAG,UAAU,CAAC,iBAAiB;SACnD,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACb,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QACrC,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;SACzC;QACD,OAAO;YACL,SAAS,EAAE,CAAC,MAAM;YAClB,oBAAoB,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;YAChF,oBAAoB,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;SACjF,CAAC;IACJ,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,MAAM,UAAU,GAAG,UAAU,CAAC,UAAU;SACrC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACZ,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,yBAAyB,EAAE,aAAa,EAAE,WAAW,EAAE,GACxF,IAAI,CAAC;QACP,OAAO;YACL,SAAS,EAAE,CAAC,SAAS;YACrB,cAAc,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,MAAM,EAAE;YACzD,cAAc,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC,MAAM,EAAE;YACpE,aAAa,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,MAAM,EAAE;YACvD,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE;SACpD,CAAC;IACJ,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC;IAE7C,OAAO;QACL,iBAAiB;QACjB,UAAU;KACX,CAAC;AACJ,CAAC;AAvED,kDAuEC"}
@@ -13344,376 +13344,6 @@ export type SubgraphSubgraphVersion_Filter = {
13344
13344
  export declare enum SubgraphSubgraphVersion_OrderBy {
13345
13345
  Id = "id"
13346
13346
  }
13347
- export type SubgraphSubscription = {
13348
- __typename: "Subscription";
13349
- /** Access to subgraph metadata */
13350
- _meta?: Maybe<Subgraph_Meta_>;
13351
- accountAccessGranted?: Maybe<SubgraphAccountAccessGranted>;
13352
- accountAccessGranteds: SubgraphAccountAccessGranted[];
13353
- accountAccessRevoked?: Maybe<SubgraphAccountAccessRevoked>;
13354
- accountAccessRevokeds: SubgraphAccountAccessRevoked[];
13355
- accountBlockedFromDeposits?: Maybe<SubgraphAccountBlockedFromDeposits>;
13356
- accountBlockedFromDeposits_collection: SubgraphAccountBlockedFromDeposits[];
13357
- accountMadeFirstDeposit?: Maybe<SubgraphAccountMadeFirstDeposit>;
13358
- accountMadeFirstDeposits: SubgraphAccountMadeFirstDeposit[];
13359
- accountUnblockedFromDeposits?: Maybe<SubgraphAccountUnblockedFromDeposits>;
13360
- accountUnblockedFromDeposits_collection: SubgraphAccountUnblockedFromDeposits[];
13361
- annualInterestBipsUpdated?: Maybe<SubgraphAnnualInterestBipsUpdated>;
13362
- annualInterestBipsUpdateds: SubgraphAnnualInterestBipsUpdated[];
13363
- approval?: Maybe<SubgraphApproval>;
13364
- approvals: SubgraphApproval[];
13365
- approvedCollateralExchange?: Maybe<SubgraphApprovedCollateralExchange>;
13366
- approvedCollateralExchanges: SubgraphApprovedCollateralExchange[];
13367
- approvedLiquidator?: Maybe<SubgraphApprovedLiquidator>;
13368
- approvedLiquidators: SubgraphApprovedLiquidator[];
13369
- archController?: Maybe<SubgraphArchController>;
13370
- archControllers: SubgraphArchController[];
13371
- borrow?: Maybe<SubgraphBorrow>;
13372
- borrowerRegistrationChange?: Maybe<SubgraphBorrowerRegistrationChange>;
13373
- borrowerRegistrationChanges: SubgraphBorrowerRegistrationChange[];
13374
- borrows: SubgraphBorrow[];
13375
- collateralExchangeApproved?: Maybe<SubgraphCollateralExchangeApproved>;
13376
- collateralExchangeApproveds: SubgraphCollateralExchangeApproved[];
13377
- collateralExchangeRemoved?: Maybe<SubgraphCollateralExchangeRemoved>;
13378
- collateralExchangeRemoveds: SubgraphCollateralExchangeRemoved[];
13379
- controller?: Maybe<SubgraphController>;
13380
- controllerAdded?: Maybe<SubgraphControllerAdded>;
13381
- controllerAddeds: SubgraphControllerAdded[];
13382
- controllerFactories: SubgraphControllerFactory[];
13383
- controllerFactory?: Maybe<SubgraphControllerFactory>;
13384
- controllerFactoryAdded?: Maybe<SubgraphControllerFactoryAdded>;
13385
- controllerFactoryAddeds: SubgraphControllerFactoryAdded[];
13386
- controllerFactoryRemoved?: Maybe<SubgraphControllerFactoryRemoved>;
13387
- controllerFactoryRemoveds: SubgraphControllerFactoryRemoved[];
13388
- controllerRemoved?: Maybe<SubgraphControllerRemoved>;
13389
- controllerRemoveds: SubgraphControllerRemoved[];
13390
- controllers: SubgraphController[];
13391
- debtRepaid?: Maybe<SubgraphDebtRepaid>;
13392
- debtRepaids: SubgraphDebtRepaid[];
13393
- delinquencyStatusChanged?: Maybe<SubgraphDelinquencyStatusChanged>;
13394
- delinquencyStatusChangeds: SubgraphDelinquencyStatusChanged[];
13395
- deposit?: Maybe<SubgraphDeposit>;
13396
- deposits: SubgraphDeposit[];
13397
- disabledForceBuyBacks?: Maybe<SubgraphDisabledForceBuyBacks>;
13398
- disabledForceBuyBacks_collection: SubgraphDisabledForceBuyBacks[];
13399
- feesCollected?: Maybe<SubgraphFeesCollected>;
13400
- feesCollecteds: SubgraphFeesCollected[];
13401
- fixedTermUpdated?: Maybe<SubgraphFixedTermUpdated>;
13402
- fixedTermUpdateds: SubgraphFixedTermUpdated[];
13403
- forceBuyBack?: Maybe<SubgraphForceBuyBack>;
13404
- forceBuyBacks: SubgraphForceBuyBack[];
13405
- hooksConfig?: Maybe<SubgraphHooksConfig>;
13406
- hooksConfigs: SubgraphHooksConfig[];
13407
- hooksFactories: SubgraphHooksFactory[];
13408
- hooksFactory?: Maybe<SubgraphHooksFactory>;
13409
- hooksInstance?: Maybe<SubgraphHooksInstance>;
13410
- hooksInstanceDeployed?: Maybe<SubgraphHooksInstanceDeployed>;
13411
- hooksInstanceDeployeds: SubgraphHooksInstanceDeployed[];
13412
- hooksInstances: SubgraphHooksInstance[];
13413
- hooksNameUpdated?: Maybe<SubgraphHooksNameUpdated>;
13414
- hooksNameUpdateds: SubgraphHooksNameUpdated[];
13415
- hooksTemplate?: Maybe<SubgraphHooksTemplate>;
13416
- hooksTemplateAdded?: Maybe<SubgraphHooksTemplateAdded>;
13417
- hooksTemplateAddeds: SubgraphHooksTemplateAdded[];
13418
- hooksTemplateDisabled?: Maybe<SubgraphHooksTemplateDisabled>;
13419
- hooksTemplateDisableds: SubgraphHooksTemplateDisabled[];
13420
- hooksTemplateFeesUpdated?: Maybe<SubgraphHooksTemplateFeesUpdated>;
13421
- hooksTemplateFeesUpdateds: SubgraphHooksTemplateFeesUpdated[];
13422
- hooksTemplates: SubgraphHooksTemplate[];
13423
- knownLenderStatus?: Maybe<SubgraphKnownLenderStatus>;
13424
- knownLenderStatuses: SubgraphKnownLenderStatus[];
13425
- lenderAccount?: Maybe<SubgraphLenderAccount>;
13426
- lenderAccounts: SubgraphLenderAccount[];
13427
- lenderAuthorization?: Maybe<SubgraphLenderAuthorization>;
13428
- lenderAuthorizationChange?: Maybe<SubgraphLenderAuthorizationChange>;
13429
- lenderAuthorizationChanges: SubgraphLenderAuthorizationChange[];
13430
- lenderAuthorizations: SubgraphLenderAuthorization[];
13431
- lenderHooksAccess?: Maybe<SubgraphLenderHooksAccess>;
13432
- lenderHooksAccesses: SubgraphLenderHooksAccess[];
13433
- lenderInterestAccrued?: Maybe<SubgraphLenderInterestAccrued>;
13434
- lenderInterestAccrueds: SubgraphLenderInterestAccrued[];
13435
- lenderWithdrawalStatus?: Maybe<SubgraphLenderWithdrawalStatus>;
13436
- lenderWithdrawalStatuses: SubgraphLenderWithdrawalStatus[];
13437
- liquidatorApproved?: Maybe<SubgraphLiquidatorApproved>;
13438
- liquidatorApproveds: SubgraphLiquidatorApproved[];
13439
- liquidatorRemoved?: Maybe<SubgraphLiquidatorRemoved>;
13440
- liquidatorRemoveds: SubgraphLiquidatorRemoved[];
13441
- market?: Maybe<SubgraphMarket>;
13442
- marketAdded?: Maybe<SubgraphMarketAdded>;
13443
- marketAddeds: SubgraphMarketAdded[];
13444
- marketClosed?: Maybe<SubgraphMarketClosed>;
13445
- marketCloseds: SubgraphMarketClosed[];
13446
- marketDailyStats?: Maybe<SubgraphMarketDailyStats>;
13447
- marketDailyStats_collection: SubgraphMarketDailyStats[];
13448
- marketDeployed?: Maybe<SubgraphMarketDeployed>;
13449
- marketDeployeds: SubgraphMarketDeployed[];
13450
- marketInterestAccrued?: Maybe<SubgraphMarketInterestAccrued>;
13451
- marketInterestAccrueds: SubgraphMarketInterestAccrued[];
13452
- marketRemoved?: Maybe<SubgraphMarketRemoved>;
13453
- marketRemoveds: SubgraphMarketRemoved[];
13454
- markets: SubgraphMarket[];
13455
- maxTotalSupplyUpdated?: Maybe<SubgraphMaxTotalSupplyUpdated>;
13456
- maxTotalSupplyUpdateds: SubgraphMaxTotalSupplyUpdated[];
13457
- minimumDepositUpdated?: Maybe<SubgraphMinimumDepositUpdated>;
13458
- minimumDepositUpdateds: SubgraphMinimumDepositUpdated[];
13459
- newController?: Maybe<SubgraphNewController>;
13460
- newControllers: SubgraphNewController[];
13461
- newSanctionsEscrow?: Maybe<SubgraphNewSanctionsEscrow>;
13462
- newSanctionsEscrows: SubgraphNewSanctionsEscrow[];
13463
- ownershipHandoverCanceled?: Maybe<SubgraphOwnershipHandoverCanceled>;
13464
- ownershipHandoverCanceleds: SubgraphOwnershipHandoverCanceled[];
13465
- ownershipHandoverRequested?: Maybe<SubgraphOwnershipHandoverRequested>;
13466
- ownershipHandoverRequesteds: SubgraphOwnershipHandoverRequested[];
13467
- ownershipTransferred?: Maybe<SubgraphOwnershipTransferred>;
13468
- ownershipTransferreds: SubgraphOwnershipTransferred[];
13469
- parameterConstraints?: Maybe<SubgraphParameterConstraints>;
13470
- parameterConstraints_collection: SubgraphParameterConstraints[];
13471
- protocolFeeBipsUpdated?: Maybe<SubgraphProtocolFeeBipsUpdated>;
13472
- protocolFeeBipsUpdateds: SubgraphProtocolFeeBipsUpdated[];
13473
- registeredBorrower?: Maybe<SubgraphRegisteredBorrower>;
13474
- registeredBorrowers: SubgraphRegisteredBorrower[];
13475
- reserveRatioBipsUpdated?: Maybe<SubgraphReserveRatioBipsUpdated>;
13476
- reserveRatioBipsUpdateds: SubgraphReserveRatioBipsUpdated[];
13477
- roleProvider?: Maybe<SubgraphRoleProvider>;
13478
- roleProviderAdded?: Maybe<SubgraphRoleProviderAdded>;
13479
- roleProviderAddeds: SubgraphRoleProviderAdded[];
13480
- roleProviderRemoved?: Maybe<SubgraphRoleProviderRemoved>;
13481
- roleProviderRemoveds: SubgraphRoleProviderRemoved[];
13482
- roleProviderUpdated?: Maybe<SubgraphRoleProviderUpdated>;
13483
- roleProviderUpdateds: SubgraphRoleProviderUpdated[];
13484
- roleProviders: SubgraphRoleProvider[];
13485
- sanctionOverride?: Maybe<SubgraphSanctionOverride>;
13486
- sanctionOverrideRemoved?: Maybe<SubgraphSanctionOverrideRemoved>;
13487
- sanctionOverrideRemoveds: SubgraphSanctionOverrideRemoved[];
13488
- sanctionOverrides: SubgraphSanctionOverride[];
13489
- sanctionedAccountAssetsQueuedForWithdrawal?: Maybe<SubgraphSanctionedAccountAssetsQueuedForWithdrawal>;
13490
- sanctionedAccountAssetsQueuedForWithdrawals: SubgraphSanctionedAccountAssetsQueuedForWithdrawal[];
13491
- sanctionedAccountAssetsSentToEscrow?: Maybe<SubgraphSanctionedAccountAssetsSentToEscrow>;
13492
- sanctionedAccountAssetsSentToEscrows: SubgraphSanctionedAccountAssetsSentToEscrow[];
13493
- sanctionedAccountWithdrawalSentToEscrow?: Maybe<SubgraphSanctionedAccountWithdrawalSentToEscrow>;
13494
- sanctionedAccountWithdrawalSentToEscrows: SubgraphSanctionedAccountWithdrawalSentToEscrow[];
13495
- simpleCollateralContract?: Maybe<SubgraphSimpleCollateralContract>;
13496
- simpleCollateralContractDeposit?: Maybe<SubgraphSimpleCollateralContractDeposit>;
13497
- simpleCollateralContractDepositor?: Maybe<SubgraphSimpleCollateralContractDepositor>;
13498
- simpleCollateralContractDepositors: SubgraphSimpleCollateralContractDepositor[];
13499
- simpleCollateralContractDeposits: SubgraphSimpleCollateralContractDeposit[];
13500
- simpleCollateralContractFullReset?: Maybe<SubgraphSimpleCollateralContractFullReset>;
13501
- simpleCollateralContractFullResets: SubgraphSimpleCollateralContractFullReset[];
13502
- simpleCollateralContractLiquidatedSharesReset?: Maybe<SubgraphSimpleCollateralContractLiquidatedSharesReset>;
13503
- simpleCollateralContractLiquidatedSharesResets: SubgraphSimpleCollateralContractLiquidatedSharesReset[];
13504
- simpleCollateralContractLiquidation?: Maybe<SubgraphSimpleCollateralContractLiquidation>;
13505
- simpleCollateralContractLiquidations: SubgraphSimpleCollateralContractLiquidation[];
13506
- simpleCollateralContractReclaim?: Maybe<SubgraphSimpleCollateralContractReclaim>;
13507
- simpleCollateralContractReclaims: SubgraphSimpleCollateralContractReclaim[];
13508
- simpleCollateralContracts: SubgraphSimpleCollateralContract[];
13509
- simpleCollateralFactories: SubgraphSimpleCollateralFactory[];
13510
- simpleCollateralFactory?: Maybe<SubgraphSimpleCollateralFactory>;
13511
- subgraphVersion?: Maybe<SubgraphSubgraphVersion>;
13512
- subgraphVersions: SubgraphSubgraphVersion[];
13513
- token?: Maybe<SubgraphToken>;
13514
- tokens: SubgraphToken[];
13515
- transfer?: Maybe<SubgraphTransfer>;
13516
- transfers: SubgraphTransfer[];
13517
- updateProtocolFeeConfiguration?: Maybe<SubgraphUpdateProtocolFeeConfiguration>;
13518
- updateProtocolFeeConfigurations: SubgraphUpdateProtocolFeeConfiguration[];
13519
- withdrawalBatch?: Maybe<SubgraphWithdrawalBatch>;
13520
- withdrawalBatchCreated?: Maybe<SubgraphWithdrawalBatchCreated>;
13521
- withdrawalBatchCreateds: SubgraphWithdrawalBatchCreated[];
13522
- withdrawalBatchExpired?: Maybe<SubgraphWithdrawalBatchExpired>;
13523
- withdrawalBatchExpireds: SubgraphWithdrawalBatchExpired[];
13524
- withdrawalBatchInterestAccrued?: Maybe<SubgraphWithdrawalBatchInterestAccrued>;
13525
- withdrawalBatchInterestAccrueds: SubgraphWithdrawalBatchInterestAccrued[];
13526
- withdrawalBatchPayment?: Maybe<SubgraphWithdrawalBatchPayment>;
13527
- withdrawalBatchPayments: SubgraphWithdrawalBatchPayment[];
13528
- withdrawalBatches: SubgraphWithdrawalBatch[];
13529
- withdrawalExecution?: Maybe<SubgraphWithdrawalExecution>;
13530
- withdrawalExecutions: SubgraphWithdrawalExecution[];
13531
- withdrawalRequest?: Maybe<SubgraphWithdrawalRequest>;
13532
- withdrawalRequests: SubgraphWithdrawalRequest[];
13533
- };
13534
- export type SubgraphSubscription_MetaArgs = SubgraphQuery_MetaArgs;
13535
- export type SubgraphSubscriptionAccountAccessGrantedArgs = SubgraphQueryAccountAccessGrantedArgs;
13536
- export type SubgraphSubscriptionAccountAccessGrantedsArgs = SubgraphQueryAccountAccessGrantedsArgs;
13537
- export type SubgraphSubscriptionAccountAccessRevokedArgs = SubgraphQueryAccountAccessGrantedArgs;
13538
- export type SubgraphSubscriptionAccountAccessRevokedsArgs = SubgraphQueryAccountAccessRevokedsArgs;
13539
- export type SubgraphSubscriptionAccountBlockedFromDepositsArgs = SubgraphQueryAccountAccessGrantedArgs;
13540
- export type SubgraphSubscriptionAccountBlockedFromDeposits_CollectionArgs = SubgraphQueryAccountBlockedFromDeposits_CollectionArgs;
13541
- export type SubgraphSubscriptionAccountMadeFirstDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
13542
- export type SubgraphSubscriptionAccountMadeFirstDepositsArgs = SubgraphQueryAccountMadeFirstDepositsArgs;
13543
- export type SubgraphSubscriptionAccountUnblockedFromDepositsArgs = SubgraphQueryAccountAccessGrantedArgs;
13544
- export type SubgraphSubscriptionAccountUnblockedFromDeposits_CollectionArgs = SubgraphQueryAccountUnblockedFromDeposits_CollectionArgs;
13545
- export type SubgraphSubscriptionAnnualInterestBipsUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13546
- export type SubgraphSubscriptionAnnualInterestBipsUpdatedsArgs = SubgraphQueryAnnualInterestBipsUpdatedsArgs;
13547
- export type SubgraphSubscriptionApprovalArgs = SubgraphQueryAccountAccessGrantedArgs;
13548
- export type SubgraphSubscriptionApprovalsArgs = SubgraphQueryApprovalsArgs;
13549
- export type SubgraphSubscriptionApprovedCollateralExchangeArgs = SubgraphQueryAccountAccessGrantedArgs;
13550
- export type SubgraphSubscriptionApprovedCollateralExchangesArgs = SubgraphQueryApprovedCollateralExchangesArgs;
13551
- export type SubgraphSubscriptionApprovedLiquidatorArgs = SubgraphQueryAccountAccessGrantedArgs;
13552
- export type SubgraphSubscriptionApprovedLiquidatorsArgs = SubgraphQueryApprovedLiquidatorsArgs;
13553
- export type SubgraphSubscriptionArchControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
13554
- export type SubgraphSubscriptionArchControllersArgs = SubgraphQueryArchControllersArgs;
13555
- export type SubgraphSubscriptionBorrowArgs = SubgraphQueryAccountAccessGrantedArgs;
13556
- export type SubgraphSubscriptionBorrowerRegistrationChangeArgs = SubgraphQueryAccountAccessGrantedArgs;
13557
- export type SubgraphSubscriptionBorrowerRegistrationChangesArgs = SubgraphQueryBorrowerRegistrationChangesArgs;
13558
- export type SubgraphSubscriptionBorrowsArgs = SubgraphQueryBorrowsArgs;
13559
- export type SubgraphSubscriptionCollateralExchangeApprovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13560
- export type SubgraphSubscriptionCollateralExchangeApprovedsArgs = SubgraphQueryCollateralExchangeApprovedsArgs;
13561
- export type SubgraphSubscriptionCollateralExchangeRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13562
- export type SubgraphSubscriptionCollateralExchangeRemovedsArgs = SubgraphQueryCollateralExchangeRemovedsArgs;
13563
- export type SubgraphSubscriptionControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
13564
- export type SubgraphSubscriptionControllerAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
13565
- export type SubgraphSubscriptionControllerAddedsArgs = SubgraphQueryControllerAddedsArgs;
13566
- export type SubgraphSubscriptionControllerFactoriesArgs = SubgraphQueryControllerFactoriesArgs;
13567
- export type SubgraphSubscriptionControllerFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
13568
- export type SubgraphSubscriptionControllerFactoryAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
13569
- export type SubgraphSubscriptionControllerFactoryAddedsArgs = SubgraphQueryControllerFactoryAddedsArgs;
13570
- export type SubgraphSubscriptionControllerFactoryRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13571
- export type SubgraphSubscriptionControllerFactoryRemovedsArgs = SubgraphQueryControllerFactoryRemovedsArgs;
13572
- export type SubgraphSubscriptionControllerRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13573
- export type SubgraphSubscriptionControllerRemovedsArgs = SubgraphQueryControllerRemovedsArgs;
13574
- export type SubgraphSubscriptionControllersArgs = SubgraphQueryControllersArgs;
13575
- export type SubgraphSubscriptionDebtRepaidArgs = SubgraphQueryAccountAccessGrantedArgs;
13576
- export type SubgraphSubscriptionDebtRepaidsArgs = SubgraphQueryDebtRepaidsArgs;
13577
- export type SubgraphSubscriptionDelinquencyStatusChangedArgs = SubgraphQueryAccountAccessGrantedArgs;
13578
- export type SubgraphSubscriptionDelinquencyStatusChangedsArgs = SubgraphQueryDelinquencyStatusChangedsArgs;
13579
- export type SubgraphSubscriptionDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
13580
- export type SubgraphSubscriptionDepositsArgs = SubgraphQueryDepositsArgs;
13581
- export type SubgraphSubscriptionDisabledForceBuyBacksArgs = SubgraphQueryAccountAccessGrantedArgs;
13582
- export type SubgraphSubscriptionDisabledForceBuyBacks_CollectionArgs = SubgraphQueryDisabledForceBuyBacks_CollectionArgs;
13583
- export type SubgraphSubscriptionFeesCollectedArgs = SubgraphQueryAccountAccessGrantedArgs;
13584
- export type SubgraphSubscriptionFeesCollectedsArgs = SubgraphQueryFeesCollectedsArgs;
13585
- export type SubgraphSubscriptionFixedTermUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13586
- export type SubgraphSubscriptionFixedTermUpdatedsArgs = SubgraphQueryFixedTermUpdatedsArgs;
13587
- export type SubgraphSubscriptionForceBuyBackArgs = SubgraphQueryAccountAccessGrantedArgs;
13588
- export type SubgraphSubscriptionForceBuyBacksArgs = SubgraphQueryForceBuyBacksArgs;
13589
- export type SubgraphSubscriptionHooksConfigArgs = SubgraphQueryAccountAccessGrantedArgs;
13590
- export type SubgraphSubscriptionHooksConfigsArgs = SubgraphQueryHooksConfigsArgs;
13591
- export type SubgraphSubscriptionHooksFactoriesArgs = SubgraphQueryHooksFactoriesArgs;
13592
- export type SubgraphSubscriptionHooksFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
13593
- export type SubgraphSubscriptionHooksInstanceArgs = SubgraphQueryAccountAccessGrantedArgs;
13594
- export type SubgraphSubscriptionHooksInstanceDeployedArgs = SubgraphQueryAccountAccessGrantedArgs;
13595
- export type SubgraphSubscriptionHooksInstanceDeployedsArgs = SubgraphQueryHooksInstanceDeployedsArgs;
13596
- export type SubgraphSubscriptionHooksInstancesArgs = SubgraphQueryHooksInstancesArgs;
13597
- export type SubgraphSubscriptionHooksNameUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13598
- export type SubgraphSubscriptionHooksNameUpdatedsArgs = SubgraphQueryHooksNameUpdatedsArgs;
13599
- export type SubgraphSubscriptionHooksTemplateArgs = SubgraphQueryAccountAccessGrantedArgs;
13600
- export type SubgraphSubscriptionHooksTemplateAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
13601
- export type SubgraphSubscriptionHooksTemplateAddedsArgs = SubgraphQueryHooksTemplateAddedsArgs;
13602
- export type SubgraphSubscriptionHooksTemplateDisabledArgs = SubgraphQueryAccountAccessGrantedArgs;
13603
- export type SubgraphSubscriptionHooksTemplateDisabledsArgs = SubgraphQueryHooksTemplateDisabledsArgs;
13604
- export type SubgraphSubscriptionHooksTemplateFeesUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13605
- export type SubgraphSubscriptionHooksTemplateFeesUpdatedsArgs = SubgraphQueryHooksTemplateFeesUpdatedsArgs;
13606
- export type SubgraphSubscriptionHooksTemplatesArgs = SubgraphQueryHooksTemplatesArgs;
13607
- export type SubgraphSubscriptionKnownLenderStatusArgs = SubgraphQueryAccountAccessGrantedArgs;
13608
- export type SubgraphSubscriptionKnownLenderStatusesArgs = SubgraphQueryKnownLenderStatusesArgs;
13609
- export type SubgraphSubscriptionLenderAccountArgs = SubgraphQueryAccountAccessGrantedArgs;
13610
- export type SubgraphSubscriptionLenderAccountsArgs = SubgraphQueryLenderAccountsArgs;
13611
- export type SubgraphSubscriptionLenderAuthorizationArgs = SubgraphQueryAccountAccessGrantedArgs;
13612
- export type SubgraphSubscriptionLenderAuthorizationChangeArgs = SubgraphQueryAccountAccessGrantedArgs;
13613
- export type SubgraphSubscriptionLenderAuthorizationChangesArgs = SubgraphQueryLenderAuthorizationChangesArgs;
13614
- export type SubgraphSubscriptionLenderAuthorizationsArgs = SubgraphQueryLenderAuthorizationsArgs;
13615
- export type SubgraphSubscriptionLenderHooksAccessArgs = SubgraphQueryAccountAccessGrantedArgs;
13616
- export type SubgraphSubscriptionLenderHooksAccessesArgs = SubgraphQueryLenderHooksAccessesArgs;
13617
- export type SubgraphSubscriptionLenderInterestAccruedArgs = SubgraphQueryAccountAccessGrantedArgs;
13618
- export type SubgraphSubscriptionLenderInterestAccruedsArgs = SubgraphQueryLenderInterestAccruedsArgs;
13619
- export type SubgraphSubscriptionLenderWithdrawalStatusArgs = SubgraphQueryAccountAccessGrantedArgs;
13620
- export type SubgraphSubscriptionLenderWithdrawalStatusesArgs = SubgraphQueryLenderWithdrawalStatusesArgs;
13621
- export type SubgraphSubscriptionLiquidatorApprovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13622
- export type SubgraphSubscriptionLiquidatorApprovedsArgs = SubgraphQueryLiquidatorApprovedsArgs;
13623
- export type SubgraphSubscriptionLiquidatorRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13624
- export type SubgraphSubscriptionLiquidatorRemovedsArgs = SubgraphQueryLiquidatorRemovedsArgs;
13625
- export type SubgraphSubscriptionMarketArgs = SubgraphQueryAccountAccessGrantedArgs;
13626
- export type SubgraphSubscriptionMarketAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
13627
- export type SubgraphSubscriptionMarketAddedsArgs = SubgraphQueryMarketAddedsArgs;
13628
- export type SubgraphSubscriptionMarketClosedArgs = SubgraphQueryAccountAccessGrantedArgs;
13629
- export type SubgraphSubscriptionMarketClosedsArgs = SubgraphQueryMarketClosedsArgs;
13630
- export type SubgraphSubscriptionMarketDailyStatsArgs = SubgraphQueryAccountAccessGrantedArgs;
13631
- export type SubgraphSubscriptionMarketDailyStats_CollectionArgs = SubgraphQueryMarketDailyStats_CollectionArgs;
13632
- export type SubgraphSubscriptionMarketDeployedArgs = SubgraphQueryAccountAccessGrantedArgs;
13633
- export type SubgraphSubscriptionMarketDeployedsArgs = SubgraphQueryMarketDeployedsArgs;
13634
- export type SubgraphSubscriptionMarketInterestAccruedArgs = SubgraphQueryAccountAccessGrantedArgs;
13635
- export type SubgraphSubscriptionMarketInterestAccruedsArgs = SubgraphQueryMarketInterestAccruedsArgs;
13636
- export type SubgraphSubscriptionMarketRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13637
- export type SubgraphSubscriptionMarketRemovedsArgs = SubgraphQueryMarketRemovedsArgs;
13638
- export type SubgraphSubscriptionMarketsArgs = SubgraphQueryMarketsArgs;
13639
- export type SubgraphSubscriptionMaxTotalSupplyUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13640
- export type SubgraphSubscriptionMaxTotalSupplyUpdatedsArgs = SubgraphQueryMaxTotalSupplyUpdatedsArgs;
13641
- export type SubgraphSubscriptionMinimumDepositUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13642
- export type SubgraphSubscriptionMinimumDepositUpdatedsArgs = SubgraphQueryMinimumDepositUpdatedsArgs;
13643
- export type SubgraphSubscriptionNewControllerArgs = SubgraphQueryAccountAccessGrantedArgs;
13644
- export type SubgraphSubscriptionNewControllersArgs = SubgraphQueryNewControllersArgs;
13645
- export type SubgraphSubscriptionNewSanctionsEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
13646
- export type SubgraphSubscriptionNewSanctionsEscrowsArgs = SubgraphQueryNewSanctionsEscrowsArgs;
13647
- export type SubgraphSubscriptionOwnershipHandoverCanceledArgs = SubgraphQueryAccountAccessGrantedArgs;
13648
- export type SubgraphSubscriptionOwnershipHandoverCanceledsArgs = SubgraphQueryOwnershipHandoverCanceledsArgs;
13649
- export type SubgraphSubscriptionOwnershipHandoverRequestedArgs = SubgraphQueryAccountAccessGrantedArgs;
13650
- export type SubgraphSubscriptionOwnershipHandoverRequestedsArgs = SubgraphQueryOwnershipHandoverRequestedsArgs;
13651
- export type SubgraphSubscriptionOwnershipTransferredArgs = SubgraphQueryAccountAccessGrantedArgs;
13652
- export type SubgraphSubscriptionOwnershipTransferredsArgs = SubgraphQueryOwnershipTransferredsArgs;
13653
- export type SubgraphSubscriptionParameterConstraintsArgs = SubgraphQueryAccountAccessGrantedArgs;
13654
- export type SubgraphSubscriptionParameterConstraints_CollectionArgs = SubgraphQueryParameterConstraints_CollectionArgs;
13655
- export type SubgraphSubscriptionProtocolFeeBipsUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13656
- export type SubgraphSubscriptionProtocolFeeBipsUpdatedsArgs = SubgraphQueryProtocolFeeBipsUpdatedsArgs;
13657
- export type SubgraphSubscriptionRegisteredBorrowerArgs = SubgraphQueryAccountAccessGrantedArgs;
13658
- export type SubgraphSubscriptionRegisteredBorrowersArgs = SubgraphQueryRegisteredBorrowersArgs;
13659
- export type SubgraphSubscriptionReserveRatioBipsUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13660
- export type SubgraphSubscriptionReserveRatioBipsUpdatedsArgs = SubgraphQueryReserveRatioBipsUpdatedsArgs;
13661
- export type SubgraphSubscriptionRoleProviderArgs = SubgraphQueryAccountAccessGrantedArgs;
13662
- export type SubgraphSubscriptionRoleProviderAddedArgs = SubgraphQueryAccountAccessGrantedArgs;
13663
- export type SubgraphSubscriptionRoleProviderAddedsArgs = SubgraphQueryRoleProviderAddedsArgs;
13664
- export type SubgraphSubscriptionRoleProviderRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13665
- export type SubgraphSubscriptionRoleProviderRemovedsArgs = SubgraphQueryRoleProviderRemovedsArgs;
13666
- export type SubgraphSubscriptionRoleProviderUpdatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13667
- export type SubgraphSubscriptionRoleProviderUpdatedsArgs = SubgraphQueryRoleProviderUpdatedsArgs;
13668
- export type SubgraphSubscriptionRoleProvidersArgs = SubgraphQueryRoleProvidersArgs;
13669
- export type SubgraphSubscriptionSanctionOverrideArgs = SubgraphQueryAccountAccessGrantedArgs;
13670
- export type SubgraphSubscriptionSanctionOverrideRemovedArgs = SubgraphQueryAccountAccessGrantedArgs;
13671
- export type SubgraphSubscriptionSanctionOverrideRemovedsArgs = SubgraphQuerySanctionOverrideRemovedsArgs;
13672
- export type SubgraphSubscriptionSanctionOverridesArgs = SubgraphQuerySanctionOverridesArgs;
13673
- export type SubgraphSubscriptionSanctionedAccountAssetsQueuedForWithdrawalArgs = SubgraphQueryAccountAccessGrantedArgs;
13674
- export type SubgraphSubscriptionSanctionedAccountAssetsQueuedForWithdrawalsArgs = SubgraphQuerySanctionedAccountAssetsQueuedForWithdrawalsArgs;
13675
- export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
13676
- export type SubgraphSubscriptionSanctionedAccountAssetsSentToEscrowsArgs = SubgraphQuerySanctionedAccountAssetsSentToEscrowsArgs;
13677
- export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowArgs = SubgraphQueryAccountAccessGrantedArgs;
13678
- export type SubgraphSubscriptionSanctionedAccountWithdrawalSentToEscrowsArgs = SubgraphQuerySanctionedAccountWithdrawalSentToEscrowsArgs;
13679
- export type SubgraphSubscriptionSimpleCollateralContractArgs = SubgraphQueryAccountAccessGrantedArgs;
13680
- export type SubgraphSubscriptionSimpleCollateralContractDepositArgs = SubgraphQueryAccountAccessGrantedArgs;
13681
- export type SubgraphSubscriptionSimpleCollateralContractDepositorArgs = SubgraphQueryAccountAccessGrantedArgs;
13682
- export type SubgraphSubscriptionSimpleCollateralContractDepositorsArgs = SubgraphQuerySimpleCollateralContractDepositorsArgs;
13683
- export type SubgraphSubscriptionSimpleCollateralContractDepositsArgs = SubgraphQuerySimpleCollateralContractDepositsArgs;
13684
- export type SubgraphSubscriptionSimpleCollateralContractFullResetArgs = SubgraphQueryAccountAccessGrantedArgs;
13685
- export type SubgraphSubscriptionSimpleCollateralContractFullResetsArgs = SubgraphQuerySimpleCollateralContractFullResetsArgs;
13686
- export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetArgs = SubgraphQueryAccountAccessGrantedArgs;
13687
- export type SubgraphSubscriptionSimpleCollateralContractLiquidatedSharesResetsArgs = SubgraphQuerySimpleCollateralContractLiquidatedSharesResetsArgs;
13688
- export type SubgraphSubscriptionSimpleCollateralContractLiquidationArgs = SubgraphQueryAccountAccessGrantedArgs;
13689
- export type SubgraphSubscriptionSimpleCollateralContractLiquidationsArgs = SubgraphQuerySimpleCollateralContractLiquidationsArgs;
13690
- export type SubgraphSubscriptionSimpleCollateralContractReclaimArgs = SubgraphQueryAccountAccessGrantedArgs;
13691
- export type SubgraphSubscriptionSimpleCollateralContractReclaimsArgs = SubgraphQuerySimpleCollateralContractReclaimsArgs;
13692
- export type SubgraphSubscriptionSimpleCollateralContractsArgs = SubgraphQuerySimpleCollateralContractsArgs;
13693
- export type SubgraphSubscriptionSimpleCollateralFactoriesArgs = SubgraphQuerySimpleCollateralFactoriesArgs;
13694
- export type SubgraphSubscriptionSimpleCollateralFactoryArgs = SubgraphQueryAccountAccessGrantedArgs;
13695
- export type SubgraphSubscriptionSubgraphVersionArgs = SubgraphQueryAccountAccessGrantedArgs;
13696
- export type SubgraphSubscriptionSubgraphVersionsArgs = SubgraphQuerySubgraphVersionsArgs;
13697
- export type SubgraphSubscriptionTokenArgs = SubgraphQueryAccountAccessGrantedArgs;
13698
- export type SubgraphSubscriptionTokensArgs = SubgraphQueryTokensArgs;
13699
- export type SubgraphSubscriptionTransferArgs = SubgraphQueryAccountAccessGrantedArgs;
13700
- export type SubgraphSubscriptionTransfersArgs = SubgraphQueryTransfersArgs;
13701
- export type SubgraphSubscriptionUpdateProtocolFeeConfigurationArgs = SubgraphQueryAccountAccessGrantedArgs;
13702
- export type SubgraphSubscriptionUpdateProtocolFeeConfigurationsArgs = SubgraphQueryUpdateProtocolFeeConfigurationsArgs;
13703
- export type SubgraphSubscriptionWithdrawalBatchArgs = SubgraphQueryAccountAccessGrantedArgs;
13704
- export type SubgraphSubscriptionWithdrawalBatchCreatedArgs = SubgraphQueryAccountAccessGrantedArgs;
13705
- export type SubgraphSubscriptionWithdrawalBatchCreatedsArgs = SubgraphQueryWithdrawalBatchCreatedsArgs;
13706
- export type SubgraphSubscriptionWithdrawalBatchExpiredArgs = SubgraphQueryAccountAccessGrantedArgs;
13707
- export type SubgraphSubscriptionWithdrawalBatchExpiredsArgs = SubgraphQueryWithdrawalBatchExpiredsArgs;
13708
- export type SubgraphSubscriptionWithdrawalBatchInterestAccruedArgs = SubgraphQueryAccountAccessGrantedArgs;
13709
- export type SubgraphSubscriptionWithdrawalBatchInterestAccruedsArgs = SubgraphQueryWithdrawalBatchInterestAccruedsArgs;
13710
- export type SubgraphSubscriptionWithdrawalBatchPaymentArgs = SubgraphQueryAccountAccessGrantedArgs;
13711
- export type SubgraphSubscriptionWithdrawalBatchPaymentsArgs = SubgraphQueryWithdrawalBatchPaymentsArgs;
13712
- export type SubgraphSubscriptionWithdrawalBatchesArgs = SubgraphQueryWithdrawalBatchesArgs;
13713
- export type SubgraphSubscriptionWithdrawalExecutionArgs = SubgraphQueryAccountAccessGrantedArgs;
13714
- export type SubgraphSubscriptionWithdrawalExecutionsArgs = SubgraphQueryWithdrawalExecutionsArgs;
13715
- export type SubgraphSubscriptionWithdrawalRequestArgs = SubgraphQueryAccountAccessGrantedArgs;
13716
- export type SubgraphSubscriptionWithdrawalRequestsArgs = SubgraphQueryWithdrawalRequestsArgs;
13717
13347
  export type SubgraphToken = {
13718
13348
  __typename: "Token";
13719
13349
  address: Scalars["Bytes"]["output"];
@@ -15476,7 +15106,6 @@ export type Subgraph_Meta_ = {
15476
15106
  * will be null if the _meta field has a block constraint that asks for
15477
15107
  * a block number. It will be filled if the _meta field has no block constraint
15478
15108
  * and therefore asks for the latest block
15479
- *
15480
15109
  */
15481
15110
  block: Subgraph_Block_;
15482
15111
  /** The deployment ID */
@@ -17098,6 +16727,46 @@ export type SubgraphGetCollateralContractEventsQuery = {
17098
16727
  fullResets?: SubgraphSimpleCollateralContractFullResetDataFragment[];
17099
16728
  } | null;
17100
16729
  };
16730
+ export type SubgraphGetMarketChartsDataQueryVariables = Exact<{
16731
+ market: Scalars["ID"]["input"];
16732
+ numWithdrawalBatches?: InputMaybe<Scalars["Int"]["input"]>;
16733
+ skipWithdrawalBatches?: InputMaybe<Scalars["Int"]["input"]>;
16734
+ orderWithdrawalBatches?: InputMaybe<SubgraphWithdrawalBatch_OrderBy>;
16735
+ directionWithdrawalBatches?: InputMaybe<SubgraphOrderDirection>;
16736
+ numDailyStats?: InputMaybe<Scalars["Int"]["input"]>;
16737
+ skipDailyStats?: InputMaybe<Scalars["Int"]["input"]>;
16738
+ orderDailyStats?: InputMaybe<SubgraphMarketDailyStats_OrderBy>;
16739
+ directionDailyStats?: InputMaybe<SubgraphOrderDirection>;
16740
+ }>;
16741
+ export type SubgraphGetMarketChartsDataQuery = {
16742
+ __typename: "Query";
16743
+ market?: {
16744
+ __typename: "Market";
16745
+ withdrawalBatches: Array<{
16746
+ __typename: "WithdrawalBatch";
16747
+ expiry: string;
16748
+ expiration?: {
16749
+ __typename: "WithdrawalBatchExpired";
16750
+ normalizedAmountPaid: string;
16751
+ normalizedAmountOwed: string;
16752
+ } | null;
16753
+ }>;
16754
+ asset: {
16755
+ __typename: "Token";
16756
+ decimals: number;
16757
+ symbol: string;
16758
+ name: string;
16759
+ };
16760
+ dailyStats: Array<{
16761
+ __typename: "MarketDailyStats";
16762
+ totalDeposited: string;
16763
+ totalWithdrawalsRequested: string;
16764
+ totalBorrowed: string;
16765
+ totalRepaid: string;
16766
+ timestamp: number;
16767
+ }>;
16768
+ } | null;
16769
+ };
17101
16770
  export declare const LenderPropertiesFragmentDoc: Apollo.DocumentNode;
17102
16771
  export declare const RoleProviderDataFragmentDoc: Apollo.DocumentNode;
17103
16772
  export declare const LenderHooksAccessDataFragmentDoc: Apollo.DocumentNode;
@@ -17214,4 +16883,6 @@ export declare const GetApprovedLiquidatorsDocument: Apollo.DocumentNode;
17214
16883
  export type GetApprovedLiquidatorsQueryResult = Apollo.QueryResult<SubgraphGetApprovedLiquidatorsQuery, SubgraphGetApprovedLiquidatorsQueryVariables>;
17215
16884
  export declare const GetCollateralContractEventsDocument: Apollo.DocumentNode;
17216
16885
  export type GetCollateralContractEventsQueryResult = Apollo.QueryResult<SubgraphGetCollateralContractEventsQuery, SubgraphGetCollateralContractEventsQueryVariables>;
16886
+ export declare const GetMarketChartsDataDocument: Apollo.DocumentNode;
16887
+ export type GetMarketChartsDataQueryResult = Apollo.QueryResult<SubgraphGetMarketChartsDataQuery, SubgraphGetMarketChartsDataQueryVariables>;
17217
16888
  //# sourceMappingURL=graphql.d.ts.map