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

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.ts CHANGED
@@ -144,6 +144,13 @@ declare enum TokenCategory {
144
144
  Stablecoin = "STABLECOIN",
145
145
  EthCorrelated = "ETH_CORRELATED"
146
146
  }
147
+ /**
148
+ * The update type for user position conditions.
149
+ */
150
+ declare enum UserPositionConditionsUpdate {
151
+ AllDynamicConfig = "ALL_DYNAMIC_CONFIG",
152
+ JustRiskPremium = "JUST_RISK_PREMIUM"
153
+ }
147
154
 
148
155
  /* eslint-disable */
149
156
  /* prettier-ignore */
@@ -310,7 +317,7 @@ type introspection_types = {
310
317
  'ReserveSettings': { kind: 'OBJECT'; name: 'ReserveSettings'; fields: { 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'collateralRisk': { name: 'collateralRisk'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latestDynamicConfigKey': { name: 'latestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
311
318
  'ReserveStatus': { kind: 'OBJECT'; name: 'ReserveStatus'; fields: { 'active': { name: 'active'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'frozen': { name: 'frozen'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'paused': { name: 'paused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
312
319
  'ReserveSummary': { kind: 'OBJECT'; name: 'ReserveSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
313
- 'ReserveUserState': { kind: 'OBJECT'; name: 'ReserveUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'dynamicConfigKey': { name: 'dynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'isUsingLatestDynamicConfigKey': { name: 'isUsingLatestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
320
+ 'ReserveUserState': { kind: 'OBJECT'; name: 'ReserveUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'dynamicConfigKey': { name: 'dynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
314
321
  '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}" }]; };
315
322
  'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'COLLATERAL' | 'ALL'; };
316
323
  '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 }]; };
@@ -376,7 +383,7 @@ type introspection_types = {
376
383
  'TxHashInput': { kind: 'INPUT_OBJECT'; name: 'TxHashInput'; isOneOf: false; inputFields: [{ name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
377
384
  'TypeDefinition': { kind: 'OBJECT'; name: 'TypeDefinition'; fields: { 'EIP712Domain': { name: 'EIP712Domain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeField'; ofType: null; }; }; }; } }; 'Permit': { name: 'Permit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeField'; ofType: null; }; }; }; } }; }; };
378
385
  'TypeField': { kind: 'OBJECT'; name: 'TypeField'; fields: { 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
379
- 'UpdateUserPositionConditionsRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'dynamicConfig'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'riskPremium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }]; };
386
+ 'UpdateUserPositionConditionsRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'UserPositionConditionsUpdate'; ofType: null; }; }; defaultValue: null }]; };
380
387
  'UpdatedDynamicConfigActivity': { kind: 'OBJECT'; name: 'UpdatedDynamicConfigActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
381
388
  'UpdatedRiskPremiumActivity': { kind: 'OBJECT'; name: 'UpdatedRiskPremiumActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'premium': { name: 'premium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; 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; }; } }; }; };
382
389
  'UserBalance': { kind: 'OBJECT'; name: 'UserBalance'; fields: { 'balances': { name: 'balances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TokenAmount'; ofType: null; }; }; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBalanceId'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalAmount': { name: 'totalAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; }; };
@@ -398,15 +405,16 @@ type introspection_types = {
398
405
  'UserChains': { kind: 'INPUT_OBJECT'; name: 'UserChains'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; }; defaultValue: null }]; };
399
406
  '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 }]; };
400
407
  '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 }]; };
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; }; } }; }; };
408
+ '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; }; } }; 'canUpdateDynamicConfig': { name: 'canUpdateDynamicConfig'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; 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; }; } }; '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
409
  'UserPositionConditionVariation': { kind: 'UNION'; name: 'UserPositionConditionVariation'; fields: {}; possibleTypes: 'CollateralFactorVariation' | 'LiquidationFeeVariation' | 'MaxLiquidationBonusVariation'; };
410
+ 'UserPositionConditionsUpdate': { name: 'UserPositionConditionsUpdate'; enumValues: 'ALL_DYNAMIC_CONFIG' | 'JUST_RISK_PREMIUM'; };
403
411
  'UserPositionId': unknown;
404
412
  '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 }]; };
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; }; } }; }; };
413
+ 'UserPositionRiskPremium': { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; fields: { '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; }; } }; 'latest': { name: 'latest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
406
414
  'UserPositionsRequest': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestFilter'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestOrderBy'; ofType: null; }; }; defaultValue: "{created: ASC}" }]; };
407
415
  'UserPositionsRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestFilter'; isOneOf: true; inputFields: [{ name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; 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 }]; };
