@aave/graphql 1.1.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/testing.d.ts CHANGED
@@ -170,7 +170,7 @@ type introspection_types = {
170
170
  'AssetRequest': { kind: 'INPUT_OBJECT'; name: 'AssetRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
171
171
  'AssetRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
172
172
  'AssetSampleBreakdown': { kind: 'OBJECT'; name: 'AssetSampleBreakdown'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'apy': { name: 'apy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'hub': { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; } }; }; };
173
- 'AssetSummary': { kind: 'OBJECT'; name: 'AssetSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowable': { name: 'totalBorrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSuppliable': { name: 'totalSuppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; }; };
173
+ 'AssetSummary': { kind: 'OBJECT'; name: 'AssetSummary'; fields: { 'activeReservesCount': { name: 'activeReservesCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reservesCount': { name: 'reservesCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowable': { name: 'totalBorrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSuppliable': { name: 'totalSuppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; }; };
174
174
  'AssetSupplyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
175
175
  'AssetSupplyHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
176
176
  'AssetSupplySample': { kind: 'OBJECT'; name: 'AssetSupplySample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'averageApy': { name: 'averageApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'breakdown': { name: 'breakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetSampleBreakdown'; ofType: null; }; }; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
@@ -244,7 +244,7 @@ type introspection_types = {
244
244
  'HubAssetInterestRateModelRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubAssetInterestRateModelRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubAssetId'; type: { kind: 'SCALAR'; name: 'HubAssetId'; ofType: null; }; defaultValue: null }]; };
245
245
  'HubAssetInterestRateModelResult': { kind: 'OBJECT'; name: 'HubAssetInterestRateModelResult'; fields: { 'points': { name: 'points'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAssetInterestRateModelPoint'; ofType: null; }; }; }; } }; }; };
246
246
  'HubAssetSettings': { kind: 'OBJECT'; name: 'HubAssetSettings'; fields: { 'baseBorrowRate': { name: 'baseBorrowRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'feeReceiver': { name: 'feeReceiver'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'irStrategy': { name: 'irStrategy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'liquidityFee': { name: 'liquidityFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'optimalUtilizationRate': { name: 'optimalUtilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reinvestmentController': { name: 'reinvestmentController'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'slopeAboveOptimal': { name: 'slopeAboveOptimal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'slopeBelowOptimal': { name: 'slopeBelowOptimal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
247
- 'HubAssetSummary': { kind: 'OBJECT'; name: 'HubAssetSummary'; fields: { 'availableLiquidity': { name: 'availableLiquidity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'utilizationRate': { name: 'utilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
247
+ 'HubAssetSummary': { kind: 'OBJECT'; name: 'HubAssetSummary'; fields: { 'activeReservesCount': { name: 'activeReservesCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'availableLiquidity': { name: 'availableLiquidity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reservesCount': { name: 'reservesCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'utilizationRate': { name: 'utilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
248
248
  'HubAssetUserState': { kind: 'OBJECT'; name: 'HubAssetUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
249
249
  'HubAssetsRequest': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
250
250
  'HubAssetsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'HubAssetsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'availableLiquidity'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
@@ -254,6 +254,8 @@ type introspection_types = {
254
254
  'HubInput': { kind: 'INPUT_OBJECT'; name: 'HubInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
255
255
  'HubRequest': { kind: 'INPUT_OBJECT'; name: 'HubRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
256
256
  'HubRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
257
+ 'HubSpokeConfig': { kind: 'OBJECT'; name: 'HubSpokeConfig'; fields: { 'active': { name: 'active'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'asset': { name: 'asset'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAsset'; ofType: null; }; } }; 'borrowCap': { name: 'borrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'halted': { name: 'halted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hub': { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; } }; 'riskPremiumThreshold': { name: 'riskPremiumThreshold'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'supplyCap': { name: 'supplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
258
+ 'HubSpokeConfigsRequest': { kind: 'INPUT_OBJECT'; name: 'HubSpokeConfigsRequest'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }]; };
257
259
  'HubSummary': { kind: 'OBJECT'; name: 'HubSummary'; fields: { 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'utilizationRate': { name: 'utilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
258
260
  'HubSummaryHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'HubSummaryHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'HubSummaryHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: "USD" }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
259
261
  'HubSummaryHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'HubSummaryHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubInput'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
@@ -329,18 +331,14 @@ type introspection_types = {
329
331
  'PrepareTokenSwapRequest': { kind: 'INPUT_OBJECT'; name: 'PrepareTokenSwapRequest'; isOneOf: false; inputFields: [{ name: 'quoteId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapQuoteId'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
330
332
  'PrepareTokenSwapResult': { kind: 'UNION'; name: 'PrepareTokenSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'PrepareSwapOrder'; };
331
333
  'PreviewAction': { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; isOneOf: true; inputFields: [{ name: 'supply'; type: { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; ofType: null; }; defaultValue: null }, { name: 'borrow'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; ofType: null; }; defaultValue: null }, { name: 'repay'; type: { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; ofType: null; }; defaultValue: null }, { name: 'withdraw'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; ofType: null; }; defaultValue: null }, { name: 'setUserSuppliesAsCollateral'; type: { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; ofType: null; }; defaultValue: null }, { name: 'updateUserPositionConditions'; type: { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; ofType: null; }; defaultValue: null }, { name: 'supplySwap'; type: { kind: 'INPUT_OBJECT'; name: 'SupplySwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'borrowSwap'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowSwapQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'repayWithSupply'; type: { kind: 'INPUT_OBJECT'; name: 'RepayWithSupplyQuoteRequest'; ofType: null; }; defaultValue: null }, { name: 'withdrawSwap'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawSwapQuoteRequest'; ofType: null; }; defaultValue: null }]; };
332
- 'PreviewBorrowPointsReward': { kind: 'OBJECT'; name: 'PreviewBorrowPointsReward'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PointsCriteria'; ofType: null; }; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'multiplier': { name: 'multiplier'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'program': { name: 'program'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PointsProgram'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
333
- 'PreviewMerklBorrowReward': { kind: 'OBJECT'; name: 'PreviewMerklBorrowReward'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'MerklCriteria'; ofType: null; }; }; }; } }; 'discountApy': { name: 'discountApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'payoutToken': { name: 'payoutToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
334
- 'PreviewMerklSupplyReward': { kind: 'OBJECT'; name: 'PreviewMerklSupplyReward'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'MerklCriteria'; ofType: null; }; }; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'extraApy': { name: 'extraApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'payoutToken': { name: 'payoutToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
335
334
  'PreviewRequest': { kind: 'INPUT_OBJECT'; name: 'PreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
336
335
  'PreviewReserveRates': { kind: 'OBJECT'; name: 'PreviewReserveRates'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; } }; }; };
337
- 'PreviewReward': { kind: 'UNION'; name: 'PreviewReward'; fields: {}; possibleTypes: 'PreviewBorrowPointsReward' | 'PreviewMerklBorrowReward' | 'PreviewMerklSupplyReward' | 'PreviewSupplyPointsReward'; };
338
- 'PreviewRewardOutcome': { kind: 'OBJECT'; name: 'PreviewRewardOutcome'; fields: { 'gained': { name: 'gained'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PreviewReward'; ofType: null; }; }; }; } }; 'lost': { name: 'lost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PreviewReward'; ofType: null; }; }; }; } }; }; };
339
- 'PreviewSupplyPointsReward': { kind: 'OBJECT'; name: 'PreviewSupplyPointsReward'; fields: { 'criteria': { name: 'criteria'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PointsCriteria'; ofType: null; }; }; } }; 'endDate': { name: 'endDate'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'RewardId'; ofType: null; }; } }; 'multiplier': { name: 'multiplier'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'program': { name: 'program'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PointsProgram'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'startDate': { name: 'startDate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
336
+ 'PreviewRewardChange': { kind: 'OBJECT'; name: 'PreviewRewardChange'; fields: { 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'reward': { name: 'reward'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Reward'; ofType: null; }; } }; }; };
337
+ 'PreviewRewardOutcome': { kind: 'OBJECT'; name: 'PreviewRewardOutcome'; fields: { 'gained': { name: 'gained'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewRewardChange'; ofType: null; }; }; }; } }; 'lost': { name: 'lost'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewRewardChange'; ofType: null; }; }; }; } }; }; };
340
338
  'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'HealthFactorResult'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'maxBorrowingPower': { name: 'maxBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'otherConditions': { name: 'otherConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UserPositionConditionVariation'; ofType: null; }; }; }; } }; 'projectedEarnings': { name: 'projectedEarnings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'remainingBorrowingPower': { name: 'remainingBorrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'reserveRates': { name: 'reserveRates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewReserveRates'; ofType: null; }; } }; 'rewards': { name: 'rewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewRewardOutcome'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; }; };
341
339
  'ProtocolHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'ProtocolHistoryRequest'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: "USD" }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
342
340
  'ProtocolHistorySample': { kind: 'OBJECT'; name: 'ProtocolHistorySample'; fields: { 'borrows': { name: 'borrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'deposits': { name: 'deposits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
343
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'activities': { name: 'activities'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActivitiesResult'; ofType: null; }; } }; 'asset': { name: 'asset'; type: { kind: 'OBJECT'; name: 'Asset'; ofType: null; } }; 'assetBorrowHistory': { name: 'assetBorrowHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetBorrowSample'; ofType: null; }; }; }; } }; 'assetPriceHistory': { name: 'assetPriceHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetPriceSample'; ofType: null; }; }; }; } }; 'assetSupplyHistory': { name: 'assetSupplyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetSupplySample'; ofType: null; }; }; }; } }; 'borrow': { name: 'borrow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'borrowApyHistory': { name: 'borrowApyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApySample'; ofType: null; }; }; }; } }; 'borrowSwapQuote': { name: 'borrowSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'BorrowSwapQuoteResult'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'OBJECT'; name: 'Chain'; ofType: null; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'claimRewards': { name: 'claimRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'hasProcessedKnownTransaction': { name: 'hasProcessedKnownTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hub': { name: 'hub'; type: { kind: 'OBJECT'; name: 'Hub'; ofType: null; } }; 'hubAssetInterestRateModel': { name: 'hubAssetInterestRateModel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAssetInterestRateModelResult'; ofType: null; }; } }; 'hubAssets': { name: 'hubAssets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAsset'; ofType: null; }; }; }; } }; 'hubSummaryHistory': { name: 'hubSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubSummarySample'; ofType: null; }; }; }; } }; 'hubs': { name: 'hubs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; }; }; } }; 'liquidatePosition': { name: 'liquidatePosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; ofType: null; }; } }; 'preparePositionSwap': { name: 'preparePositionSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PreparePositionSwapResult'; ofType: null; }; } }; 'prepareSwapCancel': { name: 'prepareSwapCancel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; ofType: null; }; } }; 'prepareTokenSwap': { name: 'prepareTokenSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PrepareTokenSwapResult'; ofType: null; }; } }; 'preview': { name: 'preview'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewUserPosition'; ofType: null; }; } }; 'protocolHistory': { name: 'protocolHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProtocolHistorySample'; ofType: null; }; }; }; } }; 'renounceSpokeUserPositionManager': { name: 'renounceSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'repay': { name: 'repay'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'repayWithSupplyQuote': { name: 'repayWithSupplyQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RepayWithSupplyQuoteResult'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; } }; 'reserveHolders': { name: 'reserveHolders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedReserveHoldersResult'; ofType: null; }; } }; 'reserves': { name: 'reserves'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; }; }; } }; 'setSpokeUserPositionManager': { name: 'setSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'setUserSuppliesAsCollateral': { name: 'setUserSuppliesAsCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; } }; 'spokePositionManagers': { name: 'spokePositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokePositionManagerResult'; ofType: null; }; } }; 'spokeUserPositionManagers': { name: 'spokeUserPositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokeUserPositionManagerResult'; ofType: null; }; } }; 'spokes': { name: 'spokes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; }; }; } }; 'stableVault': { name: 'stableVault'; type: { kind: 'OBJECT'; name: 'StableVault'; ofType: null; } }; 'stableVaultAssignRate': { name: 'stableVaultAssignRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultClaimStatus': { name: 'stableVaultClaimStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'StableVaultClaimStatus'; ofType: null; }; } }; 'stableVaultClaimSurplus': { name: 'stableVaultClaimSurplus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultDeposit': { name: 'stableVaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'StableVaultDepositExecutionPlan'; ofType: null; }; } }; 'stableVaultMovements': { name: 'stableVaultMovements'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedStableVaultMovementsResult'; ofType: null; }; } }; 'stableVaultRateUsers': { name: 'stableVaultRateUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedStableVaultRateUsersResult'; ofType: null; }; } }; 'stableVaultUnassignRate': { name: 'stableVaultUnassignRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultUserPositions': { name: 'stableVaultUserPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StableVaultUserPosition'; ofType: null; }; }; }; } }; 'stableVaultWithdraw': { name: 'stableVaultWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'StableVaultWithdrawExecutionPlan'; ofType: null; }; } }; 'stableVaults': { name: 'stableVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StableVault'; ofType: null; }; }; }; } }; 'supply': { name: 'supply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'supplyApyHistory': { name: 'supplyApyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApySample'; ofType: null; }; }; }; } }; 'supplySwapQuote': { name: 'supplySwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SupplySwapQuoteResult'; ofType: null; }; } }; 'swapStatus': { name: 'swapStatus'; type: { kind: 'UNION'; name: 'SwapStatus'; ofType: null; } }; 'swappableTokens': { name: 'swappableTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Token'; ofType: null; }; }; }; } }; 'tokenSwapQuote': { name: 'tokenSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TokenSwapQuoteResult'; ofType: null; }; } }; 'updateUserPositionConditions': { name: 'updateUserPositionConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'userBalances': { name: 'userBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserBalance'; ofType: null; }; }; }; } }; 'userBorrows': { name: 'userBorrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserBorrowItem'; ofType: null; }; }; }; } }; 'userClaimableRewards': { name: 'userClaimableRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UserClaimableReward'; ofType: null; }; }; }; } }; 'userPosition': { name: 'userPosition'; type: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; } }; 'userPositions': { name: 'userPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; }; }; }; } }; 'userRiskPremiumBreakdown': { name: 'userRiskPremiumBreakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; ofType: null; }; }; }; } }; 'userSummary': { name: 'userSummary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummary'; ofType: null; }; } }; 'userSummaryHistory': { name: 'userSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummaryHistoryItem'; ofType: null; }; }; }; } }; 'userSupplies': { name: 'userSupplies'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSupplyItem'; ofType: null; }; }; }; } }; 'userSwaps': { name: 'userSwaps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserSwapsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'withdrawSwapQuote': { name: 'withdrawSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'WithdrawSwapQuoteResult'; ofType: null; }; } }; }; };
341
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'activities': { name: 'activities'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActivitiesResult'; ofType: null; }; } }; 'asset': { name: 'asset'; type: { kind: 'OBJECT'; name: 'Asset'; ofType: null; } }; 'assetBorrowHistory': { name: 'assetBorrowHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetBorrowSample'; ofType: null; }; }; }; } }; 'assetPriceHistory': { name: 'assetPriceHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetPriceSample'; ofType: null; }; }; }; } }; 'assetSupplyHistory': { name: 'assetSupplyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetSupplySample'; ofType: null; }; }; }; } }; 'borrow': { name: 'borrow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'borrowApyHistory': { name: 'borrowApyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApySample'; ofType: null; }; }; }; } }; 'borrowSwapQuote': { name: 'borrowSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'BorrowSwapQuoteResult'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'OBJECT'; name: 'Chain'; ofType: null; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'claimRewards': { name: 'claimRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'hasProcessedKnownTransaction': { name: 'hasProcessedKnownTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hub': { name: 'hub'; type: { kind: 'OBJECT'; name: 'Hub'; ofType: null; } }; 'hubAssetInterestRateModel': { name: 'hubAssetInterestRateModel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAssetInterestRateModelResult'; ofType: null; }; } }; 'hubAssets': { name: 'hubAssets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAsset'; ofType: null; }; }; }; } }; 'hubSpokeConfigs': { name: 'hubSpokeConfigs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubSpokeConfig'; ofType: null; }; }; }; } }; 'hubSummaryHistory': { name: 'hubSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubSummarySample'; ofType: null; }; }; }; } }; 'hubs': { name: 'hubs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; }; }; } }; 'liquidatePosition': { name: 'liquidatePosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; ofType: null; }; } }; 'preparePositionSwap': { name: 'preparePositionSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PreparePositionSwapResult'; ofType: null; }; } }; 'prepareSwapCancel': { name: 'prepareSwapCancel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; ofType: null; }; } }; 'prepareTokenSwap': { name: 'prepareTokenSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PrepareTokenSwapResult'; ofType: null; }; } }; 'preview': { name: 'preview'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewUserPosition'; ofType: null; }; } }; 'protocolHistory': { name: 'protocolHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProtocolHistorySample'; ofType: null; }; }; }; } }; 'renounceSpokeUserPositionManager': { name: 'renounceSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'repay': { name: 'repay'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'repayWithSupplyQuote': { name: 'repayWithSupplyQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RepayWithSupplyQuoteResult'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; } }; 'reserveHolders': { name: 'reserveHolders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedReserveHoldersResult'; ofType: null; }; } }; 'reserves': { name: 'reserves'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; }; }; } }; 'setSpokeUserPositionManager': { name: 'setSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'setUserSuppliesAsCollateral': { name: 'setUserSuppliesAsCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; } }; 'spokePositionManagers': { name: 'spokePositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokePositionManagerResult'; ofType: null; }; } }; 'spokeSummaryHistory': { name: 'spokeSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SpokeSummarySample'; ofType: null; }; }; }; } }; 'spokeUserPositionManagers': { name: 'spokeUserPositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokeUserPositionManagerResult'; ofType: null; }; } }; 'spokes': { name: 'spokes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; }; }; } }; 'stableVault': { name: 'stableVault'; type: { kind: 'OBJECT'; name: 'StableVault'; ofType: null; } }; 'stableVaultAssignRate': { name: 'stableVaultAssignRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultClaimStatus': { name: 'stableVaultClaimStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'StableVaultClaimStatus'; ofType: null; }; } }; 'stableVaultClaimSurplus': { name: 'stableVaultClaimSurplus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultDeposit': { name: 'stableVaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'StableVaultDepositExecutionPlan'; ofType: null; }; } }; 'stableVaultMovements': { name: 'stableVaultMovements'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedStableVaultMovementsResult'; ofType: null; }; } }; 'stableVaultRateUsers': { name: 'stableVaultRateUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedStableVaultRateUsersResult'; ofType: null; }; } }; 'stableVaultUnassignRate': { name: 'stableVaultUnassignRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'stableVaultUserPositions': { name: 'stableVaultUserPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StableVaultUserPosition'; ofType: null; }; }; }; } }; 'stableVaultWithdraw': { name: 'stableVaultWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'StableVaultWithdrawExecutionPlan'; ofType: null; }; } }; 'stableVaults': { name: 'stableVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StableVault'; ofType: null; }; }; }; } }; 'supply': { name: 'supply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'supplyApyHistory': { name: 'supplyApyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApySample'; ofType: null; }; }; }; } }; 'supplySwapQuote': { name: 'supplySwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SupplySwapQuoteResult'; ofType: null; }; } }; 'swapStatus': { name: 'swapStatus'; type: { kind: 'UNION'; name: 'SwapStatus'; ofType: null; } }; 'swappableTokens': { name: 'swappableTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Token'; ofType: null; }; }; }; } }; 'tokenSwapQuote': { name: 'tokenSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TokenSwapQuoteResult'; ofType: null; }; } }; 'updateUserPositionConditions': { name: 'updateUserPositionConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'userBalances': { name: 'userBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserBalance'; ofType: null; }; }; }; } }; 'userBorrows': { name: 'userBorrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserBorrowItem'; ofType: null; }; }; }; } }; 'userClaimableRewards': { name: 'userClaimableRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UserClaimableReward'; ofType: null; }; }; }; } }; 'userPosition': { name: 'userPosition'; type: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; } }; 'userPositions': { name: 'userPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; }; }; }; } }; 'userRiskPremiumBreakdown': { name: 'userRiskPremiumBreakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; ofType: null; }; }; }; } }; 'userSummary': { name: 'userSummary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummary'; ofType: null; }; } }; 'userSummaryHistory': { name: 'userSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummaryHistoryItem'; ofType: null; }; }; }; } }; 'userSupplies': { name: 'userSupplies'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSupplyItem'; ofType: null; }; }; }; } }; 'userSwaps': { name: 'userSwaps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserSwapsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'withdrawSwapQuote': { name: 'withdrawSwapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'WithdrawSwapQuoteResult'; ofType: null; }; } }; }; };
344
342
  'QuoteAccuracy': { name: 'QuoteAccuracy'; enumValues: 'FAST' | 'ACCURATE'; };
