@aave/graphql 0.2.0 → 0.3.1

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
@@ -98,7 +98,12 @@ type introspection_types = {
98
98
  'Erc20AmountInput': { kind: 'INPUT_OBJECT'; name: 'Erc20AmountInput'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
99
99
  'EvmAddress': unknown;
100
100
  'ExecutionPlan': { kind: 'UNION'; name: 'ExecutionPlan'; fields: {}; possibleTypes: 'ApprovalRequired' | 'InsufficientBalanceError' | 'TransactionRequest'; };
101
+ 'ForkTopUpErc20': { kind: 'INPUT_OBJECT'; name: 'ForkTopUpErc20'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }]; };
102
+ 'ForkTopUpRequest': { kind: 'INPUT_OBJECT'; name: 'ForkTopUpRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'ForkTopUpErc20'; ofType: null; }; defaultValue: null }, { name: 'native'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
103
+ 'ForkTopUpResponse': { kind: 'OBJECT'; name: 'ForkTopUpResponse'; fields: { 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; };
101
104
  'HasProcessedKnownTransactionRequest': { kind: 'INPUT_OBJECT'; name: 'HasProcessedKnownTransactionRequest'; isOneOf: false; inputFields: [{ name: 'operation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'OperationType'; ofType: null; }; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }]; };
105
+ 'HealthFactorPreviewRequest': { kind: 'INPUT_OBJECT'; name: 'HealthFactorPreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
106
+ 'HealthFactorPreviewResponse': { kind: 'OBJECT'; name: 'HealthFactorPreviewResponse'; fields: { 'after': { name: 'after'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'before': { name: 'before'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; }; };
102
107
  'InsufficientBalanceError': { kind: 'OBJECT'; name: 'InsufficientBalanceError'; fields: { 'available': { name: 'available'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; }; };
103
108
  'Int': unknown;
104
109
  'LiquidateRequest': { kind: 'INPUT_OBJECT'; name: 'LiquidateRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'collateralToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'underlyingToken'; 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: 'debtToCover'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'DebtToCover'; ofType: null; }; }; defaultValue: "{max: true}" }, { name: 'receiveAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
@@ -113,7 +118,7 @@ type introspection_types = {
113
118
  'MarketReservesRequestType': { name: 'MarketReservesRequestType'; enumValues: 'SUPPLY' | 'BORROW' | 'BOTH'; };
114
119
  'MarketUserReserveBorrowPosition': { kind: 'OBJECT'; name: 'MarketUserReserveBorrowPosition'; fields: { 'apy': { name: 'apy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketInfo'; ofType: null; }; } }; }; };
115
120
  'MarketUserReserveSupplyPosition': { kind: 'OBJECT'; name: 'MarketUserReserveSupplyPosition'; fields: { 'apy': { name: 'apy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'canBeCollateral': { name: 'canBeCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'isCollateral': { name: 'isCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketInfo'; ofType: null; }; } }; }; };
116
- 'MarketUserState': { kind: 'OBJECT'; name: 'MarketUserState'; fields: { 'availableBorrowsBase': { name: 'availableBorrowsBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'currentLiquidationThreshold': { name: 'currentLiquidationThreshold'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'eModeEnabled': { name: 'eModeEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'isInIsolationMode': { name: 'isInIsolationMode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'ltv': { name: 'ltv'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'netAPY': { name: 'netAPY'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'netWorth': { name: 'netWorth'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'totalCollateralBase': { name: 'totalCollateralBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'totalDebtBase': { name: 'totalDebtBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
121
+ 'MarketUserState': { kind: 'OBJECT'; name: 'MarketUserState'; fields: { 'availableBorrowsBase': { name: 'availableBorrowsBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'currentLiquidationThreshold': { name: 'currentLiquidationThreshold'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'eModeEnabled': { name: 'eModeEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; } }; 'isInIsolationMode': { name: 'isInIsolationMode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'ltv': { name: 'ltv'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'netAPY': { name: 'netAPY'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'netWorth': { name: 'netWorth'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'totalCollateralBase': { name: 'totalCollateralBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'totalDebtBase': { name: 'totalDebtBase'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
117
122
  'MarketsRequest': { kind: 'INPUT_OBJECT'; name: 'MarketsRequest'; isOneOf: false; inputFields: [{ 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 }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }]; };
118
123
  'MeritBorrowAndSupplyIncentiveCondition': { kind: 'OBJECT'; name: 'MeritBorrowAndSupplyIncentiveCondition'; fields: { 'borrowToken': { name: 'borrowToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'claimLink': { name: 'claimLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; } }; 'extraApr': { name: 'extraApr'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'supplyToken': { name: 'supplyToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; }; };
119
124
  'MeritBorrowIncentive': { kind: 'OBJECT'; name: 'MeritBorrowIncentive'; fields: { 'borrowAprDiscount': { name: 'borrowAprDiscount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'claimLink': { name: 'claimLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; } }; }; };
@@ -130,8 +135,12 @@ type introspection_types = {
130
135
  'PercentValue': { kind: 'OBJECT'; name: 'PercentValue'; fields: { 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'formatted': { name: 'formatted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'raw': { name: 'raw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
131
136
  'PermitRequest': { kind: 'INPUT_OBJECT'; name: 'PermitRequest'; isOneOf: false; inputFields: [{ name: 'spender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
132
137
  'PermitTypedDataResponse': { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; fields: { 'domain': { name: 'domain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DomainData'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MessageData'; ofType: null; }; } }; 'primaryType': { name: 'primaryType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'types': { name: 'types'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeDefinition'; ofType: null; }; } }; }; };
133
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'approveBorrowCreditDelegation': { name: 'approveBorrowCreditDelegation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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; }; }; }; } }; '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; }; }; }; } }; 'collateralToggle': { name: 'collateralToggle'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'creditDelegateeAllowance': { name: 'creditDelegateeAllowance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; 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; }; } }; 'liquidate': { name: 'liquidate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'OBJECT'; name: 'Market'; ofType: null; } }; 'markets': { name: 'markets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Market'; ofType: null; }; }; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; 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; } }; '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; }; }; }; } }; 'usdExchangeRates': { name: 'usdExchangeRates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsdExchangeRate'; 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: 'MarketUserReserveBorrowPosition'; ofType: null; }; }; }; } }; 'userMarketState': { name: 'userMarketState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserState'; ofType: null; }; } }; 'userSetEmode': { name: 'userSetEmode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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: 'MarketUserReserveSupplyPosition'; ofType: null; }; }; }; } }; 'userTransactionHistory': { name: 'userTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserTransactionHistoryResult'; ofType: null; }; } }; 'userVaults': { name: 'userVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'vault': { name: 'vault'; type: { kind: 'OBJECT'; name: 'Vault'; ofType: null; } }; 'vaultDeploy': { name: 'vaultDeploy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultDeposit': { name: 'vaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultMintShares': { name: 'vaultMintShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultPreviewDeposit': { name: 'vaultPreviewDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewMint': { name: 'vaultPreviewMint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewRedeem': { name: 'vaultPreviewRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewWithdraw': { name: 'vaultPreviewWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultRedeemShares': { name: 'vaultRedeemShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultSetFee': { name: 'vaultSetFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultUserTransactionHistory': { name: 'vaultUserTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultUserTransactionHistoryResult'; ofType: null; }; } }; 'vaultWithdraw': { name: 'vaultWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultWithdrawFees': { name: 'vaultWithdrawFees'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaults': { name: 'vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; }; };
134
- 'RepayRequest': { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'onBehalfOf'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
138
+ '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 }]; };
139
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'approveBorrowCreditDelegation': { name: 'approveBorrowCreditDelegation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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; }; }; }; } }; '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; }; }; }; } }; 'collateralToggle': { name: 'collateralToggle'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'creditDelegateeAllowance': { name: 'creditDelegateeAllowance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; 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; }; } }; 'healthFactorPreview': { name: 'healthFactorPreview'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorPreviewResponse'; ofType: null; }; } }; 'liquidate': { name: 'liquidate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'OBJECT'; name: 'Market'; ofType: null; } }; 'markets': { name: 'markets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Market'; ofType: null; }; }; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; 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; } }; '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; }; }; }; } }; 'usdExchangeRates': { name: 'usdExchangeRates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsdExchangeRate'; 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: 'MarketUserReserveBorrowPosition'; ofType: null; }; }; }; } }; 'userMarketState': { name: 'userMarketState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserState'; ofType: null; }; } }; 'userSetEmode': { name: 'userSetEmode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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: 'MarketUserReserveSupplyPosition'; ofType: null; }; }; }; } }; 'userTransactionHistory': { name: 'userTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserTransactionHistoryResult'; ofType: null; }; } }; 'userVaults': { name: 'userVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'vault': { name: 'vault'; type: { kind: 'OBJECT'; name: 'Vault'; ofType: null; } }; 'vaultDeploy': { name: 'vaultDeploy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultDeposit': { name: 'vaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultMintShares': { name: 'vaultMintShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultPreviewDeposit': { name: 'vaultPreviewDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewMint': { name: 'vaultPreviewMint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewRedeem': { name: 'vaultPreviewRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewWithdraw': { name: 'vaultPreviewWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultRedeemShares': { name: 'vaultRedeemShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultSetFee': { name: 'vaultSetFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultUserTransactionHistory': { name: 'vaultUserTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultUserTransactionHistoryResult'; ofType: null; }; } }; 'vaultWithdraw': { name: 'vaultWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultWithdrawFees': { name: 'vaultWithdrawFees'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaults': { name: 'vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; }; };
140
+ 'RepayAmountInput': { kind: 'INPUT_OBJECT'; name: 'RepayAmountInput'; isOneOf: true; inputFields: [{ name: 'native'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'RepayErc20AmountInput'; ofType: null; }; defaultValue: null }]; };
141
+ 'RepayErc20Amount': { kind: 'INPUT_OBJECT'; name: 'RepayErc20Amount'; isOneOf: true; inputFields: [{ name: 'exact'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'max'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }]; };
142
+ 'RepayErc20AmountInput': { kind: 'INPUT_OBJECT'; name: 'RepayErc20AmountInput'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'RepayErc20Amount'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
143
+ 'RepayRequest': { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'RepayAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'onBehalfOf'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
135
144
  'Reserve': { kind: 'OBJECT'; name: 'Reserve'; fields: { 'aToken': { name: 'aToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'acceptsNative': { name: 'acceptsNative'; type: { kind: 'OBJECT'; name: 'NativeCurrency'; ofType: null; } }; 'borrowInfo': { name: 'borrowInfo'; type: { kind: 'OBJECT'; name: 'ReserveBorrowInfo'; ofType: null; } }; 'eModeInfo': { name: 'eModeInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EmodeReserveInfo'; ofType: null; }; }; }; } }; 'flashLoanEnabled': { name: 'flashLoanEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'incentives': { name: 'incentives'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ReserveIncentive'; ofType: null; }; }; }; } }; 'isFrozen': { name: 'isFrozen'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isPaused': { name: 'isPaused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isolationModeConfig': { name: 'isolationModeConfig'; type: { kind: 'OBJECT'; name: 'ReserveIsolationModeConfig'; ofType: null; } }; 'market': { name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketInfo'; ofType: null; }; } }; 'permitSupported': { name: 'permitSupported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'size': { name: 'size'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'supplyInfo': { name: 'supplyInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveSupplyInfo'; ofType: null; }; } }; 'underlyingToken': { name: 'underlyingToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'usdExchangeRate': { name: 'usdExchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'usdOracleAddress': { name: 'usdOracleAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'userState': { name: 'userState'; type: { kind: 'OBJECT'; name: 'ReserveUserState'; ofType: null; } }; 'vToken': { name: 'vToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; }; };
136
145
  'ReserveBorrowInfo': { kind: 'OBJECT'; name: 'ReserveBorrowInfo'; fields: { 'apy': { name: 'apy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'availableLiquidity': { name: 'availableLiquidity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'borrowCap': { name: 'borrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'borrowCapReached': { name: 'borrowCapReached'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'borrowingState': { name: 'borrowingState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReserveBorrowingState'; ofType: null; }; } }; 'optimalUsageRate': { name: 'optimalUsageRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'reserveFactor': { name: 'reserveFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'total': { name: 'total'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'utilizationRate': { name: 'utilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'variableRateSlope1': { name: 'variableRateSlope1'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'variableRateSlope2': { name: 'variableRateSlope2'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; }; };
137
146
  'ReserveBorrowingState': { name: 'ReserveBorrowingState'; enumValues: 'ENABLED' | 'DISABLED' | 'USER_EMODE_DISABLED_BORROW'; };
@@ -424,7 +433,7 @@ declare const MarketUserStateFragment: gql_tada.TadaDocumentNode<{
424
433
  value: BigDecimal;
425
434
  formatted: BigDecimal;
426
435
  };
427
- healthFactor: BigDecimal;
436
+ healthFactor: BigDecimal | null;
428
437
  eModeEnabled: boolean;
429
438
  totalCollateralBase: BigDecimal;
430
439
  totalDebtBase: BigDecimal;
@@ -580,7 +589,7 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
580
589
  value: BigDecimal;
581
590
  formatted: BigDecimal;
582
591
  };
583
- healthFactor: BigDecimal;
592
+ healthFactor: BigDecimal | null;
584
593
  eModeEnabled: boolean;
585
594
  totalCollateralBase: BigDecimal;
586
595
  totalDebtBase: BigDecimal;
@@ -5913,7 +5922,7 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
5913
5922
  value: BigDecimal;
5914
5923
  formatted: BigDecimal;
5915
5924
  };
5916
- healthFactor: BigDecimal;
5925
+ healthFactor: BigDecimal | null;
5917
5926
  eModeEnabled: boolean;
5918
5927
  totalCollateralBase: BigDecimal;
5919
5928
  totalDebtBase: BigDecimal;
@@ -6816,7 +6825,7 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
6816
6825
  value: BigDecimal;
6817
6826
  formatted: BigDecimal;
6818
6827
  };
6819
- healthFactor: BigDecimal;
6828
+ healthFactor: BigDecimal | null;
6820
6829
  eModeEnabled: boolean;
6821
6830
  totalCollateralBase: BigDecimal;
6822
6831
  totalDebtBase: BigDecimal;
@@ -7664,7 +7673,7 @@ declare const UserMarketStateQuery: gql_tada.TadaDocumentNode<{
7664
7673
  value: BigDecimal;
7665
7674
  formatted: BigDecimal;
7666
7675
  };
7667
- healthFactor: BigDecimal;
7676
+ healthFactor: BigDecimal | null;
7668
7677
  eModeEnabled: boolean;
7669
7678
  totalCollateralBase: BigDecimal;
7670
7679
  totalDebtBase: BigDecimal;
@@ -7771,6 +7780,114 @@ declare const UsdExchangeRatesQuery: gql_tada.TadaDocumentNode<{
7771
7780
  };
7772
7781
  }, void>;
7773
7782
  type UsdExchangeRatesRequest = RequestOf<typeof UsdExchangeRatesQuery>;
7783
+ declare const HealthFactorPreviewResponseFragment: gql_tada.TadaDocumentNode<{
7784
+ __typename: "HealthFactorPreviewResponse";
7785
+ before: BigDecimal | null;
7786
+ after: BigDecimal | null;
7787
+ }, {}, {
7788
+ fragment: "HealthFactorPreviewResponse";
7789
+ on: "HealthFactorPreviewResponse";
7790
+ masked: false;
7791
+ }>;
7792
+ type HealthFactorPreviewResponse = FragmentOf<typeof HealthFactorPreviewResponseFragment>;
7793
+ declare const HealthFactorPreviewQuery: gql_tada.TadaDocumentNode<{
7794
+ value: {
7795
+ __typename: "HealthFactorPreviewResponse";
7796
+ before: BigDecimal | null;
7797
+ after: BigDecimal | null;
7798
+ };
7799
+ }, {
7800
+ request: {
7801
+ action: {
7802
+ supply: {
7803
+ chainId: ChainId;
7804
+ onBehalfOf?: EvmAddress | null | undefined;
7805
+ sender: EvmAddress;
7806
+ amount: {
7807
+ native: BigDecimal;
7808
+ } | {
7809
+ erc20: {
7810
+ permitSig?: {
7811
+ deadline: number;
7812
+ value: Signature;
7813
+ } | null | undefined;
7814
+ value: BigDecimal;
7815
+ currency: EvmAddress;
7816
+ };
7817
+ };
7818
+ market: EvmAddress;
7819
+ };
7820
+ } | {
7821
+ borrow: {
7822
+ chainId: ChainId;
7823
+ onBehalfOf?: EvmAddress | null | undefined;
7824
+ sender: EvmAddress;
7825
+ amount: {
7826
+ native: BigDecimal;
7827
+ } | {
7828
+ erc20: {
7829
+ value: BigDecimal;
7830
+ currency: EvmAddress;
7831
+ };
7832
+ };
7833
+ market: EvmAddress;
7834
+ };
7835
+ } | {
7836
+ repay: {
7837
+ chainId: ChainId;
7838
+ onBehalfOf?: EvmAddress | null | undefined;
7839
+ sender: EvmAddress;
7840
+ amount: {
7841
+ native: BigDecimal;
7842
+ } | {
7843
+ erc20: {
7844
+ permitSig?: {
7845
+ deadline: number;
7846
+ value: Signature;
7847
+ } | null | undefined;
7848
+ value: {
7849
+ exact: BigDecimal;
7850
+ } | {
7851
+ max: true;
7852
+ };
7853
+ currency: EvmAddress;
7854
+ };
7855
+ };
7856
+ market: EvmAddress;
7857
+ };
7858
+ } | {
7859
+ withdraw: {
7860
+ chainId: ChainId;
7861
+ recipient?: EvmAddress | null | undefined;
7862
+ sender: EvmAddress;
7863
+ amount: {
7864
+ native: {
7865
+ permitSig?: {
7866
+ deadline: number;
7867
+ value: Signature;
7868
+ } | null | undefined;
7869
+ value: {
7870
+ exact: BigDecimal;
7871
+ } | {
7872
+ max: true;
7873
+ };
7874
+ };
7875
+ } | {
7876
+ erc20: {
7877
+ value: {
7878
+ exact: BigDecimal;
7879
+ } | {
7880
+ max: true;
7881
+ };
7882
+ currency: EvmAddress;
7883
+ };
7884
+ };
7885
+ market: EvmAddress;
7886
+ };
7887
+ };
7888
+ };
7889
+ }, void>;
7890
+ type HealthFactorPreviewRequest = RequestOf<typeof HealthFactorPreviewQuery>;
7774
7891
 
7775
7892
  declare const TypeFieldFragment: gql_tada.TadaDocumentNode<{
7776
7893
  name: string;
@@ -8575,7 +8692,11 @@ declare const RepayQuery: gql_tada.TadaDocumentNode<{
8575
8692
  deadline: number;
8576
8693
  value: Signature;
8577
8694
  } | null | undefined;
8578
- value: BigDecimal;
8695
+ value: {
8696
+ exact: BigDecimal;
8697
+ } | {
8698
+ max: true;
8699
+ };
8579
8700
  currency: EvmAddress;
8580
8701
  };
8581
8702
  };
@@ -11897,4 +12018,4 @@ type VaultUserTransactionHistoryResult = {
11897
12018
  value: PaginatedVaultUserTransactionHistoryResult;
11898
12019
  };
11899
12020
 
11900
- export { type APYSample, APYSampleFragment, type AaveBorrowIncentive, AaveBorrowIncentiveFragment, type AaveSupplyIncentive, AaveSupplyIncentiveFragment, type AnySelectionSet, type AnyVariables, type ApprovalRequired, ApprovalRequiredFragment, ApproveBorrowCreditDelegationQuery, type ApproveBorrowCreditDelegatorRequest, BorrowAPYHistoryQuery, type BorrowAPYHistoryRequest, BorrowQuery, type BorrowRequest, type Chain, ChainFragment, ChainsFilter$1 as ChainsFilter, ChainsQuery, CollateralToggleQuery, type CollateralToggleRequest, CreditDelegateeAllowanceQuery, type CreditDelegateeAmountRequest, type Currency, CurrencyFragment, type DecimalValue, DecimalValueFragment, type DomainData, DomainDataFragment, type ERC712Signature, type EmodeMarketCategory, EmodeMarketCategoryFragment, type EmodeMarketReserveInfo, EmodeMarketReserveInfoFragment, type EmodeReserveInfo, EmodeReserveInfoFragment, type ExecutionPlan, ExecutionPlanFragment, type FragmentDocumentFor, type FragmentShape, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, HealthQuery, type InsufficientBalanceError, InsufficientBalanceErrorFragment, LiquidateQuery, type LiquidateRequest, type LiquidationCollateral, LiquidationCollateralFragment, type LiquidationRepaidDebt, LiquidationRepaidDebtFragment, type Market, MarketFragment, type MarketInfo, MarketInfoFragment, MarketQuery, type MarketRequest, type MarketReservesRequestOrderBy, type MarketUserReserveBorrowPosition, MarketUserReserveBorrowPositionFragment, type MarketUserReserveSupplyPosition, MarketUserReserveSupplyPositionFragment, type MarketUserState, MarketUserStateFragment, MarketsQuery, type MarketsRequest, type MeritBorrowAndSupplyIncentiveCondition, MeritBorrowAndSupplyIncentiveConditionFragment, type MeritBorrowIncentive, MeritBorrowIncentiveFragment, type MeritSupplyIncentive, MeritSupplyIncentiveFragment, type MessageData, MessageDataFragment, type NativeCurrency, NativeCurrencyFragment, OperationType$1 as OperationType, type OrderByUserCriteria, OrderDirection$1 as OrderDirection, PageSize$1 as PageSize, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedUserTransactionHistoryResult, PaginatedUserTransactionHistoryResultFragment, type PaginatedVaultUserTransactionHistoryResult, PaginatedVaultUserTransactionHistoryResultFragment, type PaginatedVaultsResult, PaginatedVaultsResultFragment, type PercentValue, PercentValueFragment, PermitTypedDataQuery, type PermitTypedDataRequest, type PermitTypedDataResponse, PermitTypedDataResponseFragment, RepayQuery, type RepayRequest, type RequestFrom, type RequestOf, type Reserve, type ReserveBorrowInfo, ReserveBorrowInfoFragment, ReserveFragment, type ReserveIncentive, ReserveIncentiveFragment, type ReserveInfo, ReserveInfoFragment, type ReserveIsolationModeConfig, ReserveIsolationModeConfigFragment, ReserveQuery, type ReserveRequest, type ReserveSupplyInfo, ReserveSupplyInfoFragment, type ReserveUserState, ReserveUserStateFragment, type StandardData, type StandardDocumentNode, SupplyAPYHistoryQuery, type SupplyAPYHistoryRequest, SupplyQuery, type SupplyRequest, TimeWindow$1 as TimeWindow, type TokenAmount, TokenAmountFragment, type TransactionRequest, TransactionRequestFragment, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, type TypedSelectionSet, type UsdExchangeRate, UsdExchangeRateFragment, UsdExchangeRatesQuery, type UsdExchangeRatesRequest, type UserBorrowTransaction, UserBorrowTransactionFragment, UserBorrowsQuery, type UserBorrowsRequest, type UserLiquidationCallTransaction, UserLiquidationCallTransactionFragment, UserMarketStateQuery, type UserMarketStateRequest, type UserRepayTransaction, UserRepayTransactionFragment, UserSetEmodeQuery, type UserSetEmodeRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSupplyTransaction, UserSupplyTransactionFragment, UserTransactionHistoryQuery, type UserTransactionHistoryRequest, type UserTransactionItem, UserTransactionItemFragment, type UserUsageAsCollateralTransaction, UserUsageAsCollateralTransactionFragment, type UserVaultShares, UserVaultSharesFragment, UserVaultsQuery, type UserVaultsRequest, type UserWithdrawTransaction, UserWithdrawTransactionFragment, type Vault, VaultDeployQuery, type VaultDeployRequest, VaultDepositQuery, type VaultDepositRequest, VaultFragment, VaultMintSharesQuery, type VaultMintSharesRequest, VaultPreviewDepositQuery, type VaultPreviewDepositRequest, VaultPreviewMintQuery, type VaultPreviewMintRequest, VaultPreviewRedeemQuery, type VaultPreviewRedeemRequest, VaultPreviewWithdrawQuery, type VaultPreviewWithdrawRequest, VaultQuery, VaultRedeemSharesQuery, type VaultRedeemSharesRequest, type VaultRequest, VaultSetFeeQuery, type VaultSetFeeRequest, type VaultUserDepositItem, VaultUserDepositItemFragment, VaultUserHistoryAction$1 as VaultUserHistoryAction, VaultUserTransactionHistoryQuery, type VaultUserTransactionHistoryRequest, type VaultUserTransactionHistoryResult, type VaultUserTransactionItem, VaultUserTransactionItemFragment, type VaultUserWithdrawItem, VaultUserWithdrawItemFragment, VaultWithdrawFeesQuery, type VaultWithdrawFeesRequest, VaultWithdrawQuery, type VaultWithdrawRequest, VaultsQuery, type VaultsRequest, WithdrawQuery, type WithdrawRequest, type __FutureProofUnion, assertTypename, graphql };
12021
+ export { type APYSample, APYSampleFragment, type AaveBorrowIncentive, AaveBorrowIncentiveFragment, type AaveSupplyIncentive, AaveSupplyIncentiveFragment, type AnySelectionSet, type AnyVariables, type ApprovalRequired, ApprovalRequiredFragment, ApproveBorrowCreditDelegationQuery, type ApproveBorrowCreditDelegatorRequest, BorrowAPYHistoryQuery, type BorrowAPYHistoryRequest, BorrowQuery, type BorrowRequest, type Chain, ChainFragment, ChainsFilter$1 as ChainsFilter, ChainsQuery, CollateralToggleQuery, type CollateralToggleRequest, CreditDelegateeAllowanceQuery, type CreditDelegateeAmountRequest, type Currency, CurrencyFragment, type DecimalValue, DecimalValueFragment, type DomainData, DomainDataFragment, type ERC712Signature, type EmodeMarketCategory, EmodeMarketCategoryFragment, type EmodeMarketReserveInfo, EmodeMarketReserveInfoFragment, type EmodeReserveInfo, EmodeReserveInfoFragment, type ExecutionPlan, ExecutionPlanFragment, type FragmentDocumentFor, type FragmentShape, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, HealthFactorPreviewQuery, type HealthFactorPreviewRequest, type HealthFactorPreviewResponse, HealthFactorPreviewResponseFragment, HealthQuery, type InsufficientBalanceError, InsufficientBalanceErrorFragment, LiquidateQuery, type LiquidateRequest, type LiquidationCollateral, LiquidationCollateralFragment, type LiquidationRepaidDebt, LiquidationRepaidDebtFragment, type Market, MarketFragment, type MarketInfo, MarketInfoFragment, MarketQuery, type MarketRequest, type MarketReservesRequestOrderBy, type MarketUserReserveBorrowPosition, MarketUserReserveBorrowPositionFragment, type MarketUserReserveSupplyPosition, MarketUserReserveSupplyPositionFragment, type MarketUserState, MarketUserStateFragment, MarketsQuery, type MarketsRequest, type MeritBorrowAndSupplyIncentiveCondition, MeritBorrowAndSupplyIncentiveConditionFragment, type MeritBorrowIncentive, MeritBorrowIncentiveFragment, type MeritSupplyIncentive, MeritSupplyIncentiveFragment, type MessageData, MessageDataFragment, type NativeCurrency, NativeCurrencyFragment, OperationType$1 as OperationType, type OrderByUserCriteria, OrderDirection$1 as OrderDirection, PageSize$1 as PageSize, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedUserTransactionHistoryResult, PaginatedUserTransactionHistoryResultFragment, type PaginatedVaultUserTransactionHistoryResult, PaginatedVaultUserTransactionHistoryResultFragment, type PaginatedVaultsResult, PaginatedVaultsResultFragment, type PercentValue, PercentValueFragment, PermitTypedDataQuery, type PermitTypedDataRequest, type PermitTypedDataResponse, PermitTypedDataResponseFragment, RepayQuery, type RepayRequest, type RequestFrom, type RequestOf, type Reserve, type ReserveBorrowInfo, ReserveBorrowInfoFragment, ReserveFragment, type ReserveIncentive, ReserveIncentiveFragment, type ReserveInfo, ReserveInfoFragment, type ReserveIsolationModeConfig, ReserveIsolationModeConfigFragment, ReserveQuery, type ReserveRequest, type ReserveSupplyInfo, ReserveSupplyInfoFragment, type ReserveUserState, ReserveUserStateFragment, type StandardData, type StandardDocumentNode, SupplyAPYHistoryQuery, type SupplyAPYHistoryRequest, SupplyQuery, type SupplyRequest, TimeWindow$1 as TimeWindow, type TokenAmount, TokenAmountFragment, type TransactionRequest, TransactionRequestFragment, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, type TypedSelectionSet, type UsdExchangeRate, UsdExchangeRateFragment, UsdExchangeRatesQuery, type UsdExchangeRatesRequest, type UserBorrowTransaction, UserBorrowTransactionFragment, UserBorrowsQuery, type UserBorrowsRequest, type UserLiquidationCallTransaction, UserLiquidationCallTransactionFragment, UserMarketStateQuery, type UserMarketStateRequest, type UserRepayTransaction, UserRepayTransactionFragment, UserSetEmodeQuery, type UserSetEmodeRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSupplyTransaction, UserSupplyTransactionFragment, UserTransactionHistoryQuery, type UserTransactionHistoryRequest, type UserTransactionItem, UserTransactionItemFragment, type UserUsageAsCollateralTransaction, UserUsageAsCollateralTransactionFragment, type UserVaultShares, UserVaultSharesFragment, UserVaultsQuery, type UserVaultsRequest, type UserWithdrawTransaction, UserWithdrawTransactionFragment, type Vault, VaultDeployQuery, type VaultDeployRequest, VaultDepositQuery, type VaultDepositRequest, VaultFragment, VaultMintSharesQuery, type VaultMintSharesRequest, VaultPreviewDepositQuery, type VaultPreviewDepositRequest, VaultPreviewMintQuery, type VaultPreviewMintRequest, VaultPreviewRedeemQuery, type VaultPreviewRedeemRequest, VaultPreviewWithdrawQuery, type VaultPreviewWithdrawRequest, VaultQuery, VaultRedeemSharesQuery, type VaultRedeemSharesRequest, type VaultRequest, VaultSetFeeQuery, type VaultSetFeeRequest, type VaultUserDepositItem, VaultUserDepositItemFragment, VaultUserHistoryAction$1 as VaultUserHistoryAction, VaultUserTransactionHistoryQuery, type VaultUserTransactionHistoryRequest, type VaultUserTransactionHistoryResult, type VaultUserTransactionItem, VaultUserTransactionItemFragment, type VaultUserWithdrawItem, VaultUserWithdrawItemFragment, VaultWithdrawFeesQuery, type VaultWithdrawFeesRequest, VaultWithdrawQuery, type VaultWithdrawRequest, VaultsQuery, type VaultsRequest, WithdrawQuery, type WithdrawRequest, type __FutureProofUnion, assertTypename, graphql };