@aave/graphql 1.0.0-next.24 → 1.0.0-next.26
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 +187 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +782 -47
- package/dist/index.d.ts +782 -47
- package/dist/index.js +187 -160
- 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 +52 -23
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Ie=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Ie||{}),Te=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Te||{}),ve=(P=>(P.LastDay="LAST_DAY",P.LastWeek="LAST_WEEK",P.LastMonth="LAST_MONTH",P.LastSixMonths="LAST_SIX_MONTHS",P.LastYear="LAST_YEAR",P.All="ALL",P))(ve||{}),ke=(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.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",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))(ke||{}),be=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(be||{}),Ee=(y=>(y.Borrow="BORROW",y.Supply="SUPPLY",y.Withdraw="WITHDRAW",y.Repay="REPAY",y.Liquidated="LIQUIDATED",y.SetAsCollateral="SET_AS_COLLATERAL",y.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",y.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",y.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",y.SupplySwap="SUPPLY_SWAP",y.BorrowSwap="BORROW_SWAP",y.RepayWithSupply="REPAY_WITH_SUPPLY",y.WithdrawSwap="WITHDRAW_SWAP",y))(Ee||{}),Ue=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Ue||{}),Ce=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ce||{}),Oe=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Oe||{}),_e=(R=>(R.Supply="SUPPLY",R.Borrow="BORROW",R.Collateral="COLLATERAL",R.All="ALL",R))(_e||{}),Be=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Be||{}),He=(r=>(r.Current="CURRENT",r.New="NEW",r))(He||{}),Qe=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(Qe||{}),$e=(r=>(r.Current="CURRENT",r.New="NEW",r))($e||{}),We=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(We||{}),Ne=(T=>(T.Cancelled="CANCELLED",T.Expired="EXPIRED",T.Fulfilled="FULFILLED",T.Open="OPEN",T.PendingSignature="PENDING_SIGNATURE",T))(Ne||{}),De=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(De||{}),Le=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(Le||{}),Me=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Me||{});var e=gql_tada.initGraphQLTada();var C=e(`fragment DomainData on DomainData {
|
|
2
2
|
name
|
|
3
3
|
version
|
|
4
4
|
chainId
|
|
5
5
|
verifyingContract
|
|
6
|
-
}`),
|
|
6
|
+
}`),c=e(`fragment DecimalNumber on DecimalNumber {
|
|
7
7
|
__typename
|
|
8
8
|
onChainValue
|
|
9
9
|
decimals
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
change(window: $timeWindow) {
|
|
23
23
|
...PercentNumber
|
|
24
24
|
}
|
|
25
|
-
}`,[
|
|
25
|
+
}`,[c,a]),u=e(`fragment ExchangeAmount on ExchangeAmount {
|
|
26
26
|
__typename
|
|
27
27
|
value
|
|
28
28
|
name
|
|
29
29
|
symbol
|
|
30
30
|
icon
|
|
31
31
|
decimals
|
|
32
|
-
}`),
|
|
32
|
+
}`),v=e(`fragment TokenInfo on TokenInfo {
|
|
33
33
|
__typename
|
|
34
34
|
id
|
|
35
35
|
name
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
nativeInfo {
|
|
53
53
|
...TokenInfo
|
|
54
54
|
}
|
|
55
|
-
}`,[
|
|
55
|
+
}`,[v]),l=e(`fragment Erc20Token on Erc20Token {
|
|
56
56
|
__typename
|
|
57
57
|
info {
|
|
58
58
|
...TokenInfo
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
...Chain
|
|
63
63
|
}
|
|
64
64
|
isWrappedNativeToken
|
|
65
|
-
}`,[
|
|
65
|
+
}`,[v,n]),Y=e(`fragment NativeToken on NativeToken {
|
|
66
66
|
__typename
|
|
67
67
|
info {
|
|
68
68
|
...TokenInfo
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
chain {
|
|
71
71
|
...Chain
|
|
72
72
|
}
|
|
73
|
-
}`,[
|
|
73
|
+
}`,[v,n]),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
|
-
}`,[c,
|
|
87
|
+
}`,[l,c,u]),W=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
|
-
}`,[Y,
|
|
101
|
+
}`,[Y,c,u]),k=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,W]),z=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
|
+
}`,[l,Y]),q=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
118
118
|
__typename
|
|
119
119
|
current {
|
|
120
120
|
...ExchangeAmount
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
change(window: $timeWindow){
|
|
131
131
|
...PercentNumber
|
|
132
132
|
}
|
|
133
|
-
}`,[a]),
|
|
133
|
+
}`,[a]),A=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
|
|
134
134
|
__typename
|
|
135
135
|
prev
|
|
136
136
|
next
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
change(window: $timeWindow) {
|
|
157
157
|
...PercentNumber
|
|
158
158
|
}
|
|
159
|
-
}`,[a]),
|
|
159
|
+
}`,[a]),Ke=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
160
160
|
__typename
|
|
161
161
|
current
|
|
162
162
|
after
|
|
163
|
-
}`),
|
|
163
|
+
}`),Ge=e(`fragment HealthFactorError on HealthFactorError {
|
|
164
164
|
__typename
|
|
165
165
|
reason
|
|
166
166
|
current
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
... on HealthFactorError {
|
|
174
174
|
...HealthFactorError
|
|
175
175
|
}
|
|
176
|
-
}`,[
|
|
176
|
+
}`,[Ke,Ge]),x=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
|
+
}`,[c]);var Ye=e(`fragment HubSummary on HubSummary {
|
|
185
185
|
__typename
|
|
186
186
|
totalBorrowed {
|
|
187
187
|
...ExchangeAmountWithChange
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
utilizationRate {
|
|
199
199
|
...PercentNumber
|
|
200
200
|
}
|
|
201
|
-
}`,[u,
|
|
201
|
+
}`,[u,q,a]),h=e(`fragment Hub on Hub {
|
|
202
202
|
__typename
|
|
203
203
|
id
|
|
204
204
|
name
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
summary(currency: $currency) {
|
|
210
210
|
...HubSummary
|
|
211
211
|
}
|
|
212
|
-
}`,[n,
|
|
212
|
+
}`,[n,Ye]);var ze=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
213
213
|
__typename
|
|
214
214
|
supplied {
|
|
215
215
|
...Erc20Amount
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
utilizationRate {
|
|
233
233
|
...PercentNumber
|
|
234
234
|
}
|
|
235
|
-
}`,[
|
|
235
|
+
}`,[p,a]),Ze=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
236
236
|
__typename
|
|
237
237
|
feeReceiver
|
|
238
238
|
liquidityFee {
|
|
@@ -240,12 +240,12 @@
|
|
|
240
240
|
}
|
|
241
241
|
irStrategy
|
|
242
242
|
reinvestmentController
|
|
243
|
-
}`,[a]),
|
|
243
|
+
}`,[a]),je=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
244
244
|
__typename
|
|
245
245
|
balance {
|
|
246
246
|
...Erc20Amount
|
|
247
247
|
}
|
|
248
|
-
}`,[
|
|
248
|
+
}`,[p]),b=e(`fragment HubAsset on HubAsset {
|
|
249
249
|
__typename
|
|
250
250
|
id
|
|
251
251
|
onchainAssetId
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
userState {
|
|
265
265
|
...HubAssetUserState
|
|
266
266
|
}
|
|
267
|
-
}`,[
|
|
267
|
+
}`,[h,l,ze,Ze,je]);var te=e(`fragment PermitTypedData on PermitTypedData {
|
|
268
268
|
__typename
|
|
269
269
|
types
|
|
270
270
|
primaryType
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
...DomainData
|
|
273
273
|
}
|
|
274
274
|
message
|
|
275
|
-
}`,[
|
|
275
|
+
}`,[C]);function yr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var i=e(`fragment Spoke on Spoke {
|
|
276
276
|
__typename
|
|
277
277
|
id
|
|
278
278
|
name
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
chain {
|
|
281
281
|
...Chain
|
|
282
282
|
}
|
|
283
|
-
}`,[n]),
|
|
283
|
+
}`,[n]),Je=e(`fragment SpokePositionManager on SpokePositionManger {
|
|
284
284
|
__typename
|
|
285
285
|
address
|
|
286
286
|
active
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
pageInfo {
|
|
294
294
|
...PaginatedResultInfo
|
|
295
295
|
}
|
|
296
|
-
}`,[
|
|
296
|
+
}`,[Je,A]),Xe=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
297
297
|
__typename
|
|
298
298
|
address
|
|
299
299
|
approvedOn
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
pageInfo {
|
|
308
308
|
...PaginatedResultInfo
|
|
309
309
|
}
|
|
310
|
-
}`,[
|
|
310
|
+
}`,[Xe,A]);var et=e(`fragment ReserveSettings on ReserveSettings {
|
|
311
311
|
__typename
|
|
312
312
|
collateralFactor {
|
|
313
313
|
...PercentNumber
|
|
@@ -325,12 +325,12 @@
|
|
|
325
325
|
collateral
|
|
326
326
|
suppliable
|
|
327
327
|
latestDynamicConfigKey
|
|
328
|
-
}`,[a]),
|
|
328
|
+
}`,[a]),tt=e(`fragment ReserveStatus on ReserveStatus {
|
|
329
329
|
__typename
|
|
330
330
|
frozen
|
|
331
331
|
paused
|
|
332
332
|
active
|
|
333
|
-
}`),
|
|
333
|
+
}`),rt=e(`fragment ReserveSummary on ReserveSummary {
|
|
334
334
|
__typename
|
|
335
335
|
supplied {
|
|
336
336
|
...Erc20Amount
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
borrowApy {
|
|
345
345
|
...PercentNumber
|
|
346
346
|
}
|
|
347
|
-
}`,[
|
|
347
|
+
}`,[p,a]),at=e(`fragment ReserveUserState on ReserveUserState {
|
|
348
348
|
__typename
|
|
349
349
|
balance {
|
|
350
350
|
...Erc20Amount
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
...PercentNumber
|
|
369
369
|
}
|
|
370
370
|
dynamicConfigKey
|
|
371
|
-
}`,[
|
|
371
|
+
}`,[p,a]),F=e(`fragment Reserve on Reserve {
|
|
372
372
|
__typename
|
|
373
373
|
id
|
|
374
374
|
onChainId
|
|
@@ -392,13 +392,14 @@
|
|
|
392
392
|
canBorrow
|
|
393
393
|
canSupply
|
|
394
394
|
canUseAsCollateral
|
|
395
|
+
canSwapFrom
|
|
395
396
|
userState {
|
|
396
397
|
...ReserveUserState
|
|
397
398
|
}
|
|
398
399
|
asset {
|
|
399
400
|
...HubAsset
|
|
400
401
|
}
|
|
401
|
-
}`,[i,n,
|
|
402
|
+
}`,[i,n,rt,et,tt,at,b]),S=e(`fragment ReserveInfo on ReserveInfo {
|
|
402
403
|
__typename
|
|
403
404
|
id
|
|
404
405
|
asset {
|
|
@@ -412,7 +413,7 @@
|
|
|
412
413
|
value
|
|
413
414
|
chainId
|
|
414
415
|
operations
|
|
415
|
-
}`)
|
|
416
|
+
}`),N=e(`fragment Erc20Approval on Erc20Approval {
|
|
416
417
|
__typename
|
|
417
418
|
byTransaction {
|
|
418
419
|
...TransactionRequest
|
|
@@ -420,9 +421,9 @@
|
|
|
420
421
|
bySignature {
|
|
421
422
|
...PermitTypedData
|
|
422
423
|
}
|
|
423
|
-
}`,[m,te]),
|
|
424
|
+
}`,[m,te]),D=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
424
425
|
__typename
|
|
425
|
-
|
|
426
|
+
approvals {
|
|
426
427
|
...Erc20Approval
|
|
427
428
|
}
|
|
428
429
|
reason
|
|
@@ -435,7 +436,7 @@
|
|
|
435
436
|
originalTransaction {
|
|
436
437
|
...TransactionRequest
|
|
437
438
|
}
|
|
438
|
-
}`,[m
|
|
439
|
+
}`,[m,N,c]),nt=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
439
440
|
__typename
|
|
440
441
|
transaction {
|
|
441
442
|
...TransactionRequest
|
|
@@ -444,7 +445,7 @@
|
|
|
444
445
|
originalTransaction {
|
|
445
446
|
...TransactionRequest
|
|
446
447
|
}
|
|
447
|
-
}`,[m]),
|
|
448
|
+
}`,[m]),E=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
448
449
|
__typename
|
|
449
450
|
... on TransactionRequest {
|
|
450
451
|
...TransactionRequest
|
|
@@ -458,7 +459,7 @@
|
|
|
458
459
|
... on InsufficientBalanceError {
|
|
459
460
|
...InsufficientBalanceError
|
|
460
461
|
}
|
|
461
|
-
}`,[m,
|
|
462
|
+
}`,[m,D,nt,x]);var ot=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
462
463
|
__typename
|
|
463
464
|
networkCosts {
|
|
464
465
|
...TokenAmount
|
|
@@ -472,13 +473,16 @@
|
|
|
472
473
|
providerFee {
|
|
473
474
|
...TokenAmount
|
|
474
475
|
}
|
|
475
|
-
}`,[
|
|
476
|
+
}`,[k]),O=e(`fragment SwapQuote on SwapQuote {
|
|
476
477
|
__typename
|
|
477
478
|
accuracy
|
|
478
479
|
quoteId
|
|
479
480
|
suggestedSlippage {
|
|
480
481
|
...PercentNumber
|
|
481
482
|
}
|
|
483
|
+
selectedSlippage {
|
|
484
|
+
...PercentNumber
|
|
485
|
+
}
|
|
482
486
|
buy {
|
|
483
487
|
...TokenAmount
|
|
484
488
|
}
|
|
@@ -494,7 +498,7 @@
|
|
|
494
498
|
finalSell {
|
|
495
499
|
...TokenAmount
|
|
496
500
|
}
|
|
497
|
-
}`,[a,
|
|
501
|
+
}`,[a,k,ot]),_=e(`fragment SwapTypedData on SwapTypedData {
|
|
498
502
|
__typename
|
|
499
503
|
primaryType
|
|
500
504
|
types
|
|
@@ -502,32 +506,32 @@
|
|
|
502
506
|
...DomainData
|
|
503
507
|
}
|
|
504
508
|
message
|
|
505
|
-
}`,[
|
|
509
|
+
}`,[C]),ne=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
506
510
|
__typename
|
|
507
511
|
newQuoteId
|
|
508
512
|
data {
|
|
509
513
|
...SwapTypedData
|
|
510
514
|
}
|
|
511
|
-
}`,[
|
|
515
|
+
}`,[_]),pt=e(`fragment SwapByIntent on SwapByIntent {
|
|
512
516
|
__typename
|
|
513
517
|
quote {
|
|
514
518
|
...SwapQuote
|
|
515
519
|
}
|
|
516
520
|
|
|
517
|
-
}`,[
|
|
521
|
+
}`,[O]),st=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
518
522
|
__typename
|
|
519
|
-
|
|
523
|
+
approvals {
|
|
520
524
|
...Erc20Approval
|
|
521
525
|
}
|
|
522
526
|
quote {
|
|
523
527
|
...SwapQuote
|
|
524
528
|
}
|
|
525
|
-
}`,[
|
|
529
|
+
}`,[N,O]),ut=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
526
530
|
__typename
|
|
527
531
|
quote {
|
|
528
532
|
...SwapQuote
|
|
529
533
|
}
|
|
530
|
-
}`,[
|
|
534
|
+
}`,[O]),oe=e(`fragment SwapReceipt on SwapReceipt {
|
|
531
535
|
__typename
|
|
532
536
|
id
|
|
533
537
|
explorerUrl
|
|
@@ -543,7 +547,7 @@
|
|
|
543
547
|
... on SwapByTransaction {
|
|
544
548
|
...SwapByTransaction
|
|
545
549
|
}
|
|
546
|
-
}`,[
|
|
550
|
+
}`,[pt,st,ut]),se=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
547
551
|
__typename
|
|
548
552
|
... on PrepareSwapOrder {
|
|
549
553
|
...PrepareSwapOrder
|
|
@@ -551,7 +555,7 @@
|
|
|
551
555
|
... on InsufficientBalanceError {
|
|
552
556
|
...InsufficientBalanceError
|
|
553
557
|
}
|
|
554
|
-
}`,[ne,
|
|
558
|
+
}`,[ne,x]),it=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
555
559
|
__typename
|
|
556
560
|
transaction {
|
|
557
561
|
...TransactionRequest
|
|
@@ -570,19 +574,19 @@
|
|
|
570
574
|
... on InsufficientBalanceError {
|
|
571
575
|
...InsufficientBalanceError
|
|
572
576
|
}
|
|
573
|
-
}`,[
|
|
577
|
+
}`,[it,oe,x]),ie=e(`fragment SwapCancelled on SwapCancelled {
|
|
574
578
|
__typename
|
|
575
579
|
swapId
|
|
576
580
|
createdAt
|
|
577
581
|
cancelledAt
|
|
578
582
|
explorerUrl
|
|
579
|
-
}`),
|
|
583
|
+
}`),mt=e(`fragment SwapExpired on SwapExpired {
|
|
580
584
|
__typename
|
|
581
585
|
swapId
|
|
582
586
|
createdAt
|
|
583
587
|
expiredAt
|
|
584
588
|
explorerUrl
|
|
585
|
-
}`),
|
|
589
|
+
}`),yt=e(`fragment PositionAmount on PositionAmount {
|
|
586
590
|
__typename
|
|
587
591
|
reserve {
|
|
588
592
|
...ReserveInfo
|
|
@@ -590,7 +594,7 @@
|
|
|
590
594
|
amount {
|
|
591
595
|
...Erc20Amount
|
|
592
596
|
}
|
|
593
|
-
}`,[S,
|
|
597
|
+
}`,[S,p]),w=e(`fragment SwapAmount on SwapAmount {
|
|
594
598
|
__typename
|
|
595
599
|
... on PositionAmount {
|
|
596
600
|
...PositionAmount
|
|
@@ -601,7 +605,7 @@
|
|
|
601
605
|
... on Erc20Amount {
|
|
602
606
|
...Erc20Amount
|
|
603
607
|
}
|
|
604
|
-
}`,[
|
|
608
|
+
}`,[yt,W,p]),ct=e(`fragment SwapOpen on SwapOpen {
|
|
605
609
|
__typename
|
|
606
610
|
swapId
|
|
607
611
|
createdAt
|
|
@@ -613,13 +617,13 @@
|
|
|
613
617
|
desiredBuy {
|
|
614
618
|
...SwapAmount
|
|
615
619
|
}
|
|
616
|
-
}`,[
|
|
620
|
+
}`,[w]),lt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
617
621
|
__typename
|
|
618
622
|
swapId
|
|
619
623
|
createdAt
|
|
620
624
|
deadline
|
|
621
625
|
explorerUrl
|
|
622
|
-
}`),
|
|
626
|
+
}`),gt=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
623
627
|
__typename
|
|
624
628
|
swapId
|
|
625
629
|
txHash
|
|
@@ -639,7 +643,7 @@
|
|
|
639
643
|
fulfilledAt
|
|
640
644
|
explorerUrl
|
|
641
645
|
refundTxHash
|
|
642
|
-
}`,[
|
|
646
|
+
}`,[w]),L=e(`fragment SwapStatus on SwapStatus {
|
|
643
647
|
__typename
|
|
644
648
|
... on SwapOpen {
|
|
645
649
|
...SwapOpen
|
|
@@ -656,12 +660,12 @@
|
|
|
656
660
|
... on SwapFulfilled {
|
|
657
661
|
...SwapFulfilled
|
|
658
662
|
}
|
|
659
|
-
}`,[
|
|
663
|
+
}`,[ct,lt,ie,mt,gt]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
660
664
|
__typename
|
|
661
665
|
data {
|
|
662
666
|
...SwapTypedData
|
|
663
667
|
}
|
|
664
|
-
}`,[
|
|
668
|
+
}`,[_]),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
665
669
|
__typename
|
|
666
670
|
... on TransactionRequest {
|
|
667
671
|
...TransactionRequest
|
|
@@ -677,12 +681,12 @@
|
|
|
677
681
|
pageInfo {
|
|
678
682
|
...PaginatedResultInfo
|
|
679
683
|
}
|
|
680
|
-
}`,[
|
|
684
|
+
}`,[L,A]),St=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
681
685
|
__typename
|
|
682
686
|
bySignature {
|
|
683
687
|
...SwapTypedData
|
|
684
688
|
}
|
|
685
|
-
}`,[
|
|
689
|
+
}`,[_]),dt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
686
690
|
__typename
|
|
687
691
|
byTransaction {
|
|
688
692
|
...TransactionRequest
|
|
@@ -690,7 +694,7 @@
|
|
|
690
694
|
bySignature {
|
|
691
695
|
...SwapTypedData
|
|
692
696
|
}
|
|
693
|
-
}`,[m,
|
|
697
|
+
}`,[m,_]),ft=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
694
698
|
__typename
|
|
695
699
|
... on PositionSwapAdapterContractApproval {
|
|
696
700
|
...PositionSwapAdapterContractApproval
|
|
@@ -698,7 +702,7 @@
|
|
|
698
702
|
... on PositionSwapPositionManagerApproval {
|
|
699
703
|
...PositionSwapPositionManagerApproval
|
|
700
704
|
}
|
|
701
|
-
}`,[
|
|
705
|
+
}`,[St,dt]),B=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
702
706
|
__typename
|
|
703
707
|
quote {
|
|
704
708
|
...SwapQuote
|
|
@@ -706,27 +710,27 @@
|
|
|
706
710
|
approvals {
|
|
707
711
|
...PositionSwapApproval
|
|
708
712
|
}
|
|
709
|
-
}`,[
|
|
713
|
+
}`,[O,ft]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
710
714
|
__typename
|
|
711
715
|
... on PositionSwapByIntentApprovalsRequired {
|
|
712
716
|
...PositionSwapByIntentApprovalsRequired
|
|
713
717
|
}
|
|
714
|
-
}`,[
|
|
718
|
+
}`,[B]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
715
719
|
__typename
|
|
716
720
|
... on PositionSwapByIntentApprovalsRequired {
|
|
717
721
|
...PositionSwapByIntentApprovalsRequired
|
|
718
722
|
}
|
|
719
|
-
}`,[
|
|
723
|
+
}`,[B]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
720
724
|
__typename
|
|
721
725
|
... on PositionSwapByIntentApprovalsRequired {
|
|
722
726
|
...PositionSwapByIntentApprovalsRequired
|
|
723
727
|
}
|
|
724
|
-
}`,[
|
|
728
|
+
}`,[B]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
725
729
|
__typename
|
|
726
730
|
... on PositionSwapByIntentApprovalsRequired {
|
|
727
731
|
...PositionSwapByIntentApprovalsRequired
|
|
728
732
|
}
|
|
729
|
-
}`,[
|
|
733
|
+
}`,[B]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
730
734
|
__typename
|
|
731
735
|
... on PrepareSwapOrder {
|
|
732
736
|
...PrepareSwapOrder
|
|
@@ -734,7 +738,7 @@
|
|
|
734
738
|
... on InsufficientBalanceError {
|
|
735
739
|
...InsufficientBalanceError
|
|
736
740
|
}
|
|
737
|
-
}`,[ne,
|
|
741
|
+
}`,[ne,x]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
738
742
|
__typename
|
|
739
743
|
id
|
|
740
744
|
reserve {
|
|
@@ -751,7 +755,7 @@
|
|
|
751
755
|
}
|
|
752
756
|
isCollateral
|
|
753
757
|
createdAt
|
|
754
|
-
}`,[
|
|
758
|
+
}`,[p,F]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
755
759
|
__typename
|
|
756
760
|
id
|
|
757
761
|
principal {
|
|
@@ -767,7 +771,7 @@
|
|
|
767
771
|
...Reserve
|
|
768
772
|
}
|
|
769
773
|
createdAt
|
|
770
|
-
}`,[
|
|
774
|
+
}`,[p,F]),xe=e(`fragment UserSummary on UserSummary {
|
|
771
775
|
__typename
|
|
772
776
|
totalPositions
|
|
773
777
|
netBalance(currency: $currency) {
|
|
@@ -789,7 +793,7 @@
|
|
|
789
793
|
...ExchangeAmount
|
|
790
794
|
}
|
|
791
795
|
lowestHealthFactor
|
|
792
|
-
}`,[
|
|
796
|
+
}`,[q,u,a]),M=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
793
797
|
__typename
|
|
794
798
|
token {
|
|
795
799
|
...Erc20Token
|
|
@@ -803,7 +807,7 @@
|
|
|
803
807
|
collateral {
|
|
804
808
|
...PercentNumber
|
|
805
809
|
}
|
|
806
|
-
}`,[
|
|
810
|
+
}`,[l,a]),Rt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
807
811
|
__typename
|
|
808
812
|
current {
|
|
809
813
|
...PercentNumber
|
|
@@ -814,7 +818,7 @@
|
|
|
814
818
|
breakdown {
|
|
815
819
|
...UserRiskPremiumBreakdownItem
|
|
816
820
|
}
|
|
817
|
-
}`,[a,
|
|
821
|
+
}`,[a,M]),V=e(`fragment UserPosition on UserPosition {
|
|
818
822
|
__typename
|
|
819
823
|
id
|
|
820
824
|
spoke {
|
|
@@ -868,7 +872,7 @@
|
|
|
868
872
|
averageCollateralFactor {
|
|
869
873
|
...PercentNumber
|
|
870
874
|
}
|
|
871
|
-
}`,[i,a,
|
|
875
|
+
}`,[i,a,q,u,Z,X,Rt]),we=e(`fragment UserBalance on UserBalance {
|
|
872
876
|
__typename
|
|
873
877
|
id
|
|
874
878
|
info {
|
|
@@ -901,7 +905,7 @@
|
|
|
901
905
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
902
906
|
...PercentNumber
|
|
903
907
|
}
|
|
904
|
-
}`,[
|
|
908
|
+
}`,[v,c,k,u,a]),Ae=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
905
909
|
__typename
|
|
906
910
|
netBalance(currency: $currency) {
|
|
907
911
|
...ExchangeAmount
|
|
@@ -914,25 +918,25 @@
|
|
|
914
918
|
}
|
|
915
919
|
healthFactor
|
|
916
920
|
date
|
|
917
|
-
}`,[u]),
|
|
921
|
+
}`,[u]),K=e(`fragment ApySample on ApySample {
|
|
918
922
|
__typename
|
|
919
923
|
date
|
|
920
924
|
avgRate {
|
|
921
925
|
...PercentNumber
|
|
922
926
|
}
|
|
923
|
-
}`,[a]);var
|
|
927
|
+
}`,[a]);var Qr=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
924
928
|
value: hub(request: $request) {
|
|
925
929
|
...Hub
|
|
926
930
|
}
|
|
927
|
-
}`,[
|
|
931
|
+
}`,[h]),$r=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
928
932
|
value: hubs(request: $request) {
|
|
929
933
|
...Hub
|
|
930
934
|
}
|
|
931
|
-
}`,[
|
|
935
|
+
}`,[h]),Wr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
932
936
|
value: hubAssets(request: $request) {
|
|
933
937
|
...HubAsset
|
|
934
938
|
}
|
|
935
|
-
}`,[b]),
|
|
939
|
+
}`,[b]),qt=e(`fragment HubSummarySample on HubSummarySample {
|
|
936
940
|
__typename
|
|
937
941
|
date
|
|
938
942
|
deposits {
|
|
@@ -947,31 +951,42 @@
|
|
|
947
951
|
utilizationRate {
|
|
948
952
|
...PercentNumber
|
|
949
953
|
}
|
|
950
|
-
}`,[u,a]),
|
|
954
|
+
}`,[u,a]),Nr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
951
955
|
value: hubSummaryHistory(request: $request) {
|
|
952
956
|
...HubSummarySample
|
|
953
957
|
}
|
|
954
|
-
}`,[
|
|
958
|
+
}`,[qt]);function Q(t){return new TextDecoder().decode(Uint8Array.from(atob(t),f=>f.charCodeAt(0)))}function $(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Mr(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 xt(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 Vr(t){return xt($(`${t.chainId}${d}${t.address}`))}function Kr(t){let f=Q(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Gr(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 Yr(t){return t}function zr(t){let f=Q(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:R}}function Zr(t){return $(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function wt(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 jr(t){let f=Q(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(R)}}function Jr(t){return wt($(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function Xr(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function ea(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function ta(t){return At($(`${t.chainId}${d}${t.address}`))}function ra(t){let f=Q(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function At(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 aa(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 na(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 oa(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 pa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function ia(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function ma(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function ya(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function ca(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function la(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function ga(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ra=e(`query Chain($request: ChainRequest!) {
|
|
955
959
|
value: chain(request: $request) {
|
|
956
960
|
...Chain
|
|
957
961
|
}
|
|
958
|
-
}`,[n]),
|
|
962
|
+
}`,[n]),qa=e(`query Chains($request: ChainsRequest!) {
|
|
959
963
|
value: chains(request: $request) {
|
|
960
964
|
...Chain
|
|
961
965
|
}
|
|
962
|
-
}`,[n]),
|
|
966
|
+
}`,[n]),xa=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
963
967
|
value: hasProcessedKnownTransaction(request: $request)
|
|
964
|
-
}`),
|
|
968
|
+
}`),wa=e(`query Health {
|
|
965
969
|
value: health
|
|
966
|
-
}`),
|
|
970
|
+
}`),Aa=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
967
971
|
value: exchangeRate(request: $request) {
|
|
968
972
|
...ExchangeAmount
|
|
969
973
|
}
|
|
970
|
-
}`,[u]);var
|
|
974
|
+
}`,[u]);var ht=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
971
975
|
__typename
|
|
972
976
|
date
|
|
973
977
|
price
|
|
974
|
-
}`),
|
|
978
|
+
}`),Pe=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
|
|
979
|
+
__typename
|
|
980
|
+
amount {
|
|
981
|
+
...DecimalNumber
|
|
982
|
+
}
|
|
983
|
+
apy {
|
|
984
|
+
...PercentNumber
|
|
985
|
+
}
|
|
986
|
+
hub {
|
|
987
|
+
...Hub
|
|
988
|
+
}
|
|
989
|
+
}`,[c,a,h]),Pt=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
975
990
|
__typename
|
|
976
991
|
date
|
|
977
992
|
amount {
|
|
@@ -983,7 +998,13 @@
|
|
|
983
998
|
lowestApy {
|
|
984
999
|
...PercentNumber
|
|
985
1000
|
}
|
|
986
|
-
|
|
1001
|
+
averageApy {
|
|
1002
|
+
...PercentNumber
|
|
1003
|
+
}
|
|
1004
|
+
breakdown {
|
|
1005
|
+
...AssetSampleBreakdown
|
|
1006
|
+
}
|
|
1007
|
+
}`,[c,a,Pe]),Ft=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
987
1008
|
__typename
|
|
988
1009
|
date
|
|
989
1010
|
amount {
|
|
@@ -995,7 +1016,13 @@
|
|
|
995
1016
|
lowestApy {
|
|
996
1017
|
...PercentNumber
|
|
997
1018
|
}
|
|
998
|
-
|
|
1019
|
+
averageApy {
|
|
1020
|
+
...PercentNumber
|
|
1021
|
+
}
|
|
1022
|
+
breakdown {
|
|
1023
|
+
...AssetSampleBreakdown
|
|
1024
|
+
}
|
|
1025
|
+
}`,[c,a,Pe]),It=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
999
1026
|
__typename
|
|
1000
1027
|
amount {
|
|
1001
1028
|
...DecimalNumberWithChange
|
|
@@ -1003,7 +1030,7 @@
|
|
|
1003
1030
|
exchange(currency: $currency) {
|
|
1004
1031
|
...ExchangeAmountWithChange
|
|
1005
1032
|
}
|
|
1006
|
-
}`,[G,
|
|
1033
|
+
}`,[G,q]),Tt=e(`fragment AssetSummary on AssetSummary {
|
|
1007
1034
|
__typename
|
|
1008
1035
|
totalSupplyCap {
|
|
1009
1036
|
...AssetAmountWithChange
|
|
@@ -1029,7 +1056,7 @@
|
|
|
1029
1056
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1030
1057
|
...PercentNumber
|
|
1031
1058
|
}
|
|
1032
|
-
}`,[
|
|
1059
|
+
}`,[It,a]),vt=e(`fragment Asset on Asset {
|
|
1033
1060
|
__typename
|
|
1034
1061
|
id
|
|
1035
1062
|
token {
|
|
@@ -1041,23 +1068,23 @@
|
|
|
1041
1068
|
price(currency: $currency) {
|
|
1042
1069
|
...ExchangeAmountWithChange
|
|
1043
1070
|
}
|
|
1044
|
-
}`,[
|
|
1071
|
+
}`,[l,Tt,q]),Ia=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1045
1072
|
value: asset(request: $request) {
|
|
1046
1073
|
...Asset
|
|
1047
1074
|
}
|
|
1048
|
-
}`,[
|
|
1075
|
+
}`,[vt]),Ta=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1049
1076
|
value: assetPriceHistory(request: $request) {
|
|
1050
1077
|
...AssetPriceSample
|
|
1051
1078
|
}
|
|
1052
|
-
}`,[
|
|
1079
|
+
}`,[ht]),va=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1053
1080
|
value: assetSupplyHistory(request: $request) {
|
|
1054
1081
|
...AssetSupplySample
|
|
1055
1082
|
}
|
|
1056
|
-
}`,[
|
|
1083
|
+
}`,[Pt]),ka=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1057
1084
|
value: assetBorrowHistory(request: $request) {
|
|
1058
1085
|
...AssetBorrowSample
|
|
1059
1086
|
}
|
|
1060
|
-
}`,[
|
|
1087
|
+
}`,[Ft]),kt=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1061
1088
|
__typename
|
|
1062
1089
|
date
|
|
1063
1090
|
deposits {
|
|
@@ -1066,111 +1093,111 @@
|
|
|
1066
1093
|
borrows {
|
|
1067
1094
|
...ExchangeAmount
|
|
1068
1095
|
}
|
|
1069
|
-
}`,[u]),
|
|
1096
|
+
}`,[u]),ba=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1070
1097
|
value: protocolHistory(request: $request) {
|
|
1071
1098
|
...ProtocolHistorySample
|
|
1072
1099
|
}
|
|
1073
|
-
}`,[
|
|
1100
|
+
}`,[kt]);var Oa=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1074
1101
|
value: borrowApyHistory(request: $request) {
|
|
1075
1102
|
...ApySample
|
|
1076
1103
|
}
|
|
1077
|
-
}`,[
|
|
1104
|
+
}`,[K]),_a=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1078
1105
|
value: supplyApyHistory(request: $request) {
|
|
1079
1106
|
...ApySample
|
|
1080
1107
|
}
|
|
1081
|
-
}`,[
|
|
1108
|
+
}`,[K]),Ba=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1082
1109
|
value: reserve(request: $request) {
|
|
1083
1110
|
...Reserve
|
|
1084
1111
|
}
|
|
1085
|
-
}`,[
|
|
1112
|
+
}`,[F]),Ha=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1086
1113
|
value: reserves(request: $request) {
|
|
1087
1114
|
...Reserve
|
|
1088
1115
|
}
|
|
1089
|
-
}`,[
|
|
1116
|
+
}`,[F]);var Na=e(`query Spoke($request: SpokeRequest!) {
|
|
1090
1117
|
value: spoke(request: $request) {
|
|
1091
1118
|
...Spoke
|
|
1092
1119
|
}
|
|
1093
|
-
}`,[i]),
|
|
1120
|
+
}`,[i]),Da=e(`query Spokes($request: SpokesRequest!) {
|
|
1094
1121
|
value: spokes(request: $request) {
|
|
1095
1122
|
...Spoke
|
|
1096
1123
|
}
|
|
1097
|
-
}`,[i])
|
|
1124
|
+
}`,[i]),La=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1098
1125
|
value: spokePositionManagers(request: $request) {
|
|
1099
1126
|
...PaginatedSpokePositionManagerResult
|
|
1100
1127
|
}
|
|
1101
|
-
}`,[re]),
|
|
1128
|
+
}`,[re]),Ma=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1102
1129
|
value: spokeUserPositionManagers(request: $request) {
|
|
1103
1130
|
...PaginatedSpokeUserPositionManagerResult
|
|
1104
1131
|
}
|
|
1105
|
-
}`,[ae]);var
|
|
1132
|
+
}`,[ae]);var Ya=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1106
1133
|
value: tokenSwapQuote(request: $request) {
|
|
1107
1134
|
...TokenSwapQuoteResult
|
|
1108
1135
|
}
|
|
1109
|
-
}`,[pe]),
|
|
1136
|
+
}`,[pe]),za=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1110
1137
|
value: swappableTokens(request: $request) {
|
|
1111
1138
|
...Token
|
|
1112
1139
|
}
|
|
1113
|
-
}`,[z]),
|
|
1140
|
+
}`,[z]),Za=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1114
1141
|
value: prepareTokenSwap(request: $request) {
|
|
1115
1142
|
...PrepareTokenSwapResult
|
|
1116
1143
|
}
|
|
1117
|
-
}`,[se]),
|
|
1144
|
+
}`,[se]),ja=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1118
1145
|
value: swapStatus(request: $request) {
|
|
1119
1146
|
...SwapStatus
|
|
1120
1147
|
}
|
|
1121
|
-
}`,[
|
|
1148
|
+
}`,[L]),Ja=e(`mutation Swap($request: SwapRequest!) {
|
|
1122
1149
|
value: swap(request: $request) {
|
|
1123
1150
|
...SwapExecutionPlan
|
|
1124
1151
|
}
|
|
1125
|
-
}`,[ue]),
|
|
1152
|
+
}`,[ue]),Xa=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1126
1153
|
value: prepareSwapCancel(request: $request) {
|
|
1127
1154
|
...PrepareSwapCancelResult
|
|
1128
1155
|
}
|
|
1129
|
-
}`,[me]),
|
|
1156
|
+
}`,[me]),en=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1130
1157
|
value: cancelSwap(request: $request) {
|
|
1131
1158
|
...CancelSwapExecutionPlan
|
|
1132
1159
|
}
|
|
1133
|
-
}`,[ye]),
|
|
1160
|
+
}`,[ye]),tn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1134
1161
|
value: userSwaps(request: $request) {
|
|
1135
1162
|
...PaginatedUserSwapsResult
|
|
1136
1163
|
}
|
|
1137
|
-
}`,[ce]),
|
|
1164
|
+
}`,[ce]),rn=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1138
1165
|
value: supplySwapQuote(request: $request) {
|
|
1139
1166
|
...SupplySwapQuoteResult
|
|
1140
1167
|
}
|
|
1141
|
-
}`,[le]),
|
|
1168
|
+
}`,[le]),an=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1142
1169
|
value: borrowSwapQuote(request: $request) {
|
|
1143
1170
|
...BorrowSwapQuoteResult
|
|
1144
1171
|
}
|
|
1145
|
-
}`,[ge]),
|
|
1172
|
+
}`,[ge]),nn=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1146
1173
|
value: repayWithSupplyQuote(request: $request) {
|
|
1147
1174
|
...RepayWithSupplyQuoteResult
|
|
1148
1175
|
}
|
|
1149
|
-
}`,[Se]),
|
|
1176
|
+
}`,[Se]),on=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1150
1177
|
value: withdrawSwapQuote(request: $request) {
|
|
1151
1178
|
...WithdrawSwapQuoteResult
|
|
1152
1179
|
}
|
|
1153
|
-
}`,[de]),
|
|
1180
|
+
}`,[de]),pn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1154
1181
|
value: preparePositionSwap(request: $request) {
|
|
1155
1182
|
...PreparePositionSwapResult
|
|
1156
1183
|
}
|
|
1157
|
-
}`,[fe]);var
|
|
1184
|
+
}`,[fe]);var yn=e(`query Borrow($request: BorrowRequest!) {
|
|
1158
1185
|
value: borrow(request: $request) {
|
|
1159
1186
|
...ExecutionPlan
|
|
1160
1187
|
}
|
|
1161
|
-
}`,[
|
|
1188
|
+
}`,[E]),cn=e(`query Supply($request: SupplyRequest!) {
|
|
1162
1189
|
value: supply(request: $request) {
|
|
1163
1190
|
...ExecutionPlan
|
|
1164
1191
|
}
|
|
1165
|
-
}`,[
|
|
1192
|
+
}`,[E]),ln=e(`query Repay($request: RepayRequest!) {
|
|
1166
1193
|
value: repay(request: $request) {
|
|
1167
1194
|
...ExecutionPlan
|
|
1168
1195
|
}
|
|
1169
|
-
}`,[
|
|
1196
|
+
}`,[E]),gn=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1170
1197
|
value: withdraw(request: $request) {
|
|
1171
1198
|
...ExecutionPlan
|
|
1172
1199
|
}
|
|
1173
|
-
}`,[
|
|
1200
|
+
}`,[E]),bt=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1174
1201
|
__typename
|
|
1175
1202
|
... on TransactionRequest {
|
|
1176
1203
|
...TransactionRequest
|
|
@@ -1181,27 +1208,27 @@
|
|
|
1181
1208
|
... on InsufficientBalanceError {
|
|
1182
1209
|
...InsufficientBalanceError
|
|
1183
1210
|
}
|
|
1184
|
-
}`,[m,
|
|
1211
|
+
}`,[m,D,x]),Sn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1185
1212
|
value: liquidatePosition(request: $request) {
|
|
1186
1213
|
...LiquidatePositionExecutionPlan
|
|
1187
1214
|
}
|
|
1188
|
-
}`,[bt]),
|
|
1215
|
+
}`,[bt]),dn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1189
1216
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1190
1217
|
...TransactionRequest
|
|
1191
1218
|
}
|
|
1192
|
-
}`,[m]),
|
|
1219
|
+
}`,[m]),fn=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1193
1220
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1194
1221
|
...TransactionRequest
|
|
1195
1222
|
}
|
|
1196
|
-
}`,[m]),
|
|
1223
|
+
}`,[m]),Rn=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1197
1224
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1198
1225
|
...TransactionRequest
|
|
1199
1226
|
}
|
|
1200
|
-
}`,[m]),
|
|
1227
|
+
}`,[m]),qn=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1201
1228
|
value: updateUserPositionConditions(request: $request) {
|
|
1202
1229
|
...TransactionRequest
|
|
1203
1230
|
}
|
|
1204
|
-
}`,[m]),
|
|
1231
|
+
}`,[m]),Et=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1205
1232
|
__typename
|
|
1206
1233
|
reserveId
|
|
1207
1234
|
token {
|
|
@@ -1213,7 +1240,7 @@
|
|
|
1213
1240
|
after {
|
|
1214
1241
|
...PercentNumber
|
|
1215
1242
|
}
|
|
1216
|
-
}`,[
|
|
1243
|
+
}`,[l,a]),Ut=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1217
1244
|
__typename
|
|
1218
1245
|
reserveId
|
|
1219
1246
|
token {
|
|
@@ -1225,7 +1252,7 @@
|
|
|
1225
1252
|
after {
|
|
1226
1253
|
...PercentNumber
|
|
1227
1254
|
}
|
|
1228
|
-
}`,[
|
|
1255
|
+
}`,[l,a]),Ct=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1229
1256
|
__typename
|
|
1230
1257
|
reserveId
|
|
1231
1258
|
token {
|
|
@@ -1237,7 +1264,7 @@
|
|
|
1237
1264
|
after {
|
|
1238
1265
|
...PercentNumber
|
|
1239
1266
|
}
|
|
1240
|
-
}`,[
|
|
1267
|
+
}`,[l,a]),Ot=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1241
1268
|
__typename
|
|
1242
1269
|
... on CollateralFactorVariation {
|
|
1243
1270
|
...CollateralFactorVariation
|
|
@@ -1248,7 +1275,7 @@
|
|
|
1248
1275
|
... on MaxLiquidationBonusVariation {
|
|
1249
1276
|
...MaxLiquidationBonusVariation
|
|
1250
1277
|
}
|
|
1251
|
-
}`,[
|
|
1278
|
+
}`,[Et,Ut,Ct]),_t=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1252
1279
|
__typename
|
|
1253
1280
|
id
|
|
1254
1281
|
healthFactor {
|
|
@@ -1275,11 +1302,11 @@
|
|
|
1275
1302
|
otherConditions {
|
|
1276
1303
|
...UserPositionConditionVariation
|
|
1277
1304
|
}
|
|
1278
|
-
}`,[ee,j,J,
|
|
1305
|
+
}`,[ee,j,J,Ot]),xn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
|
|
1279
1306
|
value: preview(request: $request) {
|
|
1280
1307
|
...PreviewUserPosition
|
|
1281
1308
|
}
|
|
1282
|
-
}`,[
|
|
1309
|
+
}`,[_t]),Fe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1283
1310
|
__typename
|
|
1284
1311
|
before {
|
|
1285
1312
|
...PercentNumber
|
|
@@ -1287,7 +1314,7 @@
|
|
|
1287
1314
|
after {
|
|
1288
1315
|
...PercentNumber
|
|
1289
1316
|
}
|
|
1290
|
-
}`,[a]),
|
|
1317
|
+
}`,[a]),Bt=e(`fragment BorrowActivity on BorrowActivity {
|
|
1291
1318
|
__typename
|
|
1292
1319
|
id
|
|
1293
1320
|
user
|
|
@@ -1305,7 +1332,7 @@
|
|
|
1305
1332
|
chain {
|
|
1306
1333
|
...Chain
|
|
1307
1334
|
}
|
|
1308
|
-
}`,[i,
|
|
1335
|
+
}`,[i,p,S,n]),Ht=e(`fragment SupplyActivity on SupplyActivity {
|
|
1309
1336
|
__typename
|
|
1310
1337
|
id
|
|
1311
1338
|
user
|
|
@@ -1323,7 +1350,7 @@
|
|
|
1323
1350
|
chain {
|
|
1324
1351
|
...Chain
|
|
1325
1352
|
}
|
|
1326
|
-
}`,[i,
|
|
1353
|
+
}`,[i,p,S,n]),Qt=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1327
1354
|
__typename
|
|
1328
1355
|
id
|
|
1329
1356
|
user
|
|
@@ -1341,7 +1368,7 @@
|
|
|
1341
1368
|
chain {
|
|
1342
1369
|
...Chain
|
|
1343
1370
|
}
|
|
1344
|
-
}`,[i,
|
|
1371
|
+
}`,[i,p,S,n]),$t=e(`fragment RepayActivity on RepayActivity {
|
|
1345
1372
|
__typename
|
|
1346
1373
|
id
|
|
1347
1374
|
user
|
|
@@ -1359,7 +1386,7 @@
|
|
|
1359
1386
|
chain {
|
|
1360
1387
|
...Chain
|
|
1361
1388
|
}
|
|
1362
|
-
}`,[i,
|
|
1389
|
+
}`,[i,p,S,n]),Wt=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1363
1390
|
__typename
|
|
1364
1391
|
id
|
|
1365
1392
|
user
|
|
@@ -1384,7 +1411,7 @@
|
|
|
1384
1411
|
chain {
|
|
1385
1412
|
...Chain
|
|
1386
1413
|
}
|
|
1387
|
-
}`,[i,
|
|
1414
|
+
}`,[i,p,S,n]),Nt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1388
1415
|
__typename
|
|
1389
1416
|
id
|
|
1390
1417
|
user
|
|
@@ -1400,7 +1427,7 @@
|
|
|
1400
1427
|
chain {
|
|
1401
1428
|
...Chain
|
|
1402
1429
|
}
|
|
1403
|
-
}`,[i,S,n]),
|
|
1430
|
+
}`,[i,S,n]),Dt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1404
1431
|
__typename
|
|
1405
1432
|
id
|
|
1406
1433
|
user
|
|
@@ -1424,7 +1451,7 @@
|
|
|
1424
1451
|
chain {
|
|
1425
1452
|
...Chain
|
|
1426
1453
|
}
|
|
1427
|
-
}`,[i,S,
|
|
1454
|
+
}`,[i,S,Fe,n]),Lt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1428
1455
|
__typename
|
|
1429
1456
|
id
|
|
1430
1457
|
user
|
|
@@ -1439,7 +1466,7 @@
|
|
|
1439
1466
|
chain {
|
|
1440
1467
|
...Chain
|
|
1441
1468
|
}
|
|
1442
|
-
}`,[i,
|
|
1469
|
+
}`,[i,Fe,n]),Mt=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
1443
1470
|
__typename
|
|
1444
1471
|
id
|
|
1445
1472
|
user
|
|
@@ -1455,7 +1482,7 @@
|
|
|
1455
1482
|
...SwapAmount
|
|
1456
1483
|
}
|
|
1457
1484
|
explorerUrl
|
|
1458
|
-
}`,[n,
|
|
1485
|
+
}`,[n,w]),Vt=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
1459
1486
|
__typename
|
|
1460
1487
|
id
|
|
1461
1488
|
user
|
|
@@ -1471,7 +1498,7 @@
|
|
|
1471
1498
|
...SwapAmount
|
|
1472
1499
|
}
|
|
1473
1500
|
explorerUrl
|
|
1474
|
-
}`,[n,
|
|
1501
|
+
}`,[n,w]),Kt=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
1475
1502
|
__typename
|
|
1476
1503
|
id
|
|
1477
1504
|
user
|
|
@@ -1487,7 +1514,7 @@
|
|
|
1487
1514
|
...SwapAmount
|
|
1488
1515
|
}
|
|
1489
1516
|
explorerUrl
|
|
1490
|
-
}`,[n,
|
|
1517
|
+
}`,[n,w]),Gt=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
1491
1518
|
__typename
|
|
1492
1519
|
id
|
|
1493
1520
|
user
|
|
@@ -1503,7 +1530,7 @@
|
|
|
1503
1530
|
...SwapAmount
|
|
1504
1531
|
}
|
|
1505
1532
|
explorerUrl
|
|
1506
|
-
}`,[n,
|
|
1533
|
+
}`,[n,w]),Yt=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
1507
1534
|
__typename
|
|
1508
1535
|
id
|
|
1509
1536
|
user
|
|
@@ -1519,7 +1546,7 @@
|
|
|
1519
1546
|
...SwapAmount
|
|
1520
1547
|
}
|
|
1521
1548
|
explorerUrl
|
|
1522
|
-
}`,[n,
|
|
1549
|
+
}`,[n,w]),zt=e(`fragment ActivityItem on ActivityItem {
|
|
1523
1550
|
__typename
|
|
1524
1551
|
... on BorrowActivity {
|
|
1525
1552
|
...BorrowActivity
|
|
@@ -1560,7 +1587,7 @@
|
|
|
1560
1587
|
... on WithdrawSwapActivity {
|
|
1561
1588
|
...WithdrawSwapActivity
|
|
1562
1589
|
}
|
|
1563
|
-
}`,[
|
|
1590
|
+
}`,[Bt,Ht,Qt,$t,Wt,Nt,Dt,Lt,Mt,Vt,Kt,Gt,Yt]),Zt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1564
1591
|
__typename
|
|
1565
1592
|
items {
|
|
1566
1593
|
...ActivityItem
|
|
@@ -1568,41 +1595,41 @@
|
|
|
1568
1595
|
pageInfo {
|
|
1569
1596
|
...PaginatedResultInfo
|
|
1570
1597
|
}
|
|
1571
|
-
}`,[
|
|
1598
|
+
}`,[zt,A]),wn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1572
1599
|
value: activities(request: $request) {
|
|
1573
1600
|
...PaginatedActivitiesResult
|
|
1574
1601
|
}
|
|
1575
|
-
}`,[
|
|
1602
|
+
}`,[Zt]);var Fn=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1576
1603
|
value: userSupplies(request: $request) {
|
|
1577
1604
|
...UserSupplyItem
|
|
1578
1605
|
}
|
|
1579
|
-
}`,[Re]),
|
|
1606
|
+
}`,[Re]),In=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1580
1607
|
value: userBorrows(request: $request) {
|
|
1581
1608
|
...UserBorrowItem
|
|
1582
1609
|
}
|
|
1583
|
-
}`,[qe]),
|
|
1610
|
+
}`,[qe]),Tn=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1584
1611
|
value: userSummary(request: $request) {
|
|
1585
1612
|
...UserSummary
|
|
1586
1613
|
}
|
|
1587
|
-
}`,[xe]),
|
|
1614
|
+
}`,[xe]),vn=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1588
1615
|
value: userPositions(request: $request) {
|
|
1589
1616
|
...UserPosition
|
|
1590
1617
|
}
|
|
1591
|
-
}`,[
|
|
1618
|
+
}`,[V]),kn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1592
1619
|
value: userPosition(request: $request) {
|
|
1593
1620
|
...UserPosition
|
|
1594
1621
|
}
|
|
1595
|
-
}`,[
|
|
1622
|
+
}`,[V]),bn=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1596
1623
|
value: userBalances(request: $request) {
|
|
1597
1624
|
...UserBalance
|
|
1598
1625
|
}
|
|
1599
|
-
}`,[
|
|
1626
|
+
}`,[we]),En=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1600
1627
|
value: userSummaryHistory(request: $request) {
|
|
1601
1628
|
...UserSummaryHistoryItem
|
|
1602
1629
|
}
|
|
1603
|
-
}`,[
|
|
1630
|
+
}`,[Ae]),Un=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1604
1631
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1605
1632
|
...UserRiskPremiumBreakdownItem
|
|
1606
1633
|
}
|
|
1607
|
-
}`,[
|
|
1634
|
+
}`,[M]);exports.ActivitiesQuery=wn;exports.ActivityItemFragment=zt;exports.ActivityType=Ee;exports.ApyMetric=Ue;exports.ApySampleFragment=K;exports.AssetAmountWithChangeFragment=It;exports.AssetBorrowHistoryQuery=ka;exports.AssetBorrowSampleFragment=Ft;exports.AssetFragment=vt;exports.AssetPriceHistoryQuery=Ta;exports.AssetPriceSampleFragment=ht;exports.AssetQuery=Ia;exports.AssetSampleBreakdownFragment=Pe;exports.AssetSummaryFragment=Tt;exports.AssetSupplyHistoryQuery=va;exports.AssetSupplySampleFragment=Pt;exports.BorrowActivityFragment=Bt;exports.BorrowApyHistoryQuery=Oa;exports.BorrowQuery=yn;exports.BorrowSwapActivityFragment=Kt;exports.BorrowSwapKind=He;exports.BorrowSwapQuoteQuery=an;exports.BorrowSwapQuoteResultFragment=ge;exports.CancelSwapExecutionPlanFragment=ye;exports.CancelSwapMutation=en;exports.ChainFragment=n;exports.ChainQuery=Ra;exports.ChainsFilter=be;exports.ChainsQuery=qa;exports.CollateralFactorVariationFragment=Et;exports.CollateralMetric=Ce;exports.Currency=Oe;exports.DecimalNumberFragment=c;exports.DecimalNumberWithChangeFragment=G;exports.DomainDataFragment=C;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=N;exports.Erc20ApprovalRequiredFragment=D;exports.Erc20TokenFragment=l;exports.ExchangeAmountFragment=u;exports.ExchangeAmountVariationFragment=J;exports.ExchangeAmountWithChangeFragment=q;exports.ExchangeRateQuery=Aa;exports.ExecutionPlanFragment=E;exports.HasProcessedKnownTransactionQuery=xa;exports.HealthFactorErrorFragment=Ge;exports.HealthFactorResultFragment=ee;exports.HealthFactorVariationFragment=Ke;exports.HealthFactorWithChangeFragment=X;exports.HealthQuery=wa;exports.HubAssetFragment=b;exports.HubAssetSettingsFragment=Ze;exports.HubAssetSummaryFragment=ze;exports.HubAssetUserStateFragment=je;exports.HubAssetsQuery=Wr;exports.HubFragment=h;exports.HubQuery=Qr;exports.HubSummaryFragment=Ye;exports.HubSummaryHistoryQuery=Nr;exports.HubSummarySampleFragment=qt;exports.HubsQuery=$r;exports.InsufficientBalanceErrorFragment=x;exports.LiquidatePositionExecutionPlanFragment=bt;exports.LiquidatePositionQuery=Sn;exports.LiquidatedActivityFragment=Wt;exports.LiquidationFeeVariationFragment=Ut;exports.MaxLiquidationBonusVariationFragment=Ct;exports.NativeAmountFragment=W;exports.NativeTokenFragment=Y;exports.OperationType=ke;exports.OrderDirection=Ie;exports.PageSize=Te;exports.PaginatedActivitiesResultFragment=Zt;exports.PaginatedResultInfoFragment=A;exports.PaginatedSpokePositionManagerResultFragment=re;exports.PaginatedSpokeUserPositionManagerResultFragment=ae;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Fe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=j;exports.PercentNumberWithChangeFragment=Z;exports.PermitTypedDataFragment=te;exports.PositionAmountFragment=yt;exports.PositionSwapAdapterContractApprovalFragment=St;exports.PositionSwapApprovalFragment=ft;exports.PositionSwapByIntentApprovalsRequiredFragment=B;exports.PositionSwapPositionManagerApprovalFragment=dt;exports.PreContractActionRequiredFragment=nt;exports.PreparePositionSwapQuery=pn;exports.PreparePositionSwapResultFragment=fe;exports.PrepareSwapCancelQuery=Xa;exports.PrepareSwapCancelResultFragment=me;exports.PrepareSwapOrderFragment=ne;exports.PrepareTokenSwapQuery=Za;exports.PrepareTokenSwapResultFragment=se;exports.PreviewQuery=xn;exports.PreviewUserPositionFragment=_t;exports.ProtocolHistoryQuery=ba;exports.ProtocolHistorySampleFragment=kt;exports.QuoteAccuracy=Me;exports.RenounceSpokeUserPositionManagerQuery=Rn;exports.RepayActivityFragment=$t;exports.RepayQuery=ln;exports.RepayWithSupplyActivityFragment=Gt;exports.RepayWithSupplyKind=Qe;exports.RepayWithSupplyQuoteQuery=nn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=F;exports.ReserveInfoFragment=S;exports.ReserveQuery=Ba;exports.ReserveSettingsFragment=et;exports.ReserveStatusFragment=tt;exports.ReserveSummaryFragment=rt;exports.ReserveUserStateFragment=at;exports.ReservesQuery=Ha;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=dn;exports.SetUserSuppliesAsCollateralQuery=fn;exports.SpokeFragment=i;exports.SpokePositionManagerFragment=Je;exports.SpokePositionManagersQuery=La;exports.SpokeQuery=Na;exports.SpokeUserPositionManagerFragment=Xe;exports.SpokeUserPositionManagersQuery=Ma;exports.SpokesQuery=Da;exports.SupplyActivityFragment=Ht;exports.SupplyApyHistoryQuery=_a;exports.SupplyQuery=cn;exports.SupplySwapActivityFragment=Vt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=rn;exports.SupplySwapQuoteResultFragment=le;exports.SwapAmountFragment=w;exports.SwapByIntentFragment=pt;exports.SwapByIntentWithApprovalRequiredFragment=st;exports.SwapByTransactionFragment=ut;exports.SwapCancelledFragment=ie;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=mt;exports.SwapFulfilledFragment=gt;exports.SwapKind=Be;exports.SwapMutation=Ja;exports.SwapOpenFragment=ct;exports.SwapPendingSignatureFragment=lt;exports.SwapQuoteCostsFragment=ot;exports.SwapQuoteFragment=O;exports.SwapReceiptFragment=oe;exports.SwapStatusFilter=Ne;exports.SwapStatusFragment=L;exports.SwapStatusQuery=ja;exports.SwapTransactionRequestFragment=it;exports.SwapTypedDataFragment=_;exports.SwappableTokensQuery=za;exports.TimeWindow=ve;exports.TokenAmountFragment=k;exports.TokenCategory=De;exports.TokenFragment=z;exports.TokenInfoFragment=v;exports.TokenSwapActivityFragment=Mt;exports.TokenSwapQuoteQuery=Ya;exports.TokenSwapQuoteResultFragment=pe;exports.TransactionRequestFragment=m;exports.UpdateUserPositionConditionsQuery=qn;exports.UpdatedDynamicConfigActivityFragment=Dt;exports.UpdatedRiskPremiumActivityFragment=Lt;exports.UserBalanceFragment=we;exports.UserBalancesQuery=bn;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=In;exports.UserPositionConditionVariationFragment=Ot;exports.UserPositionConditionsUpdate=Le;exports.UserPositionFragment=V;exports.UserPositionQuery=kn;exports.UserPositionRiskPremiumFragment=Rt;exports.UserPositionsQuery=vn;exports.UserRiskPremiumBreakdownItemFragment=M;exports.UserRiskPremiumBreakdownQuery=Un;exports.UserSummaryFragment=xe;exports.UserSummaryHistoryItemFragment=Ae;exports.UserSummaryHistoryQuery=En;exports.UserSummaryQuery=Tn;exports.UserSuppliesQuery=Fn;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=tn;exports.UsingAsCollateralActivityFragment=Nt;exports.WithdrawActivityFragment=Qt;exports.WithdrawQuery=gn;exports.WithdrawSwapActivityFragment=Yt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=on;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Mr;exports.decodeHubId=Kr;exports.decodeReserveId=zr;exports.decodeSpokeId=ra;exports.decodeUserPositionId=jr;exports.encodeHubId=Vr;exports.encodeReserveId=Zr;exports.encodeSpokeId=ta;exports.encodeUserPositionId=Jr;exports.graphql=e;exports.hubAssetId=Gr;exports.hubId=xt;exports.isChainIdsVariant=ma;exports.isERC20PermitSignature=yr;exports.isHubInputVariant=ia;exports.isReserveInputVariant=la;exports.isSpokeInputVariant=ca;exports.isTokensVariant=ya;exports.isTxHashInputVariant=ga;exports.reserveId=Yr;exports.spokeId=At;exports.swapId=Xr;exports.swapQuoteId=ea;exports.tokenInfoId=pa;exports.userBalanceId=aa;exports.userBorrowItemId=na;exports.userPositionId=wt;exports.userSupplyItemId=oa;//# sourceMappingURL=index.cjs.map
|
|
1608
1635
|
//# sourceMappingURL=index.cjs.map
|