@aave/graphql 1.0.0-next.7 → 1.0.0-next.9
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 +265 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1460 -830
- package/dist/index.d.ts +1460 -830
- package/dist/index.js +265 -155
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/test-utils.cjs +47 -36
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +47 -36
- package/dist/test-utils.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -96,6 +96,13 @@ declare enum ApyMetric {
|
|
|
96
96
|
Lowest = "LOWEST",
|
|
97
97
|
Average = "AVERAGE"
|
|
98
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* The collateral metric for comparing collateral factors.
|
|
101
|
+
*/
|
|
102
|
+
declare enum CollateralMetric {
|
|
103
|
+
Highest = "HIGHEST",
|
|
104
|
+
Lowest = "LOWEST"
|
|
105
|
+
}
|
|
99
106
|
/**
|
|
100
107
|
* The currency for fiat amounts.
|
|
101
108
|
*/
|
|
@@ -137,6 +144,13 @@ declare enum TokenCategory {
|
|
|
137
144
|
Stablecoin = "STABLECOIN",
|
|
138
145
|
EthCorrelated = "ETH_CORRELATED"
|
|
139
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* The update type for user position conditions.
|
|
149
|
+
*/
|
|
150
|
+
declare enum UserPositionConditionsUpdate {
|
|
151
|
+
AllDynamicConfig = "ALL_DYNAMIC_CONFIG",
|
|
152
|
+
JustRiskPremium = "JUST_RISK_PREMIUM"
|
|
153
|
+
}
|
|
140
154
|
|
|
141
155
|
/* eslint-disable */
|
|
142
156
|
/* prettier-ignore */
|
|
@@ -184,11 +198,12 @@ type introspection_types = {
|
|
|
184
198
|
'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; }; } }; 'isFork': { name: 'isFork'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; 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; }; } }; 'nativeGateway': { name: 'nativeGateway'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'nativeInfo': { name: 'nativeInfo'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'nativeWrappedToken': { name: 'nativeWrappedToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'rpcUrl': { name: 'rpcUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signatureGateway': { name: 'signatureGateway'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
185
199
|
'ChainId': unknown;
|
|
186
200
|
'ChainRequest': { kind: 'INPUT_OBJECT'; name: 'ChainRequest'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
|
|
201
|
+
'ChainTokenCategories': { kind: 'INPUT_OBJECT'; name: 'ChainTokenCategories'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'categories'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; }; }; defaultValue: null }]; };
|
|
187
202
|
'ChainTokenInput': { kind: 'INPUT_OBJECT'; name: 'ChainTokenInput'; isOneOf: false; inputFields: [{ name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'TokenInput'; ofType: null; }; }; defaultValue: null }]; };
|
|
188
203
|
'ChainsFilter': { name: 'ChainsFilter'; enumValues: 'TESTNET_ONLY' | 'MAINNET_ONLY' | 'ALL'; };
|
|
189
204
|
'ChainsRequest': { kind: 'INPUT_OBJECT'; name: 'ChainsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ChainsRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
|
|
190
205
|
'ChainsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ChainsRequestQuery'; isOneOf: true; inputFields: [{ name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'filter'; type: { kind: 'ENUM'; name: 'ChainsFilter'; ofType: null; }; defaultValue: null }]; };
|
|
191
|
-
'
|
|
206
|
+
'CollateralFactorVariation': { kind: 'OBJECT'; name: 'CollateralFactorVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
192
207
|
'CollateralMetric': { name: 'CollateralMetric'; enumValues: 'HIGHEST' | 'LOWEST'; };
|
|
193
208
|
'Currency': { name: 'Currency'; enumValues: 'USD' | 'GBP' | 'EUR'; };
|
|
194
209
|
'Cursor': unknown;
|
|
@@ -197,9 +212,6 @@ type introspection_types = {
|
|
|
197
212
|
'DecimalNumberWithChange': { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; fields: { 'change': { name: 'change'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; }; };
|
|
198
213
|
'DomainData': { kind: 'OBJECT'; name: 'DomainData'; fields: { 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'verifyingContract': { name: 'verifyingContract'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'version': { name: 'version'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
|
|
199
214
|
'DynamicConfigKey': unknown;
|
|
200
|
-
'DynamicConfigUserPositionCollateralFactorVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionCollateralFactorVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
201
|
-
'DynamicConfigUserPositionLiquidationFeeVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionLiquidationFeeVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
202
|
-
'DynamicConfigUserPositionMaxLiquidationBonusVariation': { kind: 'OBJECT'; name: 'DynamicConfigUserPositionMaxLiquidationBonusVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
203
215
|
'ERC20PermitSignature': { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; isOneOf: false; inputFields: [{ name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; }; defaultValue: null }, { name: 'deadline'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; defaultValue: null }]; };
|
|
204
216
|
'EarningPeriod': { name: 'EarningPeriod'; enumValues: 'ANNUAL'; };
|
|
205
217
|
'Erc20Amount': { kind: 'OBJECT'; name: 'Erc20Amount'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'isWrappedNative': { name: 'isWrappedNative'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
@@ -208,7 +220,7 @@ type introspection_types = {
|
|
|
208
220
|
'Erc20Token': { kind: 'OBJECT'; name: 'Erc20Token'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'isWrappedNativeToken': { name: 'isWrappedNativeToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'permitSupported': { name: 'permitSupported'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
|
|
209
221
|
'EvmAddress': unknown;
|
|
210
222
|
'ExchangeAmount': { kind: 'OBJECT'; name: 'ExchangeAmount'; fields: { 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'icon': { name: 'icon'; 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; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; } }; }; };
|
|
211
|
-
'
|
|
223
|
+
'ExchangeAmountVariation': { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
212
224
|
'ExchangeAmountWithChange': { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; fields: { 'change': { name: 'change'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
213
225
|
'ExchangeRateRequest': { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequest'; isOneOf: false; inputFields: [{ name: 'from'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequestFrom'; ofType: null; }; }; defaultValue: null }, { name: 'to'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: null }, { name: 'at'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; defaultValue: null }]; };
|
|
214
226
|
'ExchangeRateRequestFrom': { kind: 'INPUT_OBJECT'; name: 'ExchangeRateRequestFrom'; isOneOf: true; inputFields: [{ name: 'fiat'; type: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'native'; type: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -251,6 +263,8 @@ type introspection_types = {
|
|
|
251
263
|
'LiquidatePositionExecutionPlan': { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; fields: {}; possibleTypes: 'Erc20ApprovalRequired' | 'InsufficientBalanceError' | 'TransactionRequest'; };
|
|
252
264
|
'LiquidatePositionRequest': { kind: 'INPUT_OBJECT'; name: 'LiquidatePositionRequest'; isOneOf: false; inputFields: [{ name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'LiquidatePositionDebtAmount'; ofType: null; }; }; defaultValue: null }, { name: 'liquidator'; 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: 'receiveShares'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
|
|
253
265
|
'LiquidatedActivity': { kind: 'OBJECT'; name: 'LiquidatedActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralReserve': { name: 'collateralReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'debtReserve': { name: 'debtReserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'liquidator': { name: 'liquidator'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; 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; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
266
|
+
'LiquidationFeeVariation': { kind: 'OBJECT'; name: 'LiquidationFeeVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
267
|
+
'MaxLiquidationBonusVariation': { kind: 'OBJECT'; name: 'MaxLiquidationBonusVariation'; fields: { 'after': { name: 'after'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'reserveId': { name: 'reserveId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
254
268
|
'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; ofType: null; }; } }; }; };
|
|
255
269
|
'NativeAmount': { kind: 'OBJECT'; name: 'NativeAmount'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'NativeToken'; ofType: null; }; } }; }; };
|
|
256
270
|
'NativeToken': { kind: 'OBJECT'; name: 'NativeToken'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; }; };
|
|
@@ -280,7 +294,7 @@ type introspection_types = {
|
|
|
280
294
|
'PrepareSwapResult': { kind: 'UNION'; name: 'PrepareSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent' | 'SwapByIntentWithApprovalRequired' | 'SwapByTransaction'; };
|
|
281
295
|
'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 }, { name: 'setUserSuppliesAsCollateral'; type: { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; ofType: null; }; defaultValue: null }, { name: 'updateUserPositionConditions'; type: { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; ofType: null; }; defaultValue: null }]; };
|
|
282
296
|
'PreviewRequest': { kind: 'INPUT_OBJECT'; name: 'PreviewRequest'; isOneOf: false; inputFields: [{ name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'PreviewAction'; ofType: null; }; }; defaultValue: null }]; };
|
|
283
|
-
'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: '
|
|
297
|
+
'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'HealthFactorResult'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'otherConditions': { name: 'otherConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UserPositionConditionVariation'; ofType: null; }; }; }; } }; 'projectedEarnings': { name: 'projectedEarnings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountVariation'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberVariation'; ofType: null; }; } }; }; };
|
|
284
298
|
'ProtocolHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'ProtocolHistoryRequest'; isOneOf: false; inputFields: [{ name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Currency'; ofType: null; }; }; defaultValue: "USD" }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
285
299
|
'ProtocolHistorySample': { kind: 'OBJECT'; name: 'ProtocolHistorySample'; fields: { 'borrows': { name: 'borrows'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'deposits': { name: 'deposits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'earnings': { name: 'earnings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
286
300
|
'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'activities': { name: 'activities'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedActivitiesResult'; ofType: null; }; } }; 'asset': { name: 'asset'; type: { kind: 'OBJECT'; name: 'Asset'; ofType: null; } }; 'assetBorrowHistory': { name: 'assetBorrowHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetBorrowSample'; ofType: null; }; }; }; } }; 'assetCategoryBorrowHistory': { name: 'assetCategoryBorrowHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetCategoryBorrowSample'; ofType: null; }; }; }; } }; 'assetCategorySupplyHistory': { name: 'assetCategorySupplyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetCategorySupplySample'; ofType: null; }; }; }; } }; 'assetPriceHistory': { name: 'assetPriceHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetPriceSample'; ofType: null; }; }; }; } }; 'assetSupplyHistory': { name: 'assetSupplyHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetSupplySample'; 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; }; }; }; } }; 'cancelSwap': { name: 'cancelSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'CancelSwapExecutionPlan'; ofType: null; }; } }; 'chain': { name: 'chain'; type: { kind: 'OBJECT'; name: 'Chain'; 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; }; }; }; } }; 'exchangeRate': { name: 'exchangeRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; 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; }; } }; 'hub': { name: 'hub'; type: { kind: 'OBJECT'; name: 'Hub'; ofType: null; } }; 'hubAssets': { name: 'hubAssets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubAsset'; ofType: null; }; }; }; } }; 'hubSummaryHistory': { name: 'hubSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HubSummarySample'; ofType: null; }; }; }; } }; 'hubs': { name: 'hubs'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hub'; ofType: null; }; }; }; } }; 'liquidatePosition': { name: 'liquidatePosition'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; ofType: null; }; } }; 'permitTypedData': { name: 'permitTypedData'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PermitTypedDataResponse'; ofType: null; }; } }; 'prepareSwap': { name: 'prepareSwap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'PrepareSwapResult'; ofType: null; }; } }; 'prepareSwapCancel': { name: 'prepareSwapCancel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PrepareSwapCancelResult'; ofType: null; }; } }; 'preview': { name: 'preview'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PreviewUserPosition'; ofType: null; }; } }; 'protocolHistory': { name: 'protocolHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProtocolHistorySample'; ofType: null; }; }; }; } }; 'renounceSpokeUserPositionManager': { name: 'renounceSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; 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; } }; 'reserves': { name: 'reserves'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; }; }; } }; 'setSpokeUserPositionManager': { name: 'setSpokeUserPositionManager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'setUserSuppliesAsCollateral': { name: 'setUserSuppliesAsCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; } }; 'spokePositionManagers': { name: 'spokePositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokePositionManagerResult'; ofType: null; }; } }; 'spokeUserPositionManagers': { name: 'spokeUserPositionManagers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedSpokeUserPositionManagerResult'; ofType: null; }; } }; 'spokes': { name: 'spokes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; 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; }; }; }; } }; 'swap': { name: 'swap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapExecutionPlan'; ofType: null; }; } }; 'swapQuote': { name: 'swapQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapQuote'; ofType: null; }; } }; 'swapStatus': { name: 'swapStatus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SwapStatus'; ofType: null; }; } }; 'swappableTokens': { name: 'swappableTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'Token'; ofType: null; }; }; }; } }; 'updateUserPositionConditions': { name: 'updateUserPositionConditions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'userBalances': { name: 'userBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserBalance'; 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: 'UserBorrowItem'; ofType: null; }; }; }; } }; 'userPosition': { name: 'userPosition'; type: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; } }; 'userPositions': { name: 'userPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserPosition'; ofType: null; }; }; }; } }; 'userRiskPremiumBreakdown': { name: 'userRiskPremiumBreakdown'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; ofType: null; }; }; }; } }; 'userSummary': { name: 'userSummary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummary'; ofType: null; }; } }; 'userSummaryHistory': { name: 'userSummaryHistory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UserSummaryHistoryItem'; 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: 'UserSupplyItem'; ofType: null; }; }; }; } }; 'userSwaps': { name: 'userSwaps'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaginatedUserSwapsResult'; ofType: null; }; } }; 'withdraw': { name: 'withdraw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExecutionPlan'; ofType: null; }; } }; }; };
|
|
@@ -303,11 +317,11 @@ type introspection_types = {
|
|
|
303
317
|
'ReserveSettings': { kind: 'OBJECT'; name: 'ReserveSettings'; fields: { 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'collateralRisk': { name: 'collateralRisk'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latestDynamicConfigKey': { name: 'latestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
|
|
304
318
|
'ReserveStatus': { kind: 'OBJECT'; name: 'ReserveStatus'; fields: { 'active': { name: 'active'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'frozen': { name: 'frozen'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'paused': { name: 'paused'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
|
|
305
319
|
'ReserveSummary': { kind: 'OBJECT'; name: 'ReserveSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
306
|
-
'ReserveUserState': { kind: 'OBJECT'; name: 'ReserveUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; '
|
|
320
|
+
'ReserveUserState': { kind: 'OBJECT'; name: 'ReserveUserState'; fields: { 'balance': { name: 'balance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowable': { name: 'borrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'dynamicConfigKey': { name: 'dynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DynamicConfigKey'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'suppliable': { name: 'suppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; }; };
|
|
307
321
|
'ReservesRequest': { kind: 'INPUT_OBJECT'; name: 'ReservesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; ofType: null; }; }; defaultValue: "{assetName: ASC}" }]; };
|
|
308
322
|
'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'COLLATERAL' | 'ALL'; };
|
|
309
323
|
'ReservesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'userBalance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'supplyAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'borrowAvailable'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'collateralFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
310
|
-
'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: '
|
|
324
|
+
'ReservesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ReservesRequestQuery'; isOneOf: true; inputFields: [{ name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'hubToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hubIdToken'; type: { kind: 'INPUT_OBJECT'; name: 'HubIdTokenInput'; ofType: null; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'spokeToken'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeTokenInput'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'chainTokenCategories'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ChainTokenCategories'; ofType: null; }; }; }; defaultValue: null }]; };
|
|
311
325
|
'SetSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'SetSpokeUserPositionManagerRequest'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'manager'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'approve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'INPUT_OBJECT'; name: 'ERC20PermitSignature'; ofType: null; }; defaultValue: null }]; };
|
|
312
326
|
'SetUserSuppliesAsCollateralRequest': { kind: 'INPUT_OBJECT'; name: 'SetUserSuppliesAsCollateralRequest'; isOneOf: false; inputFields: [{ name: 'changes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserSupplyAsCollateral'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
313
327
|
'Signature': unknown;
|
|
@@ -369,7 +383,7 @@ type introspection_types = {
|
|
|
369
383
|
'TxHashInput': { kind: 'INPUT_OBJECT'; name: 'TxHashInput'; isOneOf: false; inputFields: [{ name: 'txHash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'TxHash'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }]; };
|
|
370
384
|
'TypeDefinition': { kind: 'OBJECT'; name: 'TypeDefinition'; fields: { 'EIP712Domain': { name: 'EIP712Domain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeField'; ofType: null; }; }; }; } }; 'Permit': { name: 'Permit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TypeField'; ofType: null; }; }; }; } }; }; };
|
|
371
385
|
'TypeField': { kind: 'OBJECT'; name: 'TypeField'; fields: { 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'type': { name: 'type'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
|
|
372
|
-
'UpdateUserPositionConditionsRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: '
|
|
386
|
+
'UpdateUserPositionConditionsRequest': { kind: 'INPUT_OBJECT'; name: 'UpdateUserPositionConditionsRequest'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'update'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'UserPositionConditionsUpdate'; ofType: null; }; }; defaultValue: null }]; };
|
|
373
387
|
'UpdatedDynamicConfigActivity': { kind: 'OBJECT'; name: 'UpdatedDynamicConfigActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'liquidationFee': { name: 'liquidationFee'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'maxLiquidationBonus': { name: 'maxLiquidationBonus'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReserveInfo'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; 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; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
374
388
|
'UpdatedRiskPremiumActivity': { kind: 'OBJECT'; name: 'UpdatedRiskPremiumActivity'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'premium': { name: 'premium'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberChangeSnapshot'; ofType: null; }; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; 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; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
375
389
|
'UserBalance': { kind: 'OBJECT'; name: 'UserBalance'; fields: { 'balances': { name: 'balances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'TokenAmount'; ofType: null; }; }; }; } }; 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'collateralFactor': { name: 'collateralFactor'; type: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBalanceId'; ofType: null; }; } }; 'info': { name: 'info'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenInfo'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalAmount': { name: 'totalAmount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; }; };
|
|
@@ -391,14 +405,16 @@ type introspection_types = {
|
|
|
391
405
|
'UserChains': { kind: 'INPUT_OBJECT'; name: 'UserChains'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; }; defaultValue: null }]; };
|
|
392
406
|
'UserHub': { kind: 'INPUT_OBJECT'; name: 'UserHub'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'hub'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; ofType: null; }; }; defaultValue: null }]; };
|
|
393
407
|
'UserHubInput': { kind: 'INPUT_OBJECT'; name: 'UserHubInput'; isOneOf: true; inputFields: [{ name: 'input'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'id'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }]; };
|
|
394
|
-
'UserPosition': { kind: 'OBJECT'; name: 'UserPosition'; fields: { 'averageCollateralFactor': { name: 'averageCollateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; '
|
|
408
|
+
'UserPosition': { kind: 'OBJECT'; name: 'UserPosition'; fields: { 'averageCollateralFactor': { name: 'averageCollateralFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'canUpdateDynamicConfig': { name: 'canUpdateDynamicConfig'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'healthFactor': { name: 'healthFactor'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HealthFactorWithChange'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; } }; 'liquidationPrice': { name: 'liquidationPrice'; type: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; } }; 'netApy': { name: 'netApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBalance': { name: 'netBalance'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netBalancePercentChange': { name: 'netBalancePercentChange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'netBorrowApy': { name: 'netBorrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'netCollateral': { name: 'netCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'netSupplyApy': { name: 'netSupplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumberWithChange'; ofType: null; }; } }; 'riskPremium': { name: 'riskPremium'; type: { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; ofType: null; } }; 'spoke': { name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Spoke'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'user': { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; }; };
|
|
409
|
+
'UserPositionConditionVariation': { kind: 'UNION'; name: 'UserPositionConditionVariation'; fields: {}; possibleTypes: 'CollateralFactorVariation' | 'LiquidationFeeVariation' | 'MaxLiquidationBonusVariation'; };
|
|
410
|
+
'UserPositionConditionsUpdate': { name: 'UserPositionConditionsUpdate'; enumValues: 'ALL_DYNAMIC_CONFIG' | 'JUST_RISK_PREMIUM'; };
|
|
395
411
|
'UserPositionId': unknown;
|
|
396
412
|
'UserPositionRequest': { kind: 'INPUT_OBJECT'; name: 'UserPositionRequest'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'id'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
397
|
-
'UserPositionRiskPremium': { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; fields: { '
|
|
413
|
+
'UserPositionRiskPremium': { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; 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: 'UserRiskPremiumBreakdownItem'; ofType: null; }; }; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latest': { name: 'latest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
398
414
|
'UserPositionsRequest': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequest'; isOneOf: false; inputFields: [{ 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: 'INPUT_OBJECT'; name: 'UserPositionsRequestFilter'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestOrderBy'; ofType: null; }; }; defaultValue: "{created: ASC}" }]; };
|
|
399
415
|
'UserPositionsRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestFilter'; isOneOf: true; inputFields: [{ name: 'tokens'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; }; }; defaultValue: null }, { name: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }]; };
|
|
400
416
|
'UserPositionsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserPositionsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'created'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'balance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'netApy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'healthFactor'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'netCollateral'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
401
|
-
'UserRiskPremiumBreakdownItem': { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; fields: { 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; '
|
|
417
|
+
'UserRiskPremiumBreakdownItem': { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; fields: { 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'currentRiskPremiumWeight': { name: 'currentRiskPremiumWeight'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'latestRiskPremiumWeight': { name: 'latestRiskPremiumWeight'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
402
418
|
'UserRiskPremiumBreakdownRequest': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
403
419
|
'UserRiskPremiumBreakdownRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
404
420
|
'UserSpokeInput': { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; isOneOf: false; inputFields: [{ name: 'spoke'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SpokeId'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
@@ -659,6 +675,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
659
675
|
Boolean: boolean;
|
|
660
676
|
ChainId: ChainId;
|
|
661
677
|
ChainsFilter: ChainsFilter;
|
|
678
|
+
CollateralMetric: CollateralMetric;
|
|
662
679
|
Currency: Currency;
|
|
663
680
|
Cursor: Cursor;
|
|
664
681
|
DateTime: Date;
|
|
@@ -691,6 +708,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
691
708
|
TxHash: TxHash;
|
|
692
709
|
UserBalanceId: UserBalanceId;
|
|
693
710
|
UserBorrowItemId: UserBorrowItemId;
|
|
711
|
+
UserPositionConditionsUpdate: UserPositionConditionsUpdate;
|
|
694
712
|
UserPositionId: UserPositionId;
|
|
695
713
|
UserSupplyItemId: UserSupplyItemId;
|
|
696
714
|
Void: Void;
|
|
@@ -1825,8 +1843,8 @@ declare const PercentNumberVariationFragment: gql_tada.TadaDocumentNode<{
|
|
|
1825
1843
|
masked: false;
|
|
1826
1844
|
}>;
|
|
1827
1845
|
type PercentNumberVariation = FragmentOf<typeof PercentNumberVariationFragment>;
|
|
1828
|
-
declare const
|
|
1829
|
-
__typename: "
|
|
1846
|
+
declare const ExchangeAmountVariationFragment: gql_tada.TadaDocumentNode<{
|
|
1847
|
+
__typename: "ExchangeAmountVariation";
|
|
1830
1848
|
current: {
|
|
1831
1849
|
__typename: "ExchangeAmount";
|
|
1832
1850
|
value: _aave_types.BigDecimal;
|
|
@@ -1844,11 +1862,11 @@ declare const ExchangeAmountValueVariationFragment: gql_tada.TadaDocumentNode<{
|
|
|
1844
1862
|
decimals: number;
|
|
1845
1863
|
};
|
|
1846
1864
|
}, {}, {
|
|
1847
|
-
fragment: "
|
|
1848
|
-
on: "
|
|
1865
|
+
fragment: "ExchangeAmountVariation";
|
|
1866
|
+
on: "ExchangeAmountVariation";
|
|
1849
1867
|
masked: false;
|
|
1850
1868
|
}>;
|
|
1851
|
-
type
|
|
1869
|
+
type ExchangeAmountVariation = FragmentOf<typeof ExchangeAmountVariationFragment>;
|
|
1852
1870
|
declare const HealthFactorWithChangeFragment: gql_tada.TadaDocumentNode<{
|
|
1853
1871
|
__typename: "HealthFactorWithChange";
|
|
1854
1872
|
current: _aave_types.BigDecimal | null;
|
|
@@ -2427,66 +2445,6 @@ declare const ReserveUserStateFragment: gql_tada.TadaDocumentNode<{
|
|
|
2427
2445
|
value: _aave_types.BigDecimal;
|
|
2428
2446
|
};
|
|
2429
2447
|
};
|
|
2430
|
-
borrowingPower: {
|
|
2431
|
-
__typename: "Erc20Amount";
|
|
2432
|
-
token: {
|
|
2433
|
-
__typename: "Erc20Token";
|
|
2434
|
-
info: {
|
|
2435
|
-
__typename: "TokenInfo";
|
|
2436
|
-
id: TokenInfoId;
|
|
2437
|
-
name: string;
|
|
2438
|
-
symbol: string;
|
|
2439
|
-
icon: string;
|
|
2440
|
-
decimals: number;
|
|
2441
|
-
categories: TokenCategory[];
|
|
2442
|
-
};
|
|
2443
|
-
address: _aave_types.EvmAddress;
|
|
2444
|
-
chain: {
|
|
2445
|
-
__typename: "Chain";
|
|
2446
|
-
name: string;
|
|
2447
|
-
icon: string;
|
|
2448
|
-
chainId: _aave_types.ChainId;
|
|
2449
|
-
rpcUrl: string;
|
|
2450
|
-
explorerUrl: string;
|
|
2451
|
-
isTestnet: boolean;
|
|
2452
|
-
isFork: boolean;
|
|
2453
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
2454
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
2455
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
2456
|
-
nativeInfo: {
|
|
2457
|
-
__typename: "TokenInfo";
|
|
2458
|
-
id: TokenInfoId;
|
|
2459
|
-
name: string;
|
|
2460
|
-
symbol: string;
|
|
2461
|
-
icon: string;
|
|
2462
|
-
decimals: number;
|
|
2463
|
-
categories: TokenCategory[];
|
|
2464
|
-
};
|
|
2465
|
-
};
|
|
2466
|
-
isWrappedNativeToken: boolean;
|
|
2467
|
-
permitSupported: boolean;
|
|
2468
|
-
};
|
|
2469
|
-
amount: {
|
|
2470
|
-
__typename: "DecimalNumber";
|
|
2471
|
-
onChainValue: bigint;
|
|
2472
|
-
decimals: number;
|
|
2473
|
-
value: _aave_types.BigDecimal;
|
|
2474
|
-
};
|
|
2475
|
-
exchange: {
|
|
2476
|
-
__typename: "ExchangeAmount";
|
|
2477
|
-
value: _aave_types.BigDecimal;
|
|
2478
|
-
name: string;
|
|
2479
|
-
symbol: string;
|
|
2480
|
-
icon: string;
|
|
2481
|
-
decimals: number;
|
|
2482
|
-
};
|
|
2483
|
-
exchangeRate: {
|
|
2484
|
-
__typename: "DecimalNumber";
|
|
2485
|
-
onChainValue: bigint;
|
|
2486
|
-
decimals: number;
|
|
2487
|
-
value: _aave_types.BigDecimal;
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
2448
|
borrowApy: {
|
|
2491
2449
|
__typename: "PercentNumber";
|
|
2492
2450
|
onChainValue: bigint;
|
|
@@ -2516,7 +2474,6 @@ declare const ReserveUserStateFragment: gql_tada.TadaDocumentNode<{
|
|
|
2516
2474
|
normalized: _aave_types.BigDecimal;
|
|
2517
2475
|
};
|
|
2518
2476
|
dynamicConfigKey: unknown;
|
|
2519
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
2520
2477
|
}, {}, {
|
|
2521
2478
|
fragment: "ReserveUserState";
|
|
2522
2479
|
on: "ReserveUserState";
|
|
@@ -2942,66 +2899,6 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
|
|
|
2942
2899
|
value: _aave_types.BigDecimal;
|
|
2943
2900
|
};
|
|
2944
2901
|
};
|
|
2945
|
-
borrowingPower: {
|
|
2946
|
-
__typename: "Erc20Amount";
|
|
2947
|
-
token: {
|
|
2948
|
-
__typename: "Erc20Token";
|
|
2949
|
-
info: {
|
|
2950
|
-
__typename: "TokenInfo";
|
|
2951
|
-
id: TokenInfoId;
|
|
2952
|
-
name: string;
|
|
2953
|
-
symbol: string;
|
|
2954
|
-
icon: string;
|
|
2955
|
-
decimals: number;
|
|
2956
|
-
categories: TokenCategory[];
|
|
2957
|
-
};
|
|
2958
|
-
address: _aave_types.EvmAddress;
|
|
2959
|
-
chain: {
|
|
2960
|
-
__typename: "Chain";
|
|
2961
|
-
name: string;
|
|
2962
|
-
icon: string;
|
|
2963
|
-
chainId: _aave_types.ChainId;
|
|
2964
|
-
rpcUrl: string;
|
|
2965
|
-
explorerUrl: string;
|
|
2966
|
-
isTestnet: boolean;
|
|
2967
|
-
isFork: boolean;
|
|
2968
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
2969
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
2970
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
2971
|
-
nativeInfo: {
|
|
2972
|
-
__typename: "TokenInfo";
|
|
2973
|
-
id: TokenInfoId;
|
|
2974
|
-
name: string;
|
|
2975
|
-
symbol: string;
|
|
2976
|
-
icon: string;
|
|
2977
|
-
decimals: number;
|
|
2978
|
-
categories: TokenCategory[];
|
|
2979
|
-
};
|
|
2980
|
-
};
|
|
2981
|
-
isWrappedNativeToken: boolean;
|
|
2982
|
-
permitSupported: boolean;
|
|
2983
|
-
};
|
|
2984
|
-
amount: {
|
|
2985
|
-
__typename: "DecimalNumber";
|
|
2986
|
-
onChainValue: bigint;
|
|
2987
|
-
decimals: number;
|
|
2988
|
-
value: _aave_types.BigDecimal;
|
|
2989
|
-
};
|
|
2990
|
-
exchange: {
|
|
2991
|
-
__typename: "ExchangeAmount";
|
|
2992
|
-
value: _aave_types.BigDecimal;
|
|
2993
|
-
name: string;
|
|
2994
|
-
symbol: string;
|
|
2995
|
-
icon: string;
|
|
2996
|
-
decimals: number;
|
|
2997
|
-
};
|
|
2998
|
-
exchangeRate: {
|
|
2999
|
-
__typename: "DecimalNumber";
|
|
3000
|
-
onChainValue: bigint;
|
|
3001
|
-
decimals: number;
|
|
3002
|
-
value: _aave_types.BigDecimal;
|
|
3003
|
-
};
|
|
3004
|
-
};
|
|
3005
2902
|
borrowApy: {
|
|
3006
2903
|
__typename: "PercentNumber";
|
|
3007
2904
|
onChainValue: bigint;
|
|
@@ -3031,7 +2928,6 @@ declare const ReserveFragment: gql_tada.TadaDocumentNode<{
|
|
|
3031
2928
|
normalized: _aave_types.BigDecimal;
|
|
3032
2929
|
};
|
|
3033
2930
|
dynamicConfigKey: unknown;
|
|
3034
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
3035
2931
|
} | null;
|
|
3036
2932
|
asset: {
|
|
3037
2933
|
__typename: "HubAsset";
|
|
@@ -8883,66 +8779,6 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
8883
8779
|
value: _aave_types.BigDecimal;
|
|
8884
8780
|
};
|
|
8885
8781
|
};
|
|
8886
|
-
borrowingPower: {
|
|
8887
|
-
__typename: "Erc20Amount";
|
|
8888
|
-
token: {
|
|
8889
|
-
__typename: "Erc20Token";
|
|
8890
|
-
info: {
|
|
8891
|
-
__typename: "TokenInfo";
|
|
8892
|
-
id: TokenInfoId;
|
|
8893
|
-
name: string;
|
|
8894
|
-
symbol: string;
|
|
8895
|
-
icon: string;
|
|
8896
|
-
decimals: number;
|
|
8897
|
-
categories: TokenCategory[];
|
|
8898
|
-
};
|
|
8899
|
-
address: _aave_types.EvmAddress;
|
|
8900
|
-
chain: {
|
|
8901
|
-
__typename: "Chain";
|
|
8902
|
-
name: string;
|
|
8903
|
-
icon: string;
|
|
8904
|
-
chainId: _aave_types.ChainId;
|
|
8905
|
-
rpcUrl: string;
|
|
8906
|
-
explorerUrl: string;
|
|
8907
|
-
isTestnet: boolean;
|
|
8908
|
-
isFork: boolean;
|
|
8909
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
8910
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
8911
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
8912
|
-
nativeInfo: {
|
|
8913
|
-
__typename: "TokenInfo";
|
|
8914
|
-
id: TokenInfoId;
|
|
8915
|
-
name: string;
|
|
8916
|
-
symbol: string;
|
|
8917
|
-
icon: string;
|
|
8918
|
-
decimals: number;
|
|
8919
|
-
categories: TokenCategory[];
|
|
8920
|
-
};
|
|
8921
|
-
};
|
|
8922
|
-
isWrappedNativeToken: boolean;
|
|
8923
|
-
permitSupported: boolean;
|
|
8924
|
-
};
|
|
8925
|
-
amount: {
|
|
8926
|
-
__typename: "DecimalNumber";
|
|
8927
|
-
onChainValue: bigint;
|
|
8928
|
-
decimals: number;
|
|
8929
|
-
value: _aave_types.BigDecimal;
|
|
8930
|
-
};
|
|
8931
|
-
exchange: {
|
|
8932
|
-
__typename: "ExchangeAmount";
|
|
8933
|
-
value: _aave_types.BigDecimal;
|
|
8934
|
-
name: string;
|
|
8935
|
-
symbol: string;
|
|
8936
|
-
icon: string;
|
|
8937
|
-
decimals: number;
|
|
8938
|
-
};
|
|
8939
|
-
exchangeRate: {
|
|
8940
|
-
__typename: "DecimalNumber";
|
|
8941
|
-
onChainValue: bigint;
|
|
8942
|
-
decimals: number;
|
|
8943
|
-
value: _aave_types.BigDecimal;
|
|
8944
|
-
};
|
|
8945
|
-
};
|
|
8946
8782
|
borrowApy: {
|
|
8947
8783
|
__typename: "PercentNumber";
|
|
8948
8784
|
onChainValue: bigint;
|
|
@@ -8972,7 +8808,6 @@ declare const UserSupplyItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
8972
8808
|
normalized: _aave_types.BigDecimal;
|
|
8973
8809
|
};
|
|
8974
8810
|
dynamicConfigKey: unknown;
|
|
8975
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
8976
8811
|
} | null;
|
|
8977
8812
|
asset: {
|
|
8978
8813
|
__typename: "HubAsset";
|
|
@@ -10184,66 +10019,6 @@ declare const UserBorrowItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
10184
10019
|
value: _aave_types.BigDecimal;
|
|
10185
10020
|
};
|
|
10186
10021
|
};
|
|
10187
|
-
borrowingPower: {
|
|
10188
|
-
__typename: "Erc20Amount";
|
|
10189
|
-
token: {
|
|
10190
|
-
__typename: "Erc20Token";
|
|
10191
|
-
info: {
|
|
10192
|
-
__typename: "TokenInfo";
|
|
10193
|
-
id: TokenInfoId;
|
|
10194
|
-
name: string;
|
|
10195
|
-
symbol: string;
|
|
10196
|
-
icon: string;
|
|
10197
|
-
decimals: number;
|
|
10198
|
-
categories: TokenCategory[];
|
|
10199
|
-
};
|
|
10200
|
-
address: _aave_types.EvmAddress;
|
|
10201
|
-
chain: {
|
|
10202
|
-
__typename: "Chain";
|
|
10203
|
-
name: string;
|
|
10204
|
-
icon: string;
|
|
10205
|
-
chainId: _aave_types.ChainId;
|
|
10206
|
-
rpcUrl: string;
|
|
10207
|
-
explorerUrl: string;
|
|
10208
|
-
isTestnet: boolean;
|
|
10209
|
-
isFork: boolean;
|
|
10210
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
10211
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
10212
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
10213
|
-
nativeInfo: {
|
|
10214
|
-
__typename: "TokenInfo";
|
|
10215
|
-
id: TokenInfoId;
|
|
10216
|
-
name: string;
|
|
10217
|
-
symbol: string;
|
|
10218
|
-
icon: string;
|
|
10219
|
-
decimals: number;
|
|
10220
|
-
categories: TokenCategory[];
|
|
10221
|
-
};
|
|
10222
|
-
};
|
|
10223
|
-
isWrappedNativeToken: boolean;
|
|
10224
|
-
permitSupported: boolean;
|
|
10225
|
-
};
|
|
10226
|
-
amount: {
|
|
10227
|
-
__typename: "DecimalNumber";
|
|
10228
|
-
onChainValue: bigint;
|
|
10229
|
-
decimals: number;
|
|
10230
|
-
value: _aave_types.BigDecimal;
|
|
10231
|
-
};
|
|
10232
|
-
exchange: {
|
|
10233
|
-
__typename: "ExchangeAmount";
|
|
10234
|
-
value: _aave_types.BigDecimal;
|
|
10235
|
-
name: string;
|
|
10236
|
-
symbol: string;
|
|
10237
|
-
icon: string;
|
|
10238
|
-
decimals: number;
|
|
10239
|
-
};
|
|
10240
|
-
exchangeRate: {
|
|
10241
|
-
__typename: "DecimalNumber";
|
|
10242
|
-
onChainValue: bigint;
|
|
10243
|
-
decimals: number;
|
|
10244
|
-
value: _aave_types.BigDecimal;
|
|
10245
|
-
};
|
|
10246
|
-
};
|
|
10247
10022
|
borrowApy: {
|
|
10248
10023
|
__typename: "PercentNumber";
|
|
10249
10024
|
onChainValue: bigint;
|
|
@@ -10273,7 +10048,6 @@ declare const UserBorrowItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
10273
10048
|
normalized: _aave_types.BigDecimal;
|
|
10274
10049
|
};
|
|
10275
10050
|
dynamicConfigKey: unknown;
|
|
10276
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
10277
10051
|
} | null;
|
|
10278
10052
|
asset: {
|
|
10279
10053
|
__typename: "HubAsset";
|
|
@@ -10808,7 +10582,14 @@ declare const UserRiskPremiumBreakdownItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
10808
10582
|
isWrappedNativeToken: boolean;
|
|
10809
10583
|
permitSupported: boolean;
|
|
10810
10584
|
};
|
|
10811
|
-
|
|
10585
|
+
currentRiskPremiumWeight: {
|
|
10586
|
+
__typename: "PercentNumber";
|
|
10587
|
+
onChainValue: bigint;
|
|
10588
|
+
decimals: number;
|
|
10589
|
+
value: _aave_types.BigDecimal;
|
|
10590
|
+
normalized: _aave_types.BigDecimal;
|
|
10591
|
+
};
|
|
10592
|
+
latestRiskPremiumWeight: {
|
|
10812
10593
|
__typename: "PercentNumber";
|
|
10813
10594
|
onChainValue: bigint;
|
|
10814
10595
|
decimals: number;
|
|
@@ -10837,13 +10618,13 @@ declare const UserPositionRiskPremiumFragment: gql_tada.TadaDocumentNode<{
|
|
|
10837
10618
|
value: _aave_types.BigDecimal;
|
|
10838
10619
|
normalized: _aave_types.BigDecimal;
|
|
10839
10620
|
};
|
|
10840
|
-
|
|
10621
|
+
latest: {
|
|
10841
10622
|
__typename: "PercentNumber";
|
|
10842
10623
|
onChainValue: bigint;
|
|
10843
10624
|
decimals: number;
|
|
10844
10625
|
value: _aave_types.BigDecimal;
|
|
10845
10626
|
normalized: _aave_types.BigDecimal;
|
|
10846
|
-
}
|
|
10627
|
+
};
|
|
10847
10628
|
breakdown: {
|
|
10848
10629
|
__typename: "UserRiskPremiumBreakdownItem";
|
|
10849
10630
|
token: {
|
|
@@ -10883,7 +10664,14 @@ declare const UserPositionRiskPremiumFragment: gql_tada.TadaDocumentNode<{
|
|
|
10883
10664
|
isWrappedNativeToken: boolean;
|
|
10884
10665
|
permitSupported: boolean;
|
|
10885
10666
|
};
|
|
10886
|
-
|
|
10667
|
+
currentRiskPremiumWeight: {
|
|
10668
|
+
__typename: "PercentNumber";
|
|
10669
|
+
onChainValue: bigint;
|
|
10670
|
+
decimals: number;
|
|
10671
|
+
value: _aave_types.BigDecimal;
|
|
10672
|
+
normalized: _aave_types.BigDecimal;
|
|
10673
|
+
};
|
|
10674
|
+
latestRiskPremiumWeight: {
|
|
10887
10675
|
__typename: "PercentNumber";
|
|
10888
10676
|
onChainValue: bigint;
|
|
10889
10677
|
decimals: number;
|
|
@@ -11088,13 +10876,13 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
11088
10876
|
value: _aave_types.BigDecimal;
|
|
11089
10877
|
normalized: _aave_types.BigDecimal;
|
|
11090
10878
|
};
|
|
11091
|
-
|
|
10879
|
+
latest: {
|
|
11092
10880
|
__typename: "PercentNumber";
|
|
11093
10881
|
onChainValue: bigint;
|
|
11094
10882
|
decimals: number;
|
|
11095
10883
|
value: _aave_types.BigDecimal;
|
|
11096
10884
|
normalized: _aave_types.BigDecimal;
|
|
11097
|
-
}
|
|
10885
|
+
};
|
|
11098
10886
|
breakdown: {
|
|
11099
10887
|
__typename: "UserRiskPremiumBreakdownItem";
|
|
11100
10888
|
token: {
|
|
@@ -11134,7 +10922,14 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
11134
10922
|
isWrappedNativeToken: boolean;
|
|
11135
10923
|
permitSupported: boolean;
|
|
11136
10924
|
};
|
|
11137
|
-
|
|
10925
|
+
currentRiskPremiumWeight: {
|
|
10926
|
+
__typename: "PercentNumber";
|
|
10927
|
+
onChainValue: bigint;
|
|
10928
|
+
decimals: number;
|
|
10929
|
+
value: _aave_types.BigDecimal;
|
|
10930
|
+
normalized: _aave_types.BigDecimal;
|
|
10931
|
+
};
|
|
10932
|
+
latestRiskPremiumWeight: {
|
|
11138
10933
|
__typename: "PercentNumber";
|
|
11139
10934
|
onChainValue: bigint;
|
|
11140
10935
|
decimals: number;
|
|
@@ -11166,7 +10961,7 @@ declare const UserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
11166
10961
|
icon: string;
|
|
11167
10962
|
decimals: number;
|
|
11168
10963
|
};
|
|
11169
|
-
|
|
10964
|
+
canUpdateDynamicConfig: boolean;
|
|
11170
10965
|
netBalancePercentChange: {
|
|
11171
10966
|
__typename: "PercentNumber";
|
|
11172
10967
|
onChainValue: bigint;
|
|
@@ -12104,6 +11899,101 @@ declare const HubAssetsQuery: gql_tada.TadaDocumentNode<{
|
|
|
12104
11899
|
type HubAssetsRequest = RequestOf<typeof HubAssetsQuery>;
|
|
12105
11900
|
type HubAssetsRequestQuery = ReturnType<typeof graphql.scalar<'HubAssetsRequestQuery'>>;
|
|
12106
11901
|
type HubsRequestQuery = ReturnType<typeof graphql.scalar<'HubsRequestQuery'>>;
|
|
11902
|
+
declare const HubSummarySampleFragment: gql_tada.TadaDocumentNode<{
|
|
11903
|
+
__typename: "HubSummarySample";
|
|
11904
|
+
date: Date;
|
|
11905
|
+
deposits: {
|
|
11906
|
+
__typename: "ExchangeAmount";
|
|
11907
|
+
value: _aave_types.BigDecimal;
|
|
11908
|
+
name: string;
|
|
11909
|
+
symbol: string;
|
|
11910
|
+
icon: string;
|
|
11911
|
+
decimals: number;
|
|
11912
|
+
};
|
|
11913
|
+
borrows: {
|
|
11914
|
+
__typename: "ExchangeAmount";
|
|
11915
|
+
value: _aave_types.BigDecimal;
|
|
11916
|
+
name: string;
|
|
11917
|
+
symbol: string;
|
|
11918
|
+
icon: string;
|
|
11919
|
+
decimals: number;
|
|
11920
|
+
};
|
|
11921
|
+
availableLiquidity: {
|
|
11922
|
+
__typename: "ExchangeAmount";
|
|
11923
|
+
value: _aave_types.BigDecimal;
|
|
11924
|
+
name: string;
|
|
11925
|
+
symbol: string;
|
|
11926
|
+
icon: string;
|
|
11927
|
+
decimals: number;
|
|
11928
|
+
};
|
|
11929
|
+
utilizationRate: {
|
|
11930
|
+
__typename: "PercentNumber";
|
|
11931
|
+
onChainValue: bigint;
|
|
11932
|
+
decimals: number;
|
|
11933
|
+
value: _aave_types.BigDecimal;
|
|
11934
|
+
normalized: _aave_types.BigDecimal;
|
|
11935
|
+
};
|
|
11936
|
+
}, {}, {
|
|
11937
|
+
fragment: "HubSummarySample";
|
|
11938
|
+
on: "HubSummarySample";
|
|
11939
|
+
masked: false;
|
|
11940
|
+
}>;
|
|
11941
|
+
type HubSummarySample = FragmentOf<typeof HubSummarySampleFragment>;
|
|
11942
|
+
/**
|
|
11943
|
+
* @internal
|
|
11944
|
+
*/
|
|
11945
|
+
declare const HubSummaryHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
11946
|
+
value: {
|
|
11947
|
+
__typename: "HubSummarySample";
|
|
11948
|
+
date: Date;
|
|
11949
|
+
deposits: {
|
|
11950
|
+
__typename: "ExchangeAmount";
|
|
11951
|
+
value: _aave_types.BigDecimal;
|
|
11952
|
+
name: string;
|
|
11953
|
+
symbol: string;
|
|
11954
|
+
icon: string;
|
|
11955
|
+
decimals: number;
|
|
11956
|
+
};
|
|
11957
|
+
borrows: {
|
|
11958
|
+
__typename: "ExchangeAmount";
|
|
11959
|
+
value: _aave_types.BigDecimal;
|
|
11960
|
+
name: string;
|
|
11961
|
+
symbol: string;
|
|
11962
|
+
icon: string;
|
|
11963
|
+
decimals: number;
|
|
11964
|
+
};
|
|
11965
|
+
availableLiquidity: {
|
|
11966
|
+
__typename: "ExchangeAmount";
|
|
11967
|
+
value: _aave_types.BigDecimal;
|
|
11968
|
+
name: string;
|
|
11969
|
+
symbol: string;
|
|
11970
|
+
icon: string;
|
|
11971
|
+
decimals: number;
|
|
11972
|
+
};
|
|
11973
|
+
utilizationRate: {
|
|
11974
|
+
__typename: "PercentNumber";
|
|
11975
|
+
onChainValue: bigint;
|
|
11976
|
+
decimals: number;
|
|
11977
|
+
value: _aave_types.BigDecimal;
|
|
11978
|
+
normalized: _aave_types.BigDecimal;
|
|
11979
|
+
};
|
|
11980
|
+
}[];
|
|
11981
|
+
}, {
|
|
11982
|
+
request: {
|
|
11983
|
+
window?: TimeWindow | null | undefined;
|
|
11984
|
+
currency?: Currency | null | undefined;
|
|
11985
|
+
query: {
|
|
11986
|
+
hubInput: {
|
|
11987
|
+
chainId: _aave_types.ChainId;
|
|
11988
|
+
address: _aave_types.EvmAddress;
|
|
11989
|
+
};
|
|
11990
|
+
} | {
|
|
11991
|
+
hubId: HubId;
|
|
11992
|
+
};
|
|
11993
|
+
};
|
|
11994
|
+
}, void>;
|
|
11995
|
+
type HubSummaryHistoryRequest = RequestOf<typeof HubSummaryHistoryQuery>;
|
|
11996
|
+
type HubSummaryHistoryRequestQuery = ReturnType<typeof graphql.scalar<'HubSummaryHistoryRequestQuery'>>;
|
|
12107
11997
|
|
|
12108
11998
|
type HubInput = ReturnType<typeof graphql.scalar<'HubInput'>>;
|
|
12109
11999
|
/**
|
|
@@ -12465,6 +12355,68 @@ declare const AssetBorrowSampleFragment: gql_tada.TadaDocumentNode<{
|
|
|
12465
12355
|
masked: false;
|
|
12466
12356
|
}>;
|
|
12467
12357
|
type AssetBorrowSample = FragmentOf<typeof AssetBorrowSampleFragment>;
|
|
12358
|
+
declare const AssetCategoryBorrowSampleFragment: gql_tada.TadaDocumentNode<{
|
|
12359
|
+
__typename: "AssetCategoryBorrowSample";
|
|
12360
|
+
date: Date;
|
|
12361
|
+
highestApy: {
|
|
12362
|
+
__typename: "PercentNumber";
|
|
12363
|
+
onChainValue: bigint;
|
|
12364
|
+
decimals: number;
|
|
12365
|
+
value: _aave_types.BigDecimal;
|
|
12366
|
+
normalized: _aave_types.BigDecimal;
|
|
12367
|
+
};
|
|
12368
|
+
lowestApy: {
|
|
12369
|
+
__typename: "PercentNumber";
|
|
12370
|
+
onChainValue: bigint;
|
|
12371
|
+
decimals: number;
|
|
12372
|
+
value: _aave_types.BigDecimal;
|
|
12373
|
+
normalized: _aave_types.BigDecimal;
|
|
12374
|
+
};
|
|
12375
|
+
borrows: {
|
|
12376
|
+
__typename: "ExchangeAmount";
|
|
12377
|
+
value: _aave_types.BigDecimal;
|
|
12378
|
+
name: string;
|
|
12379
|
+
symbol: string;
|
|
12380
|
+
icon: string;
|
|
12381
|
+
decimals: number;
|
|
12382
|
+
};
|
|
12383
|
+
}, {}, {
|
|
12384
|
+
fragment: "AssetCategoryBorrowSample";
|
|
12385
|
+
on: "AssetCategoryBorrowSample";
|
|
12386
|
+
masked: false;
|
|
12387
|
+
}>;
|
|
12388
|
+
type AssetCategoryBorrowSample = FragmentOf<typeof AssetCategoryBorrowSampleFragment>;
|
|
12389
|
+
declare const AssetCategorySupplySampleFragment: gql_tada.TadaDocumentNode<{
|
|
12390
|
+
__typename: "AssetCategorySupplySample";
|
|
12391
|
+
date: Date;
|
|
12392
|
+
highestApy: {
|
|
12393
|
+
__typename: "PercentNumber";
|
|
12394
|
+
onChainValue: bigint;
|
|
12395
|
+
decimals: number;
|
|
12396
|
+
value: _aave_types.BigDecimal;
|
|
12397
|
+
normalized: _aave_types.BigDecimal;
|
|
12398
|
+
};
|
|
12399
|
+
lowestApy: {
|
|
12400
|
+
__typename: "PercentNumber";
|
|
12401
|
+
onChainValue: bigint;
|
|
12402
|
+
decimals: number;
|
|
12403
|
+
value: _aave_types.BigDecimal;
|
|
12404
|
+
normalized: _aave_types.BigDecimal;
|
|
12405
|
+
};
|
|
12406
|
+
deposits: {
|
|
12407
|
+
__typename: "ExchangeAmount";
|
|
12408
|
+
value: _aave_types.BigDecimal;
|
|
12409
|
+
name: string;
|
|
12410
|
+
symbol: string;
|
|
12411
|
+
icon: string;
|
|
12412
|
+
decimals: number;
|
|
12413
|
+
};
|
|
12414
|
+
}, {}, {
|
|
12415
|
+
fragment: "AssetCategorySupplySample";
|
|
12416
|
+
on: "AssetCategorySupplySample";
|
|
12417
|
+
masked: false;
|
|
12418
|
+
}>;
|
|
12419
|
+
type AssetCategorySupplySample = FragmentOf<typeof AssetCategorySupplySampleFragment>;
|
|
12468
12420
|
declare const AssetAmountWithChangeFragment: gql_tada.TadaDocumentNode<{
|
|
12469
12421
|
__typename: "AssetAmountWithChange";
|
|
12470
12422
|
amount: {
|
|
@@ -13357,6 +13309,82 @@ declare const AssetBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13357
13309
|
}, void>;
|
|
13358
13310
|
type AssetBorrowHistoryRequest = RequestOf<typeof AssetBorrowHistoryQuery>;
|
|
13359
13311
|
type AssetBorrowHistoryRequestQuery = ReturnType<typeof graphql.scalar<'AssetBorrowHistoryRequestQuery'>>;
|
|
13312
|
+
/**
|
|
13313
|
+
* @internal
|
|
13314
|
+
*/
|
|
13315
|
+
declare const AssetCategoryBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13316
|
+
value: {
|
|
13317
|
+
__typename: "AssetCategoryBorrowSample";
|
|
13318
|
+
date: Date;
|
|
13319
|
+
highestApy: {
|
|
13320
|
+
__typename: "PercentNumber";
|
|
13321
|
+
onChainValue: bigint;
|
|
13322
|
+
decimals: number;
|
|
13323
|
+
value: _aave_types.BigDecimal;
|
|
13324
|
+
normalized: _aave_types.BigDecimal;
|
|
13325
|
+
};
|
|
13326
|
+
lowestApy: {
|
|
13327
|
+
__typename: "PercentNumber";
|
|
13328
|
+
onChainValue: bigint;
|
|
13329
|
+
decimals: number;
|
|
13330
|
+
value: _aave_types.BigDecimal;
|
|
13331
|
+
normalized: _aave_types.BigDecimal;
|
|
13332
|
+
};
|
|
13333
|
+
borrows: {
|
|
13334
|
+
__typename: "ExchangeAmount";
|
|
13335
|
+
value: _aave_types.BigDecimal;
|
|
13336
|
+
name: string;
|
|
13337
|
+
symbol: string;
|
|
13338
|
+
icon: string;
|
|
13339
|
+
decimals: number;
|
|
13340
|
+
};
|
|
13341
|
+
}[];
|
|
13342
|
+
}, {
|
|
13343
|
+
currency?: Currency | undefined;
|
|
13344
|
+
request: {
|
|
13345
|
+
window?: TimeWindow | null | undefined;
|
|
13346
|
+
category: TokenCategory;
|
|
13347
|
+
};
|
|
13348
|
+
}, void>;
|
|
13349
|
+
type AssetCategoryBorrowHistoryRequest = RequestOf<typeof AssetCategoryBorrowHistoryQuery>;
|
|
13350
|
+
/**
|
|
13351
|
+
* @internal
|
|
13352
|
+
*/
|
|
13353
|
+
declare const AssetCategorySupplyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13354
|
+
value: {
|
|
13355
|
+
__typename: "AssetCategorySupplySample";
|
|
13356
|
+
date: Date;
|
|
13357
|
+
highestApy: {
|
|
13358
|
+
__typename: "PercentNumber";
|
|
13359
|
+
onChainValue: bigint;
|
|
13360
|
+
decimals: number;
|
|
13361
|
+
value: _aave_types.BigDecimal;
|
|
13362
|
+
normalized: _aave_types.BigDecimal;
|
|
13363
|
+
};
|
|
13364
|
+
lowestApy: {
|
|
13365
|
+
__typename: "PercentNumber";
|
|
13366
|
+
onChainValue: bigint;
|
|
13367
|
+
decimals: number;
|
|
13368
|
+
value: _aave_types.BigDecimal;
|
|
13369
|
+
normalized: _aave_types.BigDecimal;
|
|
13370
|
+
};
|
|
13371
|
+
deposits: {
|
|
13372
|
+
__typename: "ExchangeAmount";
|
|
13373
|
+
value: _aave_types.BigDecimal;
|
|
13374
|
+
name: string;
|
|
13375
|
+
symbol: string;
|
|
13376
|
+
icon: string;
|
|
13377
|
+
decimals: number;
|
|
13378
|
+
};
|
|
13379
|
+
}[];
|
|
13380
|
+
}, {
|
|
13381
|
+
currency?: Currency | undefined;
|
|
13382
|
+
request: {
|
|
13383
|
+
window?: TimeWindow | null | undefined;
|
|
13384
|
+
category: TokenCategory;
|
|
13385
|
+
};
|
|
13386
|
+
}, void>;
|
|
13387
|
+
type AssetCategorySupplyHistoryRequest = RequestOf<typeof AssetCategorySupplyHistoryQuery>;
|
|
13360
13388
|
declare const ProtocolHistorySampleFragment: gql_tada.TadaDocumentNode<{
|
|
13361
13389
|
__typename: "ProtocolHistorySample";
|
|
13362
13390
|
date: Date;
|
|
@@ -13894,66 +13922,6 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
|
|
|
13894
13922
|
value: _aave_types.BigDecimal;
|
|
13895
13923
|
};
|
|
13896
13924
|
};
|
|
13897
|
-
borrowingPower: {
|
|
13898
|
-
__typename: "Erc20Amount";
|
|
13899
|
-
token: {
|
|
13900
|
-
__typename: "Erc20Token";
|
|
13901
|
-
info: {
|
|
13902
|
-
__typename: "TokenInfo";
|
|
13903
|
-
id: TokenInfoId;
|
|
13904
|
-
name: string;
|
|
13905
|
-
symbol: string;
|
|
13906
|
-
icon: string;
|
|
13907
|
-
decimals: number;
|
|
13908
|
-
categories: TokenCategory[];
|
|
13909
|
-
};
|
|
13910
|
-
address: _aave_types.EvmAddress;
|
|
13911
|
-
chain: {
|
|
13912
|
-
__typename: "Chain";
|
|
13913
|
-
name: string;
|
|
13914
|
-
icon: string;
|
|
13915
|
-
chainId: _aave_types.ChainId;
|
|
13916
|
-
rpcUrl: string;
|
|
13917
|
-
explorerUrl: string;
|
|
13918
|
-
isTestnet: boolean;
|
|
13919
|
-
isFork: boolean;
|
|
13920
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
13921
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
13922
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
13923
|
-
nativeInfo: {
|
|
13924
|
-
__typename: "TokenInfo";
|
|
13925
|
-
id: TokenInfoId;
|
|
13926
|
-
name: string;
|
|
13927
|
-
symbol: string;
|
|
13928
|
-
icon: string;
|
|
13929
|
-
decimals: number;
|
|
13930
|
-
categories: TokenCategory[];
|
|
13931
|
-
};
|
|
13932
|
-
};
|
|
13933
|
-
isWrappedNativeToken: boolean;
|
|
13934
|
-
permitSupported: boolean;
|
|
13935
|
-
};
|
|
13936
|
-
amount: {
|
|
13937
|
-
__typename: "DecimalNumber";
|
|
13938
|
-
onChainValue: bigint;
|
|
13939
|
-
decimals: number;
|
|
13940
|
-
value: _aave_types.BigDecimal;
|
|
13941
|
-
};
|
|
13942
|
-
exchange: {
|
|
13943
|
-
__typename: "ExchangeAmount";
|
|
13944
|
-
value: _aave_types.BigDecimal;
|
|
13945
|
-
name: string;
|
|
13946
|
-
symbol: string;
|
|
13947
|
-
icon: string;
|
|
13948
|
-
decimals: number;
|
|
13949
|
-
};
|
|
13950
|
-
exchangeRate: {
|
|
13951
|
-
__typename: "DecimalNumber";
|
|
13952
|
-
onChainValue: bigint;
|
|
13953
|
-
decimals: number;
|
|
13954
|
-
value: _aave_types.BigDecimal;
|
|
13955
|
-
};
|
|
13956
|
-
};
|
|
13957
13925
|
borrowApy: {
|
|
13958
13926
|
__typename: "PercentNumber";
|
|
13959
13927
|
onChainValue: bigint;
|
|
@@ -13983,7 +13951,6 @@ declare const ReserveQuery: gql_tada.TadaDocumentNode<{
|
|
|
13983
13951
|
normalized: _aave_types.BigDecimal;
|
|
13984
13952
|
};
|
|
13985
13953
|
dynamicConfigKey: unknown;
|
|
13986
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
13987
13954
|
} | null;
|
|
13988
13955
|
asset: {
|
|
13989
13956
|
__typename: "HubAsset";
|
|
@@ -14843,66 +14810,6 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
|
|
|
14843
14810
|
value: _aave_types.BigDecimal;
|
|
14844
14811
|
};
|
|
14845
14812
|
};
|
|
14846
|
-
borrowingPower: {
|
|
14847
|
-
__typename: "Erc20Amount";
|
|
14848
|
-
token: {
|
|
14849
|
-
__typename: "Erc20Token";
|
|
14850
|
-
info: {
|
|
14851
|
-
__typename: "TokenInfo";
|
|
14852
|
-
id: TokenInfoId;
|
|
14853
|
-
name: string;
|
|
14854
|
-
symbol: string;
|
|
14855
|
-
icon: string;
|
|
14856
|
-
decimals: number;
|
|
14857
|
-
categories: TokenCategory[];
|
|
14858
|
-
};
|
|
14859
|
-
address: _aave_types.EvmAddress;
|
|
14860
|
-
chain: {
|
|
14861
|
-
__typename: "Chain";
|
|
14862
|
-
name: string;
|
|
14863
|
-
icon: string;
|
|
14864
|
-
chainId: _aave_types.ChainId;
|
|
14865
|
-
rpcUrl: string;
|
|
14866
|
-
explorerUrl: string;
|
|
14867
|
-
isTestnet: boolean;
|
|
14868
|
-
isFork: boolean;
|
|
14869
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
14870
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
14871
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
14872
|
-
nativeInfo: {
|
|
14873
|
-
__typename: "TokenInfo";
|
|
14874
|
-
id: TokenInfoId;
|
|
14875
|
-
name: string;
|
|
14876
|
-
symbol: string;
|
|
14877
|
-
icon: string;
|
|
14878
|
-
decimals: number;
|
|
14879
|
-
categories: TokenCategory[];
|
|
14880
|
-
};
|
|
14881
|
-
};
|
|
14882
|
-
isWrappedNativeToken: boolean;
|
|
14883
|
-
permitSupported: boolean;
|
|
14884
|
-
};
|
|
14885
|
-
amount: {
|
|
14886
|
-
__typename: "DecimalNumber";
|
|
14887
|
-
onChainValue: bigint;
|
|
14888
|
-
decimals: number;
|
|
14889
|
-
value: _aave_types.BigDecimal;
|
|
14890
|
-
};
|
|
14891
|
-
exchange: {
|
|
14892
|
-
__typename: "ExchangeAmount";
|
|
14893
|
-
value: _aave_types.BigDecimal;
|
|
14894
|
-
name: string;
|
|
14895
|
-
symbol: string;
|
|
14896
|
-
icon: string;
|
|
14897
|
-
decimals: number;
|
|
14898
|
-
};
|
|
14899
|
-
exchangeRate: {
|
|
14900
|
-
__typename: "DecimalNumber";
|
|
14901
|
-
onChainValue: bigint;
|
|
14902
|
-
decimals: number;
|
|
14903
|
-
value: _aave_types.BigDecimal;
|
|
14904
|
-
};
|
|
14905
|
-
};
|
|
14906
14813
|
borrowApy: {
|
|
14907
14814
|
__typename: "PercentNumber";
|
|
14908
14815
|
onChainValue: bigint;
|
|
@@ -14932,7 +14839,6 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
|
|
|
14932
14839
|
normalized: _aave_types.BigDecimal;
|
|
14933
14840
|
};
|
|
14934
14841
|
dynamicConfigKey: unknown;
|
|
14935
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
14936
14842
|
} | null;
|
|
14937
14843
|
asset: {
|
|
14938
14844
|
__typename: "HubAsset";
|
|
@@ -15415,13 +15321,17 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
|
|
|
15415
15321
|
} | {
|
|
15416
15322
|
userPositionId: UserPositionId;
|
|
15417
15323
|
} | {
|
|
15418
|
-
|
|
15324
|
+
chainTokenCategories: {
|
|
15325
|
+
categories: TokenCategory[];
|
|
15326
|
+
chainId: _aave_types.ChainId;
|
|
15327
|
+
}[];
|
|
15419
15328
|
};
|
|
15420
15329
|
};
|
|
15421
15330
|
}, void>;
|
|
15422
15331
|
type ReservesRequest = RequestOf<typeof ReservesQuery>;
|
|
15423
15332
|
type ReservesRequestOrderBy = ReturnType<typeof graphql.scalar<'ReservesRequestOrderBy'>>;
|
|
15424
15333
|
type ReservesRequestQuery = ReturnType<typeof graphql.scalar<'ReservesRequestQuery'>>;
|
|
15334
|
+
type ChainTokenCategories = ReturnType<typeof graphql.scalar<'ChainTokenCategories'>>;
|
|
15425
15335
|
|
|
15426
15336
|
/**
|
|
15427
15337
|
* @internal
|
|
@@ -20385,322 +20295,1070 @@ declare const UpdateUserPositionConditionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
20385
20295
|
};
|
|
20386
20296
|
}, {
|
|
20387
20297
|
request: {
|
|
20388
|
-
|
|
20389
|
-
dynamicConfig: boolean;
|
|
20298
|
+
update: UserPositionConditionsUpdate;
|
|
20390
20299
|
userPositionId: UserPositionId;
|
|
20391
20300
|
};
|
|
20392
20301
|
}, void>;
|
|
20393
20302
|
type UpdateUserPositionConditionsRequest = RequestOf<typeof UpdateUserPositionConditionsQuery>;
|
|
20394
|
-
declare const
|
|
20395
|
-
__typename: "
|
|
20396
|
-
|
|
20397
|
-
|
|
20398
|
-
__typename: "
|
|
20399
|
-
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
__typename: "HealthFactorError";
|
|
20403
|
-
reason: string;
|
|
20404
|
-
current: _aave_types.BigDecimal | null;
|
|
20405
|
-
after: _aave_types.BigDecimal | null;
|
|
20406
|
-
};
|
|
20407
|
-
netApy: {
|
|
20408
|
-
__typename: "PercentNumberVariation";
|
|
20409
|
-
current: {
|
|
20410
|
-
__typename: "PercentNumber";
|
|
20411
|
-
onChainValue: bigint;
|
|
20412
|
-
decimals: number;
|
|
20413
|
-
value: _aave_types.BigDecimal;
|
|
20414
|
-
normalized: _aave_types.BigDecimal;
|
|
20415
|
-
};
|
|
20416
|
-
after: {
|
|
20417
|
-
__typename: "PercentNumber";
|
|
20418
|
-
onChainValue: bigint;
|
|
20419
|
-
decimals: number;
|
|
20420
|
-
value: _aave_types.BigDecimal;
|
|
20421
|
-
normalized: _aave_types.BigDecimal;
|
|
20422
|
-
};
|
|
20423
|
-
};
|
|
20424
|
-
riskPremium: {
|
|
20425
|
-
__typename: "PercentNumberVariation";
|
|
20426
|
-
current: {
|
|
20427
|
-
__typename: "PercentNumber";
|
|
20428
|
-
onChainValue: bigint;
|
|
20429
|
-
decimals: number;
|
|
20430
|
-
value: _aave_types.BigDecimal;
|
|
20431
|
-
normalized: _aave_types.BigDecimal;
|
|
20432
|
-
};
|
|
20433
|
-
after: {
|
|
20434
|
-
__typename: "PercentNumber";
|
|
20435
|
-
onChainValue: bigint;
|
|
20436
|
-
decimals: number;
|
|
20437
|
-
value: _aave_types.BigDecimal;
|
|
20438
|
-
normalized: _aave_types.BigDecimal;
|
|
20439
|
-
};
|
|
20440
|
-
};
|
|
20441
|
-
netCollateral: {
|
|
20442
|
-
__typename: "ExchangeAmountValueVariation";
|
|
20443
|
-
current: {
|
|
20444
|
-
__typename: "ExchangeAmount";
|
|
20445
|
-
value: _aave_types.BigDecimal;
|
|
20446
|
-
name: string;
|
|
20447
|
-
symbol: string;
|
|
20448
|
-
icon: string;
|
|
20449
|
-
decimals: number;
|
|
20450
|
-
};
|
|
20451
|
-
after: {
|
|
20452
|
-
__typename: "ExchangeAmount";
|
|
20453
|
-
value: _aave_types.BigDecimal;
|
|
20454
|
-
name: string;
|
|
20455
|
-
symbol: string;
|
|
20456
|
-
icon: string;
|
|
20457
|
-
decimals: number;
|
|
20458
|
-
};
|
|
20459
|
-
};
|
|
20460
|
-
netBalance: {
|
|
20461
|
-
__typename: "ExchangeAmountValueVariation";
|
|
20462
|
-
current: {
|
|
20463
|
-
__typename: "ExchangeAmount";
|
|
20464
|
-
value: _aave_types.BigDecimal;
|
|
20465
|
-
name: string;
|
|
20466
|
-
symbol: string;
|
|
20467
|
-
icon: string;
|
|
20468
|
-
decimals: number;
|
|
20469
|
-
};
|
|
20470
|
-
after: {
|
|
20471
|
-
__typename: "ExchangeAmount";
|
|
20472
|
-
value: _aave_types.BigDecimal;
|
|
20303
|
+
declare const CollateralFactorVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20304
|
+
__typename: "CollateralFactorVariation";
|
|
20305
|
+
reserveId: ReserveId;
|
|
20306
|
+
token: {
|
|
20307
|
+
__typename: "Erc20Token";
|
|
20308
|
+
info: {
|
|
20309
|
+
__typename: "TokenInfo";
|
|
20310
|
+
id: TokenInfoId;
|
|
20473
20311
|
name: string;
|
|
20474
20312
|
symbol: string;
|
|
20475
20313
|
icon: string;
|
|
20476
20314
|
decimals: number;
|
|
20315
|
+
categories: TokenCategory[];
|
|
20477
20316
|
};
|
|
20478
|
-
|
|
20479
|
-
|
|
20480
|
-
|
|
20481
|
-
|
|
20482
|
-
|
|
20483
|
-
|
|
20484
|
-
|
|
20485
|
-
|
|
20486
|
-
|
|
20487
|
-
|
|
20488
|
-
|
|
20489
|
-
|
|
20490
|
-
|
|
20491
|
-
|
|
20492
|
-
|
|
20493
|
-
|
|
20494
|
-
|
|
20495
|
-
|
|
20496
|
-
|
|
20497
|
-
|
|
20498
|
-
|
|
20499
|
-
|
|
20500
|
-
|
|
20501
|
-
|
|
20502
|
-
|
|
20503
|
-
|
|
20504
|
-
|
|
20505
|
-
|
|
20506
|
-
|
|
20507
|
-
|
|
20508
|
-
|
|
20509
|
-
|
|
20510
|
-
|
|
20511
|
-
|
|
20512
|
-
|
|
20513
|
-
|
|
20514
|
-
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
|
|
20528
|
-
|
|
20529
|
-
|
|
20530
|
-
|
|
20531
|
-
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20537
|
-
|
|
20538
|
-
|
|
20539
|
-
|
|
20540
|
-
|
|
20541
|
-
|
|
20542
|
-
|
|
20543
|
-
|
|
20544
|
-
|
|
20545
|
-
|
|
20546
|
-
|
|
20547
|
-
|
|
20548
|
-
|
|
20549
|
-
|
|
20550
|
-
|
|
20551
|
-
|
|
20552
|
-
|
|
20553
|
-
|
|
20554
|
-
|
|
20555
|
-
|
|
20556
|
-
|
|
20557
|
-
|
|
20558
|
-
|
|
20559
|
-
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
|
|
20564
|
-
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
20584
|
-
|
|
20585
|
-
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
20592
|
-
|
|
20593
|
-
|
|
20594
|
-
|
|
20595
|
-
|
|
20596
|
-
|
|
20597
|
-
|
|
20598
|
-
|
|
20599
|
-
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
|
|
20607
|
-
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20637
|
-
|
|
20638
|
-
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
|
|
20652
|
-
|
|
20653
|
-
|
|
20654
|
-
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
}
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
|
|
20661
|
-
|
|
20662
|
-
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20671
|
-
|
|
20672
|
-
|
|
20673
|
-
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
|
|
20682
|
-
|
|
20683
|
-
|
|
20684
|
-
|
|
20685
|
-
|
|
20686
|
-
|
|
20687
|
-
|
|
20688
|
-
|
|
20689
|
-
|
|
20690
|
-
|
|
20691
|
-
|
|
20692
|
-
|
|
20693
|
-
|
|
20694
|
-
|
|
20695
|
-
|
|
20696
|
-
|
|
20697
|
-
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
|
|
20701
|
-
|
|
20702
|
-
|
|
20703
|
-
|
|
20317
|
+
address: _aave_types.EvmAddress;
|
|
20318
|
+
chain: {
|
|
20319
|
+
__typename: "Chain";
|
|
20320
|
+
name: string;
|
|
20321
|
+
icon: string;
|
|
20322
|
+
chainId: _aave_types.ChainId;
|
|
20323
|
+
rpcUrl: string;
|
|
20324
|
+
explorerUrl: string;
|
|
20325
|
+
isTestnet: boolean;
|
|
20326
|
+
isFork: boolean;
|
|
20327
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20328
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20329
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20330
|
+
nativeInfo: {
|
|
20331
|
+
__typename: "TokenInfo";
|
|
20332
|
+
id: TokenInfoId;
|
|
20333
|
+
name: string;
|
|
20334
|
+
symbol: string;
|
|
20335
|
+
icon: string;
|
|
20336
|
+
decimals: number;
|
|
20337
|
+
categories: TokenCategory[];
|
|
20338
|
+
};
|
|
20339
|
+
};
|
|
20340
|
+
isWrappedNativeToken: boolean;
|
|
20341
|
+
permitSupported: boolean;
|
|
20342
|
+
};
|
|
20343
|
+
current: {
|
|
20344
|
+
__typename: "PercentNumber";
|
|
20345
|
+
onChainValue: bigint;
|
|
20346
|
+
decimals: number;
|
|
20347
|
+
value: _aave_types.BigDecimal;
|
|
20348
|
+
normalized: _aave_types.BigDecimal;
|
|
20349
|
+
};
|
|
20350
|
+
after: {
|
|
20351
|
+
__typename: "PercentNumber";
|
|
20352
|
+
onChainValue: bigint;
|
|
20353
|
+
decimals: number;
|
|
20354
|
+
value: _aave_types.BigDecimal;
|
|
20355
|
+
normalized: _aave_types.BigDecimal;
|
|
20356
|
+
};
|
|
20357
|
+
}, {}, {
|
|
20358
|
+
fragment: "CollateralFactorVariation";
|
|
20359
|
+
on: "CollateralFactorVariation";
|
|
20360
|
+
masked: false;
|
|
20361
|
+
}>;
|
|
20362
|
+
type CollateralFactorVariation = FragmentOf<typeof CollateralFactorVariationFragment>;
|
|
20363
|
+
declare const LiquidationFeeVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20364
|
+
__typename: "LiquidationFeeVariation";
|
|
20365
|
+
reserveId: ReserveId;
|
|
20366
|
+
token: {
|
|
20367
|
+
__typename: "Erc20Token";
|
|
20368
|
+
info: {
|
|
20369
|
+
__typename: "TokenInfo";
|
|
20370
|
+
id: TokenInfoId;
|
|
20371
|
+
name: string;
|
|
20372
|
+
symbol: string;
|
|
20373
|
+
icon: string;
|
|
20374
|
+
decimals: number;
|
|
20375
|
+
categories: TokenCategory[];
|
|
20376
|
+
};
|
|
20377
|
+
address: _aave_types.EvmAddress;
|
|
20378
|
+
chain: {
|
|
20379
|
+
__typename: "Chain";
|
|
20380
|
+
name: string;
|
|
20381
|
+
icon: string;
|
|
20382
|
+
chainId: _aave_types.ChainId;
|
|
20383
|
+
rpcUrl: string;
|
|
20384
|
+
explorerUrl: string;
|
|
20385
|
+
isTestnet: boolean;
|
|
20386
|
+
isFork: boolean;
|
|
20387
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20388
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20389
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20390
|
+
nativeInfo: {
|
|
20391
|
+
__typename: "TokenInfo";
|
|
20392
|
+
id: TokenInfoId;
|
|
20393
|
+
name: string;
|
|
20394
|
+
symbol: string;
|
|
20395
|
+
icon: string;
|
|
20396
|
+
decimals: number;
|
|
20397
|
+
categories: TokenCategory[];
|
|
20398
|
+
};
|
|
20399
|
+
};
|
|
20400
|
+
isWrappedNativeToken: boolean;
|
|
20401
|
+
permitSupported: boolean;
|
|
20402
|
+
};
|
|
20403
|
+
current: {
|
|
20404
|
+
__typename: "PercentNumber";
|
|
20405
|
+
onChainValue: bigint;
|
|
20406
|
+
decimals: number;
|
|
20407
|
+
value: _aave_types.BigDecimal;
|
|
20408
|
+
normalized: _aave_types.BigDecimal;
|
|
20409
|
+
};
|
|
20410
|
+
after: {
|
|
20411
|
+
__typename: "PercentNumber";
|
|
20412
|
+
onChainValue: bigint;
|
|
20413
|
+
decimals: number;
|
|
20414
|
+
value: _aave_types.BigDecimal;
|
|
20415
|
+
normalized: _aave_types.BigDecimal;
|
|
20416
|
+
};
|
|
20417
|
+
}, {}, {
|
|
20418
|
+
fragment: "LiquidationFeeVariation";
|
|
20419
|
+
on: "LiquidationFeeVariation";
|
|
20420
|
+
masked: false;
|
|
20421
|
+
}>;
|
|
20422
|
+
type LiquidationFeeVariation = FragmentOf<typeof LiquidationFeeVariationFragment>;
|
|
20423
|
+
declare const MaxLiquidationBonusVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20424
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
20425
|
+
reserveId: ReserveId;
|
|
20426
|
+
token: {
|
|
20427
|
+
__typename: "Erc20Token";
|
|
20428
|
+
info: {
|
|
20429
|
+
__typename: "TokenInfo";
|
|
20430
|
+
id: TokenInfoId;
|
|
20431
|
+
name: string;
|
|
20432
|
+
symbol: string;
|
|
20433
|
+
icon: string;
|
|
20434
|
+
decimals: number;
|
|
20435
|
+
categories: TokenCategory[];
|
|
20436
|
+
};
|
|
20437
|
+
address: _aave_types.EvmAddress;
|
|
20438
|
+
chain: {
|
|
20439
|
+
__typename: "Chain";
|
|
20440
|
+
name: string;
|
|
20441
|
+
icon: string;
|
|
20442
|
+
chainId: _aave_types.ChainId;
|
|
20443
|
+
rpcUrl: string;
|
|
20444
|
+
explorerUrl: string;
|
|
20445
|
+
isTestnet: boolean;
|
|
20446
|
+
isFork: boolean;
|
|
20447
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20448
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20449
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20450
|
+
nativeInfo: {
|
|
20451
|
+
__typename: "TokenInfo";
|
|
20452
|
+
id: TokenInfoId;
|
|
20453
|
+
name: string;
|
|
20454
|
+
symbol: string;
|
|
20455
|
+
icon: string;
|
|
20456
|
+
decimals: number;
|
|
20457
|
+
categories: TokenCategory[];
|
|
20458
|
+
};
|
|
20459
|
+
};
|
|
20460
|
+
isWrappedNativeToken: boolean;
|
|
20461
|
+
permitSupported: boolean;
|
|
20462
|
+
};
|
|
20463
|
+
current: {
|
|
20464
|
+
__typename: "PercentNumber";
|
|
20465
|
+
onChainValue: bigint;
|
|
20466
|
+
decimals: number;
|
|
20467
|
+
value: _aave_types.BigDecimal;
|
|
20468
|
+
normalized: _aave_types.BigDecimal;
|
|
20469
|
+
};
|
|
20470
|
+
after: {
|
|
20471
|
+
__typename: "PercentNumber";
|
|
20472
|
+
onChainValue: bigint;
|
|
20473
|
+
decimals: number;
|
|
20474
|
+
value: _aave_types.BigDecimal;
|
|
20475
|
+
normalized: _aave_types.BigDecimal;
|
|
20476
|
+
};
|
|
20477
|
+
}, {}, {
|
|
20478
|
+
fragment: "MaxLiquidationBonusVariation";
|
|
20479
|
+
on: "MaxLiquidationBonusVariation";
|
|
20480
|
+
masked: false;
|
|
20481
|
+
}>;
|
|
20482
|
+
type MaxLiquidationBonusVariation = FragmentOf<typeof MaxLiquidationBonusVariationFragment>;
|
|
20483
|
+
declare const UserPositionConditionVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20484
|
+
__typename: "CollateralFactorVariation";
|
|
20485
|
+
reserveId: ReserveId;
|
|
20486
|
+
token: {
|
|
20487
|
+
__typename: "Erc20Token";
|
|
20488
|
+
info: {
|
|
20489
|
+
__typename: "TokenInfo";
|
|
20490
|
+
id: TokenInfoId;
|
|
20491
|
+
name: string;
|
|
20492
|
+
symbol: string;
|
|
20493
|
+
icon: string;
|
|
20494
|
+
decimals: number;
|
|
20495
|
+
categories: TokenCategory[];
|
|
20496
|
+
};
|
|
20497
|
+
address: _aave_types.EvmAddress;
|
|
20498
|
+
chain: {
|
|
20499
|
+
__typename: "Chain";
|
|
20500
|
+
name: string;
|
|
20501
|
+
icon: string;
|
|
20502
|
+
chainId: _aave_types.ChainId;
|
|
20503
|
+
rpcUrl: string;
|
|
20504
|
+
explorerUrl: string;
|
|
20505
|
+
isTestnet: boolean;
|
|
20506
|
+
isFork: boolean;
|
|
20507
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20508
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20509
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20510
|
+
nativeInfo: {
|
|
20511
|
+
__typename: "TokenInfo";
|
|
20512
|
+
id: TokenInfoId;
|
|
20513
|
+
name: string;
|
|
20514
|
+
symbol: string;
|
|
20515
|
+
icon: string;
|
|
20516
|
+
decimals: number;
|
|
20517
|
+
categories: TokenCategory[];
|
|
20518
|
+
};
|
|
20519
|
+
};
|
|
20520
|
+
isWrappedNativeToken: boolean;
|
|
20521
|
+
permitSupported: boolean;
|
|
20522
|
+
};
|
|
20523
|
+
current: {
|
|
20524
|
+
__typename: "PercentNumber";
|
|
20525
|
+
onChainValue: bigint;
|
|
20526
|
+
decimals: number;
|
|
20527
|
+
value: _aave_types.BigDecimal;
|
|
20528
|
+
normalized: _aave_types.BigDecimal;
|
|
20529
|
+
};
|
|
20530
|
+
after: {
|
|
20531
|
+
__typename: "PercentNumber";
|
|
20532
|
+
onChainValue: bigint;
|
|
20533
|
+
decimals: number;
|
|
20534
|
+
value: _aave_types.BigDecimal;
|
|
20535
|
+
normalized: _aave_types.BigDecimal;
|
|
20536
|
+
};
|
|
20537
|
+
} | {
|
|
20538
|
+
__typename: "LiquidationFeeVariation";
|
|
20539
|
+
reserveId: ReserveId;
|
|
20540
|
+
token: {
|
|
20541
|
+
__typename: "Erc20Token";
|
|
20542
|
+
info: {
|
|
20543
|
+
__typename: "TokenInfo";
|
|
20544
|
+
id: TokenInfoId;
|
|
20545
|
+
name: string;
|
|
20546
|
+
symbol: string;
|
|
20547
|
+
icon: string;
|
|
20548
|
+
decimals: number;
|
|
20549
|
+
categories: TokenCategory[];
|
|
20550
|
+
};
|
|
20551
|
+
address: _aave_types.EvmAddress;
|
|
20552
|
+
chain: {
|
|
20553
|
+
__typename: "Chain";
|
|
20554
|
+
name: string;
|
|
20555
|
+
icon: string;
|
|
20556
|
+
chainId: _aave_types.ChainId;
|
|
20557
|
+
rpcUrl: string;
|
|
20558
|
+
explorerUrl: string;
|
|
20559
|
+
isTestnet: boolean;
|
|
20560
|
+
isFork: boolean;
|
|
20561
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20562
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20563
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20564
|
+
nativeInfo: {
|
|
20565
|
+
__typename: "TokenInfo";
|
|
20566
|
+
id: TokenInfoId;
|
|
20567
|
+
name: string;
|
|
20568
|
+
symbol: string;
|
|
20569
|
+
icon: string;
|
|
20570
|
+
decimals: number;
|
|
20571
|
+
categories: TokenCategory[];
|
|
20572
|
+
};
|
|
20573
|
+
};
|
|
20574
|
+
isWrappedNativeToken: boolean;
|
|
20575
|
+
permitSupported: boolean;
|
|
20576
|
+
};
|
|
20577
|
+
current: {
|
|
20578
|
+
__typename: "PercentNumber";
|
|
20579
|
+
onChainValue: bigint;
|
|
20580
|
+
decimals: number;
|
|
20581
|
+
value: _aave_types.BigDecimal;
|
|
20582
|
+
normalized: _aave_types.BigDecimal;
|
|
20583
|
+
};
|
|
20584
|
+
after: {
|
|
20585
|
+
__typename: "PercentNumber";
|
|
20586
|
+
onChainValue: bigint;
|
|
20587
|
+
decimals: number;
|
|
20588
|
+
value: _aave_types.BigDecimal;
|
|
20589
|
+
normalized: _aave_types.BigDecimal;
|
|
20590
|
+
};
|
|
20591
|
+
} | {
|
|
20592
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
20593
|
+
reserveId: ReserveId;
|
|
20594
|
+
token: {
|
|
20595
|
+
__typename: "Erc20Token";
|
|
20596
|
+
info: {
|
|
20597
|
+
__typename: "TokenInfo";
|
|
20598
|
+
id: TokenInfoId;
|
|
20599
|
+
name: string;
|
|
20600
|
+
symbol: string;
|
|
20601
|
+
icon: string;
|
|
20602
|
+
decimals: number;
|
|
20603
|
+
categories: TokenCategory[];
|
|
20604
|
+
};
|
|
20605
|
+
address: _aave_types.EvmAddress;
|
|
20606
|
+
chain: {
|
|
20607
|
+
__typename: "Chain";
|
|
20608
|
+
name: string;
|
|
20609
|
+
icon: string;
|
|
20610
|
+
chainId: _aave_types.ChainId;
|
|
20611
|
+
rpcUrl: string;
|
|
20612
|
+
explorerUrl: string;
|
|
20613
|
+
isTestnet: boolean;
|
|
20614
|
+
isFork: boolean;
|
|
20615
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20616
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20617
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20618
|
+
nativeInfo: {
|
|
20619
|
+
__typename: "TokenInfo";
|
|
20620
|
+
id: TokenInfoId;
|
|
20621
|
+
name: string;
|
|
20622
|
+
symbol: string;
|
|
20623
|
+
icon: string;
|
|
20624
|
+
decimals: number;
|
|
20625
|
+
categories: TokenCategory[];
|
|
20626
|
+
};
|
|
20627
|
+
};
|
|
20628
|
+
isWrappedNativeToken: boolean;
|
|
20629
|
+
permitSupported: boolean;
|
|
20630
|
+
};
|
|
20631
|
+
current: {
|
|
20632
|
+
__typename: "PercentNumber";
|
|
20633
|
+
onChainValue: bigint;
|
|
20634
|
+
decimals: number;
|
|
20635
|
+
value: _aave_types.BigDecimal;
|
|
20636
|
+
normalized: _aave_types.BigDecimal;
|
|
20637
|
+
};
|
|
20638
|
+
after: {
|
|
20639
|
+
__typename: "PercentNumber";
|
|
20640
|
+
onChainValue: bigint;
|
|
20641
|
+
decimals: number;
|
|
20642
|
+
value: _aave_types.BigDecimal;
|
|
20643
|
+
normalized: _aave_types.BigDecimal;
|
|
20644
|
+
};
|
|
20645
|
+
}, {}, {
|
|
20646
|
+
fragment: "UserPositionConditionVariation";
|
|
20647
|
+
on: "UserPositionConditionVariation";
|
|
20648
|
+
masked: false;
|
|
20649
|
+
}>;
|
|
20650
|
+
type UserPositionConditionVariation = FragmentOf<typeof UserPositionConditionVariationFragment>;
|
|
20651
|
+
declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
20652
|
+
__typename: "PreviewUserPosition";
|
|
20653
|
+
id: UserPositionId;
|
|
20654
|
+
healthFactor: {
|
|
20655
|
+
__typename: "HealthFactorVariation";
|
|
20656
|
+
current: _aave_types.BigDecimal | null;
|
|
20657
|
+
after: _aave_types.BigDecimal | null;
|
|
20658
|
+
} | {
|
|
20659
|
+
__typename: "HealthFactorError";
|
|
20660
|
+
reason: string;
|
|
20661
|
+
current: _aave_types.BigDecimal | null;
|
|
20662
|
+
after: _aave_types.BigDecimal | null;
|
|
20663
|
+
};
|
|
20664
|
+
netApy: {
|
|
20665
|
+
__typename: "PercentNumberVariation";
|
|
20666
|
+
current: {
|
|
20667
|
+
__typename: "PercentNumber";
|
|
20668
|
+
onChainValue: bigint;
|
|
20669
|
+
decimals: number;
|
|
20670
|
+
value: _aave_types.BigDecimal;
|
|
20671
|
+
normalized: _aave_types.BigDecimal;
|
|
20672
|
+
};
|
|
20673
|
+
after: {
|
|
20674
|
+
__typename: "PercentNumber";
|
|
20675
|
+
onChainValue: bigint;
|
|
20676
|
+
decimals: number;
|
|
20677
|
+
value: _aave_types.BigDecimal;
|
|
20678
|
+
normalized: _aave_types.BigDecimal;
|
|
20679
|
+
};
|
|
20680
|
+
};
|
|
20681
|
+
riskPremium: {
|
|
20682
|
+
__typename: "PercentNumberVariation";
|
|
20683
|
+
current: {
|
|
20684
|
+
__typename: "PercentNumber";
|
|
20685
|
+
onChainValue: bigint;
|
|
20686
|
+
decimals: number;
|
|
20687
|
+
value: _aave_types.BigDecimal;
|
|
20688
|
+
normalized: _aave_types.BigDecimal;
|
|
20689
|
+
};
|
|
20690
|
+
after: {
|
|
20691
|
+
__typename: "PercentNumber";
|
|
20692
|
+
onChainValue: bigint;
|
|
20693
|
+
decimals: number;
|
|
20694
|
+
value: _aave_types.BigDecimal;
|
|
20695
|
+
normalized: _aave_types.BigDecimal;
|
|
20696
|
+
};
|
|
20697
|
+
};
|
|
20698
|
+
netCollateral: {
|
|
20699
|
+
__typename: "ExchangeAmountVariation";
|
|
20700
|
+
current: {
|
|
20701
|
+
__typename: "ExchangeAmount";
|
|
20702
|
+
value: _aave_types.BigDecimal;
|
|
20703
|
+
name: string;
|
|
20704
|
+
symbol: string;
|
|
20705
|
+
icon: string;
|
|
20706
|
+
decimals: number;
|
|
20707
|
+
};
|
|
20708
|
+
after: {
|
|
20709
|
+
__typename: "ExchangeAmount";
|
|
20710
|
+
value: _aave_types.BigDecimal;
|
|
20711
|
+
name: string;
|
|
20712
|
+
symbol: string;
|
|
20713
|
+
icon: string;
|
|
20714
|
+
decimals: number;
|
|
20715
|
+
};
|
|
20716
|
+
};
|
|
20717
|
+
netBalance: {
|
|
20718
|
+
__typename: "ExchangeAmountVariation";
|
|
20719
|
+
current: {
|
|
20720
|
+
__typename: "ExchangeAmount";
|
|
20721
|
+
value: _aave_types.BigDecimal;
|
|
20722
|
+
name: string;
|
|
20723
|
+
symbol: string;
|
|
20724
|
+
icon: string;
|
|
20725
|
+
decimals: number;
|
|
20726
|
+
};
|
|
20727
|
+
after: {
|
|
20728
|
+
__typename: "ExchangeAmount";
|
|
20729
|
+
value: _aave_types.BigDecimal;
|
|
20730
|
+
name: string;
|
|
20731
|
+
symbol: string;
|
|
20732
|
+
icon: string;
|
|
20733
|
+
decimals: number;
|
|
20734
|
+
};
|
|
20735
|
+
};
|
|
20736
|
+
projectedEarnings: {
|
|
20737
|
+
__typename: "ExchangeAmountVariation";
|
|
20738
|
+
current: {
|
|
20739
|
+
__typename: "ExchangeAmount";
|
|
20740
|
+
value: _aave_types.BigDecimal;
|
|
20741
|
+
name: string;
|
|
20742
|
+
symbol: string;
|
|
20743
|
+
icon: string;
|
|
20744
|
+
decimals: number;
|
|
20745
|
+
};
|
|
20746
|
+
after: {
|
|
20747
|
+
__typename: "ExchangeAmount";
|
|
20748
|
+
value: _aave_types.BigDecimal;
|
|
20749
|
+
name: string;
|
|
20750
|
+
symbol: string;
|
|
20751
|
+
icon: string;
|
|
20752
|
+
decimals: number;
|
|
20753
|
+
};
|
|
20754
|
+
};
|
|
20755
|
+
borrowingPower: {
|
|
20756
|
+
__typename: "ExchangeAmountVariation";
|
|
20757
|
+
current: {
|
|
20758
|
+
__typename: "ExchangeAmount";
|
|
20759
|
+
value: _aave_types.BigDecimal;
|
|
20760
|
+
name: string;
|
|
20761
|
+
symbol: string;
|
|
20762
|
+
icon: string;
|
|
20763
|
+
decimals: number;
|
|
20764
|
+
};
|
|
20765
|
+
after: {
|
|
20766
|
+
__typename: "ExchangeAmount";
|
|
20767
|
+
value: _aave_types.BigDecimal;
|
|
20768
|
+
name: string;
|
|
20769
|
+
symbol: string;
|
|
20770
|
+
icon: string;
|
|
20771
|
+
decimals: number;
|
|
20772
|
+
};
|
|
20773
|
+
};
|
|
20774
|
+
otherConditions: ({
|
|
20775
|
+
__typename: "CollateralFactorVariation";
|
|
20776
|
+
reserveId: ReserveId;
|
|
20777
|
+
token: {
|
|
20778
|
+
__typename: "Erc20Token";
|
|
20779
|
+
info: {
|
|
20780
|
+
__typename: "TokenInfo";
|
|
20781
|
+
id: TokenInfoId;
|
|
20782
|
+
name: string;
|
|
20783
|
+
symbol: string;
|
|
20784
|
+
icon: string;
|
|
20785
|
+
decimals: number;
|
|
20786
|
+
categories: TokenCategory[];
|
|
20787
|
+
};
|
|
20788
|
+
address: _aave_types.EvmAddress;
|
|
20789
|
+
chain: {
|
|
20790
|
+
__typename: "Chain";
|
|
20791
|
+
name: string;
|
|
20792
|
+
icon: string;
|
|
20793
|
+
chainId: _aave_types.ChainId;
|
|
20794
|
+
rpcUrl: string;
|
|
20795
|
+
explorerUrl: string;
|
|
20796
|
+
isTestnet: boolean;
|
|
20797
|
+
isFork: boolean;
|
|
20798
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20799
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20800
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20801
|
+
nativeInfo: {
|
|
20802
|
+
__typename: "TokenInfo";
|
|
20803
|
+
id: TokenInfoId;
|
|
20804
|
+
name: string;
|
|
20805
|
+
symbol: string;
|
|
20806
|
+
icon: string;
|
|
20807
|
+
decimals: number;
|
|
20808
|
+
categories: TokenCategory[];
|
|
20809
|
+
};
|
|
20810
|
+
};
|
|
20811
|
+
isWrappedNativeToken: boolean;
|
|
20812
|
+
permitSupported: boolean;
|
|
20813
|
+
};
|
|
20814
|
+
current: {
|
|
20815
|
+
__typename: "PercentNumber";
|
|
20816
|
+
onChainValue: bigint;
|
|
20817
|
+
decimals: number;
|
|
20818
|
+
value: _aave_types.BigDecimal;
|
|
20819
|
+
normalized: _aave_types.BigDecimal;
|
|
20820
|
+
};
|
|
20821
|
+
after: {
|
|
20822
|
+
__typename: "PercentNumber";
|
|
20823
|
+
onChainValue: bigint;
|
|
20824
|
+
decimals: number;
|
|
20825
|
+
value: _aave_types.BigDecimal;
|
|
20826
|
+
normalized: _aave_types.BigDecimal;
|
|
20827
|
+
};
|
|
20828
|
+
} | {
|
|
20829
|
+
__typename: "LiquidationFeeVariation";
|
|
20830
|
+
reserveId: ReserveId;
|
|
20831
|
+
token: {
|
|
20832
|
+
__typename: "Erc20Token";
|
|
20833
|
+
info: {
|
|
20834
|
+
__typename: "TokenInfo";
|
|
20835
|
+
id: TokenInfoId;
|
|
20836
|
+
name: string;
|
|
20837
|
+
symbol: string;
|
|
20838
|
+
icon: string;
|
|
20839
|
+
decimals: number;
|
|
20840
|
+
categories: TokenCategory[];
|
|
20841
|
+
};
|
|
20842
|
+
address: _aave_types.EvmAddress;
|
|
20843
|
+
chain: {
|
|
20844
|
+
__typename: "Chain";
|
|
20845
|
+
name: string;
|
|
20846
|
+
icon: string;
|
|
20847
|
+
chainId: _aave_types.ChainId;
|
|
20848
|
+
rpcUrl: string;
|
|
20849
|
+
explorerUrl: string;
|
|
20850
|
+
isTestnet: boolean;
|
|
20851
|
+
isFork: boolean;
|
|
20852
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20853
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20854
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20855
|
+
nativeInfo: {
|
|
20856
|
+
__typename: "TokenInfo";
|
|
20857
|
+
id: TokenInfoId;
|
|
20858
|
+
name: string;
|
|
20859
|
+
symbol: string;
|
|
20860
|
+
icon: string;
|
|
20861
|
+
decimals: number;
|
|
20862
|
+
categories: TokenCategory[];
|
|
20863
|
+
};
|
|
20864
|
+
};
|
|
20865
|
+
isWrappedNativeToken: boolean;
|
|
20866
|
+
permitSupported: boolean;
|
|
20867
|
+
};
|
|
20868
|
+
current: {
|
|
20869
|
+
__typename: "PercentNumber";
|
|
20870
|
+
onChainValue: bigint;
|
|
20871
|
+
decimals: number;
|
|
20872
|
+
value: _aave_types.BigDecimal;
|
|
20873
|
+
normalized: _aave_types.BigDecimal;
|
|
20874
|
+
};
|
|
20875
|
+
after: {
|
|
20876
|
+
__typename: "PercentNumber";
|
|
20877
|
+
onChainValue: bigint;
|
|
20878
|
+
decimals: number;
|
|
20879
|
+
value: _aave_types.BigDecimal;
|
|
20880
|
+
normalized: _aave_types.BigDecimal;
|
|
20881
|
+
};
|
|
20882
|
+
} | {
|
|
20883
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
20884
|
+
reserveId: ReserveId;
|
|
20885
|
+
token: {
|
|
20886
|
+
__typename: "Erc20Token";
|
|
20887
|
+
info: {
|
|
20888
|
+
__typename: "TokenInfo";
|
|
20889
|
+
id: TokenInfoId;
|
|
20890
|
+
name: string;
|
|
20891
|
+
symbol: string;
|
|
20892
|
+
icon: string;
|
|
20893
|
+
decimals: number;
|
|
20894
|
+
categories: TokenCategory[];
|
|
20895
|
+
};
|
|
20896
|
+
address: _aave_types.EvmAddress;
|
|
20897
|
+
chain: {
|
|
20898
|
+
__typename: "Chain";
|
|
20899
|
+
name: string;
|
|
20900
|
+
icon: string;
|
|
20901
|
+
chainId: _aave_types.ChainId;
|
|
20902
|
+
rpcUrl: string;
|
|
20903
|
+
explorerUrl: string;
|
|
20904
|
+
isTestnet: boolean;
|
|
20905
|
+
isFork: boolean;
|
|
20906
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20907
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20908
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20909
|
+
nativeInfo: {
|
|
20910
|
+
__typename: "TokenInfo";
|
|
20911
|
+
id: TokenInfoId;
|
|
20912
|
+
name: string;
|
|
20913
|
+
symbol: string;
|
|
20914
|
+
icon: string;
|
|
20915
|
+
decimals: number;
|
|
20916
|
+
categories: TokenCategory[];
|
|
20917
|
+
};
|
|
20918
|
+
};
|
|
20919
|
+
isWrappedNativeToken: boolean;
|
|
20920
|
+
permitSupported: boolean;
|
|
20921
|
+
};
|
|
20922
|
+
current: {
|
|
20923
|
+
__typename: "PercentNumber";
|
|
20924
|
+
onChainValue: bigint;
|
|
20925
|
+
decimals: number;
|
|
20926
|
+
value: _aave_types.BigDecimal;
|
|
20927
|
+
normalized: _aave_types.BigDecimal;
|
|
20928
|
+
};
|
|
20929
|
+
after: {
|
|
20930
|
+
__typename: "PercentNumber";
|
|
20931
|
+
onChainValue: bigint;
|
|
20932
|
+
decimals: number;
|
|
20933
|
+
value: _aave_types.BigDecimal;
|
|
20934
|
+
normalized: _aave_types.BigDecimal;
|
|
20935
|
+
};
|
|
20936
|
+
})[];
|
|
20937
|
+
}, {}, {
|
|
20938
|
+
fragment: "PreviewUserPosition";
|
|
20939
|
+
on: "PreviewUserPosition";
|
|
20940
|
+
masked: false;
|
|
20941
|
+
}>;
|
|
20942
|
+
type PreviewUserPosition = FragmentOf<typeof PreviewUserPositionFragment>;
|
|
20943
|
+
/**
|
|
20944
|
+
* @internal
|
|
20945
|
+
*/
|
|
20946
|
+
declare const PreviewQuery: gql_tada.TadaDocumentNode<{
|
|
20947
|
+
value: {
|
|
20948
|
+
__typename: "PreviewUserPosition";
|
|
20949
|
+
id: UserPositionId;
|
|
20950
|
+
healthFactor: {
|
|
20951
|
+
__typename: "HealthFactorVariation";
|
|
20952
|
+
current: _aave_types.BigDecimal | null;
|
|
20953
|
+
after: _aave_types.BigDecimal | null;
|
|
20954
|
+
} | {
|
|
20955
|
+
__typename: "HealthFactorError";
|
|
20956
|
+
reason: string;
|
|
20957
|
+
current: _aave_types.BigDecimal | null;
|
|
20958
|
+
after: _aave_types.BigDecimal | null;
|
|
20959
|
+
};
|
|
20960
|
+
netApy: {
|
|
20961
|
+
__typename: "PercentNumberVariation";
|
|
20962
|
+
current: {
|
|
20963
|
+
__typename: "PercentNumber";
|
|
20964
|
+
onChainValue: bigint;
|
|
20965
|
+
decimals: number;
|
|
20966
|
+
value: _aave_types.BigDecimal;
|
|
20967
|
+
normalized: _aave_types.BigDecimal;
|
|
20968
|
+
};
|
|
20969
|
+
after: {
|
|
20970
|
+
__typename: "PercentNumber";
|
|
20971
|
+
onChainValue: bigint;
|
|
20972
|
+
decimals: number;
|
|
20973
|
+
value: _aave_types.BigDecimal;
|
|
20974
|
+
normalized: _aave_types.BigDecimal;
|
|
20975
|
+
};
|
|
20976
|
+
};
|
|
20977
|
+
riskPremium: {
|
|
20978
|
+
__typename: "PercentNumberVariation";
|
|
20979
|
+
current: {
|
|
20980
|
+
__typename: "PercentNumber";
|
|
20981
|
+
onChainValue: bigint;
|
|
20982
|
+
decimals: number;
|
|
20983
|
+
value: _aave_types.BigDecimal;
|
|
20984
|
+
normalized: _aave_types.BigDecimal;
|
|
20985
|
+
};
|
|
20986
|
+
after: {
|
|
20987
|
+
__typename: "PercentNumber";
|
|
20988
|
+
onChainValue: bigint;
|
|
20989
|
+
decimals: number;
|
|
20990
|
+
value: _aave_types.BigDecimal;
|
|
20991
|
+
normalized: _aave_types.BigDecimal;
|
|
20992
|
+
};
|
|
20993
|
+
};
|
|
20994
|
+
netCollateral: {
|
|
20995
|
+
__typename: "ExchangeAmountVariation";
|
|
20996
|
+
current: {
|
|
20997
|
+
__typename: "ExchangeAmount";
|
|
20998
|
+
value: _aave_types.BigDecimal;
|
|
20999
|
+
name: string;
|
|
21000
|
+
symbol: string;
|
|
21001
|
+
icon: string;
|
|
21002
|
+
decimals: number;
|
|
21003
|
+
};
|
|
21004
|
+
after: {
|
|
21005
|
+
__typename: "ExchangeAmount";
|
|
21006
|
+
value: _aave_types.BigDecimal;
|
|
21007
|
+
name: string;
|
|
21008
|
+
symbol: string;
|
|
21009
|
+
icon: string;
|
|
21010
|
+
decimals: number;
|
|
21011
|
+
};
|
|
21012
|
+
};
|
|
21013
|
+
netBalance: {
|
|
21014
|
+
__typename: "ExchangeAmountVariation";
|
|
21015
|
+
current: {
|
|
21016
|
+
__typename: "ExchangeAmount";
|
|
21017
|
+
value: _aave_types.BigDecimal;
|
|
21018
|
+
name: string;
|
|
21019
|
+
symbol: string;
|
|
21020
|
+
icon: string;
|
|
21021
|
+
decimals: number;
|
|
21022
|
+
};
|
|
21023
|
+
after: {
|
|
21024
|
+
__typename: "ExchangeAmount";
|
|
21025
|
+
value: _aave_types.BigDecimal;
|
|
21026
|
+
name: string;
|
|
21027
|
+
symbol: string;
|
|
21028
|
+
icon: string;
|
|
21029
|
+
decimals: number;
|
|
21030
|
+
};
|
|
21031
|
+
};
|
|
21032
|
+
projectedEarnings: {
|
|
21033
|
+
__typename: "ExchangeAmountVariation";
|
|
21034
|
+
current: {
|
|
21035
|
+
__typename: "ExchangeAmount";
|
|
21036
|
+
value: _aave_types.BigDecimal;
|
|
21037
|
+
name: string;
|
|
21038
|
+
symbol: string;
|
|
21039
|
+
icon: string;
|
|
21040
|
+
decimals: number;
|
|
21041
|
+
};
|
|
21042
|
+
after: {
|
|
21043
|
+
__typename: "ExchangeAmount";
|
|
21044
|
+
value: _aave_types.BigDecimal;
|
|
21045
|
+
name: string;
|
|
21046
|
+
symbol: string;
|
|
21047
|
+
icon: string;
|
|
21048
|
+
decimals: number;
|
|
21049
|
+
};
|
|
21050
|
+
};
|
|
21051
|
+
borrowingPower: {
|
|
21052
|
+
__typename: "ExchangeAmountVariation";
|
|
21053
|
+
current: {
|
|
21054
|
+
__typename: "ExchangeAmount";
|
|
21055
|
+
value: _aave_types.BigDecimal;
|
|
21056
|
+
name: string;
|
|
21057
|
+
symbol: string;
|
|
21058
|
+
icon: string;
|
|
21059
|
+
decimals: number;
|
|
21060
|
+
};
|
|
21061
|
+
after: {
|
|
21062
|
+
__typename: "ExchangeAmount";
|
|
21063
|
+
value: _aave_types.BigDecimal;
|
|
21064
|
+
name: string;
|
|
21065
|
+
symbol: string;
|
|
21066
|
+
icon: string;
|
|
21067
|
+
decimals: number;
|
|
21068
|
+
};
|
|
21069
|
+
};
|
|
21070
|
+
otherConditions: ({
|
|
21071
|
+
__typename: "CollateralFactorVariation";
|
|
21072
|
+
reserveId: ReserveId;
|
|
21073
|
+
token: {
|
|
21074
|
+
__typename: "Erc20Token";
|
|
21075
|
+
info: {
|
|
21076
|
+
__typename: "TokenInfo";
|
|
21077
|
+
id: TokenInfoId;
|
|
21078
|
+
name: string;
|
|
21079
|
+
symbol: string;
|
|
21080
|
+
icon: string;
|
|
21081
|
+
decimals: number;
|
|
21082
|
+
categories: TokenCategory[];
|
|
21083
|
+
};
|
|
21084
|
+
address: _aave_types.EvmAddress;
|
|
21085
|
+
chain: {
|
|
21086
|
+
__typename: "Chain";
|
|
21087
|
+
name: string;
|
|
21088
|
+
icon: string;
|
|
21089
|
+
chainId: _aave_types.ChainId;
|
|
21090
|
+
rpcUrl: string;
|
|
21091
|
+
explorerUrl: string;
|
|
21092
|
+
isTestnet: boolean;
|
|
21093
|
+
isFork: boolean;
|
|
21094
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21095
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21096
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21097
|
+
nativeInfo: {
|
|
21098
|
+
__typename: "TokenInfo";
|
|
21099
|
+
id: TokenInfoId;
|
|
21100
|
+
name: string;
|
|
21101
|
+
symbol: string;
|
|
21102
|
+
icon: string;
|
|
21103
|
+
decimals: number;
|
|
21104
|
+
categories: TokenCategory[];
|
|
21105
|
+
};
|
|
21106
|
+
};
|
|
21107
|
+
isWrappedNativeToken: boolean;
|
|
21108
|
+
permitSupported: boolean;
|
|
21109
|
+
};
|
|
21110
|
+
current: {
|
|
21111
|
+
__typename: "PercentNumber";
|
|
21112
|
+
onChainValue: bigint;
|
|
21113
|
+
decimals: number;
|
|
21114
|
+
value: _aave_types.BigDecimal;
|
|
21115
|
+
normalized: _aave_types.BigDecimal;
|
|
21116
|
+
};
|
|
21117
|
+
after: {
|
|
21118
|
+
__typename: "PercentNumber";
|
|
21119
|
+
onChainValue: bigint;
|
|
21120
|
+
decimals: number;
|
|
21121
|
+
value: _aave_types.BigDecimal;
|
|
21122
|
+
normalized: _aave_types.BigDecimal;
|
|
21123
|
+
};
|
|
21124
|
+
} | {
|
|
21125
|
+
__typename: "LiquidationFeeVariation";
|
|
21126
|
+
reserveId: ReserveId;
|
|
21127
|
+
token: {
|
|
21128
|
+
__typename: "Erc20Token";
|
|
21129
|
+
info: {
|
|
21130
|
+
__typename: "TokenInfo";
|
|
21131
|
+
id: TokenInfoId;
|
|
21132
|
+
name: string;
|
|
21133
|
+
symbol: string;
|
|
21134
|
+
icon: string;
|
|
21135
|
+
decimals: number;
|
|
21136
|
+
categories: TokenCategory[];
|
|
21137
|
+
};
|
|
21138
|
+
address: _aave_types.EvmAddress;
|
|
21139
|
+
chain: {
|
|
21140
|
+
__typename: "Chain";
|
|
21141
|
+
name: string;
|
|
21142
|
+
icon: string;
|
|
21143
|
+
chainId: _aave_types.ChainId;
|
|
21144
|
+
rpcUrl: string;
|
|
21145
|
+
explorerUrl: string;
|
|
21146
|
+
isTestnet: boolean;
|
|
21147
|
+
isFork: boolean;
|
|
21148
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21149
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21150
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21151
|
+
nativeInfo: {
|
|
21152
|
+
__typename: "TokenInfo";
|
|
21153
|
+
id: TokenInfoId;
|
|
21154
|
+
name: string;
|
|
21155
|
+
symbol: string;
|
|
21156
|
+
icon: string;
|
|
21157
|
+
decimals: number;
|
|
21158
|
+
categories: TokenCategory[];
|
|
21159
|
+
};
|
|
21160
|
+
};
|
|
21161
|
+
isWrappedNativeToken: boolean;
|
|
21162
|
+
permitSupported: boolean;
|
|
21163
|
+
};
|
|
21164
|
+
current: {
|
|
21165
|
+
__typename: "PercentNumber";
|
|
21166
|
+
onChainValue: bigint;
|
|
21167
|
+
decimals: number;
|
|
21168
|
+
value: _aave_types.BigDecimal;
|
|
21169
|
+
normalized: _aave_types.BigDecimal;
|
|
21170
|
+
};
|
|
21171
|
+
after: {
|
|
21172
|
+
__typename: "PercentNumber";
|
|
21173
|
+
onChainValue: bigint;
|
|
21174
|
+
decimals: number;
|
|
21175
|
+
value: _aave_types.BigDecimal;
|
|
21176
|
+
normalized: _aave_types.BigDecimal;
|
|
21177
|
+
};
|
|
21178
|
+
} | {
|
|
21179
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
21180
|
+
reserveId: ReserveId;
|
|
21181
|
+
token: {
|
|
21182
|
+
__typename: "Erc20Token";
|
|
21183
|
+
info: {
|
|
21184
|
+
__typename: "TokenInfo";
|
|
21185
|
+
id: TokenInfoId;
|
|
21186
|
+
name: string;
|
|
21187
|
+
symbol: string;
|
|
21188
|
+
icon: string;
|
|
21189
|
+
decimals: number;
|
|
21190
|
+
categories: TokenCategory[];
|
|
21191
|
+
};
|
|
21192
|
+
address: _aave_types.EvmAddress;
|
|
21193
|
+
chain: {
|
|
21194
|
+
__typename: "Chain";
|
|
21195
|
+
name: string;
|
|
21196
|
+
icon: string;
|
|
21197
|
+
chainId: _aave_types.ChainId;
|
|
21198
|
+
rpcUrl: string;
|
|
21199
|
+
explorerUrl: string;
|
|
21200
|
+
isTestnet: boolean;
|
|
21201
|
+
isFork: boolean;
|
|
21202
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21203
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21204
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21205
|
+
nativeInfo: {
|
|
21206
|
+
__typename: "TokenInfo";
|
|
21207
|
+
id: TokenInfoId;
|
|
21208
|
+
name: string;
|
|
21209
|
+
symbol: string;
|
|
21210
|
+
icon: string;
|
|
21211
|
+
decimals: number;
|
|
21212
|
+
categories: TokenCategory[];
|
|
21213
|
+
};
|
|
21214
|
+
};
|
|
21215
|
+
isWrappedNativeToken: boolean;
|
|
21216
|
+
permitSupported: boolean;
|
|
21217
|
+
};
|
|
21218
|
+
current: {
|
|
21219
|
+
__typename: "PercentNumber";
|
|
21220
|
+
onChainValue: bigint;
|
|
21221
|
+
decimals: number;
|
|
21222
|
+
value: _aave_types.BigDecimal;
|
|
21223
|
+
normalized: _aave_types.BigDecimal;
|
|
21224
|
+
};
|
|
21225
|
+
after: {
|
|
21226
|
+
__typename: "PercentNumber";
|
|
21227
|
+
onChainValue: bigint;
|
|
21228
|
+
decimals: number;
|
|
21229
|
+
value: _aave_types.BigDecimal;
|
|
21230
|
+
normalized: _aave_types.BigDecimal;
|
|
21231
|
+
};
|
|
21232
|
+
})[];
|
|
21233
|
+
};
|
|
21234
|
+
}, {
|
|
21235
|
+
currency?: Currency | undefined;
|
|
21236
|
+
request: {
|
|
21237
|
+
action: {
|
|
21238
|
+
supply: {
|
|
21239
|
+
sender: _aave_types.EvmAddress;
|
|
21240
|
+
enableCollateral?: boolean | null | undefined;
|
|
21241
|
+
amount: {
|
|
21242
|
+
native: _aave_types.BigDecimal;
|
|
21243
|
+
} | {
|
|
21244
|
+
erc20: {
|
|
21245
|
+
permitSig?: {
|
|
21246
|
+
deadline: number;
|
|
21247
|
+
value: _aave_types.Signature;
|
|
21248
|
+
} | null | undefined;
|
|
21249
|
+
value: _aave_types.BigDecimal;
|
|
21250
|
+
};
|
|
21251
|
+
};
|
|
21252
|
+
reserve: ReserveId;
|
|
21253
|
+
};
|
|
21254
|
+
} | {
|
|
21255
|
+
borrow: {
|
|
21256
|
+
sender: _aave_types.EvmAddress;
|
|
21257
|
+
amount: {
|
|
21258
|
+
native: _aave_types.BigDecimal;
|
|
21259
|
+
} | {
|
|
21260
|
+
erc20: {
|
|
21261
|
+
value: _aave_types.BigDecimal;
|
|
21262
|
+
};
|
|
21263
|
+
};
|
|
21264
|
+
reserve: ReserveId;
|
|
21265
|
+
};
|
|
21266
|
+
} | {
|
|
21267
|
+
repay: {
|
|
21268
|
+
sender: _aave_types.EvmAddress;
|
|
21269
|
+
amount: {
|
|
21270
|
+
native: {
|
|
21271
|
+
exact: _aave_types.BigDecimal;
|
|
21272
|
+
} | {
|
|
21273
|
+
max: true;
|
|
21274
|
+
};
|
|
21275
|
+
} | {
|
|
21276
|
+
erc20: {
|
|
21277
|
+
permitSig?: {
|
|
21278
|
+
deadline: number;
|
|
21279
|
+
value: _aave_types.Signature;
|
|
21280
|
+
} | null | undefined;
|
|
21281
|
+
value: {
|
|
21282
|
+
exact: _aave_types.BigDecimal;
|
|
21283
|
+
} | {
|
|
21284
|
+
max: true;
|
|
21285
|
+
};
|
|
21286
|
+
};
|
|
21287
|
+
};
|
|
21288
|
+
reserve: ReserveId;
|
|
21289
|
+
};
|
|
21290
|
+
} | {
|
|
21291
|
+
withdraw: {
|
|
21292
|
+
sender: _aave_types.EvmAddress;
|
|
21293
|
+
amount: {
|
|
21294
|
+
native: {
|
|
21295
|
+
exact: _aave_types.BigDecimal;
|
|
21296
|
+
} | {
|
|
21297
|
+
max: true;
|
|
21298
|
+
};
|
|
21299
|
+
} | {
|
|
21300
|
+
erc20: {
|
|
21301
|
+
exact: _aave_types.BigDecimal;
|
|
21302
|
+
} | {
|
|
21303
|
+
max: true;
|
|
21304
|
+
};
|
|
21305
|
+
};
|
|
21306
|
+
reserve: ReserveId;
|
|
21307
|
+
};
|
|
21308
|
+
} | {
|
|
21309
|
+
setUserSuppliesAsCollateral: {
|
|
21310
|
+
sender: _aave_types.EvmAddress;
|
|
21311
|
+
changes: {
|
|
21312
|
+
enableCollateral: boolean;
|
|
21313
|
+
reserve: ReserveId;
|
|
21314
|
+
}[];
|
|
21315
|
+
};
|
|
21316
|
+
} | {
|
|
21317
|
+
updateUserPositionConditions: {
|
|
21318
|
+
update: UserPositionConditionsUpdate;
|
|
21319
|
+
userPositionId: UserPositionId;
|
|
21320
|
+
};
|
|
21321
|
+
};
|
|
21322
|
+
};
|
|
21323
|
+
}, void>;
|
|
21324
|
+
type PreviewAction = ReturnType<typeof graphql.scalar<'PreviewAction'>>;
|
|
21325
|
+
type PreviewRequest = RequestOf<typeof PreviewQuery>;
|
|
21326
|
+
type LiquidatePositionDebtAmount = ReturnType<typeof graphql.scalar<'LiquidatePositionDebtAmount'>>;
|
|
21327
|
+
type RepayAmountInputWithPermit = ReturnType<typeof graphql.scalar<'RepayAmountInputWithPermit'>>;
|
|
21328
|
+
type RepayErc20AmountInputWithPermit = ReturnType<typeof graphql.scalar<'RepayErc20AmountInputWithPermit'>>;
|
|
21329
|
+
type WithdrawReserveAmountInput = ReturnType<typeof graphql.scalar<'WithdrawReserveAmountInput'>>;
|
|
21330
|
+
declare const PercentNumberChangeSnapshotFragment: gql_tada.TadaDocumentNode<{
|
|
21331
|
+
__typename: "PercentNumberChangeSnapshot";
|
|
21332
|
+
before: {
|
|
21333
|
+
__typename: "PercentNumber";
|
|
21334
|
+
onChainValue: bigint;
|
|
21335
|
+
decimals: number;
|
|
21336
|
+
value: _aave_types.BigDecimal;
|
|
21337
|
+
normalized: _aave_types.BigDecimal;
|
|
21338
|
+
};
|
|
21339
|
+
after: {
|
|
21340
|
+
__typename: "PercentNumber";
|
|
21341
|
+
onChainValue: bigint;
|
|
21342
|
+
decimals: number;
|
|
21343
|
+
value: _aave_types.BigDecimal;
|
|
21344
|
+
normalized: _aave_types.BigDecimal;
|
|
21345
|
+
};
|
|
21346
|
+
}, {}, {
|
|
21347
|
+
fragment: "PercentNumberChangeSnapshot";
|
|
21348
|
+
on: "PercentNumberChangeSnapshot";
|
|
21349
|
+
masked: false;
|
|
21350
|
+
}>;
|
|
21351
|
+
type PercentNumberChangeSnapshot = FragmentOf<typeof PercentNumberChangeSnapshotFragment>;
|
|
21352
|
+
declare const BorrowActivityFragment: gql_tada.TadaDocumentNode<{
|
|
21353
|
+
__typename: "BorrowActivity";
|
|
21354
|
+
id: ID;
|
|
21355
|
+
user: _aave_types.EvmAddress;
|
|
21356
|
+
timestamp: Date;
|
|
21357
|
+
txHash: TxHash;
|
|
21358
|
+
spoke: {
|
|
21359
|
+
__typename: "Spoke";
|
|
21360
|
+
id: SpokeId;
|
|
21361
|
+
name: string;
|
|
20704
21362
|
address: _aave_types.EvmAddress;
|
|
20705
21363
|
chain: {
|
|
20706
21364
|
__typename: "Chain";
|
|
@@ -38288,66 +38946,6 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
|
|
|
38288
38946
|
value: _aave_types.BigDecimal;
|
|
38289
38947
|
};
|
|
38290
38948
|
};
|
|
38291
|
-
borrowingPower: {
|
|
38292
|
-
__typename: "Erc20Amount";
|
|
38293
|
-
token: {
|
|
38294
|
-
__typename: "Erc20Token";
|
|
38295
|
-
info: {
|
|
38296
|
-
__typename: "TokenInfo";
|
|
38297
|
-
id: TokenInfoId;
|
|
38298
|
-
name: string;
|
|
38299
|
-
symbol: string;
|
|
38300
|
-
icon: string;
|
|
38301
|
-
decimals: number;
|
|
38302
|
-
categories: TokenCategory[];
|
|
38303
|
-
};
|
|
38304
|
-
address: _aave_types.EvmAddress;
|
|
38305
|
-
chain: {
|
|
38306
|
-
__typename: "Chain";
|
|
38307
|
-
name: string;
|
|
38308
|
-
icon: string;
|
|
38309
|
-
chainId: _aave_types.ChainId;
|
|
38310
|
-
rpcUrl: string;
|
|
38311
|
-
explorerUrl: string;
|
|
38312
|
-
isTestnet: boolean;
|
|
38313
|
-
isFork: boolean;
|
|
38314
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
38315
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
38316
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
38317
|
-
nativeInfo: {
|
|
38318
|
-
__typename: "TokenInfo";
|
|
38319
|
-
id: TokenInfoId;
|
|
38320
|
-
name: string;
|
|
38321
|
-
symbol: string;
|
|
38322
|
-
icon: string;
|
|
38323
|
-
decimals: number;
|
|
38324
|
-
categories: TokenCategory[];
|
|
38325
|
-
};
|
|
38326
|
-
};
|
|
38327
|
-
isWrappedNativeToken: boolean;
|
|
38328
|
-
permitSupported: boolean;
|
|
38329
|
-
};
|
|
38330
|
-
amount: {
|
|
38331
|
-
__typename: "DecimalNumber";
|
|
38332
|
-
onChainValue: bigint;
|
|
38333
|
-
decimals: number;
|
|
38334
|
-
value: _aave_types.BigDecimal;
|
|
38335
|
-
};
|
|
38336
|
-
exchange: {
|
|
38337
|
-
__typename: "ExchangeAmount";
|
|
38338
|
-
value: _aave_types.BigDecimal;
|
|
38339
|
-
name: string;
|
|
38340
|
-
symbol: string;
|
|
38341
|
-
icon: string;
|
|
38342
|
-
decimals: number;
|
|
38343
|
-
};
|
|
38344
|
-
exchangeRate: {
|
|
38345
|
-
__typename: "DecimalNumber";
|
|
38346
|
-
onChainValue: bigint;
|
|
38347
|
-
decimals: number;
|
|
38348
|
-
value: _aave_types.BigDecimal;
|
|
38349
|
-
};
|
|
38350
|
-
};
|
|
38351
38949
|
borrowApy: {
|
|
38352
38950
|
__typename: "PercentNumber";
|
|
38353
38951
|
onChainValue: bigint;
|
|
@@ -38377,7 +38975,6 @@ declare const UserSuppliesQuery: gql_tada.TadaDocumentNode<{
|
|
|
38377
38975
|
normalized: _aave_types.BigDecimal;
|
|
38378
38976
|
};
|
|
38379
38977
|
dynamicConfigKey: unknown;
|
|
38380
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
38381
38978
|
} | null;
|
|
38382
38979
|
asset: {
|
|
38383
38980
|
__typename: "HubAsset";
|
|
@@ -39638,66 +40235,6 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
|
|
|
39638
40235
|
value: _aave_types.BigDecimal;
|
|
39639
40236
|
};
|
|
39640
40237
|
};
|
|
39641
|
-
borrowingPower: {
|
|
39642
|
-
__typename: "Erc20Amount";
|
|
39643
|
-
token: {
|
|
39644
|
-
__typename: "Erc20Token";
|
|
39645
|
-
info: {
|
|
39646
|
-
__typename: "TokenInfo";
|
|
39647
|
-
id: TokenInfoId;
|
|
39648
|
-
name: string;
|
|
39649
|
-
symbol: string;
|
|
39650
|
-
icon: string;
|
|
39651
|
-
decimals: number;
|
|
39652
|
-
categories: TokenCategory[];
|
|
39653
|
-
};
|
|
39654
|
-
address: _aave_types.EvmAddress;
|
|
39655
|
-
chain: {
|
|
39656
|
-
__typename: "Chain";
|
|
39657
|
-
name: string;
|
|
39658
|
-
icon: string;
|
|
39659
|
-
chainId: _aave_types.ChainId;
|
|
39660
|
-
rpcUrl: string;
|
|
39661
|
-
explorerUrl: string;
|
|
39662
|
-
isTestnet: boolean;
|
|
39663
|
-
isFork: boolean;
|
|
39664
|
-
nativeWrappedToken: _aave_types.EvmAddress;
|
|
39665
|
-
nativeGateway: _aave_types.EvmAddress;
|
|
39666
|
-
signatureGateway: _aave_types.EvmAddress;
|
|
39667
|
-
nativeInfo: {
|
|
39668
|
-
__typename: "TokenInfo";
|
|
39669
|
-
id: TokenInfoId;
|
|
39670
|
-
name: string;
|
|
39671
|
-
symbol: string;
|
|
39672
|
-
icon: string;
|
|
39673
|
-
decimals: number;
|
|
39674
|
-
categories: TokenCategory[];
|
|
39675
|
-
};
|
|
39676
|
-
};
|
|
39677
|
-
isWrappedNativeToken: boolean;
|
|
39678
|
-
permitSupported: boolean;
|
|
39679
|
-
};
|
|
39680
|
-
amount: {
|
|
39681
|
-
__typename: "DecimalNumber";
|
|
39682
|
-
onChainValue: bigint;
|
|
39683
|
-
decimals: number;
|
|
39684
|
-
value: _aave_types.BigDecimal;
|
|
39685
|
-
};
|
|
39686
|
-
exchange: {
|
|
39687
|
-
__typename: "ExchangeAmount";
|
|
39688
|
-
value: _aave_types.BigDecimal;
|
|
39689
|
-
name: string;
|
|
39690
|
-
symbol: string;
|
|
39691
|
-
icon: string;
|
|
39692
|
-
decimals: number;
|
|
39693
|
-
};
|
|
39694
|
-
exchangeRate: {
|
|
39695
|
-
__typename: "DecimalNumber";
|
|
39696
|
-
onChainValue: bigint;
|
|
39697
|
-
decimals: number;
|
|
39698
|
-
value: _aave_types.BigDecimal;
|
|
39699
|
-
};
|
|
39700
|
-
};
|
|
39701
40238
|
borrowApy: {
|
|
39702
40239
|
__typename: "PercentNumber";
|
|
39703
40240
|
onChainValue: bigint;
|
|
@@ -39727,7 +40264,6 @@ declare const UserBorrowsQuery: gql_tada.TadaDocumentNode<{
|
|
|
39727
40264
|
normalized: _aave_types.BigDecimal;
|
|
39728
40265
|
};
|
|
39729
40266
|
dynamicConfigKey: unknown;
|
|
39730
|
-
isUsingLatestDynamicConfigKey: boolean;
|
|
39731
40267
|
} | null;
|
|
39732
40268
|
asset: {
|
|
39733
40269
|
__typename: "HubAsset";
|
|
@@ -40475,13 +41011,13 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
40475
41011
|
value: _aave_types.BigDecimal;
|
|
40476
41012
|
normalized: _aave_types.BigDecimal;
|
|
40477
41013
|
};
|
|
40478
|
-
|
|
41014
|
+
latest: {
|
|
40479
41015
|
__typename: "PercentNumber";
|
|
40480
41016
|
onChainValue: bigint;
|
|
40481
41017
|
decimals: number;
|
|
40482
41018
|
value: _aave_types.BigDecimal;
|
|
40483
41019
|
normalized: _aave_types.BigDecimal;
|
|
40484
|
-
}
|
|
41020
|
+
};
|
|
40485
41021
|
breakdown: {
|
|
40486
41022
|
__typename: "UserRiskPremiumBreakdownItem";
|
|
40487
41023
|
token: {
|
|
@@ -40521,7 +41057,14 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
40521
41057
|
isWrappedNativeToken: boolean;
|
|
40522
41058
|
permitSupported: boolean;
|
|
40523
41059
|
};
|
|
40524
|
-
|
|
41060
|
+
currentRiskPremiumWeight: {
|
|
41061
|
+
__typename: "PercentNumber";
|
|
41062
|
+
onChainValue: bigint;
|
|
41063
|
+
decimals: number;
|
|
41064
|
+
value: _aave_types.BigDecimal;
|
|
41065
|
+
normalized: _aave_types.BigDecimal;
|
|
41066
|
+
};
|
|
41067
|
+
latestRiskPremiumWeight: {
|
|
40525
41068
|
__typename: "PercentNumber";
|
|
40526
41069
|
onChainValue: bigint;
|
|
40527
41070
|
decimals: number;
|
|
@@ -40553,7 +41096,7 @@ declare const UserPositionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
40553
41096
|
icon: string;
|
|
40554
41097
|
decimals: number;
|
|
40555
41098
|
};
|
|
40556
|
-
|
|
41099
|
+
canUpdateDynamicConfig: boolean;
|
|
40557
41100
|
netBalancePercentChange: {
|
|
40558
41101
|
__typename: "PercentNumber";
|
|
40559
41102
|
onChainValue: bigint;
|
|
@@ -40784,13 +41327,13 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
|
|
|
40784
41327
|
value: _aave_types.BigDecimal;
|
|
40785
41328
|
normalized: _aave_types.BigDecimal;
|
|
40786
41329
|
};
|
|
40787
|
-
|
|
41330
|
+
latest: {
|
|
40788
41331
|
__typename: "PercentNumber";
|
|
40789
41332
|
onChainValue: bigint;
|
|
40790
41333
|
decimals: number;
|
|
40791
41334
|
value: _aave_types.BigDecimal;
|
|
40792
41335
|
normalized: _aave_types.BigDecimal;
|
|
40793
|
-
}
|
|
41336
|
+
};
|
|
40794
41337
|
breakdown: {
|
|
40795
41338
|
__typename: "UserRiskPremiumBreakdownItem";
|
|
40796
41339
|
token: {
|
|
@@ -40830,7 +41373,14 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
|
|
|
40830
41373
|
isWrappedNativeToken: boolean;
|
|
40831
41374
|
permitSupported: boolean;
|
|
40832
41375
|
};
|
|
40833
|
-
|
|
41376
|
+
currentRiskPremiumWeight: {
|
|
41377
|
+
__typename: "PercentNumber";
|
|
41378
|
+
onChainValue: bigint;
|
|
41379
|
+
decimals: number;
|
|
41380
|
+
value: _aave_types.BigDecimal;
|
|
41381
|
+
normalized: _aave_types.BigDecimal;
|
|
41382
|
+
};
|
|
41383
|
+
latestRiskPremiumWeight: {
|
|
40834
41384
|
__typename: "PercentNumber";
|
|
40835
41385
|
onChainValue: bigint;
|
|
40836
41386
|
decimals: number;
|
|
@@ -40862,7 +41412,7 @@ declare const UserPositionQuery: gql_tada.TadaDocumentNode<{
|
|
|
40862
41412
|
icon: string;
|
|
40863
41413
|
decimals: number;
|
|
40864
41414
|
};
|
|
40865
|
-
|
|
41415
|
+
canUpdateDynamicConfig: boolean;
|
|
40866
41416
|
netBalancePercentChange: {
|
|
40867
41417
|
__typename: "PercentNumber";
|
|
40868
41418
|
onChainValue: bigint;
|
|
@@ -41226,5 +41776,85 @@ type UserPositionsRequestOrderBy = ReturnType<typeof graphql.scalar<'UserPositio
|
|
|
41226
41776
|
type UserSummaryFilter = ReturnType<typeof graphql.scalar<'UserSummaryFilter'>>;
|
|
41227
41777
|
type UserSuppliesRequestQuery = ReturnType<typeof graphql.scalar<'UserSuppliesRequestQuery'>>;
|
|
41228
41778
|
type UserSuppliesRequestOrderBy = ReturnType<typeof graphql.scalar<'UserSuppliesRequestOrderBy'>>;
|
|
41779
|
+
/**
|
|
41780
|
+
* @internal
|
|
41781
|
+
*/
|
|
41782
|
+
declare const UserRiskPremiumBreakdownQuery: gql_tada.TadaDocumentNode<{
|
|
41783
|
+
value: {
|
|
41784
|
+
__typename: "UserRiskPremiumBreakdownItem";
|
|
41785
|
+
token: {
|
|
41786
|
+
__typename: "Erc20Token";
|
|
41787
|
+
info: {
|
|
41788
|
+
__typename: "TokenInfo";
|
|
41789
|
+
id: TokenInfoId;
|
|
41790
|
+
name: string;
|
|
41791
|
+
symbol: string;
|
|
41792
|
+
icon: string;
|
|
41793
|
+
decimals: number;
|
|
41794
|
+
categories: TokenCategory[];
|
|
41795
|
+
};
|
|
41796
|
+
address: _aave_types.EvmAddress;
|
|
41797
|
+
chain: {
|
|
41798
|
+
__typename: "Chain";
|
|
41799
|
+
name: string;
|
|
41800
|
+
icon: string;
|
|
41801
|
+
chainId: _aave_types.ChainId;
|
|
41802
|
+
rpcUrl: string;
|
|
41803
|
+
explorerUrl: string;
|
|
41804
|
+
isTestnet: boolean;
|
|
41805
|
+
isFork: boolean;
|
|
41806
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
41807
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
41808
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
41809
|
+
nativeInfo: {
|
|
41810
|
+
__typename: "TokenInfo";
|
|
41811
|
+
id: TokenInfoId;
|
|
41812
|
+
name: string;
|
|
41813
|
+
symbol: string;
|
|
41814
|
+
icon: string;
|
|
41815
|
+
decimals: number;
|
|
41816
|
+
categories: TokenCategory[];
|
|
41817
|
+
};
|
|
41818
|
+
};
|
|
41819
|
+
isWrappedNativeToken: boolean;
|
|
41820
|
+
permitSupported: boolean;
|
|
41821
|
+
};
|
|
41822
|
+
currentRiskPremiumWeight: {
|
|
41823
|
+
__typename: "PercentNumber";
|
|
41824
|
+
onChainValue: bigint;
|
|
41825
|
+
decimals: number;
|
|
41826
|
+
value: _aave_types.BigDecimal;
|
|
41827
|
+
normalized: _aave_types.BigDecimal;
|
|
41828
|
+
};
|
|
41829
|
+
latestRiskPremiumWeight: {
|
|
41830
|
+
__typename: "PercentNumber";
|
|
41831
|
+
onChainValue: bigint;
|
|
41832
|
+
decimals: number;
|
|
41833
|
+
value: _aave_types.BigDecimal;
|
|
41834
|
+
normalized: _aave_types.BigDecimal;
|
|
41835
|
+
};
|
|
41836
|
+
collateral: {
|
|
41837
|
+
__typename: "PercentNumber";
|
|
41838
|
+
onChainValue: bigint;
|
|
41839
|
+
decimals: number;
|
|
41840
|
+
value: _aave_types.BigDecimal;
|
|
41841
|
+
normalized: _aave_types.BigDecimal;
|
|
41842
|
+
};
|
|
41843
|
+
}[];
|
|
41844
|
+
}, {
|
|
41845
|
+
request: {
|
|
41846
|
+
user: _aave_types.EvmAddress;
|
|
41847
|
+
query: {
|
|
41848
|
+
userSpoke: {
|
|
41849
|
+
user: _aave_types.EvmAddress;
|
|
41850
|
+
spoke: SpokeId;
|
|
41851
|
+
};
|
|
41852
|
+
} | {
|
|
41853
|
+
userPositionId: UserPositionId;
|
|
41854
|
+
};
|
|
41855
|
+
};
|
|
41856
|
+
}, void>;
|
|
41857
|
+
type UserRiskPremiumBreakdownRequest = RequestOf<typeof UserRiskPremiumBreakdownQuery>;
|
|
41858
|
+
type UserRiskPremiumBreakdownRequestQuery = ReturnType<typeof graphql.scalar<'UserRiskPremiumBreakdownRequestQuery'>>;
|
|
41229
41859
|
|
|
41230
|
-
export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountValueVariation, ExchangeAmountValueVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, tokenInfoId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
|
|
41860
|
+
export { ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, type ApySample, ApySampleFragment, type Asset, type AssetAmountWithChange, AssetAmountWithChangeFragment, AssetBorrowHistoryQuery, type AssetBorrowHistoryRequest, type AssetBorrowHistoryRequestQuery, type AssetBorrowSample, AssetBorrowSampleFragment, AssetCategoryBorrowHistoryQuery, type AssetCategoryBorrowHistoryRequest, type AssetCategoryBorrowSample, AssetCategoryBorrowSampleFragment, AssetCategorySupplyHistoryQuery, type AssetCategorySupplyHistoryRequest, type AssetCategorySupplySample, AssetCategorySupplySampleFragment, AssetFragment, type AssetId, AssetPriceHistoryQuery, type AssetPriceHistoryRequest, type AssetPriceHistoryRequestQuery, type AssetPriceSample, AssetPriceSampleFragment, AssetQuery, type AssetRequest, type AssetRequestQuery, type AssetSummary, AssetSummaryFragment, AssetSupplyHistoryQuery, type AssetSupplyHistoryRequest, type AssetSupplyHistoryRequestQuery, type AssetSupplySample, AssetSupplySampleFragment, type Base64EncodedCompositeId, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, type BorrowApyHistoryRequest, BorrowQuery, type BorrowRequest, type CancelIntentSwapInput, type CancelSwapExecutionPlan, CancelSwapExecutionPlanFragment, CancelSwapQuery, type CancelSwapRequest, type CancelSwapTypeDefinition, CancelSwapTypeDefinitionFragment, type CancelSwapTypedData, CancelSwapTypedDataFragment, type Chain, ChainFragment, ChainQuery, type ChainRequest, type ChainTokenCategories, ChainsFilter, ChainsQuery, type ChainsRequest, type ChainsRequestQuery, type CollateralFactorVariation, CollateralFactorVariationFragment, CollateralMetric, Currency, type DecimalNumber, DecimalNumberFragment, type DecimalNumberWithChange, DecimalNumberWithChangeFragment, type DomainData, DomainDataFragment, type ERC20PermitSignature, type Erc20Amount, Erc20AmountFragment, type Erc20ApprovalRequired, Erc20ApprovalRequiredFragment, type Erc20Input, type Erc20Token, Erc20TokenFragment, type ExchangeAmount, ExchangeAmountFragment, type ExchangeAmountVariation, ExchangeAmountVariationFragment, type ExchangeAmountWithChange, ExchangeAmountWithChangeFragment, ExchangeRateQuery, type ExchangeRateRequest, type ExchangeRateRequestFrom, type ExecutionPlan, ExecutionPlanFragment, type ExtendWithOpaqueVariant, type FragmentDocumentFor, HasProcessedKnownTransactionQuery, type HasProcessedKnownTransactionRequest, type HealthFactorError, HealthFactorErrorFragment, type HealthFactorResult, HealthFactorResultFragment, type HealthFactorVariation, HealthFactorVariationFragment, type HealthFactorWithChange, HealthFactorWithChangeFragment, HealthQuery, type Hub, type HubAsset, HubAssetFragment, type HubAssetId, type HubAssetSettings, HubAssetSettingsFragment, HubAssetStatusType, type HubAssetSummary, HubAssetSummaryFragment, type HubAssetUserState, HubAssetUserStateFragment, HubAssetsQuery, type HubAssetsRequest, HubAssetsRequestOrderBy, type HubAssetsRequestQuery, HubFragment, type HubId, type HubIdParts, type HubIdTokenInput, type HubInput, HubQuery, type HubRequest, type HubRequestQuery, type HubSummary, HubSummaryFragment, HubSummaryHistoryQuery, type HubSummaryHistoryRequest, type HubSummaryHistoryRequestQuery, type HubSummarySample, HubSummarySampleFragment, type HubTokenInput, HubsQuery, type HubsRequest, type HubsRequestQuery, type ID, type InsufficientBalanceError, InsufficientBalanceErrorFragment, type LiquidatePositionDebtAmount, type LiquidatePositionExecutionPlan, LiquidatePositionExecutionPlanFragment, LiquidatePositionQuery, type LiquidatePositionRequest, type LiquidatedActivity, LiquidatedActivityFragment, type LiquidationFeeVariation, LiquidationFeeVariationFragment, type MaxLiquidationBonusVariation, MaxLiquidationBonusVariationFragment, type NativeAmount, NativeAmountFragment, type NativeToken, NativeTokenFragment, type OnChainHubAssetId, type OnChainReserveId, type OpaqueEnumVariant, OperationType, OrderDirection, PageSize, type PaginatedActivitiesResult, PaginatedActivitiesResultFragment, type PaginatedResultInfo, PaginatedResultInfoFragment, type PaginatedSpokePositionManagerResult, PaginatedSpokePositionManagerResultFragment, type PaginatedSpokeUserPositionManagerResult, PaginatedSpokeUserPositionManagerResultFragment, type PaginatedUserSwapsResult, PaginatedUserSwapsResultFragment, type PercentNumber, type PercentNumberChangeSnapshot, PercentNumberChangeSnapshotFragment, PercentNumberFragment, type PercentNumberVariation, PercentNumberVariationFragment, type PercentNumberWithChange, PercentNumberWithChangeFragment, type PermitMessageData, PermitMessageDataFragment, type PermitRequest, PermitTypedDataQuery, type PermitTypedDataResponse, PermitTypedDataResponseFragment, type PreContractActionRequired, PreContractActionRequiredFragment, type PrepareLimitOrderSwapInput, type PrepareMarketOrderSwapInput, PrepareSwapCancelQuery, type PrepareSwapCancelRequest, type PrepareSwapCancelResult, PrepareSwapCancelResultFragment, PrepareSwapQuery, type PrepareSwapRequest, type PrepareSwapResult, PrepareSwapResultFragment, type PreviewAction, PreviewQuery, type PreviewRequest, type PreviewUserPosition, PreviewUserPositionFragment, ProtocolHistoryQuery, type ProtocolHistoryRequest, type ProtocolHistorySample, ProtocolHistorySampleFragment, RenounceSpokeUserPositionManagerQuery, type RenounceSpokeUserPositionManagerRequest, type RepayActivity, RepayActivityFragment, type RepayAmountInputWithPermit, type RepayErc20AmountInputWithPermit, type RepayPermitRequest, RepayQuery, type RepayRequest, type RequestOf, type Reserve, type ReserveAmountInput, type ReserveAmountInputWithPermit, type ReserveErc20AmountInput, type ReserveErc20AmountInputWithPermit, ReserveFragment, type ReserveId, type ReserveIdParts, type ReserveInfo, ReserveInfoFragment, type ReserveInput, ReserveQuery, type ReserveRequest, type ReserveRequestQuery, type ReserveSettings, ReserveSettingsFragment, type ReserveStatus, ReserveStatusFragment, type ReserveSummary, ReserveSummaryFragment, type ReserveUserState, ReserveUserStateFragment, ReservesQuery, type ReservesRequest, ReservesRequestFilter, type ReservesRequestOrderBy, type ReservesRequestQuery, SetSpokeUserPositionManagerQuery, type SetSpokeUserPositionManagerRequest, SetUserSuppliesAsCollateralQuery, type SetUserSuppliesAsCollateralRequest, type Spoke, SpokeFragment, type SpokeId, type SpokeIdParts, type SpokeInput, type SpokePositionManager, SpokePositionManagerFragment, SpokePositionManagersQuery, type SpokePositionManagersRequest, SpokeQuery, type SpokeRequest, type SpokeRequestQuery, type SpokeTokenInput, type SpokeUserPositionManager, SpokeUserPositionManagerFragment, SpokeUserPositionManagersQuery, type SpokeUserPositionManagersRequest, SpokesQuery, type SpokesRequest, type SpokesRequestQuery, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, type SupplyApyHistoryRequest, type SupplyPermitRequest, SupplyQuery, type SupplyRequest, type SwapApprovalRequired, SwapApprovalRequiredFragment, type SwapByIntent, SwapByIntentFragment, type SwapByIntentInput, type SwapByIntentTypeDefinition, SwapByIntentTypeDefinitionFragment, type SwapByIntentTypedData, SwapByIntentTypedDataFragment, type SwapByIntentWithApprovalRequired, SwapByIntentWithApprovalRequiredFragment, type SwapByTransaction, SwapByTransactionFragment, type SwapCancelled, SwapCancelledFragment, type SwapExecutionPlan, SwapExecutionPlanFragment, type SwapExpired, SwapExpiredFragment, type SwapFulfilled, SwapFulfilledFragment, type SwapId, SwapKind, type SwapOpen, SwapOpenFragment, type SwapPendingSignature, SwapPendingSignatureFragment, SwapQuery, type SwapQuote, type SwapQuoteCosts, SwapQuoteCostsFragment, SwapQuoteFragment, type SwapQuoteId, SwapQuoteQuery, type SwapQuoteRequest, type SwapReceipt, SwapReceiptFragment, type SwapRequest, type SwapStatus, SwapStatusFilter, SwapStatusFragment, SwapStatusQuery, type SwapStatusRequest, type SwapTransactionRequest, SwapTransactionRequestFragment, type SwapWithTransactionInput, SwappableTokensQuery, type SwappableTokensRequest, type SwappableTokensRequestQuery, TimeWindow, type Token, type TokenAmount, TokenAmountFragment, TokenCategory, TokenFragment, type TokenInfo, TokenInfoFragment, type TokenInfoId, type TokenInput, type TransactionRequest, TransactionRequestFragment, type TxHashInput, type TypeDefinition, TypeDefinitionFragment, type TypeField, TypeFieldFragment, UpdateUserPositionConditionsQuery, type UpdateUserPositionConditionsRequest, type UpdatedDynamicConfigActivity, UpdatedDynamicConfigActivityFragment, type UpdatedRiskPremiumActivity, UpdatedRiskPremiumActivityFragment, type UserBalance, UserBalanceFragment, type UserBalanceId, type UserBalancesByChains, type UserBalancesByHub, type UserBalancesByHubId, type UserBalancesBySpoke, type UserBalancesByTokens, type UserBalancesByUserPosition, UserBalancesQuery, type UserBalancesRequest, type UserBalancesRequestFilter, type UserBalancesRequestOrderBy, type UserBorrowItem, UserBorrowItemFragment, type UserBorrowItemId, UserBorrowsQuery, type UserBorrowsRequest, type UserBorrowsRequestOrderBy, type UserBorrowsRequestQuery, type UserChains, type UserPosition, type UserPositionConditionVariation, UserPositionConditionVariationFragment, UserPositionConditionsUpdate, UserPositionFragment, type UserPositionId, UserPositionQuery, type UserPositionRequest, type UserPositionRiskPremium, UserPositionRiskPremiumFragment, UserPositionsQuery, type UserPositionsRequest, type UserPositionsRequestFilter, type UserPositionsRequestOrderBy, type UserRiskPremiumBreakdownItem, UserRiskPremiumBreakdownItemFragment, UserRiskPremiumBreakdownQuery, type UserRiskPremiumBreakdownRequest, type UserRiskPremiumBreakdownRequestQuery, type UserSpokeInput, type UserSummary, type UserSummaryFilter, UserSummaryFragment, type UserSummaryHistoryItem, UserSummaryHistoryItemFragment, UserSummaryHistoryQuery, type UserSummaryHistoryRequest, UserSummaryQuery, type UserSummaryRequest, UserSuppliesQuery, type UserSuppliesRequest, type UserSuppliesRequestOrderBy, type UserSuppliesRequestQuery, type UserSupplyAsCollateral, type UserSupplyItem, UserSupplyItemFragment, type UserSupplyItemId, UserSwapsQuery, type UserSwapsRequest, type UserToken, type UsingAsCollateralActivity, UsingAsCollateralActivityFragment, type WithdrawActivity, WithdrawActivityFragment, WithdrawQuery, type WithdrawRequest, type WithdrawReserveAmountInput, assetId, decodeHubId, decodeReserveId, encodeHubId, encodeReserveId, encodeSpokeId, graphql, hubAssetId, hubId, isChainIdsVariant, isHubInputVariant, isSpokeInputVariant, isTxHashInputVariant, reserveId, spokeId, swapId, swapQuoteId, tokenInfoId, userBalanceId, userBorrowItemId, userPositionId, userSupplyItemId };
|