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