@aave/graphql 1.0.0-next.7 → 1.0.0-next.9
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 +265 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1460 -830
- package/dist/index.d.ts +1460 -830
- package/dist/index.js +265 -155
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/test-utils.cjs +47 -36
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +47 -36
- package/dist/test-utils.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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 de=(n=>(n.Asc="ASC",n.Desc="DESC",n))(de||{}),fe=(n=>(n.Ten="TEN",n.Fifty="FIFTY",n))(fe||{}),Se=(x=>(x.LastDay="LAST_DAY",x.LastWeek="LAST_WEEK",x.LastMonth="LAST_MONTH",x.LastSixMonths="LAST_SIX_MONTHS",x.LastYear="LAST_YEAR",x.All="ALL",x))(Se||{}),qe=(g=>(g.SpokeBorrow="SPOKE_BORROW",g.SpokeRepay="SPOKE_REPAY",g.SpokeSupply="SPOKE_SUPPLY",g.SpokeWithdraw="SPOKE_WITHDRAW",g.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",g.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",g.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",g.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",g.Liquidation="LIQUIDATION",g))(qe||{}),Re=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(Re||{}),xe=(o=>(o.Active="ACTIVE",o.Frozen="FROZEN",o.Paused="PAUSED",o))(xe||{}),Ae=(n=>(n.Balance="BALANCE",n.Name="NAME",n))(Ae||{}),he=(l=>(l.Borrow="BORROW",l.Supply="SUPPLY",l.Withdraw="WITHDRAW",l.Repay="REPAY",l.Liquidated="LIQUIDATED",l.SetAsCollateral="SET_AS_COLLATERAL",l.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",l.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",l))(he||{}),Fe=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Fe||{}),Pe=(n=>(n.Highest="HIGHEST",n.Lowest="LOWEST",n))(Pe||{}),we=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(we||{}),Ie=(R=>(R.Supply="SUPPLY",R.Borrow="BORROW",R.Collateral="COLLATERAL",R.All="ALL",R))(Ie||{}),Te=(n=>(n.Buy="BUY",n.Sell="SELL",n))(Te||{}),Ce=(w=>(w.Cancelled="CANCELLED",w.Expired="EXPIRED",w.Fulfilled="FULFILLED",w.Open="OPEN",w.PendingSignature="PENDING_SIGNATURE",w))(Ce||{}),be=(n=>(n.Stablecoin="STABLECOIN",n.EthCorrelated="ETH_CORRELATED",n))(be||{}),Ee=(n=>(n.AllDynamicConfig="ALL_DYNAMIC_CONFIG",n.JustRiskPremium="JUST_RISK_PREMIUM",n))(Ee||{});var e=gql_tada.initGraphQLTada();var c=e(`fragment DecimalNumber on DecimalNumber {
|
|
2
2
|
__typename
|
|
3
3
|
onChainValue
|
|
4
4
|
decimals
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
decimals
|
|
10
10
|
value
|
|
11
11
|
normalized
|
|
12
|
-
}`),
|
|
12
|
+
}`),H=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
13
13
|
__typename
|
|
14
14
|
current {
|
|
15
15
|
...DecimalNumber
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
change(window: $timeWindow) {
|
|
18
18
|
...PercentNumber
|
|
19
19
|
}
|
|
20
|
-
}`,[
|
|
20
|
+
}`,[c,r]),s=e(`fragment ExchangeAmount on ExchangeAmount {
|
|
21
21
|
__typename
|
|
22
22
|
value
|
|
23
23
|
name
|
|
24
24
|
symbol
|
|
25
25
|
icon
|
|
26
26
|
decimals
|
|
27
|
-
}`),
|
|
27
|
+
}`),I=e(`fragment TokenInfo on TokenInfo {
|
|
28
28
|
__typename
|
|
29
29
|
id
|
|
30
30
|
name
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
icon
|
|
33
33
|
decimals
|
|
34
34
|
categories
|
|
35
|
-
}`),
|
|
35
|
+
}`),a=e(`fragment Chain on Chain {
|
|
36
36
|
__typename
|
|
37
37
|
name
|
|
38
38
|
icon
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
nativeInfo {
|
|
48
48
|
...TokenInfo
|
|
49
49
|
}
|
|
50
|
-
}`,[
|
|
50
|
+
}`,[I]),y=e(`fragment Erc20Token on Erc20Token {
|
|
51
51
|
__typename
|
|
52
52
|
info {
|
|
53
53
|
...TokenInfo
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
isWrappedNativeToken
|
|
60
60
|
permitSupported
|
|
61
|
-
}`,[
|
|
61
|
+
}`,[I,a]),Q=e(`fragment NativeToken on NativeToken {
|
|
62
62
|
__typename
|
|
63
63
|
info {
|
|
64
64
|
...TokenInfo
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
chain {
|
|
67
67
|
...Chain
|
|
68
68
|
}
|
|
69
|
-
}`,[
|
|
69
|
+
}`,[I,a]),i=e(`fragment Erc20Amount on Erc20Amount {
|
|
70
70
|
__typename
|
|
71
71
|
token {
|
|
72
72
|
...Erc20Token
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
exchangeRate(currency: $currency){
|
|
81
81
|
...DecimalNumber
|
|
82
82
|
}
|
|
83
|
-
}`,[
|
|
83
|
+
}`,[y,c,s]),ke=e(`fragment NativeAmount on NativeAmount {
|
|
84
84
|
__typename
|
|
85
85
|
token {
|
|
86
86
|
...NativeToken
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
exchangeRate(currency: $currency){
|
|
95
95
|
...DecimalNumber
|
|
96
96
|
}
|
|
97
|
-
}`,[
|
|
97
|
+
}`,[Q,c,s]),S=e(`fragment TokenAmount on TokenAmount {
|
|
98
98
|
__typename
|
|
99
99
|
... on Erc20Amount {
|
|
100
100
|
...Erc20Amount
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
... on NativeAmount {
|
|
103
103
|
...NativeAmount
|
|
104
104
|
}
|
|
105
|
-
}`,[
|
|
105
|
+
}`,[i,ke]),W=e(`fragment Token on Token {
|
|
106
106
|
__typename
|
|
107
107
|
... on Erc20Token {
|
|
108
108
|
...Erc20Token
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
... on NativeToken {
|
|
111
111
|
...NativeToken
|
|
112
112
|
}
|
|
113
|
-
}`,[
|
|
113
|
+
}`,[y,Q]),d=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
114
114
|
__typename
|
|
115
115
|
current {
|
|
116
116
|
...ExchangeAmount
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
change(window: $timeWindow){
|
|
119
119
|
...PercentNumber
|
|
120
120
|
}
|
|
121
|
-
}`,[
|
|
121
|
+
}`,[s,r]),L=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
|
|
122
122
|
__typename
|
|
123
123
|
current {
|
|
124
124
|
...PercentNumber
|
|
@@ -126,11 +126,11 @@
|
|
|
126
126
|
change(window: $timeWindow){
|
|
127
127
|
...PercentNumber
|
|
128
128
|
}
|
|
129
|
-
}`,[r]),
|
|
129
|
+
}`,[r]),q=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
|
|
130
130
|
__typename
|
|
131
131
|
prev
|
|
132
132
|
next
|
|
133
|
-
}`),
|
|
133
|
+
}`),M=e(`fragment PercentNumberVariation on PercentNumberVariation {
|
|
134
134
|
__typename
|
|
135
135
|
current {
|
|
136
136
|
...PercentNumber
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
after {
|
|
139
139
|
...PercentNumber
|
|
140
140
|
}
|
|
141
|
-
}`,[r]),
|
|
141
|
+
}`,[r]),V=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
|
|
142
142
|
__typename
|
|
143
143
|
current {
|
|
144
144
|
...ExchangeAmount
|
|
@@ -146,17 +146,17 @@
|
|
|
146
146
|
after {
|
|
147
147
|
...ExchangeAmount
|
|
148
148
|
}
|
|
149
|
-
}`,[
|
|
149
|
+
}`,[s]),G=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
|
|
150
150
|
__typename
|
|
151
151
|
current
|
|
152
152
|
change(window: $timeWindow) {
|
|
153
153
|
...PercentNumber
|
|
154
154
|
}
|
|
155
|
-
}`,[r]),
|
|
155
|
+
}`,[r]),ve=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
156
156
|
__typename
|
|
157
157
|
current
|
|
158
158
|
after
|
|
159
|
-
}`),
|
|
159
|
+
}`),He=e(`fragment HealthFactorError on HealthFactorError {
|
|
160
160
|
__typename
|
|
161
161
|
reason
|
|
162
162
|
current
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
... on HealthFactorError {
|
|
170
170
|
...HealthFactorError
|
|
171
171
|
}
|
|
172
|
-
}`,[
|
|
172
|
+
}`,[ve,He]);var Be=e(`fragment HubSummary on HubSummary {
|
|
173
173
|
__typename
|
|
174
174
|
totalBorrowed {
|
|
175
175
|
...ExchangeAmountWithChange
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
utilizationRate {
|
|
187
187
|
...PercentNumber
|
|
188
188
|
}
|
|
189
|
-
}`,[
|
|
189
|
+
}`,[s,d,r]),T=e(`fragment Hub on Hub {
|
|
190
190
|
__typename
|
|
191
191
|
id
|
|
192
192
|
name
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
summary(currency: $currency) {
|
|
198
198
|
...HubSummary
|
|
199
199
|
}
|
|
200
|
-
}`,[
|
|
200
|
+
}`,[a,Be]);var Oe=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
201
201
|
__typename
|
|
202
202
|
supplied {
|
|
203
203
|
...Erc20Amount
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
utilizationRate {
|
|
221
221
|
...PercentNumber
|
|
222
222
|
}
|
|
223
|
-
}`,[
|
|
223
|
+
}`,[i,r]),_e=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
224
224
|
__typename
|
|
225
225
|
feeReceiver
|
|
226
226
|
liquidityFee {
|
|
@@ -228,12 +228,12 @@
|
|
|
228
228
|
}
|
|
229
229
|
irStrategy
|
|
230
230
|
reinvestmentController
|
|
231
|
-
}`,[r])
|
|
231
|
+
}`,[r]),$e=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
232
232
|
__typename
|
|
233
233
|
balance {
|
|
234
234
|
...Erc20Amount
|
|
235
235
|
}
|
|
236
|
-
}`,[
|
|
236
|
+
}`,[i]),C=e(`fragment HubAsset on HubAsset {
|
|
237
237
|
__typename
|
|
238
238
|
id
|
|
239
239
|
onchainAssetId
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
userState {
|
|
253
253
|
...HubAssetUserState
|
|
254
254
|
}
|
|
255
|
-
}`,[T,
|
|
255
|
+
}`,[T,y,Oe,_e,$e]);var u=e(`fragment Spoke on Spoke {
|
|
256
256
|
__typename
|
|
257
257
|
id
|
|
258
258
|
name
|
|
@@ -260,12 +260,12 @@
|
|
|
260
260
|
chain {
|
|
261
261
|
...Chain
|
|
262
262
|
}
|
|
263
|
-
}`,[
|
|
263
|
+
}`,[a]),Ne=e(`fragment SpokePositionManager on SpokePositionManger {
|
|
264
264
|
__typename
|
|
265
265
|
address
|
|
266
266
|
active
|
|
267
267
|
name
|
|
268
|
-
}`),
|
|
268
|
+
}`),Y=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
269
269
|
__typename
|
|
270
270
|
items {
|
|
271
271
|
...SpokePositionManager
|
|
@@ -273,13 +273,13 @@
|
|
|
273
273
|
pageInfo {
|
|
274
274
|
...PaginatedResultInfo
|
|
275
275
|
}
|
|
276
|
-
}`,[
|
|
276
|
+
}`,[Ne,q]),De=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
277
277
|
__typename
|
|
278
278
|
address
|
|
279
279
|
approvedOn
|
|
280
280
|
active
|
|
281
281
|
name
|
|
282
|
-
}`),
|
|
282
|
+
}`),z=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
283
283
|
__typename
|
|
284
284
|
items {
|
|
285
285
|
...SpokeUserPositionManager
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
pageInfo {
|
|
288
288
|
...PaginatedResultInfo
|
|
289
289
|
}
|
|
290
|
-
}`,[
|
|
290
|
+
}`,[De,q]);var Qe=e(`fragment ReserveSettings on ReserveSettings {
|
|
291
291
|
__typename
|
|
292
292
|
collateralFactor {
|
|
293
293
|
...PercentNumber
|
|
@@ -305,12 +305,12 @@
|
|
|
305
305
|
collateral
|
|
306
306
|
suppliable
|
|
307
307
|
latestDynamicConfigKey
|
|
308
|
-
}`,[r]),
|
|
308
|
+
}`,[r]),We=e(`fragment ReserveStatus on ReserveStatus {
|
|
309
309
|
__typename
|
|
310
310
|
frozen
|
|
311
311
|
paused
|
|
312
312
|
active
|
|
313
|
-
}`),
|
|
313
|
+
}`),Le=e(`fragment ReserveSummary on ReserveSummary {
|
|
314
314
|
__typename
|
|
315
315
|
supplied {
|
|
316
316
|
...Erc20Amount
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
borrowApy {
|
|
325
325
|
...PercentNumber
|
|
326
326
|
}
|
|
327
|
-
}`,[
|
|
327
|
+
}`,[i,r]),Me=e(`fragment ReserveUserState on ReserveUserState {
|
|
328
328
|
__typename
|
|
329
329
|
balance {
|
|
330
330
|
...Erc20Amount
|
|
@@ -335,9 +335,6 @@
|
|
|
335
335
|
borrowable {
|
|
336
336
|
...Erc20Amount
|
|
337
337
|
}
|
|
338
|
-
borrowingPower {
|
|
339
|
-
...Erc20Amount
|
|
340
|
-
}
|
|
341
338
|
borrowApy {
|
|
342
339
|
...PercentNumber
|
|
343
340
|
}
|
|
@@ -351,8 +348,7 @@
|
|
|
351
348
|
...PercentNumber
|
|
352
349
|
}
|
|
353
350
|
dynamicConfigKey
|
|
354
|
-
|
|
355
|
-
}`,[s,r]),A=e(`fragment Reserve on Reserve {
|
|
351
|
+
}`,[i,r]),A=e(`fragment Reserve on Reserve {
|
|
356
352
|
__typename
|
|
357
353
|
id
|
|
358
354
|
onChainId
|
|
@@ -382,34 +378,34 @@
|
|
|
382
378
|
asset {
|
|
383
379
|
...HubAsset
|
|
384
380
|
}
|
|
385
|
-
}`,[
|
|
381
|
+
}`,[u,a,Le,Qe,We,Me,C]),f=e(`fragment ReserveInfo on ReserveInfo {
|
|
386
382
|
__typename
|
|
387
383
|
id
|
|
388
384
|
asset {
|
|
389
385
|
...HubAsset
|
|
390
386
|
}
|
|
391
|
-
}`,[
|
|
387
|
+
}`,[C]);var U=e(`fragment TypeField on TypeField {
|
|
392
388
|
name
|
|
393
389
|
type
|
|
394
|
-
}`),
|
|
390
|
+
}`),Ve=e(`fragment TypeDefinition on TypeDefinition {
|
|
395
391
|
EIP712Domain {
|
|
396
392
|
...TypeField
|
|
397
393
|
}
|
|
398
394
|
Permit {
|
|
399
395
|
...TypeField
|
|
400
396
|
}
|
|
401
|
-
}`,[
|
|
397
|
+
}`,[U]),k=e(`fragment DomainData on DomainData {
|
|
402
398
|
name
|
|
403
399
|
version
|
|
404
400
|
chainId
|
|
405
401
|
verifyingContract
|
|
406
|
-
}`),
|
|
402
|
+
}`),Ge=e(`fragment PermitMessageData on PermitMessageData {
|
|
407
403
|
owner
|
|
408
404
|
spender
|
|
409
405
|
value
|
|
410
406
|
nonce
|
|
411
407
|
deadline
|
|
412
|
-
}`),
|
|
408
|
+
}`),Ke=e(`fragment PermitTypedDataResponse on PermitTypedDataResponse {
|
|
413
409
|
types {
|
|
414
410
|
...TypeDefinition
|
|
415
411
|
}
|
|
@@ -420,11 +416,11 @@
|
|
|
420
416
|
message {
|
|
421
417
|
...PermitMessageData
|
|
422
418
|
}
|
|
423
|
-
}`,[
|
|
419
|
+
}`,[Ve,k,Ge]),nr=e(`query PermitTypedData($request: PermitRequest!) {
|
|
424
420
|
value: permitTypedData(request: $request) {
|
|
425
421
|
...PermitTypedDataResponse
|
|
426
422
|
}
|
|
427
|
-
}`,[
|
|
423
|
+
}`,[Ke]);var m=e(`fragment TransactionRequest on TransactionRequest {
|
|
428
424
|
__typename
|
|
429
425
|
to
|
|
430
426
|
from
|
|
@@ -432,7 +428,7 @@
|
|
|
432
428
|
value
|
|
433
429
|
chainId
|
|
434
430
|
operations
|
|
435
|
-
}`),
|
|
431
|
+
}`),B=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
436
432
|
__typename
|
|
437
433
|
transaction {
|
|
438
434
|
...TransactionRequest
|
|
@@ -447,7 +443,7 @@
|
|
|
447
443
|
originalTransaction {
|
|
448
444
|
...TransactionRequest
|
|
449
445
|
}
|
|
450
|
-
}`,[m,
|
|
446
|
+
}`,[m,c]),Ye=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
451
447
|
__typename
|
|
452
448
|
transaction {
|
|
453
449
|
...TransactionRequest
|
|
@@ -464,7 +460,7 @@
|
|
|
464
460
|
available {
|
|
465
461
|
...DecimalNumber
|
|
466
462
|
}
|
|
467
|
-
}`,[
|
|
463
|
+
}`,[c]),b=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
468
464
|
__typename
|
|
469
465
|
... on TransactionRequest {
|
|
470
466
|
...TransactionRequest
|
|
@@ -478,7 +474,7 @@
|
|
|
478
474
|
... on InsufficientBalanceError {
|
|
479
475
|
...InsufficientBalanceError
|
|
480
476
|
}
|
|
481
|
-
}`,[m,
|
|
477
|
+
}`,[m,B,Ye,h]);var ze=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
482
478
|
__typename
|
|
483
479
|
networkCosts {
|
|
484
480
|
...TokenAmount
|
|
@@ -486,7 +482,7 @@
|
|
|
486
482
|
partnerFee {
|
|
487
483
|
...TokenAmount
|
|
488
484
|
}
|
|
489
|
-
}`,[S]),
|
|
485
|
+
}`,[S]),E=e(`fragment SwapQuote on SwapQuote {
|
|
490
486
|
__typename
|
|
491
487
|
quoteId
|
|
492
488
|
suggestedSlippage {
|
|
@@ -504,14 +500,14 @@
|
|
|
504
500
|
minimumReceived {
|
|
505
501
|
...TokenAmount
|
|
506
502
|
}
|
|
507
|
-
}`,[r,S,
|
|
503
|
+
}`,[r,S,ze]),Ze=e(`fragment SwapByIntentTypeDefinition on SwapByIntentTypeDefinition {
|
|
508
504
|
EIP712Domain {
|
|
509
505
|
...TypeField
|
|
510
506
|
}
|
|
511
507
|
Order {
|
|
512
508
|
...TypeField
|
|
513
509
|
}
|
|
514
|
-
}`,[
|
|
510
|
+
}`,[U]),Z=e(`fragment SwapByIntentTypedData on SwapByIntentTypedData {
|
|
515
511
|
__typename
|
|
516
512
|
types {
|
|
517
513
|
...SwapByIntentTypeDefinition
|
|
@@ -521,7 +517,7 @@
|
|
|
521
517
|
...DomainData
|
|
522
518
|
}
|
|
523
519
|
message
|
|
524
|
-
}`,[
|
|
520
|
+
}`,[Ze,k]),Je=e(`fragment SwapByIntent on SwapByIntent {
|
|
525
521
|
__typename
|
|
526
522
|
quote {
|
|
527
523
|
...SwapQuote
|
|
@@ -529,7 +525,7 @@
|
|
|
529
525
|
data {
|
|
530
526
|
...SwapByIntentTypedData
|
|
531
527
|
}
|
|
532
|
-
}`,[
|
|
528
|
+
}`,[E,Z]),je=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
533
529
|
__typename
|
|
534
530
|
approval {
|
|
535
531
|
...TransactionRequest
|
|
@@ -540,17 +536,17 @@
|
|
|
540
536
|
data {
|
|
541
537
|
...SwapByIntentTypedData
|
|
542
538
|
}
|
|
543
|
-
}`,[m,
|
|
539
|
+
}`,[m,E,Z]),Xe=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
544
540
|
__typename
|
|
545
541
|
quote {
|
|
546
542
|
...SwapQuote
|
|
547
543
|
}
|
|
548
|
-
}`,[
|
|
544
|
+
}`,[E]),J=e(`fragment SwapReceipt on SwapReceipt {
|
|
549
545
|
__typename
|
|
550
546
|
id
|
|
551
547
|
explorerLink
|
|
552
548
|
createdAt
|
|
553
|
-
}`),
|
|
549
|
+
}`),j=e(`fragment PrepareSwapResult on PrepareSwapResult {
|
|
554
550
|
__typename
|
|
555
551
|
... on SwapByIntent {
|
|
556
552
|
...SwapByIntent
|
|
@@ -564,7 +560,7 @@
|
|
|
564
560
|
... on InsufficientBalanceError {
|
|
565
561
|
...InsufficientBalanceError
|
|
566
562
|
}
|
|
567
|
-
}`,[
|
|
563
|
+
}`,[Je,je,Xe,h]),X=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
568
564
|
__typename
|
|
569
565
|
transaction {
|
|
570
566
|
...TransactionRequest
|
|
@@ -572,7 +568,7 @@
|
|
|
572
568
|
orderReceipt {
|
|
573
569
|
...SwapReceipt
|
|
574
570
|
}
|
|
575
|
-
}`,[m,
|
|
571
|
+
}`,[m,J]),et=e(`fragment SwapApprovalRequired on SwapApprovalRequired {
|
|
576
572
|
__typename
|
|
577
573
|
approval {
|
|
578
574
|
...TransactionRequest
|
|
@@ -580,7 +576,7 @@
|
|
|
580
576
|
originalTransaction {
|
|
581
577
|
...SwapTransactionRequest
|
|
582
578
|
}
|
|
583
|
-
}`,[m,X]),
|
|
579
|
+
}`,[m,X]),ee=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
584
580
|
__typename
|
|
585
581
|
... on SwapTransactionRequest {
|
|
586
582
|
...SwapTransactionRequest
|
|
@@ -594,17 +590,17 @@
|
|
|
594
590
|
... on SwapReceipt {
|
|
595
591
|
...SwapReceipt
|
|
596
592
|
}
|
|
597
|
-
}`,[X,
|
|
593
|
+
}`,[X,et,h,J]),te=e(`fragment SwapCancelled on SwapCancelled {
|
|
598
594
|
__typename
|
|
599
595
|
createdAt
|
|
600
596
|
cancelledAt
|
|
601
597
|
explorerLink
|
|
602
|
-
}`),
|
|
598
|
+
}`),tt=e(`fragment SwapExpired on SwapExpired {
|
|
603
599
|
__typename
|
|
604
600
|
createdAt
|
|
605
601
|
expiredAt
|
|
606
602
|
explorerLink
|
|
607
|
-
}`),
|
|
603
|
+
}`),rt=e(`fragment SwapOpen on SwapOpen {
|
|
608
604
|
__typename
|
|
609
605
|
swapId
|
|
610
606
|
createdAt
|
|
@@ -616,12 +612,12 @@
|
|
|
616
612
|
desiredBuy {
|
|
617
613
|
...TokenAmount
|
|
618
614
|
}
|
|
619
|
-
}`,[S]),
|
|
615
|
+
}`,[S]),nt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
620
616
|
__typename
|
|
621
617
|
createdAt
|
|
622
618
|
deadline
|
|
623
619
|
explorerLink
|
|
624
|
-
}`),
|
|
620
|
+
}`),at=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
625
621
|
__typename
|
|
626
622
|
txHash
|
|
627
623
|
desiredSell {
|
|
@@ -640,7 +636,7 @@
|
|
|
640
636
|
fulfilledAt
|
|
641
637
|
explorerLink
|
|
642
638
|
refundTxHash
|
|
643
|
-
}`,[S]),
|
|
639
|
+
}`,[S]),O=e(`fragment SwapStatus on SwapStatus {
|
|
644
640
|
__typename
|
|
645
641
|
... on SwapOpen {
|
|
646
642
|
...SwapOpen
|
|
@@ -657,14 +653,14 @@
|
|
|
657
653
|
... on SwapFulfilled {
|
|
658
654
|
...SwapFulfilled
|
|
659
655
|
}
|
|
660
|
-
}`,[
|
|
656
|
+
}`,[rt,nt,te,tt,at]),ot=e(`fragment CancelSwapTypeDefinition on CancelSwapTypeDefinition {
|
|
661
657
|
OrderCancellations {
|
|
662
658
|
...TypeField
|
|
663
659
|
}
|
|
664
660
|
EIP712Domain {
|
|
665
661
|
...TypeField
|
|
666
662
|
}
|
|
667
|
-
}`,[
|
|
663
|
+
}`,[U]),st=e(`fragment CancelSwapTypedData on CancelSwapTypedData {
|
|
668
664
|
types {
|
|
669
665
|
...CancelSwapTypeDefinition
|
|
670
666
|
}
|
|
@@ -673,12 +669,12 @@
|
|
|
673
669
|
...DomainData
|
|
674
670
|
}
|
|
675
671
|
message
|
|
676
|
-
}`,[
|
|
672
|
+
}`,[ot,k]),re=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
677
673
|
__typename
|
|
678
674
|
data {
|
|
679
675
|
...CancelSwapTypedData
|
|
680
676
|
}
|
|
681
|
-
}`,[
|
|
677
|
+
}`,[st]),ne=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
682
678
|
__typename
|
|
683
679
|
... on TransactionRequest {
|
|
684
680
|
...TransactionRequest
|
|
@@ -686,7 +682,7 @@
|
|
|
686
682
|
... on SwapCancelled {
|
|
687
683
|
...SwapCancelled
|
|
688
684
|
}
|
|
689
|
-
}`,[m,
|
|
685
|
+
}`,[m,te]),ae=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
690
686
|
__typename
|
|
691
687
|
items {
|
|
692
688
|
...SwapStatus
|
|
@@ -694,7 +690,7 @@
|
|
|
694
690
|
pageInfo {
|
|
695
691
|
...PaginatedResultInfo
|
|
696
692
|
}
|
|
697
|
-
}`,[
|
|
693
|
+
}`,[O,q]);var oe=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
698
694
|
__typename
|
|
699
695
|
id
|
|
700
696
|
reserve {
|
|
@@ -711,7 +707,7 @@
|
|
|
711
707
|
}
|
|
712
708
|
isCollateral
|
|
713
709
|
createdAt
|
|
714
|
-
}`,[
|
|
710
|
+
}`,[i,A]),se=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
715
711
|
__typename
|
|
716
712
|
id
|
|
717
713
|
principal {
|
|
@@ -727,7 +723,7 @@
|
|
|
727
723
|
...Reserve
|
|
728
724
|
}
|
|
729
725
|
createdAt
|
|
730
|
-
}`,[
|
|
726
|
+
}`,[i,A]),pe=e(`fragment UserSummary on UserSummary {
|
|
731
727
|
__typename
|
|
732
728
|
totalPositions
|
|
733
729
|
netBalance(currency: $currency) {
|
|
@@ -749,29 +745,32 @@
|
|
|
749
745
|
...ExchangeAmount
|
|
750
746
|
}
|
|
751
747
|
lowestHealthFactor
|
|
752
|
-
}`,[d,
|
|
748
|
+
}`,[d,s,r]),_=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
753
749
|
__typename
|
|
754
750
|
token {
|
|
755
751
|
...Erc20Token
|
|
756
752
|
}
|
|
757
|
-
|
|
753
|
+
currentRiskPremiumWeight {
|
|
754
|
+
...PercentNumber
|
|
755
|
+
}
|
|
756
|
+
latestRiskPremiumWeight {
|
|
758
757
|
...PercentNumber
|
|
759
758
|
}
|
|
760
759
|
collateral {
|
|
761
760
|
...PercentNumber
|
|
762
761
|
}
|
|
763
|
-
}`,[
|
|
762
|
+
}`,[y,r]),pt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
764
763
|
__typename
|
|
765
764
|
current {
|
|
766
765
|
...PercentNumber
|
|
767
766
|
}
|
|
768
|
-
|
|
767
|
+
latest {
|
|
769
768
|
...PercentNumber
|
|
770
769
|
}
|
|
771
770
|
breakdown {
|
|
772
771
|
...UserRiskPremiumBreakdownItem
|
|
773
772
|
}
|
|
774
|
-
}`,[r,
|
|
773
|
+
}`,[r,_]),$=e(`fragment UserPosition on UserPosition {
|
|
775
774
|
__typename
|
|
776
775
|
id
|
|
777
776
|
spoke {
|
|
@@ -815,14 +814,14 @@
|
|
|
815
814
|
borrowingPower(currency: $currency) {
|
|
816
815
|
...ExchangeAmount
|
|
817
816
|
}
|
|
818
|
-
|
|
817
|
+
canUpdateDynamicConfig
|
|
819
818
|
netBalancePercentChange(window: $timeWindow) {
|
|
820
819
|
...PercentNumber
|
|
821
820
|
}
|
|
822
821
|
averageCollateralFactor {
|
|
823
822
|
...PercentNumber
|
|
824
823
|
}
|
|
825
|
-
}`,[
|
|
824
|
+
}`,[u,r,d,s,L,G,pt]),ie=e(`fragment UserBalance on UserBalance {
|
|
826
825
|
__typename
|
|
827
826
|
id
|
|
828
827
|
info {
|
|
@@ -855,7 +854,7 @@
|
|
|
855
854
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
856
855
|
...PercentNumber
|
|
857
856
|
}
|
|
858
|
-
}`,[
|
|
857
|
+
}`,[I,c,S,s,r]),ue=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
859
858
|
__typename
|
|
860
859
|
netBalance(currency: $currency) {
|
|
861
860
|
...ExchangeAmount
|
|
@@ -868,45 +867,64 @@
|
|
|
868
867
|
}
|
|
869
868
|
healthFactor
|
|
870
869
|
date
|
|
871
|
-
}`,[
|
|
870
|
+
}`,[s]),N=e(`fragment ApySample on ApySample {
|
|
872
871
|
__typename
|
|
873
872
|
date
|
|
874
873
|
avgRate {
|
|
875
874
|
...PercentNumber
|
|
876
875
|
}
|
|
877
|
-
}`,[r]);var
|
|
876
|
+
}`,[r]);var Ar=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
878
877
|
value: hub(request: $request) {
|
|
879
878
|
...Hub
|
|
880
879
|
}
|
|
881
|
-
}`,[T]),
|
|
880
|
+
}`,[T]),hr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
882
881
|
value: hubs(request: $request) {
|
|
883
882
|
...Hub
|
|
884
883
|
}
|
|
885
|
-
}`,[T]),
|
|
884
|
+
}`,[T]),Fr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
886
885
|
value: hubAssets(request: $request) {
|
|
887
886
|
...HubAsset
|
|
888
887
|
}
|
|
889
|
-
}`,[
|
|
888
|
+
}`,[C]),it=e(`fragment HubSummarySample on HubSummarySample {
|
|
889
|
+
__typename
|
|
890
|
+
date
|
|
891
|
+
deposits {
|
|
892
|
+
...ExchangeAmount
|
|
893
|
+
}
|
|
894
|
+
borrows {
|
|
895
|
+
...ExchangeAmount
|
|
896
|
+
}
|
|
897
|
+
availableLiquidity {
|
|
898
|
+
...ExchangeAmount
|
|
899
|
+
}
|
|
900
|
+
utilizationRate {
|
|
901
|
+
...PercentNumber
|
|
902
|
+
}
|
|
903
|
+
}`,[s,r]),Pr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
904
|
+
value: hubSummaryHistory(request: $request) {
|
|
905
|
+
...HubSummarySample
|
|
906
|
+
}
|
|
907
|
+
}`,[it]);function ge(t){return new TextDecoder().decode(Uint8Array.from(atob(t),P=>P.charCodeAt(0)))}function D(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var F="::";function Tr(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 ut(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 Cr(t){return ut(D(`${t.chainId}${F}${t.address}`))}function br(t){let P=ge(t),[n,o]=P.split(F);return {chainId:types.chainId(Number.parseInt(n,10)),address:types.evmAddress(o)}}function Er(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 Ur(t){return t}function kr(t){let P=ge(t),[n,o,R]=P.split(F);return {chainId:types.chainId(Number.parseInt(n,10)),spoke:types.evmAddress(o),onChainId:R}}function vr(t){return D(`${t.chainId}${F}${t.spoke}${F}${t.onChainId}`)}function Hr(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 Br(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function Or(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function _r(t){return mt(D(`${t.chainId}${F}${t.address}`))}function mt(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 $r(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 Nr(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 Dr(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 Qr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function Mr(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function Vr(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function Gr(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Kr(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Jr=e(`query Chain($request: ChainRequest!) {
|
|
890
908
|
value: chain(request: $request) {
|
|
891
909
|
...Chain
|
|
892
910
|
}
|
|
893
|
-
}`,[
|
|
911
|
+
}`,[a]),jr=e(`query Chains($request: ChainsRequest!) {
|
|
894
912
|
value: chains(request: $request) {
|
|
895
913
|
...Chain
|
|
896
914
|
}
|
|
897
|
-
}`,[
|
|
915
|
+
}`,[a]),Xr=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
898
916
|
value: hasProcessedKnownTransaction(request: $request)
|
|
899
|
-
}`),
|
|
917
|
+
}`),en=e(`query Health {
|
|
900
918
|
value: health
|
|
901
|
-
}`),
|
|
919
|
+
}`),tn=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
902
920
|
value: exchangeRate(request: $request) {
|
|
903
921
|
...ExchangeAmount
|
|
904
922
|
}
|
|
905
|
-
}`,[
|
|
923
|
+
}`,[s]);var yt=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
906
924
|
__typename
|
|
907
925
|
date
|
|
908
926
|
price
|
|
909
|
-
}`),
|
|
927
|
+
}`),ct=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
910
928
|
__typename
|
|
911
929
|
date
|
|
912
930
|
amount {
|
|
@@ -918,7 +936,7 @@
|
|
|
918
936
|
lowestApy {
|
|
919
937
|
...PercentNumber
|
|
920
938
|
}
|
|
921
|
-
}`,[
|
|
939
|
+
}`,[c,r]),gt=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
922
940
|
__typename
|
|
923
941
|
date
|
|
924
942
|
amount {
|
|
@@ -930,7 +948,31 @@
|
|
|
930
948
|
lowestApy {
|
|
931
949
|
...PercentNumber
|
|
932
950
|
}
|
|
933
|
-
}`,[
|
|
951
|
+
}`,[c,r]),lt=e(`fragment AssetCategoryBorrowSample on AssetCategoryBorrowSample {
|
|
952
|
+
__typename
|
|
953
|
+
date
|
|
954
|
+
highestApy {
|
|
955
|
+
...PercentNumber
|
|
956
|
+
}
|
|
957
|
+
lowestApy {
|
|
958
|
+
...PercentNumber
|
|
959
|
+
}
|
|
960
|
+
borrows(currency: $currency) {
|
|
961
|
+
...ExchangeAmount
|
|
962
|
+
}
|
|
963
|
+
}`,[r,s]),dt=e(`fragment AssetCategorySupplySample on AssetCategorySupplySample {
|
|
964
|
+
__typename
|
|
965
|
+
date
|
|
966
|
+
highestApy {
|
|
967
|
+
...PercentNumber
|
|
968
|
+
}
|
|
969
|
+
lowestApy {
|
|
970
|
+
...PercentNumber
|
|
971
|
+
}
|
|
972
|
+
deposits(currency: $currency) {
|
|
973
|
+
...ExchangeAmount
|
|
974
|
+
}
|
|
975
|
+
}`,[r,s]),ft=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
934
976
|
__typename
|
|
935
977
|
amount {
|
|
936
978
|
...DecimalNumberWithChange
|
|
@@ -938,7 +980,7 @@
|
|
|
938
980
|
exchange(currency: $currency) {
|
|
939
981
|
...ExchangeAmountWithChange
|
|
940
982
|
}
|
|
941
|
-
}`,[
|
|
983
|
+
}`,[H,d]),St=e(`fragment AssetSummary on AssetSummary {
|
|
942
984
|
__typename
|
|
943
985
|
totalSupplyCap {
|
|
944
986
|
...DecimalNumberWithChange
|
|
@@ -964,7 +1006,7 @@
|
|
|
964
1006
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
965
1007
|
...PercentNumber
|
|
966
1008
|
}
|
|
967
|
-
}`,[
|
|
1009
|
+
}`,[ft,H,r]),qt=e(`fragment Asset on Asset {
|
|
968
1010
|
__typename
|
|
969
1011
|
id
|
|
970
1012
|
token {
|
|
@@ -976,23 +1018,31 @@
|
|
|
976
1018
|
price(currency: $currency) {
|
|
977
1019
|
...ExchangeAmountWithChange
|
|
978
1020
|
}
|
|
979
|
-
}`,[
|
|
1021
|
+
}`,[y,St,d]),on=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
980
1022
|
value: asset(request: $request) {
|
|
981
1023
|
...Asset
|
|
982
1024
|
}
|
|
983
|
-
}`,[
|
|
1025
|
+
}`,[qt]),sn=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
984
1026
|
value: assetPriceHistory(request: $request) {
|
|
985
1027
|
...AssetPriceSample
|
|
986
1028
|
}
|
|
987
|
-
}`,[
|
|
1029
|
+
}`,[yt]),pn=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!) {
|
|
988
1030
|
value: assetSupplyHistory(request: $request) {
|
|
989
1031
|
...AssetSupplySample
|
|
990
1032
|
}
|
|
991
|
-
}`,[
|
|
1033
|
+
}`,[ct]),un=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!) {
|
|
992
1034
|
value: assetBorrowHistory(request: $request) {
|
|
993
1035
|
...AssetBorrowSample
|
|
994
1036
|
}
|
|
995
|
-
}`,[
|
|
1037
|
+
}`,[gt]),mn=e(`query AssetCategoryBorrowHistory($request: AssetCategoryBorrowHistoryRequest!, $currency: Currency! = USD) {
|
|
1038
|
+
value: assetCategoryBorrowHistory(request: $request) {
|
|
1039
|
+
...AssetCategoryBorrowSample
|
|
1040
|
+
}
|
|
1041
|
+
}`,[lt]),yn=e(`query AssetCategorySupplyHistory($request: AssetCategorySupplyHistoryRequest!, $currency: Currency! = USD) {
|
|
1042
|
+
value: assetCategorySupplyHistory(request: $request) {
|
|
1043
|
+
...AssetCategorySupplySample
|
|
1044
|
+
}
|
|
1045
|
+
}`,[dt]),Rt=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
996
1046
|
__typename
|
|
997
1047
|
date
|
|
998
1048
|
deposits {
|
|
@@ -1004,91 +1054,91 @@
|
|
|
1004
1054
|
earnings {
|
|
1005
1055
|
...ExchangeAmount
|
|
1006
1056
|
}
|
|
1007
|
-
}`,[
|
|
1057
|
+
}`,[s]),cn=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1008
1058
|
value: protocolHistory(request: $request) {
|
|
1009
1059
|
...ProtocolHistorySample
|
|
1010
1060
|
}
|
|
1011
|
-
}`,[
|
|
1061
|
+
}`,[Rt]);var fn=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1012
1062
|
value: borrowApyHistory(request: $request) {
|
|
1013
1063
|
...ApySample
|
|
1014
1064
|
}
|
|
1015
|
-
}`,[
|
|
1065
|
+
}`,[N]),Sn=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1016
1066
|
value: supplyApyHistory(request: $request) {
|
|
1017
1067
|
...ApySample
|
|
1018
1068
|
}
|
|
1019
|
-
}`,[
|
|
1069
|
+
}`,[N]),qn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1020
1070
|
value: reserve(request: $request) {
|
|
1021
1071
|
...Reserve
|
|
1022
1072
|
}
|
|
1023
|
-
}`,[A]),
|
|
1073
|
+
}`,[A]),Rn=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1024
1074
|
value: reserves(request: $request) {
|
|
1025
1075
|
...Reserve
|
|
1026
1076
|
}
|
|
1027
|
-
}`,[A]);var
|
|
1077
|
+
}`,[A]);var Fn=e(`query Spoke($request: SpokeRequest!) {
|
|
1028
1078
|
value: spoke(request: $request) {
|
|
1029
1079
|
...Spoke
|
|
1030
1080
|
}
|
|
1031
|
-
}`,[
|
|
1081
|
+
}`,[u]),Pn=e(`query Spokes($request: SpokesRequest!) {
|
|
1032
1082
|
value: spokes(request: $request) {
|
|
1033
1083
|
...Spoke
|
|
1034
1084
|
}
|
|
1035
|
-
}`,[
|
|
1085
|
+
}`,[u]),wn=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1036
1086
|
value: spokePositionManagers(request: $request) {
|
|
1037
1087
|
...PaginatedSpokePositionManagerResult
|
|
1038
1088
|
}
|
|
1039
|
-
}`,[
|
|
1089
|
+
}`,[Y]),In=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1040
1090
|
value: spokeUserPositionManagers(request: $request) {
|
|
1041
1091
|
...PaginatedSpokeUserPositionManagerResult
|
|
1042
1092
|
}
|
|
1043
|
-
}`,[
|
|
1093
|
+
}`,[z]);var En=e(`query SwapQuote($request: SwapQuoteRequest!, $currency: Currency!) {
|
|
1044
1094
|
value: swapQuote(request: $request) {
|
|
1045
1095
|
...SwapQuote
|
|
1046
1096
|
}
|
|
1047
|
-
}`,[
|
|
1097
|
+
}`,[E]),Un=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1048
1098
|
value: swappableTokens(request: $request) {
|
|
1049
1099
|
...Token
|
|
1050
1100
|
}
|
|
1051
|
-
}`,[
|
|
1101
|
+
}`,[W]),kn=e(`query PrepareSwap($request: PrepareSwapRequest!, $currency: Currency!) {
|
|
1052
1102
|
value: prepareSwap(request: $request) {
|
|
1053
1103
|
...PrepareSwapResult
|
|
1054
1104
|
}
|
|
1055
|
-
}`,[
|
|
1105
|
+
}`,[j]),vn=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!) {
|
|
1056
1106
|
value: swapStatus(request: $request) {
|
|
1057
1107
|
...SwapStatus
|
|
1058
1108
|
}
|
|
1059
|
-
}`,[
|
|
1109
|
+
}`,[O]),Hn=e(`query Swap($request: SwapRequest!) {
|
|
1060
1110
|
value: swap(request: $request) {
|
|
1061
1111
|
...SwapExecutionPlan
|
|
1062
1112
|
}
|
|
1063
|
-
}`,[
|
|
1113
|
+
}`,[ee]),Bn=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1064
1114
|
value: prepareSwapCancel(request: $request) {
|
|
1065
1115
|
...PrepareSwapCancelResult
|
|
1066
1116
|
}
|
|
1067
|
-
}`,[
|
|
1117
|
+
}`,[re]),On=e(`query CancelSwap($request: CancelSwapRequest!) {
|
|
1068
1118
|
value: cancelSwap(request: $request) {
|
|
1069
1119
|
...CancelSwapExecutionPlan
|
|
1070
1120
|
}
|
|
1071
|
-
}`,[
|
|
1121
|
+
}`,[ne]),_n=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!) {
|
|
1072
1122
|
value: userSwaps(request: $request) {
|
|
1073
1123
|
...PaginatedUserSwapsResult
|
|
1074
1124
|
}
|
|
1075
|
-
}`,[
|
|
1125
|
+
}`,[ae]);var Qn=e(`query Borrow($request: BorrowRequest!) {
|
|
1076
1126
|
value: borrow(request: $request) {
|
|
1077
1127
|
...ExecutionPlan
|
|
1078
1128
|
}
|
|
1079
|
-
}`,[b]),
|
|
1129
|
+
}`,[b]),Wn=e(`query Supply($request: SupplyRequest!) {
|
|
1080
1130
|
value: supply(request: $request) {
|
|
1081
1131
|
...ExecutionPlan
|
|
1082
1132
|
}
|
|
1083
|
-
}`,[b]),
|
|
1133
|
+
}`,[b]),Ln=e(`query Repay($request: RepayRequest!) {
|
|
1084
1134
|
value: repay(request: $request) {
|
|
1085
1135
|
...ExecutionPlan
|
|
1086
1136
|
}
|
|
1087
|
-
}`,[b]),
|
|
1137
|
+
}`,[b]),Mn=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1088
1138
|
value: withdraw(request: $request) {
|
|
1089
1139
|
...ExecutionPlan
|
|
1090
1140
|
}
|
|
1091
|
-
}`,[b]),
|
|
1141
|
+
}`,[b]),xt=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1092
1142
|
__typename
|
|
1093
1143
|
... on TransactionRequest {
|
|
1094
1144
|
...TransactionRequest
|
|
@@ -1099,27 +1149,74 @@
|
|
|
1099
1149
|
... on InsufficientBalanceError {
|
|
1100
1150
|
...InsufficientBalanceError
|
|
1101
1151
|
}
|
|
1102
|
-
}`,[m,
|
|
1152
|
+
}`,[m,B,h]),Vn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1103
1153
|
value: liquidatePosition(request: $request) {
|
|
1104
1154
|
...LiquidatePositionExecutionPlan
|
|
1105
1155
|
}
|
|
1106
|
-
}`,[
|
|
1156
|
+
}`,[xt]),Gn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1107
1157
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1108
1158
|
...TransactionRequest
|
|
1109
1159
|
}
|
|
1110
|
-
}`,[m]),
|
|
1160
|
+
}`,[m]),Kn=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1111
1161
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1112
1162
|
...TransactionRequest
|
|
1113
1163
|
}
|
|
1114
|
-
}`,[m]),
|
|
1164
|
+
}`,[m]),Yn=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1115
1165
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1116
1166
|
...TransactionRequest
|
|
1117
1167
|
}
|
|
1118
|
-
}`,[m]),
|
|
1168
|
+
}`,[m]),zn=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1119
1169
|
value: updateUserPositionConditions(request: $request) {
|
|
1120
1170
|
...TransactionRequest
|
|
1121
1171
|
}
|
|
1122
|
-
}`,[m]),
|
|
1172
|
+
}`,[m]),At=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1173
|
+
__typename
|
|
1174
|
+
reserveId
|
|
1175
|
+
token {
|
|
1176
|
+
...Erc20Token
|
|
1177
|
+
}
|
|
1178
|
+
current {
|
|
1179
|
+
...PercentNumber
|
|
1180
|
+
}
|
|
1181
|
+
after {
|
|
1182
|
+
...PercentNumber
|
|
1183
|
+
}
|
|
1184
|
+
}`,[y,r]),ht=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1185
|
+
__typename
|
|
1186
|
+
reserveId
|
|
1187
|
+
token {
|
|
1188
|
+
...Erc20Token
|
|
1189
|
+
}
|
|
1190
|
+
current {
|
|
1191
|
+
...PercentNumber
|
|
1192
|
+
}
|
|
1193
|
+
after {
|
|
1194
|
+
...PercentNumber
|
|
1195
|
+
}
|
|
1196
|
+
}`,[y,r]),Ft=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1197
|
+
__typename
|
|
1198
|
+
reserveId
|
|
1199
|
+
token {
|
|
1200
|
+
...Erc20Token
|
|
1201
|
+
}
|
|
1202
|
+
current {
|
|
1203
|
+
...PercentNumber
|
|
1204
|
+
}
|
|
1205
|
+
after {
|
|
1206
|
+
...PercentNumber
|
|
1207
|
+
}
|
|
1208
|
+
}`,[y,r]),Pt=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1209
|
+
__typename
|
|
1210
|
+
... on CollateralFactorVariation {
|
|
1211
|
+
...CollateralFactorVariation
|
|
1212
|
+
}
|
|
1213
|
+
... on LiquidationFeeVariation {
|
|
1214
|
+
...LiquidationFeeVariation
|
|
1215
|
+
}
|
|
1216
|
+
... on MaxLiquidationBonusVariation {
|
|
1217
|
+
...MaxLiquidationBonusVariation
|
|
1218
|
+
}
|
|
1219
|
+
}`,[At,ht,Ft]),wt=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1123
1220
|
__typename
|
|
1124
1221
|
id
|
|
1125
1222
|
healthFactor {
|
|
@@ -1132,16 +1229,25 @@
|
|
|
1132
1229
|
...PercentNumberVariation
|
|
1133
1230
|
}
|
|
1134
1231
|
netCollateral(currency: $currency) {
|
|
1135
|
-
...
|
|
1232
|
+
...ExchangeAmountVariation
|
|
1136
1233
|
}
|
|
1137
1234
|
netBalance(currency: $currency) {
|
|
1138
|
-
...
|
|
1235
|
+
...ExchangeAmountVariation
|
|
1236
|
+
}
|
|
1237
|
+
projectedEarnings(period: ANNUAL) {
|
|
1238
|
+
...ExchangeAmountVariation
|
|
1139
1239
|
}
|
|
1140
|
-
|
|
1240
|
+
borrowingPower {
|
|
1241
|
+
...ExchangeAmountVariation
|
|
1242
|
+
}
|
|
1243
|
+
otherConditions {
|
|
1244
|
+
...UserPositionConditionVariation
|
|
1245
|
+
}
|
|
1246
|
+
}`,[K,M,V,Pt]),Zn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
|
|
1141
1247
|
value: preview(request: $request) {
|
|
1142
1248
|
...PreviewUserPosition
|
|
1143
1249
|
}
|
|
1144
|
-
}`,[
|
|
1250
|
+
}`,[wt]),le=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1145
1251
|
__typename
|
|
1146
1252
|
before {
|
|
1147
1253
|
...PercentNumber
|
|
@@ -1149,7 +1255,7 @@
|
|
|
1149
1255
|
after {
|
|
1150
1256
|
...PercentNumber
|
|
1151
1257
|
}
|
|
1152
|
-
}`,[r]),
|
|
1258
|
+
}`,[r]),It=e(`fragment BorrowActivity on BorrowActivity {
|
|
1153
1259
|
__typename
|
|
1154
1260
|
id
|
|
1155
1261
|
user
|
|
@@ -1167,7 +1273,7 @@
|
|
|
1167
1273
|
chain {
|
|
1168
1274
|
...Chain
|
|
1169
1275
|
}
|
|
1170
|
-
}`,[i,
|
|
1276
|
+
}`,[u,i,f,a]),Tt=e(`fragment SupplyActivity on SupplyActivity {
|
|
1171
1277
|
__typename
|
|
1172
1278
|
id
|
|
1173
1279
|
user
|
|
@@ -1185,7 +1291,7 @@
|
|
|
1185
1291
|
chain {
|
|
1186
1292
|
...Chain
|
|
1187
1293
|
}
|
|
1188
|
-
}`,[i,
|
|
1294
|
+
}`,[u,i,f,a]),Ct=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1189
1295
|
__typename
|
|
1190
1296
|
id
|
|
1191
1297
|
user
|
|
@@ -1203,7 +1309,7 @@
|
|
|
1203
1309
|
chain {
|
|
1204
1310
|
...Chain
|
|
1205
1311
|
}
|
|
1206
|
-
}`,[i,
|
|
1312
|
+
}`,[u,i,f,a]),bt=e(`fragment RepayActivity on RepayActivity {
|
|
1207
1313
|
__typename
|
|
1208
1314
|
id
|
|
1209
1315
|
user
|
|
@@ -1221,7 +1327,7 @@
|
|
|
1221
1327
|
chain {
|
|
1222
1328
|
...Chain
|
|
1223
1329
|
}
|
|
1224
|
-
}`,[i,
|
|
1330
|
+
}`,[u,i,f,a]),Et=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1225
1331
|
__typename
|
|
1226
1332
|
id
|
|
1227
1333
|
user
|
|
@@ -1246,7 +1352,7 @@
|
|
|
1246
1352
|
chain {
|
|
1247
1353
|
...Chain
|
|
1248
1354
|
}
|
|
1249
|
-
}`,[i,
|
|
1355
|
+
}`,[u,i,f,a]),Ut=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1250
1356
|
__typename
|
|
1251
1357
|
id
|
|
1252
1358
|
user
|
|
@@ -1262,7 +1368,7 @@
|
|
|
1262
1368
|
chain {
|
|
1263
1369
|
...Chain
|
|
1264
1370
|
}
|
|
1265
|
-
}`,[
|
|
1371
|
+
}`,[u,f,a]),kt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1266
1372
|
__typename
|
|
1267
1373
|
id
|
|
1268
1374
|
user
|
|
@@ -1286,7 +1392,7 @@
|
|
|
1286
1392
|
chain {
|
|
1287
1393
|
...Chain
|
|
1288
1394
|
}
|
|
1289
|
-
}`,[
|
|
1395
|
+
}`,[u,f,le,a]),vt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1290
1396
|
__typename
|
|
1291
1397
|
id
|
|
1292
1398
|
user
|
|
@@ -1301,7 +1407,7 @@
|
|
|
1301
1407
|
chain {
|
|
1302
1408
|
...Chain
|
|
1303
1409
|
}
|
|
1304
|
-
}`,[
|
|
1410
|
+
}`,[u,le,a]),Ht=e(`fragment ActivityItem on ActivityItem {
|
|
1305
1411
|
__typename
|
|
1306
1412
|
... on BorrowActivity {
|
|
1307
1413
|
...BorrowActivity
|
|
@@ -1327,7 +1433,7 @@
|
|
|
1327
1433
|
... on UpdatedRiskPremiumActivity {
|
|
1328
1434
|
...UpdatedRiskPremiumActivity
|
|
1329
1435
|
}
|
|
1330
|
-
}`,[
|
|
1436
|
+
}`,[It,Tt,Ct,bt,Et,Ut,kt,vt]),Bt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1331
1437
|
__typename
|
|
1332
1438
|
items {
|
|
1333
1439
|
...ActivityItem
|
|
@@ -1335,37 +1441,41 @@
|
|
|
1335
1441
|
pageInfo {
|
|
1336
1442
|
...PaginatedResultInfo
|
|
1337
1443
|
}
|
|
1338
|
-
}`,[
|
|
1444
|
+
}`,[Ht,q]),Jn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1339
1445
|
value: activities(request: $request) {
|
|
1340
1446
|
...PaginatedActivitiesResult
|
|
1341
1447
|
}
|
|
1342
|
-
}`,[
|
|
1448
|
+
}`,[Bt]);var ta=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1343
1449
|
value: userSupplies(request: $request) {
|
|
1344
1450
|
...UserSupplyItem
|
|
1345
1451
|
}
|
|
1346
|
-
}`,[
|
|
1452
|
+
}`,[oe]),ra=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1347
1453
|
value: userBorrows(request: $request) {
|
|
1348
1454
|
...UserBorrowItem
|
|
1349
1455
|
}
|
|
1350
|
-
}`,[
|
|
1456
|
+
}`,[se]),na=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1351
1457
|
value: userSummary(request: $request) {
|
|
1352
1458
|
...UserSummary
|
|
1353
1459
|
}
|
|
1354
|
-
}`,[pe]),
|
|
1460
|
+
}`,[pe]),aa=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1355
1461
|
value: userPositions(request: $request) {
|
|
1356
1462
|
...UserPosition
|
|
1357
1463
|
}
|
|
1358
|
-
}`,[
|
|
1464
|
+
}`,[$]),oa=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1359
1465
|
value: userPosition(request: $request) {
|
|
1360
1466
|
...UserPosition
|
|
1361
1467
|
}
|
|
1362
|
-
}`,[
|
|
1468
|
+
}`,[$]),sa=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1363
1469
|
value: userBalances(request: $request) {
|
|
1364
1470
|
...UserBalance
|
|
1365
1471
|
}
|
|
1366
|
-
}`,[
|
|
1472
|
+
}`,[ie]),pa=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1367
1473
|
value: userSummaryHistory(request: $request) {
|
|
1368
1474
|
...UserSummaryHistoryItem
|
|
1369
1475
|
}
|
|
1370
|
-
}`,[
|
|
1476
|
+
}`,[ue]),ia=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1477
|
+
value: userRiskPremiumBreakdown(request: $request) {
|
|
1478
|
+
...UserRiskPremiumBreakdownItem
|
|
1479
|
+
}
|
|
1480
|
+
}`,[_]);exports.ActivitiesQuery=Jn;exports.ActivityItemFragment=Ht;exports.ActivityType=he;exports.ApyMetric=Fe;exports.ApySampleFragment=N;exports.AssetAmountWithChangeFragment=ft;exports.AssetBorrowHistoryQuery=un;exports.AssetBorrowSampleFragment=gt;exports.AssetCategoryBorrowHistoryQuery=mn;exports.AssetCategoryBorrowSampleFragment=lt;exports.AssetCategorySupplyHistoryQuery=yn;exports.AssetCategorySupplySampleFragment=dt;exports.AssetFragment=qt;exports.AssetPriceHistoryQuery=sn;exports.AssetPriceSampleFragment=yt;exports.AssetQuery=on;exports.AssetSummaryFragment=St;exports.AssetSupplyHistoryQuery=pn;exports.AssetSupplySampleFragment=ct;exports.BorrowActivityFragment=It;exports.BorrowApyHistoryQuery=fn;exports.BorrowQuery=Qn;exports.CancelSwapExecutionPlanFragment=ne;exports.CancelSwapQuery=On;exports.CancelSwapTypeDefinitionFragment=ot;exports.CancelSwapTypedDataFragment=st;exports.ChainFragment=a;exports.ChainQuery=Jr;exports.ChainsFilter=Re;exports.ChainsQuery=jr;exports.CollateralFactorVariationFragment=At;exports.CollateralMetric=Pe;exports.Currency=we;exports.DecimalNumberFragment=c;exports.DecimalNumberWithChangeFragment=H;exports.DomainDataFragment=k;exports.Erc20AmountFragment=i;exports.Erc20ApprovalRequiredFragment=B;exports.Erc20TokenFragment=y;exports.ExchangeAmountFragment=s;exports.ExchangeAmountVariationFragment=V;exports.ExchangeAmountWithChangeFragment=d;exports.ExchangeRateQuery=tn;exports.ExecutionPlanFragment=b;exports.HasProcessedKnownTransactionQuery=Xr;exports.HealthFactorErrorFragment=He;exports.HealthFactorResultFragment=K;exports.HealthFactorVariationFragment=ve;exports.HealthFactorWithChangeFragment=G;exports.HealthQuery=en;exports.HubAssetFragment=C;exports.HubAssetSettingsFragment=_e;exports.HubAssetStatusType=xe;exports.HubAssetSummaryFragment=Oe;exports.HubAssetUserStateFragment=$e;exports.HubAssetsQuery=Fr;exports.HubAssetsRequestOrderBy=Ae;exports.HubFragment=T;exports.HubQuery=Ar;exports.HubSummaryFragment=Be;exports.HubSummaryHistoryQuery=Pr;exports.HubSummarySampleFragment=it;exports.HubsQuery=hr;exports.InsufficientBalanceErrorFragment=h;exports.LiquidatePositionExecutionPlanFragment=xt;exports.LiquidatePositionQuery=Vn;exports.LiquidatedActivityFragment=Et;exports.LiquidationFeeVariationFragment=ht;exports.MaxLiquidationBonusVariationFragment=Ft;exports.NativeAmountFragment=ke;exports.NativeTokenFragment=Q;exports.OperationType=qe;exports.OrderDirection=de;exports.PageSize=fe;exports.PaginatedActivitiesResultFragment=Bt;exports.PaginatedResultInfoFragment=q;exports.PaginatedSpokePositionManagerResultFragment=Y;exports.PaginatedSpokeUserPositionManagerResultFragment=z;exports.PaginatedUserSwapsResultFragment=ae;exports.PercentNumberChangeSnapshotFragment=le;exports.PercentNumberFragment=r;exports.PercentNumberVariationFragment=M;exports.PercentNumberWithChangeFragment=L;exports.PermitMessageDataFragment=Ge;exports.PermitTypedDataQuery=nr;exports.PermitTypedDataResponseFragment=Ke;exports.PreContractActionRequiredFragment=Ye;exports.PrepareSwapCancelQuery=Bn;exports.PrepareSwapCancelResultFragment=re;exports.PrepareSwapQuery=kn;exports.PrepareSwapResultFragment=j;exports.PreviewQuery=Zn;exports.PreviewUserPositionFragment=wt;exports.ProtocolHistoryQuery=cn;exports.ProtocolHistorySampleFragment=Rt;exports.RenounceSpokeUserPositionManagerQuery=Yn;exports.RepayActivityFragment=bt;exports.RepayQuery=Ln;exports.ReserveFragment=A;exports.ReserveInfoFragment=f;exports.ReserveQuery=qn;exports.ReserveSettingsFragment=Qe;exports.ReserveStatusFragment=We;exports.ReserveSummaryFragment=Le;exports.ReserveUserStateFragment=Me;exports.ReservesQuery=Rn;exports.ReservesRequestFilter=Ie;exports.SetSpokeUserPositionManagerQuery=Gn;exports.SetUserSuppliesAsCollateralQuery=Kn;exports.SpokeFragment=u;exports.SpokePositionManagerFragment=Ne;exports.SpokePositionManagersQuery=wn;exports.SpokeQuery=Fn;exports.SpokeUserPositionManagerFragment=De;exports.SpokeUserPositionManagersQuery=In;exports.SpokesQuery=Pn;exports.SupplyActivityFragment=Tt;exports.SupplyApyHistoryQuery=Sn;exports.SupplyQuery=Wn;exports.SwapApprovalRequiredFragment=et;exports.SwapByIntentFragment=Je;exports.SwapByIntentTypeDefinitionFragment=Ze;exports.SwapByIntentTypedDataFragment=Z;exports.SwapByIntentWithApprovalRequiredFragment=je;exports.SwapByTransactionFragment=Xe;exports.SwapCancelledFragment=te;exports.SwapExecutionPlanFragment=ee;exports.SwapExpiredFragment=tt;exports.SwapFulfilledFragment=at;exports.SwapKind=Te;exports.SwapOpenFragment=rt;exports.SwapPendingSignatureFragment=nt;exports.SwapQuery=Hn;exports.SwapQuoteCostsFragment=ze;exports.SwapQuoteFragment=E;exports.SwapQuoteQuery=En;exports.SwapReceiptFragment=J;exports.SwapStatusFilter=Ce;exports.SwapStatusFragment=O;exports.SwapStatusQuery=vn;exports.SwapTransactionRequestFragment=X;exports.SwappableTokensQuery=Un;exports.TimeWindow=Se;exports.TokenAmountFragment=S;exports.TokenCategory=be;exports.TokenFragment=W;exports.TokenInfoFragment=I;exports.TransactionRequestFragment=m;exports.TypeDefinitionFragment=Ve;exports.TypeFieldFragment=U;exports.UpdateUserPositionConditionsQuery=zn;exports.UpdatedDynamicConfigActivityFragment=kt;exports.UpdatedRiskPremiumActivityFragment=vt;exports.UserBalanceFragment=ie;exports.UserBalancesQuery=sa;exports.UserBorrowItemFragment=se;exports.UserBorrowsQuery=ra;exports.UserPositionConditionVariationFragment=Pt;exports.UserPositionConditionsUpdate=Ee;exports.UserPositionFragment=$;exports.UserPositionQuery=oa;exports.UserPositionRiskPremiumFragment=pt;exports.UserPositionsQuery=aa;exports.UserRiskPremiumBreakdownItemFragment=_;exports.UserRiskPremiumBreakdownQuery=ia;exports.UserSummaryFragment=pe;exports.UserSummaryHistoryItemFragment=ue;exports.UserSummaryHistoryQuery=pa;exports.UserSummaryQuery=na;exports.UserSuppliesQuery=ta;exports.UserSupplyItemFragment=oe;exports.UserSwapsQuery=_n;exports.UsingAsCollateralActivityFragment=Ut;exports.WithdrawActivityFragment=Ct;exports.WithdrawQuery=Mn;exports.assetId=Tr;exports.decodeHubId=br;exports.decodeReserveId=kr;exports.encodeHubId=Cr;exports.encodeReserveId=vr;exports.encodeSpokeId=_r;exports.graphql=e;exports.hubAssetId=Er;exports.hubId=ut;exports.isChainIdsVariant=Vr;exports.isHubInputVariant=Mr;exports.isSpokeInputVariant=Gr;exports.isTxHashInputVariant=Kr;exports.reserveId=Ur;exports.spokeId=mt;exports.swapId=Br;exports.swapQuoteId=Or;exports.tokenInfoId=Qr;exports.userBalanceId=$r;exports.userBorrowItemId=Nr;exports.userPositionId=Hr;exports.userSupplyItemId=Dr;//# sourceMappingURL=index.cjs.map
|
|
1371
1481
|
//# sourceMappingURL=index.cjs.map
|