345
343
  'RenounceSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'RenounceSpokeUserPositionManagerRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'managing'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
346
344
  'RepayActivity': { kind: 'OBJECT'; name: 'RepayActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'repaid': { name: 'repaid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
@@ -379,7 +377,9 @@ type introspection_types = {
379
377
  'SetSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'SetSpokeUserPositionManagerRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'approve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
380
378
  'SetUserSuppliesAsCollateralRequest': { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; isOneOf: false; inputFields: [{ name: 'changes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserSupplyAsCollateral'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
381
379
  'Signature': unknown;
382
- 'Spoke': { kind: 'OBJECT'; name: 'Spoke'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; } }; 'liquidationConfig': { name: 'liquidationConfig'; type: { kind: 'OBJECT'; name: 'SpokeLiquidationConfig'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
380
+ 'Spoke': { kind: 'OBJECT'; name: 'Spoke'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'connectedHubs': { name: 'connectedHubs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SpokeConnectedHub'; ofType: null; }; }; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; } }; 'liquidationConfig': { name: 'liquidationConfig'; type: { kind: 'OBJECT'; name: 'SpokeLiquidationConfig'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'summary': { name: 'summary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SpokeSummary'; ofType: null; }; } }; }; };
381
+ 'SpokeConnectedHub': { kind: 'OBJECT'; name: 'SpokeConnectedHub'; fields: { 'hub': { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; } }; 'summary': { name: 'summary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SpokeConnectedHubSummary'; ofType: null; }; } }; }; };
382
+ 'SpokeConnectedHubSummary': { kind: 'OBJECT'; name: 'SpokeConnectedHubSummary'; fields: { 'creditLine': { name: 'creditLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'creditUsed': { name: 'creditUsed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
383
383
  'SpokeId': unknown;
384
384
  'SpokeInput': { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
385
385
  'SpokeLiquidationConfig': { kind: 'OBJECT'; name: 'SpokeLiquidationConfig'; fields: { 'healthFactorForMaxBonus': { name: 'healthFactorForMaxBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'liquidationBonusFactor': { name: 'liquidationBonusFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'targetHealthFactor': { name: 'targetHealthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
@@ -387,6 +387,10 @@ type introspection_types = {
387
387
  'SpokePositionManagersRequest': { kind: 'INPUT_OBJECT'; name: 'SpokePositionManagersRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'includeInactive'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: null }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
388
388
  'SpokeRequest': { kind: 'INPUT_OBJECT'; name: 'SpokeRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SpokeRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
389
389
  'SpokeRequestQuery': { kind: 'INPUT_OBJECT'; name: 'SpokeRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }]; };
390
+ 'SpokeSummary': { kind: 'OBJECT'; name: 'SpokeSummary'; fields: { 'connectedHubs': { name: 'connectedHubs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'uniqueAssets': { name: 'uniqueAssets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; };
391
+ 'SpokeSummaryHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SpokeSummaryHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SpokeSummaryHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: "USD" }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
392
+ 'SpokeSummaryHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'SpokeSummaryHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'spokeInput'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }]; };
393
+ 'SpokeSummarySample': { kind: 'OBJECT'; name: 'SpokeSummarySample'; fields: { 'borrows': { name: 'borrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'deposits': { name: 'deposits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
390
394
  'SpokeTokenInput': { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
391
395
  'SpokeUserPositionManager': { kind: 'OBJECT'; name: 'SpokeUserPositionManager'; fields: { 'active': { name: 'active'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'approvedOn': { name: 'approvedOn'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
392
396
  'SpokeUserPositionManagersRequest': { kind: 'INPUT_OBJECT'; name: 'SpokeUserPositionManagersRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: null }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
@@ -5536,6 +5540,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
5536
5540
  value: _aave_types.BigDecimal;
5537
5541
  normalized: _aave_types.BigDecimal;
5538
5542
  };
5543
+ reservesCount: number;
5544
+ activeReservesCount: number;
5539
5545
  };
5540
5546
  settings: {
5541
5547
  __typename: "HubAssetSettings";
@@ -6044,6 +6050,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
6044
6050
  value: _aave_types.BigDecimal;
6045
6051
  normalized: _aave_types.BigDecimal;
6046
6052
  };
6053
+ reservesCount: number;
6054
+ activeReservesCount: number;
6047
6055
  };
6048
6056
  settings: {
6049
6057
  __typename: "HubAssetSettings";
@@ -6556,6 +6564,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
6556
6564
  value: _aave_types.BigDecimal;
6557
6565
  normalized: _aave_types.BigDecimal;
6558
6566
  };
6567
+ reservesCount: number;
6568
+ activeReservesCount: number;
6559
6569
  };
6560
6570
  settings: {
6561
6571
  __typename: "HubAssetSettings";
@@ -7064,6 +7074,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
7064
7074
  value: _aave_types.BigDecimal;
7065
7075
  normalized: _aave_types.BigDecimal;
7066
7076
  };
7077
+ reservesCount: number;
7078
+ activeReservesCount: number;
7067
7079
  };
7068
7080
  settings: {
7069
7081
  __typename: "HubAssetSettings";
@@ -7576,6 +7588,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
7576
7588
  value: _aave_types.BigDecimal;
7577
7589
  normalized: _aave_types.BigDecimal;
7578
7590
  };
7591
+ reservesCount: number;
7592
+ activeReservesCount: number;
7579
7593
  };
7580
7594
  settings: {
7581
7595
  __typename: "HubAssetSettings";
@@ -8084,6 +8098,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
8084
8098
  value: _aave_types.BigDecimal;
8085
8099
  normalized: _aave_types.BigDecimal;
8086
8100
  };
8101
+ reservesCount: number;
8102
+ activeReservesCount: number;
8087
8103
  };
8088
8104
  settings: {
8089
8105
  __typename: "HubAssetSettings";
@@ -8596,6 +8612,8 @@ declare const SwapCancelledFragment: gql_tada.TadaDocumentNode<{
8596
8612
  value: _aave_types.BigDecimal;
8597
8613
  normalized: _aave_types.BigDecimal;
8598
8614
  };
8615
+ reservesCount: number;
8616
+ activeReservesCount: number;
8599
8617
  };
8600
8618
  settings: {
8601
8619
  __typename: "HubAssetSettings";
@@ -9470,6 +9488,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
9470
9488
  value: _aave_types.BigDecimal;
9471
9489
  normalized: _aave_types.BigDecimal;
9472
9490
  };
9491
+ reservesCount: number;
9492
+ activeReservesCount: number;
9473
9493
  };
9474
9494
  settings: {
9475
9495
  __typename: "HubAssetSettings";
@@ -9978,6 +9998,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
9978
9998
  value: _aave_types.BigDecimal;
9979
9999
  normalized: _aave_types.BigDecimal;
9980
10000
  };
10001
+ reservesCount: number;
10002
+ activeReservesCount: number;
9981
10003
  };
9982
10004
  settings: {
9983
10005
  __typename: "HubAssetSettings";
@@ -10490,6 +10512,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
10490
10512
  value: _aave_types.BigDecimal;
10491
10513
  normalized: _aave_types.BigDecimal;
10492
10514
  };
10515
+ reservesCount: number;
10516
+ activeReservesCount: number;
10493
10517
  };
10494
10518
  settings: {
10495
10519
  __typename: "HubAssetSettings";
@@ -10998,6 +11022,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
10998
11022
  value: _aave_types.BigDecimal;
10999
11023
  normalized: _aave_types.BigDecimal;
11000
11024
  };
11025
+ reservesCount: number;
11026
+ activeReservesCount: number;
11001
11027
  };
11002
11028
  settings: {
11003
11029
  __typename: "HubAssetSettings";
@@ -11510,6 +11536,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
11510
11536
  value: _aave_types.BigDecimal;
11511
11537
  normalized: _aave_types.BigDecimal;
11512
11538
  };
11539
+ reservesCount: number;
11540
+ activeReservesCount: number;
11513
11541
  };
11514
11542
  settings: {
11515
11543
  __typename: "HubAssetSettings";
@@ -12018,6 +12046,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
12018
12046
  value: _aave_types.BigDecimal;
12019
12047
  normalized: _aave_types.BigDecimal;
12020
12048
  };
12049
+ reservesCount: number;
12050
+ activeReservesCount: number;
12021
12051
  };
12022
12052
  settings: {
12023
12053
  __typename: "HubAssetSettings";
@@ -12530,6 +12560,8 @@ declare const SwapOpenFragment: gql_tada.TadaDocumentNode<{
12530
12560
  value: _aave_types.BigDecimal;
12531
12561
  normalized: _aave_types.BigDecimal;
12532
12562
  };
12563
+ reservesCount: number;
12564
+ activeReservesCount: number;
12533
12565
  };
12534
12566
  settings: {
12535
12567
  __typename: "HubAssetSettings";
@@ -13406,6 +13438,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
13406
13438
  value: _aave_types.BigDecimal;
13407
13439
  normalized: _aave_types.BigDecimal;
13408
13440
  };
13441
+ reservesCount: number;
13442
+ activeReservesCount: number;
13409
13443
  };
13410
13444
  settings: {
13411
13445
  __typename: "HubAssetSettings";
@@ -13914,6 +13948,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
13914
13948
  value: _aave_types.BigDecimal;
13915
13949
  normalized: _aave_types.BigDecimal;
13916
13950
  };
13951
+ reservesCount: number;
13952
+ activeReservesCount: number;
13917
13953
  };
13918
13954
  settings: {
13919
13955
  __typename: "HubAssetSettings";
@@ -14426,6 +14462,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
14426
14462
  value: _aave_types.BigDecimal;
14427
14463
  normalized: _aave_types.BigDecimal;
14428
14464
  };
14465
+ reservesCount: number;
14466
+ activeReservesCount: number;
14429
14467
  };
14430
14468
  settings: {
14431
14469
  __typename: "HubAssetSettings";
@@ -14934,6 +14972,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
14934
14972
  value: _aave_types.BigDecimal;
14935
14973
  normalized: _aave_types.BigDecimal;
14936
14974
  };
14975
+ reservesCount: number;
14976
+ activeReservesCount: number;
14937
14977
  };
14938
14978
  settings: {
14939
14979
  __typename: "HubAssetSettings";
@@ -15446,6 +15486,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
15446
15486
  value: _aave_types.BigDecimal;
15447
15487
  normalized: _aave_types.BigDecimal;
15448
15488
  };
15489
+ reservesCount: number;
15490
+ activeReservesCount: number;
15449
15491
  };
15450
15492
  settings: {
15451
15493
  __typename: "HubAssetSettings";
@@ -15954,6 +15996,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
15954
15996
  value: _aave_types.BigDecimal;
15955
15997
  normalized: _aave_types.BigDecimal;
15956
15998
  };
15999
+ reservesCount: number;
16000
+ activeReservesCount: number;
15957
16001
  };
15958
16002
  settings: {
15959
16003
  __typename: "HubAssetSettings";
@@ -16466,6 +16510,8 @@ declare const SwapFulfilledFragment: gql_tada.TadaDocumentNode<{
16466
16510
  value: _aave_types.BigDecimal;
16467
16511
  normalized: _aave_types.BigDecimal;
16468
16512
  };
16513
+ reservesCount: number;
16514
+ activeReservesCount: number;
16469
16515
  };
16470
16516
  settings: {
16471
16517
  __typename: "HubAssetSettings";
@@ -17354,6 +17400,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
17354
17400
  value: _aave_types.BigDecimal;
17355
17401
  normalized: _aave_types.BigDecimal;
17356
17402
  };
17403
+ reservesCount: number;
17404
+ activeReservesCount: number;
17357
17405
  };
17358
17406
  settings: {
17359
17407
  __typename: "HubAssetSettings";
@@ -17862,6 +17910,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
17862
17910
  value: _aave_types.BigDecimal;
17863
17911
  normalized: _aave_types.BigDecimal;
17864
17912
  };
17913
+ reservesCount: number;
17914
+ activeReservesCount: number;
17865
17915
  };
17866
17916
  settings: {
17867
17917
  __typename: "HubAssetSettings";
@@ -18374,6 +18424,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
18374
18424
  value: _aave_types.BigDecimal;
18375
18425
  normalized: _aave_types.BigDecimal;
18376
18426
  };
18427
+ reservesCount: number;
18428
+ activeReservesCount: number;
18377
18429
  };
18378
18430
  settings: {
18379
18431
  __typename: "HubAssetSettings";
@@ -18882,6 +18934,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
18882
18934
  value: _aave_types.BigDecimal;
18883
18935
  normalized: _aave_types.BigDecimal;
18884
18936
  };
18937
+ reservesCount: number;
18938
+ activeReservesCount: number;
18885
18939
  };
18886
18940
  settings: {
18887
18941
  __typename: "HubAssetSettings";
@@ -19394,6 +19448,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
19394
19448
  value: _aave_types.BigDecimal;
19395
19449
  normalized: _aave_types.BigDecimal;
19396
19450
  };
