@aave/graphql 1.0.0-next.7 → 1.0.0-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -96,6 +96,13 @@ declare enum ApyMetric {
96
96
  Lowest = "LOWEST",
97
97
  Average = "AVERAGE"
98
98
  }
99
+ /**
100
+ * The collateral metric for comparing collateral factors.
101
+ */
102
+ declare enum CollateralMetric {
103
+ Highest = "HIGHEST",
104
+ Lowest = "LOWEST"
105
+ }
99
106
  /**
100
107
  * The currency for fiat amounts.
101
108
  */
@@ -184,11 +191,12 @@ type introspection_types = {
184
191
  'Chain': { kind: 'OBJECT'; name: 'Chain'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'explorerUrl': { name: 'explorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'isFork': { name: 'isFork'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isTestnet': { name: 'isTestnet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'nativeGateway': { name: 'nativeGateway'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'nativeInfo': { name: 'nativeInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'nativeWrappedToken': { name: 'nativeWrappedToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rpcUrl': { name: 'rpcUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signatureGateway': { name: 'signatureGateway'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
185
192
  'ChainId': unknown;
186
193
  'ChainRequest': { kind: 'INPUT_OBJECT'; name: 'ChainRequest'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
194
+ 'ChainTokenCategories': { kind: 'INPUT_OBJECT'; name: 'ChainTokenCategories'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'categories'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; }; }; defaultValue: null }]; };
187
195
  'ChainTokenInput': { kind: 'INPUT_OBJECT'; name: 'ChainTokenInput'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'TokenInput'; ofType: null; }; }; defaultValue: null }]; };
188
196
  'ChainsFilter': { name: 'ChainsFilter'; enumValues: 'TESTNET_ONLY' | 'MAINNET_ONLY' | 'ALL'; };
189
197
  'ChainsRequest': { kind: 'INPUT_OBJECT'; name: 'ChainsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ChainsRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
190
198
  'ChainsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ChainsRequestQuery'; isOneOf: true; inputFields: [{ name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'ENUM'; name: 'ChainsFilter'; ofType: null; }; defaultValue: null }]; };
191
- 'ChangedDynamicConfigUserPositionConditions': { kind: 'UNION'; name: 'ChangedDynamicConfigUserPositionConditions'; fields: {}; possibleTypes: 'DynamicConfigUserPositionCollateralFactorVariation' | 'DynamicConfigUserPositionLiquidationFeeVariation' | 'DynamicConfigUserPositionMaxLiquidationBonusVariation'; };
199
+ 'CollateralFactorVariation': { kind: 'OBJECT'; name: 'CollateralFactorVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
192
200
  'CollateralMetric': { name: 'CollateralMetric'; enumValues: 'HIGHEST' | 'LOWEST'; };
193
201
  'Currency': { name: 'Currency'; enumValues: 'USD' | 'GBP' | 'EUR'; };
194
202
  'Cursor': unknown;
@@ -197,9 +205,6 @@ type introspection_types = {
197
205
  'DecimalNumberWithChange': { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; fields: { 'change': { name: 'change'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; }; };
198
206
  'DomainData': { kind: 'OBJECT'; name: 'DomainData'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'verifyingContract': { name: 'verifyingContract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'version': { name: 'version'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
199
207
  'DynamicConfigKey': unknown;
200
- 'DynamicConfigUserPositionCollateralFactorVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionCollateralFactorVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
201
- 'DynamicConfigUserPositionLiquidationFeeVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionLiquidationFeeVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
202
- 'DynamicConfigUserPositionMaxLiquidationBonusVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionMaxLiquidationBonusVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
203
208
  'ERC20PermitSignature': { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; isOneOf: false; inputFields: [{ name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; }; defaultValue: null }, { name: 'deadline'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; defaultValue: null }]; };
204
209
  'EarningPeriod': { name: 'EarningPeriod'; enumValues: 'ANNUAL'; };
205
210
  'Erc20Amount': { kind: 'OBJECT'; name: 'Erc20Amount'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'isWrappedNative': { name: 'isWrappedNative'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
@@ -208,7 +213,7 @@ type introspection_types = {
208
213
  'Erc20Token': { kind: 'OBJECT'; name: 'Erc20Token'; 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; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'isWrappedNativeToken': { name: 'isWrappedNativeToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'permitSupported': { name: 'permitSupported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
209
214
  'EvmAddress': unknown;
210
215
  'ExchangeAmount': { kind: 'OBJECT'; name: 'ExchangeAmount'; fields: { 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'symbol': { name: 'symbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
211
- 'ExchangeAmountValueVariation': { kind: 'OBJECT'; name: 'ExchangeAmountValueVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
216
+ 'ExchangeAmountVariation': { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
212
217
  'ExchangeAmountWithChange': { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; fields: { 'change': { name: 'change'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
213
218
  'ExchangeRateRequest': { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequest'; isOneOf: false; inputFields: [{ name: 'from'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequestFrom'; ofType: null; }; }; defaultValue: null }, { name: 'to'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: null }, { name: 'at'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; defaultValue: null }]; };
214
219
  'ExchangeRateRequestFrom': { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequestFrom'; isOneOf: true; inputFields: [{ name: 'fiat'; type: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'native'; type: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; defaultValue: null }]; };
@@ -251,6 +256,8 @@ type introspection_types = {
251
256
  'LiquidatePositionExecutionPlan': { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; fields: {}; possibleTypes: 'Erc20ApprovalRequired' | 'InsufficientBalanceError' | 'TransactionRequest'; };
252
257
  'LiquidatePositionRequest': { kind: 'INPUT_OBJECT'; name: 'LiquidatePositionRequest'; isOneOf: false; inputFields: [{ name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'LiquidatePositionDebtAmount'; ofType: null; }; }; defaultValue: null }, { name: 'liquidator'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'receiveShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
253
258
  'LiquidatedActivity': { kind: 'OBJECT'; name: 'LiquidatedActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralReserve': { name: 'collateralReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'debtReserve': { name: 'debtReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'liquidator': { name: 'liquidator'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; 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; }; } }; }; };
259
+ 'LiquidationFeeVariation': { kind: 'OBJECT'; name: 'LiquidationFeeVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
260
+ 'MaxLiquidationBonusVariation': { kind: 'OBJECT'; name: 'MaxLiquidationBonusVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
254
261
  'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; ofType: null; }; } }; }; };
255
262
  'NativeAmount': { kind: 'OBJECT'; name: 'NativeAmount'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NativeToken'; ofType: null; }; } }; }; };
256
263
  'NativeToken': { kind: 'OBJECT'; name: 'NativeToken'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; }; };
@@ -280,7 +287,7 @@ type introspection_types = {
280
287
  'PrepareSwapResult': { kind: 'UNION'; name: 'PrepareSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent' | 'SwapByIntentWithApprovalRequired' | 'SwapByTransaction'; };
281
288
  '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 }]; };
282
289
  '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 }]; };
283
- 'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountValueVariation'; ofType: null; }; } }; 'changedDynamicConfigConditions': { name: 'changedDynamicConfigConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ChangedDynamicConfigUserPositionConditions'; ofType: null; }; }; }; } }; '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; }; } }; '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: 'ExchangeAmountValueVariation'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountValueVariation'; ofType: null; }; } }; 'projectedEarnings': { name: 'projectedEarnings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountValueVariation'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; }; };
290
+ 'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; '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; }; } }; '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; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; }; };
284
291
  '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" }]; };
285
292
  '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; }; } }; 'earnings': { name: 'earnings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
286
293
  '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; }; }; }; } }; 'assetCategoryBorrowHistory': { name: 'assetCategoryBorrowHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetCategoryBorrowSample'; ofType: null; }; }; }; } }; 'assetCategorySupplyHistory': { name: 'assetCategorySupplyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetCategorySupplySample'; 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; }; }; }; } }; 'cancelSwap': { name: 'cancelSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CancelSwapExecutionPlan'; 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; }; }; }; } }; '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; } }; '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; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; ofType: null; }; } }; 'prepareSwap': { name: 'prepareSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PrepareSwapResult'; ofType: null; }; } }; 'prepareSwapCancel': { name: 'prepareSwapCancel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; 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; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'OBJECT'; name: 'Reserve'; 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; }; }; }; } }; '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; }; }; }; } }; 'swap': { name: 'swap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapExecutionPlan'; ofType: null; }; } }; 'swapQuote': { name: 'swapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapQuote'; ofType: null; }; } }; 'swapStatus': { name: 'swapStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { 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; }; }; }; } }; '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; }; }; }; } }; '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; }; } }; }; };
