@aave/graphql 0.1.0 → 0.3.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
@@ -33,7 +33,6 @@ declare enum TimeWindow$1 {
33
33
  declare enum OperationType$1 {
34
34
  Borrow = "BORROW",
35
35
  Repay = "REPAY",
36
- ReserveDataUpdated = "RESERVE_DATA_UPDATED",
37
36
  ReserveUsedAsCollateralEnabled = "RESERVE_USED_AS_COLLATERAL_ENABLED",
38
37
  ReserveUsedAsCollateralDisabled = "RESERVE_USED_AS_COLLATERAL_DISABLED",
39
38
  Supply = "SUPPLY",
@@ -41,14 +40,9 @@ declare enum OperationType$1 {
41
40
  Withdraw = "WITHDRAW",
42
41
  VaultDeployed = "VAULT_DEPLOYED",
43
42
  VaultDeposit = "VAULT_DEPOSIT",
44
- VaultEmergencyRescue = "VAULT_EMERGENCY_RESCUE",
45
- VaultOwnershipTransferred = "VAULT_OWNERSHIP_TRANSFERRED",
46
43
  VaultFeeUpdated = "VAULT_FEE_UPDATED",
47
44
  VaultFeeWithdrawn = "VAULT_FEE_WITHDRAWN",
48
- VaultRewardClaimed = "VAULT_REWARD_CLAIMED",
49
- VaultTransfer = "VAULT_TRANSFER",
50
45
  VaultWithdraw = "VAULT_WITHDRAW",
51
- VaultYieldAccrued = "VAULT_YIELD_ACCRUED",
52
46
  Liquidation = "LIQUIDATION"
53
47
  }
54
48
  /**
@@ -59,6 +53,13 @@ declare enum ChainsFilter$1 {
59
53
  MAINNET_ONLY = "MAINNET_ONLY",
60
54
  ALL = "ALL"
61
55
  }
56
+ /**
57
+ * The action type for vault user history.
58
+ */
59
+ declare enum VaultUserHistoryAction$1 {
60
+ Deposit = "DEPOSIT",
61
+ Withdraw = "WITHDRAW"
62
+ }
62
63
 
63
64
  /* eslint-disable */
64
65
  /* prettier-ignore */
@@ -79,7 +80,7 @@ type introspection_types = {
79
80
  'BorrowAmountInput': { kind: 'INPUT_OBJECT'; name: 'BorrowAmountInput'; isOneOf: true; inputFields: [{ name: 'native'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowErc20AmountInput'; ofType: null; }; defaultValue: null }]; };
80
81
  'BorrowErc20AmountInput': { kind: 'INPUT_OBJECT'; name: 'BorrowErc20AmountInput'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }]; };
81
82
  'BorrowRequest': { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'BorrowAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'onBehalfOf'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
82
- 'Chain': { kind: 'OBJECT'; name: 'Chain'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'explorerUrl': { name: 'explorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'isTestnet': { name: 'isTestnet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
83
+ 'Chain': { kind: 'OBJECT'; name: 'Chain'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'explorerUrl': { name: 'explorerUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'isTestnet': { name: 'isTestnet'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'nativeWrappedToken': { name: 'nativeWrappedToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
83
84
  'ChainId': unknown;
84
85
  'ChainsFilter': { name: 'ChainsFilter'; enumValues: 'TESTNET_ONLY' | 'MAINNET_ONLY' | 'ALL'; };
85
86
  'CollateralToggleRequest': { kind: 'INPUT_OBJECT'; name: 'CollateralToggleRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'underlyingToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'user'; 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 }]; };
@@ -97,7 +98,12 @@ type introspection_types = {
97
98
  'Erc20AmountInput': { kind: 'INPUT_OBJECT'; name: 'Erc20AmountInput'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
98
99
  'EvmAddress': unknown;
99
100
  'ExecutionPlan': { kind: 'UNION'; name: 'ExecutionPlan'; fields: {}; possibleTypes: 'ApprovalRequired' | 'InsufficientBalanceError' | 'TransactionRequest'; };
101
+ 'ForkTopUpErc20': { kind: 'INPUT_OBJECT'; name: 'ForkTopUpErc20'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }]; };
102
+ 'ForkTopUpRequest': { kind: 'INPUT_OBJECT'; name: 'ForkTopUpRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'ForkTopUpErc20'; ofType: null; }; defaultValue: null }, { name: 'native'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }]; };
103
+ 'ForkTopUpResponse': { kind: 'OBJECT'; name: 'ForkTopUpResponse'; fields: { 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'txHash': { name: 'txHash'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; };
100
104
  'HasProcessedKnownTransactionRequest': { kind: 'INPUT_OBJECT'; name: 'HasProcessedKnownTransactionRequest'; isOneOf: false; inputFields: [{ name: 'operation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'OperationType'; ofType: null; }; }; defaultValue: null }, { name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }]; };
105
+ 'HealthFactorPreviewRequest': { kind: 'INPUT_OBJECT'; name: 'HealthFactorPreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
106
+ 'HealthFactorPreviewResponse': { kind: 'OBJECT'; name: 'HealthFactorPreviewResponse'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'before': { name: 'before'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
101
107
  'InsufficientBalanceError': { kind: 'OBJECT'; name: 'InsufficientBalanceError'; fields: { 'available': { name: 'available'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; 'required': { name: 'required'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalValue'; ofType: null; }; } }; }; };
102
108
  'Int': unknown;
103
109
  'LiquidateRequest': { kind: 'INPUT_OBJECT'; name: 'LiquidateRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'collateralToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'underlyingToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'debtToCover'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'DebtToCover'; ofType: null; }; }; defaultValue: "{max: true}" }, { name: 'receiveAToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
@@ -118,17 +124,19 @@ type introspection_types = {
118
124
  'MeritBorrowIncentive': { kind: 'OBJECT'; name: 'MeritBorrowIncentive'; fields: { 'borrowAprDiscount': { name: 'borrowAprDiscount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'claimLink': { name: 'claimLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; } }; }; };
119
125
  'MeritSupplyIncentive': { kind: 'OBJECT'; name: 'MeritSupplyIncentive'; fields: { 'claimLink': { name: 'claimLink'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'URL'; ofType: null; }; } }; 'extraSupplyApr': { name: 'extraSupplyApr'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; }; };
120
126
  'MessageData': { kind: 'OBJECT'; name: 'MessageData'; fields: { 'deadline': { name: 'deadline'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'nonce': { name: 'nonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'spender': { name: 'spender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; };
121
- 'NativeCurrency': { kind: 'OBJECT'; name: 'NativeCurrency'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'imageUrl': { name: 'imageUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'symbol': { name: 'symbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
122
- 'OperationType': { name: 'OperationType'; enumValues: 'BORROW' | 'REPAY' | 'RESERVE_DATA_UPDATED' | 'RESERVE_USED_AS_COLLATERAL_ENABLED' | 'RESERVE_USED_AS_COLLATERAL_DISABLED' | 'SUPPLY' | 'USER_EMODE_SET' | 'WITHDRAW' | 'VAULT_DEPLOYED' | 'VAULT_DEPOSIT' | 'VAULT_EMERGENCY_RESCUE' | 'VAULT_OWNERSHIP_TRANSFERRED' | 'VAULT_FEE_UPDATED' | 'VAULT_FEE_WITHDRAWN' | 'VAULT_REWARD_CLAIMED' | 'VAULT_TRANSFER' | 'VAULT_WITHDRAW' | 'VAULT_YIELD_ACCRUED' | 'LIQUIDATION'; };
127
+ 'NativeCurrency': { kind: 'OBJECT'; name: 'NativeCurrency'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'imageUrl': { name: 'imageUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'symbol': { name: 'symbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'wrappedToken': { name: 'wrappedToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
128
+ 'OperationType': { name: 'OperationType'; enumValues: 'BORROW' | 'REPAY' | 'RESERVE_USED_AS_COLLATERAL_ENABLED' | 'RESERVE_USED_AS_COLLATERAL_DISABLED' | 'SUPPLY' | 'USER_EMODE_SET' | 'WITHDRAW' | 'VAULT_DEPLOYED' | 'VAULT_DEPOSIT' | 'VAULT_FEE_UPDATED' | 'VAULT_FEE_WITHDRAWN' | 'VAULT_WITHDRAW' | 'LIQUIDATION'; };
123
129
  'OrderDirection': { name: 'OrderDirection'; enumValues: 'ASC' | 'DESC'; };
124
130
  'PageSize': { name: 'PageSize'; enumValues: 'TEN' | 'FIFTY'; };
125
131
  'PaginatedResultInfo': { kind: 'OBJECT'; name: 'PaginatedResultInfo'; fields: { 'next': { name: 'next'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; } }; 'prev': { name: 'prev'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; } }; }; };
126
132
  'PaginatedUserTransactionHistoryResult': { kind: 'OBJECT'; name: 'PaginatedUserTransactionHistoryResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UserTransactionItem'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; };
133
+ 'PaginatedVaultUserTransactionHistoryResult': { kind: 'OBJECT'; name: 'PaginatedVaultUserTransactionHistoryResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'VaultUserTransactionItem'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; };
127
134
  'PaginatedVaultsResult': { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Vault'; ofType: null; }; }; }; } }; 'pageInfo': { name: 'pageInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedResultInfo'; ofType: null; }; } }; }; };
128
135
  'PercentValue': { kind: 'OBJECT'; name: 'PercentValue'; fields: { 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'formatted': { name: 'formatted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'raw': { name: 'raw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
129
136
  'PermitRequest': { kind: 'INPUT_OBJECT'; name: 'PermitRequest'; isOneOf: false; inputFields: [{ name: 'spender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
130
137
  'PermitTypedDataResponse': { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; fields: { 'domain': { name: 'domain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DomainData'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MessageData'; ofType: null; }; } }; 'primaryType': { name: 'primaryType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'types': { name: 'types'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeDefinition'; ofType: null; }; } }; }; };
131
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { '_service': { name: '_service'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: '_Service'; ofType: null; }; } }; 'approveBorrowCreditDelegation': { name: 'approveBorrowCreditDelegation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'borrow': { name: 'borrow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'borrowAPYHistory': { name: 'borrowAPYHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'APYSample'; ofType: null; }; }; }; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'collateralToggle': { name: 'collateralToggle'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'creditDelegateeAllowance': { name: 'creditDelegateeAllowance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'hasProcessedKnownTransaction': { name: 'hasProcessedKnownTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'liquidate': { name: 'liquidate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'OBJECT'; name: 'Market'; ofType: null; } }; 'markets': { name: 'markets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Market'; ofType: null; }; }; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; ofType: null; }; } }; 'repay': { name: 'repay'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; } }; 'supply': { name: 'supply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'supplyAPYHistory': { name: 'supplyAPYHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'APYSample'; ofType: null; }; }; }; } }; 'usdExchangeRates': { name: 'usdExchangeRates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsdExchangeRate'; ofType: null; }; }; }; } }; 'userBorrows': { name: 'userBorrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserReserveBorrowPosition'; ofType: null; }; }; }; } }; 'userMarketState': { name: 'userMarketState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserState'; ofType: null; }; } }; 'userSetEmode': { name: 'userSetEmode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'userSupplies': { name: 'userSupplies'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserReserveSupplyPosition'; ofType: null; }; }; }; } }; 'userTransactionHistory': { name: 'userTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserTransactionHistoryResult'; ofType: null; }; } }; 'userVaults': { name: 'userVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'vault': { name: 'vault'; type: { kind: 'OBJECT'; name: 'Vault'; ofType: null; } }; 'vaultDeploy': { name: 'vaultDeploy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultDeposit': { name: 'vaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultMintShares': { name: 'vaultMintShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultPreviewDeposit': { name: 'vaultPreviewDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewMint': { name: 'vaultPreviewMint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewRedeem': { name: 'vaultPreviewRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewWithdraw': { name: 'vaultPreviewWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultRedeemShares': { name: 'vaultRedeemShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultSetFee': { name: 'vaultSetFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; '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; }; } }; }; };
138
+ 'PreviewAction': { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; isOneOf: true; inputFields: [{ name: 'supply'; type: { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; ofType: null; }; defaultValue: null }, { name: 'borrow'; type: { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; ofType: null; }; defaultValue: null }, { name: 'repay'; type: { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; ofType: null; }; defaultValue: null }, { name: 'withdraw'; type: { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; ofType: null; }; defaultValue: null }]; };
139
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'approveBorrowCreditDelegation': { name: 'approveBorrowCreditDelegation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'borrow': { name: 'borrow'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'borrowAPYHistory': { name: 'borrowAPYHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'APYSample'; ofType: null; }; }; }; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'collateralToggle': { name: 'collateralToggle'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'creditDelegateeAllowance': { name: 'creditDelegateeAllowance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; ofType: null; }; } }; 'hasProcessedKnownTransaction': { name: 'hasProcessedKnownTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'health': { name: 'health'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'healthFactorPreview': { name: 'healthFactorPreview'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorPreviewResponse'; ofType: null; }; } }; 'liquidate': { name: 'liquidate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'market': { name: 'market'; type: { kind: 'OBJECT'; name: 'Market'; ofType: null; } }; 'markets': { name: 'markets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Market'; ofType: null; }; }; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; ofType: null; }; } }; 'repay': { name: 'repay'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; } }; 'supply': { name: 'supply'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'supplyAPYHistory': { name: 'supplyAPYHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'APYSample'; ofType: null; }; }; }; } }; 'usdExchangeRates': { name: 'usdExchangeRates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UsdExchangeRate'; ofType: null; }; }; }; } }; 'userBorrows': { name: 'userBorrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserReserveBorrowPosition'; ofType: null; }; }; }; } }; 'userMarketState': { name: 'userMarketState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserState'; ofType: null; }; } }; 'userSetEmode': { name: 'userSetEmode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'userSupplies': { name: 'userSupplies'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketUserReserveSupplyPosition'; ofType: null; }; }; }; } }; 'userTransactionHistory': { name: 'userTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserTransactionHistoryResult'; ofType: null; }; } }; 'userVaults': { name: 'userVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'vault': { name: 'vault'; type: { kind: 'OBJECT'; name: 'Vault'; ofType: null; } }; 'vaultDeploy': { name: 'vaultDeploy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultDeposit': { name: 'vaultDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultMintShares': { name: 'vaultMintShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; 'vaultPreviewDeposit': { name: 'vaultPreviewDeposit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewMint': { name: 'vaultPreviewMint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewRedeem': { name: 'vaultPreviewRedeem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultPreviewWithdraw': { name: 'vaultPreviewWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'vaultRedeemShares': { name: 'vaultRedeemShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultSetFee': { name: 'vaultSetFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultUserTransactionHistory': { name: 'vaultUserTransactionHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultUserTransactionHistoryResult'; ofType: null; }; } }; 'vaultWithdraw': { name: 'vaultWithdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaultWithdrawFees': { name: 'vaultWithdrawFees'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'vaults': { name: 'vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedVaultsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; }; };
132
140
  'RepayRequest': { kind: 'INPUT_OBJECT'; name: 'RepayRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'onBehalfOf'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
133
141
  'Reserve': { kind: 'OBJECT'; name: 'Reserve'; fields: { 'aToken': { name: 'aToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'acceptsNative': { name: 'acceptsNative'; type: { kind: 'OBJECT'; name: 'NativeCurrency'; ofType: null; } }; 'borrowInfo': { name: 'borrowInfo'; type: { kind: 'OBJECT'; name: 'ReserveBorrowInfo'; ofType: null; } }; 'eModeInfo': { name: 'eModeInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'EmodeReserveInfo'; ofType: null; }; }; }; } }; 'flashLoanEnabled': { name: 'flashLoanEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'incentives': { name: 'incentives'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ReserveIncentive'; ofType: null; }; }; }; } }; 'isFrozen': { name: 'isFrozen'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isPaused': { name: 'isPaused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'isolationModeConfig': { name: 'isolationModeConfig'; type: { kind: 'OBJECT'; name: 'ReserveIsolationModeConfig'; ofType: null; } }; 'market': { name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MarketInfo'; ofType: null; }; } }; 'permitSupported': { name: 'permitSupported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'size': { name: 'size'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'supplyInfo': { name: 'supplyInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveSupplyInfo'; ofType: null; }; } }; 'underlyingToken': { name: 'underlyingToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; 'usdExchangeRate': { name: 'usdExchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; 'usdOracleAddress': { name: 'usdOracleAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'userState': { name: 'userState'; type: { kind: 'OBJECT'; name: 'ReserveUserState'; ofType: null; } }; 'vToken': { name: 'vToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Currency'; ofType: null; }; } }; }; };
134
142
  'ReserveBorrowInfo': { kind: 'OBJECT'; name: 'ReserveBorrowInfo'; fields: { 'apy': { name: 'apy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'availableLiquidity': { name: 'availableLiquidity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'borrowCap': { name: 'borrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'borrowCapReached': { name: 'borrowCapReached'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'borrowingState': { name: 'borrowingState'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReserveBorrowingState'; ofType: null; }; } }; 'optimalUsageRate': { name: 'optimalUsageRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'reserveFactor': { name: 'reserveFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'total': { name: 'total'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenAmount'; ofType: null; }; } }; 'utilizationRate': { name: 'utilizationRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'variableRateSlope1': { name: 'variableRateSlope1'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; 'variableRateSlope2': { name: 'variableRateSlope2'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentValue'; ofType: null; }; } }; }; };
@@ -184,6 +192,12 @@ type introspection_types = {
184
192
  '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 }]; };
185
193
  '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 }]; };
186
194
  '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 }]; };
195
+ '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; }; } }; }; };
196
+ 'VaultUserHistoryAction': { name: 'VaultUserHistoryAction'; enumValues: 'DEPOSIT' | 'WITHDRAW'; };
197
+ 'VaultUserTransactionHistoryOrderBy': { kind: 'INPUT_OBJECT'; name: 'VaultUserTransactionHistoryOrderBy'; isOneOf: true; inputFields: [{ name: 'date'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
198
+ '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 }]; };
199
+ 'VaultUserTransactionItem': { kind: 'UNION'; name: 'VaultUserTransactionItem'; fields: {}; possibleTypes: 'VaultUserDepositItem' | 'VaultUserWithdrawItem'; };
200
+ '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; }; } }; }; };
187
201
  '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 }]; };
188
202
  '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 }]; };
189
203
  '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 }]; };
@@ -194,7 +208,6 @@ type introspection_types = {
194
208
  'WithdrawErc20AmountInput': { kind: 'INPUT_OBJECT'; name: 'WithdrawErc20AmountInput'; 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: 'WithdrawAmount'; ofType: null; }; }; defaultValue: null }]; };
195
209
  'WithdrawNativeAmountInput': { kind: 'INPUT_OBJECT'; name: 'WithdrawNativeAmountInput'; isOneOf: false; inputFields: [{ name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'WithdrawAmount'; ofType: null; }; }; defaultValue: null }, { name: 'permitSig'; type: { kind: 'INPUT_OBJECT'; name: 'ERC712Signature'; ofType: null; }; defaultValue: null }]; };
196
210
  'WithdrawRequest': { kind: 'INPUT_OBJECT'; name: 'WithdrawRequest'; isOneOf: false; inputFields: [{ name: 'market'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'WithdrawAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
197
- '_Service': { kind: 'OBJECT'; name: '_Service'; fields: { 'sdl': { name: 'sdl'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; };
198
211
  };
199
212
 
200
213
  /** An IntrospectionQuery representation of your schema.
@@ -246,6 +259,7 @@ declare const graphql: initGraphQLTada<{
246
259
  TxHash: TxHash$1;
247
260
  Void: Void;
248
261
  TimeWindow: TimeWindow$1;
262
+ VaultUserHistoryAction: VaultUserHistoryAction$1;
249
263
  };
250
264
  }>;
251
265
  /**
@@ -319,6 +333,8 @@ declare const ChainFragment: gql_tada.TadaDocumentNode<{
319
333
  icon: string;
320
334
  chainId: ChainId;
321
335
  explorerUrl: string;
336
+ isTestnet: boolean;
337
+ nativeWrappedToken: EvmAddress;
322
338
  }, {}, {
323
339
  fragment: "Chain";
324
340
  on: "Chain";
@@ -370,6 +386,7 @@ declare const NativeCurrencyFragment: gql_tada.TadaDocumentNode<{
370
386
  symbol: string;
371
387
  decimals: number;
372
388
  chainId: ChainId;
389
+ wrappedToken: EvmAddress;
373
390
  }, {}, {
374
391
  fragment: "NativeCurrency";
375
392
  on: "NativeCurrency";
@@ -512,6 +529,8 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
512
529
  icon: string;
513
530
  chainId: ChainId;
514
531
  explorerUrl: string;
532
+ isTestnet: boolean;
533
+ nativeWrappedToken: EvmAddress;
515
534
  };
516
535
  address: EvmAddress;
517
536
  icon: string;
@@ -599,6 +618,8 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
599
618
  icon: string;
600
619
  chainId: ChainId;
601
620
  explorerUrl: string;
621
+ isTestnet: boolean;
622
+ nativeWrappedToken: EvmAddress;
602
623
  };
603
624
  address: EvmAddress;
604
625
  icon: string;
@@ -637,6 +658,7 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
637
658
  symbol: string;
638
659
  decimals: number;
639
660
  chainId: ChainId;
661
+ wrappedToken: EvmAddress;
640
662
  } | null;
641
663
  size: {
642
664
  __typename: "TokenAmount";
@@ -991,6 +1013,8 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
991
1013
  icon: string;
992
1014
  chainId: ChainId;
993
1015
  explorerUrl: string;
1016
+ isTestnet: boolean;
1017
+ nativeWrappedToken: EvmAddress;
994
1018
  };
995
1019
  address: EvmAddress;
996
1020
  icon: string;
@@ -1029,6 +1053,7 @@ declare const MarketFragment: gql_tada.TadaDocumentNode<{
1029
1053
  symbol: string;
1030
1054
  decimals: number;
1031
1055
  chainId: ChainId;
1056
+ wrappedToken: EvmAddress;
1032
1057
  } | null;
1033
1058
  size: {
1034
1059
  __typename: "TokenAmount";
@@ -1390,6 +1415,8 @@ declare const MarketUserReserveBorrowPositionFragment: gql_tada.TadaDocumentNode
1390
1415
  icon: string;
1391
1416
  chainId: ChainId;
1392
1417
  explorerUrl: string;
1418
+ isTestnet: boolean;
1419
+ nativeWrappedToken: EvmAddress;
1393
1420
  };
1394
1421
  address: EvmAddress;
1395
1422
  icon: string;
@@ -1438,6 +1465,8 @@ declare const MarketUserReserveSupplyPositionFragment: gql_tada.TadaDocumentNode
1438
1465
  icon: string;
1439
1466
  chainId: ChainId;
1440
1467
  explorerUrl: string;
1468
+ isTestnet: boolean;
1469
+ nativeWrappedToken: EvmAddress;
1441
1470
  };
1442
1471
  address: EvmAddress;
1443
1472
  icon: string;
@@ -1504,6 +1533,8 @@ declare const MarketInfoFragment: gql_tada.TadaDocumentNode<{
1504
1533
  icon: string;
1505
1534
  chainId: ChainId;
1506
1535
  explorerUrl: string;
1536
+ isTestnet: boolean;
1537
+ nativeWrappedToken: EvmAddress;
1507
1538
  };
1508
1539
  address: EvmAddress;
1509
1540
  icon: string;
@@ -1626,6 +1657,8 @@ declare const ReserveInfoFragment: gql_tada.TadaDocumentNode<{
1626
1657
  icon: string;
1627
1658
  chainId: ChainId;
1628
1659
  explorerUrl: string;
1660
+ isTestnet: boolean;
1661
+ nativeWrappedToken: EvmAddress;
1629
1662
  };
1630
1663
  address: EvmAddress;
1631
1664
  icon: string;
@@ -2025,6 +2058,8 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
2025
2058
  icon: string;
2026
2059
  chainId: ChainId;
2027
2060
  explorerUrl: string;
2061
+ isTestnet: boolean;
2062
+ nativeWrappedToken: EvmAddress;
2028
2063
  };
2029
2064
  address: EvmAddress;
2030
2065
  icon: string;
@@ -2063,6 +2098,7 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
2063
2098
  symbol: string;
2064
2099
  decimals: number;
2065
2100
  chainId: ChainId;
2101
+ wrappedToken: EvmAddress;
2066
2102
  } | null;
2067
2103
  size: {
2068
2104
  __typename: "TokenAmount";
@@ -2511,6 +2547,8 @@ declare const UserSupplyTransactionFragment: gql_tada.TadaDocumentNode<{
2511
2547
  icon: string;
2512
2548
  chainId: ChainId;
2513
2549
  explorerUrl: string;
2550
+ isTestnet: boolean;
2551
+ nativeWrappedToken: EvmAddress;
2514
2552
  };
2515
2553
  address: EvmAddress;
2516
2554
  icon: string;
@@ -2649,6 +2687,8 @@ declare const UserWithdrawTransactionFragment: gql_tada.TadaDocumentNode<{
2649
2687
  icon: string;
2650
2688
  chainId: ChainId;
2651
2689
  explorerUrl: string;
2690
+ isTestnet: boolean;
2691
+ nativeWrappedToken: EvmAddress;
2652
2692
  };
2653
2693
  address: EvmAddress;
2654
2694
  icon: string;
@@ -2787,6 +2827,8 @@ declare const UserBorrowTransactionFragment: gql_tada.TadaDocumentNode<{
2787
2827
  icon: string;
2788
2828
  chainId: ChainId;
2789
2829
  explorerUrl: string;
2830
+ isTestnet: boolean;
2831
+ nativeWrappedToken: EvmAddress;
2790
2832
  };
2791
2833
  address: EvmAddress;
2792
2834
  icon: string;
@@ -2925,6 +2967,8 @@ declare const UserRepayTransactionFragment: gql_tada.TadaDocumentNode<{
2925
2967
  icon: string;
2926
2968
  chainId: ChainId;
2927
2969
  explorerUrl: string;
2970
+ isTestnet: boolean;
2971
+ nativeWrappedToken: EvmAddress;
2928
2972
  };
2929
2973
  address: EvmAddress;
2930
2974
  icon: string;
@@ -3053,6 +3097,8 @@ declare const UserUsageAsCollateralTransactionFragment: gql_tada.TadaDocumentNod
3053
3097
  icon: string;
3054
3098
  chainId: ChainId;
3055
3099
  explorerUrl: string;
3100
+ isTestnet: boolean;
3101
+ nativeWrappedToken: EvmAddress;
3056
3102
  };
3057
3103
  address: EvmAddress;
3058
3104
  icon: string;
@@ -3180,6 +3226,8 @@ declare const LiquidationCollateralFragment: gql_tada.TadaDocumentNode<{
3180
3226
  icon: string;
3181
3227
  chainId: ChainId;
3182
3228
  explorerUrl: string;
3229
+ isTestnet: boolean;
3230
+ nativeWrappedToken: EvmAddress;
3183
3231
  };
3184
3232
  address: EvmAddress;
3185
3233
  icon: string;
@@ -3315,6 +3363,8 @@ declare const LiquidationRepaidDebtFragment: gql_tada.TadaDocumentNode<{
3315
3363
  icon: string;
3316
3364
  chainId: ChainId;
3317
3365
  explorerUrl: string;
3366
+ isTestnet: boolean;
3367
+ nativeWrappedToken: EvmAddress;
3318
3368
  };
3319
3369
  address: EvmAddress;
3320
3370
  icon: string;
@@ -3452,6 +3502,8 @@ declare const UserLiquidationCallTransactionFragment: gql_tada.TadaDocumentNode<
3452
3502
  icon: string;
3453
3503
  chainId: ChainId;
3454
3504
  explorerUrl: string;
3505
+ isTestnet: boolean;
3506
+ nativeWrappedToken: EvmAddress;
3455
3507
  };
3456
3508
  address: EvmAddress;
3457
3509
  icon: string;
@@ -3582,6 +3634,8 @@ declare const UserLiquidationCallTransactionFragment: gql_tada.TadaDocumentNode<
3582
3634
  icon: string;
3583
3635
  chainId: ChainId;
3584
3636
  explorerUrl: string;
3637
+ isTestnet: boolean;
3638
+ nativeWrappedToken: EvmAddress;
3585
3639
  };
3586
3640
  address: EvmAddress;
3587
3641
  icon: string;
@@ -3736,6 +3790,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
3736
3790
  icon: string;
3737
3791
  chainId: ChainId;
3738
3792
  explorerUrl: string;
3793
+ isTestnet: boolean;
3794
+ nativeWrappedToken: EvmAddress;
3739
3795
  };
3740
3796
  address: EvmAddress;
3741
3797
  icon: string;
@@ -3868,6 +3924,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
3868
3924
  icon: string;
3869
3925
  chainId: ChainId;
3870
3926
  explorerUrl: string;
3927
+ isTestnet: boolean;
3928
+ nativeWrappedToken: EvmAddress;
3871
3929
  };
3872
3930
  address: EvmAddress;
3873
3931
  icon: string;
@@ -4000,6 +4058,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
4000
4058
  icon: string;
4001
4059
  chainId: ChainId;
4002
4060
  explorerUrl: string;
4061
+ isTestnet: boolean;
4062
+ nativeWrappedToken: EvmAddress;
4003
4063
  };
4004
4064
  address: EvmAddress;
4005
4065
  icon: string;
@@ -4132,6 +4192,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
4132
4192
  icon: string;
4133
4193
  chainId: ChainId;
4134
4194
  explorerUrl: string;
4195
+ isTestnet: boolean;
4196
+ nativeWrappedToken: EvmAddress;
4135
4197
  };
4136
4198
  address: EvmAddress;
4137
4199
  icon: string;
@@ -4254,6 +4316,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
4254
4316
  icon: string;
4255
4317
  chainId: ChainId;
4256
4318
  explorerUrl: string;
4319
+ isTestnet: boolean;
4320
+ nativeWrappedToken: EvmAddress;
4257
4321
  };
4258
4322
  address: EvmAddress;
4259
4323
  icon: string;
@@ -4377,6 +4441,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
4377
4441
  icon: string;
4378
4442
  chainId: ChainId;
4379
4443
  explorerUrl: string;
4444
+ isTestnet: boolean;
4445
+ nativeWrappedToken: EvmAddress;
4380
4446
  };
4381
4447
  address: EvmAddress;
4382
4448
  icon: string;
@@ -4507,6 +4573,8 @@ declare const PaginatedUserTransactionHistoryResultFragment: gql_tada.TadaDocume
4507
4573
  icon: string;
4508
4574
  chainId: ChainId;
4509
4575
  explorerUrl: string;
4576
+ isTestnet: boolean;
4577
+ nativeWrappedToken: EvmAddress;
4510
4578
  };
4511
4579
  address: EvmAddress;
4512
4580
  icon: string;
@@ -4687,6 +4755,8 @@ declare const VaultFragment: gql_tada.TadaDocumentNode<{
4687
4755
  icon: string;
4688
4756
  chainId: ChainId;
4689
4757
  explorerUrl: string;
4758
+ isTestnet: boolean;
4759
+ nativeWrappedToken: EvmAddress;
4690
4760
  };
4691
4761
  address: EvmAddress;
4692
4762
  icon: string;
@@ -4725,6 +4795,7 @@ declare const VaultFragment: gql_tada.TadaDocumentNode<{
4725
4795
  symbol: string;
4726
4796
  decimals: number;
4727
4797
  chainId: ChainId;
4798
+ wrappedToken: EvmAddress;
4728
4799
  } | null;
4729
4800
  size: {
4730
4801
  __typename: "TokenAmount";
@@ -5169,6 +5240,8 @@ declare const PaginatedVaultsResultFragment: gql_tada.TadaDocumentNode<{
5169
5240
  icon: string;
5170
5241
  chainId: ChainId;
5171
5242
  explorerUrl: string;
5243
+ isTestnet: boolean;
5244
+ nativeWrappedToken: EvmAddress;
5172
5245
  };
5173
5246
  address: EvmAddress;
5174
5247
  icon: string;
@@ -5207,6 +5280,7 @@ declare const PaginatedVaultsResultFragment: gql_tada.TadaDocumentNode<{
5207
5280
  symbol: string;
5208
5281
  decimals: number;
5209
5282
  chainId: ChainId;
5283
+ wrappedToken: EvmAddress;
5210
5284
  } | null;
5211
5285
  size: {
5212
5286
  __typename: "TokenAmount";
@@ -5635,6 +5709,145 @@ declare const PaginatedVaultsResultFragment: gql_tada.TadaDocumentNode<{
5635
5709
  masked: false;
5636
5710
  }>;
5637
5711
  type PaginatedVaultsResult = FragmentOf<typeof PaginatedVaultsResultFragment>;
5712
+ declare const VaultUserDepositItemFragment: gql_tada.TadaDocumentNode<{
5713
+ __typename: "VaultUserDepositItem";
5714
+ asset: {
5715
+ __typename: "TokenAmount";
5716
+ usdPerToken: BigDecimal;
5717
+ amount: {
5718
+ __typename: "DecimalValue";
5719
+ raw: BigIntString;
5720
+ decimals: number;
5721
+ value: BigDecimal;
5722
+ };
5723
+ usd: BigDecimal;
5724
+ };
5725
+ shares: {
5726
+ __typename: "TokenAmount";
5727
+ usdPerToken: BigDecimal;
5728
+ amount: {
5729
+ __typename: "DecimalValue";
5730
+ raw: BigIntString;
5731
+ decimals: number;
5732
+ value: BigDecimal;
5733
+ };
5734
+ usd: BigDecimal;
5735
+ };
5736
+ blockExplorerUrl: string;
5737
+ txHash: TxHash;
5738
+ timestamp: DateTime;
5739
+ }, {}, {
5740
+ fragment: "VaultUserDepositItem";
5741
+ on: "VaultUserDepositItem";
5742
+ masked: false;
5743
+ }>;
5744
+ type VaultUserDepositItem = FragmentOf<typeof VaultUserDepositItemFragment>;
5745
+ declare const VaultUserWithdrawItemFragment: gql_tada.TadaDocumentNode<{
5746
+ __typename: "VaultUserWithdrawItem";
5747
+ asset: {
5748
+ __typename: "TokenAmount";
5749
+ usdPerToken: BigDecimal;
5750
+ amount: {
5751
+ __typename: "DecimalValue";
5752
+ raw: BigIntString;
5753
+ decimals: number;
5754
+ value: BigDecimal;
5755
+ };
5756
+ usd: BigDecimal;
5757
+ };
5758
+ shares: {
5759
+ __typename: "TokenAmount";
5760
+ usdPerToken: BigDecimal;
5761
+ amount: {
5762
+ __typename: "DecimalValue";
5763
+ raw: BigIntString;
5764
+ decimals: number;
5765
+ value: BigDecimal;
5766
+ };
5767
+ usd: BigDecimal;
5768
+ };
5769
+ blockExplorerUrl: string;
5770
+ txHash: TxHash;
5771
+ timestamp: DateTime;
5772
+ }, {}, {
5773
+ fragment: "VaultUserWithdrawItem";
5774
+ on: "VaultUserWithdrawItem";
5775
+ masked: false;
5776
+ }>;
5777
+ type VaultUserWithdrawItem = FragmentOf<typeof VaultUserWithdrawItemFragment>;
5778
+ type VaultUserTransactionItem = VaultUserDepositItem | VaultUserWithdrawItem;
5779
+ declare const VaultUserTransactionItemFragment: FragmentDocumentFor<VaultUserTransactionItem, 'VaultUserTransactionItem'>;
5780
+ /**
5781
+ * @internal
5782
+ */
5783
+ declare const PaginatedVaultUserTransactionHistoryResultFragment: gql_tada.TadaDocumentNode<{
5784
+ __typename: "PaginatedVaultUserTransactionHistoryResult";
5785
+ items: ({
5786
+ __typename: "VaultUserDepositItem";
5787
+ asset: {
5788
+ __typename: "TokenAmount";
5789
+ usdPerToken: BigDecimal;
5790
+ amount: {
5791
+ __typename: "DecimalValue";
5792
+ raw: BigIntString;
5793
+ decimals: number;
5794
+ value: BigDecimal;
5795
+ };
5796
+ usd: BigDecimal;
5797
+ };
5798
+ shares: {
5799
+ __typename: "TokenAmount";
5800
+ usdPerToken: BigDecimal;
5801
+ amount: {
5802
+ __typename: "DecimalValue";
5803
+ raw: BigIntString;
5804
+ decimals: number;
5805
+ value: BigDecimal;
5806
+ };
5807
+ usd: BigDecimal;
5808
+ };
5809
+ blockExplorerUrl: string;
5810
+ txHash: TxHash;
5811
+ timestamp: DateTime;
5812
+ } | {
5813
+ __typename: "VaultUserWithdrawItem";
5814
+ asset: {
5815
+ __typename: "TokenAmount";
5816
+ usdPerToken: BigDecimal;
5817
+ amount: {
5818
+ __typename: "DecimalValue";
5819
+ raw: BigIntString;
5820
+ decimals: number;
5821
+ value: BigDecimal;
5822
+ };
5823
+ usd: BigDecimal;
5824
+ };
5825
+ shares: {
5826
+ __typename: "TokenAmount";
5827
+ usdPerToken: BigDecimal;
5828
+ amount: {
5829
+ __typename: "DecimalValue";
5830
+ raw: BigIntString;
5831
+ decimals: number;
5832
+ value: BigDecimal;
5833
+ };
5834
+ usd: BigDecimal;
5835
+ };
5836
+ blockExplorerUrl: string;
5837
+ txHash: TxHash;
5838
+ timestamp: DateTime;
5839
+ })[];
5840
+ pageInfo: {
5841
+ __typename: "PaginatedResultInfo";
5842
+ prev: Cursor | null;
5843
+ next: Cursor | null;
5844
+ };
5845
+ }, {}, {
5846
+ fragment: "PaginatedVaultUserTransactionHistoryResult";
5847
+ on: "PaginatedVaultUserTransactionHistoryResult";
5848
+ masked: false;
5849
+ }>;
5850
+ type PaginatedVaultUserTransactionHistoryResult = FragmentOf<typeof PaginatedVaultUserTransactionHistoryResultFragment>;
5638
5851
 
5639
5852
  /**
5640
5853
  * @internal
@@ -5649,6 +5862,8 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
5649
5862
  icon: string;
5650
5863
  chainId: ChainId;
5651
5864
  explorerUrl: string;
5865
+ isTestnet: boolean;
5866
+ nativeWrappedToken: EvmAddress;
5652
5867
  };
5653
5868
  address: EvmAddress;
5654
5869
  icon: string;
@@ -5736,6 +5951,8 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
5736
5951
  icon: string;
5737
5952
  chainId: ChainId;
5738
5953
  explorerUrl: string;
5954
+ isTestnet: boolean;
5955
+ nativeWrappedToken: EvmAddress;
5739
5956
  };
5740
5957
  address: EvmAddress;
5741
5958
  icon: string;
@@ -5774,6 +5991,7 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
5774
5991
  symbol: string;
5775
5992
  decimals: number;
5776
5993
  chainId: ChainId;
5994
+ wrappedToken: EvmAddress;
5777
5995
  } | null;
5778
5996
  size: {
5779
5997
  __typename: "TokenAmount";
@@ -6128,6 +6346,8 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
6128
6346
  icon: string;
6129
6347
  chainId: ChainId;
6130
6348
  explorerUrl: string;
6349
+ isTestnet: boolean;
6350
+ nativeWrappedToken: EvmAddress;
6131
6351
  };
6132
6352
  address: EvmAddress;
6133
6353
  icon: string;
@@ -6166,6 +6386,7 @@ declare const MarketsQuery: gql_tada.TadaDocumentNode<{
6166
6386
  symbol: string;
6167
6387
  decimals: number;
6168
6388
  chainId: ChainId;
6389
+ wrappedToken: EvmAddress;
6169
6390
  } | null;
6170
6391
  size: {
6171
6392
  __typename: "TokenAmount";
@@ -6544,6 +6765,8 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
6544
6765
  icon: string;
6545
6766
  chainId: ChainId;
6546
6767
  explorerUrl: string;
6768
+ isTestnet: boolean;
6769
+ nativeWrappedToken: EvmAddress;
6547
6770
  };
6548
6771
  address: EvmAddress;
6549
6772
  icon: string;
@@ -6631,6 +6854,8 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
6631
6854
  icon: string;
6632
6855
  chainId: ChainId;
6633
6856
  explorerUrl: string;
6857
+ isTestnet: boolean;
6858
+ nativeWrappedToken: EvmAddress;
6634
6859
  };
6635
6860
  address: EvmAddress;
6636
6861
  icon: string;
@@ -6669,6 +6894,7 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
6669
6894
  symbol: string;
6670
6895
  decimals: number;
6671
6896
  chainId: ChainId;
6897
+ wrappedToken: EvmAddress;
6672
6898
  } | null;
6673
6899
  size: {
6674
6900
  __typename: "TokenAmount";
@@ -7023,6 +7249,8 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
7023
7249
  icon: string;
7024
7250
  chainId: ChainId;
7025
7251
  explorerUrl: string;
7252
+ isTestnet: boolean;
7253
+ nativeWrappedToken: EvmAddress;
7026
7254
  };
7027
7255
  address: EvmAddress;
7028
7256
  icon: string;
@@ -7061,6 +7289,7 @@ declare const MarketQuery: gql_tada.TadaDocumentNode<{
7061
7289
  symbol: string;
7062
7290
  decimals: number;
7063
7291
  chainId: ChainId;
7292
+ wrappedToken: EvmAddress;
7064
7293
  } | null;
7065
7294
  size: {
7066
7295
  __typename: "TokenAmount";
@@ -7487,6 +7716,8 @@ declare const ChainsQuery: gql_tada.TadaDocumentNode<{
7487
7716
  icon: string;
7488
7717
  chainId: ChainId;
7489
7718
  explorerUrl: string;
7719
+ isTestnet: boolean;
7720
+ nativeWrappedToken: EvmAddress;
7490
7721
  }[];
7491
7722
  }, {
7492
7723
  filter: ChainsFilter;
@@ -7546,6 +7777,110 @@ declare const UsdExchangeRatesQuery: gql_tada.TadaDocumentNode<{
7546
7777
  };
7547
7778
  }, void>;
7548
7779
  type UsdExchangeRatesRequest = RequestOf<typeof UsdExchangeRatesQuery>;
7780
+ declare const HealthFactorPreviewResponseFragment: gql_tada.TadaDocumentNode<{
7781
+ __typename: "HealthFactorPreviewResponse";
7782
+ before: BigDecimal;
7783
+ after: BigDecimal;
7784
+ }, {}, {
7785
+ fragment: "HealthFactorPreviewResponse";
7786
+ on: "HealthFactorPreviewResponse";
7787
+ masked: false;
7788
+ }>;
7789
+ type HealthFactorPreviewResponse = FragmentOf<typeof HealthFactorPreviewResponseFragment>;
7790
+ declare const HealthFactorPreviewQuery: gql_tada.TadaDocumentNode<{
7791
+ value: {
7792
+ __typename: "HealthFactorPreviewResponse";
7793
+ before: BigDecimal;
7794
+ after: BigDecimal;
7795
+ };
7796
+ }, {
7797
+ request: {
7798
+ action: {
7799
+ supply: {
7800
+ chainId: ChainId;
7801
+ onBehalfOf?: EvmAddress | null | undefined;
7802
+ sender: EvmAddress;
7803
+ amount: {
7804
+ native: BigDecimal;
7805
+ } | {
7806
+ erc20: {
7807
+ permitSig?: {
7808
+ deadline: number;
7809
+ value: Signature;
7810
+ } | null | undefined;
7811
+ value: BigDecimal;
7812
+ currency: EvmAddress;
7813
+ };
7814
+ };
7815
+ market: EvmAddress;
7816
+ };
7817
+ } | {
7818
+ borrow: {
7819
+ chainId: ChainId;
7820
+ onBehalfOf?: EvmAddress | null | undefined;
7821
+ sender: EvmAddress;
7822
+ amount: {
7823
+ native: BigDecimal;
7824
+ } | {
7825
+ erc20: {
7826
+ value: BigDecimal;
7827
+ currency: EvmAddress;
7828
+ };
7829
+ };
7830
+ market: EvmAddress;
7831
+ };
7832
+ } | {
7833
+ repay: {
7834
+ chainId: ChainId;
7835
+ onBehalfOf?: EvmAddress | null | undefined;
7836
+ sender: EvmAddress;
7837
+ amount: {
7838
+ native: BigDecimal;
7839
+ } | {
7840
+ erc20: {
7841
+ permitSig?: {
7842
+ deadline: number;
7843
+ value: Signature;
7844
+ } | null | undefined;
7845
+ value: BigDecimal;
7846
+ currency: EvmAddress;
7847
+ };
7848
+ };
7849
+ market: EvmAddress;
7850
+ };
7851
+ } | {
7852
+ withdraw: {
7853
+ chainId: ChainId;
7854
+ recipient?: EvmAddress | null | undefined;
7855
+ sender: EvmAddress;
7856
+ amount: {
7857
+ native: {
7858
+ permitSig?: {
7859
+ deadline: number;
7860
+ value: Signature;
7861
+ } | null | undefined;
7862
+ value: {
7863
+ exact: BigDecimal;
7864
+ } | {
7865
+ max: true;
7866
+ };
7867
+ };
7868
+ } | {
7869
+ erc20: {
7870
+ value: {
7871
+ exact: BigDecimal;
7872
+ } | {
7873
+ max: true;
7874
+ };
7875
+ currency: EvmAddress;
7876
+ };
7877
+ };
7878
+ market: EvmAddress;
7879
+ };
7880
+ };
7881
+ };
7882
+ }, void>;
7883
+ type HealthFactorPreviewRequest = RequestOf<typeof HealthFactorPreviewQuery>;
7549
7884
 
7550
7885
  declare const TypeFieldFragment: gql_tada.TadaDocumentNode<{
7551
7886
  name: string;
@@ -7725,6 +8060,8 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
7725
8060
  icon: string;
7726
8061
  chainId: ChainId;
7727
8062
  explorerUrl: string;
8063
+ isTestnet: boolean;
8064
+ nativeWrappedToken: EvmAddress;
7728
8065
  };
7729
8066
  address: EvmAddress;
7730
8067
  icon: string;
@@ -7763,6 +8100,7 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
7763
8100
  symbol: string;
7764
8101
  decimals: number;
7765
8102
  chainId: ChainId;
8103
+ wrappedToken: EvmAddress;
7766
8104
  } | null;
7767
8105
  size: {
7768
8106
  __typename: "TokenAmount";
@@ -8856,6 +9194,55 @@ declare const LiquidateQuery: gql_tada.TadaDocumentNode<{
8856
9194
  };
8857
9195
  }, void>;
8858
9196
  type LiquidateRequest = RequestOf<typeof LiquidateQuery>;
9197
+ /**
9198
+ * @internal
9199
+ */
9200
+ declare const ApproveBorrowCreditDelegationQuery: gql_tada.TadaDocumentNode<{
9201
+ value: {
9202
+ __typename: "TransactionRequest";
9203
+ to: EvmAddress;
9204
+ from: EvmAddress;
9205
+ data: BlockchainData;
9206
+ value: BigIntString;
9207
+ chainId: ChainId;
9208
+ operation: OperationType | null;
9209
+ };
9210
+ }, {
9211
+ request: {
9212
+ chainId: ChainId;
9213
+ delegatee: EvmAddress;
9214
+ user: EvmAddress;
9215
+ amount: BigDecimal;
9216
+ underlyingToken: EvmAddress;
9217
+ market: EvmAddress;
9218
+ };
9219
+ }, void>;
9220
+ type ApproveBorrowCreditDelegatorRequest = RequestOf<typeof ApproveBorrowCreditDelegationQuery>;
9221
+ /**
9222
+ * @internal
9223
+ */
9224
+ declare const CreditDelegateeAllowanceQuery: gql_tada.TadaDocumentNode<{
9225
+ value: {
9226
+ __typename: "TokenAmount";
9227
+ usdPerToken: BigDecimal;
9228
+ amount: {
9229
+ __typename: "DecimalValue";
9230
+ raw: BigIntString;
9231
+ decimals: number;
9232
+ value: BigDecimal;
9233
+ };
9234
+ usd: BigDecimal;
9235
+ };
9236
+ }, {
9237
+ request: {
9238
+ chainId: ChainId;
9239
+ delegatee: EvmAddress;
9240
+ user: EvmAddress;
9241
+ underlyingToken: EvmAddress;
9242
+ market: EvmAddress;
9243
+ };
9244
+ }, void>;
9245
+ type CreditDelegateeAmountRequest = RequestOf<typeof CreditDelegateeAllowanceQuery>;
8859
9246
 
8860
9247
  declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
8861
9248
  value: {
@@ -8869,6 +9256,8 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
8869
9256
  icon: string;
8870
9257
  chainId: ChainId;
8871
9258
  explorerUrl: string;
9259
+ isTestnet: boolean;
9260
+ nativeWrappedToken: EvmAddress;
8872
9261
  };
8873
9262
  address: EvmAddress;
8874
9263
  icon: string;
@@ -8935,6 +9324,8 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
8935
9324
  icon: string;
8936
9325
  chainId: ChainId;
8937
9326
  explorerUrl: string;
9327
+ isTestnet: boolean;
9328
+ nativeWrappedToken: EvmAddress;
8938
9329
  };
8939
9330
  address: EvmAddress;
8940
9331
  icon: string;
@@ -9011,6 +9402,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9011
9402
  icon: string;
9012
9403
  chainId: ChainId;
9013
9404
  explorerUrl: string;
9405
+ isTestnet: boolean;
9406
+ nativeWrappedToken: EvmAddress;
9014
9407
  };
9015
9408
  address: EvmAddress;
9016
9409
  icon: string;
@@ -9143,6 +9536,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9143
9536
  icon: string;
9144
9537
  chainId: ChainId;
9145
9538
  explorerUrl: string;
9539
+ isTestnet: boolean;
9540
+ nativeWrappedToken: EvmAddress;
9146
9541
  };
9147
9542
  address: EvmAddress;
9148
9543
  icon: string;
@@ -9275,6 +9670,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9275
9670
  icon: string;
9276
9671
  chainId: ChainId;
9277
9672
  explorerUrl: string;
9673
+ isTestnet: boolean;
9674
+ nativeWrappedToken: EvmAddress;
9278
9675
  };
9279
9676
  address: EvmAddress;
9280
9677
  icon: string;
@@ -9407,6 +9804,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9407
9804
  icon: string;
9408
9805
  chainId: ChainId;
9409
9806
  explorerUrl: string;
9807
+ isTestnet: boolean;
9808
+ nativeWrappedToken: EvmAddress;
9410
9809
  };
9411
9810
  address: EvmAddress;
9412
9811
  icon: string;
@@ -9529,6 +9928,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9529
9928
  icon: string;
9530
9929
  chainId: ChainId;
9531
9930
  explorerUrl: string;
9931
+ isTestnet: boolean;
9932
+ nativeWrappedToken: EvmAddress;
9532
9933
  };
9533
9934
  address: EvmAddress;
9534
9935
  icon: string;
@@ -9652,6 +10053,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9652
10053
  icon: string;
9653
10054
  chainId: ChainId;
9654
10055
  explorerUrl: string;
10056
+ isTestnet: boolean;
10057
+ nativeWrappedToken: EvmAddress;
9655
10058
  };
9656
10059
  address: EvmAddress;
9657
10060
  icon: string;
@@ -9782,6 +10185,8 @@ declare const UserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
9782
10185
  icon: string;
9783
10186
  chainId: ChainId;
9784
10187
  explorerUrl: string;
10188
+ isTestnet: boolean;
10189
+ nativeWrappedToken: EvmAddress;
9785
10190
  };
9786
10191
  address: EvmAddress;
9787
10192
  icon: string;
@@ -9945,6 +10350,8 @@ declare const VaultQuery: gql_tada.TadaDocumentNode<{
9945
10350
  icon: string;
9946
10351
  chainId: ChainId;
9947
10352
  explorerUrl: string;
10353
+ isTestnet: boolean;
10354
+ nativeWrappedToken: EvmAddress;
9948
10355
  };
9949
10356
  address: EvmAddress;
9950
10357
  icon: string;
@@ -9983,6 +10390,7 @@ declare const VaultQuery: gql_tada.TadaDocumentNode<{
9983
10390
  symbol: string;
9984
10391
  decimals: number;
9985
10392
  chainId: ChainId;
10393
+ wrappedToken: EvmAddress;
9986
10394
  } | null;
9987
10395
  size: {
9988
10396
  __typename: "TokenAmount";
@@ -10435,6 +10843,8 @@ declare const VaultsQuery: gql_tada.TadaDocumentNode<{
10435
10843
  icon: string;
10436
10844
  chainId: ChainId;
10437
10845
  explorerUrl: string;
10846
+ isTestnet: boolean;
10847
+ nativeWrappedToken: EvmAddress;
10438
10848
  };
10439
10849
  address: EvmAddress;
10440
10850
  icon: string;
@@ -10473,6 +10883,7 @@ declare const VaultsQuery: gql_tada.TadaDocumentNode<{
10473
10883
  symbol: string;
10474
10884
  decimals: number;
10475
10885
  chainId: ChainId;
10886
+ wrappedToken: EvmAddress;
10476
10887
  } | null;
10477
10888
  size: {
10478
10889
  __typename: "TokenAmount";
@@ -10935,6 +11346,8 @@ declare const UserVaultsQuery: gql_tada.TadaDocumentNode<{
10935
11346
  icon: string;
10936
11347
  chainId: ChainId;
10937
11348
  explorerUrl: string;
11349
+ isTestnet: boolean;
11350
+ nativeWrappedToken: EvmAddress;
10938
11351
  };
10939
11352
  address: EvmAddress;
10940
11353
  icon: string;
@@ -10973,6 +11386,7 @@ declare const UserVaultsQuery: gql_tada.TadaDocumentNode<{
10973
11386
  symbol: string;
10974
11387
  decimals: number;
10975
11388
  chainId: ChainId;
11389
+ wrappedToken: EvmAddress;
10976
11390
  } | null;
10977
11391
  size: {
10978
11392
  __typename: "TokenAmount";
@@ -11508,5 +11922,89 @@ declare const VaultPreviewRedeemQuery: gql_tada.TadaDocumentNode<{
11508
11922
  };
11509
11923
  }, void>;
11510
11924
  type VaultPreviewRedeemRequest = RequestOf<typeof VaultPreviewRedeemQuery>;
11925
+ /**
11926
+ * @internal
11927
+ */
11928
+ declare const VaultUserTransactionHistoryQuery: gql_tada.TadaDocumentNode<{
11929
+ value: {
11930
+ __typename: "PaginatedVaultUserTransactionHistoryResult";
11931
+ items: ({
11932
+ __typename: "VaultUserDepositItem";
11933
+ asset: {
11934
+ __typename: "TokenAmount";
11935
+ usdPerToken: BigDecimal;
11936
+ amount: {
11937
+ __typename: "DecimalValue";
11938
+ raw: BigIntString;
11939
+ decimals: number;
11940
+ value: BigDecimal;
11941
+ };
11942
+ usd: BigDecimal;
11943
+ };
11944
+ shares: {
11945
+ __typename: "TokenAmount";
11946
+ usdPerToken: BigDecimal;
11947
+ amount: {
11948
+ __typename: "DecimalValue";
11949
+ raw: BigIntString;
11950
+ decimals: number;
11951
+ value: BigDecimal;
11952
+ };
11953
+ usd: BigDecimal;
11954
+ };
11955
+ blockExplorerUrl: string;
11956
+ txHash: TxHash;
11957
+ timestamp: DateTime;
11958
+ } | {
11959
+ __typename: "VaultUserWithdrawItem";
11960
+ asset: {
11961
+ __typename: "TokenAmount";
11962
+ usdPerToken: BigDecimal;
11963
+ amount: {
11964
+ __typename: "DecimalValue";
11965
+ raw: BigIntString;
11966
+ decimals: number;
11967
+ value: BigDecimal;
11968
+ };
11969
+ usd: BigDecimal;
11970
+ };
11971
+ shares: {
11972
+ __typename: "TokenAmount";
11973
+ usdPerToken: BigDecimal;
11974
+ amount: {
11975
+ __typename: "DecimalValue";
11976
+ raw: BigIntString;
11977
+ decimals: number;
11978
+ value: BigDecimal;
11979
+ };
11980
+ usd: BigDecimal;
11981
+ };
11982
+ blockExplorerUrl: string;
11983
+ txHash: TxHash;
11984
+ timestamp: DateTime;
11985
+ })[];
11986
+ pageInfo: {
11987
+ __typename: "PaginatedResultInfo";
11988
+ prev: Cursor | null;
11989
+ next: Cursor | null;
11990
+ };
11991
+ };
11992
+ }, {
11993
+ request: {
11994
+ cursor?: Cursor | null | undefined;
11995
+ pageSize?: PageSize | null | undefined;
11996
+ orderBy?: {
11997
+ date: OrderDirection;
11998
+ } | null | undefined;
11999
+ filter?: VaultUserHistoryAction[] | null | undefined;
12000
+ user: EvmAddress;
12001
+ chainId: ChainId;
12002
+ vault: EvmAddress;
12003
+ };
12004
+ }, void>;
12005
+ type VaultUserTransactionHistoryRequest = RequestOf<typeof VaultUserTransactionHistoryQuery>;
12006
+ type VaultUserTransactionHistoryResult = {
12007
+ value: PaginatedVaultUserTransactionHistoryResult;
12008
+ };
11511
12009
 
11512
- export { type APYSample, APYSampleFragment, type AaveBorrowIncentive, AaveBorrowIncentiveFragment, type AaveSupplyIncentive, AaveSupplyIncentiveFragment, type AnySelectionSet, type AnyVariables, type ApprovalRequired, ApprovalRequiredFragment, BorrowAPYHistoryQuery, type BorrowAPYHistoryRequest, BorrowQuery, type BorrowRequest, type Chain, ChainFragment, ChainsFilter$1 as ChainsFilter, ChainsQuery, CollateralToggleQuery, type CollateralToggleRequest, type Currency, CurrencyFragment, type DecimalValue, DecimalValueFragment, type DomainData, DomainDataFragment, type ERC712Signature, type EmodeMarketCategory, EmodeMarketCategoryFragment, type EmodeMarketReserveInfo, EmodeMarketReserveInfoFragment, type EmodeReserveInfo, EmodeReserveInfoFragment, type ExecutionPlan, ExecutionPlanFragment, type FragmentDocumentFor, type FragmentShape, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, HealthQuery, type InsufficientBalanceError, InsufficientBalanceErrorFragment, LiquidateQuery, type LiquidateRequest, type LiquidationCollateral, LiquidationCollateralFragment, type LiquidationRepaidDebt, LiquidationRepaidDebtFragment, type Market, MarketFragment, type MarketInfo, MarketInfoFragment, MarketQuery, type MarketRequest, type MarketReservesRequestOrderBy, type MarketUserReserveBorrowPosition, MarketUserReserveBorrowPositionFragment, type MarketUserReserveSupplyPosition, MarketUserReserveSupplyPositionFragment, type MarketUserState, MarketUserStateFragment, MarketsQuery, type MarketsRequest, type MeritBorrowAndSupplyIncentiveCondition, MeritBorrowAndSupplyIncentiveConditionFragment, type MeritBorrowIncentive, MeritBorrowIncentiveFragment, type MeritSupplyIncentive, MeritSupplyIncentiveFragment, type MessageData, MessageDataFragment, type NativeCurrency, NativeCurrencyFragment, OperationType$1 as OperationType, type OrderByUserCriteria, OrderDirection$1 as OrderDirection, PageSize$1 as PageSize, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedUserTransactionHistoryResult, PaginatedUserTransactionHistoryResultFragment, type 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, VaultWithdrawFeesQuery, type VaultWithdrawFeesRequest, VaultWithdrawQuery, type VaultWithdrawRequest, VaultsQuery, type VaultsRequest, WithdrawQuery, type WithdrawRequest, type __FutureProofUnion, assertTypename, graphql };
12010
+ 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 };