19451
+ reservesCount: number;
19452
+ activeReservesCount: number;
19397
19453
  };
19398
19454
  settings: {
19399
19455
  __typename: "HubAssetSettings";
@@ -19902,6 +19958,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
19902
19958
  value: _aave_types.BigDecimal;
19903
19959
  normalized: _aave_types.BigDecimal;
19904
19960
  };
19961
+ reservesCount: number;
19962
+ activeReservesCount: number;
19905
19963
  };
19906
19964
  settings: {
19907
19965
  __typename: "HubAssetSettings";
@@ -20414,6 +20472,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
20414
20472
  value: _aave_types.BigDecimal;
20415
20473
  normalized: _aave_types.BigDecimal;
20416
20474
  };
20475
+ reservesCount: number;
20476
+ activeReservesCount: number;
20417
20477
  };
20418
20478
  settings: {
20419
20479
  __typename: "HubAssetSettings";
@@ -21282,6 +21342,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
21282
21342
  value: _aave_types.BigDecimal;
21283
21343
  normalized: _aave_types.BigDecimal;
21284
21344
  };
21345
+ reservesCount: number;
21346
+ activeReservesCount: number;
21285
21347
  };
21286
21348
  settings: {
21287
21349
  __typename: "HubAssetSettings";
@@ -21790,6 +21852,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
21790
21852
  value: _aave_types.BigDecimal;
21791
21853
  normalized: _aave_types.BigDecimal;
21792
21854
  };
21855
+ reservesCount: number;
21856
+ activeReservesCount: number;
21793
21857
  };
21794
21858
  settings: {
21795
21859
  __typename: "HubAssetSettings";
@@ -22302,6 +22366,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
22302
22366
  value: _aave_types.BigDecimal;
22303
22367
  normalized: _aave_types.BigDecimal;
22304
22368
  };
22369
+ reservesCount: number;
22370
+ activeReservesCount: number;
22305
22371
  };
22306
22372
  settings: {
22307
22373
  __typename: "HubAssetSettings";
@@ -22810,6 +22876,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
22810
22876
  value: _aave_types.BigDecimal;
22811
22877
  normalized: _aave_types.BigDecimal;
22812
22878
  };
22879
+ reservesCount: number;
22880
+ activeReservesCount: number;
22813
22881
  };
22814
22882
  settings: {
22815
22883
  __typename: "HubAssetSettings";
@@ -23322,6 +23390,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
23322
23390
  value: _aave_types.BigDecimal;
23323
23391
  normalized: _aave_types.BigDecimal;
23324
23392
  };
23393
+ reservesCount: number;
23394
+ activeReservesCount: number;
23325
23395
  };
23326
23396
  settings: {
23327
23397
  __typename: "HubAssetSettings";
@@ -23830,6 +23900,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
23830
23900
  value: _aave_types.BigDecimal;
23831
23901
  normalized: _aave_types.BigDecimal;
23832
23902
  };
