@aave/graphql 1.0.0-next.35 → 1.0.0-next.37
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 +513 -192
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26277 -4125
- package/dist/index.d.ts +26277 -4125
- package/dist/index.js +513 -192
- 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 +66 -11
- 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,7 +22,7 @@
|
|
|
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
|
|
@@ -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
|
-
}`,[v]),
|
|
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
|
-
}`,[v,
|
|
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
|
-
}`,[v,
|
|
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 {
|
|
@@ -255,12 +255,12 @@
|
|
|
255
255
|
slopeAboveOptimal {
|
|
256
256
|
...PercentNumber
|
|
257
257
|
}
|
|
258
|
-
}`,[a]),
|
|
258
|
+
}`,[a]),gt=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
259
259
|
__typename
|
|
260
260
|
balance {
|
|
261
261
|
...Erc20Amount
|
|
262
262
|
}
|
|
263
|
-
}`,[
|
|
263
|
+
}`,[u]),C=e(`fragment HubAsset on HubAsset {
|
|
264
264
|
__typename
|
|
265
265
|
id
|
|
266
266
|
onchainAssetId
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
userState {
|
|
280
280
|
...HubAssetUserState
|
|
281
281
|
}
|
|
282
|
-
}`,[
|
|
282
|
+
}`,[F,s,yt,ct,gt]);var oe=e(`fragment PermitTypedData on PermitTypedData {
|
|
283
283
|
__typename
|
|
284
284
|
types
|
|
285
285
|
primaryType
|
|
@@ -287,7 +287,8 @@
|
|
|
287
287
|
...DomainData
|
|
288
288
|
}
|
|
289
289
|
message
|
|
290
|
-
|
|
290
|
+
signedAmount
|
|
291
|
+
}`,[W]);function sa(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var dt=e(`fragment MerklGenericCriteria on MerklGenericCriteria {
|
|
291
292
|
__typename
|
|
292
293
|
id
|
|
293
294
|
text
|
|
@@ -297,7 +298,23 @@
|
|
|
297
298
|
... on MerklGenericCriteria {
|
|
298
299
|
...MerklGenericCriteria
|
|
299
300
|
}
|
|
300
|
-
}`,[
|
|
301
|
+
}`,[dt]),St=e(`fragment PointsGenericCriteria on PointsGenericCriteria {
|
|
302
|
+
__typename
|
|
303
|
+
id
|
|
304
|
+
text
|
|
305
|
+
userPassed
|
|
306
|
+
}`),U=e(`fragment PointsCriteria on PointsCriteria {
|
|
307
|
+
__typename
|
|
308
|
+
... on PointsGenericCriteria {
|
|
309
|
+
...PointsGenericCriteria
|
|
310
|
+
}
|
|
311
|
+
}`,[St]),O=e(`fragment PointsProgram on PointsProgram {
|
|
312
|
+
__typename
|
|
313
|
+
id
|
|
314
|
+
name
|
|
315
|
+
externalUrl
|
|
316
|
+
iconUrl
|
|
317
|
+
}`),Rt=e(`fragment MerklSupplyReward on MerklSupplyReward {
|
|
301
318
|
__typename
|
|
302
319
|
id
|
|
303
320
|
startDate
|
|
@@ -312,7 +329,7 @@
|
|
|
312
329
|
...MerklCriteria
|
|
313
330
|
}
|
|
314
331
|
userEligible
|
|
315
|
-
}`,[a,
|
|
332
|
+
}`,[a,s,E]),ft=e(`fragment MerklBorrowReward on MerklBorrowReward {
|
|
316
333
|
__typename
|
|
317
334
|
id
|
|
318
335
|
startDate
|
|
@@ -327,7 +344,35 @@
|
|
|
327
344
|
...MerklCriteria
|
|
328
345
|
}
|
|
329
346
|
userEligible
|
|
330
|
-
}`,[a,
|
|
347
|
+
}`,[a,s,E]),wt=e(`fragment SupplyPoints on SupplyPointsReward {
|
|
348
|
+
__typename
|
|
349
|
+
id
|
|
350
|
+
program {
|
|
351
|
+
...PointsProgram
|
|
352
|
+
}
|
|
353
|
+
name
|
|
354
|
+
startDate
|
|
355
|
+
endDate
|
|
356
|
+
multiplier
|
|
357
|
+
criteria {
|
|
358
|
+
...PointsCriteria
|
|
359
|
+
}
|
|
360
|
+
userEligible
|
|
361
|
+
}`,[O,U]),qt=e(`fragment BorrowPoints on BorrowPointsReward {
|
|
362
|
+
__typename
|
|
363
|
+
id
|
|
364
|
+
program {
|
|
365
|
+
...PointsProgram
|
|
366
|
+
}
|
|
367
|
+
name
|
|
368
|
+
startDate
|
|
369
|
+
endDate
|
|
370
|
+
multiplier
|
|
371
|
+
criteria {
|
|
372
|
+
...PointsCriteria
|
|
373
|
+
}
|
|
374
|
+
userEligible
|
|
375
|
+
}`,[O,U]),pe=e(`fragment Reward on Reward {
|
|
331
376
|
__typename
|
|
332
377
|
... on MerklSupplyReward {
|
|
333
378
|
...MerklSupplyReward
|
|
@@ -335,7 +380,13 @@
|
|
|
335
380
|
... on MerklBorrowReward {
|
|
336
381
|
...MerklBorrowReward
|
|
337
382
|
}
|
|
338
|
-
|
|
383
|
+
... on SupplyPointsReward {
|
|
384
|
+
...SupplyPoints
|
|
385
|
+
}
|
|
386
|
+
... on BorrowPointsReward {
|
|
387
|
+
...BorrowPoints
|
|
388
|
+
}
|
|
389
|
+
}`,[Rt,ft,wt,qt]),xt=e(`fragment UserMerklClaimableReward on UserMerklClaimableReward {
|
|
339
390
|
__typename
|
|
340
391
|
id
|
|
341
392
|
claimable {
|
|
@@ -344,12 +395,12 @@
|
|
|
344
395
|
startDate
|
|
345
396
|
endDate
|
|
346
397
|
claimUntil
|
|
347
|
-
}`,[
|
|
398
|
+
}`,[u]),se=e(`fragment UserClaimableReward on UserClaimableReward {
|
|
348
399
|
__typename
|
|
349
400
|
... on UserMerklClaimableReward {
|
|
350
401
|
...UserMerklClaimableReward
|
|
351
402
|
}
|
|
352
|
-
}`,[
|
|
403
|
+
}`,[xt]);var l=e(`fragment Spoke on Spoke {
|
|
353
404
|
__typename
|
|
354
405
|
id
|
|
355
406
|
name
|
|
@@ -357,12 +408,12 @@
|
|
|
357
408
|
chain {
|
|
358
409
|
...Chain
|
|
359
410
|
}
|
|
360
|
-
}`,[
|
|
411
|
+
}`,[o]),Pt=e(`fragment SpokePositionManager on SpokePositionManager {
|
|
361
412
|
__typename
|
|
362
413
|
address
|
|
363
414
|
active
|
|
364
415
|
name
|
|
365
|
-
}`),
|
|
416
|
+
}`),ie=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
366
417
|
__typename
|
|
367
418
|
items {
|
|
368
419
|
...SpokePositionManager
|
|
@@ -370,13 +421,13 @@
|
|
|
370
421
|
pageInfo {
|
|
371
422
|
...PaginatedResultInfo
|
|
372
423
|
}
|
|
373
|
-
}`,[
|
|
424
|
+
}`,[Pt,R]),ht=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
374
425
|
__typename
|
|
375
426
|
address
|
|
376
427
|
approvedOn
|
|
377
428
|
active
|
|
378
429
|
name
|
|
379
|
-
}`),
|
|
430
|
+
}`),ue=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
380
431
|
__typename
|
|
381
432
|
items {
|
|
382
433
|
...SpokeUserPositionManager
|
|
@@ -384,7 +435,7 @@
|
|
|
384
435
|
pageInfo {
|
|
385
436
|
...PaginatedResultInfo
|
|
386
437
|
}
|
|
387
|
-
}`,[
|
|
438
|
+
}`,[ht,R]);var Ft=e(`fragment ReserveSettings on ReserveSettings {
|
|
388
439
|
__typename
|
|
389
440
|
collateralFactor {
|
|
390
441
|
...PercentNumber
|
|
@@ -409,12 +460,12 @@
|
|
|
409
460
|
supplyCap {
|
|
410
461
|
...Erc20Amount
|
|
411
462
|
}
|
|
412
|
-
}`,[a,
|
|
463
|
+
}`,[a,u]),At=e(`fragment ReserveStatus on ReserveStatus {
|
|
413
464
|
__typename
|
|
414
465
|
frozen
|
|
415
466
|
paused
|
|
416
467
|
active
|
|
417
|
-
}`),
|
|
468
|
+
}`),bt=e(`fragment ReserveSummary on ReserveSummary {
|
|
418
469
|
__typename
|
|
419
470
|
supplied {
|
|
420
471
|
...Erc20Amount
|
|
@@ -431,7 +482,7 @@
|
|
|
431
482
|
rewards {
|
|
432
483
|
...Reward
|
|
433
484
|
}
|
|
434
|
-
}`,[
|
|
485
|
+
}`,[u,a,pe]),It=e(`fragment ReserveUserState on ReserveUserState {
|
|
435
486
|
__typename
|
|
436
487
|
balance {
|
|
437
488
|
...Erc20Amount
|
|
@@ -455,7 +506,7 @@
|
|
|
455
506
|
...PercentNumber
|
|
456
507
|
}
|
|
457
508
|
dynamicConfigKey
|
|
458
|
-
}`,[
|
|
509
|
+
}`,[u,a]),I=e(`fragment Reserve on Reserve {
|
|
459
510
|
__typename
|
|
460
511
|
id
|
|
461
512
|
onChainId
|
|
@@ -484,13 +535,13 @@
|
|
|
484
535
|
asset {
|
|
485
536
|
...HubAsset
|
|
486
537
|
}
|
|
487
|
-
}`,[
|
|
538
|
+
}`,[l,o,bt,Ft,At,It,C]),c=e(`fragment ReserveInfo on ReserveInfo {
|
|
488
539
|
__typename
|
|
489
540
|
id
|
|
490
541
|
asset {
|
|
491
542
|
...HubAsset
|
|
492
543
|
}
|
|
493
|
-
}`,[C]);var
|
|
544
|
+
}`,[C]);var p=e(`fragment TransactionRequest on TransactionRequest {
|
|
494
545
|
__typename
|
|
495
546
|
to
|
|
496
547
|
from
|
|
@@ -498,7 +549,7 @@
|
|
|
498
549
|
value
|
|
499
550
|
chainId
|
|
500
551
|
operations
|
|
501
|
-
}`),
|
|
552
|
+
}`),K=e(`fragment Erc20Approval on Erc20Approval {
|
|
502
553
|
__typename
|
|
503
554
|
byTransaction {
|
|
504
555
|
...TransactionRequest
|
|
@@ -506,7 +557,7 @@
|
|
|
506
557
|
bySignature {
|
|
507
558
|
...PermitTypedData
|
|
508
559
|
}
|
|
509
|
-
}`,[
|
|
560
|
+
}`,[p,oe]),_=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
510
561
|
__typename
|
|
511
562
|
approvals {
|
|
512
563
|
...Erc20Approval
|
|
@@ -521,7 +572,7 @@
|
|
|
521
572
|
originalTransaction {
|
|
522
573
|
...TransactionRequest
|
|
523
574
|
}
|
|
524
|
-
}`,[
|
|
575
|
+
}`,[p,K,y]),Tt=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
525
576
|
__typename
|
|
526
577
|
transaction {
|
|
527
578
|
...TransactionRequest
|
|
@@ -530,7 +581,7 @@
|
|
|
530
581
|
originalTransaction {
|
|
531
582
|
...TransactionRequest
|
|
532
583
|
}
|
|
533
|
-
}`,[
|
|
584
|
+
}`,[p]),B=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
534
585
|
__typename
|
|
535
586
|
... on TransactionRequest {
|
|
536
587
|
...TransactionRequest
|
|
@@ -544,7 +595,7 @@
|
|
|
544
595
|
... on InsufficientBalanceError {
|
|
545
596
|
...InsufficientBalanceError
|
|
546
597
|
}
|
|
547
|
-
}`,[
|
|
598
|
+
}`,[p,_,Tt,f]);var kt=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
548
599
|
__typename
|
|
549
600
|
networkCosts {
|
|
550
601
|
...TokenAmount
|
|
@@ -558,7 +609,7 @@
|
|
|
558
609
|
providerFee {
|
|
559
610
|
...TokenAmount
|
|
560
611
|
}
|
|
561
|
-
}`,[S]),
|
|
612
|
+
}`,[S]),V=e(`fragment SwapQuote on SwapQuote {
|
|
562
613
|
__typename
|
|
563
614
|
accuracy
|
|
564
615
|
quoteId
|
|
@@ -583,7 +634,7 @@
|
|
|
583
634
|
finalSell {
|
|
584
635
|
...TokenAmount
|
|
585
636
|
}
|
|
586
|
-
}`,[a,S,
|
|
637
|
+
}`,[a,S,kt]),M=e(`fragment SwapTypedData on SwapTypedData {
|
|
587
638
|
__typename
|
|
588
639
|
primaryType
|
|
589
640
|
types
|
|
@@ -591,19 +642,19 @@
|
|
|
591
642
|
...DomainData
|
|
592
643
|
}
|
|
593
644
|
message
|
|
594
|
-
}`,[
|
|
645
|
+
}`,[W]),me=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
595
646
|
__typename
|
|
596
647
|
newQuoteId
|
|
597
648
|
data {
|
|
598
649
|
...SwapTypedData
|
|
599
650
|
}
|
|
600
|
-
}`,[
|
|
651
|
+
}`,[M]),vt=e(`fragment SwapByIntent on SwapByIntent {
|
|
601
652
|
__typename
|
|
602
653
|
quote {
|
|
603
654
|
...SwapQuote
|
|
604
655
|
}
|
|
605
656
|
|
|
606
|
-
}`,[
|
|
657
|
+
}`,[V]),Ct=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
607
658
|
__typename
|
|
608
659
|
approvals {
|
|
609
660
|
...Erc20Approval
|
|
@@ -611,16 +662,16 @@
|
|
|
611
662
|
quote {
|
|
612
663
|
...SwapQuote
|
|
613
664
|
}
|
|
614
|
-
}`,[
|
|
665
|
+
}`,[K,V]),Et=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
615
666
|
__typename
|
|
616
667
|
quote {
|
|
617
668
|
...SwapQuote
|
|
618
669
|
}
|
|
619
|
-
}`,[
|
|
670
|
+
}`,[V]),le=e(`fragment SwapReceipt on SwapReceipt {
|
|
620
671
|
__typename
|
|
621
672
|
id
|
|
622
673
|
createdAt
|
|
623
|
-
}`),
|
|
674
|
+
}`),ye=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
624
675
|
__typename
|
|
625
676
|
... on SwapByIntent {
|
|
626
677
|
...SwapByIntent
|
|
@@ -634,7 +685,7 @@
|
|
|
634
685
|
... on InsufficientLiquidityError {
|
|
635
686
|
...InsufficientLiquidityError
|
|
636
687
|
}
|
|
637
|
-
}`,[
|
|
688
|
+
}`,[vt,Ct,Et,b]),ce=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
638
689
|
__typename
|
|
639
690
|
... on PrepareSwapOrder {
|
|
640
691
|
...PrepareSwapOrder
|
|
@@ -642,7 +693,7 @@
|
|
|
642
693
|
... on InsufficientBalanceError {
|
|
643
694
|
...InsufficientBalanceError
|
|
644
695
|
}
|
|
645
|
-
}`,[
|
|
696
|
+
}`,[me,f]),Ut=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
646
697
|
__typename
|
|
647
698
|
transaction {
|
|
648
699
|
...TransactionRequest
|
|
@@ -650,7 +701,7 @@
|
|
|
650
701
|
orderReceipt {
|
|
651
702
|
...SwapReceipt
|
|
652
703
|
}
|
|
653
|
-
}`,[
|
|
704
|
+
}`,[p,le]),ge=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
654
705
|
__typename
|
|
655
706
|
... on SwapTransactionRequest {
|
|
656
707
|
...SwapTransactionRequest
|
|
@@ -661,7 +712,7 @@
|
|
|
661
712
|
... on InsufficientBalanceError {
|
|
662
713
|
...InsufficientBalanceError
|
|
663
714
|
}
|
|
664
|
-
}`,[
|
|
715
|
+
}`,[Ut,le,f]),x=e(`fragment PositionAmount on PositionAmount {
|
|
665
716
|
__typename
|
|
666
717
|
reserve {
|
|
667
718
|
...ReserveInfo
|
|
@@ -669,7 +720,7 @@
|
|
|
669
720
|
amount {
|
|
670
721
|
...Erc20Amount
|
|
671
722
|
}
|
|
672
|
-
}`,[
|
|
723
|
+
}`,[c,u]),Ot=e(`fragment SupplySwap on SupplySwap {
|
|
673
724
|
__typename
|
|
674
725
|
sell {
|
|
675
726
|
...PositionAmount
|
|
@@ -679,7 +730,7 @@
|
|
|
679
730
|
}
|
|
680
731
|
kind
|
|
681
732
|
orderClass
|
|
682
|
-
}`,[
|
|
733
|
+
}`,[x]),_t=e(`fragment BorrowSwap on BorrowSwap {
|
|
683
734
|
__typename
|
|
684
735
|
sell {
|
|
685
736
|
...PositionAmount
|
|
@@ -689,7 +740,7 @@
|
|
|
689
740
|
}
|
|
690
741
|
kind
|
|
691
742
|
orderClass
|
|
692
|
-
}`,[
|
|
743
|
+
}`,[x]),Bt=e(`fragment RepayWithSupply on RepayWithSupply {
|
|
693
744
|
__typename
|
|
694
745
|
repay {
|
|
695
746
|
...PositionAmount
|
|
@@ -699,7 +750,7 @@
|
|
|
699
750
|
}
|
|
700
751
|
kind
|
|
701
752
|
orderClass
|
|
702
|
-
}`,[
|
|
753
|
+
}`,[x]),Qt=e(`fragment WithdrawSwap on WithdrawSwap {
|
|
703
754
|
__typename
|
|
704
755
|
withdraw {
|
|
705
756
|
...PositionAmount
|
|
@@ -709,7 +760,7 @@
|
|
|
709
760
|
}
|
|
710
761
|
kind
|
|
711
762
|
orderClass
|
|
712
|
-
}`,[
|
|
763
|
+
}`,[x,S]),Ht=e(`fragment TokenSwap on TokenSwap {
|
|
713
764
|
__typename
|
|
714
765
|
sell {
|
|
715
766
|
...TokenAmount
|
|
@@ -719,7 +770,7 @@
|
|
|
719
770
|
}
|
|
720
771
|
kind
|
|
721
772
|
orderClass
|
|
722
|
-
}`,[S]),
|
|
773
|
+
}`,[S]),Q=e(`fragment SwapOperation on SwapOperation {
|
|
723
774
|
__typename
|
|
724
775
|
... on SupplySwap {
|
|
725
776
|
...SupplySwap
|
|
@@ -736,7 +787,7 @@
|
|
|
736
787
|
... on TokenSwap {
|
|
737
788
|
...TokenSwap
|
|
738
789
|
}
|
|
739
|
-
}`,[
|
|
790
|
+
}`,[Ot,_t,Bt,Qt,Ht]),Wt=e(`fragment SwapCancelled on SwapCancelled {
|
|
740
791
|
__typename
|
|
741
792
|
swapId
|
|
742
793
|
createdAt
|
|
@@ -745,7 +796,7 @@
|
|
|
745
796
|
operation {
|
|
746
797
|
...SwapOperation
|
|
747
798
|
}
|
|
748
|
-
}`,[
|
|
799
|
+
}`,[Q]),Vt=e(`fragment SwapExpired on SwapExpired {
|
|
749
800
|
__typename
|
|
750
801
|
swapId
|
|
751
802
|
createdAt
|
|
@@ -754,7 +805,7 @@
|
|
|
754
805
|
operation {
|
|
755
806
|
...SwapOperation
|
|
756
807
|
}
|
|
757
|
-
}`,[
|
|
808
|
+
}`,[Q]),Mt=e(`fragment SwapOpen on SwapOpen {
|
|
758
809
|
__typename
|
|
759
810
|
swapId
|
|
760
811
|
createdAt
|
|
@@ -763,7 +814,7 @@
|
|
|
763
814
|
operation {
|
|
764
815
|
...SwapOperation
|
|
765
816
|
}
|
|
766
|
-
}`,[
|
|
817
|
+
}`,[Q]),$t=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
767
818
|
__typename
|
|
768
819
|
swapId
|
|
769
820
|
createdAt
|
|
@@ -772,7 +823,7 @@
|
|
|
772
823
|
operation {
|
|
773
824
|
...SwapOperation
|
|
774
825
|
}
|
|
775
|
-
}`,[
|
|
826
|
+
}`,[Q]),Nt=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
776
827
|
__typename
|
|
777
828
|
swapId
|
|
778
829
|
txHash
|
|
@@ -783,7 +834,7 @@
|
|
|
783
834
|
operation {
|
|
784
835
|
...SwapOperation
|
|
785
836
|
}
|
|
786
|
-
}`,[
|
|
837
|
+
}`,[Q]),Y=e(`fragment SwapStatus on SwapStatus {
|
|
787
838
|
__typename
|
|
788
839
|
... on SwapOpen {
|
|
789
840
|
...SwapOpen
|
|
@@ -800,18 +851,18 @@
|
|
|
800
851
|
... on SwapFulfilled {
|
|
801
852
|
...SwapFulfilled
|
|
802
853
|
}
|
|
803
|
-
}`,[
|
|
854
|
+
}`,[Mt,$t,Wt,Vt,Nt]),de=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
804
855
|
__typename
|
|
805
856
|
data {
|
|
806
857
|
...SwapTypedData
|
|
807
858
|
}
|
|
808
|
-
}`,[
|
|
859
|
+
}`,[M]),Dt=e(`fragment SwapCancelledResult on SwapCancelledResult {
|
|
809
860
|
__typename
|
|
810
861
|
swapId
|
|
811
862
|
createdAt
|
|
812
863
|
cancelledAt
|
|
813
864
|
explorerUrl
|
|
814
|
-
}`),
|
|
865
|
+
}`),Se=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
815
866
|
__typename
|
|
816
867
|
... on TransactionRequest {
|
|
817
868
|
...TransactionRequest
|
|
@@ -819,7 +870,7 @@
|
|
|
819
870
|
... on SwapCancelledResult {
|
|
820
871
|
...SwapCancelledResult
|
|
821
872
|
}
|
|
822
|
-
}`,[
|
|
873
|
+
}`,[p,Dt]),Re=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
823
874
|
__typename
|
|
824
875
|
items {
|
|
825
876
|
...SwapStatus
|
|
@@ -827,12 +878,12 @@
|
|
|
827
878
|
pageInfo {
|
|
828
879
|
...PaginatedResultInfo
|
|
829
880
|
}
|
|
830
|
-
}`,[
|
|
881
|
+
}`,[Y,R]),Lt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
831
882
|
__typename
|
|
832
883
|
bySignature {
|
|
833
884
|
...SwapTypedData
|
|
834
885
|
}
|
|
835
|
-
}`,[
|
|
886
|
+
}`,[M]),Gt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
836
887
|
__typename
|
|
837
888
|
byTransaction {
|
|
838
889
|
...TransactionRequest
|
|
@@ -840,7 +891,7 @@
|
|
|
840
891
|
bySignature {
|
|
841
892
|
...SwapTypedData
|
|
842
893
|
}
|
|
843
|
-
}`,[
|
|
894
|
+
}`,[p,M]),Kt=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
844
895
|
__typename
|
|
845
896
|
... on PositionSwapAdapterContractApproval {
|
|
846
897
|
...PositionSwapAdapterContractApproval
|
|
@@ -848,7 +899,7 @@
|
|
|
848
899
|
... on PositionSwapPositionManagerApproval {
|
|
849
900
|
...PositionSwapPositionManagerApproval
|
|
850
901
|
}
|
|
851
|
-
}`,[
|
|
902
|
+
}`,[Lt,Gt]),$=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
852
903
|
__typename
|
|
853
904
|
quote {
|
|
854
905
|
...SwapQuote
|
|
@@ -856,7 +907,7 @@
|
|
|
856
907
|
approvals {
|
|
857
908
|
...PositionSwapApproval
|
|
858
909
|
}
|
|
859
|
-
}`,[
|
|
910
|
+
}`,[V,Kt]),fe=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
860
911
|
__typename
|
|
861
912
|
... on PositionSwapByIntentApprovalsRequired {
|
|
862
913
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -864,7 +915,7 @@
|
|
|
864
915
|
... on InsufficientLiquidityError {
|
|
865
916
|
...InsufficientLiquidityError
|
|
866
917
|
}
|
|
867
|
-
}`,[
|
|
918
|
+
}`,[$,b]),we=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
868
919
|
__typename
|
|
869
920
|
... on PositionSwapByIntentApprovalsRequired {
|
|
870
921
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -872,7 +923,7 @@
|
|
|
872
923
|
... on InsufficientLiquidityError {
|
|
873
924
|
...InsufficientLiquidityError
|
|
874
925
|
}
|
|
875
|
-
}`,[
|
|
926
|
+
}`,[$,b]),qe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
876
927
|
__typename
|
|
877
928
|
... on PositionSwapByIntentApprovalsRequired {
|
|
878
929
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -880,7 +931,7 @@
|
|
|
880
931
|
... on InsufficientLiquidityError {
|
|
881
932
|
...InsufficientLiquidityError
|
|
882
933
|
}
|
|
883
|
-
}`,[
|
|
934
|
+
}`,[$,b]),xe=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
884
935
|
__typename
|
|
885
936
|
... on PositionSwapByIntentApprovalsRequired {
|
|
886
937
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -888,7 +939,7 @@
|
|
|
888
939
|
... on InsufficientLiquidityError {
|
|
889
940
|
...InsufficientLiquidityError
|
|
890
941
|
}
|
|
891
|
-
}`,[
|
|
942
|
+
}`,[$,b]),Pe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
892
943
|
__typename
|
|
893
944
|
... on PrepareSwapOrder {
|
|
894
945
|
...PrepareSwapOrder
|
|
@@ -896,7 +947,7 @@
|
|
|
896
947
|
... on InsufficientBalanceError {
|
|
897
948
|
...InsufficientBalanceError
|
|
898
949
|
}
|
|
899
|
-
}`,[
|
|
950
|
+
}`,[me,f]);var he=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
900
951
|
__typename
|
|
901
952
|
id
|
|
902
953
|
reserve {
|
|
@@ -913,7 +964,7 @@
|
|
|
913
964
|
}
|
|
914
965
|
isCollateral
|
|
915
966
|
createdAt
|
|
916
|
-
}`,[
|
|
967
|
+
}`,[u,I]),Fe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
917
968
|
__typename
|
|
918
969
|
id
|
|
919
970
|
principal {
|
|
@@ -929,7 +980,7 @@
|
|
|
929
980
|
...Reserve
|
|
930
981
|
}
|
|
931
982
|
createdAt
|
|
932
|
-
}`,[
|
|
983
|
+
}`,[u,I]),Ae=e(`fragment UserSummary on UserSummary {
|
|
933
984
|
__typename
|
|
934
985
|
totalPositions
|
|
935
986
|
netBalance(currency: $currency) {
|
|
@@ -951,7 +1002,7 @@
|
|
|
951
1002
|
...ExchangeAmount
|
|
952
1003
|
}
|
|
953
1004
|
lowestHealthFactor
|
|
954
|
-
}`,[
|
|
1005
|
+
}`,[h,m,a]),be=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
955
1006
|
__typename
|
|
956
1007
|
token {
|
|
957
1008
|
...Erc20Token
|
|
@@ -965,7 +1016,7 @@
|
|
|
965
1016
|
collateral {
|
|
966
1017
|
...PercentNumber
|
|
967
1018
|
}
|
|
968
|
-
}`,[
|
|
1019
|
+
}`,[s,a]),Yt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
969
1020
|
__typename
|
|
970
1021
|
current {
|
|
971
1022
|
...PercentNumber
|
|
@@ -973,7 +1024,7 @@
|
|
|
973
1024
|
latest {
|
|
974
1025
|
...PercentNumber
|
|
975
1026
|
}
|
|
976
|
-
}`,[a]),
|
|
1027
|
+
}`,[a]),z=e(`fragment UserPosition on UserPosition {
|
|
977
1028
|
__typename
|
|
978
1029
|
id
|
|
979
1030
|
spoke {
|
|
@@ -1027,7 +1078,7 @@
|
|
|
1027
1078
|
averageCollateralFactor {
|
|
1028
1079
|
...PercentNumber
|
|
1029
1080
|
}
|
|
1030
|
-
}`,[
|
|
1081
|
+
}`,[l,a,h,m,ee,ae,Yt]),Ie=e(`fragment UserBalance on UserBalance {
|
|
1031
1082
|
__typename
|
|
1032
1083
|
id
|
|
1033
1084
|
info {
|
|
@@ -1060,7 +1111,7 @@
|
|
|
1060
1111
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
1061
1112
|
...PercentNumber
|
|
1062
1113
|
}
|
|
1063
|
-
}`,[v,
|
|
1114
|
+
}`,[v,y,S,m,a]),Te=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
1064
1115
|
__typename
|
|
1065
1116
|
netBalance(currency: $currency) {
|
|
1066
1117
|
...ExchangeAmount
|
|
@@ -1073,25 +1124,211 @@
|
|
|
1073
1124
|
}
|
|
1074
1125
|
healthFactor
|
|
1075
1126
|
date
|
|
1076
|
-
}`,[
|
|
1127
|
+
}`,[m]),Z=e(`fragment ApySample on ApySample {
|
|
1077
1128
|
__typename
|
|
1078
1129
|
date
|
|
1079
1130
|
avgRate {
|
|
1080
1131
|
...PercentNumber
|
|
1081
1132
|
}
|
|
1082
|
-
}`,[a]);var
|
|
1133
|
+
}`,[a]);var zt=e(`fragment BoostedRate on BoostedRate {
|
|
1134
|
+
__typename
|
|
1135
|
+
id
|
|
1136
|
+
name
|
|
1137
|
+
userCount
|
|
1138
|
+
apy {
|
|
1139
|
+
...PercentNumber
|
|
1140
|
+
}
|
|
1141
|
+
}`,[a]),Zt=e(`fragment StableVaultSummary on StableVaultSummary {
|
|
1142
|
+
__typename
|
|
1143
|
+
shares
|
|
1144
|
+
userCount
|
|
1145
|
+
totalDeposits
|
|
1146
|
+
}`),jt=e(`fragment StableVaultRates on StableVaultRates {
|
|
1147
|
+
__typename
|
|
1148
|
+
baseRate {
|
|
1149
|
+
...PercentNumber
|
|
1150
|
+
}
|
|
1151
|
+
name
|
|
1152
|
+
boostedRates {
|
|
1153
|
+
...BoostedRate
|
|
1154
|
+
}
|
|
1155
|
+
}`,[a,zt]),N=e(`fragment StableVault on StableVault {
|
|
1156
|
+
__typename
|
|
1157
|
+
id
|
|
1158
|
+
name
|
|
1159
|
+
address
|
|
1160
|
+
admin
|
|
1161
|
+
chain {
|
|
1162
|
+
...Chain
|
|
1163
|
+
}
|
|
1164
|
+
summary {
|
|
1165
|
+
...StableVaultSummary
|
|
1166
|
+
}
|
|
1167
|
+
rates {
|
|
1168
|
+
...StableVaultRates
|
|
1169
|
+
}
|
|
1170
|
+
}`,[o,Zt,jt]),ke=e(`fragment StableVaultUserPosition on StableVaultUserPosition {
|
|
1171
|
+
__typename
|
|
1172
|
+
id
|
|
1173
|
+
vault {
|
|
1174
|
+
...StableVault
|
|
1175
|
+
}
|
|
1176
|
+
user
|
|
1177
|
+
principal {
|
|
1178
|
+
...DecimalNumber
|
|
1179
|
+
}
|
|
1180
|
+
interests {
|
|
1181
|
+
...DecimalNumber
|
|
1182
|
+
}
|
|
1183
|
+
shares {
|
|
1184
|
+
...DecimalNumber
|
|
1185
|
+
}
|
|
1186
|
+
totalBalance {
|
|
1187
|
+
...DecimalNumber
|
|
1188
|
+
}
|
|
1189
|
+
apy {
|
|
1190
|
+
...PercentNumber
|
|
1191
|
+
}
|
|
1192
|
+
boostedRateId
|
|
1193
|
+
}`,[N,y,a]),Jt=e(`fragment TokenMovementAllocate on TokenMovementAllocate {
|
|
1194
|
+
__typename
|
|
1195
|
+
token {
|
|
1196
|
+
...Erc20Token
|
|
1197
|
+
}
|
|
1198
|
+
amount
|
|
1199
|
+
}`,[s]),Xt=e(`fragment TokenMovementBridgeIn on TokenMovementBridgeIn {
|
|
1200
|
+
__typename
|
|
1201
|
+
fromToken {
|
|
1202
|
+
...Erc20Token
|
|
1203
|
+
}
|
|
1204
|
+
toToken {
|
|
1205
|
+
...Erc20Token
|
|
1206
|
+
}
|
|
1207
|
+
amount
|
|
1208
|
+
}`,[s]),er=e(`fragment TokenMovementBridgeOut on TokenMovementBridgeOut {
|
|
1209
|
+
__typename
|
|
1210
|
+
fromToken {
|
|
1211
|
+
...Erc20Token
|
|
1212
|
+
}
|
|
1213
|
+
toToken {
|
|
1214
|
+
...Erc20Token
|
|
1215
|
+
}
|
|
1216
|
+
amount
|
|
1217
|
+
}`,[s]),tr=e(`fragment TokenMovementDeallocate on TokenMovementDeallocate {
|
|
1218
|
+
__typename
|
|
1219
|
+
token {
|
|
1220
|
+
...Erc20Token
|
|
1221
|
+
}
|
|
1222
|
+
amount
|
|
1223
|
+
}`,[s]),rr=e(`fragment TokenMovementRebalance on TokenMovementRebalance {
|
|
1224
|
+
__typename
|
|
1225
|
+
token {
|
|
1226
|
+
...Erc20Token
|
|
1227
|
+
}
|
|
1228
|
+
amount
|
|
1229
|
+
}`,[s]),ar=e(`fragment TokenMovementSwap on TokenMovementSwap {
|
|
1230
|
+
__typename
|
|
1231
|
+
fromToken {
|
|
1232
|
+
...Erc20Token
|
|
1233
|
+
}
|
|
1234
|
+
fromAmount
|
|
1235
|
+
toToken {
|
|
1236
|
+
...Erc20Token
|
|
1237
|
+
}
|
|
1238
|
+
toAmount
|
|
1239
|
+
}`,[s]),nr=e(`fragment TokenMovement on TokenMovement {
|
|
1240
|
+
__typename
|
|
1241
|
+
... on TokenMovementAllocate {
|
|
1242
|
+
...TokenMovementAllocate
|
|
1243
|
+
}
|
|
1244
|
+
... on TokenMovementBridgeIn {
|
|
1245
|
+
...TokenMovementBridgeIn
|
|
1246
|
+
}
|
|
1247
|
+
... on TokenMovementBridgeOut {
|
|
1248
|
+
...TokenMovementBridgeOut
|
|
1249
|
+
}
|
|
1250
|
+
... on TokenMovementDeallocate {
|
|
1251
|
+
...TokenMovementDeallocate
|
|
1252
|
+
}
|
|
1253
|
+
... on TokenMovementSwap {
|
|
1254
|
+
...TokenMovementSwap
|
|
1255
|
+
}
|
|
1256
|
+
... on TokenMovementRebalance {
|
|
1257
|
+
...TokenMovementRebalance
|
|
1258
|
+
}
|
|
1259
|
+
}`,[Jt,Xt,er,tr,ar,rr]),or=e(`fragment TokenMovementRecord on TokenMovementRecord {
|
|
1260
|
+
__typename
|
|
1261
|
+
id
|
|
1262
|
+
type {
|
|
1263
|
+
...TokenMovement
|
|
1264
|
+
}
|
|
1265
|
+
status
|
|
1266
|
+
timestamp
|
|
1267
|
+
txHash
|
|
1268
|
+
}`,[nr]),ve=e(`fragment PaginatedStableVaultMovementsResult on PaginatedStableVaultMovementsResult {
|
|
1269
|
+
__typename
|
|
1270
|
+
items {
|
|
1271
|
+
...TokenMovementRecord
|
|
1272
|
+
}
|
|
1273
|
+
pageInfo {
|
|
1274
|
+
...PaginatedResultInfo
|
|
1275
|
+
}
|
|
1276
|
+
}`,[or,R]),Ce=e(`fragment PaginatedStableVaultRateUsersResult on PaginatedStableVaultRateUsersResult {
|
|
1277
|
+
__typename
|
|
1278
|
+
items
|
|
1279
|
+
pageInfo {
|
|
1280
|
+
...PaginatedResultInfo
|
|
1281
|
+
}
|
|
1282
|
+
}`,[R]),pr=e(`fragment StableVaultWithdrawClaim on StableVaultWithdrawClaim {
|
|
1283
|
+
__typename
|
|
1284
|
+
claimId
|
|
1285
|
+
transaction {
|
|
1286
|
+
...TransactionRequest
|
|
1287
|
+
}
|
|
1288
|
+
executableAfter
|
|
1289
|
+
}`,[p]),sr=e(`fragment StableVaultPendingAvailability on StableVaultPendingAvailability {
|
|
1290
|
+
__typename
|
|
1291
|
+
executableAfter
|
|
1292
|
+
}`),Ee=e(`fragment StableVaultDepositExecutionPlan on StableVaultDepositExecutionPlan {
|
|
1293
|
+
__typename
|
|
1294
|
+
... on TransactionRequest {
|
|
1295
|
+
...TransactionRequest
|
|
1296
|
+
}
|
|
1297
|
+
... on Erc20ApprovalRequired {
|
|
1298
|
+
...Erc20ApprovalRequired
|
|
1299
|
+
}
|
|
1300
|
+
... on InsufficientBalanceError {
|
|
1301
|
+
...InsufficientBalanceError
|
|
1302
|
+
}
|
|
1303
|
+
}`,[p,_,f]),Ue=e(`fragment StableVaultWithdrawExecutionPlan on StableVaultWithdrawExecutionPlan {
|
|
1304
|
+
__typename
|
|
1305
|
+
... on TransactionRequest {
|
|
1306
|
+
...TransactionRequest
|
|
1307
|
+
}
|
|
1308
|
+
... on StableVaultWithdrawClaim {
|
|
1309
|
+
...StableVaultWithdrawClaim
|
|
1310
|
+
}
|
|
1311
|
+
}`,[p,pr]),Oe=e(`fragment StableVaultWithdrawRedeemExecutionPlan on StableVaultWithdrawRedeemExecutionPlan {
|
|
1312
|
+
__typename
|
|
1313
|
+
... on TransactionRequest {
|
|
1314
|
+
...TransactionRequest
|
|
1315
|
+
}
|
|
1316
|
+
... on StableVaultPendingAvailability {
|
|
1317
|
+
...StableVaultPendingAvailability
|
|
1318
|
+
}
|
|
1319
|
+
}`,[p,sr]);var $a=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1083
1320
|
value: hub(request: $request) {
|
|
1084
1321
|
...Hub
|
|
1085
1322
|
}
|
|
1086
|
-
}`,[
|
|
1323
|
+
}`,[F]),Na=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1087
1324
|
value: hubs(request: $request) {
|
|
1088
1325
|
...Hub
|
|
1089
1326
|
}
|
|
1090
|
-
}`,[
|
|
1327
|
+
}`,[F]),Da=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1091
1328
|
value: hubAssets(request: $request) {
|
|
1092
1329
|
...HubAsset
|
|
1093
1330
|
}
|
|
1094
|
-
}`,[C]),
|
|
1331
|
+
}`,[C]),ir=e(`fragment HubSummarySample on HubSummarySample {
|
|
1095
1332
|
__typename
|
|
1096
1333
|
date
|
|
1097
1334
|
deposits {
|
|
@@ -1106,11 +1343,11 @@
|
|
|
1106
1343
|
utilizationRate {
|
|
1107
1344
|
...PercentNumber
|
|
1108
1345
|
}
|
|
1109
|
-
}`,[
|
|
1346
|
+
}`,[m,a]),La=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
1110
1347
|
value: hubSummaryHistory(request: $request) {
|
|
1111
1348
|
...HubSummarySample
|
|
1112
1349
|
}
|
|
1113
|
-
}`,[
|
|
1350
|
+
}`,[ir]),ur=e(`fragment HubAssetInterestRateModelPoint on HubAssetInterestRateModelPoint {
|
|
1114
1351
|
__typename
|
|
1115
1352
|
utilizationRate {
|
|
1116
1353
|
...PercentNumber
|
|
@@ -1124,33 +1361,33 @@
|
|
|
1124
1361
|
liquidityDistance {
|
|
1125
1362
|
...Erc20Amount
|
|
1126
1363
|
}
|
|
1127
|
-
}`,[a,
|
|
1364
|
+
}`,[a,u]),Ga=e(`query HubAssetInterestRateModel($request: HubAssetInterestRateModelRequest!, $currency: Currency!) {
|
|
1128
1365
|
value: hubAssetInterestRateModel(request: $request) {
|
|
1129
1366
|
points {
|
|
1130
1367
|
...HubAssetInterestRateModelPoint
|
|
1131
1368
|
}
|
|
1132
1369
|
}
|
|
1133
|
-
}`,[
|
|
1370
|
+
}`,[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!) {
|
|
1134
1371
|
value: chain(request: $request) {
|
|
1135
1372
|
...Chain
|
|
1136
1373
|
}
|
|
1137
|
-
}`,[
|
|
1374
|
+
}`,[o]),vn=e(`query Chains($request: ChainsRequest!) {
|
|
1138
1375
|
value: chains(request: $request) {
|
|
1139
1376
|
...Chain
|
|
1140
1377
|
}
|
|
1141
|
-
}`,[
|
|
1378
|
+
}`,[o]),Cn=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
1142
1379
|
value: hasProcessedKnownTransaction(request: $request)
|
|
1143
|
-
}`),
|
|
1380
|
+
}`),En=e(`query Health {
|
|
1144
1381
|
value: health
|
|
1145
|
-
}`),
|
|
1382
|
+
}`),Un=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
1146
1383
|
value: exchangeRate(request: $request) {
|
|
1147
1384
|
...ExchangeAmount
|
|
1148
1385
|
}
|
|
1149
|
-
}`,[
|
|
1386
|
+
}`,[m]);var cr=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
1150
1387
|
__typename
|
|
1151
1388
|
date
|
|
1152
1389
|
price
|
|
1153
|
-
}`),
|
|
1390
|
+
}`),Be=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
|
|
1154
1391
|
__typename
|
|
1155
1392
|
amount {
|
|
1156
1393
|
...DecimalNumber
|
|
@@ -1161,7 +1398,7 @@
|
|
|
1161
1398
|
hub {
|
|
1162
1399
|
...Hub
|
|
1163
1400
|
}
|
|
1164
|
-
}`,[
|
|
1401
|
+
}`,[y,a,F]),gr=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
1165
1402
|
__typename
|
|
1166
1403
|
date
|
|
1167
1404
|
amount {
|
|
@@ -1179,7 +1416,7 @@
|
|
|
1179
1416
|
breakdown {
|
|
1180
1417
|
...AssetSampleBreakdown
|
|
1181
1418
|
}
|
|
1182
|
-
}`,[
|
|
1419
|
+
}`,[y,a,Be]),dr=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
1183
1420
|
__typename
|
|
1184
1421
|
date
|
|
1185
1422
|
amount {
|
|
@@ -1197,7 +1434,7 @@
|
|
|
1197
1434
|
breakdown {
|
|
1198
1435
|
...AssetSampleBreakdown
|
|
1199
1436
|
}
|
|
1200
|
-
}`,[
|
|
1437
|
+
}`,[y,a,Be]),Sr=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1201
1438
|
__typename
|
|
1202
1439
|
amount {
|
|
1203
1440
|
...DecimalNumberWithChange
|
|
@@ -1205,7 +1442,7 @@
|
|
|
1205
1442
|
exchange(currency: $currency) {
|
|
1206
1443
|
...ExchangeAmountWithChange
|
|
1207
1444
|
}
|
|
1208
|
-
}`,[
|
|
1445
|
+
}`,[j,h]),Rr=e(`fragment AssetSummary on AssetSummary {
|
|
1209
1446
|
__typename
|
|
1210
1447
|
totalSupplyCap {
|
|
1211
1448
|
...AssetAmountWithChange
|
|
@@ -1231,7 +1468,7 @@
|
|
|
1231
1468
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1232
1469
|
...PercentNumber
|
|
1233
1470
|
}
|
|
1234
|
-
}`,[
|
|
1471
|
+
}`,[Sr,a]),fr=e(`fragment Asset on Asset {
|
|
1235
1472
|
__typename
|
|
1236
1473
|
id
|
|
1237
1474
|
token {
|
|
@@ -1243,23 +1480,23 @@
|
|
|
1243
1480
|
price(currency: $currency) {
|
|
1244
1481
|
...ExchangeAmountWithChange
|
|
1245
1482
|
}
|
|
1246
|
-
}`,[
|
|
1483
|
+
}`,[s,Rr,h]),Qn=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1247
1484
|
value: asset(request: $request) {
|
|
1248
1485
|
...Asset
|
|
1249
1486
|
}
|
|
1250
|
-
}`,[
|
|
1487
|
+
}`,[fr]),Hn=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1251
1488
|
value: assetPriceHistory(request: $request) {
|
|
1252
1489
|
...AssetPriceSample
|
|
1253
1490
|
}
|
|
1254
|
-
}`,[
|
|
1491
|
+
}`,[cr]),Wn=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1255
1492
|
value: assetSupplyHistory(request: $request) {
|
|
1256
1493
|
...AssetSupplySample
|
|
1257
1494
|
}
|
|
1258
|
-
}`,[
|
|
1495
|
+
}`,[gr]),Vn=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1259
1496
|
value: assetBorrowHistory(request: $request) {
|
|
1260
1497
|
...AssetBorrowSample
|
|
1261
1498
|
}
|
|
1262
|
-
}`,[
|
|
1499
|
+
}`,[dr]),wr=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1263
1500
|
__typename
|
|
1264
1501
|
date
|
|
1265
1502
|
deposits {
|
|
@@ -1268,119 +1505,119 @@
|
|
|
1268
1505
|
borrows {
|
|
1269
1506
|
...ExchangeAmount
|
|
1270
1507
|
}
|
|
1271
|
-
}`,[
|
|
1508
|
+
}`,[m]),Mn=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1272
1509
|
value: protocolHistory(request: $request) {
|
|
1273
1510
|
...ProtocolHistorySample
|
|
1274
1511
|
}
|
|
1275
|
-
}`,[
|
|
1512
|
+
}`,[wr]);var Ln=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1276
1513
|
value: borrowApyHistory(request: $request) {
|
|
1277
1514
|
...ApySample
|
|
1278
1515
|
}
|
|
1279
|
-
}`,[
|
|
1516
|
+
}`,[Z]),Gn=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1280
1517
|
value: supplyApyHistory(request: $request) {
|
|
1281
1518
|
...ApySample
|
|
1282
1519
|
}
|
|
1283
|
-
}`,[
|
|
1520
|
+
}`,[Z]),Kn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1284
1521
|
value: reserve(request: $request) {
|
|
1285
1522
|
...Reserve
|
|
1286
1523
|
}
|
|
1287
|
-
}`,[
|
|
1524
|
+
}`,[I]),Yn=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1288
1525
|
value: reserves(request: $request) {
|
|
1289
1526
|
...Reserve
|
|
1290
1527
|
}
|
|
1291
|
-
}`,[
|
|
1528
|
+
}`,[I]);var Jn=e(`query ClaimRewards($request: ClaimRewardsRequest!) {
|
|
1292
1529
|
value: claimRewards(request: $request) {
|
|
1293
1530
|
...TransactionRequest
|
|
1294
1531
|
}
|
|
1295
|
-
}`,[
|
|
1532
|
+
}`,[p]),Xn=e(`query UserClaimableRewards($request: UserClaimableRewardsRequest!, $currency: Currency! = USD) {
|
|
1296
1533
|
value: userClaimableRewards(request: $request) {
|
|
1297
1534
|
...UserClaimableReward
|
|
1298
1535
|
}
|
|
1299
|
-
}`,[
|
|
1536
|
+
}`,[se]);var ao=e(`query Spoke($request: SpokeRequest!) {
|
|
1300
1537
|
value: spoke(request: $request) {
|
|
1301
1538
|
...Spoke
|
|
1302
1539
|
}
|
|
1303
|
-
}`,[
|
|
1540
|
+
}`,[l]),no=e(`query Spokes($request: SpokesRequest!) {
|
|
1304
1541
|
value: spokes(request: $request) {
|
|
1305
1542
|
...Spoke
|
|
1306
1543
|
}
|
|
1307
|
-
}`,[
|
|
1544
|
+
}`,[l]),oo=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1308
1545
|
value: spokePositionManagers(request: $request) {
|
|
1309
1546
|
...PaginatedSpokePositionManagerResult
|
|
1310
1547
|
}
|
|
1311
|
-
}`,[
|
|
1548
|
+
}`,[ie]),po=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1312
1549
|
value: spokeUserPositionManagers(request: $request) {
|
|
1313
1550
|
...PaginatedSpokeUserPositionManagerResult
|
|
1314
1551
|
}
|
|
1315
|
-
}`,[
|
|
1552
|
+
}`,[ue]);var mo=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1316
1553
|
value: tokenSwapQuote(request: $request) {
|
|
1317
1554
|
...TokenSwapQuoteResult
|
|
1318
1555
|
}
|
|
1319
|
-
}`,[
|
|
1556
|
+
}`,[ye]),lo=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1320
1557
|
value: swappableTokens(request: $request) {
|
|
1321
1558
|
...Token
|
|
1322
1559
|
}
|
|
1323
|
-
}`,[
|
|
1560
|
+
}`,[X]),yo=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1324
1561
|
value: prepareTokenSwap(request: $request) {
|
|
1325
1562
|
...PrepareTokenSwapResult
|
|
1326
1563
|
}
|
|
1327
|
-
}`,[
|
|
1564
|
+
}`,[ce]),co=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1328
1565
|
value: swapStatus(request: $request) {
|
|
1329
1566
|
...SwapStatus
|
|
1330
1567
|
}
|
|
1331
|
-
}`,[
|
|
1568
|
+
}`,[Y]),go=e(`mutation Swap($request: SwapRequest!) {
|
|
1332
1569
|
value: swap(request: $request) {
|
|
1333
1570
|
...SwapExecutionPlan
|
|
1334
1571
|
}
|
|
1335
|
-
}`,[
|
|
1572
|
+
}`,[ge]),So=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1336
1573
|
value: prepareSwapCancel(request: $request) {
|
|
1337
1574
|
...PrepareSwapCancelResult
|
|
1338
1575
|
}
|
|
1339
|
-
}`,[
|
|
1576
|
+
}`,[de]),Ro=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1340
1577
|
value: cancelSwap(request: $request) {
|
|
1341
1578
|
...CancelSwapExecutionPlan
|
|
1342
1579
|
}
|
|
1343
|
-
}`,[
|
|
1580
|
+
}`,[Se]),fo=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1344
1581
|
value: userSwaps(request: $request) {
|
|
1345
1582
|
...PaginatedUserSwapsResult
|
|
1346
1583
|
}
|
|
1347
|
-
}`,[
|
|
1584
|
+
}`,[Re]),wo=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1348
1585
|
value: supplySwapQuote(request: $request) {
|
|
1349
1586
|
...SupplySwapQuoteResult
|
|
1350
1587
|
}
|
|
1351
|
-
}`,[
|
|
1588
|
+
}`,[fe]),qo=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1352
1589
|
value: borrowSwapQuote(request: $request) {
|
|
1353
1590
|
...BorrowSwapQuoteResult
|
|
1354
1591
|
}
|
|
1355
|
-
}`,[
|
|
1592
|
+
}`,[we]),xo=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1356
1593
|
value: repayWithSupplyQuote(request: $request) {
|
|
1357
1594
|
...RepayWithSupplyQuoteResult
|
|
1358
1595
|
}
|
|
1359
|
-
}`,[
|
|
1596
|
+
}`,[qe]),Po=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1360
1597
|
value: withdrawSwapQuote(request: $request) {
|
|
1361
1598
|
...WithdrawSwapQuoteResult
|
|
1362
1599
|
}
|
|
1363
|
-
}`,[
|
|
1600
|
+
}`,[xe]),ho=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1364
1601
|
value: preparePositionSwap(request: $request) {
|
|
1365
1602
|
...PreparePositionSwapResult
|
|
1366
1603
|
}
|
|
1367
|
-
}`,[
|
|
1604
|
+
}`,[Pe]);var Io=e(`query Borrow($request: BorrowRequest!) {
|
|
1368
1605
|
value: borrow(request: $request) {
|
|
1369
1606
|
...ExecutionPlan
|
|
1370
1607
|
}
|
|
1371
|
-
}`,[
|
|
1608
|
+
}`,[B]),To=e(`query Supply($request: SupplyRequest!) {
|
|
1372
1609
|
value: supply(request: $request) {
|
|
1373
1610
|
...ExecutionPlan
|
|
1374
1611
|
}
|
|
1375
|
-
}`,[
|
|
1612
|
+
}`,[B]),ko=e(`query Repay($request: RepayRequest!) {
|
|
1376
1613
|
value: repay(request: $request) {
|
|
1377
1614
|
...ExecutionPlan
|
|
1378
1615
|
}
|
|
1379
|
-
}`,[
|
|
1616
|
+
}`,[B]),vo=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1380
1617
|
value: withdraw(request: $request) {
|
|
1381
1618
|
...ExecutionPlan
|
|
1382
1619
|
}
|
|
1383
|
-
}`,[
|
|
1620
|
+
}`,[B]),qr=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1384
1621
|
__typename
|
|
1385
1622
|
... on TransactionRequest {
|
|
1386
1623
|
...TransactionRequest
|
|
@@ -1391,27 +1628,27 @@
|
|
|
1391
1628
|
... on InsufficientBalanceError {
|
|
1392
1629
|
...InsufficientBalanceError
|
|
1393
1630
|
}
|
|
1394
|
-
}`,[
|
|
1631
|
+
}`,[p,_,f]),Co=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1395
1632
|
value: liquidatePosition(request: $request) {
|
|
1396
1633
|
...LiquidatePositionExecutionPlan
|
|
1397
1634
|
}
|
|
1398
|
-
}`,[
|
|
1635
|
+
}`,[qr]),Eo=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1399
1636
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1400
1637
|
...TransactionRequest
|
|
1401
1638
|
}
|
|
1402
|
-
}`,[
|
|
1639
|
+
}`,[p]),Uo=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1403
1640
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1404
1641
|
...TransactionRequest
|
|
1405
1642
|
}
|
|
1406
|
-
}`,[
|
|
1643
|
+
}`,[p]),Oo=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1407
1644
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1408
1645
|
...TransactionRequest
|
|
1409
1646
|
}
|
|
1410
|
-
}`,[
|
|
1647
|
+
}`,[p]),_o=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1411
1648
|
value: updateUserPositionConditions(request: $request) {
|
|
1412
1649
|
...TransactionRequest
|
|
1413
1650
|
}
|
|
1414
|
-
}`,[
|
|
1651
|
+
}`,[p]),xr=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1415
1652
|
__typename
|
|
1416
1653
|
reserveId
|
|
1417
1654
|
token {
|
|
@@ -1423,7 +1660,7 @@
|
|
|
1423
1660
|
after {
|
|
1424
1661
|
...PercentNumber
|
|
1425
1662
|
}
|
|
1426
|
-
}`,[
|
|
1663
|
+
}`,[s,a]),Pr=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1427
1664
|
__typename
|
|
1428
1665
|
reserveId
|
|
1429
1666
|
token {
|
|
@@ -1435,7 +1672,7 @@
|
|
|
1435
1672
|
after {
|
|
1436
1673
|
...PercentNumber
|
|
1437
1674
|
}
|
|
1438
|
-
}`,[
|
|
1675
|
+
}`,[s,a]),hr=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1439
1676
|
__typename
|
|
1440
1677
|
reserveId
|
|
1441
1678
|
token {
|
|
@@ -1447,7 +1684,7 @@
|
|
|
1447
1684
|
after {
|
|
1448
1685
|
...PercentNumber
|
|
1449
1686
|
}
|
|
1450
|
-
}`,[
|
|
1687
|
+
}`,[s,a]),Fr=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1451
1688
|
__typename
|
|
1452
1689
|
... on CollateralFactorVariation {
|
|
1453
1690
|
...CollateralFactorVariation
|
|
@@ -1458,7 +1695,7 @@
|
|
|
1458
1695
|
... on MaxLiquidationBonusVariation {
|
|
1459
1696
|
...MaxLiquidationBonusVariation
|
|
1460
1697
|
}
|
|
1461
|
-
}`,[
|
|
1698
|
+
}`,[xr,Pr,hr]),Ar=e(`fragment PreviewMerklSupplyReward on PreviewMerklSupplyReward {
|
|
1462
1699
|
__typename
|
|
1463
1700
|
id
|
|
1464
1701
|
startDate
|
|
@@ -1475,7 +1712,7 @@
|
|
|
1475
1712
|
reserve {
|
|
1476
1713
|
...ReserveInfo
|
|
1477
1714
|
}
|
|
1478
|
-
}`,[a,
|
|
1715
|
+
}`,[a,s,E,c]),br=e(`fragment PreviewMerklBorrowReward on PreviewMerklBorrowReward {
|
|
1479
1716
|
__typename
|
|
1480
1717
|
id
|
|
1481
1718
|
startDate
|
|
@@ -1492,7 +1729,39 @@
|
|
|
1492
1729
|
reserve {
|
|
1493
1730
|
...ReserveInfo
|
|
1494
1731
|
}
|
|
1495
|
-
}`,[a,
|
|
1732
|
+
}`,[a,s,E,c]),Ir=e(`fragment PreviewSupplyPoints on PreviewSupplyPointsReward {
|
|
1733
|
+
__typename
|
|
1734
|
+
id
|
|
1735
|
+
program {
|
|
1736
|
+
...PointsProgram
|
|
1737
|
+
}
|
|
1738
|
+
name
|
|
1739
|
+
startDate
|
|
1740
|
+
endDate
|
|
1741
|
+
multiplier
|
|
1742
|
+
criteria {
|
|
1743
|
+
...PointsCriteria
|
|
1744
|
+
}
|
|
1745
|
+
reserve {
|
|
1746
|
+
...ReserveInfo
|
|
1747
|
+
}
|
|
1748
|
+
}`,[O,U,c]),Tr=e(`fragment PreviewBorrowPoints on PreviewBorrowPointsReward {
|
|
1749
|
+
__typename
|
|
1750
|
+
id
|
|
1751
|
+
program {
|
|
1752
|
+
...PointsProgram
|
|
1753
|
+
}
|
|
1754
|
+
name
|
|
1755
|
+
startDate
|
|
1756
|
+
endDate
|
|
1757
|
+
multiplier
|
|
1758
|
+
criteria {
|
|
1759
|
+
...PointsCriteria
|
|
1760
|
+
}
|
|
1761
|
+
reserve {
|
|
1762
|
+
...ReserveInfo
|
|
1763
|
+
}
|
|
1764
|
+
}`,[O,U,c]),kr=e(`fragment PreviewReward on PreviewReward {
|
|
1496
1765
|
__typename
|
|
1497
1766
|
... on PreviewMerklSupplyReward {
|
|
1498
1767
|
...PreviewMerklSupplyReward
|
|
@@ -1500,7 +1769,13 @@
|
|
|
1500
1769
|
... on PreviewMerklBorrowReward {
|
|
1501
1770
|
...PreviewMerklBorrowReward
|
|
1502
1771
|
}
|
|
1503
|
-
|
|
1772
|
+
... on PreviewSupplyPointsReward {
|
|
1773
|
+
...PreviewSupplyPoints
|
|
1774
|
+
}
|
|
1775
|
+
... on PreviewBorrowPointsReward {
|
|
1776
|
+
...PreviewBorrowPoints
|
|
1777
|
+
}
|
|
1778
|
+
}`,[Ar,br,Ir,Tr]),vr=e(`fragment PreviewRewardOutcome on PreviewRewardOutcome {
|
|
1504
1779
|
__typename
|
|
1505
1780
|
lost {
|
|
1506
1781
|
...PreviewReward
|
|
@@ -1508,7 +1783,7 @@
|
|
|
1508
1783
|
gained {
|
|
1509
1784
|
...PreviewReward
|
|
1510
1785
|
}
|
|
1511
|
-
}`,[
|
|
1786
|
+
}`,[kr]),Cr=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1512
1787
|
__typename
|
|
1513
1788
|
id
|
|
1514
1789
|
healthFactor {
|
|
@@ -1538,11 +1813,11 @@
|
|
|
1538
1813
|
otherConditions {
|
|
1539
1814
|
...UserPositionConditionVariation
|
|
1540
1815
|
}
|
|
1541
|
-
}`,[te,
|
|
1816
|
+
}`,[ne,te,re,vr,Fr]),Bo=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1542
1817
|
value: preview(request: $request) {
|
|
1543
1818
|
...PreviewUserPosition
|
|
1544
1819
|
}
|
|
1545
|
-
}`,[
|
|
1820
|
+
}`,[Cr]),Qe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1546
1821
|
__typename
|
|
1547
1822
|
before {
|
|
1548
1823
|
...PercentNumber
|
|
@@ -1550,7 +1825,7 @@
|
|
|
1550
1825
|
after {
|
|
1551
1826
|
...PercentNumber
|
|
1552
1827
|
}
|
|
1553
|
-
}`,[a]),
|
|
1828
|
+
}`,[a]),Er=e(`fragment BorrowActivity on BorrowActivity {
|
|
1554
1829
|
__typename
|
|
1555
1830
|
id
|
|
1556
1831
|
user
|
|
@@ -1568,7 +1843,7 @@
|
|
|
1568
1843
|
chain {
|
|
1569
1844
|
...Chain
|
|
1570
1845
|
}
|
|
1571
|
-
}`,[
|
|
1846
|
+
}`,[l,u,c,o]),Ur=e(`fragment SupplyActivity on SupplyActivity {
|
|
1572
1847
|
__typename
|
|
1573
1848
|
id
|
|
1574
1849
|
user
|
|
@@ -1586,7 +1861,7 @@
|
|
|
1586
1861
|
chain {
|
|
1587
1862
|
...Chain
|
|
1588
1863
|
}
|
|
1589
|
-
}`,[
|
|
1864
|
+
}`,[l,u,c,o]),Or=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1590
1865
|
__typename
|
|
1591
1866
|
id
|
|
1592
1867
|
user
|
|
@@ -1604,7 +1879,7 @@
|
|
|
1604
1879
|
chain {
|
|
1605
1880
|
...Chain
|
|
1606
1881
|
}
|
|
1607
|
-
}`,[
|
|
1882
|
+
}`,[l,u,c,o]),_r=e(`fragment RepayActivity on RepayActivity {
|
|
1608
1883
|
__typename
|
|
1609
1884
|
id
|
|
1610
1885
|
user
|
|
@@ -1622,7 +1897,7 @@
|
|
|
1622
1897
|
chain {
|
|
1623
1898
|
...Chain
|
|
1624
1899
|
}
|
|
1625
|
-
}`,[
|
|
1900
|
+
}`,[l,u,c,o]),Br=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1626
1901
|
__typename
|
|
1627
1902
|
id
|
|
1628
1903
|
user
|
|
@@ -1647,7 +1922,7 @@
|
|
|
1647
1922
|
chain {
|
|
1648
1923
|
...Chain
|
|
1649
1924
|
}
|
|
1650
|
-
}`,[
|
|
1925
|
+
}`,[l,u,c,o]),Qr=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1651
1926
|
__typename
|
|
1652
1927
|
id
|
|
1653
1928
|
user
|
|
@@ -1663,7 +1938,7 @@
|
|
|
1663
1938
|
chain {
|
|
1664
1939
|
...Chain
|
|
1665
1940
|
}
|
|
1666
|
-
}`,[
|
|
1941
|
+
}`,[l,c,o]),Hr=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1667
1942
|
__typename
|
|
1668
1943
|
id
|
|
1669
1944
|
user
|
|
@@ -1687,7 +1962,7 @@
|
|
|
1687
1962
|
chain {
|
|
1688
1963
|
...Chain
|
|
1689
1964
|
}
|
|
1690
|
-
}`,[
|
|
1965
|
+
}`,[l,c,Qe,o]),Wr=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1691
1966
|
__typename
|
|
1692
1967
|
id
|
|
1693
1968
|
user
|
|
@@ -1702,7 +1977,7 @@
|
|
|
1702
1977
|
chain {
|
|
1703
1978
|
...Chain
|
|
1704
1979
|
}
|
|
1705
|
-
}`,[
|
|
1980
|
+
}`,[l,Qe,o]),Vr=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
1706
1981
|
__typename
|
|
1707
1982
|
id
|
|
1708
1983
|
user
|
|
@@ -1721,7 +1996,7 @@
|
|
|
1721
1996
|
orderClass
|
|
1722
1997
|
kind
|
|
1723
1998
|
status
|
|
1724
|
-
}`,[
|
|
1999
|
+
}`,[o,S]),Mr=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
1725
2000
|
__typename
|
|
1726
2001
|
id
|
|
1727
2002
|
user
|
|
@@ -1740,7 +2015,7 @@
|
|
|
1740
2015
|
orderClass
|
|
1741
2016
|
kind
|
|
1742
2017
|
status
|
|
1743
|
-
}`,[
|
|
2018
|
+
}`,[o,x]),$r=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
1744
2019
|
__typename
|
|
1745
2020
|
id
|
|
1746
2021
|
user
|
|
@@ -1759,7 +2034,7 @@
|
|
|
1759
2034
|
orderClass
|
|
1760
2035
|
kind
|
|
1761
2036
|
status
|
|
1762
|
-
}`,[
|
|
2037
|
+
}`,[o,x]),Nr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
1763
2038
|
__typename
|
|
1764
2039
|
id
|
|
1765
2040
|
user
|
|
@@ -1778,7 +2053,7 @@
|
|
|
1778
2053
|
orderClass
|
|
1779
2054
|
kind
|
|
1780
2055
|
status
|
|
1781
|
-
}`,[
|
|
2056
|
+
}`,[o,x]),Dr=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
1782
2057
|
__typename
|
|
1783
2058
|
id
|
|
1784
2059
|
user
|
|
@@ -1797,7 +2072,7 @@
|
|
|
1797
2072
|
orderClass
|
|
1798
2073
|
kind
|
|
1799
2074
|
status
|
|
1800
|
-
}`,[
|
|
2075
|
+
}`,[o,x,S]),Lr=e(`fragment ActivityItem on ActivityItem {
|
|
1801
2076
|
__typename
|
|
1802
2077
|
... on BorrowActivity {
|
|
1803
2078
|
...BorrowActivity
|
|
@@ -1838,7 +2113,7 @@
|
|
|
1838
2113
|
... on WithdrawSwapActivity {
|
|
1839
2114
|
...WithdrawSwapActivity
|
|
1840
2115
|
}
|
|
1841
|
-
}`,[
|
|
2116
|
+
}`,[Er,Ur,Or,_r,Br,Qr,Hr,Wr,Vr,Mr,$r,Nr,Dr]),Gr=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1842
2117
|
__typename
|
|
1843
2118
|
items {
|
|
1844
2119
|
...ActivityItem
|
|
@@ -1846,41 +2121,87 @@
|
|
|
1846
2121
|
pageInfo {
|
|
1847
2122
|
...PaginatedResultInfo
|
|
1848
2123
|
}
|
|
1849
|
-
}`,[
|
|
2124
|
+
}`,[Lr,R]),Qo=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1850
2125
|
value: activities(request: $request) {
|
|
1851
2126
|
...PaginatedActivitiesResult
|
|
1852
2127
|
}
|
|
1853
|
-
}`,[
|
|
2128
|
+
}`,[Gr]);var Mo=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1854
2129
|
value: userSupplies(request: $request) {
|
|
1855
2130
|
...UserSupplyItem
|
|
1856
2131
|
}
|
|
1857
|
-
}`,[
|
|
2132
|
+
}`,[he]),$o=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1858
2133
|
value: userBorrows(request: $request) {
|
|
1859
2134
|
...UserBorrowItem
|
|
1860
2135
|
}
|
|
1861
|
-
}`,[
|
|
2136
|
+
}`,[Fe]),No=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1862
2137
|
value: userSummary(request: $request) {
|
|
1863
2138
|
...UserSummary
|
|
1864
2139
|
}
|
|
1865
|
-
}`,[Ae]),
|
|
2140
|
+
}`,[Ae]),Do=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1866
2141
|
value: userPositions(request: $request) {
|
|
1867
2142
|
...UserPosition
|
|
1868
2143
|
}
|
|
1869
|
-
}`,[
|
|
2144
|
+
}`,[z]),Lo=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1870
2145
|
value: userPosition(request: $request) {
|
|
1871
2146
|
...UserPosition
|
|
1872
2147
|
}
|
|
1873
|
-
}`,[
|
|
2148
|
+
}`,[z]),Go=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1874
2149
|
value: userBalances(request: $request) {
|
|
1875
2150
|
...UserBalance
|
|
1876
2151
|
}
|
|
1877
|
-
}`,[
|
|
2152
|
+
}`,[Ie]),Ko=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1878
2153
|
value: userSummaryHistory(request: $request) {
|
|
1879
2154
|
...UserSummaryHistoryItem
|
|
1880
2155
|
}
|
|
1881
|
-
}`,[
|
|
2156
|
+
}`,[Te]),Yo=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1882
2157
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1883
2158
|
...UserRiskPremiumBreakdownItem
|
|
1884
2159
|
}
|
|
1885
|
-
}`,[
|
|
2160
|
+
}`,[be]);var Jo=e(`query StableVault($request: StableVaultRequest!) {
|
|
2161
|
+
value: stableVault(request: $request) {
|
|
2162
|
+
...StableVault
|
|
2163
|
+
}
|
|
2164
|
+
}`,[N]),Xo=e(`query StableVaults($request: StableVaultsRequest!) {
|
|
2165
|
+
value: stableVaults(request: $request) {
|
|
2166
|
+
...StableVault
|
|
2167
|
+
}
|
|
2168
|
+
}`,[N]),ep=e(`query StableVaultRateUsers($request: StableVaultRateUsersRequest!) {
|
|
2169
|
+
value: stableVaultRateUsers(request: $request) {
|
|
2170
|
+
...PaginatedStableVaultRateUsersResult
|
|
2171
|
+
}
|
|
2172
|
+
}`,[Ce]),tp=e(`query StableVaultAssignRate($request: StableVaultAssignRateRequest!) {
|
|
2173
|
+
value: stableVaultAssignRate(request: $request) {
|
|
2174
|
+
...TransactionRequest
|
|
2175
|
+
}
|
|
2176
|
+
}`,[p]),rp=e(`query StableVaultUnassignRate($request: StableVaultUnassignRateRequest!) {
|
|
2177
|
+
value: stableVaultUnassignRate(request: $request) {
|
|
2178
|
+
...TransactionRequest
|
|
2179
|
+
}
|
|
2180
|
+
}`,[p]),ap=e(`query StableVaultClaimSurplus($request: StableVaultClaimSurplusRequest!) {
|
|
2181
|
+
value: stableVaultClaimSurplus(request: $request) {
|
|
2182
|
+
...TransactionRequest
|
|
2183
|
+
}
|
|
2184
|
+
}`,[p]),np=e(`query StableVaultMovements($request: StableVaultMovementsRequest!) {
|
|
2185
|
+
value: stableVaultMovements(request: $request) {
|
|
2186
|
+
...PaginatedStableVaultMovementsResult
|
|
2187
|
+
}
|
|
2188
|
+
}`,[ve]),op=e(`query StableVaultDeposit($request: StableVaultDepositRequest!) {
|
|
2189
|
+
value: stableVaultDeposit(request: $request) {
|
|
2190
|
+
...StableVaultDepositExecutionPlan
|
|
2191
|
+
}
|
|
2192
|
+
}`,[Ee]),pp=e(`query StableVaultWithdraw($request: StableVaultWithdrawRequest!) {
|
|
2193
|
+
value: stableVaultWithdraw(request: $request) {
|
|
2194
|
+
...StableVaultWithdrawExecutionPlan
|
|
2195
|
+
}
|
|
2196
|
+
}`,[Ue]),sp=e(`query StableVaultClaimStatus($request: StableVaultClaimStatusRequest!) {
|
|
2197
|
+
value: stableVaultClaimStatus(request: $request)
|
|
2198
|
+
}`),ip=e(`query StableVaultUserPositions($request: StableVaultUserPositionsRequest!) {
|
|
2199
|
+
value: stableVaultUserPositions(request: $request) {
|
|
2200
|
+
...StableVaultUserPosition
|
|
2201
|
+
}
|
|
2202
|
+
}`,[ke]),up=e(`mutation StableVaultWithdrawRedeem($request: StableVaultWithdrawRedeemRequest!) {
|
|
2203
|
+
value: stableVaultWithdrawRedeem(request: $request) {
|
|
2204
|
+
...StableVaultWithdrawRedeemExecutionPlan
|
|
2205
|
+
}
|
|
2206
|
+
}`,[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
|
|
1886
2207
|
//# sourceMappingURL=index.cjs.map
|