@aave/graphql 0.3.1 → 0.5.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
@@ -60,6 +60,15 @@ declare enum VaultUserHistoryAction$1 {
60
60
  Deposit = "DEPOSIT",
61
61
  Withdraw = "WITHDRAW"
62
62
  }
63
+ /**
64
+ * The time window for the vault user activity.
65
+ */
66
+ declare enum VaultUserActivityTimeWindow$1 {
67
+ LastWeek = "LAST_WEEK",
68
+ LastMonth = "LAST_MONTH",
69
+ LastYear = "LAST_YEAR",
70
+ Max = "MAX"
71
+ }
63
72
 
64
73
  /* eslint-disable */
65
74
  /* prettier-ignore */
@@ -136,7 +145,7 @@ type introspection_types = {
136
145
  '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 }]; };
137
146
  '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; }; } }; }; };
138
147
  '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; }; } }; }; };
148
+ '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; }; } }; '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; }; } }; }; };
140
149
  '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
150
  '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
151
  '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 }]; };
@@ -185,7 +194,8 @@ type introspection_types = {
185
194
  'UserWithdrawTransaction': { kind: 'OBJECT'; name: 'UserWithdrawTransaction'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'blockExplorerUrl': { name: 'blockExplorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; };
186
195
  'Vault': { kind: 'OBJECT'; name: 'Vault'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'fee': { name: 'fee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'feesBalance': { name: 'feesBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'shareName': { name: 'shareName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'shareSymbol': { name: 'shareSymbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'totalFeeRevenue': { name: 'totalFeeRevenue'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'usedReserve': { name: 'usedReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; } }; 'userShares': { name: 'userShares'; type: { kind: 'OBJECT'; name: 'UserVaultShares'; ofType: null; } }; 'vaultApr': { name: 'vaultApr'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; }; };
187
196
  'VaultDeployRequest': { kind: 'INPUT_OBJECT'; name: 'VaultDeployRequest'; isOneOf: false; inputFields: [{ name: 'underlyingToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'deployer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'owner'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'initialFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'shareName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'shareSymbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'initialLockDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }]; };
188
- 'VaultDepositRequest': { kind: 'INPUT_OBJECT'; name: 'VaultDepositRequest'; isOneOf: false; inputFields: [{ name: 'vault'; 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: 'Erc20AmountInput'; 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 }]; };
197
+ 'VaultDepositAmountInput': { kind: 'INPUT_OBJECT'; name: 'VaultDepositAmountInput'; isOneOf: false; inputFields: [{ name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'asAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
198
+ 'VaultDepositRequest': { kind: 'INPUT_OBJECT'; name: 'VaultDepositRequest'; isOneOf: false; inputFields: [{ name: 'vault'; 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: 'VaultDepositAmountInput'; 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 }]; };
189
199
  'VaultInput': { kind: 'INPUT_OBJECT'; name: 'VaultInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
190
200
  'VaultMintShareInput': { kind: 'INPUT_OBJECT'; name: 'VaultMintShareInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'asAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
191
201
  'VaultMintSharesRequest': { kind: 'INPUT_OBJECT'; name: 'VaultMintSharesRequest'; isOneOf: false; inputFields: [{ name: 'vault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'shares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'VaultMintShareInput'; ofType: null; }; }; defaultValue: null }, { name: 'minter'; 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 }]; };
@@ -195,15 +205,19 @@ type introspection_types = {
195
205
  'VaultRequest': { kind: 'INPUT_OBJECT'; name: 'VaultRequest'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'VaultRequestBy'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { 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 }]; };
196
206
  'VaultRequestBy': { kind: 'INPUT_OBJECT'; name: 'VaultRequestBy'; isOneOf: true; inputFields: [{ name: 'address'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; defaultValue: null }]; };
197
207
  'VaultSetFeeRequest': { kind: 'INPUT_OBJECT'; name: 'VaultSetFeeRequest'; isOneOf: false; inputFields: [{ name: 'vault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'newFee'; 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 }]; };
208
+ 'VaultUserActivityItem': { kind: 'OBJECT'; name: 'VaultUserActivityItem'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'deposited': { name: 'deposited'; type: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; } }; 'earned': { name: 'earned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'withdrew': { name: 'withdrew'; type: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; } }; }; };
209
+ 'VaultUserActivityRequest': { kind: 'INPUT_OBJECT'; name: 'VaultUserActivityRequest'; isOneOf: false; inputFields: [{ name: 'vault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; 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: 'VaultUserActivityTimeWindow'; ofType: null; }; }; defaultValue: null }]; };
210
+ 'VaultUserActivityResult': { kind: 'OBJECT'; name: 'VaultUserActivityResult'; fields: { 'breakdown': { name: 'breakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'VaultUserActivityItem'; ofType: null; }; }; }; } }; 'earned': { name: 'earned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; }; };
211
+ 'VaultUserActivityTimeWindow': { name: 'VaultUserActivityTimeWindow'; enumValues: 'LAST_WEEK' | 'LAST_MONTH' | 'LAST_YEAR' | 'MAX'; };
198
212
  'VaultUserDepositItem': { kind: 'OBJECT'; name: 'VaultUserDepositItem'; fields: { 'asset': { name: 'asset'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'blockExplorerUrl': { name: 'blockExplorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'shares': { name: 'shares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; };
199
213
  'VaultUserHistoryAction': { name: 'VaultUserHistoryAction'; enumValues: 'DEPOSIT' | 'WITHDRAW'; };
200
214
  'VaultUserTransactionHistoryOrderBy': { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryOrderBy'; isOneOf: true; inputFields: [{ name: 'date'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
201
215
  'VaultUserTransactionHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryRequest'; isOneOf: false; inputFields: [{ name: 'vault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'VaultUserHistoryAction'; ofType: null; }; }; }; }; defaultValue: "[DEPOSIT, WITHDRAW]" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryOrderBy'; ofType: null; }; }; defaultValue: "{date: ASC}" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
202
216
  'VaultUserTransactionItem': { kind: 'UNION'; name: 'VaultUserTransactionItem'; fields: {}; possibleTypes: 'VaultUserDepositItem' | 'VaultUserWithdrawItem'; };
203
217
  'VaultUserWithdrawItem': { kind: 'OBJECT'; name: 'VaultUserWithdrawItem'; fields: { 'asset': { name: 'asset'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'blockExplorerUrl': { name: 'blockExplorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'shares': { name: 'shares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; } }; }; };
218
+ 'VaultWithdrawAmountInput': { kind: 'INPUT_OBJECT'; name: 'VaultWithdrawAmountInput'; isOneOf: false; inputFields: [{ name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'asAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
204
219
  'VaultWithdrawFeesRequest': { kind: 'INPUT_OBJECT'; name: 'VaultWithdrawFeesRequest'; isOneOf: false; inputFields: [{ name: 'vault'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'sendTo'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'WithdrawAmount'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
205
- 'VaultWithdrawInput': { kind: 'INPUT_OBJECT'; name: 'VaultWithdrawInput'; isOneOf: false; inputFields: [{ name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'asAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
206
- 'VaultWithdrawRequest': { kind: 'INPUT_OBJECT'; name: 'VaultWithdrawRequest'; isOneOf: false; inputFields: [{ name: 'vault'; 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: 'INPUT_OBJECT'; name: 'VaultWithdrawInput'; ofType: null; }; }; defaultValue: null }, { name: 'sharesOwner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'authorizedUser'; type: { 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 }]; };
220
+ 'VaultWithdrawRequest': { kind: 'INPUT_OBJECT'; name: 'VaultWithdrawRequest'; isOneOf: false; inputFields: [{ name: 'vault'; 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: 'VaultWithdrawAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sharesOwner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'authorizedUser'; type: { 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 }]; };
207
221
  'VaultsRequest': { kind: 'INPUT_OBJECT'; name: 'VaultsRequest'; isOneOf: false; inputFields: [{ name: 'criteria'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'VaultsRequestFilterCriteria'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
208
222
  'VaultsRequestFilterCriteria': { kind: 'INPUT_OBJECT'; name: 'VaultsRequestFilterCriteria'; isOneOf: true; inputFields: [{ name: 'vaults'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'VaultInput'; ofType: null; }; }; }; defaultValue: null }, { name: 'ownedBy'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; }; defaultValue: null }]; };
209
223
  'WithdrawAmount': { kind: 'INPUT_OBJECT'; name: 'WithdrawAmount'; 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 }]; };
@@ -263,6 +277,7 @@ declare const graphql: initGraphQLTada<{
263
277
  Void: Void;
264
278
  TimeWindow: TimeWindow$1;
265
279
  VaultUserHistoryAction: VaultUserHistoryAction$1;
280
+ VaultUserActivityTimeWindow: VaultUserActivityTimeWindow$1;
266
281
  };
267
282
  }>;
268
283
  /**
@@ -5851,6 +5866,126 @@ declare const PaginatedVaultUserTransactionHistoryResultFragment: gql_tada.TadaD
5851
5866
  masked: false;
5852
5867
  }>;
5853
5868
  type PaginatedVaultUserTransactionHistoryResult = FragmentOf<typeof PaginatedVaultUserTransactionHistoryResultFragment>;
5869
+ declare const VaultUserActivityItemFragment: gql_tada.TadaDocumentNode<{
5870
+ __typename: "VaultUserActivityItem";
5871
+ balance: {
5872
+ __typename: "TokenAmount";
5873
+ usdPerToken: BigDecimal;
5874
+ amount: {
5875
+ __typename: "DecimalValue";
5876
+ raw: BigIntString;
5877
+ decimals: number;
5878
+ value: BigDecimal;
5879
+ };
5880
+ usd: BigDecimal;
5881
+ };
5882
+ earned: {
5883
+ __typename: "TokenAmount";
5884
+ usdPerToken: BigDecimal;
5885
+ amount: {
5886
+ __typename: "DecimalValue";
5887
+ raw: BigIntString;
5888
+ decimals: number;
5889
+ value: BigDecimal;
5890
+ };
5891
+ usd: BigDecimal;
5892
+ };
5893
+ withdrew: {
5894
+ __typename: "TokenAmount";
5895
+ usdPerToken: BigDecimal;
5896
+ amount: {
5897
+ __typename: "DecimalValue";
5898
+ raw: BigIntString;
5899
+ decimals: number;
5900
+ value: BigDecimal;
5901
+ };
5902
+ usd: BigDecimal;
5903
+ } | null;
5904
+ deposited: {
5905
+ __typename: "TokenAmount";
5906
+ usdPerToken: BigDecimal;
5907
+ amount: {
5908
+ __typename: "DecimalValue";
5909
+ raw: BigIntString;
5910
+ decimals: number;
5911
+ value: BigDecimal;
5912
+ };
5913
+ usd: BigDecimal;
5914
+ } | null;
5915
+ date: DateTime;
5916
+ }, {}, {
5917
+ fragment: "VaultUserActivityItem";
5918
+ on: "VaultUserActivityItem";
5919
+ masked: false;
5920
+ }>;
5921
+ type VaultUserActivityItem = FragmentOf<typeof VaultUserActivityItemFragment>;
5922
+ declare const VaultUserActivityResultFragment: gql_tada.TadaDocumentNode<{
5923
+ __typename: "VaultUserActivityResult";
5924
+ earned: {
5925
+ __typename: "TokenAmount";
5926
+ usdPerToken: BigDecimal;
5927
+ amount: {
5928
+ __typename: "DecimalValue";
5929
+ raw: BigIntString;
5930
+ decimals: number;
5931
+ value: BigDecimal;
5932
+ };
5933
+ usd: BigDecimal;
5934
+ };
5935
+ breakdown: {
5936
+ __typename: "VaultUserActivityItem";
5937
+ balance: {
5938
+ __typename: "TokenAmount";
5939
+ usdPerToken: BigDecimal;
5940
+ amount: {
5941
+ __typename: "DecimalValue";
5942
+ raw: BigIntString;
5943
+ decimals: number;
5944
+ value: BigDecimal;
5945
+ };
5946
+ usd: BigDecimal;
5947
+ };
5948
+ earned: {
5949
+ __typename: "TokenAmount";
5950
+ usdPerToken: BigDecimal;
5951
+ amount: {
5952
+ __typename: "DecimalValue";
5953
+ raw: BigIntString;
5954
+ decimals: number;
5955
+ value: BigDecimal;
5956
+ };
5957
+ usd: BigDecimal;
5958
+ };
5959
+ withdrew: {
5960
+ __typename: "TokenAmount";
5961
+ usdPerToken: BigDecimal;
5962
+ amount: {
5963
+ __typename: "DecimalValue";
5964
+ raw: BigIntString;
5965
+ decimals: number;
5966
+ value: BigDecimal;
5967
+ };
5968
+ usd: BigDecimal;
5969
+ } | null;
5970
+ deposited: {
5971
+ __typename: "TokenAmount";
5972
+ usdPerToken: BigDecimal;
5973
+ amount: {
5974
+ __typename: "DecimalValue";
5975
+ raw: BigIntString;
5976
+ decimals: number;
5977
+ value: BigDecimal;
5978
+ };
5979
+ usd: BigDecimal;
5980
+ } | null;
5981
+ date: DateTime;
5982
+ }[];
5983
+ }, {}, {
5984
+ fragment: "VaultUserActivityResult";
5985
+ on: "VaultUserActivityResult";
5986
+ masked: false;
5987
+ }>;
5988
+ type VaultUserActivityResult = FragmentOf<typeof VaultUserActivityResultFragment>;
5854
5989
 
5855
5990
  /**
5856
5991
  * @internal
@@ -8887,8 +9022,8 @@ declare const VaultDepositQuery: gql_tada.TadaDocumentNode<{
8887
9022
  deadline: number;
8888
9023
  value: Signature;
8889
9024
  } | null | undefined;
9025
+ asAToken?: boolean | null | undefined;
8890
9026
  value: BigDecimal;
8891
- currency: EvmAddress;
8892
9027
  };
8893
9028
  vault: EvmAddress;
8894
9029
  };
@@ -9065,13 +9200,13 @@ declare const VaultWithdrawQuery: gql_tada.TadaDocumentNode<{
9065
9200
  recipient?: EvmAddress | null | undefined;
9066
9201
  authorizedUser?: EvmAddress | null | undefined;
9067
9202
  sharesOwner: EvmAddress;
9068
- underlyingToken: {
9203
+ amount: {
9069
9204
  permitSig?: {
9070
9205
  deadline: number;
9071
9206
  value: Signature;
9072
9207
  } | null | undefined;
9073
9208
  asAToken?: boolean | null | undefined;
9074
- amount: BigDecimal;
9209
+ value: BigDecimal;
9075
9210
  };
9076
9211
  vault: EvmAddress;
9077
9212
  };
@@ -12017,5 +12152,77 @@ type VaultUserTransactionHistoryRequest = RequestOf<typeof VaultUserTransactionH
12017
12152
  type VaultUserTransactionHistoryResult = {
12018
12153
  value: PaginatedVaultUserTransactionHistoryResult;
12019
12154
  };
12155
+ declare const VaultUserActivityQuery: gql_tada.TadaDocumentNode<{
12156
+ value: {
12157
+ __typename: "VaultUserActivityResult";
12158
+ earned: {
12159
+ __typename: "TokenAmount";
12160
+ usdPerToken: BigDecimal;
12161
+ amount: {
12162
+ __typename: "DecimalValue";
12163
+ raw: BigIntString;
12164
+ decimals: number;
12165
+ value: BigDecimal;
12166
+ };
12167
+ usd: BigDecimal;
12168
+ };
12169
+ breakdown: {
12170
+ __typename: "VaultUserActivityItem";
12171
+ balance: {
12172
+ __typename: "TokenAmount";
12173
+ usdPerToken: BigDecimal;
12174
+ amount: {
12175
+ __typename: "DecimalValue";
12176
+ raw: BigIntString;
12177
+ decimals: number;
12178
+ value: BigDecimal;
12179
+ };
12180
+ usd: BigDecimal;
12181
+ };
12182
+ earned: {
12183
+ __typename: "TokenAmount";
12184
+ usdPerToken: BigDecimal;
12185
+ amount: {
12186
+ __typename: "DecimalValue";
12187
+ raw: BigIntString;
12188
+ decimals: number;
12189
+ value: BigDecimal;
12190
+ };
12191
+ usd: BigDecimal;
12192
+ };
12193
+ withdrew: {
12194
+ __typename: "TokenAmount";
12195
+ usdPerToken: BigDecimal;
12196
+ amount: {
12197
+ __typename: "DecimalValue";
12198
+ raw: BigIntString;
12199
+ decimals: number;
12200
+ value: BigDecimal;
12201
+ };
12202
+ usd: BigDecimal;
12203
+ } | null;
12204
+ deposited: {
12205
+ __typename: "TokenAmount";
12206
+ usdPerToken: BigDecimal;
12207
+ amount: {
12208
+ __typename: "DecimalValue";
12209
+ raw: BigIntString;
12210
+ decimals: number;
12211
+ value: BigDecimal;
12212
+ };
12213
+ usd: BigDecimal;
12214
+ } | null;
12215
+ date: DateTime;
12216
+ }[];
12217
+ };
12218
+ }, {
12219
+ request: {
12220
+ window: VaultUserActivityTimeWindow;
12221
+ user: EvmAddress;
12222
+ chainId: ChainId;
12223
+ vault: EvmAddress;
12224
+ };
12225
+ }, void>;
12226
+ type VaultUserActivityRequest = RequestOf<typeof VaultUserActivityQuery>;
12020
12227
 
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 };
12228
+ 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 VaultUserActivityItem, VaultUserActivityItemFragment, VaultUserActivityQuery, type VaultUserActivityRequest, type VaultUserActivityResult, VaultUserActivityResultFragment, VaultUserActivityTimeWindow$1 as VaultUserActivityTimeWindow, 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 };