@aave/graphql 0.4.0 → 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.cjs +117 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +208 -2
- package/dist/index.d.ts +208 -2
- package/dist/index.js +117 -90
- package/dist/index.js.map +1 -1
- package/dist/test-utils.cjs +46 -0
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +46 -0
- package/dist/test-utils.js.map +1 -1
- package/package.json +1 -1
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 }]; };
|
|
@@ -196,6 +205,10 @@ type introspection_types = {
|
|
|
196
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 }]; };
|
|
197
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 }]; };
|
|
198
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'; };
|
|
199
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; }; } }; }; };
|
|
200
213
|
'VaultUserHistoryAction': { name: 'VaultUserHistoryAction'; enumValues: 'DEPOSIT' | 'WITHDRAW'; };
|
|
201
214
|
'VaultUserTransactionHistoryOrderBy': { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryOrderBy'; isOneOf: true; inputFields: [{ name: 'date'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -264,6 +277,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
264
277
|
Void: Void;
|
|
265
278
|
TimeWindow: TimeWindow$1;
|
|
266
279
|
VaultUserHistoryAction: VaultUserHistoryAction$1;
|
|
280
|
+
VaultUserActivityTimeWindow: VaultUserActivityTimeWindow$1;
|
|
267
281
|
};
|
|
268
282
|
}>;
|
|
269
283
|
/**
|
|
@@ -5852,6 +5866,126 @@ declare const PaginatedVaultUserTransactionHistoryResultFragment: gql_tada.TadaD
|
|
|
5852
5866
|
masked: false;
|
|
5853
5867
|
}>;
|
|
5854
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>;
|
|
5855
5989
|
|
|
5856
5990
|
/**
|
|
5857
5991
|
* @internal
|
|
@@ -12018,5 +12152,77 @@ type VaultUserTransactionHistoryRequest = RequestOf<typeof VaultUserTransactionH
|
|
|
12018
12152
|
type VaultUserTransactionHistoryResult = {
|
|
12019
12153
|
value: PaginatedVaultUserTransactionHistoryResult;
|
|
12020
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>;
|
|
12021
12227
|
|
|
12022
|
-
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 };
|
package/dist/index.d.ts
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 }]; };
|
|
@@ -196,6 +205,10 @@ type introspection_types = {
|
|
|
196
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 }]; };
|
|
197
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 }]; };
|
|
198
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'; };
|
|
199
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; }; } }; }; };
|
|
200
213
|
'VaultUserHistoryAction': { name: 'VaultUserHistoryAction'; enumValues: 'DEPOSIT' | 'WITHDRAW'; };
|
|
201
214
|
'VaultUserTransactionHistoryOrderBy': { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryOrderBy'; isOneOf: true; inputFields: [{ name: 'date'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -264,6 +277,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
264
277
|
Void: Void;
|
|
265
278
|
TimeWindow: TimeWindow$1;
|
|
266
279
|
VaultUserHistoryAction: VaultUserHistoryAction$1;
|
|
280
|
+
VaultUserActivityTimeWindow: VaultUserActivityTimeWindow$1;
|
|
267
281
|
};
|
|
268
282
|
}>;
|
|
269
283
|
/**
|
|
@@ -5852,6 +5866,126 @@ declare const PaginatedVaultUserTransactionHistoryResultFragment: gql_tada.TadaD
|
|
|
5852
5866
|
masked: false;
|
|
5853
5867
|
}>;
|
|
5854
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>;
|
|
5855
5989
|
|
|
5856
5990
|
/**
|
|
5857
5991
|
* @internal
|
|
@@ -12018,5 +12152,77 @@ type VaultUserTransactionHistoryRequest = RequestOf<typeof VaultUserTransactionH
|
|
|
12018
12152
|
type VaultUserTransactionHistoryResult = {
|
|
12019
12153
|
value: PaginatedVaultUserTransactionHistoryResult;
|
|
12020
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>;
|
|
12021
12227
|
|
|
12022
|
-
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 };
|