@aave/graphql 1.1.1 → 2.0.0
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 +316 -301
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27044 -36923
- package/dist/index.d.ts +27044 -36923
- package/dist/index.js +316 -301
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/testing.d.ts +290 -10
- 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 We=(r=>(r.Asc="ASC",r.Desc="DESC",r))(We||{}),Ve=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ve||{})
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var We=(r=>(r.Asc="ASC",r.Desc="DESC",r))(We||{}),Ve=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ve||{}),$e=(F=>(F.LastDay="LAST_DAY",F.LastWeek="LAST_WEEK",F.LastMonth="LAST_MONTH",F.LastSixMonths="LAST_SIX_MONTHS",F.LastYear="LAST_YEAR",F.All="ALL",F))($e||{}),Me=(S=>(S.SpokeBorrow="SPOKE_BORROW",S.SpokeRepay="SPOKE_REPAY",S.SpokeSupply="SPOKE_SUPPLY",S.SpokeWithdraw="SPOKE_WITHDRAW",S.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",S.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",S.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",S.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",S.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",S.Liquidation="LIQUIDATION",S))(Me||{}),Ne=(n=>(n.TESTNET_ONLY="TESTNET_ONLY",n.MAINNET_ONLY="MAINNET_ONLY",n.ALL="ALL",n))(Ne||{}),De=(c=>(c.Borrow="BORROW",c.Supply="SUPPLY",c.Withdraw="WITHDRAW",c.Repay="REPAY",c.Liquidated="LIQUIDATED",c.SetAsCollateral="SET_AS_COLLATERAL",c.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",c.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",c.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",c.SupplySwap="SUPPLY_SWAP",c.BorrowSwap="BORROW_SWAP",c.RepayWithSupply="REPAY_WITH_SUPPLY",c.WithdrawSwap="WITHDRAW_SWAP",c))(De||{}),Le=(n=>(n.Highest="HIGHEST",n.Lowest="LOWEST",n.Average="AVERAGE",n))(Le||{}),Ge=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ge||{}),Ke=(n=>(n.Usd="USD",n.Eur="EUR",n.Gbp="GBP",n))(Ke||{}),Ye=(r=>(r.Supplied="SUPPLIED",r.Borrowed="BORROWED",r))(Ye||{}),ze=(P=>(P.Supply="SUPPLY",P.Borrow="BORROW",P.Collateral="COLLATERAL",P.All="ALL",P))(ze||{}),Ze=(r=>(r.Current="CURRENT",r.New="NEW",r))(Ze||{}),je=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(je||{}),Je=(n=>(n.Ready="READY",n.Pending="PENDING",n.Unknown="UNKNOWN",n))(Je||{}),Xe=(r=>(r.Current="CURRENT",r.New="NEW",r))(Xe||{}),et=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(et||{}),tt=(v=>(v.Cancelled="CANCELLED",v.Expired="EXPIRED",v.Fulfilled="FULFILLED",v.Open="OPEN",v.PendingSignature="PENDING_SIGNATURE",v))(tt||{}),rt=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(rt||{}),at=(r=>(r.Pending="PENDING",r.Done="DONE",r))(at||{}),nt=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(nt||{}),ot=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(ot||{}),pt=(r=>(r.Market="MARKET",r.Limit="LIMIT",r))(pt||{}),st=(n=>(n.Fulfilled="FULFILLED",n.Cancelled="CANCELLED",n.Expired="EXPIRED",n))(st||{}),ut=(r=>(r.Buy="BUY",r.Sell="SELL",r))(ut||{});var e=gql_tada.initGraphQLTada();var Q=e(`fragment DomainData on DomainData {
|
|
2
2
|
name
|
|
3
3
|
version
|
|
4
4
|
chainId
|
|
5
5
|
verifyingContract
|
|
6
|
-
}`),
|
|
6
|
+
}`),l=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
|
+
}`),z=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
18
18
|
__typename
|
|
19
19
|
current {
|
|
20
20
|
...DecimalNumber
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
change(window: $timeWindow) {
|
|
23
23
|
...PercentNumber
|
|
24
24
|
}
|
|
25
|
-
}`,[
|
|
25
|
+
}`,[l,a]),i=e(`fragment ExchangeAmount on ExchangeAmount {
|
|
26
26
|
__typename
|
|
27
27
|
value
|
|
28
28
|
name
|
|
29
29
|
symbol
|
|
30
30
|
icon
|
|
31
31
|
decimals
|
|
32
|
-
}`),
|
|
32
|
+
}`),C=e(`fragment TokenInfo on TokenInfo {
|
|
33
33
|
__typename
|
|
34
34
|
id
|
|
35
35
|
name
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
nativeInfo {
|
|
53
53
|
...TokenInfo
|
|
54
54
|
}
|
|
55
|
-
}`,[
|
|
55
|
+
}`,[C]),m=e(`fragment Erc20Token on Erc20Token {
|
|
56
56
|
__typename
|
|
57
57
|
info {
|
|
58
58
|
...TokenInfo
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
...Chain
|
|
63
63
|
}
|
|
64
64
|
isWrappedNativeToken
|
|
65
|
-
}`,[
|
|
65
|
+
}`,[C,o]),Z=e(`fragment NativeToken on NativeToken {
|
|
66
66
|
__typename
|
|
67
67
|
info {
|
|
68
68
|
...TokenInfo
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
chain {
|
|
71
71
|
...Chain
|
|
72
72
|
}
|
|
73
|
-
}`,[
|
|
73
|
+
}`,[C,o]),p=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
|
+
}`,[m,l,i]),mt=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
|
+
}`,[Z,l,i]),R=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
|
+
}`,[p,mt]),j=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
|
+
}`,[m,Z]),A=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
|
+
}`,[i,a]),J=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]),g=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
|
|
134
134
|
__typename
|
|
135
135
|
prev
|
|
136
136
|
next
|
|
137
|
-
}`),
|
|
137
|
+
}`),X=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]),ee=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
|
+
}`,[i]),te=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]),yt=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
160
160
|
__typename
|
|
161
161
|
current
|
|
162
162
|
after
|
|
163
|
-
}`),
|
|
163
|
+
}`),lt=e(`fragment HealthFactorError on HealthFactorError {
|
|
164
164
|
__typename
|
|
165
165
|
reason
|
|
166
166
|
current
|
|
167
167
|
after
|
|
168
|
-
}`),
|
|
168
|
+
}`),re=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
|
-
}`,[lt
|
|
176
|
+
}`,[yt,lt]),f=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
|
|
177
177
|
__typename
|
|
178
178
|
required {
|
|
179
179
|
...DecimalNumber
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
available {
|
|
182
182
|
...DecimalNumber
|
|
183
183
|
}
|
|
184
|
-
}`,[
|
|
184
|
+
}`,[l]),b=e(`fragment InsufficientLiquidityError on InsufficientLiquidityError {
|
|
185
185
|
__typename
|
|
186
186
|
reason
|
|
187
187
|
}`);var ct=e(`fragment HubSummary on HubSummary {
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
utilizationRate {
|
|
202
202
|
...PercentNumber
|
|
203
203
|
}
|
|
204
|
-
}`,[
|
|
204
|
+
}`,[i,A,a]),q=e(`fragment Hub on Hub {
|
|
205
205
|
__typename
|
|
206
206
|
id
|
|
207
207
|
name
|
|
@@ -235,7 +235,9 @@
|
|
|
235
235
|
utilizationRate {
|
|
236
236
|
...PercentNumber
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
reservesCount
|
|
239
|
+
activeReservesCount
|
|
240
|
+
}`,[p,a]),dt=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
239
241
|
__typename
|
|
240
242
|
feeReceiver
|
|
241
243
|
liquidityFee {
|
|
@@ -260,7 +262,7 @@
|
|
|
260
262
|
balance {
|
|
261
263
|
...Erc20Amount
|
|
262
264
|
}
|
|
263
|
-
}`,[
|
|
265
|
+
}`,[p]),I=e(`fragment HubAsset on HubAsset {
|
|
264
266
|
__typename
|
|
265
267
|
id
|
|
266
268
|
onchainAssetId
|
|
@@ -279,7 +281,7 @@
|
|
|
279
281
|
userState {
|
|
280
282
|
...HubAssetUserState
|
|
281
283
|
}
|
|
282
|
-
}`,[
|
|
284
|
+
}`,[q,m,gt,dt,St]);var ae=e(`fragment PermitTypedData on PermitTypedData {
|
|
283
285
|
__typename
|
|
284
286
|
types
|
|
285
287
|
primaryType
|
|
@@ -288,12 +290,12 @@
|
|
|
288
290
|
}
|
|
289
291
|
message
|
|
290
292
|
signedAmount
|
|
291
|
-
}`,[
|
|
293
|
+
}`,[Q]);function ca(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var Rt=e(`fragment MerklGenericCriteria on MerklGenericCriteria {
|
|
292
294
|
__typename
|
|
293
295
|
id
|
|
294
296
|
text
|
|
295
297
|
userPassed
|
|
296
|
-
}`),
|
|
298
|
+
}`),ne=e(`fragment MerklCriteria on MerklCriteria {
|
|
297
299
|
__typename
|
|
298
300
|
... on MerklGenericCriteria {
|
|
299
301
|
...MerklGenericCriteria
|
|
@@ -303,18 +305,18 @@
|
|
|
303
305
|
id
|
|
304
306
|
text
|
|
305
307
|
userPassed
|
|
306
|
-
}`),
|
|
308
|
+
}`),oe=e(`fragment PointsCriteria on PointsCriteria {
|
|
307
309
|
__typename
|
|
308
310
|
... on PointsGenericCriteria {
|
|
309
311
|
...PointsGenericCriteria
|
|
310
312
|
}
|
|
311
|
-
}`,[ft]),
|
|
313
|
+
}`,[ft]),pe=e(`fragment PointsProgram on PointsProgram {
|
|
312
314
|
__typename
|
|
313
315
|
id
|
|
314
316
|
name
|
|
315
317
|
externalUrl
|
|
316
318
|
iconUrl
|
|
317
|
-
}`),
|
|
319
|
+
}`),qt=e(`fragment MerklSupplyReward on MerklSupplyReward {
|
|
318
320
|
__typename
|
|
319
321
|
id
|
|
320
322
|
startDate
|
|
@@ -329,7 +331,7 @@
|
|
|
329
331
|
...MerklCriteria
|
|
330
332
|
}
|
|
331
333
|
userEligible
|
|
332
|
-
}`,[a,
|
|
334
|
+
}`,[a,m,ne]),wt=e(`fragment MerklBorrowReward on MerklBorrowReward {
|
|
333
335
|
__typename
|
|
334
336
|
id
|
|
335
337
|
startDate
|
|
@@ -344,7 +346,7 @@
|
|
|
344
346
|
...MerklCriteria
|
|
345
347
|
}
|
|
346
348
|
userEligible
|
|
347
|
-
}`,[a,
|
|
349
|
+
}`,[a,m,ne]),xt=e(`fragment SupplyPoints on SupplyPointsReward {
|
|
348
350
|
__typename
|
|
349
351
|
id
|
|
350
352
|
program {
|
|
@@ -358,7 +360,7 @@
|
|
|
358
360
|
...PointsCriteria
|
|
359
361
|
}
|
|
360
362
|
userEligible
|
|
361
|
-
}`,[
|
|
363
|
+
}`,[pe,oe]),ht=e(`fragment BorrowPoints on BorrowPointsReward {
|
|
362
364
|
__typename
|
|
363
365
|
id
|
|
364
366
|
program {
|
|
@@ -372,7 +374,7 @@
|
|
|
372
374
|
...PointsCriteria
|
|
373
375
|
}
|
|
374
376
|
userEligible
|
|
375
|
-
}`,[
|
|
377
|
+
}`,[pe,oe]),W=e(`fragment Reward on Reward {
|
|
376
378
|
__typename
|
|
377
379
|
... on MerklSupplyReward {
|
|
378
380
|
...MerklSupplyReward
|
|
@@ -386,7 +388,7 @@
|
|
|
386
388
|
... on BorrowPointsReward {
|
|
387
389
|
...BorrowPoints
|
|
388
390
|
}
|
|
389
|
-
}`,[wt,
|
|
391
|
+
}`,[qt,wt,xt,ht]),Pt=e(`fragment UserMerklClaimableReward on UserMerklClaimableReward {
|
|
390
392
|
__typename
|
|
391
393
|
id
|
|
392
394
|
claimable {
|
|
@@ -395,19 +397,57 @@
|
|
|
395
397
|
startDate
|
|
396
398
|
endDate
|
|
397
399
|
claimUntil
|
|
398
|
-
}`,[
|
|
400
|
+
}`,[p]),se=e(`fragment UserClaimableReward on UserClaimableReward {
|
|
399
401
|
__typename
|
|
400
402
|
... on UserMerklClaimableReward {
|
|
401
403
|
...UserMerklClaimableReward
|
|
402
404
|
}
|
|
403
|
-
}`,[
|
|
405
|
+
}`,[Pt]);var At=e(`fragment SpokeLiquidationConfig on SpokeLiquidationConfig {
|
|
404
406
|
__typename
|
|
405
407
|
targetHealthFactor
|
|
406
408
|
healthFactorForMaxBonus
|
|
407
409
|
liquidationBonusFactor {
|
|
408
410
|
...PercentNumber
|
|
409
411
|
}
|
|
410
|
-
}`,[a]),
|
|
412
|
+
}`,[a]),Ft=e(`fragment SpokeSummary on SpokeSummary {
|
|
413
|
+
__typename
|
|
414
|
+
totalBorrowed {
|
|
415
|
+
...ExchangeAmount
|
|
416
|
+
}
|
|
417
|
+
totalBorrowCap {
|
|
418
|
+
...ExchangeAmount
|
|
419
|
+
}
|
|
420
|
+
totalSupplied {
|
|
421
|
+
...ExchangeAmount
|
|
422
|
+
}
|
|
423
|
+
totalSupplyCap {
|
|
424
|
+
...ExchangeAmount
|
|
425
|
+
}
|
|
426
|
+
uniqueAssets
|
|
427
|
+
connectedHubs
|
|
428
|
+
}`,[i,a]),bt=e(`fragment SpokeConnectedHubSummary on SpokeConnectedHubSummary {
|
|
429
|
+
__typename
|
|
430
|
+
totalBorrowed {
|
|
431
|
+
...ExchangeAmount
|
|
432
|
+
}
|
|
433
|
+
creditLine {
|
|
434
|
+
...ExchangeAmount
|
|
435
|
+
}
|
|
436
|
+
creditUsed {
|
|
437
|
+
...PercentNumber
|
|
438
|
+
}
|
|
439
|
+
totalSupplied {
|
|
440
|
+
...ExchangeAmount
|
|
441
|
+
}
|
|
442
|
+
}`,[i,a]),It=e(`fragment SpokeConnectedHub on SpokeConnectedHub {
|
|
443
|
+
__typename
|
|
444
|
+
hub {
|
|
445
|
+
...Hub
|
|
446
|
+
}
|
|
447
|
+
summary {
|
|
448
|
+
...SpokeConnectedHubSummary
|
|
449
|
+
}
|
|
450
|
+
}`,[q,bt]),y=e(`fragment Spoke on Spoke {
|
|
411
451
|
__typename
|
|
412
452
|
id
|
|
413
453
|
name
|
|
@@ -418,12 +458,18 @@
|
|
|
418
458
|
liquidationConfig {
|
|
419
459
|
...SpokeLiquidationConfig
|
|
420
460
|
}
|
|
421
|
-
|
|
461
|
+
summary(currency: $currency) {
|
|
462
|
+
...SpokeSummary
|
|
463
|
+
}
|
|
464
|
+
connectedHubs(currency: $currency) {
|
|
465
|
+
...SpokeConnectedHub
|
|
466
|
+
}
|
|
467
|
+
}`,[o,At,Ft,It]),Tt=e(`fragment SpokePositionManager on SpokePositionManager {
|
|
422
468
|
__typename
|
|
423
469
|
address
|
|
424
470
|
active
|
|
425
471
|
name
|
|
426
|
-
}`),
|
|
472
|
+
}`),ue=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
427
473
|
__typename
|
|
428
474
|
items {
|
|
429
475
|
...SpokePositionManager
|
|
@@ -431,13 +477,13 @@
|
|
|
431
477
|
pageInfo {
|
|
432
478
|
...PaginatedResultInfo
|
|
433
479
|
}
|
|
434
|
-
}`,[
|
|
480
|
+
}`,[Tt,g]),kt=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
435
481
|
__typename
|
|
436
482
|
address
|
|
437
483
|
approvedOn
|
|
438
484
|
active
|
|
439
485
|
name
|
|
440
|
-
}`),
|
|
486
|
+
}`),ie=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
441
487
|
__typename
|
|
442
488
|
items {
|
|
443
489
|
...SpokeUserPositionManager
|
|
@@ -445,7 +491,7 @@
|
|
|
445
491
|
pageInfo {
|
|
446
492
|
...PaginatedResultInfo
|
|
447
493
|
}
|
|
448
|
-
}`,[
|
|
494
|
+
}`,[kt,g]);var vt=e(`fragment ReserveSettings on ReserveSettings {
|
|
449
495
|
__typename
|
|
450
496
|
collateralFactor {
|
|
451
497
|
...PercentNumber
|
|
@@ -470,12 +516,12 @@
|
|
|
470
516
|
supplyCap {
|
|
471
517
|
...Erc20Amount
|
|
472
518
|
}
|
|
473
|
-
}`,[a,
|
|
519
|
+
}`,[a,p]),Ct=e(`fragment ReserveStatus on ReserveStatus {
|
|
474
520
|
__typename
|
|
475
521
|
frozen
|
|
476
522
|
paused
|
|
477
523
|
active
|
|
478
|
-
}`),
|
|
524
|
+
}`),Et=e(`fragment ReserveSummary on ReserveSummary {
|
|
479
525
|
__typename
|
|
480
526
|
supplied {
|
|
481
527
|
...Erc20Amount
|
|
@@ -498,7 +544,7 @@
|
|
|
498
544
|
rewards {
|
|
499
545
|
...Reward
|
|
500
546
|
}
|
|
501
|
-
}`,[
|
|
547
|
+
}`,[p,a,W]),Ut=e(`fragment ReserveUserState on ReserveUserState {
|
|
502
548
|
__typename
|
|
503
549
|
balance {
|
|
504
550
|
...Erc20Amount
|
|
@@ -522,7 +568,7 @@
|
|
|
522
568
|
...PercentNumber
|
|
523
569
|
}
|
|
524
570
|
dynamicConfigKey
|
|
525
|
-
}`,[
|
|
571
|
+
}`,[p,a]),T=e(`fragment Reserve on Reserve {
|
|
526
572
|
__typename
|
|
527
573
|
id
|
|
528
574
|
onChainId
|
|
@@ -551,7 +597,7 @@
|
|
|
551
597
|
asset {
|
|
552
598
|
...HubAsset
|
|
553
599
|
}
|
|
554
|
-
}`,[
|
|
600
|
+
}`,[y,o,Et,vt,Ct,Ut,I]),me=e(`fragment ReserveHolder on ReserveHolder {
|
|
555
601
|
__typename
|
|
556
602
|
address
|
|
557
603
|
amount {
|
|
@@ -560,13 +606,13 @@
|
|
|
560
606
|
weight {
|
|
561
607
|
...PercentNumber
|
|
562
608
|
}
|
|
563
|
-
}`,[
|
|
609
|
+
}`,[p,a]),d=e(`fragment ReserveInfo on ReserveInfo {
|
|
564
610
|
__typename
|
|
565
611
|
id
|
|
566
612
|
asset {
|
|
567
613
|
...HubAsset
|
|
568
614
|
}
|
|
569
|
-
}`,[
|
|
615
|
+
}`,[I]);var s=e(`fragment TransactionRequest on TransactionRequest {
|
|
570
616
|
__typename
|
|
571
617
|
to
|
|
572
618
|
from
|
|
@@ -574,7 +620,7 @@
|
|
|
574
620
|
value
|
|
575
621
|
chainId
|
|
576
622
|
operations
|
|
577
|
-
}`)
|
|
623
|
+
}`),V=e(`fragment Erc20Approval on Erc20Approval {
|
|
578
624
|
__typename
|
|
579
625
|
byTransaction {
|
|
580
626
|
...TransactionRequest
|
|
@@ -582,7 +628,7 @@
|
|
|
582
628
|
bySignature {
|
|
583
629
|
...PermitTypedData
|
|
584
630
|
}
|
|
585
|
-
}`,[
|
|
631
|
+
}`,[s,ae]),E=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
586
632
|
__typename
|
|
587
633
|
approvals {
|
|
588
634
|
...Erc20Approval
|
|
@@ -597,7 +643,7 @@
|
|
|
597
643
|
originalTransaction {
|
|
598
644
|
...TransactionRequest
|
|
599
645
|
}
|
|
600
|
-
}`,[
|
|
646
|
+
}`,[s,V,l]),Ot=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
601
647
|
__typename
|
|
602
648
|
transaction {
|
|
603
649
|
...TransactionRequest
|
|
@@ -606,7 +652,7 @@
|
|
|
606
652
|
originalTransaction {
|
|
607
653
|
...TransactionRequest
|
|
608
654
|
}
|
|
609
|
-
}`,[
|
|
655
|
+
}`,[s]),U=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
610
656
|
__typename
|
|
611
657
|
... on TransactionRequest {
|
|
612
658
|
...TransactionRequest
|
|
@@ -620,7 +666,7 @@
|
|
|
620
666
|
... on InsufficientBalanceError {
|
|
621
667
|
...InsufficientBalanceError
|
|
622
668
|
}
|
|
623
|
-
}`,[
|
|
669
|
+
}`,[s,E,Ot,f]);var _t=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
624
670
|
__typename
|
|
625
671
|
networkCosts {
|
|
626
672
|
...TokenAmount
|
|
@@ -634,7 +680,7 @@
|
|
|
634
680
|
providerFee {
|
|
635
681
|
...TokenAmount
|
|
636
682
|
}
|
|
637
|
-
}`,[R]),
|
|
683
|
+
}`,[R]),O=e(`fragment SwapQuote on SwapQuote {
|
|
638
684
|
__typename
|
|
639
685
|
accuracy
|
|
640
686
|
quoteId
|
|
@@ -659,7 +705,7 @@
|
|
|
659
705
|
finalSell {
|
|
660
706
|
...TokenAmount
|
|
661
707
|
}
|
|
662
|
-
}`,[a,R,
|
|
708
|
+
}`,[a,R,_t]),_=e(`fragment SwapTypedData on SwapTypedData {
|
|
663
709
|
__typename
|
|
664
710
|
primaryType
|
|
665
711
|
types
|
|
@@ -667,19 +713,19 @@
|
|
|
667
713
|
...DomainData
|
|
668
714
|
}
|
|
669
715
|
message
|
|
670
|
-
}`,[
|
|
716
|
+
}`,[Q]),ye=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
671
717
|
__typename
|
|
672
718
|
newQuoteId
|
|
673
719
|
data {
|
|
674
720
|
...SwapTypedData
|
|
675
721
|
}
|
|
676
|
-
}`,[
|
|
722
|
+
}`,[_]),Bt=e(`fragment SwapByIntent on SwapByIntent {
|
|
677
723
|
__typename
|
|
678
724
|
quote {
|
|
679
725
|
...SwapQuote
|
|
680
726
|
}
|
|
681
727
|
|
|
682
|
-
}`,[
|
|
728
|
+
}`,[O]),Ht=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
683
729
|
__typename
|
|
684
730
|
approvals {
|
|
685
731
|
...Erc20Approval
|
|
@@ -687,12 +733,12 @@
|
|
|
687
733
|
quote {
|
|
688
734
|
...SwapQuote
|
|
689
735
|
}
|
|
690
|
-
}`,[
|
|
736
|
+
}`,[V,O]),Qt=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
691
737
|
__typename
|
|
692
738
|
quote {
|
|
693
739
|
...SwapQuote
|
|
694
740
|
}
|
|
695
|
-
}`,[
|
|
741
|
+
}`,[O]),Wt=e(`fragment SwapByTransactionWithApprovalRequired on SwapByTransactionWithApprovalRequired {
|
|
696
742
|
__typename
|
|
697
743
|
quote {
|
|
698
744
|
...SwapQuote
|
|
@@ -700,7 +746,7 @@
|
|
|
700
746
|
approvals {
|
|
701
747
|
...Erc20Approval
|
|
702
748
|
}
|
|
703
|
-
}`,[
|
|
749
|
+
}`,[O,V]),le=e(`fragment SwapReceipt on SwapReceipt {
|
|
704
750
|
__typename
|
|
705
751
|
id
|
|
706
752
|
createdAt
|
|
@@ -721,7 +767,7 @@
|
|
|
721
767
|
... on InsufficientLiquidityError {
|
|
722
768
|
...InsufficientLiquidityError
|
|
723
769
|
}
|
|
724
|
-
}`,[
|
|
770
|
+
}`,[Bt,Ht,Qt,Wt,b]),ge=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
725
771
|
__typename
|
|
726
772
|
... on PrepareSwapOrder {
|
|
727
773
|
...PrepareSwapOrder
|
|
@@ -729,7 +775,7 @@
|
|
|
729
775
|
... on InsufficientBalanceError {
|
|
730
776
|
...InsufficientBalanceError
|
|
731
777
|
}
|
|
732
|
-
}`,[
|
|
778
|
+
}`,[ye,f]),Vt=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
733
779
|
__typename
|
|
734
780
|
transaction {
|
|
735
781
|
...TransactionRequest
|
|
@@ -737,7 +783,7 @@
|
|
|
737
783
|
orderReceipt {
|
|
738
784
|
...SwapReceipt
|
|
739
785
|
}
|
|
740
|
-
}`,[
|
|
786
|
+
}`,[s,le]),de=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
741
787
|
__typename
|
|
742
788
|
... on SwapTransactionRequest {
|
|
743
789
|
...SwapTransactionRequest
|
|
@@ -748,7 +794,7 @@
|
|
|
748
794
|
... on InsufficientBalanceError {
|
|
749
795
|
...InsufficientBalanceError
|
|
750
796
|
}
|
|
751
|
-
}`,[
|
|
797
|
+
}`,[Vt,le,f]),h=e(`fragment PositionAmount on PositionAmount {
|
|
752
798
|
__typename
|
|
753
799
|
reserve {
|
|
754
800
|
...ReserveInfo
|
|
@@ -756,7 +802,7 @@
|
|
|
756
802
|
amount {
|
|
757
803
|
...Erc20Amount
|
|
758
804
|
}
|
|
759
|
-
}`,[
|
|
805
|
+
}`,[d,p]),$t=e(`fragment SupplySwap on SupplySwap {
|
|
760
806
|
__typename
|
|
761
807
|
sell {
|
|
762
808
|
...PositionAmount
|
|
@@ -766,7 +812,7 @@
|
|
|
766
812
|
}
|
|
767
813
|
kind
|
|
768
814
|
orderClass
|
|
769
|
-
}`,[
|
|
815
|
+
}`,[h]),Mt=e(`fragment BorrowSwap on BorrowSwap {
|
|
770
816
|
__typename
|
|
771
817
|
sell {
|
|
772
818
|
...PositionAmount
|
|
@@ -776,7 +822,7 @@
|
|
|
776
822
|
}
|
|
777
823
|
kind
|
|
778
824
|
orderClass
|
|
779
|
-
}`,[
|
|
825
|
+
}`,[h]),Nt=e(`fragment RepayWithSupply on RepayWithSupply {
|
|
780
826
|
__typename
|
|
781
827
|
repay {
|
|
782
828
|
...PositionAmount
|
|
@@ -786,7 +832,7 @@
|
|
|
786
832
|
}
|
|
787
833
|
kind
|
|
788
834
|
orderClass
|
|
789
|
-
}`,[
|
|
835
|
+
}`,[h]),Dt=e(`fragment WithdrawSwap on WithdrawSwap {
|
|
790
836
|
__typename
|
|
791
837
|
withdraw {
|
|
792
838
|
...PositionAmount
|
|
@@ -796,7 +842,7 @@
|
|
|
796
842
|
}
|
|
797
843
|
kind
|
|
798
844
|
orderClass
|
|
799
|
-
}`,[
|
|
845
|
+
}`,[h,R]),Lt=e(`fragment TokenSwap on TokenSwap {
|
|
800
846
|
__typename
|
|
801
847
|
sell {
|
|
802
848
|
...TokenAmount
|
|
@@ -806,7 +852,7 @@
|
|
|
806
852
|
}
|
|
807
853
|
kind
|
|
808
854
|
orderClass
|
|
809
|
-
}`,[R]),
|
|
855
|
+
}`,[R]),B=e(`fragment SwapOperation on SwapOperation {
|
|
810
856
|
__typename
|
|
811
857
|
... on SupplySwap {
|
|
812
858
|
...SupplySwap
|
|
@@ -823,7 +869,7 @@
|
|
|
823
869
|
... on TokenSwap {
|
|
824
870
|
...TokenSwap
|
|
825
871
|
}
|
|
826
|
-
}`,[
|
|
872
|
+
}`,[$t,Mt,Nt,Dt,Lt]),Gt=e(`fragment SwapCancelled on SwapCancelled {
|
|
827
873
|
__typename
|
|
828
874
|
swapId
|
|
829
875
|
createdAt
|
|
@@ -832,7 +878,7 @@
|
|
|
832
878
|
operation {
|
|
833
879
|
...SwapOperation
|
|
834
880
|
}
|
|
835
|
-
}`,[
|
|
881
|
+
}`,[B]),Kt=e(`fragment SwapExpired on SwapExpired {
|
|
836
882
|
__typename
|
|
837
883
|
swapId
|
|
838
884
|
createdAt
|
|
@@ -841,7 +887,7 @@
|
|
|
841
887
|
operation {
|
|
842
888
|
...SwapOperation
|
|
843
889
|
}
|
|
844
|
-
}`,[
|
|
890
|
+
}`,[B]),Yt=e(`fragment SwapOpen on SwapOpen {
|
|
845
891
|
__typename
|
|
846
892
|
swapId
|
|
847
893
|
createdAt
|
|
@@ -850,7 +896,7 @@
|
|
|
850
896
|
operation {
|
|
851
897
|
...SwapOperation
|
|
852
898
|
}
|
|
853
|
-
}`,[
|
|
899
|
+
}`,[B]),zt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
854
900
|
__typename
|
|
855
901
|
swapId
|
|
856
902
|
createdAt
|
|
@@ -859,7 +905,7 @@
|
|
|
859
905
|
operation {
|
|
860
906
|
...SwapOperation
|
|
861
907
|
}
|
|
862
|
-
}`,[
|
|
908
|
+
}`,[B]),Zt=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
863
909
|
__typename
|
|
864
910
|
swapId
|
|
865
911
|
txHash
|
|
@@ -870,7 +916,7 @@
|
|
|
870
916
|
operation {
|
|
871
917
|
...SwapOperation
|
|
872
918
|
}
|
|
873
|
-
}`,[
|
|
919
|
+
}`,[B]),G=e(`fragment SwapStatus on SwapStatus {
|
|
874
920
|
__typename
|
|
875
921
|
... on SwapOpen {
|
|
876
922
|
...SwapOpen
|
|
@@ -887,12 +933,12 @@
|
|
|
887
933
|
... on SwapFulfilled {
|
|
888
934
|
...SwapFulfilled
|
|
889
935
|
}
|
|
890
|
-
}`,[
|
|
936
|
+
}`,[Yt,zt,Gt,Kt,Zt]),Se=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
891
937
|
__typename
|
|
892
938
|
data {
|
|
893
939
|
...SwapTypedData
|
|
894
940
|
}
|
|
895
|
-
}`,[
|
|
941
|
+
}`,[_]),jt=e(`fragment SwapCancelledResult on SwapCancelledResult {
|
|
896
942
|
__typename
|
|
897
943
|
swapId
|
|
898
944
|
createdAt
|
|
@@ -906,7 +952,7 @@
|
|
|
906
952
|
... on SwapCancelledResult {
|
|
907
953
|
...SwapCancelledResult
|
|
908
954
|
}
|
|
909
|
-
}`,[
|
|
955
|
+
}`,[s,jt]),fe=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
910
956
|
__typename
|
|
911
957
|
items {
|
|
912
958
|
...SwapStatus
|
|
@@ -914,12 +960,12 @@
|
|
|
914
960
|
pageInfo {
|
|
915
961
|
...PaginatedResultInfo
|
|
916
962
|
}
|
|
917
|
-
}`,[
|
|
963
|
+
}`,[G,g]),Jt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
918
964
|
__typename
|
|
919
965
|
bySignature {
|
|
920
966
|
...SwapTypedData
|
|
921
967
|
}
|
|
922
|
-
}`,[
|
|
968
|
+
}`,[_]),Xt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
923
969
|
__typename
|
|
924
970
|
byTransaction {
|
|
925
971
|
...TransactionRequest
|
|
@@ -927,12 +973,12 @@
|
|
|
927
973
|
bySignature {
|
|
928
974
|
...SwapTypedData
|
|
929
975
|
}
|
|
930
|
-
}`,[
|
|
976
|
+
}`,[s,_]),er=e(`fragment PositionSwapSetCollateralApproval on PositionSwapSetCollateralApproval {
|
|
931
977
|
__typename
|
|
932
978
|
bySignature {
|
|
933
979
|
...SwapTypedData
|
|
934
980
|
}
|
|
935
|
-
}`,[
|
|
981
|
+
}`,[_]),tr=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
936
982
|
__typename
|
|
937
983
|
... on PositionSwapAdapterContractApproval {
|
|
938
984
|
...PositionSwapAdapterContractApproval
|
|
@@ -943,7 +989,7 @@
|
|
|
943
989
|
... on PositionSwapSetCollateralApproval {
|
|
944
990
|
...PositionSwapSetCollateralApproval
|
|
945
991
|
}
|
|
946
|
-
}`,[
|
|
992
|
+
}`,[Jt,Xt,er]),$=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
947
993
|
__typename
|
|
948
994
|
quote {
|
|
949
995
|
...SwapQuote
|
|
@@ -951,7 +997,7 @@
|
|
|
951
997
|
approvals {
|
|
952
998
|
...PositionSwapApproval
|
|
953
999
|
}
|
|
954
|
-
}`,[
|
|
1000
|
+
}`,[O,tr]),qe=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
955
1001
|
__typename
|
|
956
1002
|
... on PositionSwapByIntentApprovalsRequired {
|
|
957
1003
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -959,7 +1005,7 @@
|
|
|
959
1005
|
... on InsufficientLiquidityError {
|
|
960
1006
|
...InsufficientLiquidityError
|
|
961
1007
|
}
|
|
962
|
-
}`,[
|
|
1008
|
+
}`,[$,b]),we=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
963
1009
|
__typename
|
|
964
1010
|
... on PositionSwapByIntentApprovalsRequired {
|
|
965
1011
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -967,7 +1013,7 @@
|
|
|
967
1013
|
... on InsufficientLiquidityError {
|
|
968
1014
|
...InsufficientLiquidityError
|
|
969
1015
|
}
|
|
970
|
-
}`,[
|
|
1016
|
+
}`,[$,b]),xe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
971
1017
|
__typename
|
|
972
1018
|
... on PositionSwapByIntentApprovalsRequired {
|
|
973
1019
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -975,7 +1021,7 @@
|
|
|
975
1021
|
... on InsufficientLiquidityError {
|
|
976
1022
|
...InsufficientLiquidityError
|
|
977
1023
|
}
|
|
978
|
-
}`,[
|
|
1024
|
+
}`,[$,b]),he=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
979
1025
|
__typename
|
|
980
1026
|
... on PositionSwapByIntentApprovalsRequired {
|
|
981
1027
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -983,7 +1029,7 @@
|
|
|
983
1029
|
... on InsufficientLiquidityError {
|
|
984
1030
|
...InsufficientLiquidityError
|
|
985
1031
|
}
|
|
986
|
-
}`,[
|
|
1032
|
+
}`,[$,b]),Pe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
987
1033
|
__typename
|
|
988
1034
|
... on PrepareSwapOrder {
|
|
989
1035
|
...PrepareSwapOrder
|
|
@@ -991,7 +1037,7 @@
|
|
|
991
1037
|
... on InsufficientBalanceError {
|
|
992
1038
|
...InsufficientBalanceError
|
|
993
1039
|
}
|
|
994
|
-
}`,[
|
|
1040
|
+
}`,[ye,f]);var Ae=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
995
1041
|
__typename
|
|
996
1042
|
id
|
|
997
1043
|
reserve {
|
|
@@ -1011,7 +1057,7 @@
|
|
|
1011
1057
|
}
|
|
1012
1058
|
isCollateral
|
|
1013
1059
|
createdAt
|
|
1014
|
-
}`,[
|
|
1060
|
+
}`,[p,T]),Fe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
1015
1061
|
__typename
|
|
1016
1062
|
id
|
|
1017
1063
|
principal {
|
|
@@ -1027,7 +1073,7 @@
|
|
|
1027
1073
|
...Reserve
|
|
1028
1074
|
}
|
|
1029
1075
|
createdAt
|
|
1030
|
-
}`,[
|
|
1076
|
+
}`,[p,T]),be=e(`fragment UserSummary on UserSummary {
|
|
1031
1077
|
__typename
|
|
1032
1078
|
totalPositions
|
|
1033
1079
|
netBalance(currency: $currency) {
|
|
@@ -1049,7 +1095,7 @@
|
|
|
1049
1095
|
...ExchangeAmount
|
|
1050
1096
|
}
|
|
1051
1097
|
lowestHealthFactor
|
|
1052
|
-
}`,[
|
|
1098
|
+
}`,[A,i,a]),Ie=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
1053
1099
|
__typename
|
|
1054
1100
|
token {
|
|
1055
1101
|
...Erc20Token
|
|
@@ -1063,7 +1109,7 @@
|
|
|
1063
1109
|
collateral {
|
|
1064
1110
|
...PercentNumber
|
|
1065
1111
|
}
|
|
1066
|
-
}`,[
|
|
1112
|
+
}`,[m,a]),rr=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
1067
1113
|
__typename
|
|
1068
1114
|
current {
|
|
1069
1115
|
...PercentNumber
|
|
@@ -1071,7 +1117,7 @@
|
|
|
1071
1117
|
latest {
|
|
1072
1118
|
...PercentNumber
|
|
1073
1119
|
}
|
|
1074
|
-
}`,[a]),
|
|
1120
|
+
}`,[a]),K=e(`fragment UserPosition on UserPosition {
|
|
1075
1121
|
__typename
|
|
1076
1122
|
id
|
|
1077
1123
|
spoke {
|
|
@@ -1128,7 +1174,7 @@
|
|
|
1128
1174
|
averageCollateralFactor {
|
|
1129
1175
|
...PercentNumber
|
|
1130
1176
|
}
|
|
1131
|
-
}`,[
|
|
1177
|
+
}`,[y,a,A,i,J,te,rr]),Te=e(`fragment UserBalance on UserBalance {
|
|
1132
1178
|
__typename
|
|
1133
1179
|
id
|
|
1134
1180
|
info {
|
|
@@ -1161,7 +1207,7 @@
|
|
|
1161
1207
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
1162
1208
|
...PercentNumber
|
|
1163
1209
|
}
|
|
1164
|
-
}`,[
|
|
1210
|
+
}`,[C,l,R,i,a]),ke=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
1165
1211
|
__typename
|
|
1166
1212
|
netBalance(currency: $currency) {
|
|
1167
1213
|
...ExchangeAmount
|
|
@@ -1174,13 +1220,13 @@
|
|
|
1174
1220
|
}
|
|
1175
1221
|
healthFactor
|
|
1176
1222
|
date
|
|
1177
|
-
}`,[
|
|
1223
|
+
}`,[i]),Y=e(`fragment ApySample on ApySample {
|
|
1178
1224
|
__typename
|
|
1179
1225
|
date
|
|
1180
1226
|
avgRate {
|
|
1181
1227
|
...PercentNumber
|
|
1182
1228
|
}
|
|
1183
|
-
}`,[a]);var
|
|
1229
|
+
}`,[a]);var ar=e(`fragment BoostedRate on BoostedRate {
|
|
1184
1230
|
__typename
|
|
1185
1231
|
id
|
|
1186
1232
|
name
|
|
@@ -1188,12 +1234,12 @@
|
|
|
1188
1234
|
apy {
|
|
1189
1235
|
...PercentNumber
|
|
1190
1236
|
}
|
|
1191
|
-
}`,[a]),
|
|
1237
|
+
}`,[a]),nr=e(`fragment StableVaultSummary on StableVaultSummary {
|
|
1192
1238
|
__typename
|
|
1193
1239
|
shares
|
|
1194
1240
|
userCount
|
|
1195
1241
|
totalDeposits
|
|
1196
|
-
}`),
|
|
1242
|
+
}`),or=e(`fragment StableVaultRates on StableVaultRates {
|
|
1197
1243
|
__typename
|
|
1198
1244
|
baseRate {
|
|
1199
1245
|
...PercentNumber
|
|
@@ -1202,7 +1248,7 @@
|
|
|
1202
1248
|
boostedRates {
|
|
1203
1249
|
...BoostedRate
|
|
1204
1250
|
}
|
|
1205
|
-
}`,[a,
|
|
1251
|
+
}`,[a,ar]),M=e(`fragment StableVault on StableVault {
|
|
1206
1252
|
__typename
|
|
1207
1253
|
id
|
|
1208
1254
|
name
|
|
@@ -1217,7 +1263,7 @@
|
|
|
1217
1263
|
rates {
|
|
1218
1264
|
...StableVaultRates
|
|
1219
1265
|
}
|
|
1220
|
-
}`,[o,
|
|
1266
|
+
}`,[o,nr,or]),ve=e(`fragment StableVaultUserPosition on StableVaultUserPosition {
|
|
1221
1267
|
__typename
|
|
1222
1268
|
id
|
|
1223
1269
|
vault {
|
|
@@ -1240,13 +1286,13 @@
|
|
|
1240
1286
|
...PercentNumber
|
|
1241
1287
|
}
|
|
1242
1288
|
boostedRateId
|
|
1243
|
-
}`,[
|
|
1289
|
+
}`,[M,l,a]),pr=e(`fragment TokenMovementAllocate on TokenMovementAllocate {
|
|
1244
1290
|
__typename
|
|
1245
1291
|
token {
|
|
1246
1292
|
...Erc20Token
|
|
1247
1293
|
}
|
|
1248
1294
|
amount
|
|
1249
|
-
}`,[
|
|
1295
|
+
}`,[m]),sr=e(`fragment TokenMovementBridgeIn on TokenMovementBridgeIn {
|
|
1250
1296
|
__typename
|
|
1251
1297
|
fromToken {
|
|
1252
1298
|
...Erc20Token
|
|
@@ -1255,7 +1301,7 @@
|
|
|
1255
1301
|
...Erc20Token
|
|
1256
1302
|
}
|
|
1257
1303
|
amount
|
|
1258
|
-
}`,[
|
|
1304
|
+
}`,[m]),ur=e(`fragment TokenMovementBridgeOut on TokenMovementBridgeOut {
|
|
1259
1305
|
__typename
|
|
1260
1306
|
fromToken {
|
|
1261
1307
|
...Erc20Token
|
|
@@ -1264,19 +1310,19 @@
|
|
|
1264
1310
|
...Erc20Token
|
|
1265
1311
|
}
|
|
1266
1312
|
amount
|
|
1267
|
-
}`,[
|
|
1313
|
+
}`,[m]),ir=e(`fragment TokenMovementDeallocate on TokenMovementDeallocate {
|
|
1268
1314
|
__typename
|
|
1269
1315
|
token {
|
|
1270
1316
|
...Erc20Token
|
|
1271
1317
|
}
|
|
1272
1318
|
amount
|
|
1273
|
-
}`,[
|
|
1319
|
+
}`,[m]),mr=e(`fragment TokenMovementRebalance on TokenMovementRebalance {
|
|
1274
1320
|
__typename
|
|
1275
1321
|
token {
|
|
1276
1322
|
...Erc20Token
|
|
1277
1323
|
}
|
|
1278
1324
|
amount
|
|
1279
|
-
}`,[
|
|
1325
|
+
}`,[m]),yr=e(`fragment TokenMovementSwap on TokenMovementSwap {
|
|
1280
1326
|
__typename
|
|
1281
1327
|
fromToken {
|
|
1282
1328
|
...Erc20Token
|
|
@@ -1286,7 +1332,7 @@
|
|
|
1286
1332
|
...Erc20Token
|
|
1287
1333
|
}
|
|
1288
1334
|
toAmount
|
|
1289
|
-
}`,[
|
|
1335
|
+
}`,[m]),lr=e(`fragment TokenMovement on TokenMovement {
|
|
1290
1336
|
__typename
|
|
1291
1337
|
... on TokenMovementAllocate {
|
|
1292
1338
|
...TokenMovementAllocate
|
|
@@ -1306,7 +1352,7 @@
|
|
|
1306
1352
|
... on TokenMovementRebalance {
|
|
1307
1353
|
...TokenMovementRebalance
|
|
1308
1354
|
}
|
|
1309
|
-
}`,[
|
|
1355
|
+
}`,[pr,sr,ur,ir,yr,mr]),cr=e(`fragment TokenMovementRecord on TokenMovementRecord {
|
|
1310
1356
|
__typename
|
|
1311
1357
|
id
|
|
1312
1358
|
type {
|
|
@@ -1315,7 +1361,7 @@
|
|
|
1315
1361
|
status
|
|
1316
1362
|
timestamp
|
|
1317
1363
|
txHash
|
|
1318
|
-
}`,[
|
|
1364
|
+
}`,[lr]),Ce=e(`fragment PaginatedStableVaultMovementsResult on PaginatedStableVaultMovementsResult {
|
|
1319
1365
|
__typename
|
|
1320
1366
|
items {
|
|
1321
1367
|
...TokenMovementRecord
|
|
@@ -1323,20 +1369,20 @@
|
|
|
1323
1369
|
pageInfo {
|
|
1324
1370
|
...PaginatedResultInfo
|
|
1325
1371
|
}
|
|
1326
|
-
}`,[
|
|
1372
|
+
}`,[cr,g]),Ee=e(`fragment PaginatedStableVaultRateUsersResult on PaginatedStableVaultRateUsersResult {
|
|
1327
1373
|
__typename
|
|
1328
1374
|
items
|
|
1329
1375
|
pageInfo {
|
|
1330
1376
|
...PaginatedResultInfo
|
|
1331
1377
|
}
|
|
1332
|
-
}`,[
|
|
1378
|
+
}`,[g]),gr=e(`fragment StableVaultWithdrawClaim on StableVaultWithdrawClaim {
|
|
1333
1379
|
__typename
|
|
1334
1380
|
claimId
|
|
1335
1381
|
transaction {
|
|
1336
1382
|
...TransactionRequest
|
|
1337
1383
|
}
|
|
1338
1384
|
executableAfter
|
|
1339
|
-
}`,[
|
|
1385
|
+
}`,[s]),dr=e(`fragment StableVaultPendingAvailability on StableVaultPendingAvailability {
|
|
1340
1386
|
__typename
|
|
1341
1387
|
executableAfter
|
|
1342
1388
|
}`),Ue=e(`fragment StableVaultDepositExecutionPlan on StableVaultDepositExecutionPlan {
|
|
@@ -1350,7 +1396,7 @@
|
|
|
1350
1396
|
... on InsufficientBalanceError {
|
|
1351
1397
|
...InsufficientBalanceError
|
|
1352
1398
|
}
|
|
1353
|
-
}`,[
|
|
1399
|
+
}`,[s,E,f]),Oe=e(`fragment StableVaultWithdrawExecutionPlan on StableVaultWithdrawExecutionPlan {
|
|
1354
1400
|
__typename
|
|
1355
1401
|
... on TransactionRequest {
|
|
1356
1402
|
...TransactionRequest
|
|
@@ -1358,7 +1404,7 @@
|
|
|
1358
1404
|
... on StableVaultWithdrawClaim {
|
|
1359
1405
|
...StableVaultWithdrawClaim
|
|
1360
1406
|
}
|
|
1361
|
-
}`,[
|
|
1407
|
+
}`,[s,gr]),_e=e(`fragment StableVaultWithdrawRedeemExecutionPlan on StableVaultWithdrawRedeemExecutionPlan {
|
|
1362
1408
|
__typename
|
|
1363
1409
|
... on TransactionRequest {
|
|
1364
1410
|
...TransactionRequest
|
|
@@ -1366,19 +1412,19 @@
|
|
|
1366
1412
|
... on StableVaultPendingAvailability {
|
|
1367
1413
|
...StableVaultPendingAvailability
|
|
1368
1414
|
}
|
|
1369
|
-
}`,[
|
|
1415
|
+
}`,[s,dr]);var Za=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1370
1416
|
value: hub(request: $request) {
|
|
1371
1417
|
...Hub
|
|
1372
1418
|
}
|
|
1373
|
-
}`,[
|
|
1419
|
+
}`,[q]),ja=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1374
1420
|
value: hubs(request: $request) {
|
|
1375
1421
|
...Hub
|
|
1376
1422
|
}
|
|
1377
|
-
}`,[
|
|
1423
|
+
}`,[q]),Ja=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1378
1424
|
value: hubAssets(request: $request) {
|
|
1379
1425
|
...HubAsset
|
|
1380
1426
|
}
|
|
1381
|
-
}`,[
|
|
1427
|
+
}`,[I]),Sr=e(`fragment HubSummarySample on HubSummarySample {
|
|
1382
1428
|
__typename
|
|
1383
1429
|
date
|
|
1384
1430
|
deposits {
|
|
@@ -1393,11 +1439,11 @@
|
|
|
1393
1439
|
utilizationRate {
|
|
1394
1440
|
...PercentNumber
|
|
1395
1441
|
}
|
|
1396
|
-
}`,[
|
|
1442
|
+
}`,[i,a]),Xa=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
1397
1443
|
value: hubSummaryHistory(request: $request) {
|
|
1398
1444
|
...HubSummarySample
|
|
1399
1445
|
}
|
|
1400
|
-
}`,[
|
|
1446
|
+
}`,[Sr]),Rr=e(`fragment HubAssetInterestRateModelPoint on HubAssetInterestRateModelPoint {
|
|
1401
1447
|
__typename
|
|
1402
1448
|
utilizationRate {
|
|
1403
1449
|
...PercentNumber
|
|
@@ -1411,29 +1457,55 @@
|
|
|
1411
1457
|
liquidityDistance {
|
|
1412
1458
|
...Erc20Amount
|
|
1413
1459
|
}
|
|
1414
|
-
}`,[a,
|
|
1460
|
+
}`,[a,p]),en=e(`query HubAssetInterestRateModel($request: HubAssetInterestRateModelRequest!, $currency: Currency!) {
|
|
1415
1461
|
value: hubAssetInterestRateModel(request: $request) {
|
|
1416
1462
|
points {
|
|
1417
1463
|
...HubAssetInterestRateModelPoint
|
|
1418
1464
|
}
|
|
1419
1465
|
}
|
|
1420
|
-
}`,[
|
|
1466
|
+
}`,[Rr]),fr=e(`fragment HubSpokeConfig on HubSpokeConfig {
|
|
1467
|
+
__typename
|
|
1468
|
+
hub {
|
|
1469
|
+
...Hub
|
|
1470
|
+
}
|
|
1471
|
+
spoke {
|
|
1472
|
+
...Spoke
|
|
1473
|
+
}
|
|
1474
|
+
asset {
|
|
1475
|
+
...HubAsset
|
|
1476
|
+
}
|
|
1477
|
+
supplyCap {
|
|
1478
|
+
...Erc20Amount
|
|
1479
|
+
}
|
|
1480
|
+
borrowCap {
|
|
1481
|
+
...Erc20Amount
|
|
1482
|
+
}
|
|
1483
|
+
active
|
|
1484
|
+
halted
|
|
1485
|
+
riskPremiumThreshold {
|
|
1486
|
+
...PercentNumber
|
|
1487
|
+
}
|
|
1488
|
+
}`,[q,y,I,p,a]),tn=e(`query HubSpokeConfigs($request: HubSpokeConfigsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1489
|
+
value: hubSpokeConfigs(request: $request) {
|
|
1490
|
+
...HubSpokeConfig
|
|
1491
|
+
}
|
|
1492
|
+
}`,[fr]);function D(t){return new TextDecoder().decode(Uint8Array.from(atob(t),x=>x.charCodeAt(0)))}function L(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var w="::";function nn(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 on(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid BoostedRateId: ${t}`),t}function qr(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 pn(t){return qr(L(`${t.chainId}${w}${t.address}`))}function sn(t){let x=D(t),[r,n]=x.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function un(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 mn(t){return t}function yn(t){let x=D(t),[r,n,P]=x.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),onChainId:P}}function ln(t){return L(`${t.chainId}${w}${t.spoke}${w}${t.onChainId}`)}function wr(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 cn(t){let x=D(t),[r,n,P]=x.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),user:types.evmAddress(P)}}function gn(t){return wr(L(`${t.chainId}${w}${t.spoke}${w}${t.user}`))}function dn(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function Sn(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function Rn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultId: ${t}`),t}function fn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultUserPositionId: ${t}`),t}function qn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultWithdrawClaimId: ${t}`),t}function wn(t){return xr(L(`${t.chainId}${w}${t.address}`))}function xn(t){let x=D(t),[r,n]=x.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function xr(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 hn(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 Pn(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 An(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 Fn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function bn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenMovementId: ${t}`),t}function kn(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function vn(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function Cn(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function En(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Un(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function On(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Qn=e(`query Chain($request: ChainRequest!) {
|
|
1421
1493
|
value: chain(request: $request) {
|
|
1422
1494
|
...Chain
|
|
1423
1495
|
}
|
|
1424
|
-
}`,[o]),
|
|
1496
|
+
}`,[o]),Wn=e(`query Chains($request: ChainsRequest!) {
|
|
1425
1497
|
value: chains(request: $request) {
|
|
1426
1498
|
...Chain
|
|
1427
1499
|
}
|
|
1428
|
-
}`,[o]),
|
|
1500
|
+
}`,[o]),Vn=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
1429
1501
|
value: hasProcessedKnownTransaction(request: $request)
|
|
1430
|
-
}`)
|
|
1502
|
+
}`),$n=e(`query Health {
|
|
1431
1503
|
value: health
|
|
1432
|
-
}`),
|
|
1504
|
+
}`),Mn=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
1433
1505
|
value: exchangeRate(request: $request) {
|
|
1434
1506
|
...ExchangeAmount
|
|
1435
1507
|
}
|
|
1436
|
-
}`,[
|
|
1508
|
+
}`,[i]);var hr=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
1437
1509
|
__typename
|
|
1438
1510
|
date
|
|
1439
1511
|
price
|
|
@@ -1448,7 +1520,7 @@
|
|
|
1448
1520
|
hub {
|
|
1449
1521
|
...Hub
|
|
1450
1522
|
}
|
|
1451
|
-
}`,[
|
|
1523
|
+
}`,[l,a,q]),Pr=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
1452
1524
|
__typename
|
|
1453
1525
|
date
|
|
1454
1526
|
amount {
|
|
@@ -1466,7 +1538,7 @@
|
|
|
1466
1538
|
breakdown {
|
|
1467
1539
|
...AssetSampleBreakdown
|
|
1468
1540
|
}
|
|
1469
|
-
}`,[
|
|
1541
|
+
}`,[l,a,He]),Ar=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
1470
1542
|
__typename
|
|
1471
1543
|
date
|
|
1472
1544
|
amount {
|
|
@@ -1484,7 +1556,7 @@
|
|
|
1484
1556
|
breakdown {
|
|
1485
1557
|
...AssetSampleBreakdown
|
|
1486
1558
|
}
|
|
1487
|
-
}`,[
|
|
1559
|
+
}`,[l,a,He]),Fr=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1488
1560
|
__typename
|
|
1489
1561
|
amount {
|
|
1490
1562
|
...DecimalNumberWithChange
|
|
@@ -1492,7 +1564,7 @@
|
|
|
1492
1564
|
exchange(currency: $currency) {
|
|
1493
1565
|
...ExchangeAmountWithChange
|
|
1494
1566
|
}
|
|
1495
|
-
}`,[
|
|
1567
|
+
}`,[z,A]),br=e(`fragment AssetSummary on AssetSummary {
|
|
1496
1568
|
__typename
|
|
1497
1569
|
totalSupplyCap {
|
|
1498
1570
|
...AssetAmountWithChange
|
|
@@ -1512,13 +1584,15 @@
|
|
|
1512
1584
|
totalBorrowable {
|
|
1513
1585
|
...AssetAmountWithChange
|
|
1514
1586
|
}
|
|
1587
|
+
reservesCount
|
|
1588
|
+
activeReservesCount
|
|
1515
1589
|
averageBorrowApy: borrowApy(metric: AVERAGE) {
|
|
1516
1590
|
...PercentNumber
|
|
1517
1591
|
}
|
|
1518
1592
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1519
1593
|
...PercentNumber
|
|
1520
1594
|
}
|
|
1521
|
-
}`,[
|
|
1595
|
+
}`,[Fr,a]),Ir=e(`fragment Asset on Asset {
|
|
1522
1596
|
__typename
|
|
1523
1597
|
id
|
|
1524
1598
|
token {
|
|
@@ -1530,23 +1604,23 @@
|
|
|
1530
1604
|
price(currency: $currency) {
|
|
1531
1605
|
...ExchangeAmountWithChange
|
|
1532
1606
|
}
|
|
1533
|
-
}`,[
|
|
1607
|
+
}`,[m,br,A]),Gn=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1534
1608
|
value: asset(request: $request) {
|
|
1535
1609
|
...Asset
|
|
1536
1610
|
}
|
|
1537
|
-
}`,[
|
|
1611
|
+
}`,[Ir]),Kn=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1538
1612
|
value: assetPriceHistory(request: $request) {
|
|
1539
1613
|
...AssetPriceSample
|
|
1540
1614
|
}
|
|
1541
|
-
}`,[
|
|
1615
|
+
}`,[hr]),Yn=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1542
1616
|
value: assetSupplyHistory(request: $request) {
|
|
1543
1617
|
...AssetSupplySample
|
|
1544
1618
|
}
|
|
1545
|
-
}`,[
|
|
1619
|
+
}`,[Pr]),zn=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1546
1620
|
value: assetBorrowHistory(request: $request) {
|
|
1547
1621
|
...AssetBorrowSample
|
|
1548
1622
|
}
|
|
1549
|
-
}`,[
|
|
1623
|
+
}`,[Ar]),Tr=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1550
1624
|
__typename
|
|
1551
1625
|
date
|
|
1552
1626
|
deposits {
|
|
@@ -1555,27 +1629,27 @@
|
|
|
1555
1629
|
borrows {
|
|
1556
1630
|
...ExchangeAmount
|
|
1557
1631
|
}
|
|
1558
|
-
}`,[
|
|
1632
|
+
}`,[i]),Zn=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1559
1633
|
value: protocolHistory(request: $request) {
|
|
1560
1634
|
...ProtocolHistorySample
|
|
1561
1635
|
}
|
|
1562
|
-
}`,[
|
|
1636
|
+
}`,[Tr]);var eo=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1563
1637
|
value: borrowApyHistory(request: $request) {
|
|
1564
1638
|
...ApySample
|
|
1565
1639
|
}
|
|
1566
|
-
}`,[
|
|
1640
|
+
}`,[Y]),to=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1567
1641
|
value: supplyApyHistory(request: $request) {
|
|
1568
1642
|
...ApySample
|
|
1569
1643
|
}
|
|
1570
|
-
}`,[
|
|
1644
|
+
}`,[Y]),ro=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1571
1645
|
value: reserve(request: $request) {
|
|
1572
1646
|
...Reserve
|
|
1573
1647
|
}
|
|
1574
|
-
}`,[
|
|
1648
|
+
}`,[T]),ao=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1575
1649
|
value: reserves(request: $request) {
|
|
1576
1650
|
...Reserve
|
|
1577
1651
|
}
|
|
1578
|
-
}`,[
|
|
1652
|
+
}`,[T]),no=e(`query ReserveHolders($request: PaginatedReserveHoldersRequest!, $currency: Currency!) {
|
|
1579
1653
|
value: reserveHolders(request: $request) {
|
|
1580
1654
|
items {
|
|
1581
1655
|
...ReserveHolder
|
|
@@ -1584,99 +1658,112 @@
|
|
|
1584
1658
|
...PaginatedResultInfo
|
|
1585
1659
|
}
|
|
1586
1660
|
}
|
|
1587
|
-
}`,[me,
|
|
1661
|
+
}`,[me,g]);var uo=e(`query ClaimRewards($request: ClaimRewardsRequest!) {
|
|
1588
1662
|
value: claimRewards(request: $request) {
|
|
1589
1663
|
...TransactionRequest
|
|
1590
1664
|
}
|
|
1591
|
-
}`,[
|
|
1665
|
+
}`,[s]),io=e(`query UserClaimableRewards($request: UserClaimableRewardsRequest!, $currency: Currency! = USD) {
|
|
1592
1666
|
value: userClaimableRewards(request: $request) {
|
|
1593
1667
|
...UserClaimableReward
|
|
1594
1668
|
}
|
|
1595
|
-
}`,[se]);var
|
|
1669
|
+
}`,[se]);var go=e(`query Spoke($request: SpokeRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1596
1670
|
value: spoke(request: $request) {
|
|
1597
1671
|
...Spoke
|
|
1598
1672
|
}
|
|
1599
|
-
}`,[
|
|
1673
|
+
}`,[y]),So=e(`query Spokes($request: SpokesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1600
1674
|
value: spokes(request: $request) {
|
|
1601
1675
|
...Spoke
|
|
1602
1676
|
}
|
|
1603
|
-
}`,[
|
|
1677
|
+
}`,[y]),Ro=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1604
1678
|
value: spokePositionManagers(request: $request) {
|
|
1605
1679
|
...PaginatedSpokePositionManagerResult
|
|
1606
1680
|
}
|
|
1607
|
-
}`,[
|
|
1681
|
+
}`,[ue]),fo=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1608
1682
|
value: spokeUserPositionManagers(request: $request) {
|
|
1609
1683
|
...PaginatedSpokeUserPositionManagerResult
|
|
1610
1684
|
}
|
|
1611
|
-
}`,[
|
|
1685
|
+
}`,[ie]),kr=e(`fragment SpokeSummarySample on SpokeSummarySample {
|
|
1686
|
+
__typename
|
|
1687
|
+
date
|
|
1688
|
+
deposits {
|
|
1689
|
+
...ExchangeAmount
|
|
1690
|
+
}
|
|
1691
|
+
borrows {
|
|
1692
|
+
...ExchangeAmount
|
|
1693
|
+
}
|
|
1694
|
+
}`,[i]),qo=e(`query SpokeSummaryHistory($request: SpokeSummaryHistoryRequest!) {
|
|
1695
|
+
value: spokeSummaryHistory(request: $request) {
|
|
1696
|
+
...SpokeSummarySample
|
|
1697
|
+
}
|
|
1698
|
+
}`,[kr]);var Po=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1612
1699
|
value: tokenSwapQuote(request: $request) {
|
|
1613
1700
|
...TokenSwapQuoteResult
|
|
1614
1701
|
}
|
|
1615
|
-
}`,[ce]),
|
|
1702
|
+
}`,[ce]),Ao=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1616
1703
|
value: swappableTokens(request: $request) {
|
|
1617
1704
|
...Token
|
|
1618
1705
|
}
|
|
1619
|
-
}`,[
|
|
1706
|
+
}`,[j]),Fo=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1620
1707
|
value: prepareTokenSwap(request: $request) {
|
|
1621
1708
|
...PrepareTokenSwapResult
|
|
1622
1709
|
}
|
|
1623
|
-
}`,[ge]),
|
|
1710
|
+
}`,[ge]),bo=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1624
1711
|
value: swapStatus(request: $request) {
|
|
1625
1712
|
...SwapStatus
|
|
1626
1713
|
}
|
|
1627
|
-
}`,[
|
|
1714
|
+
}`,[G]),Io=e(`mutation Swap($request: SwapRequest!) {
|
|
1628
1715
|
value: swap(request: $request) {
|
|
1629
1716
|
...SwapExecutionPlan
|
|
1630
1717
|
}
|
|
1631
|
-
}`,[de]),
|
|
1718
|
+
}`,[de]),To=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1632
1719
|
value: prepareSwapCancel(request: $request) {
|
|
1633
1720
|
...PrepareSwapCancelResult
|
|
1634
1721
|
}
|
|
1635
|
-
}`,[Se]),
|
|
1722
|
+
}`,[Se]),ko=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1636
1723
|
value: cancelSwap(request: $request) {
|
|
1637
1724
|
...CancelSwapExecutionPlan
|
|
1638
1725
|
}
|
|
1639
|
-
}`,[Re]),
|
|
1726
|
+
}`,[Re]),vo=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1640
1727
|
value: userSwaps(request: $request) {
|
|
1641
1728
|
...PaginatedUserSwapsResult
|
|
1642
1729
|
}
|
|
1643
|
-
}`,[fe]),
|
|
1730
|
+
}`,[fe]),Co=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1644
1731
|
value: supplySwapQuote(request: $request) {
|
|
1645
1732
|
...SupplySwapQuoteResult
|
|
1646
1733
|
}
|
|
1647
|
-
}`,[
|
|
1734
|
+
}`,[qe]),Eo=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1648
1735
|
value: borrowSwapQuote(request: $request) {
|
|
1649
1736
|
...BorrowSwapQuoteResult
|
|
1650
1737
|
}
|
|
1651
|
-
}`,[
|
|
1738
|
+
}`,[we]),Uo=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1652
1739
|
value: repayWithSupplyQuote(request: $request) {
|
|
1653
1740
|
...RepayWithSupplyQuoteResult
|
|
1654
1741
|
}
|
|
1655
|
-
}`,[xe]),
|
|
1742
|
+
}`,[xe]),Oo=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1656
1743
|
value: withdrawSwapQuote(request: $request) {
|
|
1657
1744
|
...WithdrawSwapQuoteResult
|
|
1658
1745
|
}
|
|
1659
|
-
}`,[
|
|
1746
|
+
}`,[he]),_o=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1660
1747
|
value: preparePositionSwap(request: $request) {
|
|
1661
1748
|
...PreparePositionSwapResult
|
|
1662
1749
|
}
|
|
1663
|
-
}`,[
|
|
1750
|
+
}`,[Pe]);var Wo=e(`query Borrow($request: BorrowRequest!) {
|
|
1664
1751
|
value: borrow(request: $request) {
|
|
1665
1752
|
...ExecutionPlan
|
|
1666
1753
|
}
|
|
1667
|
-
}`,[
|
|
1754
|
+
}`,[U]),Vo=e(`query Supply($request: SupplyRequest!) {
|
|
1668
1755
|
value: supply(request: $request) {
|
|
1669
1756
|
...ExecutionPlan
|
|
1670
1757
|
}
|
|
1671
|
-
}`,[
|
|
1758
|
+
}`,[U]),$o=e(`query Repay($request: RepayRequest!) {
|
|
1672
1759
|
value: repay(request: $request) {
|
|
1673
1760
|
...ExecutionPlan
|
|
1674
1761
|
}
|
|
1675
|
-
}`,[
|
|
1762
|
+
}`,[U]),Mo=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1676
1763
|
value: withdraw(request: $request) {
|
|
1677
1764
|
...ExecutionPlan
|
|
1678
1765
|
}
|
|
1679
|
-
}`,[
|
|
1766
|
+
}`,[U]),vr=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1680
1767
|
__typename
|
|
1681
1768
|
... on TransactionRequest {
|
|
1682
1769
|
...TransactionRequest
|
|
@@ -1687,27 +1774,27 @@
|
|
|
1687
1774
|
... on InsufficientBalanceError {
|
|
1688
1775
|
...InsufficientBalanceError
|
|
1689
1776
|
}
|
|
1690
|
-
}`,[
|
|
1777
|
+
}`,[s,E,f]),No=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1691
1778
|
value: liquidatePosition(request: $request) {
|
|
1692
1779
|
...LiquidatePositionExecutionPlan
|
|
1693
1780
|
}
|
|
1694
|
-
}`,[
|
|
1781
|
+
}`,[vr]),Do=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1695
1782
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1696
1783
|
...TransactionRequest
|
|
1697
1784
|
}
|
|
1698
|
-
}`,[
|
|
1785
|
+
}`,[s]),Lo=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1699
1786
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1700
1787
|
...TransactionRequest
|
|
1701
1788
|
}
|
|
1702
|
-
}`,[
|
|
1789
|
+
}`,[s]),Go=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1703
1790
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1704
1791
|
...TransactionRequest
|
|
1705
1792
|
}
|
|
1706
|
-
}`,[
|
|
1793
|
+
}`,[s]),Ko=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1707
1794
|
value: updateUserPositionConditions(request: $request) {
|
|
1708
1795
|
...TransactionRequest
|
|
1709
1796
|
}
|
|
1710
|
-
}`,[
|
|
1797
|
+
}`,[s]),Cr=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1711
1798
|
__typename
|
|
1712
1799
|
reserveId
|
|
1713
1800
|
token {
|
|
@@ -1719,7 +1806,7 @@
|
|
|
1719
1806
|
after {
|
|
1720
1807
|
...PercentNumber
|
|
1721
1808
|
}
|
|
1722
|
-
}`,[
|
|
1809
|
+
}`,[m,a]),Er=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1723
1810
|
__typename
|
|
1724
1811
|
reserveId
|
|
1725
1812
|
token {
|
|
@@ -1731,7 +1818,7 @@
|
|
|
1731
1818
|
after {
|
|
1732
1819
|
...PercentNumber
|
|
1733
1820
|
}
|
|
1734
|
-
}`,[
|
|
1821
|
+
}`,[m,a]),Ur=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1735
1822
|
__typename
|
|
1736
1823
|
reserveId
|
|
1737
1824
|
token {
|
|
@@ -1743,7 +1830,7 @@
|
|
|
1743
1830
|
after {
|
|
1744
1831
|
...PercentNumber
|
|
1745
1832
|
}
|
|
1746
|
-
}`,[
|
|
1833
|
+
}`,[m,a]),Or=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1747
1834
|
__typename
|
|
1748
1835
|
... on CollateralFactorVariation {
|
|
1749
1836
|
...CollateralFactorVariation
|
|
@@ -1754,95 +1841,23 @@
|
|
|
1754
1841
|
... on MaxLiquidationBonusVariation {
|
|
1755
1842
|
...MaxLiquidationBonusVariation
|
|
1756
1843
|
}
|
|
1757
|
-
}`,[
|
|
1758
|
-
__typename
|
|
1759
|
-
id
|
|
1760
|
-
startDate
|
|
1761
|
-
endDate
|
|
1762
|
-
extraApy {
|
|
1763
|
-
...PercentNumber
|
|
1764
|
-
}
|
|
1765
|
-
payoutToken {
|
|
1766
|
-
...Erc20Token
|
|
1767
|
-
}
|
|
1768
|
-
criteria {
|
|
1769
|
-
...MerklCriteria
|
|
1770
|
-
}
|
|
1771
|
-
reserve {
|
|
1772
|
-
...ReserveInfo
|
|
1773
|
-
}
|
|
1774
|
-
}`,[a,s,E,c]),Cr=e(`fragment PreviewMerklBorrowReward on PreviewMerklBorrowReward {
|
|
1775
|
-
__typename
|
|
1776
|
-
id
|
|
1777
|
-
startDate
|
|
1778
|
-
endDate
|
|
1779
|
-
discountApy {
|
|
1780
|
-
...PercentNumber
|
|
1781
|
-
}
|
|
1782
|
-
payoutToken {
|
|
1783
|
-
...Erc20Token
|
|
1784
|
-
}
|
|
1785
|
-
criteria {
|
|
1786
|
-
...MerklCriteria
|
|
1787
|
-
}
|
|
1788
|
-
reserve {
|
|
1789
|
-
...ReserveInfo
|
|
1790
|
-
}
|
|
1791
|
-
}`,[a,s,E,c]),Er=e(`fragment PreviewSupplyPoints on PreviewSupplyPointsReward {
|
|
1792
|
-
__typename
|
|
1793
|
-
id
|
|
1794
|
-
program {
|
|
1795
|
-
...PointsProgram
|
|
1796
|
-
}
|
|
1797
|
-
name
|
|
1798
|
-
startDate
|
|
1799
|
-
endDate
|
|
1800
|
-
multiplier
|
|
1801
|
-
criteria {
|
|
1802
|
-
...PointsCriteria
|
|
1803
|
-
}
|
|
1804
|
-
reserve {
|
|
1805
|
-
...ReserveInfo
|
|
1806
|
-
}
|
|
1807
|
-
}`,[O,U,c]),Ur=e(`fragment PreviewBorrowPoints on PreviewBorrowPointsReward {
|
|
1844
|
+
}`,[Cr,Er,Ur]),_r=e(`fragment PreviewRewardChange on PreviewRewardChange {
|
|
1808
1845
|
__typename
|
|
1809
|
-
id
|
|
1810
|
-
program {
|
|
1811
|
-
...PointsProgram
|
|
1812
|
-
}
|
|
1813
|
-
name
|
|
1814
|
-
startDate
|
|
1815
|
-
endDate
|
|
1816
|
-
multiplier
|
|
1817
|
-
criteria {
|
|
1818
|
-
...PointsCriteria
|
|
1819
|
-
}
|
|
1820
1846
|
reserve {
|
|
1821
1847
|
...ReserveInfo
|
|
1822
1848
|
}
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
... on PreviewMerklSupplyReward {
|
|
1826
|
-
...PreviewMerklSupplyReward
|
|
1827
|
-
}
|
|
1828
|
-
... on PreviewMerklBorrowReward {
|
|
1829
|
-
...PreviewMerklBorrowReward
|
|
1830
|
-
}
|
|
1831
|
-
... on PreviewSupplyPointsReward {
|
|
1832
|
-
...PreviewSupplyPoints
|
|
1833
|
-
}
|
|
1834
|
-
... on PreviewBorrowPointsReward {
|
|
1835
|
-
...PreviewBorrowPoints
|
|
1849
|
+
reward {
|
|
1850
|
+
...Reward
|
|
1836
1851
|
}
|
|
1837
|
-
}`,[
|
|
1852
|
+
}`,[d,W]),Br=e(`fragment PreviewRewardOutcome on PreviewRewardOutcome {
|
|
1838
1853
|
__typename
|
|
1839
1854
|
lost {
|
|
1840
|
-
...
|
|
1855
|
+
...PreviewRewardChange
|
|
1841
1856
|
}
|
|
1842
1857
|
gained {
|
|
1843
|
-
...
|
|
1858
|
+
...PreviewRewardChange
|
|
1844
1859
|
}
|
|
1845
|
-
}`,[
|
|
1860
|
+
}`,[_r]),Hr=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1846
1861
|
__typename
|
|
1847
1862
|
id
|
|
1848
1863
|
healthFactor {
|
|
@@ -1883,11 +1898,11 @@
|
|
|
1883
1898
|
otherConditions {
|
|
1884
1899
|
...UserPositionConditionVariation
|
|
1885
1900
|
}
|
|
1886
|
-
}`,[
|
|
1901
|
+
}`,[re,X,ee,Br,Or]),Yo=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1887
1902
|
value: preview(request: $request) {
|
|
1888
1903
|
...PreviewUserPosition
|
|
1889
1904
|
}
|
|
1890
|
-
}`,[
|
|
1905
|
+
}`,[Hr]),Qe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1891
1906
|
__typename
|
|
1892
1907
|
before {
|
|
1893
1908
|
...PercentNumber
|
|
@@ -1895,7 +1910,7 @@
|
|
|
1895
1910
|
after {
|
|
1896
1911
|
...PercentNumber
|
|
1897
1912
|
}
|
|
1898
|
-
}`,[a]),
|
|
1913
|
+
}`,[a]),Qr=e(`fragment BorrowActivity on BorrowActivity {
|
|
1899
1914
|
__typename
|
|
1900
1915
|
id
|
|
1901
1916
|
user
|
|
@@ -1913,7 +1928,7 @@
|
|
|
1913
1928
|
chain {
|
|
1914
1929
|
...Chain
|
|
1915
1930
|
}
|
|
1916
|
-
}`,[
|
|
1931
|
+
}`,[y,p,d,o]),Wr=e(`fragment SupplyActivity on SupplyActivity {
|
|
1917
1932
|
__typename
|
|
1918
1933
|
id
|
|
1919
1934
|
user
|
|
@@ -1931,7 +1946,7 @@
|
|
|
1931
1946
|
chain {
|
|
1932
1947
|
...Chain
|
|
1933
1948
|
}
|
|
1934
|
-
}`,[
|
|
1949
|
+
}`,[y,p,d,o]),Vr=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1935
1950
|
__typename
|
|
1936
1951
|
id
|
|
1937
1952
|
user
|
|
@@ -1949,7 +1964,7 @@
|
|
|
1949
1964
|
chain {
|
|
1950
1965
|
...Chain
|
|
1951
1966
|
}
|
|
1952
|
-
}`,[
|
|
1967
|
+
}`,[y,p,d,o]),$r=e(`fragment RepayActivity on RepayActivity {
|
|
1953
1968
|
__typename
|
|
1954
1969
|
id
|
|
1955
1970
|
user
|
|
@@ -1967,7 +1982,7 @@
|
|
|
1967
1982
|
chain {
|
|
1968
1983
|
...Chain
|
|
1969
1984
|
}
|
|
1970
|
-
}`,[
|
|
1985
|
+
}`,[y,p,d,o]),Mr=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1971
1986
|
__typename
|
|
1972
1987
|
id
|
|
1973
1988
|
user
|
|
@@ -1992,7 +2007,7 @@
|
|
|
1992
2007
|
chain {
|
|
1993
2008
|
...Chain
|
|
1994
2009
|
}
|
|
1995
|
-
}`,[
|
|
2010
|
+
}`,[y,p,d,o]),Nr=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1996
2011
|
__typename
|
|
1997
2012
|
id
|
|
1998
2013
|
user
|
|
@@ -2008,7 +2023,7 @@
|
|
|
2008
2023
|
chain {
|
|
2009
2024
|
...Chain
|
|
2010
2025
|
}
|
|
2011
|
-
}`,[
|
|
2026
|
+
}`,[y,d,o]),Dr=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
2012
2027
|
__typename
|
|
2013
2028
|
id
|
|
2014
2029
|
user
|
|
@@ -2032,7 +2047,7 @@
|
|
|
2032
2047
|
chain {
|
|
2033
2048
|
...Chain
|
|
2034
2049
|
}
|
|
2035
|
-
}`,[
|
|
2050
|
+
}`,[y,d,Qe,o]),Lr=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
2036
2051
|
__typename
|
|
2037
2052
|
id
|
|
2038
2053
|
user
|
|
@@ -2047,7 +2062,7 @@
|
|
|
2047
2062
|
chain {
|
|
2048
2063
|
...Chain
|
|
2049
2064
|
}
|
|
2050
|
-
}`,[
|
|
2065
|
+
}`,[y,Qe,o]),Gr=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
2051
2066
|
__typename
|
|
2052
2067
|
id
|
|
2053
2068
|
user
|
|
@@ -2066,7 +2081,7 @@
|
|
|
2066
2081
|
orderClass
|
|
2067
2082
|
kind
|
|
2068
2083
|
status
|
|
2069
|
-
}`,[o,R]),
|
|
2084
|
+
}`,[o,R]),Kr=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
2070
2085
|
__typename
|
|
2071
2086
|
id
|
|
2072
2087
|
user
|
|
@@ -2085,7 +2100,7 @@
|
|
|
2085
2100
|
orderClass
|
|
2086
2101
|
kind
|
|
2087
2102
|
status
|
|
2088
|
-
}`,[o,
|
|
2103
|
+
}`,[o,h]),Yr=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
2089
2104
|
__typename
|
|
2090
2105
|
id
|
|
2091
2106
|
user
|
|
@@ -2104,7 +2119,7 @@
|
|
|
2104
2119
|
orderClass
|
|
2105
2120
|
kind
|
|
2106
2121
|
status
|
|
2107
|
-
}`,[o,
|
|
2122
|
+
}`,[o,h]),zr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
2108
2123
|
__typename
|
|
2109
2124
|
id
|
|
2110
2125
|
user
|
|
@@ -2123,7 +2138,7 @@
|
|
|
2123
2138
|
orderClass
|
|
2124
2139
|
kind
|
|
2125
2140
|
status
|
|
2126
|
-
}`,[o,
|
|
2141
|
+
}`,[o,h]),Zr=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
2127
2142
|
__typename
|
|
2128
2143
|
id
|
|
2129
2144
|
user
|
|
@@ -2142,7 +2157,7 @@
|
|
|
2142
2157
|
orderClass
|
|
2143
2158
|
kind
|
|
2144
2159
|
status
|
|
2145
|
-
}`,[o,
|
|
2160
|
+
}`,[o,h,R]),jr=e(`fragment ActivityItem on ActivityItem {
|
|
2146
2161
|
__typename
|
|
2147
2162
|
... on BorrowActivity {
|
|
2148
2163
|
...BorrowActivity
|
|
@@ -2183,7 +2198,7 @@
|
|
|
2183
2198
|
... on WithdrawSwapActivity {
|
|
2184
2199
|
...WithdrawSwapActivity
|
|
2185
2200
|
}
|
|
2186
|
-
}`,[
|
|
2201
|
+
}`,[Qr,Wr,Vr,$r,Mr,Nr,Dr,Lr,Gr,Kr,Yr,zr,Zr]),Jr=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
2187
2202
|
__typename
|
|
2188
2203
|
items {
|
|
2189
2204
|
...ActivityItem
|
|
@@ -2191,87 +2206,87 @@
|
|
|
2191
2206
|
pageInfo {
|
|
2192
2207
|
...PaginatedResultInfo
|
|
2193
2208
|
}
|
|
2194
|
-
}`,[
|
|
2209
|
+
}`,[jr,g]),zo=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2195
2210
|
value: activities(request: $request) {
|
|
2196
2211
|
...PaginatedActivitiesResult
|
|
2197
2212
|
}
|
|
2198
|
-
}`,[
|
|
2213
|
+
}`,[Jr]);var Xo=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2199
2214
|
value: userSupplies(request: $request) {
|
|
2200
2215
|
...UserSupplyItem
|
|
2201
2216
|
}
|
|
2202
|
-
}`,[
|
|
2217
|
+
}`,[Ae]),ep=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2203
2218
|
value: userBorrows(request: $request) {
|
|
2204
2219
|
...UserBorrowItem
|
|
2205
2220
|
}
|
|
2206
|
-
}`,[
|
|
2221
|
+
}`,[Fe]),tp=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2207
2222
|
value: userSummary(request: $request) {
|
|
2208
2223
|
...UserSummary
|
|
2209
2224
|
}
|
|
2210
|
-
}`,[be]),
|
|
2225
|
+
}`,[be]),rp=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2211
2226
|
value: userPositions(request: $request) {
|
|
2212
2227
|
...UserPosition
|
|
2213
2228
|
}
|
|
2214
|
-
}`,[
|
|
2229
|
+
}`,[K]),ap=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2215
2230
|
value: userPosition(request: $request) {
|
|
2216
2231
|
...UserPosition
|
|
2217
2232
|
}
|
|
2218
|
-
}`,[
|
|
2233
|
+
}`,[K]),np=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
2219
2234
|
value: userBalances(request: $request) {
|
|
2220
2235
|
...UserBalance
|
|
2221
2236
|
}
|
|
2222
|
-
}`,[Te]),
|
|
2237
|
+
}`,[Te]),op=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
2223
2238
|
value: userSummaryHistory(request: $request) {
|
|
2224
2239
|
...UserSummaryHistoryItem
|
|
2225
2240
|
}
|
|
2226
|
-
}`,[
|
|
2241
|
+
}`,[ke]),pp=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
2227
2242
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
2228
2243
|
...UserRiskPremiumBreakdownItem
|
|
2229
2244
|
}
|
|
2230
|
-
}`,[Ie]);var
|
|
2245
|
+
}`,[Ie]);var mp=e(`query StableVault($request: StableVaultRequest!) {
|
|
2231
2246
|
value: stableVault(request: $request) {
|
|
2232
2247
|
...StableVault
|
|
2233
2248
|
}
|
|
2234
|
-
}`,[
|
|
2249
|
+
}`,[M]),yp=e(`query StableVaults($request: StableVaultsRequest!) {
|
|
2235
2250
|
value: stableVaults(request: $request) {
|
|
2236
2251
|
...StableVault
|
|
2237
2252
|
}
|
|
2238
|
-
}`,[
|
|
2253
|
+
}`,[M]),lp=e(`query StableVaultRateUsers($request: StableVaultRateUsersRequest!) {
|
|
2239
2254
|
value: stableVaultRateUsers(request: $request) {
|
|
2240
2255
|
...PaginatedStableVaultRateUsersResult
|
|
2241
2256
|
}
|
|
2242
|
-
}`,[Ee]),
|
|
2257
|
+
}`,[Ee]),cp=e(`query StableVaultAssignRate($request: StableVaultAssignRateRequest!) {
|
|
2243
2258
|
value: stableVaultAssignRate(request: $request) {
|
|
2244
2259
|
...TransactionRequest
|
|
2245
2260
|
}
|
|
2246
|
-
}`,[
|
|
2261
|
+
}`,[s]),gp=e(`query StableVaultUnassignRate($request: StableVaultUnassignRateRequest!) {
|
|
2247
2262
|
value: stableVaultUnassignRate(request: $request) {
|
|
2248
2263
|
...TransactionRequest
|
|
2249
2264
|
}
|
|
2250
|
-
}`,[
|
|
2265
|
+
}`,[s]),dp=e(`query StableVaultClaimSurplus($request: StableVaultClaimSurplusRequest!) {
|
|
2251
2266
|
value: stableVaultClaimSurplus(request: $request) {
|
|
2252
2267
|
...TransactionRequest
|
|
2253
2268
|
}
|
|
2254
|
-
}`,[
|
|
2269
|
+
}`,[s]),Sp=e(`query StableVaultMovements($request: StableVaultMovementsRequest!) {
|
|
2255
2270
|
value: stableVaultMovements(request: $request) {
|
|
2256
2271
|
...PaginatedStableVaultMovementsResult
|
|
2257
2272
|
}
|
|
2258
|
-
}`,[Ce]),
|
|
2273
|
+
}`,[Ce]),Rp=e(`query StableVaultDeposit($request: StableVaultDepositRequest!) {
|
|
2259
2274
|
value: stableVaultDeposit(request: $request) {
|
|
2260
2275
|
...StableVaultDepositExecutionPlan
|
|
2261
2276
|
}
|
|
2262
|
-
}`,[Ue]),
|
|
2277
|
+
}`,[Ue]),fp=e(`query StableVaultWithdraw($request: StableVaultWithdrawRequest!) {
|
|
2263
2278
|
value: stableVaultWithdraw(request: $request) {
|
|
2264
2279
|
...StableVaultWithdrawExecutionPlan
|
|
2265
2280
|
}
|
|
2266
|
-
}`,[Oe]),
|
|
2281
|
+
}`,[Oe]),qp=e(`query StableVaultClaimStatus($request: StableVaultClaimStatusRequest!) {
|
|
2267
2282
|
value: stableVaultClaimStatus(request: $request)
|
|
2268
|
-
}`),
|
|
2283
|
+
}`),wp=e(`query StableVaultUserPositions($request: StableVaultUserPositionsRequest!) {
|
|
2269
2284
|
value: stableVaultUserPositions(request: $request) {
|
|
2270
2285
|
...StableVaultUserPosition
|
|
2271
2286
|
}
|
|
2272
|
-
}`,[
|
|
2287
|
+
}`,[ve]),xp=e(`mutation StableVaultWithdrawRedeem($request: StableVaultWithdrawRedeemRequest!) {
|
|
2273
2288
|
value: stableVaultWithdrawRedeem(request: $request) {
|
|
2274
2289
|
...StableVaultWithdrawRedeemExecutionPlan
|
|
2275
2290
|
}
|
|
2276
|
-
}`,[_e]);exports.ActivitiesQuery=No;exports.ActivityItemFragment=Zr;exports.ActivityType=De;exports.ApyMetric=Le;exports.ApySampleFragment=Z;exports.AssetAmountWithChangeFragment=xr;exports.AssetBorrowHistoryQuery=Ln;exports.AssetBorrowSampleFragment=qr;exports.AssetFragment=Fr;exports.AssetPriceHistoryQuery=Nn;exports.AssetPriceSampleFragment=fr;exports.AssetQuery=$n;exports.AssetSampleBreakdownFragment=He;exports.AssetSummaryFragment=Pr;exports.AssetSupplyHistoryQuery=Dn;exports.AssetSupplySampleFragment=wr;exports.BoostedRateFragment=er;exports.BorrowActivityFragment=Hr;exports.BorrowApyHistoryQuery=Zn;exports.BorrowPointsFragment=Pt;exports.BorrowQuery=Uo;exports.BorrowSwapActivityFragment=Kr;exports.BorrowSwapFragment=Wt;exports.BorrowSwapKind=Ze;exports.BorrowSwapQuoteQuery=bo;exports.BorrowSwapQuoteResultFragment=qe;exports.CancelSwapExecutionPlanFragment=Re;exports.CancelSwapMutation=Fo;exports.ChainFragment=o;exports.ChainQuery=On;exports.ChainsFilter=Ne;exports.ChainsQuery=_n;exports.ClaimRewardsQuery=no;exports.CollateralFactorVariationFragment=br;exports.CollateralMetric=Ge;exports.Currency=Ke;exports.DecimalNumberFragment=y;exports.DecimalNumberWithChangeFragment=j;exports.DomainDataFragment=M;exports.Erc20AmountFragment=i;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=_;exports.Erc20TokenFragment=s;exports.ExchangeAmountFragment=m;exports.ExchangeAmountVariationFragment=re;exports.ExchangeAmountWithChangeFragment=F;exports.ExchangeRateQuery=Qn;exports.ExecutionPlanFragment=B;exports.HasProcessedKnownTransactionQuery=Bn;exports.HealthFactorErrorFragment=yt;exports.HealthFactorResultFragment=ne;exports.HealthFactorVariationFragment=lt;exports.HealthFactorWithChangeFragment=ae;exports.HealthQuery=Hn;exports.HubAssetFragment=C;exports.HubAssetInterestRateModelPointFragment=gr;exports.HubAssetInterestRateModelQuery=ja;exports.HubAssetSettingsFragment=dt;exports.HubAssetSummaryFragment=gt;exports.HubAssetUserStateFragment=St;exports.HubAssetsQuery=za;exports.HubFragment=h;exports.HubQuery=Ka;exports.HubSummaryFragment=ct;exports.HubSummaryHistoryQuery=Za;exports.HubSummarySampleFragment=cr;exports.HubsQuery=Ya;exports.InsufficientBalanceErrorFragment=f;exports.InsufficientLiquidityErrorFragment=b;exports.LiquidatePositionExecutionPlanFragment=Ar;exports.LiquidatePositionQuery=Ho;exports.LiquidatedActivityFragment=Mr;exports.LiquidationFeeVariationFragment=Ir;exports.MaxLiquidationBonusVariationFragment=Tr;exports.MerklBorrowRewardFragment=qt;exports.MerklCriteriaFragment=E;exports.MerklGenericCriteriaFragment=Rt;exports.MerklSupplyRewardFragment=wt;exports.NativeAmountFragment=mt;exports.NativeTokenFragment=J;exports.OperationType=$e;exports.OrderDirection=We;exports.PageSize=Ve;exports.PaginatedActivitiesResultFragment=jr;exports.PaginatedResultInfoFragment=d;exports.PaginatedSpokePositionManagerResultFragment=ie;exports.PaginatedSpokeUserPositionManagerResultFragment=ue;exports.PaginatedStableVaultMovementsResultFragment=Ce;exports.PaginatedStableVaultRateUsersResultFragment=Ee;exports.PaginatedUserSwapsResultFragment=fe;exports.PercentNumberChangeSnapshotFragment=Qe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=te;exports.PercentNumberWithChangeFragment=ee;exports.PermitTypedDataFragment=oe;exports.PointsCriteriaFragment=U;exports.PointsGenericCriteriaFragment=ft;exports.PointsProgramFragment=O;exports.PositionAmountFragment=x;exports.PositionSwapAdapterContractApprovalFragment=zt;exports.PositionSwapApprovalFragment=Jt;exports.PositionSwapByIntentApprovalsRequiredFragment=N;exports.PositionSwapPositionManagerApprovalFragment=Zt;exports.PositionSwapSetCollateralApprovalFragment=jt;exports.PreContractActionRequiredFragment=Ct;exports.PreparePositionSwapQuery=vo;exports.PreparePositionSwapResultFragment=Fe;exports.PrepareSwapCancelQuery=Po;exports.PrepareSwapCancelResultFragment=Se;exports.PrepareSwapOrderFragment=le;exports.PrepareTokenSwapQuery=wo;exports.PrepareTokenSwapResultFragment=ge;exports.PreviewBorrowPointsFragment=Ur;exports.PreviewMerklBorrowRewardFragment=Cr;exports.PreviewMerklSupplyRewardFragment=kr;exports.PreviewQuery=$o;exports.PreviewRewardFragment=Or;exports.PreviewRewardOutcomeFragment=_r;exports.PreviewSupplyPointsFragment=Er;exports.PreviewUserPositionFragment=Br;exports.ProtocolHistoryQuery=Gn;exports.ProtocolHistorySampleFragment=hr;exports.QuoteAccuracy=ot;exports.RenounceSpokeUserPositionManagerQuery=Vo;exports.RepayActivityFragment=Vr;exports.RepayQuery=_o;exports.RepayWithSupplyActivityFragment=Yr;exports.RepayWithSupplyFragment=Vt;exports.RepayWithSupplyKind=je;exports.RepayWithSupplyQuoteQuery=Io;exports.RepayWithSupplyQuoteResultFragment=xe;exports.ReserveFragment=I;exports.ReserveHolderFragment=me;exports.ReserveHoldersFilter=Ye;exports.ReserveHoldersQuery=eo;exports.ReserveInfoFragment=c;exports.ReserveQuery=Jn;exports.ReserveSettingsFragment=It;exports.ReserveStatusFragment=Tt;exports.ReserveSummaryFragment=vt;exports.ReserveUserStateFragment=kt;exports.ReservesQuery=Xn;exports.ReservesRequestFilter=ze;exports.RewardFragment=pe;exports.SetSpokeUserPositionManagerQuery=Qo;exports.SetUserSuppliesAsCollateralQuery=Wo;exports.SpokeFragment=l;exports.SpokeLiquidationConfigFragment=ht;exports.SpokePositionManagerFragment=At;exports.SpokePositionManagersQuery=lo;exports.SpokeQuery=uo;exports.SpokeUserPositionManagerFragment=bt;exports.SpokeUserPositionManagersQuery=yo;exports.SpokesQuery=mo;exports.StableVaultAssignRateQuery=sp;exports.StableVaultClaimStatus=Je;exports.StableVaultClaimStatusQuery=cp;exports.StableVaultClaimSurplusQuery=up;exports.StableVaultDepositExecutionPlanFragment=Ue;exports.StableVaultDepositQuery=lp;exports.StableVaultFragment=D;exports.StableVaultMovementsQuery=mp;exports.StableVaultPendingAvailabilityFragment=yr;exports.StableVaultQuery=np;exports.StableVaultRateUsersQuery=pp;exports.StableVaultRatesFragment=rr;exports.StableVaultSummaryFragment=tr;exports.StableVaultUnassignRateQuery=ip;exports.StableVaultUserPositionFragment=ke;exports.StableVaultUserPositionsQuery=gp;exports.StableVaultWithdrawClaimFragment=lr;exports.StableVaultWithdrawExecutionPlanFragment=Oe;exports.StableVaultWithdrawQuery=yp;exports.StableVaultWithdrawRedeemExecutionPlanFragment=_e;exports.StableVaultWithdrawRedeemMutation=dp;exports.StableVaultsQuery=op;exports.SupplyActivityFragment=Qr;exports.SupplyApyHistoryQuery=jn;exports.SupplyPointsFragment=xt;exports.SupplyQuery=Oo;exports.SupplySwapActivityFragment=Gr;exports.SupplySwapFragment=Qt;exports.SupplySwapKind=Xe;exports.SupplySwapQuoteQuery=Ao;exports.SupplySwapQuoteResultFragment=we;exports.SwapActivityStatus=st;exports.SwapByIntentFragment=Ut;exports.SwapByIntentWithApprovalRequiredFragment=Ot;exports.SwapByTransactionFragment=_t;exports.SwapByTransactionWithApprovalRequiredFragment=Bt;exports.SwapCancelledFragment=Nt;exports.SwapCancelledResultFragment=Yt;exports.SwapExecutionPlanFragment=de;exports.SwapExpiredFragment=Dt;exports.SwapFulfilledFragment=Kt;exports.SwapMutation=xo;exports.SwapOpenFragment=Lt;exports.SwapOperationFragment=W;exports.SwapOrderClass=pt;exports.SwapPendingSignatureFragment=Gt;exports.SwapQuoteCostsFragment=Et;exports.SwapQuoteFragment=H;exports.SwapReceiptFragment=ye;exports.SwapStatusFilter=tt;exports.SwapStatusFragment=Y;exports.SwapStatusQuery=qo;exports.SwapTransactionRequestFragment=Ht;exports.SwapTypedDataFragment=Q;exports.SwappableTokensQuery=fo;exports.TimeWindow=Me;exports.TokenAmountFragment=R;exports.TokenCategory=rt;exports.TokenFragment=X;exports.TokenInfoFragment=k;exports.TokenMovementAllocateFragment=ar;exports.TokenMovementBridgeInFragment=nr;exports.TokenMovementBridgeOutFragment=or;exports.TokenMovementDeallocateFragment=pr;exports.TokenMovementFragment=ur;exports.TokenMovementRebalanceFragment=sr;exports.TokenMovementRecordFragment=mr;exports.TokenMovementStatus=at;exports.TokenMovementSwapFragment=ir;exports.TokenSwapActivityFragment=Lr;exports.TokenSwapFragment=$t;exports.TokenSwapKind=it;exports.TokenSwapQuoteQuery=Ro;exports.TokenSwapQuoteResultFragment=ce;exports.TransactionRequestFragment=p;exports.UpdateUserPositionConditionsQuery=Mo;exports.UpdatedDynamicConfigActivityFragment=Nr;exports.UpdatedRiskPremiumActivityFragment=Dr;exports.UserBalanceFragment=Te;exports.UserBalancesQuery=Jo;exports.UserBorrowItemFragment=Ae;exports.UserBorrowsQuery=Yo;exports.UserClaimableRewardFragment=se;exports.UserClaimableRewardsQuery=oo;exports.UserMerklClaimableRewardFragment=Ft;exports.UserPositionConditionVariationFragment=vr;exports.UserPositionConditionsUpdate=nt;exports.UserPositionFragment=z;exports.UserPositionQuery=jo;exports.UserPositionRiskPremiumFragment=Xt;exports.UserPositionsQuery=Zo;exports.UserRiskPremiumBreakdownItemFragment=Ie;exports.UserRiskPremiumBreakdownQuery=ep;exports.UserSummaryFragment=be;exports.UserSummaryHistoryItemFragment=ve;exports.UserSummaryHistoryQuery=Xo;exports.UserSummaryQuery=zo;exports.UserSuppliesQuery=Ko;exports.UserSupplyItemFragment=he;exports.UserSwapsQuery=ho;exports.UsingAsCollateralActivityFragment=$r;exports.WithdrawActivityFragment=Wr;exports.WithdrawQuery=Bo;exports.WithdrawSwapActivityFragment=zr;exports.WithdrawSwapFragment=Mt;exports.WithdrawSwapKind=et;exports.WithdrawSwapQuoteQuery=To;exports.WithdrawSwapQuoteResultFragment=Pe;exports.assetId=en;exports.boostedRateId=tn;exports.decodeHubId=an;exports.decodeReserveId=pn;exports.decodeSpokeId=Rn;exports.decodeUserPositionId=un;exports.encodeHubId=rn;exports.encodeReserveId=sn;exports.encodeSpokeId=Sn;exports.encodeUserPositionId=mn;exports.graphql=e;exports.hubAssetId=nn;exports.hubId=dr;exports.isChainIdsVariant=bn;exports.isERC20PermitSignature=ya;exports.isHubInputVariant=An;exports.isReserveInputVariant=vn;exports.isSpokeInputVariant=Tn;exports.isTokensVariant=In;exports.isTxHashInputVariant=kn;exports.reserveId=on;exports.spokeId=Rr;exports.stableVaultId=cn;exports.stableVaultUserPositionId=gn;exports.stableVaultWithdrawClaimId=dn;exports.swapId=ln;exports.swapQuoteId=yn;exports.tokenInfoId=xn;exports.tokenMovementId=Pn;exports.userBalanceId=fn;exports.userBorrowItemId=wn;exports.userPositionId=Sr;exports.userSupplyItemId=qn;//# sourceMappingURL=index.cjs.map
|
|
2291
|
+
}`,[_e]);exports.ActivitiesQuery=zo;exports.ActivityItemFragment=jr;exports.ActivityType=De;exports.ApyMetric=Le;exports.ApySampleFragment=Y;exports.AssetAmountWithChangeFragment=Fr;exports.AssetBorrowHistoryQuery=zn;exports.AssetBorrowSampleFragment=Ar;exports.AssetFragment=Ir;exports.AssetPriceHistoryQuery=Kn;exports.AssetPriceSampleFragment=hr;exports.AssetQuery=Gn;exports.AssetSampleBreakdownFragment=He;exports.AssetSummaryFragment=br;exports.AssetSupplyHistoryQuery=Yn;exports.AssetSupplySampleFragment=Pr;exports.BoostedRateFragment=ar;exports.BorrowActivityFragment=Qr;exports.BorrowApyHistoryQuery=eo;exports.BorrowPointsFragment=ht;exports.BorrowQuery=Wo;exports.BorrowSwapActivityFragment=Yr;exports.BorrowSwapFragment=Mt;exports.BorrowSwapKind=Ze;exports.BorrowSwapQuoteQuery=Eo;exports.BorrowSwapQuoteResultFragment=we;exports.CancelSwapExecutionPlanFragment=Re;exports.CancelSwapMutation=ko;exports.ChainFragment=o;exports.ChainQuery=Qn;exports.ChainsFilter=Ne;exports.ChainsQuery=Wn;exports.ClaimRewardsQuery=uo;exports.CollateralFactorVariationFragment=Cr;exports.CollateralMetric=Ge;exports.Currency=Ke;exports.DecimalNumberFragment=l;exports.DecimalNumberWithChangeFragment=z;exports.DomainDataFragment=Q;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=V;exports.Erc20ApprovalRequiredFragment=E;exports.Erc20TokenFragment=m;exports.ExchangeAmountFragment=i;exports.ExchangeAmountVariationFragment=ee;exports.ExchangeAmountWithChangeFragment=A;exports.ExchangeRateQuery=Mn;exports.ExecutionPlanFragment=U;exports.HasProcessedKnownTransactionQuery=Vn;exports.HealthFactorErrorFragment=lt;exports.HealthFactorResultFragment=re;exports.HealthFactorVariationFragment=yt;exports.HealthFactorWithChangeFragment=te;exports.HealthQuery=$n;exports.HubAssetFragment=I;exports.HubAssetInterestRateModelPointFragment=Rr;exports.HubAssetInterestRateModelQuery=en;exports.HubAssetSettingsFragment=dt;exports.HubAssetSummaryFragment=gt;exports.HubAssetUserStateFragment=St;exports.HubAssetsQuery=Ja;exports.HubFragment=q;exports.HubQuery=Za;exports.HubSpokeConfigFragment=fr;exports.HubSpokeConfigsQuery=tn;exports.HubSummaryFragment=ct;exports.HubSummaryHistoryQuery=Xa;exports.HubSummarySampleFragment=Sr;exports.HubsQuery=ja;exports.InsufficientBalanceErrorFragment=f;exports.InsufficientLiquidityErrorFragment=b;exports.LiquidatePositionExecutionPlanFragment=vr;exports.LiquidatePositionQuery=No;exports.LiquidatedActivityFragment=Mr;exports.LiquidationFeeVariationFragment=Er;exports.MaxLiquidationBonusVariationFragment=Ur;exports.MerklBorrowRewardFragment=wt;exports.MerklCriteriaFragment=ne;exports.MerklGenericCriteriaFragment=Rt;exports.MerklSupplyRewardFragment=qt;exports.NativeAmountFragment=mt;exports.NativeTokenFragment=Z;exports.OperationType=Me;exports.OrderDirection=We;exports.PageSize=Ve;exports.PaginatedActivitiesResultFragment=Jr;exports.PaginatedResultInfoFragment=g;exports.PaginatedSpokePositionManagerResultFragment=ue;exports.PaginatedSpokeUserPositionManagerResultFragment=ie;exports.PaginatedStableVaultMovementsResultFragment=Ce;exports.PaginatedStableVaultRateUsersResultFragment=Ee;exports.PaginatedUserSwapsResultFragment=fe;exports.PercentNumberChangeSnapshotFragment=Qe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=X;exports.PercentNumberWithChangeFragment=J;exports.PermitTypedDataFragment=ae;exports.PointsCriteriaFragment=oe;exports.PointsGenericCriteriaFragment=ft;exports.PointsProgramFragment=pe;exports.PositionAmountFragment=h;exports.PositionSwapAdapterContractApprovalFragment=Jt;exports.PositionSwapApprovalFragment=tr;exports.PositionSwapByIntentApprovalsRequiredFragment=$;exports.PositionSwapPositionManagerApprovalFragment=Xt;exports.PositionSwapSetCollateralApprovalFragment=er;exports.PreContractActionRequiredFragment=Ot;exports.PreparePositionSwapQuery=_o;exports.PreparePositionSwapResultFragment=Pe;exports.PrepareSwapCancelQuery=To;exports.PrepareSwapCancelResultFragment=Se;exports.PrepareSwapOrderFragment=ye;exports.PrepareTokenSwapQuery=Fo;exports.PrepareTokenSwapResultFragment=ge;exports.PreviewQuery=Yo;exports.PreviewRewardChangeFragment=_r;exports.PreviewRewardOutcomeFragment=Br;exports.PreviewUserPositionFragment=Hr;exports.ProtocolHistoryQuery=Zn;exports.ProtocolHistorySampleFragment=Tr;exports.QuoteAccuracy=ot;exports.RenounceSpokeUserPositionManagerQuery=Go;exports.RepayActivityFragment=$r;exports.RepayQuery=$o;exports.RepayWithSupplyActivityFragment=zr;exports.RepayWithSupplyFragment=Nt;exports.RepayWithSupplyKind=je;exports.RepayWithSupplyQuoteQuery=Uo;exports.RepayWithSupplyQuoteResultFragment=xe;exports.ReserveFragment=T;exports.ReserveHolderFragment=me;exports.ReserveHoldersFilter=Ye;exports.ReserveHoldersQuery=no;exports.ReserveInfoFragment=d;exports.ReserveQuery=ro;exports.ReserveSettingsFragment=vt;exports.ReserveStatusFragment=Ct;exports.ReserveSummaryFragment=Et;exports.ReserveUserStateFragment=Ut;exports.ReservesQuery=ao;exports.ReservesRequestFilter=ze;exports.RewardFragment=W;exports.SetSpokeUserPositionManagerQuery=Do;exports.SetUserSuppliesAsCollateralQuery=Lo;exports.SpokeConnectedHubFragment=It;exports.SpokeConnectedHubSummaryFragment=bt;exports.SpokeFragment=y;exports.SpokeLiquidationConfigFragment=At;exports.SpokePositionManagerFragment=Tt;exports.SpokePositionManagersQuery=Ro;exports.SpokeQuery=go;exports.SpokeSummaryFragment=Ft;exports.SpokeSummaryHistoryQuery=qo;exports.SpokeSummarySampleFragment=kr;exports.SpokeUserPositionManagerFragment=kt;exports.SpokeUserPositionManagersQuery=fo;exports.SpokesQuery=So;exports.StableVaultAssignRateQuery=cp;exports.StableVaultClaimStatus=Je;exports.StableVaultClaimStatusQuery=qp;exports.StableVaultClaimSurplusQuery=dp;exports.StableVaultDepositExecutionPlanFragment=Ue;exports.StableVaultDepositQuery=Rp;exports.StableVaultFragment=M;exports.StableVaultMovementsQuery=Sp;exports.StableVaultPendingAvailabilityFragment=dr;exports.StableVaultQuery=mp;exports.StableVaultRateUsersQuery=lp;exports.StableVaultRatesFragment=or;exports.StableVaultSummaryFragment=nr;exports.StableVaultUnassignRateQuery=gp;exports.StableVaultUserPositionFragment=ve;exports.StableVaultUserPositionsQuery=wp;exports.StableVaultWithdrawClaimFragment=gr;exports.StableVaultWithdrawExecutionPlanFragment=Oe;exports.StableVaultWithdrawQuery=fp;exports.StableVaultWithdrawRedeemExecutionPlanFragment=_e;exports.StableVaultWithdrawRedeemMutation=xp;exports.StableVaultsQuery=yp;exports.SupplyActivityFragment=Wr;exports.SupplyApyHistoryQuery=to;exports.SupplyPointsFragment=xt;exports.SupplyQuery=Vo;exports.SupplySwapActivityFragment=Kr;exports.SupplySwapFragment=$t;exports.SupplySwapKind=Xe;exports.SupplySwapQuoteQuery=Co;exports.SupplySwapQuoteResultFragment=qe;exports.SwapActivityStatus=st;exports.SwapByIntentFragment=Bt;exports.SwapByIntentWithApprovalRequiredFragment=Ht;exports.SwapByTransactionFragment=Qt;exports.SwapByTransactionWithApprovalRequiredFragment=Wt;exports.SwapCancelledFragment=Gt;exports.SwapCancelledResultFragment=jt;exports.SwapExecutionPlanFragment=de;exports.SwapExpiredFragment=Kt;exports.SwapFulfilledFragment=Zt;exports.SwapMutation=Io;exports.SwapOpenFragment=Yt;exports.SwapOperationFragment=B;exports.SwapOrderClass=pt;exports.SwapPendingSignatureFragment=zt;exports.SwapQuoteCostsFragment=_t;exports.SwapQuoteFragment=O;exports.SwapReceiptFragment=le;exports.SwapStatusFilter=tt;exports.SwapStatusFragment=G;exports.SwapStatusQuery=bo;exports.SwapTransactionRequestFragment=Vt;exports.SwapTypedDataFragment=_;exports.SwappableTokensQuery=Ao;exports.TimeWindow=$e;exports.TokenAmountFragment=R;exports.TokenCategory=rt;exports.TokenFragment=j;exports.TokenInfoFragment=C;exports.TokenMovementAllocateFragment=pr;exports.TokenMovementBridgeInFragment=sr;exports.TokenMovementBridgeOutFragment=ur;exports.TokenMovementDeallocateFragment=ir;exports.TokenMovementFragment=lr;exports.TokenMovementRebalanceFragment=mr;exports.TokenMovementRecordFragment=cr;exports.TokenMovementStatus=at;exports.TokenMovementSwapFragment=yr;exports.TokenSwapActivityFragment=Gr;exports.TokenSwapFragment=Lt;exports.TokenSwapKind=ut;exports.TokenSwapQuoteQuery=Po;exports.TokenSwapQuoteResultFragment=ce;exports.TransactionRequestFragment=s;exports.UpdateUserPositionConditionsQuery=Ko;exports.UpdatedDynamicConfigActivityFragment=Dr;exports.UpdatedRiskPremiumActivityFragment=Lr;exports.UserBalanceFragment=Te;exports.UserBalancesQuery=np;exports.UserBorrowItemFragment=Fe;exports.UserBorrowsQuery=ep;exports.UserClaimableRewardFragment=se;exports.UserClaimableRewardsQuery=io;exports.UserMerklClaimableRewardFragment=Pt;exports.UserPositionConditionVariationFragment=Or;exports.UserPositionConditionsUpdate=nt;exports.UserPositionFragment=K;exports.UserPositionQuery=ap;exports.UserPositionRiskPremiumFragment=rr;exports.UserPositionsQuery=rp;exports.UserRiskPremiumBreakdownItemFragment=Ie;exports.UserRiskPremiumBreakdownQuery=pp;exports.UserSummaryFragment=be;exports.UserSummaryHistoryItemFragment=ke;exports.UserSummaryHistoryQuery=op;exports.UserSummaryQuery=tp;exports.UserSuppliesQuery=Xo;exports.UserSupplyItemFragment=Ae;exports.UserSwapsQuery=vo;exports.UsingAsCollateralActivityFragment=Nr;exports.WithdrawActivityFragment=Vr;exports.WithdrawQuery=Mo;exports.WithdrawSwapActivityFragment=Zr;exports.WithdrawSwapFragment=Dt;exports.WithdrawSwapKind=et;exports.WithdrawSwapQuoteQuery=Oo;exports.WithdrawSwapQuoteResultFragment=he;exports.assetId=nn;exports.boostedRateId=on;exports.decodeHubId=sn;exports.decodeReserveId=yn;exports.decodeSpokeId=xn;exports.decodeUserPositionId=cn;exports.encodeHubId=pn;exports.encodeReserveId=ln;exports.encodeSpokeId=wn;exports.encodeUserPositionId=gn;exports.graphql=e;exports.hubAssetId=un;exports.hubId=qr;exports.isChainIdsVariant=vn;exports.isERC20PermitSignature=ca;exports.isHubInputVariant=kn;exports.isReserveInputVariant=Un;exports.isSpokeInputVariant=En;exports.isTokensVariant=Cn;exports.isTxHashInputVariant=On;exports.reserveId=mn;exports.spokeId=xr;exports.stableVaultId=Rn;exports.stableVaultUserPositionId=fn;exports.stableVaultWithdrawClaimId=qn;exports.swapId=dn;exports.swapQuoteId=Sn;exports.tokenInfoId=Fn;exports.tokenMovementId=bn;exports.userBalanceId=hn;exports.userBorrowItemId=Pn;exports.userPositionId=wr;exports.userSupplyItemId=An;//# sourceMappingURL=index.cjs.map
|
|
2277
2292
|
//# sourceMappingURL=index.cjs.map
|