408
416
  'UserPositionsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'created'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'balance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'netApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'healthFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'netCollateral'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
409
- 'UserRiskPremiumBreakdownItem': { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; fields: { 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'riskPremiumWeight': { name: 'riskPremiumWeight'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
417
+ 'UserRiskPremiumBreakdownItem': { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; fields: { 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'currentRiskPremiumWeight': { name: 'currentRiskPremiumWeight'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latestRiskPremiumWeight': { name: 'latestRiskPremiumWeight'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
410
418
  'UserRiskPremiumBreakdownRequest': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
411
419
  'UserRiskPremiumBreakdownRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
412
420
  'UserSpokeInput': { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
@@ -700,6 +708,7 @@ declare const graphql: initGraphQLTada<{
700
708
  TxHash: TxHash;
701
709
  UserBalanceId: UserBalanceId;
702
710
  UserBorrowItemId: UserBorrowItemId;
711
+ UserPositionConditionsUpdate: UserPositionConditionsUpdate;
703
712
  UserPositionId: UserPositionId;
704
713
  UserSupplyItemId: UserSupplyItemId;
705
714
  Void: Void;
@@ -2436,66 +2445,6 @@ declare const ReserveUserStateFragment: gql_tada.TadaDocumentNode<{
2436
2445
  value: _aave_types.BigDecimal;
2437
2446
  };
2438
2447
  };
2439
- borrowingPower: {
2440
- __typename: "Erc20Amount";
2441
- token: {
2442
- __typename: "Erc20Token";
2443
- info: {
2444
- __typename: "TokenInfo";
2445
- id: TokenInfoId;
2446
- name: string;
2447
- symbol: string;
2448
- icon: string;
2449
- decimals: number;
2450
- categories: TokenCategory[];
2451
- };
2452
- address: _aave_types.EvmAddress;
2453
- chain: {
2454
- __typename: "Chain";
2455
- name: string;
2456
- icon: string;
2457
- chainId: _aave_types.ChainId;
2458
- rpcUrl: string;
2459
- explorerUrl: string;
2460
- isTestnet: boolean;
2461
- isFork: boolean;
2462
- nativeWrappedToken: _aave_types.EvmAddress;
2463
- nativeGateway: _aave_types.EvmAddress;
2464
- signatureGateway: _aave_types.EvmAddress;
2465
- nativeInfo: {
2466
- __typename: "TokenInfo";
2467
- id: TokenInfoId;
2468
- name: string;
2469
- symbol: string;
2470
- icon: string;
2471
- decimals: number;
2472
- categories: TokenCategory[];
2473
- };
2474
- };
2475
- isWrappedNativeToken: boolean;
2476
- permitSupported: boolean;
2477
- };
2478
- amount: {
2479
- __typename: "DecimalNumber";
2480
- onChainValue: bigint;
2481
- decimals: number;
2482
- value: _aave_types.BigDecimal;
2483
- };
2484
- exchange: {
2485
- __typename: "ExchangeAmount";
2486
- value: _aave_types.BigDecimal;
2487
- name: string;
2488
- symbol: string;
2489
- icon: string;
2490
- decimals: number;
2491
- };
2492
- exchangeRate: {
2493
- __typename: "DecimalNumber";
2494
- onChainValue: bigint;
2495
- decimals: number;
2496
- value: _aave_types.BigDecimal;
2497
- };
2498
- };
2499
2448
  borrowApy: {
2500
2449
  __typename: "PercentNumber";
2501
2450
  onChainValue: bigint;
@@ -2525,7 +2474,6 @@ declare const ReserveUserStateFragment: gql_tada.TadaDocumentNode<{
2525
2474
  normalized: _aave_types.BigDecimal;
2526
2475
  };
2527
2476
  dynamicConfigKey: unknown;
2528
- isUsingLatestDynamicConfigKey: boolean;
2529
2477
  }, {}, {
2530
2478
  fragment: "ReserveUserState";
2531
2479
  on: "ReserveUserState";
@@ -2951,66 +2899,6 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
2951
2899
  value: _aave_types.BigDecimal;
2952
2900
  };
2953
2901
  };
2954
- borrowingPower: {
2955
- __typename: "Erc20Amount";
2956
- token: {
2957
- __typename: "Erc20Token";
2958
- info: {
2959
- __typename: "TokenInfo";
2960
- id: TokenInfoId;
2961
- name: string;
2962
- symbol: string;
2963
- icon: string;
2964
- decimals: number;
2965
- categories: TokenCategory[];
2966
- };
2967
- address: _aave_types.EvmAddress;
2968
- chain: {
2969
- __typename: "Chain";
2970
- name: string;
2971
- icon: string;
2972
- chainId: _aave_types.ChainId;
2973
- rpcUrl: string;
2974
- explorerUrl: string;
2975
- isTestnet: boolean;
2976
- isFork: boolean;
2977
- nativeWrappedToken: _aave_types.EvmAddress;
2978
- nativeGateway: _aave_types.EvmAddress;
2979
- signatureGateway: _aave_types.EvmAddress;
2980
- nativeInfo: {
2981
- __typename: "TokenInfo";
2982
- id: TokenInfoId;
2983
- name: string;
2984
- symbol: string;
2985
- icon: string;
2986
- decimals: number;
2987
- categories: TokenCategory[];
2988
- };
2989
- };
2990
- isWrappedNativeToken: boolean;
2991
- permitSupported: boolean;
2992
- };
2993
- amount: {
2994
- __typename: "DecimalNumber";
2995
- onChainValue: bigint;
2996
- decimals: number;
2997
- value: _aave_types.BigDecimal;
2998
- };
2999
- exchange: {
3000
- __typename: "ExchangeAmount";
3001
- value: _aave_types.BigDecimal;
3002
- name: string;
3003
- symbol: string;
3004
- icon: string;
3005
- decimals: number;
3006
- };
3007
- exchangeRate: {
3008
- __typename: "DecimalNumber";
3009
- onChainValue: bigint;
3010
- decimals: number;
3011
- value: _aave_types.BigDecimal;
3012
- };
3013
- };
3014
2902
  borrowApy: {
3015
2903
  __typename: "PercentNumber";
3016
2904
  onChainValue: bigint;
@@ -3040,7 +2928,6 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
3040
2928
  normalized: _aave_types.BigDecimal;
3041
2929
  };
3042
2930
  dynamicConfigKey: unknown;
3043
- isUsingLatestDynamicConfigKey: boolean;
3044
2931
  } | null;
3045
2932
  asset: {
3046
2933
  __typename: "HubAsset";
@@ -8892,66 +8779,6 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
8892
8779
  value: _aave_types.BigDecimal;
8893
8780
  };
8894
8781
  };
8895
- borrowingPower: {
8896
- __typename: "Erc20Amount";
8897
- token: {
8898
- __typename: "Erc20Token";
8899
- info: {
8900
- __typename: "TokenInfo";
8901
- id: TokenInfoId;
8902
- name: string;
8903
- symbol: string;
8904
- icon: string;
8905
- decimals: number;
8906
- categories: TokenCategory[];
8907
- };
8908
- address: _aave_types.EvmAddress;
8909
- chain: {
8910
- __typename: "Chain";
8911
- name: string;
8912
- icon: string;
8913
- chainId: _aave_types.ChainId;
8914
- rpcUrl: string;
8915
- explorerUrl: string;
8916
- isTestnet: boolean;
8917
- isFork: boolean;
8918
- nativeWrappedToken: _aave_types.EvmAddress;
8919
- nativeGateway: _aave_types.EvmAddress;
8920
- signatureGateway: _aave_types.EvmAddress;
8921
- nativeInfo: {
8922
- __typename: "TokenInfo";
8923
- id: TokenInfoId;
8924
- name: string;
8925
- symbol: string;
8926
- icon: string;
8927
- decimals: number;
8928
- categories: TokenCategory[];
8929
- };
8930
- };
8931
- isWrappedNativeToken: boolean;
8932
- permitSupported: boolean;
8933
- };
8934
- amount: {
8935
- __typename: "DecimalNumber";
8936
- onChainValue: bigint;
8937
- decimals: number;
8938
- value: _aave_types.BigDecimal;
8939
- };
8940
- exchange: {
8941
- __typename: "ExchangeAmount";
8942
- value: _aave_types.BigDecimal;
8943
- name: string;
8944
- symbol: string;
8945
- icon: string;
8946
- decimals: number;
8947
- };
8948
- exchangeRate: {
8949
- __typename: "DecimalNumber";
8950
- onChainValue: bigint;
8951
- decimals: number;
8952
- value: _aave_types.BigDecimal;
8953
- };
8954
- };
8955
8782
  borrowApy: {
8956
8783
  __typename: "PercentNumber";
8957
8784
  onChainValue: bigint;
@@ -8981,7 +8808,6 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
8981
8808
  normalized: _aave_types.BigDecimal;
8982
8809
  };
8983
8810
  dynamicConfigKey: unknown;
8984
- isUsingLatestDynamicConfigKey: boolean;
8985
8811
  } | null;
8986
8812
  asset: {
8987
8813
  __typename: "HubAsset";
@@ -10193,66 +10019,6 @@ declare const UserBorrowItemFragment: gql_tada.TadaDocumentNode<{
10193
10019
  value: _aave_types.BigDecimal;
10194
10020
  };
10195
10021
  };
10196
- borrowingPower: {
10197
- __typename: "Erc20Amount";
10198
- token: {
10199
- __typename: "Erc20Token";
10200
- info: {
10201
- __typename: "TokenInfo";
10202
- id: TokenInfoId;
10203
- name: string;
10204
- symbol: string;
10205
- icon: string;
10206
- decimals: number;
10207
- categories: TokenCategory[];
10208
- };
10209
- address: _aave_types.EvmAddress;
10210
- chain: {
10211
- __typename: "Chain";
10212
- name: string;
10213
- icon: string;
10214
- chainId: _aave_types.ChainId;
10215
- rpcUrl: string;
10216
- explorerUrl: string;
10217
- isTestnet: boolean;
10218
- isFork: boolean;
10219
- nativeWrappedToken: _aave_types.EvmAddress;
10220
- nativeGateway: _aave_types.EvmAddress;
10221
- signatureGateway: _aave_types.EvmAddress;
10222
- nativeInfo: {
10223
- __typename: "TokenInfo";
10224
- id: TokenInfoId;
10225
- name: string;
10226
- symbol: string;
10227
- icon: string;
10228
- decimals: number;
10229
- categories: TokenCategory[];
10230
- };
10231
- };
10232
- isWrappedNativeToken: boolean;
10233
- permitSupported: boolean;
10234
- };
10235
- amount: {
10236
- __typename: "DecimalNumber";
10237
- onChainValue: bigint;
10238
- decimals: number;
10239
- value: _aave_types.BigDecimal;
10240
- };
10241
- exchange: {
10242
- __typename: "ExchangeAmount";
10243
- value: _aave_types.BigDecimal;
10244
- name: string;
10245
- symbol: string;
10246
- icon: string;
10247
- decimals: number;
10248
- };
10249
- exchangeRate: {
10250
- __typename: "DecimalNumber";
10251
- onChainValue: bigint;
10252
- decimals: number;
10253
- value: _aave_types.BigDecimal;
10254
- };
10255
- };
10256
10022
  borrowApy: {
10257
10023
  __typename: "PercentNumber";
10258
10024
  onChainValue: bigint;
@@ -10282,7 +10048,6 @@ declare const UserBorrowItemFragment: gql_tada.TadaDocumentNode<{
10282
10048
  normalized: _aave_types.BigDecimal;
10283
10049
  };
10284
10050
  dynamicConfigKey: unknown;
10285
- isUsingLatestDynamicConfigKey: boolean;
10286
10051
  } | null;
10287
10052
  asset: {
10288
10053
  __typename: "HubAsset";
@@ -10817,7 +10582,14 @@ declare const UserRiskPremiumBreakdownItemFragment: gql_tada.TadaDocumentNode<{
10817
10582
  isWrappedNativeToken: boolean;
10818
10583
  permitSupported: boolean;
10819
10584
  };
10820
- riskPremiumWeight: {
10585
+ currentRiskPremiumWeight: {
10586
+ __typename: "PercentNumber";
10587
+ onChainValue: bigint;
10588
+ decimals: number;
10589
+ value: _aave_types.BigDecimal;
10590
+ normalized: _aave_types.BigDecimal;
10591
+ };
10592
+ latestRiskPremiumWeight: {
10821
10593
  __typename: "PercentNumber";
10822
10594
  onChainValue: bigint;
10823
10595
  decimals: number;
@@ -10846,13 +10618,13 @@ declare const UserPositionRiskPremiumFragment: gql_tada.TadaDocumentNode<{
10846
10618
  value: _aave_types.BigDecimal;
10847
10619
  normalized: _aave_types.BigDecimal;
10848
10620
  };
10849
- better: {
10621
+ latest: {
10850
10622
  __typename: "PercentNumber";
10851
10623
  onChainValue: bigint;
10852
10624
  decimals: number;
10853
10625
  value: _aave_types.BigDecimal;
10854
10626
  normalized: _aave_types.BigDecimal;
10855
- } | null;
10627
+ };
10856
10628
  breakdown: {
10857
10629
  __typename: "UserRiskPremiumBreakdownItem";
10858
10630
  token: {
@@ -10892,7 +10664,14 @@ declare const UserPositionRiskPremiumFragment: gql_tada.TadaDocumentNode<{
10892
10664
  isWrappedNativeToken: boolean;
10893
10665
  permitSupported: boolean;
10894
10666
  };
10895
- riskPremiumWeight: {
10667
+ currentRiskPremiumWeight: {
10668
+ __typename: "PercentNumber";
10669
+ onChainValue: bigint;
10670
+ decimals: number;
10671
+ value: _aave_types.BigDecimal;
10672
+ normalized: _aave_types.BigDecimal;
10673
+ };
10674
+ latestRiskPremiumWeight: {
10896
10675
  __typename: "PercentNumber";
10897
10676
  onChainValue: bigint;
10898
10677
  decimals: number;
@@ -11097,13 +10876,13 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
11097
10876
  value: _aave_types.BigDecimal;
11098
10877
  normalized: _aave_types.BigDecimal;
11099
10878
  };
11100
- better: {
10879
+ latest: {
11101
10880
  __typename: "PercentNumber";
11102
10881
  onChainValue: bigint;
11103
10882
  decimals: number;
11104
10883
  value: _aave_types.BigDecimal;
11105
10884
  normalized: _aave_types.BigDecimal;
11106
- } | null;
10885
+ };
11107
10886
  breakdown: {
11108
10887
  __typename: "UserRiskPremiumBreakdownItem";
11109
10888
  token: {
@@ -11143,7 +10922,14 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
11143
10922
  isWrappedNativeToken: boolean;
11144
10923
  permitSupported: boolean;
11145
10924
  };
11146
- riskPremiumWeight: {
10925
+ currentRiskPremiumWeight: {
10926
+ __typename: "PercentNumber";
10927
+ onChainValue: bigint;
10928
+ decimals: number;
10929
+ value: _aave_types.BigDecimal;
10930
+ normalized: _aave_types.BigDecimal;
10931
+ };
10932
+ latestRiskPremiumWeight: {
11147
10933
  __typename: "PercentNumber";
11148
10934
  onChainValue: bigint;
11149
10935
  decimals: number;
@@ -11175,7 +10961,7 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
11175
10961
  icon: string;
11176
10962
  decimals: number;
11177
10963
  };
11178
- isUsingLatestDynamicConfigKey: boolean;
10964
+ canUpdateDynamicConfig: boolean;
11179
10965
  netBalancePercentChange: {
11180
10966
  __typename: "PercentNumber";
11181
10967
  onChainValue: bigint;
@@ -14136,66 +13922,6 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
14136
13922
  value: _aave_types.BigDecimal;
14137
13923
  };
14138
13924
  };
14139
- borrowingPower: {
14140
- __typename: "Erc20Amount";
14141
- token: {
14142
- __typename: "Erc20Token";
14143
- info: {
14144
- __typename: "TokenInfo";
14145
- id: TokenInfoId;
14146
- name: string;
14147
- symbol: string;
14148
- icon: string;
14149
- decimals: number;
14150
- categories: TokenCategory[];
14151
- };
14152
- address: _aave_types.EvmAddress;
14153
- chain: {
14154
- __typename: "Chain";
14155
- name: string;
14156
- icon: string;
14157
- chainId: _aave_types.ChainId;
14158
- rpcUrl: string;
14159
- explorerUrl: string;
14160
- isTestnet: boolean;
14161
- isFork: boolean;
14162
- nativeWrappedToken: _aave_types.EvmAddress;
14163
- nativeGateway: _aave_types.EvmAddress;
14164
- signatureGateway: _aave_types.EvmAddress;
14165
- nativeInfo: {
14166
- __typename: "TokenInfo";
14167
- id: TokenInfoId;
14168
- name: string;
14169
- symbol: string;
14170
- icon: string;
14171
- decimals: number;
14172
- categories: TokenCategory[];
14173
- };
14174
- };
14175
- isWrappedNativeToken: boolean;
14176
- permitSupported: boolean;
14177
- };
14178
- amount: {
14179
- __typename: "DecimalNumber";
14180
- onChainValue: bigint;
14181
- decimals: number;
14182
- value: _aave_types.BigDecimal;
14183
- };
14184
- exchange: {
14185
- __typename: "ExchangeAmount";
14186
- value: _aave_types.BigDecimal;
14187
- name: string;
14188
- symbol: string;
14189
- icon: string;
14190
- decimals: number;
14191
- };
14192
- exchangeRate: {
14193
- __typename: "DecimalNumber";
14194
- onChainValue: bigint;
14195
- decimals: number;
14196
- value: _aave_types.BigDecimal;
14197
- };
14198
- };
14199
13925
  borrowApy: {
14200
13926
  __typename: "PercentNumber";
14201
13927
  onChainValue: bigint;
@@ -14225,7 +13951,6 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
14225
13951
  normalized: _aave_types.BigDecimal;
14226
13952
  };
14227
13953
  dynamicConfigKey: unknown;
14228
- isUsingLatestDynamicConfigKey: boolean;
14229
13954
  } | null;
14230
13955
  asset: {
14231
13956
  __typename: "HubAsset";
@@ -15085,66 +14810,6 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
15085
14810
  value: _aave_types.BigDecimal;
15086
14811
  };
15087
14812
  };
15088
- borrowingPower: {
15089
- __typename: "Erc20Amount";
15090
- token: {
15091
- __typename: "Erc20Token";
15092
- info: {
15093
- __typename: "TokenInfo";
15094
- id: TokenInfoId;
15095
- name: string;
15096
- symbol: string;
15097
- icon: string;
15098
- decimals: number;
15099
- categories: TokenCategory[];
15100
- };
15101
- address: _aave_types.EvmAddress;
15102
- chain: {
15103
- __typename: "Chain";
15104
- name: string;
15105
- icon: string;
15106
- chainId: _aave_types.ChainId;
15107
- rpcUrl: string;
15108
- explorerUrl: string;
15109
- isTestnet: boolean;
15110
- isFork: boolean;
15111
- nativeWrappedToken: _aave_types.EvmAddress;
15112
- nativeGateway: _aave_types.EvmAddress;
15113
- signatureGateway: _aave_types.EvmAddress;
15114
- nativeInfo: {
15115
- __typename: "TokenInfo";
15116
- id: TokenInfoId;
15117
- name: string;
15118
- symbol: string;
15119
- icon: string;
15120
- decimals: number;
15121
- categories: TokenCategory[];
15122
- };
15123
- };
15124
- isWrappedNativeToken: boolean;
15125
- permitSupported: boolean;
15126
- };
15127
- amount: {
15128
- __typename: "DecimalNumber";
15129
- onChainValue: bigint;
15130
- decimals: number;
15131
- value: _aave_types.BigDecimal;
15132
- };
15133
- exchange: {
15134
- __typename: "ExchangeAmount";
15135
- value: _aave_types.BigDecimal;
15136
- name: string;
15137
- symbol: string;
15138
- icon: string;
15139
- decimals: number;
15140
- };
15141
- exchangeRate: {
15142
- __typename: "DecimalNumber";
15143
- onChainValue: bigint;
15144
- decimals: number;
15145
- value: _aave_types.BigDecimal;
15146
- };
15147
- };
15148
14813
  borrowApy: {
15149
14814
  __typename: "PercentNumber";
15150
14815
  onChainValue: bigint;
@@ -15174,7 +14839,6 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
15174
14839
  normalized: _aave_types.BigDecimal;
15175
14840
  };
15176
14841
  dynamicConfigKey: unknown;
15177
- isUsingLatestDynamicConfigKey: boolean;
15178
14842
  } | null;
15179
14843
  asset: {
15180
14844
  __typename: "HubAsset";
@@ -20631,8 +20295,7 @@ declare const UpdateUserPositionConditionsQuery: gql_tada.TadaDocumentNode<{
20631
20295
  };
20632
20296
  }, {
20633
20297
  request: {
20634
- riskPremium: boolean;
20635
- dynamicConfig: boolean;
20298
+ update: UserPositionConditionsUpdate;
20636
20299
  userPositionId: UserPositionId;
20637
20300
  };
20638
20301
  }, void>;
@@ -21652,8 +21315,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
21652
21315
  };
21653
21316
  } | {
21654
21317
  updateUserPositionConditions: {
21655
- riskPremium: boolean;
21656
- dynamicConfig: boolean;
21318
+ update: UserPositionConditionsUpdate;
21657
21319
  userPositionId: UserPositionId;
21658
21320
  };
21659
21321
  };
@@ -39284,66 +38946,6 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
39284
38946
  value: _aave_types.BigDecimal;
39285
38947
  };
39286
38948
  };
39287
- borrowingPower: {
39288
- __typename: "Erc20Amount";
39289
- token: {
39290
- __typename: "Erc20Token";
39291
- info: {
39292
- __typename: "TokenInfo";
39293
- id: TokenInfoId;
39294
- name: string;
39295
- symbol: string;
39296
- icon: string;
39297
- decimals: number;
39298
- categories: TokenCategory[];
39299
- };
39300
- address: _aave_types.EvmAddress;
39301
- chain: {
39302
- __typename: "Chain";
39303
- name: string;
39304
- icon: string;
39305
- chainId: _aave_types.ChainId;
39306
- rpcUrl: string;
39307
- explorerUrl: string;
39308
- isTestnet: boolean;
39309
- isFork: boolean;
39310
- nativeWrappedToken: _aave_types.EvmAddress;
39311
- nativeGateway: _aave_types.EvmAddress;
39312
- signatureGateway: _aave_types.EvmAddress;
39313
- nativeInfo: {
39314
- __typename: "TokenInfo";
39315
- id: TokenInfoId;
39316
- name: string;
39317
- symbol: string;
39318
- icon: string;
39319
- decimals: number;
39320
- categories: TokenCategory[];
39321
- };
39322
- };
39323
- isWrappedNativeToken: boolean;
39324
- permitSupported: boolean;
39325
- };
39326
- amount: {
39327
- __typename: "DecimalNumber";
39328
- onChainValue: bigint;
39329
- decimals: number;
39330
- value: _aave_types.BigDecimal;
39331
- };
39332
- exchange: {
39333
- __typename: "ExchangeAmount";
39334
- value: _aave_types.BigDecimal;
39335
- name: string;
39336
- symbol: string;
39337
- icon: string;
39338
- decimals: number;
39339
- };
39340
- exchangeRate: {
39341
- __typename: "DecimalNumber";
39342
- onChainValue: bigint;
39343
- decimals: number;
39344
- value: _aave_types.BigDecimal;
39345
- };
39346
- };
39347
38949
  borrowApy: {
39348
38950
  __typename: "PercentNumber";
39349
38951
  onChainValue: bigint;
@@ -39373,7 +38975,6 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
39373
38975
  normalized: _aave_types.BigDecimal;
39374
38976
  };
39375
38977
  dynamicConfigKey: unknown;
39376
- isUsingLatestDynamicConfigKey: boolean;
39377
38978
  } | null;
39378
38979
  asset: {
39379
38980
  __typename: "HubAsset";
@@ -40634,66 +40235,6 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
40634
40235
  value: _aave_types.BigDecimal;
40635
40236
  };
40636
40237
  };
40637
- borrowingPower: {
40638
- __typename: "Erc20Amount";
40639
- token: {
40640
- __typename: "Erc20Token";
40641
- info: {
40642
- __typename: "TokenInfo";
40643
- id: TokenInfoId;
40644
- name: string;
40645
- symbol: string;
40646
- icon: string;
40647
- decimals: number;
40648
- categories: TokenCategory[];
40649
- };
40650
- address: _aave_types.EvmAddress;
40651
- chain: {
40652
- __typename: "Chain";
40653
- name: string;
40654
- icon: string;
40655
- chainId: _aave_types.ChainId;
40656
- rpcUrl: string;
40657
- explorerUrl: string;
40658
- isTestnet: boolean;
40659
- isFork: boolean;
40660
- nativeWrappedToken: _aave_types.EvmAddress;
40661
- nativeGateway: _aave_types.EvmAddress;
40662
- signatureGateway: _aave_types.EvmAddress;
40663
- nativeInfo: {
40664
- __typename: "TokenInfo";
40665
- id: TokenInfoId;
40666
- name: string;
40667
- symbol: string;
40668
- icon: string;
40669
- decimals: number;
40670
- categories: TokenCategory[];
40671
- };
40672
- };
40673
- isWrappedNativeToken: boolean;
40674
- permitSupported: boolean;
40675
- };
40676
- amount: {
40677
- __typename: "DecimalNumber";
40678
- onChainValue: bigint;
40679
- decimals: number;
40680
- value: _aave_types.BigDecimal;
40681
- };
40682
- exchange: {
40683
- __typename: "ExchangeAmount";
40684
- value: _aave_types.BigDecimal;
40685
- name: string;
40686
- symbol: string;
40687
- icon: string;
40688
- decimals: number;
40689
- };
40690
- exchangeRate: {
40691
- __typename: "DecimalNumber";
40692
- onChainValue: bigint;
40693
- decimals: number;
40694
- value: _aave_types.BigDecimal;
40695
- };
40696
- };
40697
40238
  borrowApy: {
40698
40239
  __typename: "PercentNumber";
40699
40240
  onChainValue: bigint;
@@ -40723,7 +40264,6 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
40723
40264
  normalized: _aave_types.BigDecimal;
40724
40265
  };
40725
40266
  dynamicConfigKey: unknown;
40726
- isUsingLatestDynamicConfigKey: boolean;
40727
40267
  } | null;