23903
+ reservesCount: number;
23904
+ activeReservesCount: number;
23833
23905
  };
23834
23906
  settings: {
23835
23907
  __typename: "HubAssetSettings";
@@ -24342,6 +24414,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
24342
24414
  value: _aave_types.BigDecimal;
24343
24415
  normalized: _aave_types.BigDecimal;
24344
24416
  };
24417
+ reservesCount: number;
24418
+ activeReservesCount: number;
24345
24419
  };
24346
24420
  settings: {
24347
24421
  __typename: "HubAssetSettings";
@@ -25210,6 +25284,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
25210
25284
  value: _aave_types.BigDecimal;
25211
25285
  normalized: _aave_types.BigDecimal;
25212
25286
  };
25287
+ reservesCount: number;
25288
+ activeReservesCount: number;
25213
25289
  };
25214
25290
  settings: {
25215
25291
  __typename: "HubAssetSettings";
@@ -25718,6 +25794,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
25718
25794
  value: _aave_types.BigDecimal;
25719
25795
  normalized: _aave_types.BigDecimal;
25720
25796
  };
25797
+ reservesCount: number;
25798
+ activeReservesCount: number;
25721
25799
  };
25722
25800
  settings: {
25723
25801
  __typename: "HubAssetSettings";
@@ -26230,6 +26308,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
26230
26308
  value: _aave_types.BigDecimal;
26231
26309
  normalized: _aave_types.BigDecimal;
26232
26310
  };
26311
+ reservesCount: number;
26312
+ activeReservesCount: number;
26233
26313
  };
26234
26314
  settings: {
26235
26315
  __typename: "HubAssetSettings";
@@ -26738,6 +26818,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
26738
26818
  value: _aave_types.BigDecimal;
26739
26819
  normalized: _aave_types.BigDecimal;
26740
26820
  };
26821
+ reservesCount: number;
26822
+ activeReservesCount: number;
26741
26823
  };
26742
26824
  settings: {
26743
26825
  __typename: "HubAssetSettings";
@@ -27250,6 +27332,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
27250
27332
  value: _aave_types.BigDecimal;
27251
27333
  normalized: _aave_types.BigDecimal;
27252
27334
  };
27335
+ reservesCount: number;
27336
+ activeReservesCount: number;
27253
27337
  };
27254
27338
  settings: {
27255
27339
  __typename: "HubAssetSettings";
@@ -27758,6 +27842,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
27758
27842
  value: _aave_types.BigDecimal;
27759
27843
  normalized: _aave_types.BigDecimal;
27760
27844
  };
27845
+ reservesCount: number;
27846
+ activeReservesCount: number;
27761
27847
  };
27762
27848
  settings: {
27763
27849
  __typename: "HubAssetSettings";
@@ -28270,6 +28356,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
28270
28356
  value: _aave_types.BigDecimal;
28271
28357
  normalized: _aave_types.BigDecimal;
28272
28358
  };
28359
+ reservesCount: number;
28360
+ activeReservesCount: number;
28273
28361
  };
28274
28362
  settings: {
28275
28363
  __typename: "HubAssetSettings";
@@ -29138,6 +29226,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
29138
29226
  value: _aave_types.BigDecimal;
29139
29227
  normalized: _aave_types.BigDecimal;
29140
29228
  };
29229
+ reservesCount: number;
29230
+ activeReservesCount: number;
29141
29231
  };
29142
29232
  settings: {
29143
29233
  __typename: "HubAssetSettings";
@@ -29646,6 +29736,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
29646
29736
  value: _aave_types.BigDecimal;
29647
29737
  normalized: _aave_types.BigDecimal;
29648
29738
  };
29739
+ reservesCount: number;
29740
+ activeReservesCount: number;
29649
29741
  };
29650
29742
  settings: {
29651
29743
  __typename: "HubAssetSettings";
@@ -30158,6 +30250,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
30158
30250
  value: _aave_types.BigDecimal;
30159
30251
  normalized: _aave_types.BigDecimal;
30160
30252
  };
30253
+ reservesCount: number;
30254
+ activeReservesCount: number;
30161
30255
  };
30162
30256
  settings: {
30163
30257
  __typename: "HubAssetSettings";
@@ -30666,6 +30760,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
30666
30760
  value: _aave_types.BigDecimal;
30667
30761
  normalized: _aave_types.BigDecimal;
30668
30762
  };
30763
+ reservesCount: number;
30764
+ activeReservesCount: number;
30669
30765
  };
30670
30766
  settings: {
30671
30767
  __typename: "HubAssetSettings";
@@ -31178,6 +31274,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
31178
31274
  value: _aave_types.BigDecimal;
31179
31275
  normalized: _aave_types.BigDecimal;
31180
31276
  };
31277
+ reservesCount: number;
31278
+ activeReservesCount: number;
31181
31279
  };
31182
31280
  settings: {
31183
31281
  __typename: "HubAssetSettings";
@@ -31686,6 +31784,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
31686
31784
  value: _aave_types.BigDecimal;
31687
31785
  normalized: _aave_types.BigDecimal;
31688
31786
  };
31787
+ reservesCount: number;
31788
+ activeReservesCount: number;
31689
31789
  };
31690
31790
  settings: {
31691
31791
  __typename: "HubAssetSettings";
@@ -32198,6 +32298,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
32198
32298
  value: _aave_types.BigDecimal;
32199
32299
  normalized: _aave_types.BigDecimal;
32200
32300
  };
32301
+ reservesCount: number;
32302
+ activeReservesCount: number;
32201
32303
  };
32202
32304
  settings: {
32203
32305
  __typename: "HubAssetSettings";
@@ -33068,6 +33170,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
33068
33170
  value: _aave_types.BigDecimal;
33069
33171
  normalized: _aave_types.BigDecimal;
33070
33172
  };
33173
+ reservesCount: number;
33174
+ activeReservesCount: number;
33071
33175
  };
33072
33176
  settings: {
33073
33177
  __typename: "HubAssetSettings";
@@ -33576,6 +33680,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
33576
33680
  value: _aave_types.BigDecimal;
33577
33681
  normalized: _aave_types.BigDecimal;
33578
33682
  };
33683
+ reservesCount: number;
33684
+ activeReservesCount: number;
33579
33685
  };
33580
33686
  settings: {
33581
33687
  __typename: "HubAssetSettings";
@@ -34088,6 +34194,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
34088
34194
  value: _aave_types.BigDecimal;
34089
34195
  normalized: _aave_types.BigDecimal;
34090
34196
  };
34197
+ reservesCount: number;
34198
+ activeReservesCount: number;
34091
34199
  };
34092
34200
  settings: {
34093
34201
  __typename: "HubAssetSettings";
@@ -34596,6 +34704,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
34596
34704
  value: _aave_types.BigDecimal;
34597
34705
  normalized: _aave_types.BigDecimal;
34598
34706
  };
34707
+ reservesCount: number;
34708
+ activeReservesCount: number;
34599
34709
  };
34600
34710
  settings: {
34601
34711
  __typename: "HubAssetSettings";
@@ -35108,6 +35218,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
35108
35218
  value: _aave_types.BigDecimal;
35109
35219
  normalized: _aave_types.BigDecimal;
35110
35220
  };
35221
+ reservesCount: number;
35222
+ activeReservesCount: number;
35111
35223
  };
35112
35224
  settings: {
35113
35225
  __typename: "HubAssetSettings";
@@ -35616,6 +35728,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
35616
35728
  value: _aave_types.BigDecimal;
35617
35729
  normalized: _aave_types.BigDecimal;
35618
35730
  };
35731
+ reservesCount: number;
35732
+ activeReservesCount: number;
35619
35733
  };
