@aave/graphql 1.0.0-next.6 → 1.0.0-next.8
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 +277 -150
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1200 -53
- package/dist/index.d.ts +1200 -53
- package/dist/index.js +277 -150
- 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 +85 -68
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +85 -68
- 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
|
*/
|
|
@@ -110,6 +117,7 @@ declare enum Currency {
|
|
|
110
117
|
declare enum ReservesRequestFilter {
|
|
111
118
|
Supply = "SUPPLY",
|
|
112
119
|
Borrow = "BORROW",
|
|
120
|
+
Collateral = "COLLATERAL",
|
|
113
121
|
All = "ALL"
|
|
114
122
|
}
|
|
115
123
|
/**
|
|
@@ -141,7 +149,6 @@ declare enum TokenCategory {
|
|
|
141
149
|
/* prettier-ignore */
|
|
142
150
|
|
|
143
151
|
type introspection_types = {
|
|
144
|
-
'APYSample': { kind: 'OBJECT'; name: 'APYSample'; fields: { 'avgRate': { name: 'avgRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
|
|
145
152
|
'ActivitiesRequest': { kind: 'INPUT_OBJECT'; name: 'ActivitiesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ActivitiesRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'user'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; defaultValue: null }, { name: 'types'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ActivityType'; ofType: null; }; }; }; }; defaultValue: "[BORROW, SUPPLY, WITHDRAW, REPAY, LIQUIDATED, SET_AS_COLLATERAL, UPDATED_DYNAMIC_CONFIG, UPDATED_RISK_PREMIUM]" }, { name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }]; };
|
|
146
153
|
'ActivitiesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'ActivitiesRequestQuery'; isOneOf: true; inputFields: [{ name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'SpokeInput'; ofType: null; }; defaultValue: null }, { name: 'spokeId'; type: { kind: 'SCALAR'; name: 'SpokeId'; 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: 'txHash'; type: { kind: 'INPUT_OBJECT'; name: 'TxHashInput'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
147
154
|
'ActivityItem': { kind: 'UNION'; name: 'ActivityItem'; fields: {}; possibleTypes: 'BorrowActivity' | 'LiquidatedActivity' | 'RepayActivity' | 'SupplyActivity' | 'UpdatedDynamicConfigActivity' | 'UpdatedRiskPremiumActivity' | 'UsingAsCollateralActivity' | 'WithdrawActivity'; };
|
|
@@ -149,15 +156,16 @@ type introspection_types = {
|
|
|
149
156
|
'AlwaysTrue': unknown;
|
|
150
157
|
'AmountInput': { kind: 'INPUT_OBJECT'; name: 'AmountInput'; isOneOf: true; inputFields: [{ name: 'exact'; type: { kind: 'SCALAR'; name: 'BigDecimal'; ofType: null; }; defaultValue: null }, { name: 'max'; type: { kind: 'SCALAR'; name: 'AlwaysTrue'; ofType: null; }; defaultValue: null }]; };
|
|
151
158
|
'ApyMetric': { name: 'ApyMetric'; enumValues: 'HIGHEST' | 'LOWEST' | 'AVERAGE'; };
|
|
159
|
+
'ApySample': { kind: 'OBJECT'; name: 'ApySample'; fields: { 'avgRate': { name: 'avgRate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
|
|
152
160
|
'Asset': { kind: 'OBJECT'; name: 'Asset'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; 'summary': { name: 'summary'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetSummary'; ofType: null; }; } }; 'token': { name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Token'; ofType: null; }; } }; }; };
|
|
153
161
|
'AssetAmountWithChange': { kind: 'OBJECT'; name: 'AssetAmountWithChange'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; ofType: null; }; } }; 'exchange': { name: 'exchange'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmountWithChange'; ofType: null; }; } }; }; };
|
|
154
162
|
'AssetBorrowHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetBorrowHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetBorrowHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
155
163
|
'AssetBorrowHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetBorrowHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
|
|
156
|
-
'AssetBorrowSample': { kind: 'OBJECT'; name: 'AssetBorrowSample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; '
|
|
164
|
+
'AssetBorrowSample': { kind: 'OBJECT'; name: 'AssetBorrowSample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
157
165
|
'AssetCategoryBorrowHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetCategoryBorrowHistoryRequest'; isOneOf: false; inputFields: [{ name: 'category'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
158
|
-
'AssetCategoryBorrowSample': { kind: 'OBJECT'; name: 'AssetCategoryBorrowSample'; 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; }; } }; '
|
|
166
|
+
'AssetCategoryBorrowSample': { kind: 'OBJECT'; name: 'AssetCategoryBorrowSample'; 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; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
159
167
|
'AssetCategorySupplyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetCategorySupplyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'category'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
160
|
-
'AssetCategorySupplySample': { kind: 'OBJECT'; name: 'AssetCategorySupplySample'; fields: { '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; }; } }; '
|
|
168
|
+
'AssetCategorySupplySample': { kind: 'OBJECT'; name: 'AssetCategorySupplySample'; fields: { '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; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
161
169
|
'AssetId': unknown;
|
|
162
170
|
'AssetPriceHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetPriceHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetPriceHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { 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" }]; };
|
|
163
171
|
'AssetPriceHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetPriceHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -167,13 +175,13 @@ type introspection_types = {
|
|
|
167
175
|
'AssetSummary': { kind: 'OBJECT'; name: 'AssetSummary'; fields: { 'borrowApy': { name: 'borrowApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'supplyApy': { name: 'supplyApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'totalBorrowCap': { name: 'totalBorrowCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; ofType: null; }; } }; 'totalBorrowable': { name: 'totalBorrowable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalBorrowed': { name: 'totalBorrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSuppliable': { name: 'totalSuppliable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AssetAmountWithChange'; ofType: null; }; } }; 'totalSupplyCap': { name: 'totalSupplyCap'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumberWithChange'; ofType: null; }; } }; }; };
|
|
168
176
|
'AssetSupplyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
169
177
|
'AssetSupplyHistoryRequestQuery': { kind: 'INPUT_OBJECT'; name: 'AssetSupplyHistoryRequestQuery'; isOneOf: true; inputFields: [{ name: 'token'; type: { kind: 'INPUT_OBJECT'; name: 'Erc20Input'; ofType: null; }; defaultValue: null }, { name: 'assetId'; type: { kind: 'SCALAR'; name: 'AssetId'; ofType: null; }; defaultValue: null }]; };
|
|
170
|
-
'AssetSupplySample': { kind: 'OBJECT'; name: 'AssetSupplySample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; '
|
|
178
|
+
'AssetSupplySample': { kind: 'OBJECT'; name: 'AssetSupplySample'; fields: { 'amount': { name: 'amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DecimalNumber'; ofType: null; }; } }; 'date': { name: 'date'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'highestApy': { name: 'highestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'lowestApy': { name: 'lowestApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; }; };
|
|
171
179
|
'BigDecimal': unknown;
|
|
172
180
|
'BigInt': unknown;
|
|
173
181
|
'BlockchainData': unknown;
|
|
174
182
|
'Boolean': unknown;
|
|
175
|
-
'BorrowAPYHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'BorrowAPYHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
176
183
|
'BorrowActivity': { kind: 'OBJECT'; name: 'BorrowActivity'; fields: { 'borrowed': { name: 'borrowed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; '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; }; } }; '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; }; } }; }; };
|
|
184
|
+
'BorrowApyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'BorrowApyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
177
185
|
'BorrowRequest': { kind: 'INPUT_OBJECT'; name: 'BorrowRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; 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: 'ReserveAmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
178
186
|
'CancelIntentSwapInput': { kind: 'INPUT_OBJECT'; name: 'CancelIntentSwapInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'SwapId'; ofType: null; }; }; defaultValue: null }, { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Signature'; ofType: null; }; }; defaultValue: null }]; };
|
|
179
187
|
'CancelSwapExecutionPlan': { kind: 'UNION'; name: 'CancelSwapExecutionPlan'; fields: {}; possibleTypes: 'SwapCancelled' | 'TransactionRequest'; };
|
|
@@ -183,11 +191,12 @@ type introspection_types = {
|
|
|
183
191
|
'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; }; } }; }; };
|
|
184
192
|
'ChainId': unknown;
|
|
185
193
|
'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 }]; };
|
|
194
|
+
'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 }]; };
|
|
186
195
|
'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 }]; };
|
|
187
196
|
'ChainsFilter': { name: 'ChainsFilter'; enumValues: 'TESTNET_ONLY' | 'MAINNET_ONLY' | 'ALL'; };
|
|
188
197
|
'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 }]; };
|
|
189
198
|
'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 }]; };
|
|
190
|
-
'
|
|
199
|
+
'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; }; } }; }; };
|
|
191
200
|
'CollateralMetric': { name: 'CollateralMetric'; enumValues: 'HIGHEST' | 'LOWEST'; };
|
|
192
201
|
'Currency': { name: 'Currency'; enumValues: 'USD' | 'GBP' | 'EUR'; };
|
|
193
202
|
'Cursor': unknown;
|
|
@@ -196,9 +205,6 @@ type introspection_types = {
|
|
|
196
205
|
'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; }; } }; }; };
|
|
197
206
|
'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; }; } }; }; };
|
|
198
207
|
'DynamicConfigKey': unknown;
|
|
199
|
-
'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; }; } }; }; };
|
|
200
|
-
'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; }; } }; }; };
|
|
201
|
-
'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; }; } }; }; };
|
|
202
208
|
'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 }]; };
|
|
203
209
|
'EarningPeriod': { name: 'EarningPeriod'; enumValues: 'ANNUAL'; };
|
|
204
210
|
'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; }; } }; }; };
|
|
@@ -207,7 +213,7 @@ type introspection_types = {
|
|
|
207
213
|
'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; }; } }; }; };
|
|
208
214
|
'EvmAddress': unknown;
|
|
209
215
|
'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; }; } }; }; };
|
|
210
|
-
'
|
|
216
|
+
'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; }; } }; }; };
|
|
211
217
|
'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; }; } }; }; };
|
|
212
218
|
'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 }]; };
|
|
213
219
|
'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 }]; };
|
|
@@ -250,6 +256,8 @@ type introspection_types = {
|
|
|
250
256
|
'LiquidatePositionExecutionPlan': { kind: 'UNION'; name: 'LiquidatePositionExecutionPlan'; fields: {}; possibleTypes: 'Erc20ApprovalRequired' | 'InsufficientBalanceError' | 'TransactionRequest'; };
|
|
251
257
|
'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" }]; };
|
|
252
258
|
'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; }; } }; }; };
|
|
259
|
+
'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; }; } }; }; };
|
|
260
|
+
'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; }; } }; }; };
|
|
253
261
|
'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'forkTopUp': { name: 'forkTopUp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ForkTopUpResponse'; ofType: null; }; } }; }; };
|
|
254
262
|
'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; }; } }; }; };
|
|
255
263
|
'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; }; } }; }; };
|
|
@@ -279,10 +287,10 @@ type introspection_types = {
|
|
|
279
287
|
'PrepareSwapResult': { kind: 'UNION'; name: 'PrepareSwapResult'; fields: {}; possibleTypes: 'InsufficientBalanceError' | 'SwapByIntent' | 'SwapByIntentWithApprovalRequired' | 'SwapByTransaction'; };
|
|
280
288
|
'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 }]; };
|
|
281
289
|
'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 }]; };
|
|
282
|
-
'PreviewUserPosition': { kind: 'OBJECT'; name: 'PreviewUserPosition'; fields: { 'borrowingPower': { name: 'borrowingPower'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: '
|
|
290
|
+
'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; }; } }; }; };
|
|
283
291
|
'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" }]; };
|
|
284
292
|
'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; }; } }; }; };
|
|
285
|
-
'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: '
|
|
293
|
+
'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; }; } }; }; };
|
|
286
294
|
'RenounceSpokeUserPositionManagerRequest': { kind: 'INPUT_OBJECT'; name: 'RenounceSpokeUserPositionManagerRequest'; 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: 'managing'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
287
295
|
'RepayActivity': { kind: 'OBJECT'; name: 'RepayActivity'; 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; }; } }; 'repaid': { name: 'repaid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; 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; }; } }; }; };
|
|
288
296
|
'RepayAmountInputWithPermit': { kind: 'INPUT_OBJECT'; name: 'RepayAmountInputWithPermit'; isOneOf: true; inputFields: [{ name: 'native'; type: { kind: 'INPUT_OBJECT'; name: 'AmountInput'; ofType: null; }; defaultValue: null }, { name: 'erc20'; type: { kind: 'INPUT_OBJECT'; name: 'RepayErc20AmountInputWithPermit'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -306,7 +314,7 @@ type introspection_types = {
|
|
|
306
314
|
'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}" }]; };
|
|
307
315
|
'ReservesRequestFilter': { name: 'ReservesRequestFilter'; enumValues: 'SUPPLY' | 'BORROW' | 'COLLATERAL' | 'ALL'; };
|
|
308
316
|
'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 }]; };
|
|
309
|
-
'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: '
|
|
317
|
+
'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 }]; };
|
|
310
318
|
'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 }]; };
|
|
311
319
|
'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 }]; };
|
|
312
320
|
'Signature': unknown;
|
|
@@ -323,8 +331,8 @@ type introspection_types = {
|
|
|
323
331
|
'SpokesRequest': { kind: 'INPUT_OBJECT'; name: 'SpokesRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SpokesRequestQuery'; ofType: null; }; }; defaultValue: null }]; };
|
|
324
332
|
'SpokesRequestQuery': { kind: 'INPUT_OBJECT'; name: 'SpokesRequestQuery'; isOneOf: true; inputFields: [{ name: 'hubId'; type: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'HubInput'; 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 }]; };
|
|
325
333
|
'String': unknown;
|
|
326
|
-
'SupplyAPYHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyAPYHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
327
334
|
'SupplyActivity': { kind: 'OBJECT'; name: 'SupplyActivity'; 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; }; } }; '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; }; } }; 'supplied': { name: 'supplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; 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; }; } }; }; };
|
|
335
|
+
'SupplyApyHistoryRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyApyHistoryRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ReserveId'; ofType: null; }; }; defaultValue: null }, { name: 'window'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'TimeWindow'; ofType: null; }; }; defaultValue: "LAST_DAY" }]; };
|
|
328
336
|
'SupplyPermitRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyPermitRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; 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: 'ReserveErc20AmountInput'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
329
337
|
'SupplyRequest': { kind: 'INPUT_OBJECT'; name: 'SupplyRequest'; isOneOf: false; inputFields: [{ name: 'reserve'; 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: 'ReserveAmountInputWithPermit'; ofType: null; }; }; defaultValue: null }, { name: 'enableCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "true" }, { name: 'sender'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
|
|
330
338
|
'SwapApprovalRequired': { kind: 'OBJECT'; name: 'SwapApprovalRequired'; fields: { 'approval': { name: 'approval'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TransactionRequest'; ofType: null; }; } }; 'originalTransaction': { name: 'originalTransaction'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SwapTransactionRequest'; ofType: null; }; } }; }; };
|
|
@@ -377,13 +385,13 @@ type introspection_types = {
|
|
|
377
385
|
'UserBalancesByHub': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
|
|
378
386
|
'UserBalancesByHubId': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; isOneOf: false; inputFields: [{ name: 'hubId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'HubId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
|
|
379
387
|
'UserBalancesBySpoke': { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
|
|
388
|
+
'UserBalancesByTokens': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByTokens'; isOneOf: false; inputFields: [{ name: 'chainTokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ChainTokenInput'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
|
|
380
389
|
'UserBalancesByUserPosition': { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; isOneOf: false; inputFields: [{ name: 'userPositionId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; }; defaultValue: null }, { name: 'byReservesType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ReservesRequestFilter'; ofType: null; }; }; defaultValue: "ALL" }]; };
|
|
381
390
|
'UserBalancesRequest': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequest'; isOneOf: false; inputFields: [{ name: 'user'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; ofType: null; }; }; defaultValue: "{balance: DESC}" }, { name: 'filter'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; ofType: null; }; }; defaultValue: null }, { name: 'includeZeroBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
|
|
382
|
-
'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: '
|
|
391
|
+
'UserBalancesRequestFilter': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestFilter'; isOneOf: true; inputFields: [{ name: 'chains'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByChains'; ofType: null; }; defaultValue: null }, { name: 'hub'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHub'; ofType: null; }; defaultValue: null }, { name: 'hubId'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByHubId'; ofType: null; }; defaultValue: null }, { name: 'spoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesBySpoke'; ofType: null; }; defaultValue: null }, { name: 'swappable'; type: { kind: 'INPUT_OBJECT'; name: 'SwappableTokensRequestQuery'; ofType: null; }; defaultValue: null }, { name: 'userPosition'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByUserPosition'; ofType: null; }; defaultValue: null }, { name: 'tokens'; type: { kind: 'INPUT_OBJECT'; name: 'UserBalancesByTokens'; ofType: null; }; defaultValue: null }]; };
|
|
383
392
|
'UserBalancesRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserBalancesRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'balance'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
384
393
|
'UserBorrowItem': { kind: 'OBJECT'; name: 'UserBorrowItem'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; } }; 'debt': { name: 'debt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UserBorrowItemId'; ofType: null; }; } }; 'interest': { name: 'interest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'principal': { name: 'principal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc20Amount'; ofType: null; }; } }; 'reserve': { name: 'reserve'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Reserve'; ofType: null; }; } }; }; };
|
|
385
394
|
'UserBorrowItemId': unknown;
|
|
386
|
-
'UserBorrowsAPYBreakdownRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserBorrowsAPYBreakdownRequestQuery'; 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 }]; };
|
|
387
395
|
'UserBorrowsRequest': { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequestQuery'; ofType: null; }; }; defaultValue: null }, { name: 'orderBy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequestOrderBy'; ofType: null; }; }; defaultValue: "{amount: DESC}" }, { name: 'includeZeroBalances'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; }; defaultValue: "false" }]; };
|
|
388
396
|
'UserBorrowsRequestOrderBy': { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequestOrderBy'; isOneOf: true; inputFields: [{ name: 'assetName'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'created'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'amount'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }, { name: 'apy'; type: { kind: 'ENUM'; name: 'OrderDirection'; ofType: null; }; defaultValue: null }]; };
|
|
389
397
|
'UserBorrowsRequestQuery': { kind: 'INPUT_OBJECT'; name: 'UserBorrowsRequestQuery'; isOneOf: true; inputFields: [{ name: 'userSpoke'; type: { kind: 'INPUT_OBJECT'; name: 'UserSpokeInput'; ofType: null; }; defaultValue: null }, { name: 'userToken'; type: { kind: 'INPUT_OBJECT'; name: 'UserToken'; ofType: null; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }, { name: 'userChains'; type: { kind: 'INPUT_OBJECT'; name: 'UserChains'; ofType: null; }; defaultValue: null }, { name: 'userHub'; type: { kind: 'INPUT_OBJECT'; name: 'UserHub'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -391,6 +399,7 @@ type introspection_types = {
|
|
|
391
399
|
'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 }]; };
|
|
392
400
|
'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 }]; };
|
|
393
401
|
'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; }; } }; '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; }; } }; 'isUsingLatestDynamicConfigKey': { name: 'isUsingLatestDynamicConfigKey'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; 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; }; } }; }; };
|
|
402
|
+
'UserPositionConditionVariation': { kind: 'UNION'; name: 'UserPositionConditionVariation'; fields: {}; possibleTypes: 'CollateralFactorVariation' | 'LiquidationFeeVariation' | 'MaxLiquidationBonusVariation'; };
|
|
394
403
|
'UserPositionId': unknown;
|
|
395
404
|
'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 }]; };
|
|
396
405
|
'UserPositionRiskPremium': { kind: 'OBJECT'; name: 'UserPositionRiskPremium'; fields: { 'better': { name: 'better'; type: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; } }; '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; }; } }; }; };
|
|
@@ -398,7 +407,8 @@ type introspection_types = {
|
|
|
398
407
|
'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 }]; };
|
|
399
408
|
'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 }]; };
|
|
400
409
|
'UserRiskPremiumBreakdownItem': { kind: 'OBJECT'; name: 'UserRiskPremiumBreakdownItem'; fields: { 'collateral': { name: 'collateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PercentNumber'; ofType: null; }; } }; 'riskPremiumWeight': { name: 'riskPremiumWeight'; 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; }; } }; }; };
|
|
401
|
-
'UserRiskPremiumBreakdownRequest': { kind: 'INPUT_OBJECT'; name: 'UserRiskPremiumBreakdownRequest'; isOneOf: false; inputFields: [{ name: 'query'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: '
|
|
410
|
+
'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 }]; };
|
|
411
|
+
'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 }]; };
|
|
402
412
|
'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 }]; };
|
|
403
413
|
'UserSummary': { kind: 'OBJECT'; name: 'UserSummary'; fields: { 'lowestHealthFactor': { name: 'lowestHealthFactor'; type: { kind: 'SCALAR'; name: 'BigDecimal'; 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; }; } }; 'netFeeEarned': { name: 'netFeeEarned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalCollateral': { name: 'totalCollateral'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalDebt': { name: 'totalDebt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; 'totalPositions': { name: 'totalPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalSupplied': { name: 'totalSupplied'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ExchangeAmount'; ofType: null; }; } }; }; };
|
|
404
414
|
'UserSummaryFilter': { kind: 'INPUT_OBJECT'; name: 'UserSummaryFilter'; 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: 'chainIds'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ChainId'; ofType: null; }; }; }; defaultValue: null }, { name: 'userPositionId'; type: { kind: 'SCALAR'; name: 'UserPositionId'; ofType: null; }; defaultValue: null }]; };
|
|
@@ -657,6 +667,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
657
667
|
Boolean: boolean;
|
|
658
668
|
ChainId: ChainId;
|
|
659
669
|
ChainsFilter: ChainsFilter;
|
|
670
|
+
CollateralMetric: CollateralMetric;
|
|
660
671
|
Currency: Currency;
|
|
661
672
|
Cursor: Cursor;
|
|
662
673
|
DateTime: Date;
|
|
@@ -1823,8 +1834,8 @@ declare const PercentNumberVariationFragment: gql_tada.TadaDocumentNode<{
|
|
|
1823
1834
|
masked: false;
|
|
1824
1835
|
}>;
|
|
1825
1836
|
type PercentNumberVariation = FragmentOf<typeof PercentNumberVariationFragment>;
|
|
1826
|
-
declare const
|
|
1827
|
-
__typename: "
|
|
1837
|
+
declare const ExchangeAmountVariationFragment: gql_tada.TadaDocumentNode<{
|
|
1838
|
+
__typename: "ExchangeAmountVariation";
|
|
1828
1839
|
current: {
|
|
1829
1840
|
__typename: "ExchangeAmount";
|
|
1830
1841
|
value: _aave_types.BigDecimal;
|
|
@@ -1842,11 +1853,11 @@ declare const ExchangeAmountValueVariationFragment: gql_tada.TadaDocumentNode<{
|
|
|
1842
1853
|
decimals: number;
|
|
1843
1854
|
};
|
|
1844
1855
|
}, {}, {
|
|
1845
|
-
fragment: "
|
|
1846
|
-
on: "
|
|
1856
|
+
fragment: "ExchangeAmountVariation";
|
|
1857
|
+
on: "ExchangeAmountVariation";
|
|
1847
1858
|
masked: false;
|
|
1848
1859
|
}>;
|
|
1849
|
-
type
|
|
1860
|
+
type ExchangeAmountVariation = FragmentOf<typeof ExchangeAmountVariationFragment>;
|
|
1850
1861
|
declare const HealthFactorWithChangeFragment: gql_tada.TadaDocumentNode<{
|
|
1851
1862
|
__typename: "HealthFactorWithChange";
|
|
1852
1863
|
current: _aave_types.BigDecimal | null;
|
|
@@ -11409,8 +11420,8 @@ declare const UserSummaryHistoryItemFragment: gql_tada.TadaDocumentNode<{
|
|
|
11409
11420
|
masked: false;
|
|
11410
11421
|
}>;
|
|
11411
11422
|
type UserSummaryHistoryItem = FragmentOf<typeof UserSummaryHistoryItemFragment>;
|
|
11412
|
-
declare const
|
|
11413
|
-
__typename: "
|
|
11423
|
+
declare const ApySampleFragment: gql_tada.TadaDocumentNode<{
|
|
11424
|
+
__typename: "ApySample";
|
|
11414
11425
|
date: Date;
|
|
11415
11426
|
avgRate: {
|
|
11416
11427
|
__typename: "PercentNumber";
|
|
@@ -11420,11 +11431,11 @@ declare const APYSampleFragment: gql_tada.TadaDocumentNode<{
|
|
|
11420
11431
|
normalized: _aave_types.BigDecimal;
|
|
11421
11432
|
};
|
|
11422
11433
|
}, {}, {
|
|
11423
|
-
fragment: "
|
|
11424
|
-
on: "
|
|
11434
|
+
fragment: "ApySample";
|
|
11435
|
+
on: "ApySample";
|
|
11425
11436
|
masked: false;
|
|
11426
11437
|
}>;
|
|
11427
|
-
type
|
|
11438
|
+
type ApySample = FragmentOf<typeof ApySampleFragment>;
|
|
11428
11439
|
|
|
11429
11440
|
/**
|
|
11430
11441
|
* @internal
|
|
@@ -12102,6 +12113,101 @@ declare const HubAssetsQuery: gql_tada.TadaDocumentNode<{
|
|
|
12102
12113
|
type HubAssetsRequest = RequestOf<typeof HubAssetsQuery>;
|
|
12103
12114
|
type HubAssetsRequestQuery = ReturnType<typeof graphql.scalar<'HubAssetsRequestQuery'>>;
|
|
12104
12115
|
type HubsRequestQuery = ReturnType<typeof graphql.scalar<'HubsRequestQuery'>>;
|
|
12116
|
+
declare const HubSummarySampleFragment: gql_tada.TadaDocumentNode<{
|
|
12117
|
+
__typename: "HubSummarySample";
|
|
12118
|
+
date: Date;
|
|
12119
|
+
deposits: {
|
|
12120
|
+
__typename: "ExchangeAmount";
|
|
12121
|
+
value: _aave_types.BigDecimal;
|
|
12122
|
+
name: string;
|
|
12123
|
+
symbol: string;
|
|
12124
|
+
icon: string;
|
|
12125
|
+
decimals: number;
|
|
12126
|
+
};
|
|
12127
|
+
borrows: {
|
|
12128
|
+
__typename: "ExchangeAmount";
|
|
12129
|
+
value: _aave_types.BigDecimal;
|
|
12130
|
+
name: string;
|
|
12131
|
+
symbol: string;
|
|
12132
|
+
icon: string;
|
|
12133
|
+
decimals: number;
|
|
12134
|
+
};
|
|
12135
|
+
availableLiquidity: {
|
|
12136
|
+
__typename: "ExchangeAmount";
|
|
12137
|
+
value: _aave_types.BigDecimal;
|
|
12138
|
+
name: string;
|
|
12139
|
+
symbol: string;
|
|
12140
|
+
icon: string;
|
|
12141
|
+
decimals: number;
|
|
12142
|
+
};
|
|
12143
|
+
utilizationRate: {
|
|
12144
|
+
__typename: "PercentNumber";
|
|
12145
|
+
onChainValue: bigint;
|
|
12146
|
+
decimals: number;
|
|
12147
|
+
value: _aave_types.BigDecimal;
|
|
12148
|
+
normalized: _aave_types.BigDecimal;
|
|
12149
|
+
};
|
|
12150
|
+
}, {}, {
|
|
12151
|
+
fragment: "HubSummarySample";
|
|
12152
|
+
on: "HubSummarySample";
|
|
12153
|
+
masked: false;
|
|
12154
|
+
}>;
|
|
12155
|
+
type HubSummarySample = FragmentOf<typeof HubSummarySampleFragment>;
|
|
12156
|
+
/**
|
|
12157
|
+
* @internal
|
|
12158
|
+
*/
|
|
12159
|
+
declare const HubSummaryHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
12160
|
+
value: {
|
|
12161
|
+
__typename: "HubSummarySample";
|
|
12162
|
+
date: Date;
|
|
12163
|
+
deposits: {
|
|
12164
|
+
__typename: "ExchangeAmount";
|
|
12165
|
+
value: _aave_types.BigDecimal;
|
|
12166
|
+
name: string;
|
|
12167
|
+
symbol: string;
|
|
12168
|
+
icon: string;
|
|
12169
|
+
decimals: number;
|
|
12170
|
+
};
|
|
12171
|
+
borrows: {
|
|
12172
|
+
__typename: "ExchangeAmount";
|
|
12173
|
+
value: _aave_types.BigDecimal;
|
|
12174
|
+
name: string;
|
|
12175
|
+
symbol: string;
|
|
12176
|
+
icon: string;
|
|
12177
|
+
decimals: number;
|
|
12178
|
+
};
|
|
12179
|
+
availableLiquidity: {
|
|
12180
|
+
__typename: "ExchangeAmount";
|
|
12181
|
+
value: _aave_types.BigDecimal;
|
|
12182
|
+
name: string;
|
|
12183
|
+
symbol: string;
|
|
12184
|
+
icon: string;
|
|
12185
|
+
decimals: number;
|
|
12186
|
+
};
|
|
12187
|
+
utilizationRate: {
|
|
12188
|
+
__typename: "PercentNumber";
|
|
12189
|
+
onChainValue: bigint;
|
|
12190
|
+
decimals: number;
|
|
12191
|
+
value: _aave_types.BigDecimal;
|
|
12192
|
+
normalized: _aave_types.BigDecimal;
|
|
12193
|
+
};
|
|
12194
|
+
}[];
|
|
12195
|
+
}, {
|
|
12196
|
+
request: {
|
|
12197
|
+
window?: TimeWindow | null | undefined;
|
|
12198
|
+
currency?: Currency | null | undefined;
|
|
12199
|
+
query: {
|
|
12200
|
+
hubInput: {
|
|
12201
|
+
chainId: _aave_types.ChainId;
|
|
12202
|
+
address: _aave_types.EvmAddress;
|
|
12203
|
+
};
|
|
12204
|
+
} | {
|
|
12205
|
+
hubId: HubId;
|
|
12206
|
+
};
|
|
12207
|
+
};
|
|
12208
|
+
}, void>;
|
|
12209
|
+
type HubSummaryHistoryRequest = RequestOf<typeof HubSummaryHistoryQuery>;
|
|
12210
|
+
type HubSummaryHistoryRequestQuery = ReturnType<typeof graphql.scalar<'HubSummaryHistoryRequestQuery'>>;
|
|
12105
12211
|
|
|
12106
12212
|
type HubInput = ReturnType<typeof graphql.scalar<'HubInput'>>;
|
|
12107
12213
|
/**
|
|
@@ -12414,14 +12520,14 @@ declare const AssetSupplySampleFragment: gql_tada.TadaDocumentNode<{
|
|
|
12414
12520
|
decimals: number;
|
|
12415
12521
|
value: _aave_types.BigDecimal;
|
|
12416
12522
|
};
|
|
12417
|
-
|
|
12523
|
+
highestApy: {
|
|
12418
12524
|
__typename: "PercentNumber";
|
|
12419
12525
|
onChainValue: bigint;
|
|
12420
12526
|
decimals: number;
|
|
12421
12527
|
value: _aave_types.BigDecimal;
|
|
12422
12528
|
normalized: _aave_types.BigDecimal;
|
|
12423
12529
|
};
|
|
12424
|
-
|
|
12530
|
+
lowestApy: {
|
|
12425
12531
|
__typename: "PercentNumber";
|
|
12426
12532
|
onChainValue: bigint;
|
|
12427
12533
|
decimals: number;
|
|
@@ -12443,14 +12549,14 @@ declare const AssetBorrowSampleFragment: gql_tada.TadaDocumentNode<{
|
|
|
12443
12549
|
decimals: number;
|
|
12444
12550
|
value: _aave_types.BigDecimal;
|
|
12445
12551
|
};
|
|
12446
|
-
|
|
12552
|
+
highestApy: {
|
|
12447
12553
|
__typename: "PercentNumber";
|
|
12448
12554
|
onChainValue: bigint;
|
|
12449
12555
|
decimals: number;
|
|
12450
12556
|
value: _aave_types.BigDecimal;
|
|
12451
12557
|
normalized: _aave_types.BigDecimal;
|
|
12452
12558
|
};
|
|
12453
|
-
|
|
12559
|
+
lowestApy: {
|
|
12454
12560
|
__typename: "PercentNumber";
|
|
12455
12561
|
onChainValue: bigint;
|
|
12456
12562
|
decimals: number;
|
|
@@ -12463,6 +12569,68 @@ declare const AssetBorrowSampleFragment: gql_tada.TadaDocumentNode<{
|
|
|
12463
12569
|
masked: false;
|
|
12464
12570
|
}>;
|
|
12465
12571
|
type AssetBorrowSample = FragmentOf<typeof AssetBorrowSampleFragment>;
|
|
12572
|
+
declare const AssetCategoryBorrowSampleFragment: gql_tada.TadaDocumentNode<{
|
|
12573
|
+
__typename: "AssetCategoryBorrowSample";
|
|
12574
|
+
date: Date;
|
|
12575
|
+
highestApy: {
|
|
12576
|
+
__typename: "PercentNumber";
|
|
12577
|
+
onChainValue: bigint;
|
|
12578
|
+
decimals: number;
|
|
12579
|
+
value: _aave_types.BigDecimal;
|
|
12580
|
+
normalized: _aave_types.BigDecimal;
|
|
12581
|
+
};
|
|
12582
|
+
lowestApy: {
|
|
12583
|
+
__typename: "PercentNumber";
|
|
12584
|
+
onChainValue: bigint;
|
|
12585
|
+
decimals: number;
|
|
12586
|
+
value: _aave_types.BigDecimal;
|
|
12587
|
+
normalized: _aave_types.BigDecimal;
|
|
12588
|
+
};
|
|
12589
|
+
borrows: {
|
|
12590
|
+
__typename: "ExchangeAmount";
|
|
12591
|
+
value: _aave_types.BigDecimal;
|
|
12592
|
+
name: string;
|
|
12593
|
+
symbol: string;
|
|
12594
|
+
icon: string;
|
|
12595
|
+
decimals: number;
|
|
12596
|
+
};
|
|
12597
|
+
}, {}, {
|
|
12598
|
+
fragment: "AssetCategoryBorrowSample";
|
|
12599
|
+
on: "AssetCategoryBorrowSample";
|
|
12600
|
+
masked: false;
|
|
12601
|
+
}>;
|
|
12602
|
+
type AssetCategoryBorrowSample = FragmentOf<typeof AssetCategoryBorrowSampleFragment>;
|
|
12603
|
+
declare const AssetCategorySupplySampleFragment: gql_tada.TadaDocumentNode<{
|
|
12604
|
+
__typename: "AssetCategorySupplySample";
|
|
12605
|
+
date: Date;
|
|
12606
|
+
highestApy: {
|
|
12607
|
+
__typename: "PercentNumber";
|
|
12608
|
+
onChainValue: bigint;
|
|
12609
|
+
decimals: number;
|
|
12610
|
+
value: _aave_types.BigDecimal;
|
|
12611
|
+
normalized: _aave_types.BigDecimal;
|
|
12612
|
+
};
|
|
12613
|
+
lowestApy: {
|
|
12614
|
+
__typename: "PercentNumber";
|
|
12615
|
+
onChainValue: bigint;
|
|
12616
|
+
decimals: number;
|
|
12617
|
+
value: _aave_types.BigDecimal;
|
|
12618
|
+
normalized: _aave_types.BigDecimal;
|
|
12619
|
+
};
|
|
12620
|
+
deposits: {
|
|
12621
|
+
__typename: "ExchangeAmount";
|
|
12622
|
+
value: _aave_types.BigDecimal;
|
|
12623
|
+
name: string;
|
|
12624
|
+
symbol: string;
|
|
12625
|
+
icon: string;
|
|
12626
|
+
decimals: number;
|
|
12627
|
+
};
|
|
12628
|
+
}, {}, {
|
|
12629
|
+
fragment: "AssetCategorySupplySample";
|
|
12630
|
+
on: "AssetCategorySupplySample";
|
|
12631
|
+
masked: false;
|
|
12632
|
+
}>;
|
|
12633
|
+
type AssetCategorySupplySample = FragmentOf<typeof AssetCategorySupplySampleFragment>;
|
|
12466
12634
|
declare const AssetAmountWithChangeFragment: gql_tada.TadaDocumentNode<{
|
|
12467
12635
|
__typename: "AssetAmountWithChange";
|
|
12468
12636
|
amount: {
|
|
@@ -13282,14 +13450,14 @@ declare const AssetSupplyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13282
13450
|
decimals: number;
|
|
13283
13451
|
value: _aave_types.BigDecimal;
|
|
13284
13452
|
};
|
|
13285
|
-
|
|
13453
|
+
highestApy: {
|
|
13286
13454
|
__typename: "PercentNumber";
|
|
13287
13455
|
onChainValue: bigint;
|
|
13288
13456
|
decimals: number;
|
|
13289
13457
|
value: _aave_types.BigDecimal;
|
|
13290
13458
|
normalized: _aave_types.BigDecimal;
|
|
13291
13459
|
};
|
|
13292
|
-
|
|
13460
|
+
lowestApy: {
|
|
13293
13461
|
__typename: "PercentNumber";
|
|
13294
13462
|
onChainValue: bigint;
|
|
13295
13463
|
decimals: number;
|
|
@@ -13325,14 +13493,14 @@ declare const AssetBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13325
13493
|
decimals: number;
|
|
13326
13494
|
value: _aave_types.BigDecimal;
|
|
13327
13495
|
};
|
|
13328
|
-
|
|
13496
|
+
highestApy: {
|
|
13329
13497
|
__typename: "PercentNumber";
|
|
13330
13498
|
onChainValue: bigint;
|
|
13331
13499
|
decimals: number;
|
|
13332
13500
|
value: _aave_types.BigDecimal;
|
|
13333
13501
|
normalized: _aave_types.BigDecimal;
|
|
13334
13502
|
};
|
|
13335
|
-
|
|
13503
|
+
lowestApy: {
|
|
13336
13504
|
__typename: "PercentNumber";
|
|
13337
13505
|
onChainValue: bigint;
|
|
13338
13506
|
decimals: number;
|
|
@@ -13355,13 +13523,161 @@ declare const AssetBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13355
13523
|
}, void>;
|
|
13356
13524
|
type AssetBorrowHistoryRequest = RequestOf<typeof AssetBorrowHistoryQuery>;
|
|
13357
13525
|
type AssetBorrowHistoryRequestQuery = ReturnType<typeof graphql.scalar<'AssetBorrowHistoryRequestQuery'>>;
|
|
13526
|
+
/**
|
|
13527
|
+
* @internal
|
|
13528
|
+
*/
|
|
13529
|
+
declare const AssetCategoryBorrowHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13530
|
+
value: {
|
|
13531
|
+
__typename: "AssetCategoryBorrowSample";
|
|
13532
|
+
date: Date;
|
|
13533
|
+
highestApy: {
|
|
13534
|
+
__typename: "PercentNumber";
|
|
13535
|
+
onChainValue: bigint;
|
|
13536
|
+
decimals: number;
|
|
13537
|
+
value: _aave_types.BigDecimal;
|
|
13538
|
+
normalized: _aave_types.BigDecimal;
|
|
13539
|
+
};
|
|
13540
|
+
lowestApy: {
|
|
13541
|
+
__typename: "PercentNumber";
|
|
13542
|
+
onChainValue: bigint;
|
|
13543
|
+
decimals: number;
|
|
13544
|
+
value: _aave_types.BigDecimal;
|
|
13545
|
+
normalized: _aave_types.BigDecimal;
|
|
13546
|
+
};
|
|
13547
|
+
borrows: {
|
|
13548
|
+
__typename: "ExchangeAmount";
|
|
13549
|
+
value: _aave_types.BigDecimal;
|
|
13550
|
+
name: string;
|
|
13551
|
+
symbol: string;
|
|
13552
|
+
icon: string;
|
|
13553
|
+
decimals: number;
|
|
13554
|
+
};
|
|
13555
|
+
}[];
|
|
13556
|
+
}, {
|
|
13557
|
+
currency?: Currency | undefined;
|
|
13558
|
+
request: {
|
|
13559
|
+
window?: TimeWindow | null | undefined;
|
|
13560
|
+
category: TokenCategory;
|
|
13561
|
+
};
|
|
13562
|
+
}, void>;
|
|
13563
|
+
type AssetCategoryBorrowHistoryRequest = RequestOf<typeof AssetCategoryBorrowHistoryQuery>;
|
|
13564
|
+
/**
|
|
13565
|
+
* @internal
|
|
13566
|
+
*/
|
|
13567
|
+
declare const AssetCategorySupplyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13568
|
+
value: {
|
|
13569
|
+
__typename: "AssetCategorySupplySample";
|
|
13570
|
+
date: Date;
|
|
13571
|
+
highestApy: {
|
|
13572
|
+
__typename: "PercentNumber";
|
|
13573
|
+
onChainValue: bigint;
|
|
13574
|
+
decimals: number;
|
|
13575
|
+
value: _aave_types.BigDecimal;
|
|
13576
|
+
normalized: _aave_types.BigDecimal;
|
|
13577
|
+
};
|
|
13578
|
+
lowestApy: {
|
|
13579
|
+
__typename: "PercentNumber";
|
|
13580
|
+
onChainValue: bigint;
|
|
13581
|
+
decimals: number;
|
|
13582
|
+
value: _aave_types.BigDecimal;
|
|
13583
|
+
normalized: _aave_types.BigDecimal;
|
|
13584
|
+
};
|
|
13585
|
+
deposits: {
|
|
13586
|
+
__typename: "ExchangeAmount";
|
|
13587
|
+
value: _aave_types.BigDecimal;
|
|
13588
|
+
name: string;
|
|
13589
|
+
symbol: string;
|
|
13590
|
+
icon: string;
|
|
13591
|
+
decimals: number;
|
|
13592
|
+
};
|
|
13593
|
+
}[];
|
|
13594
|
+
}, {
|
|
13595
|
+
currency?: Currency | undefined;
|
|
13596
|
+
request: {
|
|
13597
|
+
window?: TimeWindow | null | undefined;
|
|
13598
|
+
category: TokenCategory;
|
|
13599
|
+
};
|
|
13600
|
+
}, void>;
|
|
13601
|
+
type AssetCategorySupplyHistoryRequest = RequestOf<typeof AssetCategorySupplyHistoryQuery>;
|
|
13602
|
+
declare const ProtocolHistorySampleFragment: gql_tada.TadaDocumentNode<{
|
|
13603
|
+
__typename: "ProtocolHistorySample";
|
|
13604
|
+
date: Date;
|
|
13605
|
+
deposits: {
|
|
13606
|
+
__typename: "ExchangeAmount";
|
|
13607
|
+
value: _aave_types.BigDecimal;
|
|
13608
|
+
name: string;
|
|
13609
|
+
symbol: string;
|
|
13610
|
+
icon: string;
|
|
13611
|
+
decimals: number;
|
|
13612
|
+
};
|
|
13613
|
+
borrows: {
|
|
13614
|
+
__typename: "ExchangeAmount";
|
|
13615
|
+
value: _aave_types.BigDecimal;
|
|
13616
|
+
name: string;
|
|
13617
|
+
symbol: string;
|
|
13618
|
+
icon: string;
|
|
13619
|
+
decimals: number;
|
|
13620
|
+
};
|
|
13621
|
+
earnings: {
|
|
13622
|
+
__typename: "ExchangeAmount";
|
|
13623
|
+
value: _aave_types.BigDecimal;
|
|
13624
|
+
name: string;
|
|
13625
|
+
symbol: string;
|
|
13626
|
+
icon: string;
|
|
13627
|
+
decimals: number;
|
|
13628
|
+
};
|
|
13629
|
+
}, {}, {
|
|
13630
|
+
fragment: "ProtocolHistorySample";
|
|
13631
|
+
on: "ProtocolHistorySample";
|
|
13632
|
+
masked: false;
|
|
13633
|
+
}>;
|
|
13634
|
+
type ProtocolHistorySample = FragmentOf<typeof ProtocolHistorySampleFragment>;
|
|
13635
|
+
/**
|
|
13636
|
+
* @internal
|
|
13637
|
+
*/
|
|
13638
|
+
declare const ProtocolHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13639
|
+
value: {
|
|
13640
|
+
__typename: "ProtocolHistorySample";
|
|
13641
|
+
date: Date;
|
|
13642
|
+
deposits: {
|
|
13643
|
+
__typename: "ExchangeAmount";
|
|
13644
|
+
value: _aave_types.BigDecimal;
|
|
13645
|
+
name: string;
|
|
13646
|
+
symbol: string;
|
|
13647
|
+
icon: string;
|
|
13648
|
+
decimals: number;
|
|
13649
|
+
};
|
|
13650
|
+
borrows: {
|
|
13651
|
+
__typename: "ExchangeAmount";
|
|
13652
|
+
value: _aave_types.BigDecimal;
|
|
13653
|
+
name: string;
|
|
13654
|
+
symbol: string;
|
|
13655
|
+
icon: string;
|
|
13656
|
+
decimals: number;
|
|
13657
|
+
};
|
|
13658
|
+
earnings: {
|
|
13659
|
+
__typename: "ExchangeAmount";
|
|
13660
|
+
value: _aave_types.BigDecimal;
|
|
13661
|
+
name: string;
|
|
13662
|
+
symbol: string;
|
|
13663
|
+
icon: string;
|
|
13664
|
+
decimals: number;
|
|
13665
|
+
};
|
|
13666
|
+
}[];
|
|
13667
|
+
}, {
|
|
13668
|
+
request: {
|
|
13669
|
+
window?: TimeWindow | null | undefined;
|
|
13670
|
+
currency?: Currency | null | undefined;
|
|
13671
|
+
};
|
|
13672
|
+
}, void>;
|
|
13673
|
+
type ProtocolHistoryRequest = RequestOf<typeof ProtocolHistoryQuery>;
|
|
13358
13674
|
|
|
13359
13675
|
/**
|
|
13360
13676
|
* @internal
|
|
13361
13677
|
*/
|
|
13362
13678
|
declare const BorrowApyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13363
13679
|
value: {
|
|
13364
|
-
__typename: "
|
|
13680
|
+
__typename: "ApySample";
|
|
13365
13681
|
date: Date;
|
|
13366
13682
|
avgRate: {
|
|
13367
13683
|
__typename: "PercentNumber";
|
|
@@ -13377,13 +13693,13 @@ declare const BorrowApyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13377
13693
|
reserve: ReserveId;
|
|
13378
13694
|
};
|
|
13379
13695
|
}, void>;
|
|
13380
|
-
type
|
|
13696
|
+
type BorrowApyHistoryRequest = RequestOf<typeof BorrowApyHistoryQuery>;
|
|
13381
13697
|
/**
|
|
13382
13698
|
* @internal
|
|
13383
13699
|
*/
|
|
13384
13700
|
declare const SupplyApyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
13385
13701
|
value: {
|
|
13386
|
-
__typename: "
|
|
13702
|
+
__typename: "ApySample";
|
|
13387
13703
|
date: Date;
|
|
13388
13704
|
avgRate: {
|
|
13389
13705
|
__typename: "PercentNumber";
|
|
@@ -13399,7 +13715,7 @@ declare const SupplyApyHistoryQuery: gql_tada.TadaDocumentNode<{
|
|
|
13399
13715
|
reserve: ReserveId;
|
|
13400
13716
|
};
|
|
13401
13717
|
}, void>;
|
|
13402
|
-
type
|
|
13718
|
+
type SupplyApyHistoryRequest = RequestOf<typeof SupplyApyHistoryQuery>;
|
|
13403
13719
|
declare const ReserveQuery: gql_tada.TadaDocumentNode<{
|
|
13404
13720
|
value: {
|
|
13405
13721
|
__typename: "Reserve";
|
|
@@ -15341,13 +15657,17 @@ declare const ReservesQuery: gql_tada.TadaDocumentNode<{
|
|
|
15341
15657
|
} | {
|
|
15342
15658
|
userPositionId: UserPositionId;
|
|
15343
15659
|
} | {
|
|
15344
|
-
|
|
15660
|
+
chainTokenCategories: {
|
|
15661
|
+
categories: TokenCategory[];
|
|
15662
|
+
chainId: _aave_types.ChainId;
|
|
15663
|
+
}[];
|
|
15345
15664
|
};
|
|
15346
15665
|
};
|
|
15347
15666
|
}, void>;
|
|
15348
15667
|
type ReservesRequest = RequestOf<typeof ReservesQuery>;
|
|
15349
15668
|
type ReservesRequestOrderBy = ReturnType<typeof graphql.scalar<'ReservesRequestOrderBy'>>;
|
|
15350
15669
|
type ReservesRequestQuery = ReturnType<typeof graphql.scalar<'ReservesRequestQuery'>>;
|
|
15670
|
+
type ChainTokenCategories = ReturnType<typeof graphql.scalar<'ChainTokenCategories'>>;
|
|
15351
15671
|
|
|
15352
15672
|
/**
|
|
15353
15673
|
* @internal
|
|
@@ -20317,6 +20637,354 @@ declare const UpdateUserPositionConditionsQuery: gql_tada.TadaDocumentNode<{
|
|
|
20317
20637
|
};
|
|
20318
20638
|
}, void>;
|
|
20319
20639
|
type UpdateUserPositionConditionsRequest = RequestOf<typeof UpdateUserPositionConditionsQuery>;
|
|
20640
|
+
declare const CollateralFactorVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20641
|
+
__typename: "CollateralFactorVariation";
|
|
20642
|
+
reserveId: ReserveId;
|
|
20643
|
+
token: {
|
|
20644
|
+
__typename: "Erc20Token";
|
|
20645
|
+
info: {
|
|
20646
|
+
__typename: "TokenInfo";
|
|
20647
|
+
id: TokenInfoId;
|
|
20648
|
+
name: string;
|
|
20649
|
+
symbol: string;
|
|
20650
|
+
icon: string;
|
|
20651
|
+
decimals: number;
|
|
20652
|
+
categories: TokenCategory[];
|
|
20653
|
+
};
|
|
20654
|
+
address: _aave_types.EvmAddress;
|
|
20655
|
+
chain: {
|
|
20656
|
+
__typename: "Chain";
|
|
20657
|
+
name: string;
|
|
20658
|
+
icon: string;
|
|
20659
|
+
chainId: _aave_types.ChainId;
|
|
20660
|
+
rpcUrl: string;
|
|
20661
|
+
explorerUrl: string;
|
|
20662
|
+
isTestnet: boolean;
|
|
20663
|
+
isFork: boolean;
|
|
20664
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20665
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20666
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20667
|
+
nativeInfo: {
|
|
20668
|
+
__typename: "TokenInfo";
|
|
20669
|
+
id: TokenInfoId;
|
|
20670
|
+
name: string;
|
|
20671
|
+
symbol: string;
|
|
20672
|
+
icon: string;
|
|
20673
|
+
decimals: number;
|
|
20674
|
+
categories: TokenCategory[];
|
|
20675
|
+
};
|
|
20676
|
+
};
|
|
20677
|
+
isWrappedNativeToken: boolean;
|
|
20678
|
+
permitSupported: boolean;
|
|
20679
|
+
};
|
|
20680
|
+
current: {
|
|
20681
|
+
__typename: "PercentNumber";
|
|
20682
|
+
onChainValue: bigint;
|
|
20683
|
+
decimals: number;
|
|
20684
|
+
value: _aave_types.BigDecimal;
|
|
20685
|
+
normalized: _aave_types.BigDecimal;
|
|
20686
|
+
};
|
|
20687
|
+
after: {
|
|
20688
|
+
__typename: "PercentNumber";
|
|
20689
|
+
onChainValue: bigint;
|
|
20690
|
+
decimals: number;
|
|
20691
|
+
value: _aave_types.BigDecimal;
|
|
20692
|
+
normalized: _aave_types.BigDecimal;
|
|
20693
|
+
};
|
|
20694
|
+
}, {}, {
|
|
20695
|
+
fragment: "CollateralFactorVariation";
|
|
20696
|
+
on: "CollateralFactorVariation";
|
|
20697
|
+
masked: false;
|
|
20698
|
+
}>;
|
|
20699
|
+
type CollateralFactorVariation = FragmentOf<typeof CollateralFactorVariationFragment>;
|
|
20700
|
+
declare const LiquidationFeeVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20701
|
+
__typename: "LiquidationFeeVariation";
|
|
20702
|
+
reserveId: ReserveId;
|
|
20703
|
+
token: {
|
|
20704
|
+
__typename: "Erc20Token";
|
|
20705
|
+
info: {
|
|
20706
|
+
__typename: "TokenInfo";
|
|
20707
|
+
id: TokenInfoId;
|
|
20708
|
+
name: string;
|
|
20709
|
+
symbol: string;
|
|
20710
|
+
icon: string;
|
|
20711
|
+
decimals: number;
|
|
20712
|
+
categories: TokenCategory[];
|
|
20713
|
+
};
|
|
20714
|
+
address: _aave_types.EvmAddress;
|
|
20715
|
+
chain: {
|
|
20716
|
+
__typename: "Chain";
|
|
20717
|
+
name: string;
|
|
20718
|
+
icon: string;
|
|
20719
|
+
chainId: _aave_types.ChainId;
|
|
20720
|
+
rpcUrl: string;
|
|
20721
|
+
explorerUrl: string;
|
|
20722
|
+
isTestnet: boolean;
|
|
20723
|
+
isFork: boolean;
|
|
20724
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20725
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20726
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20727
|
+
nativeInfo: {
|
|
20728
|
+
__typename: "TokenInfo";
|
|
20729
|
+
id: TokenInfoId;
|
|
20730
|
+
name: string;
|
|
20731
|
+
symbol: string;
|
|
20732
|
+
icon: string;
|
|
20733
|
+
decimals: number;
|
|
20734
|
+
categories: TokenCategory[];
|
|
20735
|
+
};
|
|
20736
|
+
};
|
|
20737
|
+
isWrappedNativeToken: boolean;
|
|
20738
|
+
permitSupported: boolean;
|
|
20739
|
+
};
|
|
20740
|
+
current: {
|
|
20741
|
+
__typename: "PercentNumber";
|
|
20742
|
+
onChainValue: bigint;
|
|
20743
|
+
decimals: number;
|
|
20744
|
+
value: _aave_types.BigDecimal;
|
|
20745
|
+
normalized: _aave_types.BigDecimal;
|
|
20746
|
+
};
|
|
20747
|
+
after: {
|
|
20748
|
+
__typename: "PercentNumber";
|
|
20749
|
+
onChainValue: bigint;
|
|
20750
|
+
decimals: number;
|
|
20751
|
+
value: _aave_types.BigDecimal;
|
|
20752
|
+
normalized: _aave_types.BigDecimal;
|
|
20753
|
+
};
|
|
20754
|
+
}, {}, {
|
|
20755
|
+
fragment: "LiquidationFeeVariation";
|
|
20756
|
+
on: "LiquidationFeeVariation";
|
|
20757
|
+
masked: false;
|
|
20758
|
+
}>;
|
|
20759
|
+
type LiquidationFeeVariation = FragmentOf<typeof LiquidationFeeVariationFragment>;
|
|
20760
|
+
declare const MaxLiquidationBonusVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20761
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
20762
|
+
reserveId: ReserveId;
|
|
20763
|
+
token: {
|
|
20764
|
+
__typename: "Erc20Token";
|
|
20765
|
+
info: {
|
|
20766
|
+
__typename: "TokenInfo";
|
|
20767
|
+
id: TokenInfoId;
|
|
20768
|
+
name: string;
|
|
20769
|
+
symbol: string;
|
|
20770
|
+
icon: string;
|
|
20771
|
+
decimals: number;
|
|
20772
|
+
categories: TokenCategory[];
|
|
20773
|
+
};
|
|
20774
|
+
address: _aave_types.EvmAddress;
|
|
20775
|
+
chain: {
|
|
20776
|
+
__typename: "Chain";
|
|
20777
|
+
name: string;
|
|
20778
|
+
icon: string;
|
|
20779
|
+
chainId: _aave_types.ChainId;
|
|
20780
|
+
rpcUrl: string;
|
|
20781
|
+
explorerUrl: string;
|
|
20782
|
+
isTestnet: boolean;
|
|
20783
|
+
isFork: boolean;
|
|
20784
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20785
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20786
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20787
|
+
nativeInfo: {
|
|
20788
|
+
__typename: "TokenInfo";
|
|
20789
|
+
id: TokenInfoId;
|
|
20790
|
+
name: string;
|
|
20791
|
+
symbol: string;
|
|
20792
|
+
icon: string;
|
|
20793
|
+
decimals: number;
|
|
20794
|
+
categories: TokenCategory[];
|
|
20795
|
+
};
|
|
20796
|
+
};
|
|
20797
|
+
isWrappedNativeToken: boolean;
|
|
20798
|
+
permitSupported: boolean;
|
|
20799
|
+
};
|
|
20800
|
+
current: {
|
|
20801
|
+
__typename: "PercentNumber";
|
|
20802
|
+
onChainValue: bigint;
|
|
20803
|
+
decimals: number;
|
|
20804
|
+
value: _aave_types.BigDecimal;
|
|
20805
|
+
normalized: _aave_types.BigDecimal;
|
|
20806
|
+
};
|
|
20807
|
+
after: {
|
|
20808
|
+
__typename: "PercentNumber";
|
|
20809
|
+
onChainValue: bigint;
|
|
20810
|
+
decimals: number;
|
|
20811
|
+
value: _aave_types.BigDecimal;
|
|
20812
|
+
normalized: _aave_types.BigDecimal;
|
|
20813
|
+
};
|
|
20814
|
+
}, {}, {
|
|
20815
|
+
fragment: "MaxLiquidationBonusVariation";
|
|
20816
|
+
on: "MaxLiquidationBonusVariation";
|
|
20817
|
+
masked: false;
|
|
20818
|
+
}>;
|
|
20819
|
+
type MaxLiquidationBonusVariation = FragmentOf<typeof MaxLiquidationBonusVariationFragment>;
|
|
20820
|
+
declare const UserPositionConditionVariationFragment: gql_tada.TadaDocumentNode<{
|
|
20821
|
+
__typename: "CollateralFactorVariation";
|
|
20822
|
+
reserveId: ReserveId;
|
|
20823
|
+
token: {
|
|
20824
|
+
__typename: "Erc20Token";
|
|
20825
|
+
info: {
|
|
20826
|
+
__typename: "TokenInfo";
|
|
20827
|
+
id: TokenInfoId;
|
|
20828
|
+
name: string;
|
|
20829
|
+
symbol: string;
|
|
20830
|
+
icon: string;
|
|
20831
|
+
decimals: number;
|
|
20832
|
+
categories: TokenCategory[];
|
|
20833
|
+
};
|
|
20834
|
+
address: _aave_types.EvmAddress;
|
|
20835
|
+
chain: {
|
|
20836
|
+
__typename: "Chain";
|
|
20837
|
+
name: string;
|
|
20838
|
+
icon: string;
|
|
20839
|
+
chainId: _aave_types.ChainId;
|
|
20840
|
+
rpcUrl: string;
|
|
20841
|
+
explorerUrl: string;
|
|
20842
|
+
isTestnet: boolean;
|
|
20843
|
+
isFork: boolean;
|
|
20844
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20845
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20846
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20847
|
+
nativeInfo: {
|
|
20848
|
+
__typename: "TokenInfo";
|
|
20849
|
+
id: TokenInfoId;
|
|
20850
|
+
name: string;
|
|
20851
|
+
symbol: string;
|
|
20852
|
+
icon: string;
|
|
20853
|
+
decimals: number;
|
|
20854
|
+
categories: TokenCategory[];
|
|
20855
|
+
};
|
|
20856
|
+
};
|
|
20857
|
+
isWrappedNativeToken: boolean;
|
|
20858
|
+
permitSupported: boolean;
|
|
20859
|
+
};
|
|
20860
|
+
current: {
|
|
20861
|
+
__typename: "PercentNumber";
|
|
20862
|
+
onChainValue: bigint;
|
|
20863
|
+
decimals: number;
|
|
20864
|
+
value: _aave_types.BigDecimal;
|
|
20865
|
+
normalized: _aave_types.BigDecimal;
|
|
20866
|
+
};
|
|
20867
|
+
after: {
|
|
20868
|
+
__typename: "PercentNumber";
|
|
20869
|
+
onChainValue: bigint;
|
|
20870
|
+
decimals: number;
|
|
20871
|
+
value: _aave_types.BigDecimal;
|
|
20872
|
+
normalized: _aave_types.BigDecimal;
|
|
20873
|
+
};
|
|
20874
|
+
} | {
|
|
20875
|
+
__typename: "LiquidationFeeVariation";
|
|
20876
|
+
reserveId: ReserveId;
|
|
20877
|
+
token: {
|
|
20878
|
+
__typename: "Erc20Token";
|
|
20879
|
+
info: {
|
|
20880
|
+
__typename: "TokenInfo";
|
|
20881
|
+
id: TokenInfoId;
|
|
20882
|
+
name: string;
|
|
20883
|
+
symbol: string;
|
|
20884
|
+
icon: string;
|
|
20885
|
+
decimals: number;
|
|
20886
|
+
categories: TokenCategory[];
|
|
20887
|
+
};
|
|
20888
|
+
address: _aave_types.EvmAddress;
|
|
20889
|
+
chain: {
|
|
20890
|
+
__typename: "Chain";
|
|
20891
|
+
name: string;
|
|
20892
|
+
icon: string;
|
|
20893
|
+
chainId: _aave_types.ChainId;
|
|
20894
|
+
rpcUrl: string;
|
|
20895
|
+
explorerUrl: string;
|
|
20896
|
+
isTestnet: boolean;
|
|
20897
|
+
isFork: boolean;
|
|
20898
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20899
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20900
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20901
|
+
nativeInfo: {
|
|
20902
|
+
__typename: "TokenInfo";
|
|
20903
|
+
id: TokenInfoId;
|
|
20904
|
+
name: string;
|
|
20905
|
+
symbol: string;
|
|
20906
|
+
icon: string;
|
|
20907
|
+
decimals: number;
|
|
20908
|
+
categories: TokenCategory[];
|
|
20909
|
+
};
|
|
20910
|
+
};
|
|
20911
|
+
isWrappedNativeToken: boolean;
|
|
20912
|
+
permitSupported: boolean;
|
|
20913
|
+
};
|
|
20914
|
+
current: {
|
|
20915
|
+
__typename: "PercentNumber";
|
|
20916
|
+
onChainValue: bigint;
|
|
20917
|
+
decimals: number;
|
|
20918
|
+
value: _aave_types.BigDecimal;
|
|
20919
|
+
normalized: _aave_types.BigDecimal;
|
|
20920
|
+
};
|
|
20921
|
+
after: {
|
|
20922
|
+
__typename: "PercentNumber";
|
|
20923
|
+
onChainValue: bigint;
|
|
20924
|
+
decimals: number;
|
|
20925
|
+
value: _aave_types.BigDecimal;
|
|
20926
|
+
normalized: _aave_types.BigDecimal;
|
|
20927
|
+
};
|
|
20928
|
+
} | {
|
|
20929
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
20930
|
+
reserveId: ReserveId;
|
|
20931
|
+
token: {
|
|
20932
|
+
__typename: "Erc20Token";
|
|
20933
|
+
info: {
|
|
20934
|
+
__typename: "TokenInfo";
|
|
20935
|
+
id: TokenInfoId;
|
|
20936
|
+
name: string;
|
|
20937
|
+
symbol: string;
|
|
20938
|
+
icon: string;
|
|
20939
|
+
decimals: number;
|
|
20940
|
+
categories: TokenCategory[];
|
|
20941
|
+
};
|
|
20942
|
+
address: _aave_types.EvmAddress;
|
|
20943
|
+
chain: {
|
|
20944
|
+
__typename: "Chain";
|
|
20945
|
+
name: string;
|
|
20946
|
+
icon: string;
|
|
20947
|
+
chainId: _aave_types.ChainId;
|
|
20948
|
+
rpcUrl: string;
|
|
20949
|
+
explorerUrl: string;
|
|
20950
|
+
isTestnet: boolean;
|
|
20951
|
+
isFork: boolean;
|
|
20952
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
20953
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
20954
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
20955
|
+
nativeInfo: {
|
|
20956
|
+
__typename: "TokenInfo";
|
|
20957
|
+
id: TokenInfoId;
|
|
20958
|
+
name: string;
|
|
20959
|
+
symbol: string;
|
|
20960
|
+
icon: string;
|
|
20961
|
+
decimals: number;
|
|
20962
|
+
categories: TokenCategory[];
|
|
20963
|
+
};
|
|
20964
|
+
};
|
|
20965
|
+
isWrappedNativeToken: boolean;
|
|
20966
|
+
permitSupported: boolean;
|
|
20967
|
+
};
|
|
20968
|
+
current: {
|
|
20969
|
+
__typename: "PercentNumber";
|
|
20970
|
+
onChainValue: bigint;
|
|
20971
|
+
decimals: number;
|
|
20972
|
+
value: _aave_types.BigDecimal;
|
|
20973
|
+
normalized: _aave_types.BigDecimal;
|
|
20974
|
+
};
|
|
20975
|
+
after: {
|
|
20976
|
+
__typename: "PercentNumber";
|
|
20977
|
+
onChainValue: bigint;
|
|
20978
|
+
decimals: number;
|
|
20979
|
+
value: _aave_types.BigDecimal;
|
|
20980
|
+
normalized: _aave_types.BigDecimal;
|
|
20981
|
+
};
|
|
20982
|
+
}, {}, {
|
|
20983
|
+
fragment: "UserPositionConditionVariation";
|
|
20984
|
+
on: "UserPositionConditionVariation";
|
|
20985
|
+
masked: false;
|
|
20986
|
+
}>;
|
|
20987
|
+
type UserPositionConditionVariation = FragmentOf<typeof UserPositionConditionVariationFragment>;
|
|
20320
20988
|
declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
20321
20989
|
__typename: "PreviewUserPosition";
|
|
20322
20990
|
id: UserPositionId;
|
|
@@ -20365,7 +21033,7 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
20365
21033
|
};
|
|
20366
21034
|
};
|
|
20367
21035
|
netCollateral: {
|
|
20368
|
-
__typename: "
|
|
21036
|
+
__typename: "ExchangeAmountVariation";
|
|
20369
21037
|
current: {
|
|
20370
21038
|
__typename: "ExchangeAmount";
|
|
20371
21039
|
value: _aave_types.BigDecimal;
|
|
@@ -20384,7 +21052,45 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
20384
21052
|
};
|
|
20385
21053
|
};
|
|
20386
21054
|
netBalance: {
|
|
20387
|
-
__typename: "
|
|
21055
|
+
__typename: "ExchangeAmountVariation";
|
|
21056
|
+
current: {
|
|
21057
|
+
__typename: "ExchangeAmount";
|
|
21058
|
+
value: _aave_types.BigDecimal;
|
|
21059
|
+
name: string;
|
|
21060
|
+
symbol: string;
|
|
21061
|
+
icon: string;
|
|
21062
|
+
decimals: number;
|
|
21063
|
+
};
|
|
21064
|
+
after: {
|
|
21065
|
+
__typename: "ExchangeAmount";
|
|
21066
|
+
value: _aave_types.BigDecimal;
|
|
21067
|
+
name: string;
|
|
21068
|
+
symbol: string;
|
|
21069
|
+
icon: string;
|
|
21070
|
+
decimals: number;
|
|
21071
|
+
};
|
|
21072
|
+
};
|
|
21073
|
+
projectedEarnings: {
|
|
21074
|
+
__typename: "ExchangeAmountVariation";
|
|
21075
|
+
current: {
|
|
21076
|
+
__typename: "ExchangeAmount";
|
|
21077
|
+
value: _aave_types.BigDecimal;
|
|
21078
|
+
name: string;
|
|
21079
|
+
symbol: string;
|
|
21080
|
+
icon: string;
|
|
21081
|
+
decimals: number;
|
|
21082
|
+
};
|
|
21083
|
+
after: {
|
|
21084
|
+
__typename: "ExchangeAmount";
|
|
21085
|
+
value: _aave_types.BigDecimal;
|
|
21086
|
+
name: string;
|
|
21087
|
+
symbol: string;
|
|
21088
|
+
icon: string;
|
|
21089
|
+
decimals: number;
|
|
21090
|
+
};
|
|
21091
|
+
};
|
|
21092
|
+
borrowingPower: {
|
|
21093
|
+
__typename: "ExchangeAmountVariation";
|
|
20388
21094
|
current: {
|
|
20389
21095
|
__typename: "ExchangeAmount";
|
|
20390
21096
|
value: _aave_types.BigDecimal;
|
|
@@ -20402,6 +21108,169 @@ declare const PreviewUserPositionFragment: gql_tada.TadaDocumentNode<{
|
|
|
20402
21108
|
decimals: number;
|
|
20403
21109
|
};
|
|
20404
21110
|
};
|
|
21111
|
+
otherConditions: ({
|
|
21112
|
+
__typename: "CollateralFactorVariation";
|
|
21113
|
+
reserveId: ReserveId;
|
|
21114
|
+
token: {
|
|
21115
|
+
__typename: "Erc20Token";
|
|
21116
|
+
info: {
|
|
21117
|
+
__typename: "TokenInfo";
|
|
21118
|
+
id: TokenInfoId;
|
|
21119
|
+
name: string;
|
|
21120
|
+
symbol: string;
|
|
21121
|
+
icon: string;
|
|
21122
|
+
decimals: number;
|
|
21123
|
+
categories: TokenCategory[];
|
|
21124
|
+
};
|
|
21125
|
+
address: _aave_types.EvmAddress;
|
|
21126
|
+
chain: {
|
|
21127
|
+
__typename: "Chain";
|
|
21128
|
+
name: string;
|
|
21129
|
+
icon: string;
|
|
21130
|
+
chainId: _aave_types.ChainId;
|
|
21131
|
+
rpcUrl: string;
|
|
21132
|
+
explorerUrl: string;
|
|
21133
|
+
isTestnet: boolean;
|
|
21134
|
+
isFork: boolean;
|
|
21135
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21136
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21137
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21138
|
+
nativeInfo: {
|
|
21139
|
+
__typename: "TokenInfo";
|
|
21140
|
+
id: TokenInfoId;
|
|
21141
|
+
name: string;
|
|
21142
|
+
symbol: string;
|
|
21143
|
+
icon: string;
|
|
21144
|
+
decimals: number;
|
|
21145
|
+
categories: TokenCategory[];
|
|
21146
|
+
};
|
|
21147
|
+
};
|
|
21148
|
+
isWrappedNativeToken: boolean;
|
|
21149
|
+
permitSupported: boolean;
|
|
21150
|
+
};
|
|
21151
|
+
current: {
|
|
21152
|
+
__typename: "PercentNumber";
|
|
21153
|
+
onChainValue: bigint;
|
|
21154
|
+
decimals: number;
|
|
21155
|
+
value: _aave_types.BigDecimal;
|
|
21156
|
+
normalized: _aave_types.BigDecimal;
|
|
21157
|
+
};
|
|
21158
|
+
after: {
|
|
21159
|
+
__typename: "PercentNumber";
|
|
21160
|
+
onChainValue: bigint;
|
|
21161
|
+
decimals: number;
|
|
21162
|
+
value: _aave_types.BigDecimal;
|
|
21163
|
+
normalized: _aave_types.BigDecimal;
|
|
21164
|
+
};
|
|
21165
|
+
} | {
|
|
21166
|
+
__typename: "LiquidationFeeVariation";
|
|
21167
|
+
reserveId: ReserveId;
|
|
21168
|
+
token: {
|
|
21169
|
+
__typename: "Erc20Token";
|
|
21170
|
+
info: {
|
|
21171
|
+
__typename: "TokenInfo";
|
|
21172
|
+
id: TokenInfoId;
|
|
21173
|
+
name: string;
|
|
21174
|
+
symbol: string;
|
|
21175
|
+
icon: string;
|
|
21176
|
+
decimals: number;
|
|
21177
|
+
categories: TokenCategory[];
|
|
21178
|
+
};
|
|
21179
|
+
address: _aave_types.EvmAddress;
|
|
21180
|
+
chain: {
|
|
21181
|
+
__typename: "Chain";
|
|
21182
|
+
name: string;
|
|
21183
|
+
icon: string;
|
|
21184
|
+
chainId: _aave_types.ChainId;
|
|
21185
|
+
rpcUrl: string;
|
|
21186
|
+
explorerUrl: string;
|
|
21187
|
+
isTestnet: boolean;
|
|
21188
|
+
isFork: boolean;
|
|
21189
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21190
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21191
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21192
|
+
nativeInfo: {
|
|
21193
|
+
__typename: "TokenInfo";
|
|
21194
|
+
id: TokenInfoId;
|
|
21195
|
+
name: string;
|
|
21196
|
+
symbol: string;
|
|
21197
|
+
icon: string;
|
|
21198
|
+
decimals: number;
|
|
21199
|
+
categories: TokenCategory[];
|
|
21200
|
+
};
|
|
21201
|
+
};
|
|
21202
|
+
isWrappedNativeToken: boolean;
|
|
21203
|
+
permitSupported: boolean;
|
|
21204
|
+
};
|
|
21205
|
+
current: {
|
|
21206
|
+
__typename: "PercentNumber";
|
|
21207
|
+
onChainValue: bigint;
|
|
21208
|
+
decimals: number;
|
|
21209
|
+
value: _aave_types.BigDecimal;
|
|
21210
|
+
normalized: _aave_types.BigDecimal;
|
|
21211
|
+
};
|
|
21212
|
+
after: {
|
|
21213
|
+
__typename: "PercentNumber";
|
|
21214
|
+
onChainValue: bigint;
|
|
21215
|
+
decimals: number;
|
|
21216
|
+
value: _aave_types.BigDecimal;
|
|
21217
|
+
normalized: _aave_types.BigDecimal;
|
|
21218
|
+
};
|
|
21219
|
+
} | {
|
|
21220
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
21221
|
+
reserveId: ReserveId;
|
|
21222
|
+
token: {
|
|
21223
|
+
__typename: "Erc20Token";
|
|
21224
|
+
info: {
|
|
21225
|
+
__typename: "TokenInfo";
|
|
21226
|
+
id: TokenInfoId;
|
|
21227
|
+
name: string;
|
|
21228
|
+
symbol: string;
|
|
21229
|
+
icon: string;
|
|
21230
|
+
decimals: number;
|
|
21231
|
+
categories: TokenCategory[];
|
|
21232
|
+
};
|
|
21233
|
+
address: _aave_types.EvmAddress;
|
|
21234
|
+
chain: {
|
|
21235
|
+
__typename: "Chain";
|
|
21236
|
+
name: string;
|
|
21237
|
+
icon: string;
|
|
21238
|
+
chainId: _aave_types.ChainId;
|
|
21239
|
+
rpcUrl: string;
|
|
21240
|
+
explorerUrl: string;
|
|
21241
|
+
isTestnet: boolean;
|
|
21242
|
+
isFork: boolean;
|
|
21243
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21244
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21245
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21246
|
+
nativeInfo: {
|
|
21247
|
+
__typename: "TokenInfo";
|
|
21248
|
+
id: TokenInfoId;
|
|
21249
|
+
name: string;
|
|
21250
|
+
symbol: string;
|
|
21251
|
+
icon: string;
|
|
21252
|
+
decimals: number;
|
|
21253
|
+
categories: TokenCategory[];
|
|
21254
|
+
};
|
|
21255
|
+
};
|
|
21256
|
+
isWrappedNativeToken: boolean;
|
|
21257
|
+
permitSupported: boolean;
|
|
21258
|
+
};
|
|
21259
|
+
current: {
|
|
21260
|
+
__typename: "PercentNumber";
|
|
21261
|
+
onChainValue: bigint;
|
|
21262
|
+
decimals: number;
|
|
21263
|
+
value: _aave_types.BigDecimal;
|
|
21264
|
+
normalized: _aave_types.BigDecimal;
|
|
21265
|
+
};
|
|
21266
|
+
after: {
|
|
21267
|
+
__typename: "PercentNumber";
|
|
21268
|
+
onChainValue: bigint;
|
|
21269
|
+
decimals: number;
|
|
21270
|
+
value: _aave_types.BigDecimal;
|
|
21271
|
+
normalized: _aave_types.BigDecimal;
|
|
21272
|
+
};
|
|
21273
|
+
})[];
|
|
20405
21274
|
}, {}, {
|
|
20406
21275
|
fragment: "PreviewUserPosition";
|
|
20407
21276
|
on: "PreviewUserPosition";
|
|
@@ -20460,7 +21329,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
|
|
|
20460
21329
|
};
|
|
20461
21330
|
};
|
|
20462
21331
|
netCollateral: {
|
|
20463
|
-
__typename: "
|
|
21332
|
+
__typename: "ExchangeAmountVariation";
|
|
20464
21333
|
current: {
|
|
20465
21334
|
__typename: "ExchangeAmount";
|
|
20466
21335
|
value: _aave_types.BigDecimal;
|
|
@@ -20479,7 +21348,7 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
|
|
|
20479
21348
|
};
|
|
20480
21349
|
};
|
|
20481
21350
|
netBalance: {
|
|
20482
|
-
__typename: "
|
|
21351
|
+
__typename: "ExchangeAmountVariation";
|
|
20483
21352
|
current: {
|
|
20484
21353
|
__typename: "ExchangeAmount";
|
|
20485
21354
|
value: _aave_types.BigDecimal;
|
|
@@ -20497,6 +21366,207 @@ declare const PreviewQuery: gql_tada.TadaDocumentNode<{
|
|
|
20497
21366
|
decimals: number;
|
|
20498
21367
|
};
|
|
20499
21368
|
};
|
|
21369
|
+
projectedEarnings: {
|
|
21370
|
+
__typename: "ExchangeAmountVariation";
|
|
21371
|
+
current: {
|
|
21372
|
+
__typename: "ExchangeAmount";
|
|
21373
|
+
value: _aave_types.BigDecimal;
|
|
21374
|
+
name: string;
|
|
21375
|
+
symbol: string;
|
|
21376
|
+
icon: string;
|
|
21377
|
+
decimals: number;
|
|
21378
|
+
};
|
|
21379
|
+
after: {
|
|
21380
|
+
__typename: "ExchangeAmount";
|
|
21381
|
+
value: _aave_types.BigDecimal;
|
|
21382
|
+
name: string;
|
|
21383
|
+
symbol: string;
|
|
21384
|
+
icon: string;
|
|
21385
|
+
decimals: number;
|
|
21386
|
+
};
|
|
21387
|
+
};
|
|
21388
|
+
borrowingPower: {
|
|
21389
|
+
__typename: "ExchangeAmountVariation";
|
|
21390
|
+
current: {
|
|
21391
|
+
__typename: "ExchangeAmount";
|
|
21392
|
+
value: _aave_types.BigDecimal;
|
|
21393
|
+
name: string;
|
|
21394
|
+
symbol: string;
|
|
21395
|
+
icon: string;
|
|
21396
|
+
decimals: number;
|
|
21397
|
+
};
|
|
21398
|
+
after: {
|
|
21399
|
+
__typename: "ExchangeAmount";
|
|
21400
|
+
value: _aave_types.BigDecimal;
|
|
21401
|
+
name: string;
|
|
21402
|
+
symbol: string;
|
|
21403
|
+
icon: string;
|
|
21404
|
+
decimals: number;
|
|
21405
|
+
};
|
|
21406
|
+
};
|
|
21407
|
+
otherConditions: ({
|
|
21408
|
+
__typename: "CollateralFactorVariation";
|
|
21409
|
+
reserveId: ReserveId;
|
|
21410
|
+
token: {
|
|
21411
|
+
__typename: "Erc20Token";
|
|
21412
|
+
info: {
|
|
21413
|
+
__typename: "TokenInfo";
|
|
21414
|
+
id: TokenInfoId;
|
|
21415
|
+
name: string;
|
|
21416
|
+
symbol: string;
|
|
21417
|
+
icon: string;
|
|
21418
|
+
decimals: number;
|
|
21419
|
+
categories: TokenCategory[];
|
|
21420
|
+
};
|
|
21421
|
+
address: _aave_types.EvmAddress;
|
|
21422
|
+
chain: {
|
|
21423
|
+
__typename: "Chain";
|
|
21424
|
+
name: string;
|
|
21425
|
+
icon: string;
|
|
21426
|
+
chainId: _aave_types.ChainId;
|
|
21427
|
+
rpcUrl: string;
|
|
21428
|
+
explorerUrl: string;
|
|
21429
|
+
isTestnet: boolean;
|
|
21430
|
+
isFork: boolean;
|
|
21431
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21432
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21433
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21434
|
+
nativeInfo: {
|
|
21435
|
+
__typename: "TokenInfo";
|
|
21436
|
+
id: TokenInfoId;
|
|
21437
|
+
name: string;
|
|
21438
|
+
symbol: string;
|
|
21439
|
+
icon: string;
|
|
21440
|
+
decimals: number;
|
|
21441
|
+
categories: TokenCategory[];
|
|
21442
|
+
};
|
|
21443
|
+
};
|
|
21444
|
+
isWrappedNativeToken: boolean;
|
|
21445
|
+
permitSupported: boolean;
|
|
21446
|
+
};
|
|
21447
|
+
current: {
|
|
21448
|
+
__typename: "PercentNumber";
|
|
21449
|
+
onChainValue: bigint;
|
|
21450
|
+
decimals: number;
|
|
21451
|
+
value: _aave_types.BigDecimal;
|
|
21452
|
+
normalized: _aave_types.BigDecimal;
|
|
21453
|
+
};
|
|
21454
|
+
after: {
|
|
21455
|
+
__typename: "PercentNumber";
|
|
21456
|
+
onChainValue: bigint;
|
|
21457
|
+
decimals: number;
|
|
21458
|
+
value: _aave_types.BigDecimal;
|
|
21459
|
+
normalized: _aave_types.BigDecimal;
|
|
21460
|
+
};
|
|
21461
|
+
} | {
|
|
21462
|
+
__typename: "LiquidationFeeVariation";
|
|
21463
|
+
reserveId: ReserveId;
|
|
21464
|
+
token: {
|
|
21465
|
+
__typename: "Erc20Token";
|
|
21466
|
+
info: {
|
|
21467
|
+
__typename: "TokenInfo";
|
|
21468
|
+
id: TokenInfoId;
|
|
21469
|
+
name: string;
|
|
21470
|
+
symbol: string;
|
|
21471
|
+
icon: string;
|
|
21472
|
+
decimals: number;
|
|
21473
|
+
categories: TokenCategory[];
|
|
21474
|
+
};
|
|
21475
|
+
address: _aave_types.EvmAddress;
|
|
21476
|
+
chain: {
|
|
21477
|
+
__typename: "Chain";
|
|
21478
|
+
name: string;
|
|
21479
|
+
icon: string;
|
|
21480
|
+
chainId: _aave_types.ChainId;
|
|
21481
|
+
rpcUrl: string;
|
|
21482
|
+
explorerUrl: string;
|
|
21483
|
+
isTestnet: boolean;
|
|
21484
|
+
isFork: boolean;
|
|
21485
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21486
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21487
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21488
|
+
nativeInfo: {
|
|
21489
|
+
__typename: "TokenInfo";
|
|
21490
|
+
id: TokenInfoId;
|
|
21491
|
+
name: string;
|
|
21492
|
+
symbol: string;
|
|
21493
|
+
icon: string;
|
|
21494
|
+
decimals: number;
|
|
21495
|
+
categories: TokenCategory[];
|
|
21496
|
+
};
|
|
21497
|
+
};
|
|
21498
|
+
isWrappedNativeToken: boolean;
|
|
21499
|
+
permitSupported: boolean;
|
|
21500
|
+
};
|
|
21501
|
+
current: {
|
|
21502
|
+
__typename: "PercentNumber";
|
|
21503
|
+
onChainValue: bigint;
|
|
21504
|
+
decimals: number;
|
|
21505
|
+
value: _aave_types.BigDecimal;
|
|
21506
|
+
normalized: _aave_types.BigDecimal;
|
|
21507
|
+
};
|
|
21508
|
+
after: {
|
|
21509
|
+
__typename: "PercentNumber";
|
|
21510
|
+
onChainValue: bigint;
|
|
21511
|
+
decimals: number;
|
|
21512
|
+
value: _aave_types.BigDecimal;
|
|
21513
|
+
normalized: _aave_types.BigDecimal;
|
|
21514
|
+
};
|
|
21515
|
+
} | {
|
|
21516
|
+
__typename: "MaxLiquidationBonusVariation";
|
|
21517
|
+
reserveId: ReserveId;
|
|
21518
|
+
token: {
|
|
21519
|
+
__typename: "Erc20Token";
|
|
21520
|
+
info: {
|
|
21521
|
+
__typename: "TokenInfo";
|
|
21522
|
+
id: TokenInfoId;
|
|
21523
|
+
name: string;
|
|
21524
|
+
symbol: string;
|
|
21525
|
+
icon: string;
|
|
21526
|
+
decimals: number;
|
|
21527
|
+
categories: TokenCategory[];
|
|
21528
|
+
};
|
|
21529
|
+
address: _aave_types.EvmAddress;
|
|
21530
|
+
chain: {
|
|
21531
|
+
__typename: "Chain";
|
|
21532
|
+
name: string;
|
|
21533
|
+
icon: string;
|
|
21534
|
+
chainId: _aave_types.ChainId;
|
|
21535
|
+
rpcUrl: string;
|
|
21536
|
+
explorerUrl: string;
|
|
21537
|
+
isTestnet: boolean;
|
|
21538
|
+
isFork: boolean;
|
|
21539
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
21540
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
21541
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
21542
|
+
nativeInfo: {
|
|
21543
|
+
__typename: "TokenInfo";
|
|
21544
|
+
id: TokenInfoId;
|
|
21545
|
+
name: string;
|
|
21546
|
+
symbol: string;
|
|
21547
|
+
icon: string;
|
|
21548
|
+
decimals: number;
|
|
21549
|
+
categories: TokenCategory[];
|
|
21550
|
+
};
|
|
21551
|
+
};
|
|
21552
|
+
isWrappedNativeToken: boolean;
|
|
21553
|
+
permitSupported: boolean;
|
|
21554
|
+
};
|
|
21555
|
+
current: {
|
|
21556
|
+
__typename: "PercentNumber";
|
|
21557
|
+
onChainValue: bigint;
|
|
21558
|
+
decimals: number;
|
|
21559
|
+
value: _aave_types.BigDecimal;
|
|
21560
|
+
normalized: _aave_types.BigDecimal;
|
|
21561
|
+
};
|
|
21562
|
+
after: {
|
|
21563
|
+
__typename: "PercentNumber";
|
|
21564
|
+
onChainValue: bigint;
|
|
21565
|
+
decimals: number;
|
|
21566
|
+
value: _aave_types.BigDecimal;
|
|
21567
|
+
normalized: _aave_types.BigDecimal;
|
|
21568
|
+
};
|
|
21569
|
+
})[];
|
|
20500
21570
|
};
|
|
20501
21571
|
}, {
|
|
20502
21572
|
currency?: Currency | undefined;
|
|
@@ -41061,13 +42131,16 @@ declare const UserBalancesQuery: gql_tada.TadaDocumentNode<{
|
|
|
41061
42131
|
};
|
|
41062
42132
|
} | {
|
|
41063
42133
|
tokens: {
|
|
41064
|
-
|
|
41065
|
-
|
|
41066
|
-
|
|
41067
|
-
|
|
41068
|
-
|
|
41069
|
-
|
|
41070
|
-
|
|
42134
|
+
byReservesType?: ReservesRequestFilter | null | undefined;
|
|
42135
|
+
chainTokens: {
|
|
42136
|
+
token: {
|
|
42137
|
+
native: true;
|
|
42138
|
+
} | {
|
|
42139
|
+
erc20: _aave_types.EvmAddress;
|
|
42140
|
+
};
|
|
42141
|
+
chainId: _aave_types.ChainId;
|
|
42142
|
+
}[];
|
|
42143
|
+
};
|
|
41071
42144
|
};
|
|
41072
42145
|
orderBy?: {
|
|
41073
42146
|
name: OrderDirection;
|
|
@@ -41084,6 +42157,7 @@ type UserBalancesByHub = ReturnType<typeof graphql.scalar<'UserBalancesByHub'>>;
|
|
|
41084
42157
|
type UserBalancesByHubId = ReturnType<typeof graphql.scalar<'UserBalancesByHubId'>>;
|
|
41085
42158
|
type UserBalancesBySpoke = ReturnType<typeof graphql.scalar<'UserBalancesBySpoke'>>;
|
|
41086
42159
|
type UserBalancesByUserPosition = ReturnType<typeof graphql.scalar<'UserBalancesByUserPosition'>>;
|
|
42160
|
+
type UserBalancesByTokens = ReturnType<typeof graphql.scalar<'UserBalancesByTokens'>>;
|
|
41087
42161
|
/**
|
|
41088
42162
|
* @internal
|
|
41089
42163
|
*/
|
|
@@ -41148,5 +42222,78 @@ type UserPositionsRequestOrderBy = ReturnType<typeof graphql.scalar<'UserPositio
|
|
|
41148
42222
|
type UserSummaryFilter = ReturnType<typeof graphql.scalar<'UserSummaryFilter'>>;
|
|
41149
42223
|
type UserSuppliesRequestQuery = ReturnType<typeof graphql.scalar<'UserSuppliesRequestQuery'>>;
|
|
41150
42224
|
type UserSuppliesRequestOrderBy = ReturnType<typeof graphql.scalar<'UserSuppliesRequestOrderBy'>>;
|
|
42225
|
+
/**
|
|
42226
|
+
* @internal
|
|
42227
|
+
*/
|
|
42228
|
+
declare const UserRiskPremiumBreakdownQuery: gql_tada.TadaDocumentNode<{
|
|
42229
|
+
value: {
|
|
42230
|
+
__typename: "UserRiskPremiumBreakdownItem";
|
|
42231
|
+
token: {
|
|
42232
|
+
__typename: "Erc20Token";
|
|
42233
|
+
info: {
|
|
42234
|
+
__typename: "TokenInfo";
|
|
42235
|
+
id: TokenInfoId;
|
|
42236
|
+
name: string;
|
|
42237
|
+
symbol: string;
|
|
42238
|
+
icon: string;
|
|
42239
|
+
decimals: number;
|
|
42240
|
+
categories: TokenCategory[];
|
|
42241
|
+
};
|
|
42242
|
+
address: _aave_types.EvmAddress;
|
|
42243
|
+
chain: {
|
|
42244
|
+
__typename: "Chain";
|
|
42245
|
+
name: string;
|
|
42246
|
+
icon: string;
|
|
42247
|
+
chainId: _aave_types.ChainId;
|
|
42248
|
+
rpcUrl: string;
|
|
42249
|
+
explorerUrl: string;
|
|
42250
|
+
isTestnet: boolean;
|
|
42251
|
+
isFork: boolean;
|
|
42252
|
+
nativeWrappedToken: _aave_types.EvmAddress;
|
|
42253
|
+
nativeGateway: _aave_types.EvmAddress;
|
|
42254
|
+
signatureGateway: _aave_types.EvmAddress;
|
|
42255
|
+
nativeInfo: {
|
|
42256
|
+
__typename: "TokenInfo";
|
|
42257
|
+
id: TokenInfoId;
|
|
42258
|
+
name: string;
|
|
42259
|
+
symbol: string;
|
|
42260
|
+
icon: string;
|
|
42261
|
+
decimals: number;
|
|
42262
|
+
categories: TokenCategory[];
|
|
42263
|
+
};
|
|
42264
|
+
};
|
|
42265
|
+
isWrappedNativeToken: boolean;
|
|
42266
|
+
permitSupported: boolean;
|
|
42267
|
+
};
|
|
42268
|
+
riskPremiumWeight: {
|
|
42269
|
+
__typename: "PercentNumber";
|
|
42270
|
+
onChainValue: bigint;
|
|
42271
|
+
decimals: number;
|
|
42272
|
+
value: _aave_types.BigDecimal;
|
|
42273
|
+
normalized: _aave_types.BigDecimal;
|
|
42274
|
+
};
|
|
42275
|
+
collateral: {
|
|
42276
|
+
__typename: "PercentNumber";
|
|
42277
|
+
onChainValue: bigint;
|
|
42278
|
+
decimals: number;
|
|
42279
|
+
value: _aave_types.BigDecimal;
|
|
42280
|
+
normalized: _aave_types.BigDecimal;
|
|
42281
|
+
};
|
|
42282
|
+
}[];
|
|
42283
|
+
}, {
|
|
42284
|
+
request: {
|
|
42285
|
+
user: _aave_types.EvmAddress;
|
|
42286
|
+
query: {
|
|
42287
|
+
userSpoke: {
|
|
42288
|
+
user: _aave_types.EvmAddress;
|
|
42289
|
+
spoke: SpokeId;
|
|
42290
|
+
};
|
|
42291
|
+
} | {
|
|
42292
|
+
userPositionId: UserPositionId;
|
|
42293
|
+
};
|
|
42294
|
+
};
|
|
42295
|
+
}, void>;
|
|
42296
|
+
type UserRiskPremiumBreakdownRequest = RequestOf<typeof UserRiskPremiumBreakdownQuery>;
|
|
42297
|
+
type UserRiskPremiumBreakdownRequestQuery = ReturnType<typeof graphql.scalar<'UserRiskPremiumBreakdownRequestQuery'>>;
|
|
41151
42298
|
|
|
41152
|
-
export { type APYSample, APYSampleFragment, ActivitiesQuery, type ActivitiesRequest, type ActivitiesRequestQuery, type ActivityItem, ActivityItemFragment, ActivityType, type AmountInput, ApyMetric, 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 BorrowAPYHistoryRequest, type BorrowActivity, BorrowActivityFragment, BorrowApyHistoryQuery, 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, 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 SupplyAPYHistoryRequest, type SupplyActivity, SupplyActivityFragment, SupplyApyHistoryQuery, 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 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 };
|
|
42299
|
+
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, 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 };
|