40728
40268
  asset: {
40729
40269
  __typename: "HubAsset";
@@ -41471,13 +41011,13 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
41471
41011
  value: _aave_types.BigDecimal;
41472
41012
  normalized: _aave_types.BigDecimal;
41473
41013
  };
41474
- better: {
41014
+ latest: {
41475
41015
  __typename: "PercentNumber";
41476
41016
  onChainValue: bigint;
41477
41017
  decimals: number;
41478
41018
  value: _aave_types.BigDecimal;
41479
41019
  normalized: _aave_types.BigDecimal;
41480
- } | null;
41020
+ };
41481
41021
  breakdown: {
41482
41022
  __typename: "UserRiskPremiumBreakdownItem";
41483
41023
  token: {
@@ -41517,7 +41057,14 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
41517
41057
  isWrappedNativeToken: boolean;
41518
41058
  permitSupported: boolean;
41519
41059
  };
41520
- riskPremiumWeight: {
41060
+ currentRiskPremiumWeight: {
41061
+ __typename: "PercentNumber";
41062
+ onChainValue: bigint;
41063
+ decimals: number;
41064
+ value: _aave_types.BigDecimal;
41065
+ normalized: _aave_types.BigDecimal;
41066
+ };
41067
+ latestRiskPremiumWeight: {
41521
41068
  __typename: "PercentNumber";
41522
41069
  onChainValue: bigint;
41523
41070
  decimals: number;
@@ -41549,7 +41096,7 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
41549
41096
  icon: string;
41550
41097
  decimals: number;
41551
41098
  };
41552
- isUsingLatestDynamicConfigKey: boolean;
41099
+ canUpdateDynamicConfig: boolean;
41553
41100
  netBalancePercentChange: {
41554
41101
  __typename: "PercentNumber";
41555
41102
  onChainValue: bigint;
@@ -41780,13 +41327,13 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
41780
41327
  value: _aave_types.BigDecimal;
41781
41328
  normalized: _aave_types.BigDecimal;
41782
41329
  };
41783
- better: {
41330
+ latest: {
41784
41331
  __typename: "PercentNumber";
41785
41332
  onChainValue: bigint;
41786
41333
  decimals: number;
41787
41334
  value: _aave_types.BigDecimal;
41788
41335
  normalized: _aave_types.BigDecimal;
41789
- } | null;
41336
+ };
41790
41337
  breakdown: {
41791
41338
  __typename: "UserRiskPremiumBreakdownItem";
41792
41339
  token: {
@@ -41826,7 +41373,14 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
41826
41373
  isWrappedNativeToken: boolean;
41827
41374
  permitSupported: boolean;
41828
41375
  };
41829
- riskPremiumWeight: {
41376
+ currentRiskPremiumWeight: {
41377
+ __typename: "PercentNumber";
41378
+ onChainValue: bigint;
41379
+ decimals: number;
41380
+ value: _aave_types.BigDecimal;
41381
+ normalized: _aave_types.BigDecimal;
41382
+ };
41383
+ latestRiskPremiumWeight: {
41830
41384
  __typename: "PercentNumber";
41831
41385
  onChainValue: bigint;
41832
41386
  decimals: number;
@@ -41858,7 +41412,7 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
41858
41412
  icon: string;
41859
41413
  decimals: number;
41860
41414
  };
41861
- isUsingLatestDynamicConfigKey: boolean;
41415
+ canUpdateDynamicConfig: boolean;
41862
41416
  netBalancePercentChange: {
41863
41417
  __typename: "PercentNumber";
41864
41418
  onChainValue: bigint;
@@ -42265,7 +41819,14 @@ declare const UserRiskPremiumBreakdownQuery: gql_tada.TadaDocumentNode<{
42265
41819
  isWrappedNativeToken: boolean;
42266
41820
  permitSupported: boolean;
42267
41821
  };
42268
- riskPremiumWeight: {
41822
+ currentRiskPremiumWeight: {
41823
+ __typename: "PercentNumber";
41824
+ onChainValue: bigint;
41825
+ decimals: number;
41826
+ value: _aave_types.BigDecimal;
41827
+ normalized: _aave_types.BigDecimal;
41828
+ };
41829
+ latestRiskPremiumWeight: {
42269
41830
  __typename: "PercentNumber";
42270
41831
  onChainValue: bigint;
42271
41832
  decimals: number;
@@ -42296,4 +41857,4 @@ declare const UserRiskPremiumBreakdownQuery: gql_tada.TadaDocumentNode<{
42296
41857
  type UserRiskPremiumBreakdownRequest = RequestOf<typeof UserRiskPremiumBreakdownQuery>;
42297
41858
  type UserRiskPremiumBreakdownRequestQuery = ReturnType<typeof graphql.scalar<'UserRiskPremiumBreakdownRequestQuery'>>;
42298
41859
 
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 };
41860
+ 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, UserPositionConditionsUpdate, 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 };