@@ -307,7 +314,7 @@ type introspection_types = {
307
314
  'ReservesRequest': { kind: 'INPUT_OBJECT'; name: 'ReservesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
308
315
  'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'COLLATERAL' | 'ALL'; };
309
316
  'ReservesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'userBalance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'collateralFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
310
- 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; 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 }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'categories'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; }; defaultValue: null }]; };
317
+ 'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; 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 }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'chainTokenCategories'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ChainTokenCategories'; ofType: null; }; }; }; defaultValue: null }]; };
311
318
  '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 }]; };
312
319
  '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 }]; };
313
320
  'Signature': unknown;
@@ -392,6 +399,7 @@ type introspection_types = {
392
399
  'UserHub': { kind: 'INPUT_OBJECT'; name: 'UserHub'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; ofType: null; }; }; defaultValue: null }]; };
393
400
  'UserHubInput': { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; isOneOf: true; inputFields: [{ name: 'input'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'id'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
394
401
  'UserPosition': { kind: 'OBJECT'; name: 'UserPosition'; fields: { 'averageCollateralFactor': { name: 'averageCollateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorWithChange'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'isUsingLatestDynamicConfigKey': { name: 'isUsingLatestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'liquidationPrice': { name: 'liquidationPrice'; type: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netBalancePercentChange': { name: 'netBalancePercentChange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBorrowApy': { name: 'netBorrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netSupplyApy': { name: 'netSupplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; ofType: null; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; 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; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
402
+ 'UserPositionConditionVariation': { kind: 'UNION'; name: 'UserPositionConditionVariation'; fields: {}; possibleTypes: 'CollateralFactorVariation' | 'LiquidationFeeVariation' | 'MaxLiquidationBonusVariation'; };
395
403
  'UserPositionId': unknown;
396
404
  'UserPositionRequest': { kind: 'INPUT_OBJECT'; name: 'UserPositionRequest'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'id'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
397
405
  'UserPositionRiskPremium': { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; fields: { 'better': { name: 'better'; type: { 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: 'UserRiskPremiumBreakdownItem'; ofType: null; }; }; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
@@ -659,6 +667,7 @@ declare const graphql: initGraphQLTada<{
659
667
  Boolean: boolean;
660
668
  ChainId: ChainId;
661
669
  ChainsFilter: ChainsFilter;
670
+ CollateralMetric: CollateralMetric;
662
671
  Currency: Currency;
663
672
  Cursor: Cursor;
664
673
  DateTime: Date;
@@ -1825,8 +1834,8 @@ declare const PercentNumberVariationFragment: gql_tada.TadaDocumentNode<{
1825
1834
  masked: false;
1826
1835
  }>;
1827
1836
  type PercentNumberVariation = FragmentOf<typeof PercentNumberVariationFragment>;
1828
- declare const ExchangeAmountValueVariationFragment: gql_tada.TadaDocumentNode<{
1829
- __typename: "ExchangeAmountValueVariation";
1837
+ declare const ExchangeAmountVariationFragment: gql_tada.TadaDocumentNode<{
1838
+ __typename: "ExchangeAmountVariation";
1830
1839
  current: {
1831
1840
  __typename: "ExchangeAmount";
1832
1841
  value: _aave_types.BigDecimal;
@@ -1844,11 +1853,11 @@ declare const ExchangeAmountValueVariationFragment: gql_tada.TadaDocumentNode<{
1844
1853
  decimals: number;
1845
1854
  };
1846
1855
  }, {}, {
1847
- fragment: "ExchangeAmountValueVariation";
1848
- on: "ExchangeAmountValueVariation";
1856
+ fragment: "ExchangeAmountVariation";
1857
+ on: "ExchangeAmountVariation";
1849
1858
  masked: false;
1850
1859
  }>;
1851
- type ExchangeAmountValueVariation = FragmentOf<typeof ExchangeAmountValueVariationFragment>;
1860
+ type ExchangeAmountVariation = FragmentOf<typeof ExchangeAmountVariationFragment>;
1852
1861
  declare const HealthFactorWithChangeFragment: gql_tada.TadaDocumentNode<{
1853
1862
  __typename: "HealthFactorWithChange";
1854
1863
  current: _aave_types.BigDecimal | null;
@@ -12104,6 +12113,101 @@ declare const HubAssetsQuery: gql_tada.TadaDocumentNode<{
12104
12113
  type HubAssetsRequest = RequestOf<typeof HubAssetsQuery>;
12105
12114
  type HubAssetsRequestQuery = ReturnType<typeof graphql.scalar<'HubAssetsRequestQuery'>>;
12106
12115
  type HubsRequestQuery = ReturnType<typeof graphql.scalar<'HubsRequestQuery'>>;
12116
+ declare const HubSummarySampleFragment: gql_tada.TadaDocumentNode<{
12117
+ __typename: "HubSummarySample";
12118
+ date: Date;
12119
+ deposits: {
12120
+ __typename: "ExchangeAmount";
12121
+ value: _aave_types.BigDecimal;
12122
+ name: string;
12123
+ symbol: string;
12124
+ icon: string;
12125
+ decimals: number;
12126
+ };
12127
+ borrows: {
12128
+ __typename: "ExchangeAmount";
12129
+ value: _aave_types.BigDecimal;
12130
+ name: string;
12131
+ symbol: string;
12132
+ icon: string;
12133
+ decimals: number;
12134
+ };
12135
+ availableLiquidity: {
12136
+ __typename: "ExchangeAmount";
12137
+ value: _aave_types.BigDecimal;
12138
+ name: string;
12139
+ symbol: string;
12140
+ icon: string;
12141
+ decimals: number;
12142
+ };
12143
+ utilizationRate: {
12144
+ __typename: "PercentNumber";
12145
+ onChainValue: bigint;
12146
+ decimals: number;
12147
+ value: _aave_types.BigDecimal;
12148
+ normalized: _aave_types.BigDecimal;
12149
+ };
12150
+ }, {}, {
12151
+ fragment: "HubSummarySample";
12152
+ on: "HubSummarySample";
12153
+ masked: false;
12154
+ }>;
12155
+ type HubSummarySample = FragmentOf<typeof HubSummarySampleFragment>;
12156
+ /**
12157
+ * @internal
12158
+ */
12159
+ declare const HubSummaryHistoryQuery: gql_tada.TadaDocumentNode<{
12160
+ value: {
12161
+ __typename: "HubSummarySample";
12162
+ date: Date;
12163
+ deposits: {
12164
+ __typename: "ExchangeAmount";
12165
+ value: _aave_types.BigDecimal;
12166
+ name: string;
12167
+ symbol: string;
12168
+ icon: string;
12169
+ decimals: number;
12170
+ };
12171
+ borrows: {
12172
+ __typename: "ExchangeAmount";
12173
+ value: _aave_types.BigDecimal;
12174
+ name: string;
12175
+ symbol: string;
12176
+ icon: string;
12177
+ decimals: number;
12178
+ };
12179
+ availableLiquidity: {
12180
+ __typename: "ExchangeAmount";
12181
+ value: _aave_types.BigDecimal;
12182
+ name: string;
12183
+ symbol: string;
12184
+ icon: string;
12185
+ decimals: number;
12186
+ };
12187
+ utilizationRate: {
12188
+ __typename: "PercentNumber";
12189
+ onChainValue: bigint;
12190
+ decimals: number;
12191
+ value: _aave_types.BigDecimal;
12192
+ normalized: _aave_types.BigDecimal;
12193
+ };
12194
+ }[];
12195
+ }, {
12196
+ request: {
12197
+ window?: TimeWindow | null | undefined;
12198
+ currency?: Currency | null | undefined;
12199
+ query: {
12200
+ hubInput: {
12201
+ chainId: _aave_types.ChainId;
12202
+ address: _aave_types.EvmAddress;
12203
+ };
12204
+ } | {
12205
+ hubId: HubId;
12206
+ };
12207
+ };
12208
+ }, void>;
12209
+ type HubSummaryHistoryRequest = RequestOf<typeof HubSummaryHistoryQuery>;
12210
+ type HubSummaryHistoryRequestQuery = ReturnType<typeof graphql.scalar<'HubSummaryHistoryRequestQuery'>>;
12107
12211
 
12108
12212
  type HubInput = ReturnType<typeof graphql.scalar<'HubInput'>>;
12109
12213
  /**
@@ -12465,6 +12569,68 @@ declare const AssetBorrowSampleFragment: gql_tada.TadaDocumentNode<{
12465
12569
  masked: false;
12466
12570
  }>;
12467
12571
  type AssetBorrowSample = FragmentOf<typeof AssetBorrowSampleFragment>;
12572
+ declare const AssetCategoryBorrowSampleFragment: gql_tada.TadaDocumentNode<{
12573
+ __typename: "AssetCategoryBorrowSample";
12574
+ date: Date;
12575
+ highestApy: {
12576
+ __typename: "PercentNumber";
12577
+ onChainValue: bigint;
12578
+ decimals: number;
12579
+ value: _aave_types.BigDecimal;
12580
+ normalized: _aave_types.BigDecimal;
12581
+ };
12582
+ lowestApy: {
12583
+ __typename: "PercentNumber";
12584
+ onChainValue: bigint;
12585
+ decimals: number;
12586
+ value: _aave_types.BigDecimal;
12587
+ normalized: _aave_types.BigDecimal;
12588
+ };
12589
+ borrows: {
12590
+ __typename: "ExchangeAmount";
12591
+ value: _aave_types.BigDecimal;
12592
+ name: string;
12593
+ symbol: string;
12594
+ icon: string;
12595
+ decimals: number;
12596
+ };
12597
+ }, {}, {
12598
+ fragment: "AssetCategoryBorrowSample";
12599
+ on: "AssetCategoryBorrowSample";
12600
+ masked: false;
12601
+ }>;
12602
+ type AssetCategoryBorrowSample = FragmentOf<typeof AssetCategoryBorrowSampleFragment>;
12603
+ declare const AssetCategorySupplySampleFragment: gql_tada.TadaDocumentNode<{
12604
+ __typename: "AssetCategorySupplySample";
12605
+ date: Date;
12606
+ highestApy: {
12607
+ __typename: "PercentNumber";
12608
+ onChainValue: bigint;
12609
+ decimals: number;
12610
+ value: _aave_types.BigDecimal;
12611
+ normalized: _aave_types.BigDecimal;
12612
+ };
12613
+ lowestApy: {
12614
+ __typename: "PercentNumber";
12615
+ onChainValue: bigint;
12616
+ decimals: number;
12617
+ value: _aave_types.BigDecimal;
12618
+ normalized: _aave_types.BigDecimal;
12619
+ };
12620
+ deposits: {
12621
+ __typename: "ExchangeAmount";
12622
+ value: _aave_types.BigDecimal;
12623
+ name: string;
12624
+ symbol: string;
12625
+ icon: string;
12626
+ decimals: number;
12627
+ };
12628
+ }, {}, {
12629
+ fragment: "AssetCategorySupplySample";
12630
+ on: "AssetCategorySupplySample";
12631
+ masked: false;
12632
+ }>;
12633
+ type AssetCategorySupplySample = FragmentOf<typeof AssetCategorySupplySampleFragment>;
12468
12634
  declare const AssetAmountWithChangeFragment: gql_tada.TadaDocumentNode<{
12469
12635
  __typename: "AssetAmountWithChange";
12470
12636
  amount: {
@@ -13357,6 +13523,82 @@ declare const AssetBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
13357
13523
  }, void>;
13358
13524
  type AssetBorrowHistoryRequest = RequestOf<typeof AssetBorrowHistoryQuery>;
13359
13525
  type AssetBorrowHistoryRequestQuery = ReturnType<typeof graphql.scalar<'AssetBorrowHistoryRequestQuery'>>;
13526
+ /**
13527
+ * @internal
13528
+ */
13529
+ declare const AssetCategoryBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
13530
+ value: {
13531
+ __typename: "AssetCategoryBorrowSample";
13532
+ date: Date;
13533
+ highestApy: {
13534
+ __typename: "PercentNumber";
13535
+ onChainValue: bigint;
13536
+ decimals: number;
13537
+ value: _aave_types.BigDecimal;
13538
+ normalized: _aave_types.BigDecimal;
13539
+ };
13540
+ lowestApy: {
13541
+ __typename: "PercentNumber";
13542
+ onChainValue: bigint;
13543
+ decimals: number;
13544
+ value: _aave_types.BigDecimal;
13545
+ normalized: _aave_types.BigDecimal;
13546
+ };
13547
+ borrows: {
13548
+ __typename: "ExchangeAmount";
13549
+ value: _aave_types.BigDecimal;
13550
+ name: string;
13551
+ symbol: string;
13552
+ icon: string;
13553
+ decimals: number;
13554
+ };
13555
+ }[];
13556
+ }, {
13557
+ currency?: Currency | undefined;
13558
+ request: {
13559
+ window?: TimeWindow | null | undefined;
13560
+ category: TokenCategory;
13561
+ };
13562
+ }, void>;
13563
+ type AssetCategoryBorrowHistoryRequest = RequestOf<typeof AssetCategoryBorrowHistoryQuery>;
13564
+ /**
13565
+ * @internal
13566
+ */
13567
+ declare const AssetCategorySupplyHistoryQuery: gql_tada.TadaDocumentNode<{
13568
+ value: {
13569
+ __typename: "AssetCategorySupplySample";
13570
+ date: Date;
13571
+ highestApy: {
13572
+ __typename: "PercentNumber";
13573
+ onChainValue: bigint;
13574
+ decimals: number;
13575
+ value: _aave_types.BigDecimal;
13576
+ normalized: _aave_types.BigDecimal;
13577
+ };
13578
+ lowestApy: {
13579
+ __typename: "PercentNumber";
13580
+ onChainValue: bigint;
13581
+ decimals: number;
13582
+ value: _aave_types.BigDecimal;
13583
+ normalized: _aave_types.BigDecimal;
13584
+ };
13585
+ deposits: {
13586
+ __typename: "ExchangeAmount";
13587
+ value: _aave_types.BigDecimal;
13588
+ name: string;
13589
+ symbol: string;
13590
+ icon: string;
13591
+ decimals: number;
13592
+ };
13593
+ }[];
13594
+ }, {
13595
+ currency?: Currency | undefined;
13596
+ request: {
13597
+ window?: TimeWindow | null | undefined;
13598
+ category: TokenCategory;
13599
+ };
13600
+ }, void>;
13601
+ type AssetCategorySupplyHistoryRequest = RequestOf<typeof AssetCategorySupplyHistoryQuery>;
13360
13602
  declare const ProtocolHistorySampleFragment: gql_tada.TadaDocumentNode<{
13361
13603
  __typename: "ProtocolHistorySample";
13362
13604
  date: Date;
@@ -15415,13 +15657,17 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
15415
15657
  } | {
15416
15658
  userPositionId: UserPositionId;
15417
15659
  } | {
15418
- categories: TokenCategory[];
15660
+ chainTokenCategories: {
15661
+ categories: TokenCategory[];
15662
+ chainId: _aave_types.ChainId;
15663
+ }[];
15419
15664
  };
15420
15665
  };
15421
15666
  }, void>;
15422
15667
  type ReservesRequest = RequestOf<typeof ReservesQuery>;
15423
15668
  type ReservesRequestOrderBy = ReturnType<typeof graphql.scalar<'ReservesRequestOrderBy'>>;
15424
15669
  type ReservesRequestQuery = ReturnType<typeof graphql.scalar<'ReservesRequestQuery'>>;
15670
+ type ChainTokenCategories = ReturnType<typeof graphql.scalar<'ChainTokenCategories'>>;
15425
15671
 
15426
15672
  /**
15427
15673
  * @internal
@@ -20391,6 +20637,354 @@ declare const UpdateUserPositionConditionsQuery: gql_tada.TadaDocumentNode<{
20391
20637
  };
20392
20638
  }, void>;
20393
20639
  type UpdateUserPositionConditionsRequest = RequestOf<typeof UpdateUserPositionConditionsQuery>;
20640
+ declare const CollateralFactorVariationFragment: gql_tada.TadaDocumentNode<{
20641
+ __typename: "CollateralFactorVariation";
20642
+ reserveId: ReserveId;
20643
+ token: {
20644
+ __typename: "Erc20Token";
20645
+ info: {
20646
+ __typename: "TokenInfo";
20647
+ id: TokenInfoId;
20648
+ name: string;
20649
+ symbol: string;
20650
+ icon: string;
20651
+ decimals: number;
20652
+ categories: TokenCategory[];
20653
+ };
20654
+ address: _aave_types.EvmAddress;
20655
+ chain: {
20656
+ __typename: "Chain";
20657
+ name: string;
20658
+ icon: string;
20659
+ chainId: _aave_types.ChainId;
20660
+ rpcUrl: string;
20661
+ explorerUrl: string;
20662
+ isTestnet: boolean;
20663
+ isFork: boolean;
20664
+ nativeWrappedToken: _aave_types.EvmAddress;
20665
+ nativeGateway: _aave_types.EvmAddress;
20666
+ signatureGateway: _aave_types.EvmAddress;
20667
+ nativeInfo: {
20668
+ __typename: "TokenInfo";
20669
+ id: TokenInfoId;
20670
+ name: string;
20671
+ symbol: string;
20672
+ icon: string;
20673
+ decimals: number;
20674
+ categories: TokenCategory[];
20675
+ };
20676
+ };
20677
+ isWrappedNativeToken: boolean;
20678
+ permitSupported: boolean;
20679
+ };
20680
+ current: {
20681
+ __typename: "PercentNumber";
20682
+ onChainValue: bigint;
20683
+ decimals: number;
20684
+ value: _aave_types.BigDecimal;
20685
+ normalized: _aave_types.BigDecimal;
20686
+ };
20687
+ after: {
20688
+ __typename: "PercentNumber";
20689
+ onChainValue: bigint;
20690
+ decimals: number;
20691
+ value: _aave_types.BigDecimal;
20692
+ normalized: _aave_types.BigDecimal;
20693
+ };
20694
+ }, {}, {
20695
+ fragment: "CollateralFactorVariation";
20696
+ on: "CollateralFactorVariation";
20697
+ masked: false;
20698
+ }>;
20699
+ type CollateralFactorVariation = FragmentOf<typeof CollateralFactorVariationFragment>;
20700
+ declare const LiquidationFeeVariationFragment: gql_tada.TadaDocumentNode<{
20701
+ __typename: "LiquidationFeeVariation";
20702
+ reserveId: ReserveId;
20703
+ token: {
20704
+ __typename: "Erc20Token";
20705
+ info: {
20706
+ __typename: "TokenInfo";
20707
+ id: TokenInfoId;
20708
+ name: string;
20709
+ symbol: string;
20710
+ icon: string;
20711
+ decimals: number;
20712
+ categories: TokenCategory[];
20713
+ };
20714
+ address: _aave_types.EvmAddress;
20715
+ chain: {
20716
+ __typename: "Chain";
20717
+ name: string;
20718
+ icon: string;
20719
+ chainId: _aave_types.ChainId;
20720
+ rpcUrl: string;
20721
+ explorerUrl: string;
20722
+ isTestnet: boolean;
20723
+ isFork: boolean;
20724
+ nativeWrappedToken: _aave_types.EvmAddress;
20725
+ nativeGateway: _aave_types.EvmAddress;
20726
+ signatureGateway: _aave_types.EvmAddress;
20727
+ nativeInfo: {
20728
+ __typename: "TokenInfo";
20729
+ id: TokenInfoId;
20730
+ name: string;
20731
+ symbol: string;
20732
+ icon: string;
20733
+ decimals: number;
20734
+ categories: TokenCategory[];
20735
+ };
20736
+ };
20737
+ isWrappedNativeToken: boolean;
20738
+ permitSupported: boolean;
20739
+ };
20740
+ current: {
20741
+ __typename: "PercentNumber";
20742
+ onChainValue: bigint;
20743
+ decimals: number;
20744
+ value: _aave_types.BigDecimal;
20745
+ normalized: _aave_types.BigDecimal;
20746
+ };
20747
+ after: {
20748
+ __typename: "PercentNumber";
20749
+ onChainValue: bigint;
20750
+ decimals: number;
20751
+ value: _aave_types.BigDecimal;
20752
+ normalized: _aave_types.BigDecimal;
20753
+ };
20754
+ }, {}, {
20755
+ fragment: "LiquidationFeeVariation";
20756
+ on: "LiquidationFeeVariation";
20757
+ masked: false;
20758
+ }>;
20759
+ type LiquidationFeeVariation = FragmentOf<typeof LiquidationFeeVariationFragment>;
20760
+ declare const MaxLiquidationBonusVariationFragment: gql_tada.TadaDocumentNode<{
20761
+ __typename: "MaxLiquidationBonusVariation";
20762
+ reserveId: ReserveId;
20763
+ token: {
20764
+ __typename: "Erc20Token";
20765
+ info: {
20766
+ __typename: "TokenInfo";
20767
+ id: TokenInfoId;
20768
+ name: string;
20769
+ symbol: string;
20770
+ icon: string;
20771
+ decimals: number;
20772
+ categories: TokenCategory[];
20773
+ };
20774
+ address: _aave_types.EvmAddress;
20775
+ chain: {
20776
+ __typename: "Chain";
20777
+ name: string;
20778
+ icon: string;
20779
+ chainId: _aave_types.ChainId;
20780
+ rpcUrl: string;
20781
+ explorerUrl: string;
20782
+ isTestnet: boolean;
20783
+ isFork: boolean;
20784
+ nativeWrappedToken: _aave_types.EvmAddress;
20785
+ nativeGateway: _aave_types.EvmAddress;
20786
+ signatureGateway: _aave_types.EvmAddress;
20787
+ nativeInfo: {
20788
+ __typename: "TokenInfo";
20789
+ id: TokenInfoId;
20790
+ name: string;
20791
+ symbol: string;
20792
+ icon: string;
20793
+ decimals: number;
20794
+ categories: TokenCategory[];
20795
+ };
20796
+ };
20797
+ isWrappedNativeToken: boolean;
20798
+ permitSupported: boolean;
20799
+ };
20800
+ current: {
20801
+ __typename: "PercentNumber";
20802
+ onChainValue: bigint;
20803
+ decimals: number;
20804
+ value: _aave_types.BigDecimal;
20805
+ normalized: _aave_types.BigDecimal;
20806
+ };
20807
+ after: {
20808
+ __typename: "PercentNumber";
20809
+ onChainValue: bigint;
20810
+ decimals: number;
20811
+ value: _aave_types.BigDecimal;
20812
+ normalized: _aave_types.BigDecimal;
20813
+ };
20814
+ }, {}, {
20815
+ fragment: "MaxLiquidationBonusVariation";
20816
+ on: "MaxLiquidationBonusVariation";
20817
+ masked: false;
20818
+ }>;
20819
+ type MaxLiquidationBonusVariation = FragmentOf<typeof MaxLiquidationBonusVariationFragment>;
20820
+ declare const UserPositionConditionVariationFragment: gql_tada.TadaDocumentNode<{
20821
+ __typename: "CollateralFactorVariation";
20822
+ reserveId: ReserveId;
20823
+ token: {
20824
+ __typename: "Erc20Token";
20825
+ info: {
20826
+ __typename: "TokenInfo";
20827
+ id: TokenInfoId;
20828
+ name: string;
20829
+ symbol: string;
20830
+ icon: string;
20831
+ decimals: number;
20832
+ categories: TokenCategory[];
20833
+ };
20834
+ address: _aave_types.EvmAddress;
20835
+ chain: {
20836
+ __typename: "Chain";
20837
+ name: string;
20838
+ icon: string;
20839
+ chainId: _aave_types.ChainId;
20840
+ rpcUrl: string;
20841
+ explorerUrl: string;
20842
+ isTestnet: boolean;
20843
+ isFork: boolean;
20844
+ nativeWrappedToken: _aave_types.EvmAddress;
20845
+ nativeGateway: _aave_types.EvmAddress;
20846
+ signatureGateway: _aave_types.EvmAddress;
20847
+ nativeInfo: {
20848
+ __typename: "TokenInfo";
20849
+ id: TokenInfoId;
20850
+ name: string;
20851
+ symbol: string;
20852
+ icon: string;
20853
+ decimals: number;
20854
+ categories: TokenCategory[];
20855
+ };
20856
+ };
20857
+ isWrappedNativeToken: boolean;
20858
+ permitSupported: boolean;
20859
+ };
20860
+ current: {
20861
+ __typename: "PercentNumber";
20862
+ onChainValue: bigint;
20863
+ decimals: number;
20864
+ value: _aave_types.BigDecimal;
20865
+ normalized: _aave_types.BigDecimal;
20866
+ };
20867
+ after: {
20868
+ __typename: "PercentNumber";
20869
+ onChainValue: bigint;
20870
+ decimals: number;
20871
+ value: _aave_types.BigDecimal;
20872
+ normalized: _aave_types.BigDecimal;
20873
+ };
20874
+ } | {
20875
+ __typename: "LiquidationFeeVariation";
20876
+ reserveId: ReserveId;
20877
+ token: {
20878
+ __typename: "Erc20Token";
20879
+ info: {
20880
+ __typename: "TokenInfo";
20881
+ id: TokenInfoId;
20882
+ name: string;
20883
+ symbol: string;
20884
+ icon: string;
20885
+ decimals: number;
20886
+ categories: TokenCategory[];
20887
+ };
20888
+ address: _aave_types.EvmAddress;
20889
+ chain: {
20890
+ __typename: "Chain";
20891
+ name: string;
20892
+ icon: string;
20893
+ chainId: _aave_types.ChainId;
20894
+ rpcUrl: string;
20895
+ explorerUrl: string;
20896
+ isTestnet: boolean;
20897
+ isFork: boolean;
20898
+ nativeWrappedToken: _aave_types.EvmAddress;
20899
+ nativeGateway: _aave_types.EvmAddress;
20900
+ signatureGateway: _aave_types.EvmAddress;
20901
+ nativeInfo: {
20902
+ __typename: "TokenInfo";
20903
+ id: TokenInfoId;
20904
+ name: string;
20905
+ symbol: string;
20906
+ icon: string;
20907
+ decimals: number;
20908
+ categories: TokenCategory[];
20909
+ };
20910
+ };
20911
+ isWrappedNativeToken: boolean;
20912
+ permitSupported: boolean;
20913
+ };
20914
+ current: {
20915
+ __typename: "PercentNumber";
20916
+ onChainValue: bigint;
20917
+ decimals: number;
20918
+ value: _aave_types.BigDecimal;
20919
+ normalized: _aave_types.BigDecimal;
20920
+ };
20921
+ after: {
20922
+ __typename: "PercentNumber";
20923
+ onChainValue: bigint;
20924
+ decimals: number;
20925
+ value: _aave_types.BigDecimal;
20926
+ normalized: _aave_types.BigDecimal;
20927
+ };
20928
+ } | {
20929
+ __typename: "MaxLiquidationBonusVariation";
20930
+ reserveId: ReserveId;
20931
+ token: {
20932
+ __typename: "Erc20Token";
20933
+ info: {
20934
+ __typename: "TokenInfo";
20935
+ id: TokenInfoId;
20936
+ name: string;
20937
+ symbol: string;
20938
+ icon: string;
20939
+ decimals: number;
20940
+ categories: TokenCategory[];
20941
+ };
20942
+ address: _aave_types.EvmAddress;
20943
+ chain: {
20944
+ __typename: "Chain";
20945
+ name: string;
20946
+ icon: string;
20947
+ chainId: _aave_types.ChainId;
20948
+ rpcUrl: string;
20949
+ explorerUrl: string;
20950
+ isTestnet: boolean;
20951
+ isFork: boolean;
20952
+ nativeWrappedToken: _aave_types.EvmAddress;
20953
+ nativeGateway: _aave_types.EvmAddress;
20954
+ signatureGateway: _aave_types.EvmAddress;
20955
+ nativeInfo: {
20956
+ __typename: "TokenInfo";
20957
+ id: TokenInfoId;
20958
+ name: string;
20959
+ symbol: string;
20960
+ icon: string;
20961
+ decimals: number;
20962
+ categories: TokenCategory[];
20963
+ };
20964
+ };
20965
+ isWrappedNativeToken: boolean;
20966
+ permitSupported: boolean;
20967
+ };
20968
+ current: {
20969
+ __typename: "PercentNumber";
20970
+ onChainValue: bigint;
20971
+ decimals: number;
20972
+ value: _aave_types.BigDecimal;
20973
+ normalized: _aave_types.BigDecimal;
20974
+ };
20975
+ after: {
20976
+ __typename: "PercentNumber";
20977
+ onChainValue: bigint;
20978
+ decimals: number;
20979
+ value: _aave_types.BigDecimal;
20980
+ normalized: _aave_types.BigDecimal;
20981
+ };
20982
+ }, {}, {
20983
+ fragment: "UserPositionConditionVariation";
20984
+ on: "UserPositionConditionVariation";
20985
+ masked: false;
20986
+ }>;
20987
+ type UserPositionConditionVariation = FragmentOf<typeof UserPositionConditionVariationFragment>;
20394
20988
  declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
20395
20989
  __typename: "PreviewUserPosition";
20396
20990
  id: UserPositionId;
@@ -20439,7 +21033,7 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
20439
21033
  };
20440
21034
  };
20441
21035
  netCollateral: {
20442
- __typename: "ExchangeAmountValueVariation";
21036
+ __typename: "ExchangeAmountVariation";
20443
21037
  current: {
20444
21038
  __typename: "ExchangeAmount";
20445
21039
  value: _aave_types.BigDecimal;
@@ -20458,7 +21052,45 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
20458
21052
  };
20459
21053
  };
20460
21054
  netBalance: {
20461
- __typename: "ExchangeAmountValueVariation";
21055
+ __typename: "ExchangeAmountVariation";
21056
+ current: {
21057
+ __typename: "ExchangeAmount";
21058
+ value: _aave_types.BigDecimal;
21059
+ name: string;
21060
+ symbol: string;
21061
+ icon: string;
21062
+ decimals: number;
21063
+ };
21064
+ after: {
21065
+ __typename: "ExchangeAmount";
21066
+ value: _aave_types.BigDecimal;
21067
+ name: string;
21068
+ symbol: string;
21069
+ icon: string;
21070
+ decimals: number;
21071
+ };
21072
+ };
21073
+ projectedEarnings: {
21074
+ __typename: "ExchangeAmountVariation";
21075
+ current: {
21076
+ __typename: "ExchangeAmount";
21077
+ value: _aave_types.BigDecimal;
21078
+ name: string;
21079
+ symbol: string;
21080
+ icon: string;
21081
+ decimals: number;
21082
+ };
21083
+ after: {
21084
+ __typename: "ExchangeAmount";
21085
+ value: _aave_types.BigDecimal;
21086
+ name: string;
21087
+ symbol: string;
21088
+ icon: string;
21089
+ decimals: number;
21090
+ };
21091
+ };
21092
+ borrowingPower: {
21093
+ __typename: "ExchangeAmountVariation";
20462
21094
  current: {
20463
21095
  __typename: "ExchangeAmount";
20464
21096
  value: _aave_types.BigDecimal;
@@ -20476,6 +21108,169 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
20476
21108
  decimals: number;
20477
21109
  };
20478
21110
  };
21111
+ otherConditions: ({
21112
+ __typename: "CollateralFactorVariation";
21113
+ reserveId: ReserveId;
21114
+ token: {
21115
+ __typename: "Erc20Token";
21116
+ info: {
21117
+ __typename: "TokenInfo";
21118
+ id: TokenInfoId;
21119
+ name: string;
21120
+ symbol: string;
21121
+ icon: string;
21122
+ decimals: number;
21123
+ categories: TokenCategory[];
21124
+ };
21125
+ address: _aave_types.EvmAddress;
21126
+ chain: {
21127
+ __typename: "Chain";
21128
+ name: string;
21129
+ icon: string;
21130
+ chainId: _aave_types.ChainId;
21131
+ rpcUrl: string;
21132
+ explorerUrl: string;
21133
+ isTestnet: boolean;
21134
+ isFork: boolean;
21135
+ nativeWrappedToken: _aave_types.EvmAddress;
21136
+ nativeGateway: _aave_types.EvmAddress;
21137
+ signatureGateway: _aave_types.EvmAddress;
21138
+ nativeInfo: {
21139
+ __typename: "TokenInfo";
21140
+ id: TokenInfoId;
21141
+ name: string;
21142
+ symbol: string;
21143
+ icon: string;
21144
+ decimals: number;
21145
+ categories: TokenCategory[];
21146
+ };
21147
+ };
21148
+ isWrappedNativeToken: boolean;
21149
+ permitSupported: boolean;
21150
+ };
21151
+ current: {
21152
+ __typename: "PercentNumber";
21153
+ onChainValue: bigint;
21154
+ decimals: number;
21155
+ value: _aave_types.BigDecimal;
21156
+ normalized: _aave_types.BigDecimal;
21157
+ };
21158
+ after: {
21159
+ __typename: "PercentNumber";
21160
+ onChainValue: bigint;
21161
+ decimals: number;
21162
+ value: _aave_types.BigDecimal;
21163
+ normalized: _aave_types.BigDecimal;
21164
+ };
21165
+ } | {
21166
+ __typename: "LiquidationFeeVariation";
21167
+ reserveId: ReserveId;
21168
+ token: {
21169
+ __typename: "Erc20Token";
21170
+ info: {
21171
+ __typename: "TokenInfo";
21172
+ id: TokenInfoId;
21173
+ name: string;
21174
+ symbol: string;
21175
+ icon: string;
21176
+ decimals: number;
21177
+ categories: TokenCategory[];
21178
+ };
21179
+ address: _aave_types.EvmAddress;
21180
+ chain: {
21181
+ __typename: "Chain";
21182
+ name: string;
21183
+ icon: string;
21184
+ chainId: _aave_types.ChainId;
21185
+ rpcUrl: string;
21186
+ explorerUrl: string;
21187
+ isTestnet: boolean;
21188
+ isFork: boolean;
21189
+ nativeWrappedToken: _aave_types.EvmAddress;
21190
+ nativeGateway: _aave_types.EvmAddress;
21191
+ signatureGateway: _aave_types.EvmAddress;
21192
+ nativeInfo: {
21193
+ __typename: "TokenInfo";
21194
+ id: TokenInfoId;
21195
+ name: string;
21196
+ symbol: string;
21197
+ icon: string;
21198
+ decimals: number;
21199
+ categories: TokenCategory[];
21200
+ };
21201
+ };
21202
+ isWrappedNativeToken: boolean;
21203
+ permitSupported: boolean;
21204
+ };
21205
+ current: {
21206
+ __typename: "PercentNumber";
21207
+ onChainValue: bigint;
21208
+ decimals: number;
21209
+ value: _aave_types.BigDecimal;
21210
+ normalized: _aave_types.BigDecimal;
21211
+ };
21212
+ after: {
21213
+ __typename: "PercentNumber";
21214
+ onChainValue: bigint;
21215
+ decimals: number;
21216
+ value: _aave_types.BigDecimal;
21217
+ normalized: _aave_types.BigDecimal;
21218
+ };
21219
+ } | {
21220
+ __typename: "MaxLiquidationBonusVariation";
21221
+ reserveId: ReserveId;
21222
+ token: {
21223
+ __typename: "Erc20Token";
21224
+ info: {
21225
+ __typename: "TokenInfo";
21226
+ id: TokenInfoId;
21227
+ name: string;
21228
+ symbol: string;
21229
+ icon: string;
21230
+ decimals: number;
21231
+ categories: TokenCategory[];
21232
+ };
21233
+ address: _aave_types.EvmAddress;
21234
+ chain: {
21235
+ __typename: "Chain";
21236
+ name: string;
21237
+ icon: string;
21238
+ chainId: _aave_types.ChainId;
21239
+ rpcUrl: string;
21240
+ explorerUrl: string;
21241
+ isTestnet: boolean;
21242
+ isFork: boolean;
21243
+ nativeWrappedToken: _aave_types.EvmAddress;
21244
+ nativeGateway: _aave_types.EvmAddress;
21245
+ signatureGateway: _aave_types.EvmAddress;
21246
+ nativeInfo: {
21247
+ __typename: "TokenInfo";
21248
+ id: TokenInfoId;
21249
+ name: string;
21250
+ symbol: string;
21251
+ icon: string;
21252
+ decimals: number;
21253
+ categories: TokenCategory[];
21254
+ };
21255
+ };
21256
+ isWrappedNativeToken: boolean;
21257
+ permitSupported: boolean;
21258
+ };
21259
+ current: {
21260
+ __typename: "PercentNumber";
21261
+ onChainValue: bigint;
21262
+ decimals: number;
21263
+ value: _aave_types.BigDecimal;
21264
+ normalized: _aave_types.BigDecimal;
21265
+ };
21266
+ after: {
21267
+ __typename: "PercentNumber";
21268
+ onChainValue: bigint;
21269
+ decimals: number;
21270
+ value: _aave_types.BigDecimal;
21271
+ normalized: _aave_types.BigDecimal;
21272
+ };
21273
+ })[];
20479
21274
  }, {}, {
20480
21275
  fragment: "PreviewUserPosition";
20481
21276
  on: "PreviewUserPosition";
@@ -20534,7 +21329,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
20534
21329
  };
20535
21330
  };
20536
21331
  netCollateral: {
20537
- __typename: "ExchangeAmountValueVariation";
21332
+ __typename: "ExchangeAmountVariation";
20538
21333
  current: {
20539
21334
  __typename: "ExchangeAmount";
20540
21335
  value: _aave_types.BigDecimal;
@@ -20553,7 +21348,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
20553
21348
  };
20554
21349
  };
20555
21350
  netBalance: {
20556
- __typename: "ExchangeAmountValueVariation";
21351
+ __typename: "ExchangeAmountVariation";
20557
21352
  current: {
20558
21353
  __typename: "ExchangeAmount";
20559
21354
  value: _aave_types.BigDecimal;
@@ -20571,6 +21366,207 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
20571
21366
  decimals: number;
20572
21367
  };
20573
21368
  };
21369
+ projectedEarnings: {
21370
+ __typename: "ExchangeAmountVariation";
21371
+ current: {
21372
+ __typename: "ExchangeAmount";
21373
+ value: _aave_types.BigDecimal;
21374
+ name: string;
21375
+ symbol: string;
21376
+ icon: string;
21377
+ decimals: number;
21378
+ };
21379
+ after: {
21380
+ __typename: "ExchangeAmount";
21381
+ value: _aave_types.BigDecimal;
21382
+ name: string;
21383
+ symbol: string;
21384
+ icon: string;
21385
+ decimals: number;
21386
+ };
21387
+ };
21388
+ borrowingPower: {
21389
+ __typename: "ExchangeAmountVariation";
21390
+ current: {
21391
+ __typename: "ExchangeAmount";
21392
+ value: _aave_types.BigDecimal;
21393
+ name: string;
21394
+ symbol: string;
21395
+ icon: string;
21396
+ decimals: number;
21397
+ };
21398
+ after: {
21399
+ __typename: "ExchangeAmount";
21400
+ value: _aave_types.BigDecimal;
21401
+ name: string;
21402
+ symbol: string;
21403
+ icon: string;
21404
+ decimals: number;
21405
+ };
21406
+ };
21407
+ otherConditions: ({
21408
+ __typename: "CollateralFactorVariation";
21409
+ reserveId: ReserveId;
21410
+ token: {
21411
+ __typename: "Erc20Token";
21412
+ info: {
21413
+ __typename: "TokenInfo";
21414
+ id: TokenInfoId;
21415
+ name: string;
21416
+ symbol: string;
21417
+ icon: string;
21418
+ decimals: number;
21419
+ categories: TokenCategory[];
21420
+ };
21421
+ address: _aave_types.EvmAddress;
21422
+ chain: {
21423
+ __typename: "Chain";
21424
+ name: string;
21425
+ icon: string;
21426
+ chainId: _aave_types.ChainId;
21427
+ rpcUrl: string;
21428
+ explorerUrl: string;
21429
+ isTestnet: boolean;
21430
+ isFork: boolean;
21431
+ nativeWrappedToken: _aave_types.EvmAddress;
21432
+ nativeGateway: _aave_types.EvmAddress;
21433
+ signatureGateway: _aave_types.EvmAddress;
21434
+ nativeInfo: {
21435
+ __typename: "TokenInfo";
21436
+ id: TokenInfoId;
21437
+ name: string;
21438
+ symbol: string;
21439
+ icon: string;
21440
+ decimals: number;
21441
+ categories: TokenCategory[];
21442
+ };
21443
+ };
21444
+ isWrappedNativeToken: boolean;
21445
+ permitSupported: boolean;
21446
+ };
21447
+ current: {
21448
+ __typename: "PercentNumber";
21449
+ onChainValue: bigint;
21450
+ decimals: number;
21451
+ value: _aave_types.BigDecimal;
21452
+ normalized: _aave_types.BigDecimal;
21453
+ };
21454
+ after: {
21455
+ __typename: "PercentNumber";
21456
+ onChainValue: bigint;
21457
+ decimals: number;
21458
+ value: _aave_types.BigDecimal;
21459
+ normalized: _aave_types.BigDecimal;
21460
+ };
21461
+ } | {
21462
+ __typename: "LiquidationFeeVariation";
21463
+ reserveId: ReserveId;
21464
+ token: {
21465
+ __typename: "Erc20Token";
21466
+ info: {
21467
+ __typename: "TokenInfo";
21468
+ id: TokenInfoId;
21469
+ name: string;
21470
+ symbol: string;
21471
+ icon: string;
21472
+ decimals: number;
21473
+ categories: TokenCategory[];
21474
+ };
21475
+ address: _aave_types.EvmAddress;
21476
+ chain: {
21477
+ __typename: "Chain";
21478
+ name: string;
21479
+ icon: string;
21480
+ chainId: _aave_types.ChainId;
21481
+ rpcUrl: string;
21482
+ explorerUrl: string;
21483
+ isTestnet: boolean;
21484
+ isFork: boolean;
21485
+ nativeWrappedToken: _aave_types.EvmAddress;
21486
+ nativeGateway: _aave_types.EvmAddress;
21487
+ signatureGateway: _aave_types.EvmAddress;
21488
+ nativeInfo: {
21489
+ __typename: "TokenInfo";
21490
+ id: TokenInfoId;
21491
+ name: string;
21492
+ symbol: string;
21493
+ icon: string;
21494
+ decimals: number;
21495
+ categories: TokenCategory[];
21496
+ };
21497
+ };
21498
+ isWrappedNativeToken: boolean;
21499
+ permitSupported: boolean;
21500
+ };
21501
+ current: {
21502
+ __typename: "PercentNumber";
21503
+ onChainValue: bigint;
21504
+ decimals: number;
21505
+ value: _aave_types.BigDecimal;
21506
+ normalized: _aave_types.BigDecimal;
21507
+ };
21508
+ after: {
21509
+ __typename: "PercentNumber";
21510
+ onChainValue: bigint;
21511
+ decimals: number;
21512
+ value: _aave_types.BigDecimal;
21513
+ normalized: _aave_types.BigDecimal;
21514
+ };
21515
+ } | {
21516
+ __typename: "MaxLiquidationBonusVariation";
21517
+ reserveId: ReserveId;
21518
+ token: {
21519
+ __typename: "Erc20Token";
21520
+ info: {
21521
+ __typename: "TokenInfo";
21522
+ id: TokenInfoId;
21523
+ name: string;
21524
+ symbol: string;
21525
+ icon: string;
21526
+ decimals: number;
21527
+ categories: TokenCategory[];
21528
+ };
21529
+ address: _aave_types.EvmAddress;
21530
+ chain: {
21531
+ __typename: "Chain";
21532
+ name: string;
21533
+ icon: string;
21534
+ chainId: _aave_types.ChainId;
21535
+ rpcUrl: string;
21536
+ explorerUrl: string;
21537
+ isTestnet: boolean;
21538
+ isFork: boolean;
21539
+ nativeWrappedToken: _aave_types.EvmAddress;
21540
+ nativeGateway: _aave_types.EvmAddress;
21541
+ signatureGateway: _aave_types.EvmAddress;
21542
+ nativeInfo: {
21543
+ __typename: "TokenInfo";
21544
+ id: TokenInfoId;
21545
+ name: string;
21546
+ symbol: string;
21547
+ icon: string;
21548
+ decimals: number;
21549
+ categories: TokenCategory[];
21550
+ };
21551
+ };
21552
+ isWrappedNativeToken: boolean;
21553
+ permitSupported: boolean;
21554
+ };
21555
+ current: {
21556
+ __typename: "PercentNumber";
21557
+ onChainValue: bigint;
21558
+ decimals: number;
21559
+ value: _aave_types.BigDecimal;
21560
+ normalized: _aave_types.BigDecimal;
21561
+ };
21562
+ after: {
21563
+ __typename: "PercentNumber";
21564
+ onChainValue: bigint;
21565
+ decimals: number;
21566
+ value: _aave_types.BigDecimal;
21567
+ normalized: _aave_types.BigDecimal;
21568
+ };
21569
+ })[];
20574
21570
  };
20575
21571
  }, {
20576
21572
  currency?: Currency | undefined;
@@ -41226,5 +42222,78 @@ type UserPositionsRequestOrderBy = ReturnType<typeof graphql.scalar<'UserPositio
41226
42222
  type UserSummaryFilter = ReturnType<typeof graphql.scalar<'UserSummaryFilter'>>;
41227
42223
  type UserSuppliesRequestQuery = ReturnType<typeof graphql.scalar<'UserSuppliesRequestQuery'>>;
41228
42224
  type UserSuppliesRequestOrderBy = ReturnType<typeof graphql.scalar<'UserSuppliesRequestOrderBy'>>;
42225
+ /**
42226
+ * @internal
42227
+ */
42228
+ declare const UserRiskPremiumBreakdownQuery: gql_tada.TadaDocumentNode<{
42229
+ value: {
42230
+ __typename: "UserRiskPremiumBreakdownItem";
42231
+ token: {
42232
+ __typename: "Erc20Token";
42233
+ info: {
42234
+ __typename: "TokenInfo";
42235
+ id: TokenInfoId;
42236
+ name: string;
42237
+ symbol: string;
42238
+ icon: string;
42239
+ decimals: number;
42240
+ categories: TokenCategory[];
42241
+ };
42242
+ address: _aave_types.EvmAddress;
42243
+ chain: {
42244
+ __typename: "Chain";
42245
+ name: string;
42246
+ icon: string;
42247
+ chainId: _aave_types.ChainId;
42248
+ rpcUrl: string;
42249
+ explorerUrl: string;
42250
+ isTestnet: boolean;
42251
+ isFork: boolean;
42252
+ nativeWrappedToken: _aave_types.EvmAddress;
42253
+ nativeGateway: _aave_types.EvmAddress;
42254
+ signatureGateway: _aave_types.EvmAddress;
42255
+ nativeInfo: {
42256
+ __typename: "TokenInfo";
42257
+ id: TokenInfoId;
42258
+ name: string;
42259
+ symbol: string;
42260
+ icon: string;
42261
+ decimals: number;
42262
+ categories: TokenCategory[];
42263
+ };
42264
+ };
42265
+ isWrappedNativeToken: boolean;
42266
+ permitSupported: boolean;
42267
+ };
42268
+ riskPremiumWeight: {
42269
+ __typename: "PercentNumber";
42270
+ onChainValue: bigint;
42271
+ decimals: number;
42272
+ value: _aave_types.BigDecimal;
42273
+ normalized: _aave_types.BigDecimal;
42274
+ };
42275
+ collateral: {
42276
+ __typename: "PercentNumber";
42277
+ onChainValue: bigint;
42278
+ decimals: number;
42279
+ value: _aave_types.BigDecimal;
42280
+ normalized: _aave_types.BigDecimal;
42281
+ };
42282
+ }[];
42283
+ }, {
42284
+ request: {
42285
+ user: _aave_types.EvmAddress;
42286
+ query: {
42287
+ userSpoke: {
42288
+ user: _aave_types.EvmAddress;
42289
+ spoke: SpokeId;
42290
+ };
42291
+ } | {
42292
+ userPositionId: UserPositionId;
42293
+ };
42294
+ };
42295
+ }, void>;
42296
+ type UserRiskPremiumBreakdownRequest = RequestOf<typeof UserRiskPremiumBreakdownQuery>;
42297
+ type UserRiskPremiumBreakdownRequestQuery = ReturnType<typeof graphql.scalar<'UserRiskPremiumBreakdownRequestQuery'>>;
41229
42298
 
41230
- export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountValueVariation, ExchangeAmountValueVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, tokenInfoId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
42299
+ export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetCategoryBorrowHistoryQuery, type AssetCategoryBorrowHistoryRequest, type AssetCategoryBorrowSample, AssetCategoryBorrowSampleFragment, AssetCategorySupplyHistoryQuery, type AssetCategorySupplyHistoryRequest, type AssetCategorySupplySample, AssetCategorySupplySampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, type ChainTokenCategories, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, type CollateralFactorVariation, CollateralFactorVariationFragment, CollateralMetric, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountVariation, ExchangeAmountVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, HubSummaryHistoryQuery, type HubSummaryHistoryRequest, type HubSummaryHistoryRequestQuery, type HubSummarySample, HubSummarySampleFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type LiquidationFeeVariation, LiquidationFeeVariationFragment, type MaxLiquidationBonusVariation, MaxLiquidationBonusVariationFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, type UserPositionConditionVariation, UserPositionConditionVariationFragment, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, UserRiskPremiumBreakdownQuery, type UserRiskPremiumBreakdownRequest, type UserRiskPremiumBreakdownRequestQuery, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, tokenInfoId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };