@aave/graphql 0.11.1 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -150,7 +150,7 @@ type introspection_types = {
150
150
  '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 }]; };
151
151
  '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; }; } }; }; };
152
152
  '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 }]; };
153
- '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; } }; 'savingsGhoBalance': { name: 'savingsGhoBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'savingsGhoDeposit': { name: 'savingsGhoDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'savingsGhoWithdraw': { name: 'savingsGhoWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; 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; }; } }; 'userMeritRewards': { name: 'userMeritRewards'; type: { kind: 'OBJECT'; name: 'UserMeritRewards'; 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; } }; 'vaultCreateRecipientsConfiguration': { name: 'vaultCreateRecipientsConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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; }; } }; 'vaultRecipientConfiguration': { name: 'vaultRecipientConfiguration'; type: { kind: 'OBJECT'; name: 'VaultFeesRecipientsConfiguration'; 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; }; } }; 'vaultSetRecipientsConfiguration': { name: 'vaultSetRecipientsConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultTransferOwnership': { name: 'vaultTransferOwnership'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultUserActivity': { name: 'vaultUserActivity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'VaultUserActivityResult'; 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; }; } }; }; };
153
+ '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; } }; 'savingsGhoBalance': { name: 'savingsGhoBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'savingsGhoDeposit': { name: 'savingsGhoDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'savingsGhoWithdraw': { name: 'savingsGhoWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'sghoVault': { name: 'sghoVault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SghoVault'; ofType: null; }; } }; 'sghoVaultDeposit': { name: 'sghoVaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'sghoVaultPreviewDeposit': { name: 'sghoVaultPreviewDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; 'sghoVaultPreviewRedeem': { name: 'sghoVaultPreviewRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; 'sghoVaultRedeemShares': { name: 'sghoVaultRedeemShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; 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; }; } }; 'userMeritRewards': { name: 'userMeritRewards'; type: { kind: 'OBJECT'; name: 'UserMeritRewards'; 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; } }; 'vaultCreateRecipientsConfiguration': { name: 'vaultCreateRecipientsConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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; }; } }; 'vaultRecipientConfiguration': { name: 'vaultRecipientConfiguration'; type: { kind: 'OBJECT'; name: 'VaultFeesRecipientsConfiguration'; 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; }; } }; 'vaultSetRecipientsConfiguration': { name: 'vaultSetRecipientsConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultTransferOwnership': { name: 'vaultTransferOwnership'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultUserActivity': { name: 'vaultUserActivity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'VaultUserActivityResult'; 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; }; } }; }; };
154
154
  '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 }]; };
155
155
  '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 }]; };
156
156
  '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 }]; };
@@ -169,6 +169,14 @@ type introspection_types = {
169
169
  'SavingsGhoWithdrawAmount': { kind: 'INPUT_OBJECT'; name: 'SavingsGhoWithdrawAmount'; 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 }]; };
170
170
  'SavingsGhoWithdrawRequest': { kind: 'INPUT_OBJECT'; name: 'SavingsGhoWithdrawRequest'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SavingsGhoWithdrawAmount'; ofType: null; }; }; defaultValue: null }, { name: 'sharesOwner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; defaultValue: null }]; };
171
171
  'SayingsGhoDepositAmountInput': { kind: 'INPUT_OBJECT'; name: 'SayingsGhoDepositAmountInput'; isOneOf: false; inputFields: [{ 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 }]; };
172
+ 'SghoUserPosition': { kind: 'OBJECT'; name: 'SghoUserPosition'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'maxDeposit': { name: 'maxDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'maxWithdraw': { name: 'maxWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'shares': { name: 'shares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'underlyingBalance': { name: 'underlyingBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; }; };
173
+ 'SghoVault': { kind: 'OBJECT'; name: 'SghoVault'; fields: { 'paused': { name: 'paused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'supplyCap': { name: 'supplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'targetRate': { name: 'targetRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'totalAssets': { name: 'totalAssets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'totalSupply': { name: 'totalSupply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'OBJECT'; name: 'SghoUserPosition'; ofType: null; } }; }; };
174
+ 'SghoVaultDepositAmountInput': { kind: 'INPUT_OBJECT'; name: 'SghoVaultDepositAmountInput'; isOneOf: false; inputFields: [{ 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 }]; };
175
+ 'SghoVaultDepositRequest': { kind: 'INPUT_OBJECT'; name: 'SghoVaultDepositRequest'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SghoVaultDepositAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'depositor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'sharesRecipient'; 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 }]; };
176
+ 'SghoVaultPreviewRequest': { kind: 'INPUT_OBJECT'; name: 'SghoVaultPreviewRequest'; isOneOf: false; inputFields: [{ 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 }]; };
177
+ 'SghoVaultRedeemSharesAmount': { kind: 'INPUT_OBJECT'; name: 'SghoVaultRedeemSharesAmount'; isOneOf: true; inputFields: [{ name: 'maxRedeem'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }, { name: 'shares'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
178
+ 'SghoVaultRedeemSharesRequest': { kind: 'INPUT_OBJECT'; name: 'SghoVaultRedeemSharesRequest'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SghoVaultRedeemSharesAmount'; ofType: null; }; }; defaultValue: null }, { name: 'sharesOwner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'recipient'; 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 }]; };
179
+ 'SghoVaultRequest': { kind: 'INPUT_OBJECT'; name: 'SghoVaultRequest'; isOneOf: false; inputFields: [{ name: 'user'; 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 }]; };
172
180
  'Signature': unknown;
173
181
  'String': unknown;
174
182
  'SupplyAPYHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyAPYHistoryRequest'; isOneOf: false; inputFields: [{ name: 'market'; 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: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
@@ -6126,6 +6134,171 @@ declare const VaultUserActivityResultFragment: gql_tada.TadaDocumentNode<{
6126
6134
  masked: false;
6127
6135
  }>;
6128
6136
  type VaultUserActivityResult = FragmentOf<typeof VaultUserActivityResultFragment>;
6137
+ declare const SghoUserPositionFragment: gql_tada.TadaDocumentNode<{
6138
+ __typename: "SghoUserPosition";
6139
+ shares: {
6140
+ __typename: "TokenAmount";
6141
+ usdPerToken: _aave_types.BigDecimal;
6142
+ amount: {
6143
+ __typename: "DecimalValue";
6144
+ raw: _aave_types.BigIntString;
6145
+ decimals: number;
6146
+ value: _aave_types.BigDecimal;
6147
+ };
6148
+ usd: _aave_types.BigDecimal;
6149
+ };
6150
+ balance: {
6151
+ __typename: "TokenAmount";
6152
+ usdPerToken: _aave_types.BigDecimal;
6153
+ amount: {
6154
+ __typename: "DecimalValue";
6155
+ raw: _aave_types.BigIntString;
6156
+ decimals: number;
6157
+ value: _aave_types.BigDecimal;
6158
+ };
6159
+ usd: _aave_types.BigDecimal;
6160
+ };
6161
+ maxDeposit: {
6162
+ __typename: "TokenAmount";
6163
+ usdPerToken: _aave_types.BigDecimal;
6164
+ amount: {
6165
+ __typename: "DecimalValue";
6166
+ raw: _aave_types.BigIntString;
6167
+ decimals: number;
6168
+ value: _aave_types.BigDecimal;
6169
+ };
6170
+ usd: _aave_types.BigDecimal;
6171
+ };
6172
+ maxWithdraw: {
6173
+ __typename: "TokenAmount";
6174
+ usdPerToken: _aave_types.BigDecimal;
6175
+ amount: {
6176
+ __typename: "DecimalValue";
6177
+ raw: _aave_types.BigIntString;
6178
+ decimals: number;
6179
+ value: _aave_types.BigDecimal;
6180
+ };
6181
+ usd: _aave_types.BigDecimal;
6182
+ };
6183
+ underlyingBalance: {
6184
+ __typename: "TokenAmount";
6185
+ usdPerToken: _aave_types.BigDecimal;
6186
+ amount: {
6187
+ __typename: "DecimalValue";
6188
+ raw: _aave_types.BigIntString;
6189
+ decimals: number;
6190
+ value: _aave_types.BigDecimal;
6191
+ };
6192
+ usd: _aave_types.BigDecimal;
6193
+ };
6194
+ }, {}, {
6195
+ fragment: "SghoUserPosition";
6196
+ on: "SghoUserPosition";
6197
+ masked: false;
6198
+ }>;
6199
+ type SghoUserPosition = FragmentOf<typeof SghoUserPositionFragment>;
6200
+ declare const SghoVaultFragment: gql_tada.TadaDocumentNode<{
6201
+ __typename: "SghoVault";
6202
+ totalAssets: {
6203
+ __typename: "TokenAmount";
6204
+ usdPerToken: _aave_types.BigDecimal;
6205
+ amount: {
6206
+ __typename: "DecimalValue";
6207
+ raw: _aave_types.BigIntString;
6208
+ decimals: number;
6209
+ value: _aave_types.BigDecimal;
6210
+ };
6211
+ usd: _aave_types.BigDecimal;
6212
+ };
6213
+ totalSupply: {
6214
+ __typename: "DecimalValue";
6215
+ raw: _aave_types.BigIntString;
6216
+ decimals: number;
6217
+ value: _aave_types.BigDecimal;
6218
+ };
6219
+ supplyCap: {
6220
+ __typename: "TokenAmount";
6221
+ usdPerToken: _aave_types.BigDecimal;
6222
+ amount: {
6223
+ __typename: "DecimalValue";
6224
+ raw: _aave_types.BigIntString;
6225
+ decimals: number;
6226
+ value: _aave_types.BigDecimal;
6227
+ };
6228
+ usd: _aave_types.BigDecimal;
6229
+ };
6230
+ targetRate: {
6231
+ __typename: "PercentValue";
6232
+ raw: _aave_types.BigIntString;
6233
+ decimals: number;
6234
+ value: _aave_types.BigDecimal;
6235
+ formatted: _aave_types.BigDecimal;
6236
+ };
6237
+ paused: boolean;
6238
+ user: {
6239
+ __typename: "SghoUserPosition";
6240
+ shares: {
6241
+ __typename: "TokenAmount";
6242
+ usdPerToken: _aave_types.BigDecimal;
6243
+ amount: {
6244
+ __typename: "DecimalValue";
6245
+ raw: _aave_types.BigIntString;
6246
+ decimals: number;
6247
+ value: _aave_types.BigDecimal;
6248
+ };
6249
+ usd: _aave_types.BigDecimal;
6250
+ };
6251
+ balance: {
6252
+ __typename: "TokenAmount";
6253
+ usdPerToken: _aave_types.BigDecimal;
6254
+ amount: {
6255
+ __typename: "DecimalValue";
6256
+ raw: _aave_types.BigIntString;
6257
+ decimals: number;
6258
+ value: _aave_types.BigDecimal;
6259
+ };
6260
+ usd: _aave_types.BigDecimal;
6261
+ };
6262
+ maxDeposit: {
6263
+ __typename: "TokenAmount";
6264
+ usdPerToken: _aave_types.BigDecimal;
6265
+ amount: {
6266
+ __typename: "DecimalValue";
6267
+ raw: _aave_types.BigIntString;
6268
+ decimals: number;
6269
+ value: _aave_types.BigDecimal;
6270
+ };
6271
+ usd: _aave_types.BigDecimal;
6272
+ };
6273
+ maxWithdraw: {
6274
+ __typename: "TokenAmount";
6275
+ usdPerToken: _aave_types.BigDecimal;
6276
+ amount: {
6277
+ __typename: "DecimalValue";
6278
+ raw: _aave_types.BigIntString;
6279
+ decimals: number;
6280
+ value: _aave_types.BigDecimal;
6281
+ };
6282
+ usd: _aave_types.BigDecimal;
6283
+ };
6284
+ underlyingBalance: {
6285
+ __typename: "TokenAmount";
6286
+ usdPerToken: _aave_types.BigDecimal;
6287
+ amount: {
6288
+ __typename: "DecimalValue";
6289
+ raw: _aave_types.BigIntString;
6290
+ decimals: number;
6291
+ value: _aave_types.BigDecimal;
6292
+ };
6293
+ usd: _aave_types.BigDecimal;
6294
+ };
6295
+ } | null;
6296
+ }, {}, {
6297
+ fragment: "SghoVault";
6298
+ on: "SghoVault";
6299
+ masked: false;
6300
+ }>;
6301
+ type SghoVault = FragmentOf<typeof SghoVaultFragment>;
6129
6302
 
6130
6303
  declare const SavingsGhoBalanceQuery: gql_tada.TadaDocumentNode<{
6131
6304
  value: {
@@ -6288,6 +6461,281 @@ declare const SavingsGhoDepositQuery: gql_tada.TadaDocumentNode<{
6288
6461
  };
6289
6462
  }, void>;
6290
6463
  type SavingsGhoDepositRequest = RequestOf<typeof SavingsGhoDepositQuery>;
6464
+ declare const SghoVaultDepositQuery: gql_tada.TadaDocumentNode<{
6465
+ value: {
6466
+ __typename: "TransactionRequest";
6467
+ to: _aave_types.EvmAddress;
6468
+ from: _aave_types.EvmAddress;
6469
+ data: _aave_types.BlockchainData;
6470
+ value: _aave_types.BigIntString;
6471
+ chainId: _aave_types.ChainId;
6472
+ operation: OperationType | null;
6473
+ } | {
6474
+ __typename: "ApprovalRequired";
6475
+ approval: {
6476
+ __typename: "TransactionRequest";
6477
+ to: _aave_types.EvmAddress;
6478
+ from: _aave_types.EvmAddress;
6479
+ data: _aave_types.BlockchainData;
6480
+ value: _aave_types.BigIntString;
6481
+ chainId: _aave_types.ChainId;
6482
+ operation: OperationType | null;
6483
+ };
6484
+ reason: string;
6485
+ requiredAmount: {
6486
+ __typename: "DecimalValue";
6487
+ raw: _aave_types.BigIntString;
6488
+ decimals: number;
6489
+ value: _aave_types.BigDecimal;
6490
+ };
6491
+ currentAllowance: {
6492
+ __typename: "DecimalValue";
6493
+ raw: _aave_types.BigIntString;
6494
+ decimals: number;
6495
+ value: _aave_types.BigDecimal;
6496
+ };
6497
+ originalTransaction: {
6498
+ __typename: "TransactionRequest";
6499
+ to: _aave_types.EvmAddress;
6500
+ from: _aave_types.EvmAddress;
6501
+ data: _aave_types.BlockchainData;
6502
+ value: _aave_types.BigIntString;
6503
+ chainId: _aave_types.ChainId;
6504
+ operation: OperationType | null;
6505
+ };
6506
+ } | {
6507
+ __typename: "InsufficientBalanceError";
6508
+ required: {
6509
+ __typename: "DecimalValue";
6510
+ raw: _aave_types.BigIntString;
6511
+ decimals: number;
6512
+ value: _aave_types.BigDecimal;
6513
+ };
6514
+ available: {
6515
+ __typename: "DecimalValue";
6516
+ raw: _aave_types.BigIntString;
6517
+ decimals: number;
6518
+ value: _aave_types.BigDecimal;
6519
+ };
6520
+ };
6521
+ }, {
6522
+ request: {
6523
+ chainId: _aave_types.ChainId;
6524
+ sharesRecipient?: _aave_types.EvmAddress | null | undefined;
6525
+ depositor: _aave_types.EvmAddress;
6526
+ amount: {
6527
+ permitSig?: {
6528
+ deadline: number;
6529
+ value: _aave_types.Signature;
6530
+ } | null | undefined;
6531
+ value: _aave_types.BigDecimal;
6532
+ };
6533
+ };
6534
+ }, void>;
6535
+ type SghoVaultDepositRequest = RequestOf<typeof SghoVaultDepositQuery>;
6536
+ declare const SghoVaultRedeemSharesQuery: gql_tada.TadaDocumentNode<{
6537
+ value: {
6538
+ __typename: "TransactionRequest";
6539
+ to: _aave_types.EvmAddress;
6540
+ from: _aave_types.EvmAddress;
6541
+ data: _aave_types.BlockchainData;
6542
+ value: _aave_types.BigIntString;
6543
+ chainId: _aave_types.ChainId;
6544
+ operation: OperationType | null;
6545
+ } | {
6546
+ __typename: "ApprovalRequired";
6547
+ approval: {
6548
+ __typename: "TransactionRequest";
6549
+ to: _aave_types.EvmAddress;
6550
+ from: _aave_types.EvmAddress;
6551
+ data: _aave_types.BlockchainData;
6552
+ value: _aave_types.BigIntString;
6553
+ chainId: _aave_types.ChainId;
6554
+ operation: OperationType | null;
6555
+ };
6556
+ reason: string;
6557
+ requiredAmount: {
6558
+ __typename: "DecimalValue";
6559
+ raw: _aave_types.BigIntString;
6560
+ decimals: number;
6561
+ value: _aave_types.BigDecimal;
6562
+ };
6563
+ currentAllowance: {
6564
+ __typename: "DecimalValue";
6565
+ raw: _aave_types.BigIntString;
6566
+ decimals: number;
6567
+ value: _aave_types.BigDecimal;
6568
+ };
6569
+ originalTransaction: {
6570
+ __typename: "TransactionRequest";
6571
+ to: _aave_types.EvmAddress;
6572
+ from: _aave_types.EvmAddress;
6573
+ data: _aave_types.BlockchainData;
6574
+ value: _aave_types.BigIntString;
6575
+ chainId: _aave_types.ChainId;
6576
+ operation: OperationType | null;
6577
+ };
6578
+ } | {
6579
+ __typename: "InsufficientBalanceError";
6580
+ required: {
6581
+ __typename: "DecimalValue";
6582
+ raw: _aave_types.BigIntString;
6583
+ decimals: number;
6584
+ value: _aave_types.BigDecimal;
6585
+ };
6586
+ available: {
6587
+ __typename: "DecimalValue";
6588
+ raw: _aave_types.BigIntString;
6589
+ decimals: number;
6590
+ value: _aave_types.BigDecimal;
6591
+ };
6592
+ };
6593
+ }, {
6594
+ request: {
6595
+ chainId: _aave_types.ChainId;
6596
+ recipient?: _aave_types.EvmAddress | null | undefined;
6597
+ sharesOwner: _aave_types.EvmAddress;
6598
+ amount: {
6599
+ maxRedeem: true;
6600
+ } | {
6601
+ shares: _aave_types.BigDecimal;
6602
+ };
6603
+ };
6604
+ }, void>;
6605
+ type SghoVaultRedeemSharesRequest = RequestOf<typeof SghoVaultRedeemSharesQuery>;
6606
+ declare const SghoVaultQuery: gql_tada.TadaDocumentNode<{
6607
+ value: {
6608
+ __typename: "SghoVault";
6609
+ totalAssets: {
6610
+ __typename: "TokenAmount";
6611
+ usdPerToken: _aave_types.BigDecimal;
6612
+ amount: {
6613
+ __typename: "DecimalValue";
6614
+ raw: _aave_types.BigIntString;
6615
+ decimals: number;
6616
+ value: _aave_types.BigDecimal;
6617
+ };
6618
+ usd: _aave_types.BigDecimal;
6619
+ };
6620
+ totalSupply: {
6621
+ __typename: "DecimalValue";
6622
+ raw: _aave_types.BigIntString;
6623
+ decimals: number;
6624
+ value: _aave_types.BigDecimal;
6625
+ };
6626
+ supplyCap: {
6627
+ __typename: "TokenAmount";
6628
+ usdPerToken: _aave_types.BigDecimal;
6629
+ amount: {
6630
+ __typename: "DecimalValue";
6631
+ raw: _aave_types.BigIntString;
6632
+ decimals: number;
6633
+ value: _aave_types.BigDecimal;
6634
+ };
6635
+ usd: _aave_types.BigDecimal;
6636
+ };
6637
+ targetRate: {
6638
+ __typename: "PercentValue";
6639
+ raw: _aave_types.BigIntString;
6640
+ decimals: number;
6641
+ value: _aave_types.BigDecimal;
6642
+ formatted: _aave_types.BigDecimal;
6643
+ };
6644
+ paused: boolean;
6645
+ user: {
6646
+ __typename: "SghoUserPosition";
6647
+ shares: {
6648
+ __typename: "TokenAmount";
6649
+ usdPerToken: _aave_types.BigDecimal;
6650
+ amount: {
6651
+ __typename: "DecimalValue";
6652
+ raw: _aave_types.BigIntString;
6653
+ decimals: number;
6654
+ value: _aave_types.BigDecimal;
6655
+ };
6656
+ usd: _aave_types.BigDecimal;
6657
+ };
6658
+ balance: {
6659
+ __typename: "TokenAmount";
6660
+ usdPerToken: _aave_types.BigDecimal;
6661
+ amount: {
6662
+ __typename: "DecimalValue";
6663
+ raw: _aave_types.BigIntString;
6664
+ decimals: number;
6665
+ value: _aave_types.BigDecimal;
6666
+ };
6667
+ usd: _aave_types.BigDecimal;
6668
+ };
6669
+ maxDeposit: {
6670
+ __typename: "TokenAmount";
6671
+ usdPerToken: _aave_types.BigDecimal;
6672
+ amount: {
6673
+ __typename: "DecimalValue";
6674
+ raw: _aave_types.BigIntString;
6675
+ decimals: number;
6676
+ value: _aave_types.BigDecimal;
6677
+ };
6678
+ usd: _aave_types.BigDecimal;
6679
+ };
6680
+ maxWithdraw: {
6681
+ __typename: "TokenAmount";
6682
+ usdPerToken: _aave_types.BigDecimal;
6683
+ amount: {
6684
+ __typename: "DecimalValue";
6685
+ raw: _aave_types.BigIntString;
6686
+ decimals: number;
6687
+ value: _aave_types.BigDecimal;
6688
+ };
6689
+ usd: _aave_types.BigDecimal;
6690
+ };
6691
+ underlyingBalance: {
6692
+ __typename: "TokenAmount";
6693
+ usdPerToken: _aave_types.BigDecimal;
6694
+ amount: {
6695
+ __typename: "DecimalValue";
6696
+ raw: _aave_types.BigIntString;
6697
+ decimals: number;
6698
+ value: _aave_types.BigDecimal;
6699
+ };
6700
+ usd: _aave_types.BigDecimal;
6701
+ };
6702
+ } | null;
6703
+ };
6704
+ }, {
6705
+ request: {
6706
+ chainId: _aave_types.ChainId;
6707
+ user?: _aave_types.EvmAddress | null | undefined;
6708
+ };
6709
+ }, void>;
6710
+ type SghoVaultRequest = RequestOf<typeof SghoVaultQuery>;
6711
+ declare const SghoVaultPreviewDepositQuery: gql_tada.TadaDocumentNode<{
6712
+ value: {
6713
+ __typename: "DecimalValue";
6714
+ raw: _aave_types.BigIntString;
6715
+ decimals: number;
6716
+ value: _aave_types.BigDecimal;
6717
+ };
6718
+ }, {
6719
+ request: {
6720
+ chainId: _aave_types.ChainId;
6721
+ amount: _aave_types.BigDecimal;
6722
+ };
6723
+ }, void>;
6724
+ type SghoVaultPreviewDepositRequest = RequestOf<typeof SghoVaultPreviewDepositQuery>;
6725
+ declare const SghoVaultPreviewRedeemQuery: gql_tada.TadaDocumentNode<{
6726
+ value: {
6727
+ __typename: "DecimalValue";
6728
+ raw: _aave_types.BigIntString;
6729
+ decimals: number;
6730
+ value: _aave_types.BigDecimal;
6731
+ };
6732
+ }, {
6733
+ request: {
6734
+ chainId: _aave_types.ChainId;
6735
+ amount: _aave_types.BigDecimal;
6736
+ };
6737
+ }, void>;
6738
+ type SghoVaultPreviewRedeemRequest = RequestOf<typeof SghoVaultPreviewRedeemQuery>;
6291
6739
 
6292
6740
  declare const ClaimableMeritRewardFragment: gql_tada.TadaDocumentNode<{
6293
6741
  __typename: "ClaimableMeritReward";
@@ -12918,4 +13366,4 @@ declare const vaultRecipientConfigurationQuery: gql_tada.TadaDocumentNode<{
12918
13366
  }, void>;
12919
13367
  type VaultRecipientConfigurationRequest = RequestOf<typeof vaultRecipientConfigurationQuery>;
12920
13368
 
12921
- export { type APYSample, APYSampleFragment, type AaveBorrowIncentive, AaveBorrowIncentiveFragment, type AaveSupplyIncentive, AaveSupplyIncentiveFragment, type AmountInput, type ApprovalRequired, ApprovalRequiredFragment, ApproveBorrowCreditDelegationQuery, type ApproveBorrowCreditDelegatorRequest, BorrowAPYHistoryQuery, type BorrowAPYHistoryRequest, BorrowQuery, type BorrowRequest, type Chain, ChainFragment, ChainsFilter, ChainsQuery, type ClaimableMeritReward, ClaimableMeritRewardFragment, 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, 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, type OrderByUserCriteria, OrderDirection, 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 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, SavingsGhoBalanceQuery, type SavingsGhoBalanceRequest, SavingsGhoDepositQuery, type SavingsGhoDepositRequest, SavingsGhoWithdrawQuery, type SavingsGhoWithdrawRequest, SupplyAPYHistoryQuery, type SupplyAPYHistoryRequest, SupplyQuery, type SupplyRequest, TimeWindow, type TokenAmount, TokenAmountFragment, type TransactionRequest, TransactionRequestFragment, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, type UsdExchangeRate, UsdExchangeRateFragment, UsdExchangeRatesQuery, type UsdExchangeRatesRequest, type UserBorrowTransaction, UserBorrowTransactionFragment, UserBorrowsQuery, type UserBorrowsRequest, type UserLiquidationCallTransaction, UserLiquidationCallTransactionFragment, UserMarketStateQuery, type UserMarketStateRequest, type UserMeritRewards, UserMeritRewardsFragment, UserMeritRewardsQuery, type UserMeritRewardsRequest, 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, type VaultCreateRecipientsConfigurationRequest, VaultDeployQuery, type VaultDeployRequest, VaultDepositQuery, type VaultDepositRequest, type VaultFeesRecipientSplit, VaultFeesRecipientSplitFragment, type VaultFeesRecipientsConfiguration, VaultFeesRecipientsConfigurationFragment, VaultFragment, VaultMintSharesQuery, type VaultMintSharesRequest, VaultPreviewDepositQuery, type VaultPreviewDepositRequest, VaultPreviewMintQuery, type VaultPreviewMintRequest, VaultPreviewRedeemQuery, type VaultPreviewRedeemRequest, VaultPreviewWithdrawQuery, type VaultPreviewWithdrawRequest, VaultQuery, type VaultRecipientConfigurationRequest, VaultRedeemSharesQuery, type VaultRedeemSharesRequest, type VaultRequest, VaultSetFeeQuery, type VaultSetFeeRequest, type VaultSetRecipientsConfigurationRequest, type VaultTransferOwnershipRequest, type VaultUserActivityItem, VaultUserActivityItemFragment, VaultUserActivityQuery, type VaultUserActivityRequest, type VaultUserActivityResult, VaultUserActivityResultFragment, VaultUserActivityTimeWindow, type VaultUserDepositItem, VaultUserDepositItemFragment, VaultUserHistoryAction, VaultUserTransactionHistoryQuery, type VaultUserTransactionHistoryRequest, type VaultUserTransactionHistoryResult, type VaultUserTransactionItem, VaultUserTransactionItemFragment, type VaultUserWithdrawItem, VaultUserWithdrawItemFragment, VaultWithdrawFeesQuery, type VaultWithdrawFeesRequest, VaultWithdrawQuery, type VaultWithdrawRequest, VaultsQuery, type VaultsRequest, WithdrawQuery, type WithdrawRequest, graphql, vaultCreateRecipientsConfigurationQuery, vaultRecipientConfigurationQuery, vaultSetRecipientsConfigurationQuery, vaultTransferOwnershipQuery };
13369
+ export { type APYSample, APYSampleFragment, type AaveBorrowIncentive, AaveBorrowIncentiveFragment, type AaveSupplyIncentive, AaveSupplyIncentiveFragment, type AmountInput, type ApprovalRequired, ApprovalRequiredFragment, ApproveBorrowCreditDelegationQuery, type ApproveBorrowCreditDelegatorRequest, BorrowAPYHistoryQuery, type BorrowAPYHistoryRequest, BorrowQuery, type BorrowRequest, type Chain, ChainFragment, ChainsFilter, ChainsQuery, type ClaimableMeritReward, ClaimableMeritRewardFragment, 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, 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, type OrderByUserCriteria, OrderDirection, 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 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, SavingsGhoBalanceQuery, type SavingsGhoBalanceRequest, SavingsGhoDepositQuery, type SavingsGhoDepositRequest, SavingsGhoWithdrawQuery, type SavingsGhoWithdrawRequest, type SghoUserPosition, SghoUserPositionFragment, type SghoVault, SghoVaultDepositQuery, type SghoVaultDepositRequest, SghoVaultFragment, SghoVaultPreviewDepositQuery, type SghoVaultPreviewDepositRequest, SghoVaultPreviewRedeemQuery, type SghoVaultPreviewRedeemRequest, SghoVaultQuery, SghoVaultRedeemSharesQuery, type SghoVaultRedeemSharesRequest, type SghoVaultRequest, SupplyAPYHistoryQuery, type SupplyAPYHistoryRequest, SupplyQuery, type SupplyRequest, TimeWindow, type TokenAmount, TokenAmountFragment, type TransactionRequest, TransactionRequestFragment, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, type UsdExchangeRate, UsdExchangeRateFragment, UsdExchangeRatesQuery, type UsdExchangeRatesRequest, type UserBorrowTransaction, UserBorrowTransactionFragment, UserBorrowsQuery, type UserBorrowsRequest, type UserLiquidationCallTransaction, UserLiquidationCallTransactionFragment, UserMarketStateQuery, type UserMarketStateRequest, type UserMeritRewards, UserMeritRewardsFragment, UserMeritRewardsQuery, type UserMeritRewardsRequest, 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, type VaultCreateRecipientsConfigurationRequest, VaultDeployQuery, type VaultDeployRequest, VaultDepositQuery, type VaultDepositRequest, type VaultFeesRecipientSplit, VaultFeesRecipientSplitFragment, type VaultFeesRecipientsConfiguration, VaultFeesRecipientsConfigurationFragment, VaultFragment, VaultMintSharesQuery, type VaultMintSharesRequest, VaultPreviewDepositQuery, type VaultPreviewDepositRequest, VaultPreviewMintQuery, type VaultPreviewMintRequest, VaultPreviewRedeemQuery, type VaultPreviewRedeemRequest, VaultPreviewWithdrawQuery, type VaultPreviewWithdrawRequest, VaultQuery, type VaultRecipientConfigurationRequest, VaultRedeemSharesQuery, type VaultRedeemSharesRequest, type VaultRequest, VaultSetFeeQuery, type VaultSetFeeRequest, type VaultSetRecipientsConfigurationRequest, type VaultTransferOwnershipRequest, type VaultUserActivityItem, VaultUserActivityItemFragment, VaultUserActivityQuery, type VaultUserActivityRequest, type VaultUserActivityResult, VaultUserActivityResultFragment, VaultUserActivityTimeWindow, type VaultUserDepositItem, VaultUserDepositItemFragment, VaultUserHistoryAction, VaultUserTransactionHistoryQuery, type VaultUserTransactionHistoryRequest, type VaultUserTransactionHistoryResult, type VaultUserTransactionItem, VaultUserTransactionItemFragment, type VaultUserWithdrawItem, VaultUserWithdrawItemFragment, VaultWithdrawFeesQuery, type VaultWithdrawFeesRequest, VaultWithdrawQuery, type VaultWithdrawRequest, VaultsQuery, type VaultsRequest, WithdrawQuery, type WithdrawRequest, graphql, vaultCreateRecipientsConfigurationQuery, vaultRecipientConfigurationQuery, vaultSetRecipientsConfigurationQuery, vaultTransferOwnershipQuery };