35620
35734
  settings: {
35621
35735
  __typename: "HubAssetSettings";
@@ -36128,6 +36242,8 @@ declare const PaginatedUserSwapsResultFragment: gql_tada.TadaDocumentNode<{
36128
36242
  value: _aave_types.BigDecimal;
36129
36243
  normalized: _aave_types.BigDecimal;
36130
36244
  };
36245
+ reservesCount: number;
36246
+ activeReservesCount: number;
36131
36247
  };
36132
36248
  settings: {
36133
36249
  __typename: "HubAssetSettings";
@@ -36516,6 +36632,170 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
36516
36632
  normalized: _aave_types.BigDecimal;
36517
36633
  };
36518
36634
  } | null;
36635
+ summary: {
36636
+ __typename: "SpokeSummary";
36637
+ totalBorrowed: {
36638
+ __typename: "ExchangeAmount";
36639
+ value: _aave_types.BigDecimal;
36640
+ name: string;
36641
+ symbol: string;
36642
+ icon: string;
36643
+ decimals: number;
36644
+ };
36645
+ totalBorrowCap: {
36646
+ __typename: "ExchangeAmount";
36647
+ value: _aave_types.BigDecimal;
36648
+ name: string;
36649
+ symbol: string;
36650
+ icon: string;
36651
+ decimals: number;
36652
+ };
36653
+ totalSupplied: {
36654
+ __typename: "ExchangeAmount";
36655
+ value: _aave_types.BigDecimal;
36656
+ name: string;
36657
+ symbol: string;
36658
+ icon: string;
36659
+ decimals: number;
36660
+ };
36661
+ totalSupplyCap: {
36662
+ __typename: "ExchangeAmount";
36663
+ value: _aave_types.BigDecimal;
36664
+ name: string;
36665
+ symbol: string;
36666
+ icon: string;
36667
+ decimals: number;
36668
+ };
36669
+ uniqueAssets: number;
36670
+ connectedHubs: number;
36671
+ };
36672
+ connectedHubs: {
36673
+ __typename: "SpokeConnectedHub";
36674
+ hub: {
36675
+ __typename: "Hub";
36676
+ id: HubId;
36677
+ name: string;
36678
+ address: _aave_types.EvmAddress;
36679
+ chain: {
36680
+ __typename: "Chain";
36681
+ name: string;
36682
+ icon: string;
36683
+ chainId: _aave_types.ChainId;
36684
+ rpcUrl: string;
36685
+ explorerUrl: string;
36686
+ isTestnet: boolean;
36687
+ isFork: boolean;
36688
+ nativeWrappedToken: _aave_types.EvmAddress;
36689
+ nativeGateway: _aave_types.EvmAddress;
36690
+ signatureGateway: _aave_types.EvmAddress;
36691
+ nativeInfo: {
36692
+ __typename: "TokenInfo";
36693
+ id: TokenInfoId;
36694
+ name: string;
36695
+ symbol: string;
36696
+ icon: string;
36697
+ decimals: number;
36698
+ categories: TokenCategory[];
36699
+ };
36700
+ };
36701
+ summary: {
36702
+ __typename: "HubSummary";
36703
+ totalBorrowed: {
36704
+ __typename: "ExchangeAmountWithChange";
36705
+ current: {
36706
+ __typename: "ExchangeAmount";
36707
+ value: _aave_types.BigDecimal;
36708
+ name: string;
36709
+ symbol: string;
36710
+ icon: string;
36711
+ decimals: number;
36712
+ };
36713
+ change: {
36714
+ __typename: "PercentNumber";
36715
+ onChainValue: bigint;
36716
+ decimals: number;
36717
+ value: _aave_types.BigDecimal;
36718
+ normalized: _aave_types.BigDecimal;
36719
+ };
36720
+ };
36721
+ totalBorrowCap: {
36722
+ __typename: "ExchangeAmount";
36723
+ value: _aave_types.BigDecimal;
36724
+ name: string;
36725
+ symbol: string;
36726
+ icon: string;
36727
+ decimals: number;
36728
+ };
36729
+ totalSupplied: {
36730
+ __typename: "ExchangeAmountWithChange";
36731
+ current: {
36732
+ __typename: "ExchangeAmount";
36733
+ value: _aave_types.BigDecimal;
36734
+ name: string;
36735
+ symbol: string;
36736
+ icon: string;
36737
+ decimals: number;
36738
+ };
36739
+ change: {
36740
+ __typename: "PercentNumber";
36741
+ onChainValue: bigint;
36742
+ decimals: number;
36743
+ value: _aave_types.BigDecimal;
36744
+ normalized: _aave_types.BigDecimal;
36745
+ };
36746
+ };
36747
+ totalSupplyCap: {
36748
+ __typename: "ExchangeAmount";
36749
+ value: _aave_types.BigDecimal;
36750
+ name: string;
36751
+ symbol: string;
36752
+ icon: string;
36753
+ decimals: number;
36754
+ };
36755
+ utilizationRate: {
36756
+ __typename: "PercentNumber";
36757
+ onChainValue: bigint;
36758
+ decimals: number;
36759
+ value: _aave_types.BigDecimal;
36760
+ normalized: _aave_types.BigDecimal;
36761
+ };
36762
+ };
36763
+ };
36764
+ summary: {
36765
+ __typename: "SpokeConnectedHubSummary";
36766
+ totalBorrowed: {
36767
+ __typename: "ExchangeAmount";
36768
+ value: _aave_types.BigDecimal;
36769
+ name: string;
36770
+ symbol: string;
36771
+ icon: string;
36772
+ decimals: number;
36773
+ };
36774
+ creditLine: {
36775
+ __typename: "ExchangeAmount";
36776
+ value: _aave_types.BigDecimal;
36777
+ name: string;
36778
+ symbol: string;
36779
+ icon: string;
36780
+ decimals: number;
36781
+ };
36782
+ creditUsed: {
36783
+ __typename: "PercentNumber";
36784
+ onChainValue: bigint;
36785
+ decimals: number;
36786
+ value: _aave_types.BigDecimal;
36787
+ normalized: _aave_types.BigDecimal;
36788
+ };
36789
+ totalSupplied: {
36790
+ __typename: "ExchangeAmount";
36791
+ value: _aave_types.BigDecimal;
36792
+ name: string;
36793
+ symbol: string;
36794
+ icon: string;
36795
+ decimals: number;
36796
+ };
36797
+ };
36798
+ }[];
36519
36799
  };
36520
36800
  user: _aave_types.EvmAddress;
36521
36801
  createdAt: Date;