@aave/graphql 1.0.0-next.34 → 1.0.0-next.36
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 +549 -193
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35783 -5029
- package/dist/index.d.ts +35783 -5029
- package/dist/index.js +549 -193
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +88 -0
- package/dist/schema.d.ts +88 -0
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/testing.d.ts +1631 -8
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var He=(r=>(r.Asc="ASC",r.Desc="DESC",r))(He||{}),We=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(We||{}),Ve=(A=>(A.LastDay="LAST_DAY",A.LastWeek="LAST_WEEK",A.LastMonth="LAST_MONTH",A.LastSixMonths="LAST_SIX_MONTHS",A.LastYear="LAST_YEAR",A.All="ALL",A))(Ve||{}),Me=(d=>(d.SpokeBorrow="SPOKE_BORROW",d.SpokeRepay="SPOKE_REPAY",d.SpokeSupply="SPOKE_SUPPLY",d.SpokeWithdraw="SPOKE_WITHDRAW",d.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",d.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",d.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",d.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",d.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",d.Liquidation="LIQUIDATION",d))(Me||{}),$e=(n=>(n.TESTNET_ONLY="TESTNET_ONLY",n.MAINNET_ONLY="MAINNET_ONLY",n.ALL="ALL",n))($e||{}),Ne=(g=>(g.Borrow="BORROW",g.Supply="SUPPLY",g.Withdraw="WITHDRAW",g.Repay="REPAY",g.Liquidated="LIQUIDATED",g.SetAsCollateral="SET_AS_COLLATERAL",g.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",g.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",g.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",g.SupplySwap="SUPPLY_SWAP",g.BorrowSwap="BORROW_SWAP",g.RepayWithSupply="REPAY_WITH_SUPPLY",g.WithdrawSwap="WITHDRAW_SWAP",g))(Ne||{}),De=(n=>(n.Highest="HIGHEST",n.Lowest="LOWEST",n.Average="AVERAGE",n))(De||{}),Le=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Le||{}),Ge=(n=>(n.Usd="USD",n.Eur="EUR",n.Gbp="GBP",n))(Ge||{}),Ke=(P=>(P.Supply="SUPPLY",P.Borrow="BORROW",P.Collateral="COLLATERAL",P.All="ALL",P))(Ke||{}),Ye=(r=>(r.Current="CURRENT",r.New="NEW",r))(Ye||{}),ze=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(ze||{}),Ze=(n=>(n.Ready="READY",n.Pending="PENDING",n.Unknown="UNKNOWN",n))(Ze||{}),je=(r=>(r.Current="CURRENT",r.New="NEW",r))(je||{}),Je=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(Je||{}),Xe=(k=>(k.Cancelled="CANCELLED",k.Expired="EXPIRED",k.Fulfilled="FULFILLED",k.Open="OPEN",k.PendingSignature="PENDING_SIGNATURE",k))(Xe||{}),et=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(et||{}),tt=(r=>(r.Pending="PENDING",r.Done="DONE",r))(tt||{}),rt=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(rt||{}),at=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(at||{}),nt=(r=>(r.Market="MARKET",r.Limit="LIMIT",r))(nt||{}),ot=(n=>(n.Fulfilled="FULFILLED",n.Cancelled="CANCELLED",n.Expired="EXPIRED",n))(ot||{}),pt=(r=>(r.Buy="BUY",r.Sell="SELL",r))(pt||{});var e=gql_tada.initGraphQLTada();var W=e(`fragment DomainData on DomainData {
|
|
2
2
|
name
|
|
3
3
|
version
|
|
4
4
|
chainId
|
|
5
5
|
verifyingContract
|
|
6
|
-
}`),
|
|
6
|
+
}`),y=e(`fragment DecimalNumber on DecimalNumber {
|
|
7
7
|
__typename
|
|
8
8
|
onChainValue
|
|
9
9
|
decimals
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
decimals
|
|
15
15
|
value
|
|
16
16
|
normalized
|
|
17
|
-
}`),
|
|
17
|
+
}`),j=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
18
18
|
__typename
|
|
19
19
|
current {
|
|
20
20
|
...DecimalNumber
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
change(window: $timeWindow) {
|
|
23
23
|
...PercentNumber
|
|
24
24
|
}
|
|
25
|
-
}`,[
|
|
25
|
+
}`,[y,a]),m=e(`fragment ExchangeAmount on ExchangeAmount {
|
|
26
26
|
__typename
|
|
27
27
|
value
|
|
28
28
|
name
|
|
29
29
|
symbol
|
|
30
30
|
icon
|
|
31
31
|
decimals
|
|
32
|
-
}`),
|
|
32
|
+
}`),v=e(`fragment TokenInfo on TokenInfo {
|
|
33
33
|
__typename
|
|
34
34
|
id
|
|
35
35
|
name
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
icon
|
|
38
38
|
decimals
|
|
39
39
|
categories
|
|
40
|
-
}`),
|
|
40
|
+
}`),o=e(`fragment Chain on Chain {
|
|
41
41
|
__typename
|
|
42
42
|
name
|
|
43
43
|
icon
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
nativeInfo {
|
|
53
53
|
...TokenInfo
|
|
54
54
|
}
|
|
55
|
-
}`,[
|
|
55
|
+
}`,[v]),s=e(`fragment Erc20Token on Erc20Token {
|
|
56
56
|
__typename
|
|
57
57
|
info {
|
|
58
58
|
...TokenInfo
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
...Chain
|
|
63
63
|
}
|
|
64
64
|
isWrappedNativeToken
|
|
65
|
-
}`,[
|
|
65
|
+
}`,[v,o]),J=e(`fragment NativeToken on NativeToken {
|
|
66
66
|
__typename
|
|
67
67
|
info {
|
|
68
68
|
...TokenInfo
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
chain {
|
|
71
71
|
...Chain
|
|
72
72
|
}
|
|
73
|
-
}`,[
|
|
73
|
+
}`,[v,o]),u=e(`fragment Erc20Amount on Erc20Amount {
|
|
74
74
|
__typename
|
|
75
75
|
token {
|
|
76
76
|
...Erc20Token
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
exchangeRate(currency: $currency){
|
|
85
85
|
...DecimalNumber
|
|
86
86
|
}
|
|
87
|
-
}`,[
|
|
87
|
+
}`,[s,y,m]),it=e(`fragment NativeAmount on NativeAmount {
|
|
88
88
|
__typename
|
|
89
89
|
token {
|
|
90
90
|
...NativeToken
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
exchangeRate(currency: $currency){
|
|
99
99
|
...DecimalNumber
|
|
100
100
|
}
|
|
101
|
-
}`,[
|
|
101
|
+
}`,[J,y,m]),S=e(`fragment TokenAmount on TokenAmount {
|
|
102
102
|
__typename
|
|
103
103
|
... on Erc20Amount {
|
|
104
104
|
...Erc20Amount
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
... on NativeAmount {
|
|
107
107
|
...NativeAmount
|
|
108
108
|
}
|
|
109
|
-
}`,[
|
|
109
|
+
}`,[u,it]),X=e(`fragment Token on Token {
|
|
110
110
|
__typename
|
|
111
111
|
... on Erc20Token {
|
|
112
112
|
...Erc20Token
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
... on NativeToken {
|
|
115
115
|
...NativeToken
|
|
116
116
|
}
|
|
117
|
-
}`,[
|
|
117
|
+
}`,[s,J]),h=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
118
118
|
__typename
|
|
119
119
|
current {
|
|
120
120
|
...ExchangeAmount
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
change(window: $timeWindow){
|
|
123
123
|
...PercentNumber
|
|
124
124
|
}
|
|
125
|
-
}`,[
|
|
125
|
+
}`,[m,a]),ee=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
|
|
126
126
|
__typename
|
|
127
127
|
current {
|
|
128
128
|
...PercentNumber
|
|
@@ -130,11 +130,11 @@
|
|
|
130
130
|
change(window: $timeWindow){
|
|
131
131
|
...PercentNumber
|
|
132
132
|
}
|
|
133
|
-
}`,[a]),
|
|
133
|
+
}`,[a]),R=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
|
|
134
134
|
__typename
|
|
135
135
|
prev
|
|
136
136
|
next
|
|
137
|
-
}`),
|
|
137
|
+
}`),te=e(`fragment PercentNumberVariation on PercentNumberVariation {
|
|
138
138
|
__typename
|
|
139
139
|
current {
|
|
140
140
|
...PercentNumber
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
after {
|
|
143
143
|
...PercentNumber
|
|
144
144
|
}
|
|
145
|
-
}`,[a]),
|
|
145
|
+
}`,[a]),re=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
|
|
146
146
|
__typename
|
|
147
147
|
current {
|
|
148
148
|
...ExchangeAmount
|
|
@@ -150,22 +150,22 @@
|
|
|
150
150
|
after {
|
|
151
151
|
...ExchangeAmount
|
|
152
152
|
}
|
|
153
|
-
}`,[
|
|
153
|
+
}`,[m]),ae=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
|
|
154
154
|
__typename
|
|
155
155
|
current
|
|
156
156
|
change(window: $timeWindow) {
|
|
157
157
|
...PercentNumber
|
|
158
158
|
}
|
|
159
|
-
}`,[a]),
|
|
159
|
+
}`,[a]),ut=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
160
160
|
__typename
|
|
161
161
|
current
|
|
162
162
|
after
|
|
163
|
-
}`),
|
|
163
|
+
}`),mt=e(`fragment HealthFactorError on HealthFactorError {
|
|
164
164
|
__typename
|
|
165
165
|
reason
|
|
166
166
|
current
|
|
167
167
|
after
|
|
168
|
-
}`),
|
|
168
|
+
}`),ne=e(`fragment HealthFactorResult on HealthFactorResult {
|
|
169
169
|
__typename
|
|
170
170
|
... on HealthFactorVariation {
|
|
171
171
|
...HealthFactorVariation
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
... on HealthFactorError {
|
|
174
174
|
...HealthFactorError
|
|
175
175
|
}
|
|
176
|
-
}`,[
|
|
176
|
+
}`,[ut,mt]),f=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
|
|
177
177
|
__typename
|
|
178
178
|
required {
|
|
179
179
|
...DecimalNumber
|
|
@@ -181,10 +181,10 @@
|
|
|
181
181
|
available {
|
|
182
182
|
...DecimalNumber
|
|
183
183
|
}
|
|
184
|
-
}`,[
|
|
184
|
+
}`,[y]),b=e(`fragment InsufficientLiquidityError on InsufficientLiquidityError {
|
|
185
185
|
__typename
|
|
186
186
|
reason
|
|
187
|
-
}`);var
|
|
187
|
+
}`);var lt=e(`fragment HubSummary on HubSummary {
|
|
188
188
|
__typename
|
|
189
189
|
totalBorrowed {
|
|
190
190
|
...ExchangeAmountWithChange
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
utilizationRate {
|
|
202
202
|
...PercentNumber
|
|
203
203
|
}
|
|
204
|
-
}`,[
|
|
204
|
+
}`,[m,h,a]),F=e(`fragment Hub on Hub {
|
|
205
205
|
__typename
|
|
206
206
|
id
|
|
207
207
|
name
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
summary(currency: $currency) {
|
|
213
213
|
...HubSummary
|
|
214
214
|
}
|
|
215
|
-
}`,[
|
|
215
|
+
}`,[o,lt]);var yt=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
216
216
|
__typename
|
|
217
217
|
supplied {
|
|
218
218
|
...Erc20Amount
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
utilizationRate {
|
|
236
236
|
...PercentNumber
|
|
237
237
|
}
|
|
238
|
-
}`,[
|
|
238
|
+
}`,[u,a]),ct=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
239
239
|
__typename
|
|
240
240
|
feeReceiver
|
|
241
241
|
liquidityFee {
|
|
@@ -243,12 +243,24 @@
|
|
|
243
243
|
}
|
|
244
244
|
irStrategy
|
|
245
245
|
reinvestmentController
|
|
246
|
-
|
|
246
|
+
optimalUtilizationRate {
|
|
247
|
+
...PercentNumber
|
|
248
|
+
}
|
|
249
|
+
baseBorrowRate {
|
|
250
|
+
...PercentNumber
|
|
251
|
+
}
|
|
252
|
+
slopeBelowOptimal {
|
|
253
|
+
...PercentNumber
|
|
254
|
+
}
|
|
255
|
+
slopeAboveOptimal {
|
|
256
|
+
...PercentNumber
|
|
257
|
+
}
|
|
258
|
+
}`,[a]),gt=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
247
259
|
__typename
|
|
248
260
|
balance {
|
|
249
261
|
...Erc20Amount
|
|
250
262
|
}
|
|
251
|
-
}`,[
|
|
263
|
+
}`,[u]),C=e(`fragment HubAsset on HubAsset {
|
|
252
264
|
__typename
|
|
253
265
|
id
|
|
254
266
|
onchainAssetId
|
|
@@ -267,7 +279,7 @@
|
|
|
267
279
|
userState {
|
|
268
280
|
...HubAssetUserState
|
|
269
281
|
}
|
|
270
|
-
}`,[F,
|
|
282
|
+
}`,[F,s,yt,ct,gt]);var oe=e(`fragment PermitTypedData on PermitTypedData {
|
|
271
283
|
__typename
|
|
272
284
|
types
|
|
273
285
|
primaryType
|
|
@@ -275,7 +287,7 @@
|
|
|
275
287
|
...DomainData
|
|
276
288
|
}
|
|
277
289
|
message
|
|
278
|
-
}`,[
|
|
290
|
+
}`,[W]);function sa(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var dt=e(`fragment MerklGenericCriteria on MerklGenericCriteria {
|
|
279
291
|
__typename
|
|
280
292
|
id
|
|
281
293
|
text
|
|
@@ -285,7 +297,23 @@
|
|
|
285
297
|
... on MerklGenericCriteria {
|
|
286
298
|
...MerklGenericCriteria
|
|
287
299
|
}
|
|
288
|
-
}`,[
|
|
300
|
+
}`,[dt]),St=e(`fragment PointsGenericCriteria on PointsGenericCriteria {
|
|
301
|
+
__typename
|
|
302
|
+
id
|
|
303
|
+
text
|
|
304
|
+
userPassed
|
|
305
|
+
}`),U=e(`fragment PointsCriteria on PointsCriteria {
|
|
306
|
+
__typename
|
|
307
|
+
... on PointsGenericCriteria {
|
|
308
|
+
...PointsGenericCriteria
|
|
309
|
+
}
|
|
310
|
+
}`,[St]),O=e(`fragment PointsProgram on PointsProgram {
|
|
311
|
+
__typename
|
|
312
|
+
id
|
|
313
|
+
name
|
|
314
|
+
externalUrl
|
|
315
|
+
iconUrl
|
|
316
|
+
}`),Rt=e(`fragment MerklSupplyReward on MerklSupplyReward {
|
|
289
317
|
__typename
|
|
290
318
|
id
|
|
291
319
|
startDate
|
|
@@ -300,7 +328,7 @@
|
|
|
300
328
|
...MerklCriteria
|
|
301
329
|
}
|
|
302
330
|
userEligible
|
|
303
|
-
}`,[a,
|
|
331
|
+
}`,[a,s,E]),ft=e(`fragment MerklBorrowReward on MerklBorrowReward {
|
|
304
332
|
__typename
|
|
305
333
|
id
|
|
306
334
|
startDate
|
|
@@ -315,7 +343,35 @@
|
|
|
315
343
|
...MerklCriteria
|
|
316
344
|
}
|
|
317
345
|
userEligible
|
|
318
|
-
}`,[a,
|
|
346
|
+
}`,[a,s,E]),wt=e(`fragment SupplyPoints on SupplyPointsReward {
|
|
347
|
+
__typename
|
|
348
|
+
id
|
|
349
|
+
program {
|
|
350
|
+
...PointsProgram
|
|
351
|
+
}
|
|
352
|
+
name
|
|
353
|
+
startDate
|
|
354
|
+
endDate
|
|
355
|
+
multiplier
|
|
356
|
+
criteria {
|
|
357
|
+
...PointsCriteria
|
|
358
|
+
}
|
|
359
|
+
userEligible
|
|
360
|
+
}`,[O,U]),qt=e(`fragment BorrowPoints on BorrowPointsReward {
|
|
361
|
+
__typename
|
|
362
|
+
id
|
|
363
|
+
program {
|
|
364
|
+
...PointsProgram
|
|
365
|
+
}
|
|
366
|
+
name
|
|
367
|
+
startDate
|
|
368
|
+
endDate
|
|
369
|
+
multiplier
|
|
370
|
+
criteria {
|
|
371
|
+
...PointsCriteria
|
|
372
|
+
}
|
|
373
|
+
userEligible
|
|
374
|
+
}`,[O,U]),pe=e(`fragment Reward on Reward {
|
|
319
375
|
__typename
|
|
320
376
|
... on MerklSupplyReward {
|
|
321
377
|
...MerklSupplyReward
|
|
@@ -323,7 +379,13 @@
|
|
|
323
379
|
... on MerklBorrowReward {
|
|
324
380
|
...MerklBorrowReward
|
|
325
381
|
}
|
|
326
|
-
|
|
382
|
+
... on SupplyPointsReward {
|
|
383
|
+
...SupplyPoints
|
|
384
|
+
}
|
|
385
|
+
... on BorrowPointsReward {
|
|
386
|
+
...BorrowPoints
|
|
387
|
+
}
|
|
388
|
+
}`,[Rt,ft,wt,qt]),xt=e(`fragment UserMerklClaimableReward on UserMerklClaimableReward {
|
|
327
389
|
__typename
|
|
328
390
|
id
|
|
329
391
|
claimable {
|
|
@@ -332,12 +394,12 @@
|
|
|
332
394
|
startDate
|
|
333
395
|
endDate
|
|
334
396
|
claimUntil
|
|
335
|
-
}`,[
|
|
397
|
+
}`,[u]),se=e(`fragment UserClaimableReward on UserClaimableReward {
|
|
336
398
|
__typename
|
|
337
399
|
... on UserMerklClaimableReward {
|
|
338
400
|
...UserMerklClaimableReward
|
|
339
401
|
}
|
|
340
|
-
}`,[
|
|
402
|
+
}`,[xt]);var l=e(`fragment Spoke on Spoke {
|
|
341
403
|
__typename
|
|
342
404
|
id
|
|
343
405
|
name
|
|
@@ -345,12 +407,12 @@
|
|
|
345
407
|
chain {
|
|
346
408
|
...Chain
|
|
347
409
|
}
|
|
348
|
-
}`,[
|
|
410
|
+
}`,[o]),Pt=e(`fragment SpokePositionManager on SpokePositionManager {
|
|
349
411
|
__typename
|
|
350
412
|
address
|
|
351
413
|
active
|
|
352
414
|
name
|
|
353
|
-
}`),
|
|
415
|
+
}`),ie=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
354
416
|
__typename
|
|
355
417
|
items {
|
|
356
418
|
...SpokePositionManager
|
|
@@ -358,13 +420,13 @@
|
|
|
358
420
|
pageInfo {
|
|
359
421
|
...PaginatedResultInfo
|
|
360
422
|
}
|
|
361
|
-
}`,[
|
|
423
|
+
}`,[Pt,R]),ht=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
362
424
|
__typename
|
|
363
425
|
address
|
|
364
426
|
approvedOn
|
|
365
427
|
active
|
|
366
428
|
name
|
|
367
|
-
}`),
|
|
429
|
+
}`),ue=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
368
430
|
__typename
|
|
369
431
|
items {
|
|
370
432
|
...SpokeUserPositionManager
|
|
@@ -372,7 +434,7 @@
|
|
|
372
434
|
pageInfo {
|
|
373
435
|
...PaginatedResultInfo
|
|
374
436
|
}
|
|
375
|
-
}`,[
|
|
437
|
+
}`,[ht,R]);var Ft=e(`fragment ReserveSettings on ReserveSettings {
|
|
376
438
|
__typename
|
|
377
439
|
collateralFactor {
|
|
378
440
|
...PercentNumber
|
|
@@ -391,12 +453,18 @@
|
|
|
391
453
|
suppliable
|
|
392
454
|
receiveSharesEnabled
|
|
393
455
|
latestDynamicConfigKey
|
|
394
|
-
|
|
456
|
+
borrowCap {
|
|
457
|
+
...Erc20Amount
|
|
458
|
+
}
|
|
459
|
+
supplyCap {
|
|
460
|
+
...Erc20Amount
|
|
461
|
+
}
|
|
462
|
+
}`,[a,u]),At=e(`fragment ReserveStatus on ReserveStatus {
|
|
395
463
|
__typename
|
|
396
464
|
frozen
|
|
397
465
|
paused
|
|
398
466
|
active
|
|
399
|
-
}`),
|
|
467
|
+
}`),bt=e(`fragment ReserveSummary on ReserveSummary {
|
|
400
468
|
__typename
|
|
401
469
|
supplied {
|
|
402
470
|
...Erc20Amount
|
|
@@ -413,7 +481,7 @@
|
|
|
413
481
|
rewards {
|
|
414
482
|
...Reward
|
|
415
483
|
}
|
|
416
|
-
}`,[
|
|
484
|
+
}`,[u,a,pe]),It=e(`fragment ReserveUserState on ReserveUserState {
|
|
417
485
|
__typename
|
|
418
486
|
balance {
|
|
419
487
|
...Erc20Amount
|
|
@@ -437,15 +505,13 @@
|
|
|
437
505
|
...PercentNumber
|
|
438
506
|
}
|
|
439
507
|
dynamicConfigKey
|
|
440
|
-
}`,[
|
|
508
|
+
}`,[u,a]),I=e(`fragment Reserve on Reserve {
|
|
441
509
|
__typename
|
|
442
510
|
id
|
|
443
511
|
onChainId
|
|
444
512
|
spoke {
|
|
445
513
|
...Spoke
|
|
446
514
|
}
|
|
447
|
-
borrowCap
|
|
448
|
-
supplyCap
|
|
449
515
|
chain {
|
|
450
516
|
...Chain
|
|
451
517
|
}
|
|
@@ -468,13 +534,13 @@
|
|
|
468
534
|
asset {
|
|
469
535
|
...HubAsset
|
|
470
536
|
}
|
|
471
|
-
}`,[
|
|
537
|
+
}`,[l,o,bt,Ft,At,It,C]),c=e(`fragment ReserveInfo on ReserveInfo {
|
|
472
538
|
__typename
|
|
473
539
|
id
|
|
474
540
|
asset {
|
|
475
541
|
...HubAsset
|
|
476
542
|
}
|
|
477
|
-
}`,[C]);var
|
|
543
|
+
}`,[C]);var p=e(`fragment TransactionRequest on TransactionRequest {
|
|
478
544
|
__typename
|
|
479
545
|
to
|
|
480
546
|
from
|
|
@@ -482,7 +548,7 @@
|
|
|
482
548
|
value
|
|
483
549
|
chainId
|
|
484
550
|
operations
|
|
485
|
-
}`),
|
|
551
|
+
}`),K=e(`fragment Erc20Approval on Erc20Approval {
|
|
486
552
|
__typename
|
|
487
553
|
byTransaction {
|
|
488
554
|
...TransactionRequest
|
|
@@ -490,7 +556,7 @@
|
|
|
490
556
|
bySignature {
|
|
491
557
|
...PermitTypedData
|
|
492
558
|
}
|
|
493
|
-
}`,[
|
|
559
|
+
}`,[p,oe]),_=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
494
560
|
__typename
|
|
495
561
|
approvals {
|
|
496
562
|
...Erc20Approval
|
|
@@ -505,7 +571,7 @@
|
|
|
505
571
|
originalTransaction {
|
|
506
572
|
...TransactionRequest
|
|
507
573
|
}
|
|
508
|
-
}`,[
|
|
574
|
+
}`,[p,K,y]),Tt=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
509
575
|
__typename
|
|
510
576
|
transaction {
|
|
511
577
|
...TransactionRequest
|
|
@@ -514,7 +580,7 @@
|
|
|
514
580
|
originalTransaction {
|
|
515
581
|
...TransactionRequest
|
|
516
582
|
}
|
|
517
|
-
}`,[
|
|
583
|
+
}`,[p]),B=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
518
584
|
__typename
|
|
519
585
|
... on TransactionRequest {
|
|
520
586
|
...TransactionRequest
|
|
@@ -528,7 +594,7 @@
|
|
|
528
594
|
... on InsufficientBalanceError {
|
|
529
595
|
...InsufficientBalanceError
|
|
530
596
|
}
|
|
531
|
-
}`,[
|
|
597
|
+
}`,[p,_,Tt,f]);var kt=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
532
598
|
__typename
|
|
533
599
|
networkCosts {
|
|
534
600
|
...TokenAmount
|
|
@@ -542,7 +608,7 @@
|
|
|
542
608
|
providerFee {
|
|
543
609
|
...TokenAmount
|
|
544
610
|
}
|
|
545
|
-
}`,[S]),
|
|
611
|
+
}`,[S]),V=e(`fragment SwapQuote on SwapQuote {
|
|
546
612
|
__typename
|
|
547
613
|
accuracy
|
|
548
614
|
quoteId
|
|
@@ -567,7 +633,7 @@
|
|
|
567
633
|
finalSell {
|
|
568
634
|
...TokenAmount
|
|
569
635
|
}
|
|
570
|
-
}`,[a,S,
|
|
636
|
+
}`,[a,S,kt]),M=e(`fragment SwapTypedData on SwapTypedData {
|
|
571
637
|
__typename
|
|
572
638
|
primaryType
|
|
573
639
|
types
|
|
@@ -575,19 +641,19 @@
|
|
|
575
641
|
...DomainData
|
|
576
642
|
}
|
|
577
643
|
message
|
|
578
|
-
}`,[
|
|
644
|
+
}`,[W]),me=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
579
645
|
__typename
|
|
580
646
|
newQuoteId
|
|
581
647
|
data {
|
|
582
648
|
...SwapTypedData
|
|
583
649
|
}
|
|
584
|
-
}`,[
|
|
650
|
+
}`,[M]),vt=e(`fragment SwapByIntent on SwapByIntent {
|
|
585
651
|
__typename
|
|
586
652
|
quote {
|
|
587
653
|
...SwapQuote
|
|
588
654
|
}
|
|
589
655
|
|
|
590
|
-
}`,[
|
|
656
|
+
}`,[V]),Ct=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
591
657
|
__typename
|
|
592
658
|
approvals {
|
|
593
659
|
...Erc20Approval
|
|
@@ -595,16 +661,16 @@
|
|
|
595
661
|
quote {
|
|
596
662
|
...SwapQuote
|
|
597
663
|
}
|
|
598
|
-
}`,[
|
|
664
|
+
}`,[K,V]),Et=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
599
665
|
__typename
|
|
600
666
|
quote {
|
|
601
667
|
...SwapQuote
|
|
602
668
|
}
|
|
603
|
-
}`,[
|
|
669
|
+
}`,[V]),le=e(`fragment SwapReceipt on SwapReceipt {
|
|
604
670
|
__typename
|
|
605
671
|
id
|
|
606
672
|
createdAt
|
|
607
|
-
}`),
|
|
673
|
+
}`),ye=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
608
674
|
__typename
|
|
609
675
|
... on SwapByIntent {
|
|
610
676
|
...SwapByIntent
|
|
@@ -618,7 +684,7 @@
|
|
|
618
684
|
... on InsufficientLiquidityError {
|
|
619
685
|
...InsufficientLiquidityError
|
|
620
686
|
}
|
|
621
|
-
}`,[
|
|
687
|
+
}`,[vt,Ct,Et,b]),ce=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
622
688
|
__typename
|
|
623
689
|
... on PrepareSwapOrder {
|
|
624
690
|
...PrepareSwapOrder
|
|
@@ -626,7 +692,7 @@
|
|
|
626
692
|
... on InsufficientBalanceError {
|
|
627
693
|
...InsufficientBalanceError
|
|
628
694
|
}
|
|
629
|
-
}`,[
|
|
695
|
+
}`,[me,f]),Ut=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
630
696
|
__typename
|
|
631
697
|
transaction {
|
|
632
698
|
...TransactionRequest
|
|
@@ -634,7 +700,7 @@
|
|
|
634
700
|
orderReceipt {
|
|
635
701
|
...SwapReceipt
|
|
636
702
|
}
|
|
637
|
-
}`,[
|
|
703
|
+
}`,[p,le]),ge=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
638
704
|
__typename
|
|
639
705
|
... on SwapTransactionRequest {
|
|
640
706
|
...SwapTransactionRequest
|
|
@@ -645,7 +711,7 @@
|
|
|
645
711
|
... on InsufficientBalanceError {
|
|
646
712
|
...InsufficientBalanceError
|
|
647
713
|
}
|
|
648
|
-
}`,[
|
|
714
|
+
}`,[Ut,le,f]),x=e(`fragment PositionAmount on PositionAmount {
|
|
649
715
|
__typename
|
|
650
716
|
reserve {
|
|
651
717
|
...ReserveInfo
|
|
@@ -653,7 +719,7 @@
|
|
|
653
719
|
amount {
|
|
654
720
|
...Erc20Amount
|
|
655
721
|
}
|
|
656
|
-
}`,[
|
|
722
|
+
}`,[c,u]),Ot=e(`fragment SupplySwap on SupplySwap {
|
|
657
723
|
__typename
|
|
658
724
|
sell {
|
|
659
725
|
...PositionAmount
|
|
@@ -663,7 +729,7 @@
|
|
|
663
729
|
}
|
|
664
730
|
kind
|
|
665
731
|
orderClass
|
|
666
|
-
}`,[
|
|
732
|
+
}`,[x]),_t=e(`fragment BorrowSwap on BorrowSwap {
|
|
667
733
|
__typename
|
|
668
734
|
sell {
|
|
669
735
|
...PositionAmount
|
|
@@ -673,7 +739,7 @@
|
|
|
673
739
|
}
|
|
674
740
|
kind
|
|
675
741
|
orderClass
|
|
676
|
-
}`,[
|
|
742
|
+
}`,[x]),Bt=e(`fragment RepayWithSupply on RepayWithSupply {
|
|
677
743
|
__typename
|
|
678
744
|
repay {
|
|
679
745
|
...PositionAmount
|
|
@@ -683,7 +749,7 @@
|
|
|
683
749
|
}
|
|
684
750
|
kind
|
|
685
751
|
orderClass
|
|
686
|
-
}`,[
|
|
752
|
+
}`,[x]),Qt=e(`fragment WithdrawSwap on WithdrawSwap {
|
|
687
753
|
__typename
|
|
688
754
|
withdraw {
|
|
689
755
|
...PositionAmount
|
|
@@ -693,7 +759,7 @@
|
|
|
693
759
|
}
|
|
694
760
|
kind
|
|
695
761
|
orderClass
|
|
696
|
-
}`,[
|
|
762
|
+
}`,[x,S]),Ht=e(`fragment TokenSwap on TokenSwap {
|
|
697
763
|
__typename
|
|
698
764
|
sell {
|
|
699
765
|
...TokenAmount
|
|
@@ -703,7 +769,7 @@
|
|
|
703
769
|
}
|
|
704
770
|
kind
|
|
705
771
|
orderClass
|
|
706
|
-
}`,[S]),
|
|
772
|
+
}`,[S]),Q=e(`fragment SwapOperation on SwapOperation {
|
|
707
773
|
__typename
|
|
708
774
|
... on SupplySwap {
|
|
709
775
|
...SupplySwap
|
|
@@ -720,7 +786,7 @@
|
|
|
720
786
|
... on TokenSwap {
|
|
721
787
|
...TokenSwap
|
|
722
788
|
}
|
|
723
|
-
}`,[
|
|
789
|
+
}`,[Ot,_t,Bt,Qt,Ht]),Wt=e(`fragment SwapCancelled on SwapCancelled {
|
|
724
790
|
__typename
|
|
725
791
|
swapId
|
|
726
792
|
createdAt
|
|
@@ -729,7 +795,7 @@
|
|
|
729
795
|
operation {
|
|
730
796
|
...SwapOperation
|
|
731
797
|
}
|
|
732
|
-
}`,[
|
|
798
|
+
}`,[Q]),Vt=e(`fragment SwapExpired on SwapExpired {
|
|
733
799
|
__typename
|
|
734
800
|
swapId
|
|
735
801
|
createdAt
|
|
@@ -738,7 +804,7 @@
|
|
|
738
804
|
operation {
|
|
739
805
|
...SwapOperation
|
|
740
806
|
}
|
|
741
|
-
}`,[
|
|
807
|
+
}`,[Q]),Mt=e(`fragment SwapOpen on SwapOpen {
|
|
742
808
|
__typename
|
|
743
809
|
swapId
|
|
744
810
|
createdAt
|
|
@@ -747,7 +813,7 @@
|
|
|
747
813
|
operation {
|
|
748
814
|
...SwapOperation
|
|
749
815
|
}
|
|
750
|
-
}`,[
|
|
816
|
+
}`,[Q]),$t=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
751
817
|
__typename
|
|
752
818
|
swapId
|
|
753
819
|
createdAt
|
|
@@ -756,7 +822,7 @@
|
|
|
756
822
|
operation {
|
|
757
823
|
...SwapOperation
|
|
758
824
|
}
|
|
759
|
-
}`,[
|
|
825
|
+
}`,[Q]),Nt=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
760
826
|
__typename
|
|
761
827
|
swapId
|
|
762
828
|
txHash
|
|
@@ -767,7 +833,7 @@
|
|
|
767
833
|
operation {
|
|
768
834
|
...SwapOperation
|
|
769
835
|
}
|
|
770
|
-
}`,[
|
|
836
|
+
}`,[Q]),Y=e(`fragment SwapStatus on SwapStatus {
|
|
771
837
|
__typename
|
|
772
838
|
... on SwapOpen {
|
|
773
839
|
...SwapOpen
|
|
@@ -784,18 +850,18 @@
|
|
|
784
850
|
... on SwapFulfilled {
|
|
785
851
|
...SwapFulfilled
|
|
786
852
|
}
|
|
787
|
-
}`,[
|
|
853
|
+
}`,[Mt,$t,Wt,Vt,Nt]),de=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
788
854
|
__typename
|
|
789
855
|
data {
|
|
790
856
|
...SwapTypedData
|
|
791
857
|
}
|
|
792
|
-
}`,[
|
|
858
|
+
}`,[M]),Dt=e(`fragment SwapCancelledResult on SwapCancelledResult {
|
|
793
859
|
__typename
|
|
794
860
|
swapId
|
|
795
861
|
createdAt
|
|
796
862
|
cancelledAt
|
|
797
863
|
explorerUrl
|
|
798
|
-
}`),
|
|
864
|
+
}`),Se=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
799
865
|
__typename
|
|
800
866
|
... on TransactionRequest {
|
|
801
867
|
...TransactionRequest
|
|
@@ -803,7 +869,7 @@
|
|
|
803
869
|
... on SwapCancelledResult {
|
|
804
870
|
...SwapCancelledResult
|
|
805
871
|
}
|
|
806
|
-
}`,[
|
|
872
|
+
}`,[p,Dt]),Re=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
807
873
|
__typename
|
|
808
874
|
items {
|
|
809
875
|
...SwapStatus
|
|
@@ -811,12 +877,12 @@
|
|
|
811
877
|
pageInfo {
|
|
812
878
|
...PaginatedResultInfo
|
|
813
879
|
}
|
|
814
|
-
}`,[
|
|
880
|
+
}`,[Y,R]),Lt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
815
881
|
__typename
|
|
816
882
|
bySignature {
|
|
817
883
|
...SwapTypedData
|
|
818
884
|
}
|
|
819
|
-
}`,[
|
|
885
|
+
}`,[M]),Gt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
820
886
|
__typename
|
|
821
887
|
byTransaction {
|
|
822
888
|
...TransactionRequest
|
|
@@ -824,7 +890,7 @@
|
|
|
824
890
|
bySignature {
|
|
825
891
|
...SwapTypedData
|
|
826
892
|
}
|
|
827
|
-
}`,[
|
|
893
|
+
}`,[p,M]),Kt=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
828
894
|
__typename
|
|
829
895
|
... on PositionSwapAdapterContractApproval {
|
|
830
896
|
...PositionSwapAdapterContractApproval
|
|
@@ -832,7 +898,7 @@
|
|
|
832
898
|
... on PositionSwapPositionManagerApproval {
|
|
833
899
|
...PositionSwapPositionManagerApproval
|
|
834
900
|
}
|
|
835
|
-
}`,[
|
|
901
|
+
}`,[Lt,Gt]),$=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
836
902
|
__typename
|
|
837
903
|
quote {
|
|
838
904
|
...SwapQuote
|
|
@@ -840,7 +906,7 @@
|
|
|
840
906
|
approvals {
|
|
841
907
|
...PositionSwapApproval
|
|
842
908
|
}
|
|
843
|
-
}`,[
|
|
909
|
+
}`,[V,Kt]),fe=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
844
910
|
__typename
|
|
845
911
|
... on PositionSwapByIntentApprovalsRequired {
|
|
846
912
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -848,7 +914,7 @@
|
|
|
848
914
|
... on InsufficientLiquidityError {
|
|
849
915
|
...InsufficientLiquidityError
|
|
850
916
|
}
|
|
851
|
-
}`,[
|
|
917
|
+
}`,[$,b]),we=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
852
918
|
__typename
|
|
853
919
|
... on PositionSwapByIntentApprovalsRequired {
|
|
854
920
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -856,7 +922,7 @@
|
|
|
856
922
|
... on InsufficientLiquidityError {
|
|
857
923
|
...InsufficientLiquidityError
|
|
858
924
|
}
|
|
859
|
-
}`,[
|
|
925
|
+
}`,[$,b]),qe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
860
926
|
__typename
|
|
861
927
|
... on PositionSwapByIntentApprovalsRequired {
|
|
862
928
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -864,7 +930,7 @@
|
|
|
864
930
|
... on InsufficientLiquidityError {
|
|
865
931
|
...InsufficientLiquidityError
|
|
866
932
|
}
|
|
867
|
-
}`,[
|
|
933
|
+
}`,[$,b]),xe=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
868
934
|
__typename
|
|
869
935
|
... on PositionSwapByIntentApprovalsRequired {
|
|
870
936
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -872,7 +938,7 @@
|
|
|
872
938
|
... on InsufficientLiquidityError {
|
|
873
939
|
...InsufficientLiquidityError
|
|
874
940
|
}
|
|
875
|
-
}`,[
|
|
941
|
+
}`,[$,b]),Pe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
876
942
|
__typename
|
|
877
943
|
... on PrepareSwapOrder {
|
|
878
944
|
...PrepareSwapOrder
|
|
@@ -880,7 +946,7 @@
|
|
|
880
946
|
... on InsufficientBalanceError {
|
|
881
947
|
...InsufficientBalanceError
|
|
882
948
|
}
|
|
883
|
-
}`,[
|
|
949
|
+
}`,[me,f]);var he=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
884
950
|
__typename
|
|
885
951
|
id
|
|
886
952
|
reserve {
|
|
@@ -897,7 +963,7 @@
|
|
|
897
963
|
}
|
|
898
964
|
isCollateral
|
|
899
965
|
createdAt
|
|
900
|
-
}`,[
|
|
966
|
+
}`,[u,I]),Fe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
901
967
|
__typename
|
|
902
968
|
id
|
|
903
969
|
principal {
|
|
@@ -913,7 +979,7 @@
|
|
|
913
979
|
...Reserve
|
|
914
980
|
}
|
|
915
981
|
createdAt
|
|
916
|
-
}`,[
|
|
982
|
+
}`,[u,I]),Ae=e(`fragment UserSummary on UserSummary {
|
|
917
983
|
__typename
|
|
918
984
|
totalPositions
|
|
919
985
|
netBalance(currency: $currency) {
|
|
@@ -935,7 +1001,7 @@
|
|
|
935
1001
|
...ExchangeAmount
|
|
936
1002
|
}
|
|
937
1003
|
lowestHealthFactor
|
|
938
|
-
}`,[
|
|
1004
|
+
}`,[h,m,a]),be=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
939
1005
|
__typename
|
|
940
1006
|
token {
|
|
941
1007
|
...Erc20Token
|
|
@@ -949,7 +1015,7 @@
|
|
|
949
1015
|
collateral {
|
|
950
1016
|
...PercentNumber
|
|
951
1017
|
}
|
|
952
|
-
}`,[
|
|
1018
|
+
}`,[s,a]),Yt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
953
1019
|
__typename
|
|
954
1020
|
current {
|
|
955
1021
|
...PercentNumber
|
|
@@ -957,7 +1023,7 @@
|
|
|
957
1023
|
latest {
|
|
958
1024
|
...PercentNumber
|
|
959
1025
|
}
|
|
960
|
-
}`,[a]),
|
|
1026
|
+
}`,[a]),z=e(`fragment UserPosition on UserPosition {
|
|
961
1027
|
__typename
|
|
962
1028
|
id
|
|
963
1029
|
spoke {
|
|
@@ -1011,7 +1077,7 @@
|
|
|
1011
1077
|
averageCollateralFactor {
|
|
1012
1078
|
...PercentNumber
|
|
1013
1079
|
}
|
|
1014
|
-
}`,[
|
|
1080
|
+
}`,[l,a,h,m,ee,ae,Yt]),Ie=e(`fragment UserBalance on UserBalance {
|
|
1015
1081
|
__typename
|
|
1016
1082
|
id
|
|
1017
1083
|
info {
|
|
@@ -1044,7 +1110,7 @@
|
|
|
1044
1110
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
1045
1111
|
...PercentNumber
|
|
1046
1112
|
}
|
|
1047
|
-
}`,[
|
|
1113
|
+
}`,[v,y,S,m,a]),Te=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
1048
1114
|
__typename
|
|
1049
1115
|
netBalance(currency: $currency) {
|
|
1050
1116
|
...ExchangeAmount
|
|
@@ -1057,25 +1123,211 @@
|
|
|
1057
1123
|
}
|
|
1058
1124
|
healthFactor
|
|
1059
1125
|
date
|
|
1060
|
-
}`,[
|
|
1126
|
+
}`,[m]),Z=e(`fragment ApySample on ApySample {
|
|
1061
1127
|
__typename
|
|
1062
1128
|
date
|
|
1063
1129
|
avgRate {
|
|
1064
1130
|
...PercentNumber
|
|
1065
1131
|
}
|
|
1066
|
-
}`,[a]);var
|
|
1132
|
+
}`,[a]);var zt=e(`fragment BoostedRate on BoostedRate {
|
|
1133
|
+
__typename
|
|
1134
|
+
id
|
|
1135
|
+
name
|
|
1136
|
+
userCount
|
|
1137
|
+
apy {
|
|
1138
|
+
...PercentNumber
|
|
1139
|
+
}
|
|
1140
|
+
}`,[a]),Zt=e(`fragment StableVaultSummary on StableVaultSummary {
|
|
1141
|
+
__typename
|
|
1142
|
+
shares
|
|
1143
|
+
userCount
|
|
1144
|
+
totalDeposits
|
|
1145
|
+
}`),jt=e(`fragment StableVaultRates on StableVaultRates {
|
|
1146
|
+
__typename
|
|
1147
|
+
baseRate {
|
|
1148
|
+
...PercentNumber
|
|
1149
|
+
}
|
|
1150
|
+
name
|
|
1151
|
+
boostedRates {
|
|
1152
|
+
...BoostedRate
|
|
1153
|
+
}
|
|
1154
|
+
}`,[a,zt]),N=e(`fragment StableVault on StableVault {
|
|
1155
|
+
__typename
|
|
1156
|
+
id
|
|
1157
|
+
name
|
|
1158
|
+
address
|
|
1159
|
+
admin
|
|
1160
|
+
chain {
|
|
1161
|
+
...Chain
|
|
1162
|
+
}
|
|
1163
|
+
summary {
|
|
1164
|
+
...StableVaultSummary
|
|
1165
|
+
}
|
|
1166
|
+
rates {
|
|
1167
|
+
...StableVaultRates
|
|
1168
|
+
}
|
|
1169
|
+
}`,[o,Zt,jt]),ke=e(`fragment StableVaultUserPosition on StableVaultUserPosition {
|
|
1170
|
+
__typename
|
|
1171
|
+
id
|
|
1172
|
+
vault {
|
|
1173
|
+
...StableVault
|
|
1174
|
+
}
|
|
1175
|
+
user
|
|
1176
|
+
principal {
|
|
1177
|
+
...DecimalNumber
|
|
1178
|
+
}
|
|
1179
|
+
interests {
|
|
1180
|
+
...DecimalNumber
|
|
1181
|
+
}
|
|
1182
|
+
shares {
|
|
1183
|
+
...DecimalNumber
|
|
1184
|
+
}
|
|
1185
|
+
totalBalance {
|
|
1186
|
+
...DecimalNumber
|
|
1187
|
+
}
|
|
1188
|
+
apy {
|
|
1189
|
+
...PercentNumber
|
|
1190
|
+
}
|
|
1191
|
+
boostedRateId
|
|
1192
|
+
}`,[N,y,a]),Jt=e(`fragment TokenMovementAllocate on TokenMovementAllocate {
|
|
1193
|
+
__typename
|
|
1194
|
+
token {
|
|
1195
|
+
...Erc20Token
|
|
1196
|
+
}
|
|
1197
|
+
amount
|
|
1198
|
+
}`,[s]),Xt=e(`fragment TokenMovementBridgeIn on TokenMovementBridgeIn {
|
|
1199
|
+
__typename
|
|
1200
|
+
fromToken {
|
|
1201
|
+
...Erc20Token
|
|
1202
|
+
}
|
|
1203
|
+
toToken {
|
|
1204
|
+
...Erc20Token
|
|
1205
|
+
}
|
|
1206
|
+
amount
|
|
1207
|
+
}`,[s]),er=e(`fragment TokenMovementBridgeOut on TokenMovementBridgeOut {
|
|
1208
|
+
__typename
|
|
1209
|
+
fromToken {
|
|
1210
|
+
...Erc20Token
|
|
1211
|
+
}
|
|
1212
|
+
toToken {
|
|
1213
|
+
...Erc20Token
|
|
1214
|
+
}
|
|
1215
|
+
amount
|
|
1216
|
+
}`,[s]),tr=e(`fragment TokenMovementDeallocate on TokenMovementDeallocate {
|
|
1217
|
+
__typename
|
|
1218
|
+
token {
|
|
1219
|
+
...Erc20Token
|
|
1220
|
+
}
|
|
1221
|
+
amount
|
|
1222
|
+
}`,[s]),rr=e(`fragment TokenMovementRebalance on TokenMovementRebalance {
|
|
1223
|
+
__typename
|
|
1224
|
+
token {
|
|
1225
|
+
...Erc20Token
|
|
1226
|
+
}
|
|
1227
|
+
amount
|
|
1228
|
+
}`,[s]),ar=e(`fragment TokenMovementSwap on TokenMovementSwap {
|
|
1229
|
+
__typename
|
|
1230
|
+
fromToken {
|
|
1231
|
+
...Erc20Token
|
|
1232
|
+
}
|
|
1233
|
+
fromAmount
|
|
1234
|
+
toToken {
|
|
1235
|
+
...Erc20Token
|
|
1236
|
+
}
|
|
1237
|
+
toAmount
|
|
1238
|
+
}`,[s]),nr=e(`fragment TokenMovement on TokenMovement {
|
|
1239
|
+
__typename
|
|
1240
|
+
... on TokenMovementAllocate {
|
|
1241
|
+
...TokenMovementAllocate
|
|
1242
|
+
}
|
|
1243
|
+
... on TokenMovementBridgeIn {
|
|
1244
|
+
...TokenMovementBridgeIn
|
|
1245
|
+
}
|
|
1246
|
+
... on TokenMovementBridgeOut {
|
|
1247
|
+
...TokenMovementBridgeOut
|
|
1248
|
+
}
|
|
1249
|
+
... on TokenMovementDeallocate {
|
|
1250
|
+
...TokenMovementDeallocate
|
|
1251
|
+
}
|
|
1252
|
+
... on TokenMovementSwap {
|
|
1253
|
+
...TokenMovementSwap
|
|
1254
|
+
}
|
|
1255
|
+
... on TokenMovementRebalance {
|
|
1256
|
+
...TokenMovementRebalance
|
|
1257
|
+
}
|
|
1258
|
+
}`,[Jt,Xt,er,tr,ar,rr]),or=e(`fragment TokenMovementRecord on TokenMovementRecord {
|
|
1259
|
+
__typename
|
|
1260
|
+
id
|
|
1261
|
+
type {
|
|
1262
|
+
...TokenMovement
|
|
1263
|
+
}
|
|
1264
|
+
status
|
|
1265
|
+
timestamp
|
|
1266
|
+
txHash
|
|
1267
|
+
}`,[nr]),ve=e(`fragment PaginatedStableVaultMovementsResult on PaginatedStableVaultMovementsResult {
|
|
1268
|
+
__typename
|
|
1269
|
+
items {
|
|
1270
|
+
...TokenMovementRecord
|
|
1271
|
+
}
|
|
1272
|
+
pageInfo {
|
|
1273
|
+
...PaginatedResultInfo
|
|
1274
|
+
}
|
|
1275
|
+
}`,[or,R]),Ce=e(`fragment PaginatedStableVaultRateUsersResult on PaginatedStableVaultRateUsersResult {
|
|
1276
|
+
__typename
|
|
1277
|
+
items
|
|
1278
|
+
pageInfo {
|
|
1279
|
+
...PaginatedResultInfo
|
|
1280
|
+
}
|
|
1281
|
+
}`,[R]),pr=e(`fragment StableVaultWithdrawClaim on StableVaultWithdrawClaim {
|
|
1282
|
+
__typename
|
|
1283
|
+
claimId
|
|
1284
|
+
transaction {
|
|
1285
|
+
...TransactionRequest
|
|
1286
|
+
}
|
|
1287
|
+
executableAfter
|
|
1288
|
+
}`,[p]),sr=e(`fragment StableVaultPendingAvailability on StableVaultPendingAvailability {
|
|
1289
|
+
__typename
|
|
1290
|
+
executableAfter
|
|
1291
|
+
}`),Ee=e(`fragment StableVaultDepositExecutionPlan on StableVaultDepositExecutionPlan {
|
|
1292
|
+
__typename
|
|
1293
|
+
... on TransactionRequest {
|
|
1294
|
+
...TransactionRequest
|
|
1295
|
+
}
|
|
1296
|
+
... on Erc20ApprovalRequired {
|
|
1297
|
+
...Erc20ApprovalRequired
|
|
1298
|
+
}
|
|
1299
|
+
... on InsufficientBalanceError {
|
|
1300
|
+
...InsufficientBalanceError
|
|
1301
|
+
}
|
|
1302
|
+
}`,[p,_,f]),Ue=e(`fragment StableVaultWithdrawExecutionPlan on StableVaultWithdrawExecutionPlan {
|
|
1303
|
+
__typename
|
|
1304
|
+
... on TransactionRequest {
|
|
1305
|
+
...TransactionRequest
|
|
1306
|
+
}
|
|
1307
|
+
... on StableVaultWithdrawClaim {
|
|
1308
|
+
...StableVaultWithdrawClaim
|
|
1309
|
+
}
|
|
1310
|
+
}`,[p,pr]),Oe=e(`fragment StableVaultWithdrawRedeemExecutionPlan on StableVaultWithdrawRedeemExecutionPlan {
|
|
1311
|
+
__typename
|
|
1312
|
+
... on TransactionRequest {
|
|
1313
|
+
...TransactionRequest
|
|
1314
|
+
}
|
|
1315
|
+
... on StableVaultPendingAvailability {
|
|
1316
|
+
...StableVaultPendingAvailability
|
|
1317
|
+
}
|
|
1318
|
+
}`,[p,sr]);var $a=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1067
1319
|
value: hub(request: $request) {
|
|
1068
1320
|
...Hub
|
|
1069
1321
|
}
|
|
1070
|
-
}`,[F]),
|
|
1322
|
+
}`,[F]),Na=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1071
1323
|
value: hubs(request: $request) {
|
|
1072
1324
|
...Hub
|
|
1073
1325
|
}
|
|
1074
|
-
}`,[F]),
|
|
1326
|
+
}`,[F]),Da=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1075
1327
|
value: hubAssets(request: $request) {
|
|
1076
1328
|
...HubAsset
|
|
1077
1329
|
}
|
|
1078
|
-
}`,[C]),
|
|
1330
|
+
}`,[C]),ir=e(`fragment HubSummarySample on HubSummarySample {
|
|
1079
1331
|
__typename
|
|
1080
1332
|
date
|
|
1081
1333
|
deposits {
|
|
@@ -1090,31 +1342,51 @@
|
|
|
1090
1342
|
utilizationRate {
|
|
1091
1343
|
...PercentNumber
|
|
1092
1344
|
}
|
|
1093
|
-
}`,[
|
|
1345
|
+
}`,[m,a]),La=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
1094
1346
|
value: hubSummaryHistory(request: $request) {
|
|
1095
1347
|
...HubSummarySample
|
|
1096
1348
|
}
|
|
1097
|
-
}`,[
|
|
1349
|
+
}`,[ir]),ur=e(`fragment HubAssetInterestRateModelPoint on HubAssetInterestRateModelPoint {
|
|
1350
|
+
__typename
|
|
1351
|
+
utilizationRate {
|
|
1352
|
+
...PercentNumber
|
|
1353
|
+
}
|
|
1354
|
+
borrowRate {
|
|
1355
|
+
...PercentNumber
|
|
1356
|
+
}
|
|
1357
|
+
supplyRate {
|
|
1358
|
+
...PercentNumber
|
|
1359
|
+
}
|
|
1360
|
+
liquidityDistance {
|
|
1361
|
+
...Erc20Amount
|
|
1362
|
+
}
|
|
1363
|
+
}`,[a,u]),Ga=e(`query HubAssetInterestRateModel($request: HubAssetInterestRateModelRequest!, $currency: Currency!) {
|
|
1364
|
+
value: hubAssetInterestRateModel(request: $request) {
|
|
1365
|
+
points {
|
|
1366
|
+
...HubAssetInterestRateModelPoint
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}`,[ur]);function L(t){return new TextDecoder().decode(Uint8Array.from(atob(t),q=>q.charCodeAt(0)))}function G(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var w="::";function za(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid AssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`AssetId must be valid base64: ${t}`),t}function Za(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid BoostedRateId: ${t}`),t}function mr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubId must be valid base64: ${t}`),t}function ja(t){return mr(G(`${t.chainId}${w}${t.address}`))}function Ja(t){let q=L(t),[r,n]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function Xa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubAssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubAssetId must be valid base64: ${t}`),t}function en(t){return t}function tn(t){let q=L(t),[r,n,P]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),onChainId:P}}function rn(t){return G(`${t.chainId}${w}${t.spoke}${w}${t.onChainId}`)}function lr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserPositionId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserPositionId must be valid base64: ${t}`),t}function an(t){let q=L(t),[r,n,P]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),user:types.evmAddress(P)}}function nn(t){return lr(G(`${t.chainId}${w}${t.spoke}${w}${t.user}`))}function on(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function pn(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function sn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultId: ${t}`),t}function un(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultUserPositionId: ${t}`),t}function mn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultWithdrawClaimId: ${t}`),t}function ln(t){return yr(G(`${t.chainId}${w}${t.address}`))}function yn(t){let q=L(t),[r,n]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function yr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid SpokeId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`SpokeId must be valid base64: ${t}`),t}function cn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBalanceId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBalanceId must be valid base64: ${t}`),t}function gn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBorrowItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBorrowItemId must be valid base64: ${t}`),t}function dn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserSupplyItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserSupplyItemId must be valid base64: ${t}`),t}function Sn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function Rn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenMovementId: ${t}`),t}function qn(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function xn(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function Pn(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function hn(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Fn(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function An(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var kn=e(`query Chain($request: ChainRequest!) {
|
|
1098
1370
|
value: chain(request: $request) {
|
|
1099
1371
|
...Chain
|
|
1100
1372
|
}
|
|
1101
|
-
}`,[
|
|
1373
|
+
}`,[o]),vn=e(`query Chains($request: ChainsRequest!) {
|
|
1102
1374
|
value: chains(request: $request) {
|
|
1103
1375
|
...Chain
|
|
1104
1376
|
}
|
|
1105
|
-
}`,[
|
|
1377
|
+
}`,[o]),Cn=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
1106
1378
|
value: hasProcessedKnownTransaction(request: $request)
|
|
1107
|
-
}`),
|
|
1379
|
+
}`),En=e(`query Health {
|
|
1108
1380
|
value: health
|
|
1109
|
-
}`),
|
|
1381
|
+
}`),Un=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
1110
1382
|
value: exchangeRate(request: $request) {
|
|
1111
1383
|
...ExchangeAmount
|
|
1112
1384
|
}
|
|
1113
|
-
}`,[
|
|
1385
|
+
}`,[m]);var cr=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
1114
1386
|
__typename
|
|
1115
1387
|
date
|
|
1116
1388
|
price
|
|
1117
|
-
}`),
|
|
1389
|
+
}`),Be=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
|
|
1118
1390
|
__typename
|
|
1119
1391
|
amount {
|
|
1120
1392
|
...DecimalNumber
|
|
@@ -1125,7 +1397,7 @@
|
|
|
1125
1397
|
hub {
|
|
1126
1398
|
...Hub
|
|
1127
1399
|
}
|
|
1128
|
-
}`,[
|
|
1400
|
+
}`,[y,a,F]),gr=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
1129
1401
|
__typename
|
|
1130
1402
|
date
|
|
1131
1403
|
amount {
|
|
@@ -1143,7 +1415,7 @@
|
|
|
1143
1415
|
breakdown {
|
|
1144
1416
|
...AssetSampleBreakdown
|
|
1145
1417
|
}
|
|
1146
|
-
}`,[
|
|
1418
|
+
}`,[y,a,Be]),dr=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
1147
1419
|
__typename
|
|
1148
1420
|
date
|
|
1149
1421
|
amount {
|
|
@@ -1161,7 +1433,7 @@
|
|
|
1161
1433
|
breakdown {
|
|
1162
1434
|
...AssetSampleBreakdown
|
|
1163
1435
|
}
|
|
1164
|
-
}`,[
|
|
1436
|
+
}`,[y,a,Be]),Sr=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1165
1437
|
__typename
|
|
1166
1438
|
amount {
|
|
1167
1439
|
...DecimalNumberWithChange
|
|
@@ -1169,7 +1441,7 @@
|
|
|
1169
1441
|
exchange(currency: $currency) {
|
|
1170
1442
|
...ExchangeAmountWithChange
|
|
1171
1443
|
}
|
|
1172
|
-
}`,[
|
|
1444
|
+
}`,[j,h]),Rr=e(`fragment AssetSummary on AssetSummary {
|
|
1173
1445
|
__typename
|
|
1174
1446
|
totalSupplyCap {
|
|
1175
1447
|
...AssetAmountWithChange
|
|
@@ -1195,7 +1467,7 @@
|
|
|
1195
1467
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1196
1468
|
...PercentNumber
|
|
1197
1469
|
}
|
|
1198
|
-
}`,[
|
|
1470
|
+
}`,[Sr,a]),fr=e(`fragment Asset on Asset {
|
|
1199
1471
|
__typename
|
|
1200
1472
|
id
|
|
1201
1473
|
token {
|
|
@@ -1207,23 +1479,23 @@
|
|
|
1207
1479
|
price(currency: $currency) {
|
|
1208
1480
|
...ExchangeAmountWithChange
|
|
1209
1481
|
}
|
|
1210
|
-
}`,[
|
|
1482
|
+
}`,[s,Rr,h]),Qn=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1211
1483
|
value: asset(request: $request) {
|
|
1212
1484
|
...Asset
|
|
1213
1485
|
}
|
|
1214
|
-
}`,[
|
|
1486
|
+
}`,[fr]),Hn=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1215
1487
|
value: assetPriceHistory(request: $request) {
|
|
1216
1488
|
...AssetPriceSample
|
|
1217
1489
|
}
|
|
1218
|
-
}`,[
|
|
1490
|
+
}`,[cr]),Wn=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1219
1491
|
value: assetSupplyHistory(request: $request) {
|
|
1220
1492
|
...AssetSupplySample
|
|
1221
1493
|
}
|
|
1222
|
-
}`,[
|
|
1494
|
+
}`,[gr]),Vn=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1223
1495
|
value: assetBorrowHistory(request: $request) {
|
|
1224
1496
|
...AssetBorrowSample
|
|
1225
1497
|
}
|
|
1226
|
-
}`,[
|
|
1498
|
+
}`,[dr]),wr=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1227
1499
|
__typename
|
|
1228
1500
|
date
|
|
1229
1501
|
deposits {
|
|
@@ -1232,119 +1504,119 @@
|
|
|
1232
1504
|
borrows {
|
|
1233
1505
|
...ExchangeAmount
|
|
1234
1506
|
}
|
|
1235
|
-
}`,[
|
|
1507
|
+
}`,[m]),Mn=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1236
1508
|
value: protocolHistory(request: $request) {
|
|
1237
1509
|
...ProtocolHistorySample
|
|
1238
1510
|
}
|
|
1239
|
-
}`,[
|
|
1511
|
+
}`,[wr]);var Ln=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1240
1512
|
value: borrowApyHistory(request: $request) {
|
|
1241
1513
|
...ApySample
|
|
1242
1514
|
}
|
|
1243
|
-
}`,[
|
|
1515
|
+
}`,[Z]),Gn=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1244
1516
|
value: supplyApyHistory(request: $request) {
|
|
1245
1517
|
...ApySample
|
|
1246
1518
|
}
|
|
1247
|
-
}`,[
|
|
1519
|
+
}`,[Z]),Kn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1248
1520
|
value: reserve(request: $request) {
|
|
1249
1521
|
...Reserve
|
|
1250
1522
|
}
|
|
1251
|
-
}`,[
|
|
1523
|
+
}`,[I]),Yn=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1252
1524
|
value: reserves(request: $request) {
|
|
1253
1525
|
...Reserve
|
|
1254
1526
|
}
|
|
1255
|
-
}`,[
|
|
1527
|
+
}`,[I]);var Jn=e(`query ClaimRewards($request: ClaimRewardsRequest!) {
|
|
1256
1528
|
value: claimRewards(request: $request) {
|
|
1257
1529
|
...TransactionRequest
|
|
1258
1530
|
}
|
|
1259
|
-
}`,[
|
|
1531
|
+
}`,[p]),Xn=e(`query UserClaimableRewards($request: UserClaimableRewardsRequest!, $currency: Currency! = USD) {
|
|
1260
1532
|
value: userClaimableRewards(request: $request) {
|
|
1261
1533
|
...UserClaimableReward
|
|
1262
1534
|
}
|
|
1263
|
-
}`,[
|
|
1535
|
+
}`,[se]);var ao=e(`query Spoke($request: SpokeRequest!) {
|
|
1264
1536
|
value: spoke(request: $request) {
|
|
1265
1537
|
...Spoke
|
|
1266
1538
|
}
|
|
1267
|
-
}`,[
|
|
1539
|
+
}`,[l]),no=e(`query Spokes($request: SpokesRequest!) {
|
|
1268
1540
|
value: spokes(request: $request) {
|
|
1269
1541
|
...Spoke
|
|
1270
1542
|
}
|
|
1271
|
-
}`,[
|
|
1543
|
+
}`,[l]),oo=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1272
1544
|
value: spokePositionManagers(request: $request) {
|
|
1273
1545
|
...PaginatedSpokePositionManagerResult
|
|
1274
1546
|
}
|
|
1275
|
-
}`,[
|
|
1547
|
+
}`,[ie]),po=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1276
1548
|
value: spokeUserPositionManagers(request: $request) {
|
|
1277
1549
|
...PaginatedSpokeUserPositionManagerResult
|
|
1278
1550
|
}
|
|
1279
|
-
}`,[
|
|
1551
|
+
}`,[ue]);var mo=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1280
1552
|
value: tokenSwapQuote(request: $request) {
|
|
1281
1553
|
...TokenSwapQuoteResult
|
|
1282
1554
|
}
|
|
1283
|
-
}`,[
|
|
1555
|
+
}`,[ye]),lo=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1284
1556
|
value: swappableTokens(request: $request) {
|
|
1285
1557
|
...Token
|
|
1286
1558
|
}
|
|
1287
|
-
}`,[
|
|
1559
|
+
}`,[X]),yo=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1288
1560
|
value: prepareTokenSwap(request: $request) {
|
|
1289
1561
|
...PrepareTokenSwapResult
|
|
1290
1562
|
}
|
|
1291
|
-
}`,[
|
|
1563
|
+
}`,[ce]),co=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1292
1564
|
value: swapStatus(request: $request) {
|
|
1293
1565
|
...SwapStatus
|
|
1294
1566
|
}
|
|
1295
|
-
}`,[
|
|
1567
|
+
}`,[Y]),go=e(`mutation Swap($request: SwapRequest!) {
|
|
1296
1568
|
value: swap(request: $request) {
|
|
1297
1569
|
...SwapExecutionPlan
|
|
1298
1570
|
}
|
|
1299
|
-
}`,[
|
|
1571
|
+
}`,[ge]),So=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1300
1572
|
value: prepareSwapCancel(request: $request) {
|
|
1301
1573
|
...PrepareSwapCancelResult
|
|
1302
1574
|
}
|
|
1303
|
-
}`,[
|
|
1575
|
+
}`,[de]),Ro=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1304
1576
|
value: cancelSwap(request: $request) {
|
|
1305
1577
|
...CancelSwapExecutionPlan
|
|
1306
1578
|
}
|
|
1307
|
-
}`,[
|
|
1579
|
+
}`,[Se]),fo=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1308
1580
|
value: userSwaps(request: $request) {
|
|
1309
1581
|
...PaginatedUserSwapsResult
|
|
1310
1582
|
}
|
|
1311
|
-
}`,[
|
|
1583
|
+
}`,[Re]),wo=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1312
1584
|
value: supplySwapQuote(request: $request) {
|
|
1313
1585
|
...SupplySwapQuoteResult
|
|
1314
1586
|
}
|
|
1315
|
-
}`,[
|
|
1587
|
+
}`,[fe]),qo=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1316
1588
|
value: borrowSwapQuote(request: $request) {
|
|
1317
1589
|
...BorrowSwapQuoteResult
|
|
1318
1590
|
}
|
|
1319
|
-
}`,[
|
|
1591
|
+
}`,[we]),xo=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1320
1592
|
value: repayWithSupplyQuote(request: $request) {
|
|
1321
1593
|
...RepayWithSupplyQuoteResult
|
|
1322
1594
|
}
|
|
1323
|
-
}`,[
|
|
1595
|
+
}`,[qe]),Po=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1324
1596
|
value: withdrawSwapQuote(request: $request) {
|
|
1325
1597
|
...WithdrawSwapQuoteResult
|
|
1326
1598
|
}
|
|
1327
|
-
}`,[
|
|
1599
|
+
}`,[xe]),ho=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1328
1600
|
value: preparePositionSwap(request: $request) {
|
|
1329
1601
|
...PreparePositionSwapResult
|
|
1330
1602
|
}
|
|
1331
|
-
}`,[
|
|
1603
|
+
}`,[Pe]);var Io=e(`query Borrow($request: BorrowRequest!) {
|
|
1332
1604
|
value: borrow(request: $request) {
|
|
1333
1605
|
...ExecutionPlan
|
|
1334
1606
|
}
|
|
1335
|
-
}`,[
|
|
1607
|
+
}`,[B]),To=e(`query Supply($request: SupplyRequest!) {
|
|
1336
1608
|
value: supply(request: $request) {
|
|
1337
1609
|
...ExecutionPlan
|
|
1338
1610
|
}
|
|
1339
|
-
}`,[
|
|
1611
|
+
}`,[B]),ko=e(`query Repay($request: RepayRequest!) {
|
|
1340
1612
|
value: repay(request: $request) {
|
|
1341
1613
|
...ExecutionPlan
|
|
1342
1614
|
}
|
|
1343
|
-
}`,[
|
|
1615
|
+
}`,[B]),vo=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1344
1616
|
value: withdraw(request: $request) {
|
|
1345
1617
|
...ExecutionPlan
|
|
1346
1618
|
}
|
|
1347
|
-
}`,[
|
|
1619
|
+
}`,[B]),qr=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1348
1620
|
__typename
|
|
1349
1621
|
... on TransactionRequest {
|
|
1350
1622
|
...TransactionRequest
|
|
@@ -1355,27 +1627,27 @@
|
|
|
1355
1627
|
... on InsufficientBalanceError {
|
|
1356
1628
|
...InsufficientBalanceError
|
|
1357
1629
|
}
|
|
1358
|
-
}`,[
|
|
1630
|
+
}`,[p,_,f]),Co=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1359
1631
|
value: liquidatePosition(request: $request) {
|
|
1360
1632
|
...LiquidatePositionExecutionPlan
|
|
1361
1633
|
}
|
|
1362
|
-
}`,[
|
|
1634
|
+
}`,[qr]),Eo=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1363
1635
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1364
1636
|
...TransactionRequest
|
|
1365
1637
|
}
|
|
1366
|
-
}`,[
|
|
1638
|
+
}`,[p]),Uo=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1367
1639
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1368
1640
|
...TransactionRequest
|
|
1369
1641
|
}
|
|
1370
|
-
}`,[
|
|
1642
|
+
}`,[p]),Oo=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1371
1643
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1372
1644
|
...TransactionRequest
|
|
1373
1645
|
}
|
|
1374
|
-
}`,[
|
|
1646
|
+
}`,[p]),_o=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1375
1647
|
value: updateUserPositionConditions(request: $request) {
|
|
1376
1648
|
...TransactionRequest
|
|
1377
1649
|
}
|
|
1378
|
-
}`,[
|
|
1650
|
+
}`,[p]),xr=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1379
1651
|
__typename
|
|
1380
1652
|
reserveId
|
|
1381
1653
|
token {
|
|
@@ -1387,7 +1659,7 @@
|
|
|
1387
1659
|
after {
|
|
1388
1660
|
...PercentNumber
|
|
1389
1661
|
}
|
|
1390
|
-
}`,[
|
|
1662
|
+
}`,[s,a]),Pr=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1391
1663
|
__typename
|
|
1392
1664
|
reserveId
|
|
1393
1665
|
token {
|
|
@@ -1399,7 +1671,7 @@
|
|
|
1399
1671
|
after {
|
|
1400
1672
|
...PercentNumber
|
|
1401
1673
|
}
|
|
1402
|
-
}`,[
|
|
1674
|
+
}`,[s,a]),hr=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1403
1675
|
__typename
|
|
1404
1676
|
reserveId
|
|
1405
1677
|
token {
|
|
@@ -1411,7 +1683,7 @@
|
|
|
1411
1683
|
after {
|
|
1412
1684
|
...PercentNumber
|
|
1413
1685
|
}
|
|
1414
|
-
}`,[
|
|
1686
|
+
}`,[s,a]),Fr=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1415
1687
|
__typename
|
|
1416
1688
|
... on CollateralFactorVariation {
|
|
1417
1689
|
...CollateralFactorVariation
|
|
@@ -1422,7 +1694,7 @@
|
|
|
1422
1694
|
... on MaxLiquidationBonusVariation {
|
|
1423
1695
|
...MaxLiquidationBonusVariation
|
|
1424
1696
|
}
|
|
1425
|
-
}`,[
|
|
1697
|
+
}`,[xr,Pr,hr]),Ar=e(`fragment PreviewMerklSupplyReward on PreviewMerklSupplyReward {
|
|
1426
1698
|
__typename
|
|
1427
1699
|
id
|
|
1428
1700
|
startDate
|
|
@@ -1439,7 +1711,7 @@
|
|
|
1439
1711
|
reserve {
|
|
1440
1712
|
...ReserveInfo
|
|
1441
1713
|
}
|
|
1442
|
-
}`,[a,
|
|
1714
|
+
}`,[a,s,E,c]),br=e(`fragment PreviewMerklBorrowReward on PreviewMerklBorrowReward {
|
|
1443
1715
|
__typename
|
|
1444
1716
|
id
|
|
1445
1717
|
startDate
|
|
@@ -1456,7 +1728,39 @@
|
|
|
1456
1728
|
reserve {
|
|
1457
1729
|
...ReserveInfo
|
|
1458
1730
|
}
|
|
1459
|
-
}`,[a,
|
|
1731
|
+
}`,[a,s,E,c]),Ir=e(`fragment PreviewSupplyPoints on PreviewSupplyPointsReward {
|
|
1732
|
+
__typename
|
|
1733
|
+
id
|
|
1734
|
+
program {
|
|
1735
|
+
...PointsProgram
|
|
1736
|
+
}
|
|
1737
|
+
name
|
|
1738
|
+
startDate
|
|
1739
|
+
endDate
|
|
1740
|
+
multiplier
|
|
1741
|
+
criteria {
|
|
1742
|
+
...PointsCriteria
|
|
1743
|
+
}
|
|
1744
|
+
reserve {
|
|
1745
|
+
...ReserveInfo
|
|
1746
|
+
}
|
|
1747
|
+
}`,[O,U,c]),Tr=e(`fragment PreviewBorrowPoints on PreviewBorrowPointsReward {
|
|
1748
|
+
__typename
|
|
1749
|
+
id
|
|
1750
|
+
program {
|
|
1751
|
+
...PointsProgram
|
|
1752
|
+
}
|
|
1753
|
+
name
|
|
1754
|
+
startDate
|
|
1755
|
+
endDate
|
|
1756
|
+
multiplier
|
|
1757
|
+
criteria {
|
|
1758
|
+
...PointsCriteria
|
|
1759
|
+
}
|
|
1760
|
+
reserve {
|
|
1761
|
+
...ReserveInfo
|
|
1762
|
+
}
|
|
1763
|
+
}`,[O,U,c]),kr=e(`fragment PreviewReward on PreviewReward {
|
|
1460
1764
|
__typename
|
|
1461
1765
|
... on PreviewMerklSupplyReward {
|
|
1462
1766
|
...PreviewMerklSupplyReward
|
|
@@ -1464,7 +1768,13 @@
|
|
|
1464
1768
|
... on PreviewMerklBorrowReward {
|
|
1465
1769
|
...PreviewMerklBorrowReward
|
|
1466
1770
|
}
|
|
1467
|
-
|
|
1771
|
+
... on PreviewSupplyPointsReward {
|
|
1772
|
+
...PreviewSupplyPoints
|
|
1773
|
+
}
|
|
1774
|
+
... on PreviewBorrowPointsReward {
|
|
1775
|
+
...PreviewBorrowPoints
|
|
1776
|
+
}
|
|
1777
|
+
}`,[Ar,br,Ir,Tr]),vr=e(`fragment PreviewRewardOutcome on PreviewRewardOutcome {
|
|
1468
1778
|
__typename
|
|
1469
1779
|
lost {
|
|
1470
1780
|
...PreviewReward
|
|
@@ -1472,7 +1782,7 @@
|
|
|
1472
1782
|
gained {
|
|
1473
1783
|
...PreviewReward
|
|
1474
1784
|
}
|
|
1475
|
-
}`,[
|
|
1785
|
+
}`,[kr]),Cr=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1476
1786
|
__typename
|
|
1477
1787
|
id
|
|
1478
1788
|
healthFactor {
|
|
@@ -1502,11 +1812,11 @@
|
|
|
1502
1812
|
otherConditions {
|
|
1503
1813
|
...UserPositionConditionVariation
|
|
1504
1814
|
}
|
|
1505
|
-
}`,[te,
|
|
1815
|
+
}`,[ne,te,re,vr,Fr]),Bo=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1506
1816
|
value: preview(request: $request) {
|
|
1507
1817
|
...PreviewUserPosition
|
|
1508
1818
|
}
|
|
1509
|
-
}`,[
|
|
1819
|
+
}`,[Cr]),Qe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1510
1820
|
__typename
|
|
1511
1821
|
before {
|
|
1512
1822
|
...PercentNumber
|
|
@@ -1514,7 +1824,7 @@
|
|
|
1514
1824
|
after {
|
|
1515
1825
|
...PercentNumber
|
|
1516
1826
|
}
|
|
1517
|
-
}`,[a]),
|
|
1827
|
+
}`,[a]),Er=e(`fragment BorrowActivity on BorrowActivity {
|
|
1518
1828
|
__typename
|
|
1519
1829
|
id
|
|
1520
1830
|
user
|
|
@@ -1532,7 +1842,7 @@
|
|
|
1532
1842
|
chain {
|
|
1533
1843
|
...Chain
|
|
1534
1844
|
}
|
|
1535
|
-
}`,[
|
|
1845
|
+
}`,[l,u,c,o]),Ur=e(`fragment SupplyActivity on SupplyActivity {
|
|
1536
1846
|
__typename
|
|
1537
1847
|
id
|
|
1538
1848
|
user
|
|
@@ -1550,7 +1860,7 @@
|
|
|
1550
1860
|
chain {
|
|
1551
1861
|
...Chain
|
|
1552
1862
|
}
|
|
1553
|
-
}`,[
|
|
1863
|
+
}`,[l,u,c,o]),Or=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1554
1864
|
__typename
|
|
1555
1865
|
id
|
|
1556
1866
|
user
|
|
@@ -1568,7 +1878,7 @@
|
|
|
1568
1878
|
chain {
|
|
1569
1879
|
...Chain
|
|
1570
1880
|
}
|
|
1571
|
-
}`,[
|
|
1881
|
+
}`,[l,u,c,o]),_r=e(`fragment RepayActivity on RepayActivity {
|
|
1572
1882
|
__typename
|
|
1573
1883
|
id
|
|
1574
1884
|
user
|
|
@@ -1586,7 +1896,7 @@
|
|
|
1586
1896
|
chain {
|
|
1587
1897
|
...Chain
|
|
1588
1898
|
}
|
|
1589
|
-
}`,[
|
|
1899
|
+
}`,[l,u,c,o]),Br=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1590
1900
|
__typename
|
|
1591
1901
|
id
|
|
1592
1902
|
user
|
|
@@ -1611,7 +1921,7 @@
|
|
|
1611
1921
|
chain {
|
|
1612
1922
|
...Chain
|
|
1613
1923
|
}
|
|
1614
|
-
}`,[
|
|
1924
|
+
}`,[l,u,c,o]),Qr=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1615
1925
|
__typename
|
|
1616
1926
|
id
|
|
1617
1927
|
user
|
|
@@ -1627,7 +1937,7 @@
|
|
|
1627
1937
|
chain {
|
|
1628
1938
|
...Chain
|
|
1629
1939
|
}
|
|
1630
|
-
}`,[
|
|
1940
|
+
}`,[l,c,o]),Hr=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1631
1941
|
__typename
|
|
1632
1942
|
id
|
|
1633
1943
|
user
|
|
@@ -1651,7 +1961,7 @@
|
|
|
1651
1961
|
chain {
|
|
1652
1962
|
...Chain
|
|
1653
1963
|
}
|
|
1654
|
-
}`,[
|
|
1964
|
+
}`,[l,c,Qe,o]),Wr=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1655
1965
|
__typename
|
|
1656
1966
|
id
|
|
1657
1967
|
user
|
|
@@ -1666,7 +1976,7 @@
|
|
|
1666
1976
|
chain {
|
|
1667
1977
|
...Chain
|
|
1668
1978
|
}
|
|
1669
|
-
}`,[
|
|
1979
|
+
}`,[l,Qe,o]),Vr=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
1670
1980
|
__typename
|
|
1671
1981
|
id
|
|
1672
1982
|
user
|
|
@@ -1685,7 +1995,7 @@
|
|
|
1685
1995
|
orderClass
|
|
1686
1996
|
kind
|
|
1687
1997
|
status
|
|
1688
|
-
}`,[
|
|
1998
|
+
}`,[o,S]),Mr=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
1689
1999
|
__typename
|
|
1690
2000
|
id
|
|
1691
2001
|
user
|
|
@@ -1704,7 +2014,7 @@
|
|
|
1704
2014
|
orderClass
|
|
1705
2015
|
kind
|
|
1706
2016
|
status
|
|
1707
|
-
}`,[
|
|
2017
|
+
}`,[o,x]),$r=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
1708
2018
|
__typename
|
|
1709
2019
|
id
|
|
1710
2020
|
user
|
|
@@ -1723,7 +2033,7 @@
|
|
|
1723
2033
|
orderClass
|
|
1724
2034
|
kind
|
|
1725
2035
|
status
|
|
1726
|
-
}`,[
|
|
2036
|
+
}`,[o,x]),Nr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
1727
2037
|
__typename
|
|
1728
2038
|
id
|
|
1729
2039
|
user
|
|
@@ -1742,7 +2052,7 @@
|
|
|
1742
2052
|
orderClass
|
|
1743
2053
|
kind
|
|
1744
2054
|
status
|
|
1745
|
-
}`,[
|
|
2055
|
+
}`,[o,x]),Dr=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
1746
2056
|
__typename
|
|
1747
2057
|
id
|
|
1748
2058
|
user
|
|
@@ -1761,7 +2071,7 @@
|
|
|
1761
2071
|
orderClass
|
|
1762
2072
|
kind
|
|
1763
2073
|
status
|
|
1764
|
-
}`,[
|
|
2074
|
+
}`,[o,x,S]),Lr=e(`fragment ActivityItem on ActivityItem {
|
|
1765
2075
|
__typename
|
|
1766
2076
|
... on BorrowActivity {
|
|
1767
2077
|
...BorrowActivity
|
|
@@ -1802,7 +2112,7 @@
|
|
|
1802
2112
|
... on WithdrawSwapActivity {
|
|
1803
2113
|
...WithdrawSwapActivity
|
|
1804
2114
|
}
|
|
1805
|
-
}`,[
|
|
2115
|
+
}`,[Er,Ur,Or,_r,Br,Qr,Hr,Wr,Vr,Mr,$r,Nr,Dr]),Gr=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1806
2116
|
__typename
|
|
1807
2117
|
items {
|
|
1808
2118
|
...ActivityItem
|
|
@@ -1810,41 +2120,87 @@
|
|
|
1810
2120
|
pageInfo {
|
|
1811
2121
|
...PaginatedResultInfo
|
|
1812
2122
|
}
|
|
1813
|
-
}`,[
|
|
2123
|
+
}`,[Lr,R]),Qo=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1814
2124
|
value: activities(request: $request) {
|
|
1815
2125
|
...PaginatedActivitiesResult
|
|
1816
2126
|
}
|
|
1817
|
-
}`,[
|
|
2127
|
+
}`,[Gr]);var Mo=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1818
2128
|
value: userSupplies(request: $request) {
|
|
1819
2129
|
...UserSupplyItem
|
|
1820
2130
|
}
|
|
1821
|
-
}`,[
|
|
2131
|
+
}`,[he]),$o=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1822
2132
|
value: userBorrows(request: $request) {
|
|
1823
2133
|
...UserBorrowItem
|
|
1824
2134
|
}
|
|
1825
|
-
}`,[
|
|
2135
|
+
}`,[Fe]),No=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1826
2136
|
value: userSummary(request: $request) {
|
|
1827
2137
|
...UserSummary
|
|
1828
2138
|
}
|
|
1829
|
-
}`,[Ae]),
|
|
2139
|
+
}`,[Ae]),Do=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1830
2140
|
value: userPositions(request: $request) {
|
|
1831
2141
|
...UserPosition
|
|
1832
2142
|
}
|
|
1833
|
-
}`,[
|
|
2143
|
+
}`,[z]),Lo=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1834
2144
|
value: userPosition(request: $request) {
|
|
1835
2145
|
...UserPosition
|
|
1836
2146
|
}
|
|
1837
|
-
}`,[
|
|
2147
|
+
}`,[z]),Go=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1838
2148
|
value: userBalances(request: $request) {
|
|
1839
2149
|
...UserBalance
|
|
1840
2150
|
}
|
|
1841
|
-
}`,[
|
|
2151
|
+
}`,[Ie]),Ko=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1842
2152
|
value: userSummaryHistory(request: $request) {
|
|
1843
2153
|
...UserSummaryHistoryItem
|
|
1844
2154
|
}
|
|
1845
|
-
}`,[
|
|
2155
|
+
}`,[Te]),Yo=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1846
2156
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1847
2157
|
...UserRiskPremiumBreakdownItem
|
|
1848
2158
|
}
|
|
1849
|
-
}`,[
|
|
2159
|
+
}`,[be]);var Jo=e(`query StableVault($request: StableVaultRequest!) {
|
|
2160
|
+
value: stableVault(request: $request) {
|
|
2161
|
+
...StableVault
|
|
2162
|
+
}
|
|
2163
|
+
}`,[N]),Xo=e(`query StableVaults($request: StableVaultsRequest!) {
|
|
2164
|
+
value: stableVaults(request: $request) {
|
|
2165
|
+
...StableVault
|
|
2166
|
+
}
|
|
2167
|
+
}`,[N]),ep=e(`query StableVaultRateUsers($request: StableVaultRateUsersRequest!) {
|
|
2168
|
+
value: stableVaultRateUsers(request: $request) {
|
|
2169
|
+
...PaginatedStableVaultRateUsersResult
|
|
2170
|
+
}
|
|
2171
|
+
}`,[Ce]),tp=e(`query StableVaultAssignRate($request: StableVaultAssignRateRequest!) {
|
|
2172
|
+
value: stableVaultAssignRate(request: $request) {
|
|
2173
|
+
...TransactionRequest
|
|
2174
|
+
}
|
|
2175
|
+
}`,[p]),rp=e(`query StableVaultUnassignRate($request: StableVaultUnassignRateRequest!) {
|
|
2176
|
+
value: stableVaultUnassignRate(request: $request) {
|
|
2177
|
+
...TransactionRequest
|
|
2178
|
+
}
|
|
2179
|
+
}`,[p]),ap=e(`query StableVaultClaimSurplus($request: StableVaultClaimSurplusRequest!) {
|
|
2180
|
+
value: stableVaultClaimSurplus(request: $request) {
|
|
2181
|
+
...TransactionRequest
|
|
2182
|
+
}
|
|
2183
|
+
}`,[p]),np=e(`query StableVaultMovements($request: StableVaultMovementsRequest!) {
|
|
2184
|
+
value: stableVaultMovements(request: $request) {
|
|
2185
|
+
...PaginatedStableVaultMovementsResult
|
|
2186
|
+
}
|
|
2187
|
+
}`,[ve]),op=e(`query StableVaultDeposit($request: StableVaultDepositRequest!) {
|
|
2188
|
+
value: stableVaultDeposit(request: $request) {
|
|
2189
|
+
...StableVaultDepositExecutionPlan
|
|
2190
|
+
}
|
|
2191
|
+
}`,[Ee]),pp=e(`query StableVaultWithdraw($request: StableVaultWithdrawRequest!) {
|
|
2192
|
+
value: stableVaultWithdraw(request: $request) {
|
|
2193
|
+
...StableVaultWithdrawExecutionPlan
|
|
2194
|
+
}
|
|
2195
|
+
}`,[Ue]),sp=e(`query StableVaultClaimStatus($request: StableVaultClaimStatusRequest!) {
|
|
2196
|
+
value: stableVaultClaimStatus(request: $request)
|
|
2197
|
+
}`),ip=e(`query StableVaultUserPositions($request: StableVaultUserPositionsRequest!) {
|
|
2198
|
+
value: stableVaultUserPositions(request: $request) {
|
|
2199
|
+
...StableVaultUserPosition
|
|
2200
|
+
}
|
|
2201
|
+
}`,[ke]),up=e(`mutation StableVaultWithdrawRedeem($request: StableVaultWithdrawRedeemRequest!) {
|
|
2202
|
+
value: stableVaultWithdrawRedeem(request: $request) {
|
|
2203
|
+
...StableVaultWithdrawRedeemExecutionPlan
|
|
2204
|
+
}
|
|
2205
|
+
}`,[Oe]);exports.ActivitiesQuery=Qo;exports.ActivityItemFragment=Lr;exports.ActivityType=Ne;exports.ApyMetric=De;exports.ApySampleFragment=Z;exports.AssetAmountWithChangeFragment=Sr;exports.AssetBorrowHistoryQuery=Vn;exports.AssetBorrowSampleFragment=dr;exports.AssetFragment=fr;exports.AssetPriceHistoryQuery=Hn;exports.AssetPriceSampleFragment=cr;exports.AssetQuery=Qn;exports.AssetSampleBreakdownFragment=Be;exports.AssetSummaryFragment=Rr;exports.AssetSupplyHistoryQuery=Wn;exports.AssetSupplySampleFragment=gr;exports.BoostedRateFragment=zt;exports.BorrowActivityFragment=Er;exports.BorrowApyHistoryQuery=Ln;exports.BorrowPointsFragment=qt;exports.BorrowQuery=Io;exports.BorrowSwapActivityFragment=$r;exports.BorrowSwapFragment=_t;exports.BorrowSwapKind=Ye;exports.BorrowSwapQuoteQuery=qo;exports.BorrowSwapQuoteResultFragment=we;exports.CancelSwapExecutionPlanFragment=Se;exports.CancelSwapMutation=Ro;exports.ChainFragment=o;exports.ChainQuery=kn;exports.ChainsFilter=$e;exports.ChainsQuery=vn;exports.ClaimRewardsQuery=Jn;exports.CollateralFactorVariationFragment=xr;exports.CollateralMetric=Le;exports.Currency=Ge;exports.DecimalNumberFragment=y;exports.DecimalNumberWithChangeFragment=j;exports.DomainDataFragment=W;exports.Erc20AmountFragment=u;exports.Erc20ApprovalFragment=K;exports.Erc20ApprovalRequiredFragment=_;exports.Erc20TokenFragment=s;exports.ExchangeAmountFragment=m;exports.ExchangeAmountVariationFragment=re;exports.ExchangeAmountWithChangeFragment=h;exports.ExchangeRateQuery=Un;exports.ExecutionPlanFragment=B;exports.HasProcessedKnownTransactionQuery=Cn;exports.HealthFactorErrorFragment=mt;exports.HealthFactorResultFragment=ne;exports.HealthFactorVariationFragment=ut;exports.HealthFactorWithChangeFragment=ae;exports.HealthQuery=En;exports.HubAssetFragment=C;exports.HubAssetInterestRateModelPointFragment=ur;exports.HubAssetInterestRateModelQuery=Ga;exports.HubAssetSettingsFragment=ct;exports.HubAssetSummaryFragment=yt;exports.HubAssetUserStateFragment=gt;exports.HubAssetsQuery=Da;exports.HubFragment=F;exports.HubQuery=$a;exports.HubSummaryFragment=lt;exports.HubSummaryHistoryQuery=La;exports.HubSummarySampleFragment=ir;exports.HubsQuery=Na;exports.InsufficientBalanceErrorFragment=f;exports.InsufficientLiquidityErrorFragment=b;exports.LiquidatePositionExecutionPlanFragment=qr;exports.LiquidatePositionQuery=Co;exports.LiquidatedActivityFragment=Br;exports.LiquidationFeeVariationFragment=Pr;exports.MaxLiquidationBonusVariationFragment=hr;exports.MerklBorrowRewardFragment=ft;exports.MerklCriteriaFragment=E;exports.MerklGenericCriteriaFragment=dt;exports.MerklSupplyRewardFragment=Rt;exports.NativeAmountFragment=it;exports.NativeTokenFragment=J;exports.OperationType=Me;exports.OrderDirection=He;exports.PageSize=We;exports.PaginatedActivitiesResultFragment=Gr;exports.PaginatedResultInfoFragment=R;exports.PaginatedSpokePositionManagerResultFragment=ie;exports.PaginatedSpokeUserPositionManagerResultFragment=ue;exports.PaginatedStableVaultMovementsResultFragment=ve;exports.PaginatedStableVaultRateUsersResultFragment=Ce;exports.PaginatedUserSwapsResultFragment=Re;exports.PercentNumberChangeSnapshotFragment=Qe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=te;exports.PercentNumberWithChangeFragment=ee;exports.PermitTypedDataFragment=oe;exports.PointsCriteriaFragment=U;exports.PointsGenericCriteriaFragment=St;exports.PointsProgramFragment=O;exports.PositionAmountFragment=x;exports.PositionSwapAdapterContractApprovalFragment=Lt;exports.PositionSwapApprovalFragment=Kt;exports.PositionSwapByIntentApprovalsRequiredFragment=$;exports.PositionSwapPositionManagerApprovalFragment=Gt;exports.PreContractActionRequiredFragment=Tt;exports.PreparePositionSwapQuery=ho;exports.PreparePositionSwapResultFragment=Pe;exports.PrepareSwapCancelQuery=So;exports.PrepareSwapCancelResultFragment=de;exports.PrepareSwapOrderFragment=me;exports.PrepareTokenSwapQuery=yo;exports.PrepareTokenSwapResultFragment=ce;exports.PreviewBorrowPointsFragment=Tr;exports.PreviewMerklBorrowRewardFragment=br;exports.PreviewMerklSupplyRewardFragment=Ar;exports.PreviewQuery=Bo;exports.PreviewRewardFragment=kr;exports.PreviewRewardOutcomeFragment=vr;exports.PreviewSupplyPointsFragment=Ir;exports.PreviewUserPositionFragment=Cr;exports.ProtocolHistoryQuery=Mn;exports.ProtocolHistorySampleFragment=wr;exports.QuoteAccuracy=at;exports.RenounceSpokeUserPositionManagerQuery=Oo;exports.RepayActivityFragment=_r;exports.RepayQuery=ko;exports.RepayWithSupplyActivityFragment=Nr;exports.RepayWithSupplyFragment=Bt;exports.RepayWithSupplyKind=ze;exports.RepayWithSupplyQuoteQuery=xo;exports.RepayWithSupplyQuoteResultFragment=qe;exports.ReserveFragment=I;exports.ReserveInfoFragment=c;exports.ReserveQuery=Kn;exports.ReserveSettingsFragment=Ft;exports.ReserveStatusFragment=At;exports.ReserveSummaryFragment=bt;exports.ReserveUserStateFragment=It;exports.ReservesQuery=Yn;exports.ReservesRequestFilter=Ke;exports.RewardFragment=pe;exports.SetSpokeUserPositionManagerQuery=Eo;exports.SetUserSuppliesAsCollateralQuery=Uo;exports.SpokeFragment=l;exports.SpokePositionManagerFragment=Pt;exports.SpokePositionManagersQuery=oo;exports.SpokeQuery=ao;exports.SpokeUserPositionManagerFragment=ht;exports.SpokeUserPositionManagersQuery=po;exports.SpokesQuery=no;exports.StableVaultAssignRateQuery=tp;exports.StableVaultClaimStatus=Ze;exports.StableVaultClaimStatusQuery=sp;exports.StableVaultClaimSurplusQuery=ap;exports.StableVaultDepositExecutionPlanFragment=Ee;exports.StableVaultDepositQuery=op;exports.StableVaultFragment=N;exports.StableVaultMovementsQuery=np;exports.StableVaultPendingAvailabilityFragment=sr;exports.StableVaultQuery=Jo;exports.StableVaultRateUsersQuery=ep;exports.StableVaultRatesFragment=jt;exports.StableVaultSummaryFragment=Zt;exports.StableVaultUnassignRateQuery=rp;exports.StableVaultUserPositionFragment=ke;exports.StableVaultUserPositionsQuery=ip;exports.StableVaultWithdrawClaimFragment=pr;exports.StableVaultWithdrawExecutionPlanFragment=Ue;exports.StableVaultWithdrawQuery=pp;exports.StableVaultWithdrawRedeemExecutionPlanFragment=Oe;exports.StableVaultWithdrawRedeemMutation=up;exports.StableVaultsQuery=Xo;exports.SupplyActivityFragment=Ur;exports.SupplyApyHistoryQuery=Gn;exports.SupplyPointsFragment=wt;exports.SupplyQuery=To;exports.SupplySwapActivityFragment=Mr;exports.SupplySwapFragment=Ot;exports.SupplySwapKind=je;exports.SupplySwapQuoteQuery=wo;exports.SupplySwapQuoteResultFragment=fe;exports.SwapActivityStatus=ot;exports.SwapByIntentFragment=vt;exports.SwapByIntentWithApprovalRequiredFragment=Ct;exports.SwapByTransactionFragment=Et;exports.SwapCancelledFragment=Wt;exports.SwapCancelledResultFragment=Dt;exports.SwapExecutionPlanFragment=ge;exports.SwapExpiredFragment=Vt;exports.SwapFulfilledFragment=Nt;exports.SwapMutation=go;exports.SwapOpenFragment=Mt;exports.SwapOperationFragment=Q;exports.SwapOrderClass=nt;exports.SwapPendingSignatureFragment=$t;exports.SwapQuoteCostsFragment=kt;exports.SwapQuoteFragment=V;exports.SwapReceiptFragment=le;exports.SwapStatusFilter=Xe;exports.SwapStatusFragment=Y;exports.SwapStatusQuery=co;exports.SwapTransactionRequestFragment=Ut;exports.SwapTypedDataFragment=M;exports.SwappableTokensQuery=lo;exports.TimeWindow=Ve;exports.TokenAmountFragment=S;exports.TokenCategory=et;exports.TokenFragment=X;exports.TokenInfoFragment=v;exports.TokenMovementAllocateFragment=Jt;exports.TokenMovementBridgeInFragment=Xt;exports.TokenMovementBridgeOutFragment=er;exports.TokenMovementDeallocateFragment=tr;exports.TokenMovementFragment=nr;exports.TokenMovementRebalanceFragment=rr;exports.TokenMovementRecordFragment=or;exports.TokenMovementStatus=tt;exports.TokenMovementSwapFragment=ar;exports.TokenSwapActivityFragment=Vr;exports.TokenSwapFragment=Ht;exports.TokenSwapKind=pt;exports.TokenSwapQuoteQuery=mo;exports.TokenSwapQuoteResultFragment=ye;exports.TransactionRequestFragment=p;exports.UpdateUserPositionConditionsQuery=_o;exports.UpdatedDynamicConfigActivityFragment=Hr;exports.UpdatedRiskPremiumActivityFragment=Wr;exports.UserBalanceFragment=Ie;exports.UserBalancesQuery=Go;exports.UserBorrowItemFragment=Fe;exports.UserBorrowsQuery=$o;exports.UserClaimableRewardFragment=se;exports.UserClaimableRewardsQuery=Xn;exports.UserMerklClaimableRewardFragment=xt;exports.UserPositionConditionVariationFragment=Fr;exports.UserPositionConditionsUpdate=rt;exports.UserPositionFragment=z;exports.UserPositionQuery=Lo;exports.UserPositionRiskPremiumFragment=Yt;exports.UserPositionsQuery=Do;exports.UserRiskPremiumBreakdownItemFragment=be;exports.UserRiskPremiumBreakdownQuery=Yo;exports.UserSummaryFragment=Ae;exports.UserSummaryHistoryItemFragment=Te;exports.UserSummaryHistoryQuery=Ko;exports.UserSummaryQuery=No;exports.UserSuppliesQuery=Mo;exports.UserSupplyItemFragment=he;exports.UserSwapsQuery=fo;exports.UsingAsCollateralActivityFragment=Qr;exports.WithdrawActivityFragment=Or;exports.WithdrawQuery=vo;exports.WithdrawSwapActivityFragment=Dr;exports.WithdrawSwapFragment=Qt;exports.WithdrawSwapKind=Je;exports.WithdrawSwapQuoteQuery=Po;exports.WithdrawSwapQuoteResultFragment=xe;exports.assetId=za;exports.boostedRateId=Za;exports.decodeHubId=Ja;exports.decodeReserveId=tn;exports.decodeSpokeId=yn;exports.decodeUserPositionId=an;exports.encodeHubId=ja;exports.encodeReserveId=rn;exports.encodeSpokeId=ln;exports.encodeUserPositionId=nn;exports.graphql=e;exports.hubAssetId=Xa;exports.hubId=mr;exports.isChainIdsVariant=xn;exports.isERC20PermitSignature=sa;exports.isHubInputVariant=qn;exports.isReserveInputVariant=Fn;exports.isSpokeInputVariant=hn;exports.isTokensVariant=Pn;exports.isTxHashInputVariant=An;exports.reserveId=en;exports.spokeId=yr;exports.stableVaultId=sn;exports.stableVaultUserPositionId=un;exports.stableVaultWithdrawClaimId=mn;exports.swapId=on;exports.swapQuoteId=pn;exports.tokenInfoId=Sn;exports.tokenMovementId=Rn;exports.userBalanceId=cn;exports.userBorrowItemId=gn;exports.userPositionId=lr;exports.userSupplyItemId=dn;//# sourceMappingURL=index.cjs.map
|
|
1850
2206
|
//# sourceMappingURL=index.cjs.map
|