@aave/graphql 1.0.0-next.20 → 1.0.0-next.22
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 +253 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32940 -9226
- package/dist/index.d.ts +32940 -9226
- package/dist/index.js +253 -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/testing.d.ts +20 -62
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Fe=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Fe||{}),Ie=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ie||{}),Te=(
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Fe=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Fe||{}),Ie=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ie||{}),Te=(h=>(h.LastDay="LAST_DAY",h.LastWeek="LAST_WEEK",h.LastMonth="LAST_MONTH",h.LastSixMonths="LAST_SIX_MONTHS",h.LastYear="LAST_YEAR",h.All="ALL",h))(Te||{}),ve=(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))(ve||{}),be=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(be||{}),Ee=(o=>(o.Active="ACTIVE",o.Frozen="FROZEN",o.Paused="PAUSED",o))(Ee||{}),ke=(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))(ke||{}),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=(f=>(f.Supply="SUPPLY",f.Borrow="BORROW",f.Collateral="COLLATERAL",f.All="ALL",f))(_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=(F=>(F.Cancelled="CANCELLED",F.Expired="EXPIRED",F.Fulfilled="FULFILLED",F.Open="OPEN",F.PendingSignature="PENDING_SIGNATURE",F))(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 k=e(`fragment DomainData on DomainData {
|
|
2
2
|
name
|
|
3
3
|
version
|
|
4
4
|
chainId
|
|
5
5
|
verifyingContract
|
|
6
|
-
}`),
|
|
6
|
+
}`),l=e(`fragment DecimalNumber on DecimalNumber {
|
|
7
7
|
__typename
|
|
8
8
|
onChainValue
|
|
9
9
|
decimals
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
decimals
|
|
15
15
|
value
|
|
16
16
|
normalized
|
|
17
|
-
}`),
|
|
17
|
+
}`),G=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
18
18
|
__typename
|
|
19
19
|
current {
|
|
20
20
|
...DecimalNumber
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
change(window: $timeWindow) {
|
|
23
23
|
...PercentNumber
|
|
24
24
|
}
|
|
25
|
-
}`,[
|
|
25
|
+
}`,[l,a]),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
|
+
}`),I=e(`fragment TokenInfo on TokenInfo {
|
|
33
33
|
__typename
|
|
34
34
|
id
|
|
35
35
|
name
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
icon
|
|
38
38
|
decimals
|
|
39
39
|
categories
|
|
40
|
-
}`),
|
|
40
|
+
}`),n=e(`fragment Chain on Chain {
|
|
41
41
|
__typename
|
|
42
42
|
name
|
|
43
43
|
icon
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
nativeInfo {
|
|
53
53
|
...TokenInfo
|
|
54
54
|
}
|
|
55
|
-
}`,[
|
|
55
|
+
}`,[I]),c=e(`fragment Erc20Token on Erc20Token {
|
|
56
56
|
__typename
|
|
57
57
|
info {
|
|
58
58
|
...TokenInfo
|
|
@@ -62,8 +62,7 @@
|
|
|
62
62
|
...Chain
|
|
63
63
|
}
|
|
64
64
|
isWrappedNativeToken
|
|
65
|
-
|
|
66
|
-
}`,[F,o]),G=e(`fragment NativeToken on NativeToken {
|
|
65
|
+
}`,[I,n]),Y=e(`fragment NativeToken on NativeToken {
|
|
67
66
|
__typename
|
|
68
67
|
info {
|
|
69
68
|
...TokenInfo
|
|
@@ -71,7 +70,7 @@
|
|
|
71
70
|
chain {
|
|
72
71
|
...Chain
|
|
73
72
|
}
|
|
74
|
-
}`,[
|
|
73
|
+
}`,[I,n]),p=e(`fragment Erc20Amount on Erc20Amount {
|
|
75
74
|
__typename
|
|
76
75
|
token {
|
|
77
76
|
...Erc20Token
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
exchangeRate(currency: $currency){
|
|
86
85
|
...DecimalNumber
|
|
87
86
|
}
|
|
88
|
-
}`,[
|
|
87
|
+
}`,[c,l,u]),Q=e(`fragment NativeAmount on NativeAmount {
|
|
89
88
|
__typename
|
|
90
89
|
token {
|
|
91
90
|
...NativeToken
|
|
@@ -99,7 +98,7 @@
|
|
|
99
98
|
exchangeRate(currency: $currency){
|
|
100
99
|
...DecimalNumber
|
|
101
100
|
}
|
|
102
|
-
}`,[
|
|
101
|
+
}`,[Y,l,u]),T=e(`fragment TokenAmount on TokenAmount {
|
|
103
102
|
__typename
|
|
104
103
|
... on Erc20Amount {
|
|
105
104
|
...Erc20Amount
|
|
@@ -107,7 +106,7 @@
|
|
|
107
106
|
... on NativeAmount {
|
|
108
107
|
...NativeAmount
|
|
109
108
|
}
|
|
110
|
-
}`,[p,Q]),
|
|
109
|
+
}`,[p,Q]),z=e(`fragment Token on Token {
|
|
111
110
|
__typename
|
|
112
111
|
... on Erc20Token {
|
|
113
112
|
...Erc20Token
|
|
@@ -115,7 +114,7 @@
|
|
|
115
114
|
... on NativeToken {
|
|
116
115
|
...NativeToken
|
|
117
116
|
}
|
|
118
|
-
}`,[
|
|
117
|
+
}`,[c,Y]),R=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
119
118
|
__typename
|
|
120
119
|
current {
|
|
121
120
|
...ExchangeAmount
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
change(window: $timeWindow){
|
|
124
123
|
...PercentNumber
|
|
125
124
|
}
|
|
126
|
-
}`,[u,a]),
|
|
125
|
+
}`,[u,a]),Z=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
|
|
127
126
|
__typename
|
|
128
127
|
current {
|
|
129
128
|
...PercentNumber
|
|
@@ -135,7 +134,7 @@
|
|
|
135
134
|
__typename
|
|
136
135
|
prev
|
|
137
136
|
next
|
|
138
|
-
}`),
|
|
137
|
+
}`),j=e(`fragment PercentNumberVariation on PercentNumberVariation {
|
|
139
138
|
__typename
|
|
140
139
|
current {
|
|
141
140
|
...PercentNumber
|
|
@@ -143,7 +142,7 @@
|
|
|
143
142
|
after {
|
|
144
143
|
...PercentNumber
|
|
145
144
|
}
|
|
146
|
-
}`,[a]),
|
|
145
|
+
}`,[a]),J=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
|
|
147
146
|
__typename
|
|
148
147
|
current {
|
|
149
148
|
...ExchangeAmount
|
|
@@ -151,7 +150,7 @@
|
|
|
151
150
|
after {
|
|
152
151
|
...ExchangeAmount
|
|
153
152
|
}
|
|
154
|
-
}`,[u]),
|
|
153
|
+
}`,[u]),X=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
|
|
155
154
|
__typename
|
|
156
155
|
current
|
|
157
156
|
change(window: $timeWindow) {
|
|
@@ -166,7 +165,7 @@
|
|
|
166
165
|
reason
|
|
167
166
|
current
|
|
168
167
|
after
|
|
169
|
-
}`),
|
|
168
|
+
}`),ee=e(`fragment HealthFactorResult on HealthFactorResult {
|
|
170
169
|
__typename
|
|
171
170
|
... on HealthFactorVariation {
|
|
172
171
|
...HealthFactorVariation
|
|
@@ -182,7 +181,7 @@
|
|
|
182
181
|
available {
|
|
183
182
|
...DecimalNumber
|
|
184
183
|
}
|
|
185
|
-
}`,[
|
|
184
|
+
}`,[l]);var Ye=e(`fragment HubSummary on HubSummary {
|
|
186
185
|
__typename
|
|
187
186
|
totalBorrowed {
|
|
188
187
|
...ExchangeAmountWithChange
|
|
@@ -199,7 +198,7 @@
|
|
|
199
198
|
utilizationRate {
|
|
200
199
|
...PercentNumber
|
|
201
200
|
}
|
|
202
|
-
}`,[u,R,a]),
|
|
201
|
+
}`,[u,R,a]),v=e(`fragment Hub on Hub {
|
|
203
202
|
__typename
|
|
204
203
|
id
|
|
205
204
|
name
|
|
@@ -210,7 +209,7 @@
|
|
|
210
209
|
summary(currency: $currency) {
|
|
211
210
|
...HubSummary
|
|
212
211
|
}
|
|
213
|
-
}`,[
|
|
212
|
+
}`,[n,Ye]);var ze=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
214
213
|
__typename
|
|
215
214
|
supplied {
|
|
216
215
|
...Erc20Amount
|
|
@@ -246,7 +245,7 @@
|
|
|
246
245
|
balance {
|
|
247
246
|
...Erc20Amount
|
|
248
247
|
}
|
|
249
|
-
}`,[p]),
|
|
248
|
+
}`,[p]),b=e(`fragment HubAsset on HubAsset {
|
|
250
249
|
__typename
|
|
251
250
|
id
|
|
252
251
|
onchainAssetId
|
|
@@ -265,7 +264,7 @@
|
|
|
265
264
|
userState {
|
|
266
265
|
...HubAssetUserState
|
|
267
266
|
}
|
|
268
|
-
}`,[
|
|
267
|
+
}`,[v,c,ze,Ze,je]);var Je=e(`fragment TypeField on TypeField {
|
|
269
268
|
name
|
|
270
269
|
type
|
|
271
270
|
}`),Xe=e(`fragment TypeDefinition on TypeDefinition {
|
|
@@ -281,7 +280,7 @@
|
|
|
281
280
|
value
|
|
282
281
|
nonce
|
|
283
282
|
deadline
|
|
284
|
-
}`),
|
|
283
|
+
}`),te=e(`fragment PermitTypedData on PermitTypedData {
|
|
285
284
|
__typename
|
|
286
285
|
types {
|
|
287
286
|
...TypeDefinition
|
|
@@ -293,7 +292,7 @@
|
|
|
293
292
|
message {
|
|
294
293
|
...PermitMessageData
|
|
295
294
|
}
|
|
296
|
-
}`,[Xe,k,et]);function
|
|
295
|
+
}`,[Xe,k,et]);function gr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var i=e(`fragment Spoke on Spoke {
|
|
297
296
|
__typename
|
|
298
297
|
id
|
|
299
298
|
name
|
|
@@ -301,12 +300,12 @@
|
|
|
301
300
|
chain {
|
|
302
301
|
...Chain
|
|
303
302
|
}
|
|
304
|
-
}`,[
|
|
303
|
+
}`,[n]),tt=e(`fragment SpokePositionManager on SpokePositionManger {
|
|
305
304
|
__typename
|
|
306
305
|
address
|
|
307
306
|
active
|
|
308
307
|
name
|
|
309
|
-
}`),
|
|
308
|
+
}`),re=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
310
309
|
__typename
|
|
311
310
|
items {
|
|
312
311
|
...SpokePositionManager
|
|
@@ -320,7 +319,7 @@
|
|
|
320
319
|
approvedOn
|
|
321
320
|
active
|
|
322
321
|
name
|
|
323
|
-
}`),
|
|
322
|
+
}`),ae=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
324
323
|
__typename
|
|
325
324
|
items {
|
|
326
325
|
...SpokeUserPositionManager
|
|
@@ -389,7 +388,7 @@
|
|
|
389
388
|
...PercentNumber
|
|
390
389
|
}
|
|
391
390
|
dynamicConfigKey
|
|
392
|
-
}`,[p,a]),
|
|
391
|
+
}`,[p,a]),P=e(`fragment Reserve on Reserve {
|
|
393
392
|
__typename
|
|
394
393
|
id
|
|
395
394
|
onChainId
|
|
@@ -419,13 +418,13 @@
|
|
|
419
418
|
asset {
|
|
420
419
|
...HubAsset
|
|
421
420
|
}
|
|
422
|
-
}`,[i,
|
|
421
|
+
}`,[i,n,ot,at,nt,pt,b]),S=e(`fragment ReserveInfo on ReserveInfo {
|
|
423
422
|
__typename
|
|
424
423
|
id
|
|
425
424
|
asset {
|
|
426
425
|
...HubAsset
|
|
427
426
|
}
|
|
428
|
-
}`,[
|
|
427
|
+
}`,[b]);var m=e(`fragment TransactionRequest on TransactionRequest {
|
|
429
428
|
__typename
|
|
430
429
|
to
|
|
431
430
|
from
|
|
@@ -433,7 +432,7 @@
|
|
|
433
432
|
value
|
|
434
433
|
chainId
|
|
435
434
|
operations
|
|
436
|
-
}`)
|
|
435
|
+
}`),$=e(`fragment Erc20Approval on Erc20Approval {
|
|
437
436
|
__typename
|
|
438
437
|
byTransaction {
|
|
439
438
|
...TransactionRequest
|
|
@@ -441,7 +440,7 @@
|
|
|
441
440
|
bySignature {
|
|
442
441
|
...PermitTypedData
|
|
443
442
|
}
|
|
444
|
-
}`,[m,
|
|
443
|
+
}`,[m,te]),W=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
445
444
|
__typename
|
|
446
445
|
transaction {
|
|
447
446
|
...TransactionRequest
|
|
@@ -459,7 +458,7 @@
|
|
|
459
458
|
originalTransaction {
|
|
460
459
|
...TransactionRequest
|
|
461
460
|
}
|
|
462
|
-
}`,[m
|
|
461
|
+
}`,[m,$,l]),st=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
463
462
|
__typename
|
|
464
463
|
transaction {
|
|
465
464
|
...TransactionRequest
|
|
@@ -468,7 +467,7 @@
|
|
|
468
467
|
originalTransaction {
|
|
469
468
|
...TransactionRequest
|
|
470
469
|
}
|
|
471
|
-
}`,[m]),
|
|
470
|
+
}`,[m]),E=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
472
471
|
__typename
|
|
473
472
|
... on TransactionRequest {
|
|
474
473
|
...TransactionRequest
|
|
@@ -482,7 +481,7 @@
|
|
|
482
481
|
... on InsufficientBalanceError {
|
|
483
482
|
...InsufficientBalanceError
|
|
484
483
|
}
|
|
485
|
-
}`,[m
|
|
484
|
+
}`,[m,W,st,q]);var ut=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
486
485
|
__typename
|
|
487
486
|
networkCosts {
|
|
488
487
|
...TokenAmount
|
|
@@ -496,7 +495,7 @@
|
|
|
496
495
|
providerFee {
|
|
497
496
|
...TokenAmount
|
|
498
497
|
}
|
|
499
|
-
}`,[
|
|
498
|
+
}`,[T]),U=e(`fragment SwapQuote on SwapQuote {
|
|
500
499
|
__typename
|
|
501
500
|
accuracy
|
|
502
501
|
quoteId
|
|
@@ -518,7 +517,7 @@
|
|
|
518
517
|
finalSell {
|
|
519
518
|
...TokenAmount
|
|
520
519
|
}
|
|
521
|
-
}`,[a,
|
|
520
|
+
}`,[a,T,ut]),C=e(`fragment SwapTypedData on SwapTypedData {
|
|
522
521
|
__typename
|
|
523
522
|
primaryType
|
|
524
523
|
types
|
|
@@ -526,19 +525,19 @@
|
|
|
526
525
|
...DomainData
|
|
527
526
|
}
|
|
528
527
|
message
|
|
529
|
-
}`,[k]),
|
|
528
|
+
}`,[k]),ne=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
530
529
|
__typename
|
|
531
530
|
newQuoteId
|
|
532
531
|
data {
|
|
533
532
|
...SwapTypedData
|
|
534
533
|
}
|
|
535
|
-
}`,[
|
|
534
|
+
}`,[C]),it=e(`fragment SwapByIntent on SwapByIntent {
|
|
536
535
|
__typename
|
|
537
536
|
quote {
|
|
538
537
|
...SwapQuote
|
|
539
538
|
}
|
|
540
539
|
|
|
541
|
-
}`,[
|
|
540
|
+
}`,[U]),mt=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
542
541
|
__typename
|
|
543
542
|
approval {
|
|
544
543
|
...Erc20Approval
|
|
@@ -546,17 +545,17 @@
|
|
|
546
545
|
quote {
|
|
547
546
|
...SwapQuote
|
|
548
547
|
}
|
|
549
|
-
}`,[
|
|
548
|
+
}`,[$,U]),yt=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
550
549
|
__typename
|
|
551
550
|
quote {
|
|
552
551
|
...SwapQuote
|
|
553
552
|
}
|
|
554
|
-
}`,[
|
|
553
|
+
}`,[U]),oe=e(`fragment SwapReceipt on SwapReceipt {
|
|
555
554
|
__typename
|
|
556
555
|
id
|
|
557
|
-
|
|
556
|
+
explorerUrl
|
|
558
557
|
createdAt
|
|
559
|
-
}`),
|
|
558
|
+
}`),pe=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
560
559
|
__typename
|
|
561
560
|
... on SwapByIntent {
|
|
562
561
|
...SwapByIntent
|
|
@@ -567,7 +566,7 @@
|
|
|
567
566
|
... on SwapByTransaction {
|
|
568
567
|
...SwapByTransaction
|
|
569
568
|
}
|
|
570
|
-
}`,[it,mt,yt]),
|
|
569
|
+
}`,[it,mt,yt]),se=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
571
570
|
__typename
|
|
572
571
|
... on PrepareSwapOrder {
|
|
573
572
|
...PrepareSwapOrder
|
|
@@ -575,7 +574,7 @@
|
|
|
575
574
|
... on InsufficientBalanceError {
|
|
576
575
|
...InsufficientBalanceError
|
|
577
576
|
}
|
|
578
|
-
}`,[
|
|
577
|
+
}`,[ne,q]),ct=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
579
578
|
__typename
|
|
580
579
|
transaction {
|
|
581
580
|
...TransactionRequest
|
|
@@ -583,7 +582,7 @@
|
|
|
583
582
|
orderReceipt {
|
|
584
583
|
...SwapReceipt
|
|
585
584
|
}
|
|
586
|
-
}`,[m,
|
|
585
|
+
}`,[m,oe]),ue=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
587
586
|
__typename
|
|
588
587
|
... on SwapTransactionRequest {
|
|
589
588
|
...SwapTransactionRequest
|
|
@@ -594,16 +593,18 @@
|
|
|
594
593
|
... on InsufficientBalanceError {
|
|
595
594
|
...InsufficientBalanceError
|
|
596
595
|
}
|
|
597
|
-
}`,[ct,
|
|
596
|
+
}`,[ct,oe,q]),ie=e(`fragment SwapCancelled on SwapCancelled {
|
|
598
597
|
__typename
|
|
598
|
+
swapId
|
|
599
599
|
createdAt
|
|
600
600
|
cancelledAt
|
|
601
|
-
|
|
601
|
+
explorerUrl
|
|
602
602
|
}`),lt=e(`fragment SwapExpired on SwapExpired {
|
|
603
603
|
__typename
|
|
604
|
+
swapId
|
|
604
605
|
createdAt
|
|
605
606
|
expiredAt
|
|
606
|
-
|
|
607
|
+
explorerUrl
|
|
607
608
|
}`),gt=e(`fragment PositionAmount on PositionAmount {
|
|
608
609
|
__typename
|
|
609
610
|
reserve {
|
|
@@ -612,7 +613,7 @@
|
|
|
612
613
|
amount {
|
|
613
614
|
...Erc20Amount
|
|
614
615
|
}
|
|
615
|
-
}`,[
|
|
616
|
+
}`,[S,p]),x=e(`fragment SwapAmount on SwapAmount {
|
|
616
617
|
__typename
|
|
617
618
|
... on PositionAmount {
|
|
618
619
|
...PositionAmount
|
|
@@ -623,25 +624,27 @@
|
|
|
623
624
|
... on Erc20Amount {
|
|
624
625
|
...Erc20Amount
|
|
625
626
|
}
|
|
626
|
-
}`,[gt,Q,p]),
|
|
627
|
+
}`,[gt,Q,p]),St=e(`fragment SwapOpen on SwapOpen {
|
|
627
628
|
__typename
|
|
628
629
|
swapId
|
|
629
630
|
createdAt
|
|
630
631
|
deadline
|
|
631
|
-
|
|
632
|
+
explorerUrl
|
|
632
633
|
desiredSell {
|
|
633
634
|
...SwapAmount
|
|
634
635
|
}
|
|
635
636
|
desiredBuy {
|
|
636
637
|
...SwapAmount
|
|
637
638
|
}
|
|
638
|
-
}`,[
|
|
639
|
+
}`,[x]),dt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
639
640
|
__typename
|
|
641
|
+
swapId
|
|
640
642
|
createdAt
|
|
641
643
|
deadline
|
|
642
|
-
|
|
644
|
+
explorerUrl
|
|
643
645
|
}`),ft=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
644
646
|
__typename
|
|
647
|
+
swapId
|
|
645
648
|
txHash
|
|
646
649
|
desiredSell {
|
|
647
650
|
...SwapAmount
|
|
@@ -657,9 +660,9 @@
|
|
|
657
660
|
}
|
|
658
661
|
createdAt
|
|
659
662
|
fulfilledAt
|
|
660
|
-
|
|
663
|
+
explorerUrl
|
|
661
664
|
refundTxHash
|
|
662
|
-
}`,[
|
|
665
|
+
}`,[x]),N=e(`fragment SwapStatus on SwapStatus {
|
|
663
666
|
__typename
|
|
664
667
|
... on SwapOpen {
|
|
665
668
|
...SwapOpen
|
|
@@ -676,12 +679,12 @@
|
|
|
676
679
|
... on SwapFulfilled {
|
|
677
680
|
...SwapFulfilled
|
|
678
681
|
}
|
|
679
|
-
}`,[dt,
|
|
682
|
+
}`,[St,dt,ie,lt,ft]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
680
683
|
__typename
|
|
681
684
|
data {
|
|
682
685
|
...SwapTypedData
|
|
683
686
|
}
|
|
684
|
-
}`,[
|
|
687
|
+
}`,[C]),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
685
688
|
__typename
|
|
686
689
|
... on TransactionRequest {
|
|
687
690
|
...TransactionRequest
|
|
@@ -689,7 +692,7 @@
|
|
|
689
692
|
... on SwapCancelled {
|
|
690
693
|
...SwapCancelled
|
|
691
694
|
}
|
|
692
|
-
}`,[m,
|
|
695
|
+
}`,[m,ie]),ce=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
693
696
|
__typename
|
|
694
697
|
items {
|
|
695
698
|
...SwapStatus
|
|
@@ -702,7 +705,7 @@
|
|
|
702
705
|
bySignature {
|
|
703
706
|
...SwapTypedData
|
|
704
707
|
}
|
|
705
|
-
}`,[
|
|
708
|
+
}`,[C]),qt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
706
709
|
__typename
|
|
707
710
|
byTransaction {
|
|
708
711
|
...TransactionRequest
|
|
@@ -710,7 +713,7 @@
|
|
|
710
713
|
bySignature {
|
|
711
714
|
...SwapTypedData
|
|
712
715
|
}
|
|
713
|
-
}`,[m,
|
|
716
|
+
}`,[m,C]),xt=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
714
717
|
__typename
|
|
715
718
|
... on PositionSwapAdapterContractApproval {
|
|
716
719
|
...PositionSwapAdapterContractApproval
|
|
@@ -718,7 +721,7 @@
|
|
|
718
721
|
... on PositionSwapPositionManagerApproval {
|
|
719
722
|
...PositionSwapPositionManagerApproval
|
|
720
723
|
}
|
|
721
|
-
}`,[Rt,qt]),
|
|
724
|
+
}`,[Rt,qt]),O=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
722
725
|
__typename
|
|
723
726
|
quote {
|
|
724
727
|
...SwapQuote
|
|
@@ -726,27 +729,27 @@
|
|
|
726
729
|
approvals {
|
|
727
730
|
...PositionSwapApproval
|
|
728
731
|
}
|
|
729
|
-
}`,[
|
|
732
|
+
}`,[U,xt]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
730
733
|
__typename
|
|
731
734
|
... on PositionSwapByIntentApprovalsRequired {
|
|
732
735
|
...PositionSwapByIntentApprovalsRequired
|
|
733
736
|
}
|
|
734
|
-
}`,[
|
|
737
|
+
}`,[O]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
735
738
|
__typename
|
|
736
739
|
... on PositionSwapByIntentApprovalsRequired {
|
|
737
740
|
...PositionSwapByIntentApprovalsRequired
|
|
738
741
|
}
|
|
739
|
-
}`,[
|
|
742
|
+
}`,[O]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
740
743
|
__typename
|
|
741
744
|
... on PositionSwapByIntentApprovalsRequired {
|
|
742
745
|
...PositionSwapByIntentApprovalsRequired
|
|
743
746
|
}
|
|
744
|
-
}`,[
|
|
747
|
+
}`,[O]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
745
748
|
__typename
|
|
746
749
|
... on PositionSwapByIntentApprovalsRequired {
|
|
747
750
|
...PositionSwapByIntentApprovalsRequired
|
|
748
751
|
}
|
|
749
|
-
}`,[
|
|
752
|
+
}`,[O]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
750
753
|
__typename
|
|
751
754
|
... on PrepareSwapOrder {
|
|
752
755
|
...PrepareSwapOrder
|
|
@@ -754,7 +757,7 @@
|
|
|
754
757
|
... on InsufficientBalanceError {
|
|
755
758
|
...InsufficientBalanceError
|
|
756
759
|
}
|
|
757
|
-
}`,[
|
|
760
|
+
}`,[ne,q]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
758
761
|
__typename
|
|
759
762
|
id
|
|
760
763
|
reserve {
|
|
@@ -771,7 +774,7 @@
|
|
|
771
774
|
}
|
|
772
775
|
isCollateral
|
|
773
776
|
createdAt
|
|
774
|
-
}`,[p,
|
|
777
|
+
}`,[p,P]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
775
778
|
__typename
|
|
776
779
|
id
|
|
777
780
|
principal {
|
|
@@ -787,7 +790,7 @@
|
|
|
787
790
|
...Reserve
|
|
788
791
|
}
|
|
789
792
|
createdAt
|
|
790
|
-
}`,[p,
|
|
793
|
+
}`,[p,P]),xe=e(`fragment UserSummary on UserSummary {
|
|
791
794
|
__typename
|
|
792
795
|
totalPositions
|
|
793
796
|
netBalance(currency: $currency) {
|
|
@@ -809,7 +812,7 @@
|
|
|
809
812
|
...ExchangeAmount
|
|
810
813
|
}
|
|
811
814
|
lowestHealthFactor
|
|
812
|
-
}`,[R,u,a]),
|
|
815
|
+
}`,[R,u,a]),D=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
813
816
|
__typename
|
|
814
817
|
token {
|
|
815
818
|
...Erc20Token
|
|
@@ -823,7 +826,7 @@
|
|
|
823
826
|
collateral {
|
|
824
827
|
...PercentNumber
|
|
825
828
|
}
|
|
826
|
-
}`,[
|
|
829
|
+
}`,[c,a]),wt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
827
830
|
__typename
|
|
828
831
|
current {
|
|
829
832
|
...PercentNumber
|
|
@@ -834,7 +837,7 @@
|
|
|
834
837
|
breakdown {
|
|
835
838
|
...UserRiskPremiumBreakdownItem
|
|
836
839
|
}
|
|
837
|
-
}`,[a,
|
|
840
|
+
}`,[a,D]),L=e(`fragment UserPosition on UserPosition {
|
|
838
841
|
__typename
|
|
839
842
|
id
|
|
840
843
|
spoke {
|
|
@@ -888,7 +891,7 @@
|
|
|
888
891
|
averageCollateralFactor {
|
|
889
892
|
...PercentNumber
|
|
890
893
|
}
|
|
891
|
-
}`,[i,a,R,u,
|
|
894
|
+
}`,[i,a,R,u,Z,X,wt]),we=e(`fragment UserBalance on UserBalance {
|
|
892
895
|
__typename
|
|
893
896
|
id
|
|
894
897
|
info {
|
|
@@ -921,7 +924,7 @@
|
|
|
921
924
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
922
925
|
...PercentNumber
|
|
923
926
|
}
|
|
924
|
-
}`,[
|
|
927
|
+
}`,[I,l,T,u,a]),Ae=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
925
928
|
__typename
|
|
926
929
|
netBalance(currency: $currency) {
|
|
927
930
|
...ExchangeAmount
|
|
@@ -934,25 +937,25 @@
|
|
|
934
937
|
}
|
|
935
938
|
healthFactor
|
|
936
939
|
date
|
|
937
|
-
}`,[u]),
|
|
940
|
+
}`,[u]),M=e(`fragment ApySample on ApySample {
|
|
938
941
|
__typename
|
|
939
942
|
date
|
|
940
943
|
avgRate {
|
|
941
944
|
...PercentNumber
|
|
942
945
|
}
|
|
943
|
-
}`,[a]);var
|
|
946
|
+
}`,[a]);var Nr=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
944
947
|
value: hub(request: $request) {
|
|
945
948
|
...Hub
|
|
946
949
|
}
|
|
947
|
-
}`,[
|
|
950
|
+
}`,[v]),Dr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
948
951
|
value: hubs(request: $request) {
|
|
949
952
|
...Hub
|
|
950
953
|
}
|
|
951
|
-
}`,[
|
|
954
|
+
}`,[v]),Lr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
952
955
|
value: hubAssets(request: $request) {
|
|
953
956
|
...HubAsset
|
|
954
957
|
}
|
|
955
|
-
}`,[
|
|
958
|
+
}`,[b]),At=e(`fragment HubSummarySample on HubSummarySample {
|
|
956
959
|
__typename
|
|
957
960
|
date
|
|
958
961
|
deposits {
|
|
@@ -967,23 +970,23 @@
|
|
|
967
970
|
utilizationRate {
|
|
968
971
|
...PercentNumber
|
|
969
972
|
}
|
|
970
|
-
}`,[u,a])
|
|
973
|
+
}`,[u,a]),Mr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
971
974
|
value: hubSummaryHistory(request: $request) {
|
|
972
975
|
...HubSummarySample
|
|
973
976
|
}
|
|
974
|
-
}`,[
|
|
977
|
+
}`,[At]);function K(t){return new TextDecoder().decode(Uint8Array.from(atob(t),w=>w.charCodeAt(0)))}function B(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Gr(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 ht(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 Yr(t){return ht(B(`${t.chainId}${d}${t.address}`))}function zr(t){let w=K(t),[r,o]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Zr(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 jr(t){return t}function Jr(t){let w=K(t),[r,o,f]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:f}}function Xr(t){return B(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function Pt(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 ea(t){let w=K(t),[r,o,f]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(f)}}function ta(t){return Pt(B(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function ra(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function aa(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function na(t){return Ft(B(`${t.chainId}${d}${t.address}`))}function Ft(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 oa(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 pa(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 sa(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 ua(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function ya(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function ca(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function la(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function ga(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ra=e(`query Chain($request: ChainRequest!) {
|
|
975
978
|
value: chain(request: $request) {
|
|
976
979
|
...Chain
|
|
977
980
|
}
|
|
978
|
-
}`,[
|
|
981
|
+
}`,[n]),qa=e(`query Chains($request: ChainsRequest!) {
|
|
979
982
|
value: chains(request: $request) {
|
|
980
983
|
...Chain
|
|
981
984
|
}
|
|
982
|
-
}`,[
|
|
985
|
+
}`,[n]),xa=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
983
986
|
value: hasProcessedKnownTransaction(request: $request)
|
|
984
|
-
}`),
|
|
987
|
+
}`),wa=e(`query Health {
|
|
985
988
|
value: health
|
|
986
|
-
}`),
|
|
989
|
+
}`),Aa=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
987
990
|
value: exchangeRate(request: $request) {
|
|
988
991
|
...ExchangeAmount
|
|
989
992
|
}
|
|
@@ -1003,7 +1006,7 @@
|
|
|
1003
1006
|
lowestApy {
|
|
1004
1007
|
...PercentNumber
|
|
1005
1008
|
}
|
|
1006
|
-
}`,[
|
|
1009
|
+
}`,[l,a]),vt=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
1007
1010
|
__typename
|
|
1008
1011
|
date
|
|
1009
1012
|
amount {
|
|
@@ -1015,7 +1018,7 @@
|
|
|
1015
1018
|
lowestApy {
|
|
1016
1019
|
...PercentNumber
|
|
1017
1020
|
}
|
|
1018
|
-
}`,[
|
|
1021
|
+
}`,[l,a]),bt=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1019
1022
|
__typename
|
|
1020
1023
|
amount {
|
|
1021
1024
|
...DecimalNumberWithChange
|
|
@@ -1023,7 +1026,7 @@
|
|
|
1023
1026
|
exchange(currency: $currency) {
|
|
1024
1027
|
...ExchangeAmountWithChange
|
|
1025
1028
|
}
|
|
1026
|
-
}`,[
|
|
1029
|
+
}`,[G,R]),Et=e(`fragment AssetSummary on AssetSummary {
|
|
1027
1030
|
__typename
|
|
1028
1031
|
totalSupplyCap {
|
|
1029
1032
|
...AssetAmountWithChange
|
|
@@ -1049,7 +1052,7 @@
|
|
|
1049
1052
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1050
1053
|
...PercentNumber
|
|
1051
1054
|
}
|
|
1052
|
-
}`,[bt,a]),
|
|
1055
|
+
}`,[bt,a]),kt=e(`fragment Asset on Asset {
|
|
1053
1056
|
__typename
|
|
1054
1057
|
id
|
|
1055
1058
|
token {
|
|
@@ -1061,23 +1064,23 @@
|
|
|
1061
1064
|
price(currency: $currency) {
|
|
1062
1065
|
...ExchangeAmountWithChange
|
|
1063
1066
|
}
|
|
1064
|
-
}`,[
|
|
1067
|
+
}`,[c,Et,R]),Ia=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1065
1068
|
value: asset(request: $request) {
|
|
1066
1069
|
...Asset
|
|
1067
1070
|
}
|
|
1068
|
-
}`,[
|
|
1071
|
+
}`,[kt]),Ta=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1069
1072
|
value: assetPriceHistory(request: $request) {
|
|
1070
1073
|
...AssetPriceSample
|
|
1071
1074
|
}
|
|
1072
|
-
}`,[It]),
|
|
1075
|
+
}`,[It]),va=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!) {
|
|
1073
1076
|
value: assetSupplyHistory(request: $request) {
|
|
1074
1077
|
...AssetSupplySample
|
|
1075
1078
|
}
|
|
1076
|
-
}`,[Tt]),
|
|
1079
|
+
}`,[Tt]),ba=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!) {
|
|
1077
1080
|
value: assetBorrowHistory(request: $request) {
|
|
1078
1081
|
...AssetBorrowSample
|
|
1079
1082
|
}
|
|
1080
|
-
}`,[
|
|
1083
|
+
}`,[vt]),Ut=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1081
1084
|
__typename
|
|
1082
1085
|
date
|
|
1083
1086
|
deposits {
|
|
@@ -1086,111 +1089,111 @@
|
|
|
1086
1089
|
borrows {
|
|
1087
1090
|
...ExchangeAmount
|
|
1088
1091
|
}
|
|
1089
|
-
}`,[u]),
|
|
1092
|
+
}`,[u]),Ea=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1090
1093
|
value: protocolHistory(request: $request) {
|
|
1091
1094
|
...ProtocolHistorySample
|
|
1092
1095
|
}
|
|
1093
|
-
}`,[Ut]);var
|
|
1096
|
+
}`,[Ut]);var Oa=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1094
1097
|
value: borrowApyHistory(request: $request) {
|
|
1095
1098
|
...ApySample
|
|
1096
1099
|
}
|
|
1097
|
-
}`,[
|
|
1100
|
+
}`,[M]),_a=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1098
1101
|
value: supplyApyHistory(request: $request) {
|
|
1099
1102
|
...ApySample
|
|
1100
1103
|
}
|
|
1101
|
-
}`,[
|
|
1104
|
+
}`,[M]),Ba=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1102
1105
|
value: reserve(request: $request) {
|
|
1103
1106
|
...Reserve
|
|
1104
1107
|
}
|
|
1105
|
-
}`,[
|
|
1108
|
+
}`,[P]),Ha=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1106
1109
|
value: reserves(request: $request) {
|
|
1107
1110
|
...Reserve
|
|
1108
1111
|
}
|
|
1109
|
-
}`,[
|
|
1112
|
+
}`,[P]);var Na=e(`query Spoke($request: SpokeRequest!) {
|
|
1110
1113
|
value: spoke(request: $request) {
|
|
1111
1114
|
...Spoke
|
|
1112
1115
|
}
|
|
1113
|
-
}`,[i]),
|
|
1116
|
+
}`,[i]),Da=e(`query Spokes($request: SpokesRequest!) {
|
|
1114
1117
|
value: spokes(request: $request) {
|
|
1115
1118
|
...Spoke
|
|
1116
1119
|
}
|
|
1117
|
-
}`,[i]),
|
|
1120
|
+
}`,[i]),La=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1118
1121
|
value: spokePositionManagers(request: $request) {
|
|
1119
1122
|
...PaginatedSpokePositionManagerResult
|
|
1120
1123
|
}
|
|
1121
|
-
}`,[
|
|
1124
|
+
}`,[re]),Ma=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1122
1125
|
value: spokeUserPositionManagers(request: $request) {
|
|
1123
1126
|
...PaginatedSpokeUserPositionManagerResult
|
|
1124
1127
|
}
|
|
1125
|
-
}`,[
|
|
1128
|
+
}`,[ae]);var Ya=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1126
1129
|
value: tokenSwapQuote(request: $request) {
|
|
1127
1130
|
...TokenSwapQuoteResult
|
|
1128
1131
|
}
|
|
1129
|
-
}`,[
|
|
1132
|
+
}`,[pe]),za=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1130
1133
|
value: swappableTokens(request: $request) {
|
|
1131
1134
|
...Token
|
|
1132
1135
|
}
|
|
1133
|
-
}`,[
|
|
1136
|
+
}`,[z]),Za=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1134
1137
|
value: prepareTokenSwap(request: $request) {
|
|
1135
1138
|
...PrepareTokenSwapResult
|
|
1136
1139
|
}
|
|
1137
|
-
}`,[
|
|
1140
|
+
}`,[se]),ja=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1138
1141
|
value: swapStatus(request: $request) {
|
|
1139
1142
|
...SwapStatus
|
|
1140
1143
|
}
|
|
1141
|
-
}`,[N]),
|
|
1144
|
+
}`,[N]),Ja=e(`mutation Swap($request: SwapRequest!) {
|
|
1142
1145
|
value: swap(request: $request) {
|
|
1143
1146
|
...SwapExecutionPlan
|
|
1144
1147
|
}
|
|
1145
|
-
}`,[
|
|
1148
|
+
}`,[ue]),Xa=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1146
1149
|
value: prepareSwapCancel(request: $request) {
|
|
1147
1150
|
...PrepareSwapCancelResult
|
|
1148
1151
|
}
|
|
1149
|
-
}`,[me]),
|
|
1152
|
+
}`,[me]),en=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1150
1153
|
value: cancelSwap(request: $request) {
|
|
1151
1154
|
...CancelSwapExecutionPlan
|
|
1152
1155
|
}
|
|
1153
|
-
}`,[ye]),
|
|
1156
|
+
}`,[ye]),tn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1154
1157
|
value: userSwaps(request: $request) {
|
|
1155
1158
|
...PaginatedUserSwapsResult
|
|
1156
1159
|
}
|
|
1157
|
-
}`,[ce]),
|
|
1160
|
+
}`,[ce]),rn=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1158
1161
|
value: supplySwapQuote(request: $request) {
|
|
1159
1162
|
...SupplySwapQuoteResult
|
|
1160
1163
|
}
|
|
1161
|
-
}`,[le]),
|
|
1164
|
+
}`,[le]),an=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1162
1165
|
value: borrowSwapQuote(request: $request) {
|
|
1163
1166
|
...BorrowSwapQuoteResult
|
|
1164
1167
|
}
|
|
1165
|
-
}`,[ge]),
|
|
1168
|
+
}`,[ge]),nn=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1166
1169
|
value: repayWithSupplyQuote(request: $request) {
|
|
1167
1170
|
...RepayWithSupplyQuoteResult
|
|
1168
1171
|
}
|
|
1169
|
-
}`,[
|
|
1172
|
+
}`,[Se]),on=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1170
1173
|
value: withdrawSwapQuote(request: $request) {
|
|
1171
1174
|
...WithdrawSwapQuoteResult
|
|
1172
1175
|
}
|
|
1173
|
-
}`,[
|
|
1176
|
+
}`,[de]),pn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1174
1177
|
value: preparePositionSwap(request: $request) {
|
|
1175
1178
|
...PreparePositionSwapResult
|
|
1176
1179
|
}
|
|
1177
|
-
}`,[fe]);var
|
|
1180
|
+
}`,[fe]);var yn=e(`query Borrow($request: BorrowRequest!) {
|
|
1178
1181
|
value: borrow(request: $request) {
|
|
1179
1182
|
...ExecutionPlan
|
|
1180
1183
|
}
|
|
1181
|
-
}`,[
|
|
1184
|
+
}`,[E]),cn=e(`query Supply($request: SupplyRequest!) {
|
|
1182
1185
|
value: supply(request: $request) {
|
|
1183
1186
|
...ExecutionPlan
|
|
1184
1187
|
}
|
|
1185
|
-
}`,[
|
|
1188
|
+
}`,[E]),ln=e(`query Repay($request: RepayRequest!) {
|
|
1186
1189
|
value: repay(request: $request) {
|
|
1187
1190
|
...ExecutionPlan
|
|
1188
1191
|
}
|
|
1189
|
-
}`,[
|
|
1192
|
+
}`,[E]),gn=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1190
1193
|
value: withdraw(request: $request) {
|
|
1191
1194
|
...ExecutionPlan
|
|
1192
1195
|
}
|
|
1193
|
-
}`,[
|
|
1196
|
+
}`,[E]),Ct=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1194
1197
|
__typename
|
|
1195
1198
|
... on TransactionRequest {
|
|
1196
1199
|
...TransactionRequest
|
|
@@ -1201,23 +1204,23 @@
|
|
|
1201
1204
|
... on InsufficientBalanceError {
|
|
1202
1205
|
...InsufficientBalanceError
|
|
1203
1206
|
}
|
|
1204
|
-
}`,[m
|
|
1207
|
+
}`,[m,W,q]),Sn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1205
1208
|
value: liquidatePosition(request: $request) {
|
|
1206
1209
|
...LiquidatePositionExecutionPlan
|
|
1207
1210
|
}
|
|
1208
|
-
}`,[Ct]),
|
|
1211
|
+
}`,[Ct]),dn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1209
1212
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1210
1213
|
...TransactionRequest
|
|
1211
1214
|
}
|
|
1212
|
-
}`,[m]),
|
|
1215
|
+
}`,[m]),fn=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1213
1216
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1214
1217
|
...TransactionRequest
|
|
1215
1218
|
}
|
|
1216
|
-
}`,[m]),
|
|
1219
|
+
}`,[m]),Rn=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1217
1220
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1218
1221
|
...TransactionRequest
|
|
1219
1222
|
}
|
|
1220
|
-
}`,[m]),
|
|
1223
|
+
}`,[m]),qn=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1221
1224
|
value: updateUserPositionConditions(request: $request) {
|
|
1222
1225
|
...TransactionRequest
|
|
1223
1226
|
}
|
|
@@ -1233,7 +1236,7 @@
|
|
|
1233
1236
|
after {
|
|
1234
1237
|
...PercentNumber
|
|
1235
1238
|
}
|
|
1236
|
-
}`,[
|
|
1239
|
+
}`,[c,a]),_t=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1237
1240
|
__typename
|
|
1238
1241
|
reserveId
|
|
1239
1242
|
token {
|
|
@@ -1245,7 +1248,7 @@
|
|
|
1245
1248
|
after {
|
|
1246
1249
|
...PercentNumber
|
|
1247
1250
|
}
|
|
1248
|
-
}`,[
|
|
1251
|
+
}`,[c,a]),Bt=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1249
1252
|
__typename
|
|
1250
1253
|
reserveId
|
|
1251
1254
|
token {
|
|
@@ -1257,7 +1260,7 @@
|
|
|
1257
1260
|
after {
|
|
1258
1261
|
...PercentNumber
|
|
1259
1262
|
}
|
|
1260
|
-
}`,[
|
|
1263
|
+
}`,[c,a]),Ht=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1261
1264
|
__typename
|
|
1262
1265
|
... on CollateralFactorVariation {
|
|
1263
1266
|
...CollateralFactorVariation
|
|
@@ -1268,7 +1271,7 @@
|
|
|
1268
1271
|
... on MaxLiquidationBonusVariation {
|
|
1269
1272
|
...MaxLiquidationBonusVariation
|
|
1270
1273
|
}
|
|
1271
|
-
}`,[Ot,
|
|
1274
|
+
}`,[Ot,_t,Bt]),Qt=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1272
1275
|
__typename
|
|
1273
1276
|
id
|
|
1274
1277
|
healthFactor {
|
|
@@ -1295,11 +1298,11 @@
|
|
|
1295
1298
|
otherConditions {
|
|
1296
1299
|
...UserPositionConditionVariation
|
|
1297
1300
|
}
|
|
1298
|
-
}`,[
|
|
1301
|
+
}`,[ee,j,J,Ht]),xn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
|
|
1299
1302
|
value: preview(request: $request) {
|
|
1300
1303
|
...PreviewUserPosition
|
|
1301
1304
|
}
|
|
1302
|
-
}`,[
|
|
1305
|
+
}`,[Qt]),Pe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1303
1306
|
__typename
|
|
1304
1307
|
before {
|
|
1305
1308
|
...PercentNumber
|
|
@@ -1325,7 +1328,7 @@
|
|
|
1325
1328
|
chain {
|
|
1326
1329
|
...Chain
|
|
1327
1330
|
}
|
|
1328
|
-
}`,[i,p,
|
|
1331
|
+
}`,[i,p,S,n]),Wt=e(`fragment SupplyActivity on SupplyActivity {
|
|
1329
1332
|
__typename
|
|
1330
1333
|
id
|
|
1331
1334
|
user
|
|
@@ -1343,7 +1346,7 @@
|
|
|
1343
1346
|
chain {
|
|
1344
1347
|
...Chain
|
|
1345
1348
|
}
|
|
1346
|
-
}`,[i,p,
|
|
1349
|
+
}`,[i,p,S,n]),Nt=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1347
1350
|
__typename
|
|
1348
1351
|
id
|
|
1349
1352
|
user
|
|
@@ -1361,7 +1364,7 @@
|
|
|
1361
1364
|
chain {
|
|
1362
1365
|
...Chain
|
|
1363
1366
|
}
|
|
1364
|
-
}`,[i,p,
|
|
1367
|
+
}`,[i,p,S,n]),Dt=e(`fragment RepayActivity on RepayActivity {
|
|
1365
1368
|
__typename
|
|
1366
1369
|
id
|
|
1367
1370
|
user
|
|
@@ -1379,7 +1382,7 @@
|
|
|
1379
1382
|
chain {
|
|
1380
1383
|
...Chain
|
|
1381
1384
|
}
|
|
1382
|
-
}`,[i,p,
|
|
1385
|
+
}`,[i,p,S,n]),Lt=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1383
1386
|
__typename
|
|
1384
1387
|
id
|
|
1385
1388
|
user
|
|
@@ -1404,7 +1407,7 @@
|
|
|
1404
1407
|
chain {
|
|
1405
1408
|
...Chain
|
|
1406
1409
|
}
|
|
1407
|
-
}`,[i,p,
|
|
1410
|
+
}`,[i,p,S,n]),Mt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1408
1411
|
__typename
|
|
1409
1412
|
id
|
|
1410
1413
|
user
|
|
@@ -1420,7 +1423,7 @@
|
|
|
1420
1423
|
chain {
|
|
1421
1424
|
...Chain
|
|
1422
1425
|
}
|
|
1423
|
-
}`,[i,
|
|
1426
|
+
}`,[i,S,n]),Vt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1424
1427
|
__typename
|
|
1425
1428
|
id
|
|
1426
1429
|
user
|
|
@@ -1444,7 +1447,7 @@
|
|
|
1444
1447
|
chain {
|
|
1445
1448
|
...Chain
|
|
1446
1449
|
}
|
|
1447
|
-
}`,[i,
|
|
1450
|
+
}`,[i,S,Pe,n]),Kt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1448
1451
|
__typename
|
|
1449
1452
|
id
|
|
1450
1453
|
user
|
|
@@ -1459,7 +1462,87 @@
|
|
|
1459
1462
|
chain {
|
|
1460
1463
|
...Chain
|
|
1461
1464
|
}
|
|
1462
|
-
}`,[i,Pe,
|
|
1465
|
+
}`,[i,Pe,n]),Gt=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
1466
|
+
__typename
|
|
1467
|
+
swapId
|
|
1468
|
+
user
|
|
1469
|
+
timestamp
|
|
1470
|
+
txHash
|
|
1471
|
+
chain {
|
|
1472
|
+
...Chain
|
|
1473
|
+
}
|
|
1474
|
+
sold {
|
|
1475
|
+
...SwapAmount
|
|
1476
|
+
}
|
|
1477
|
+
bought {
|
|
1478
|
+
...SwapAmount
|
|
1479
|
+
}
|
|
1480
|
+
explorerUrl
|
|
1481
|
+
}`,[n,x]),Yt=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
1482
|
+
__typename
|
|
1483
|
+
swapId
|
|
1484
|
+
user
|
|
1485
|
+
timestamp
|
|
1486
|
+
txHash
|
|
1487
|
+
chain {
|
|
1488
|
+
...Chain
|
|
1489
|
+
}
|
|
1490
|
+
sold {
|
|
1491
|
+
...SwapAmount
|
|
1492
|
+
}
|
|
1493
|
+
bought {
|
|
1494
|
+
...SwapAmount
|
|
1495
|
+
}
|
|
1496
|
+
explorerUrl
|
|
1497
|
+
}`,[n,x]),zt=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
1498
|
+
__typename
|
|
1499
|
+
swapId
|
|
1500
|
+
user
|
|
1501
|
+
timestamp
|
|
1502
|
+
txHash
|
|
1503
|
+
chain {
|
|
1504
|
+
...Chain
|
|
1505
|
+
}
|
|
1506
|
+
sold {
|
|
1507
|
+
...SwapAmount
|
|
1508
|
+
}
|
|
1509
|
+
bought {
|
|
1510
|
+
...SwapAmount
|
|
1511
|
+
}
|
|
1512
|
+
explorerUrl
|
|
1513
|
+
}`,[n,x]),Zt=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
1514
|
+
__typename
|
|
1515
|
+
swapId
|
|
1516
|
+
user
|
|
1517
|
+
timestamp
|
|
1518
|
+
txHash
|
|
1519
|
+
chain {
|
|
1520
|
+
...Chain
|
|
1521
|
+
}
|
|
1522
|
+
debtRepaid {
|
|
1523
|
+
...SwapAmount
|
|
1524
|
+
}
|
|
1525
|
+
collateralUsed {
|
|
1526
|
+
...SwapAmount
|
|
1527
|
+
}
|
|
1528
|
+
explorerUrl
|
|
1529
|
+
}`,[n,x]),jt=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
1530
|
+
__typename
|
|
1531
|
+
swapId
|
|
1532
|
+
user
|
|
1533
|
+
timestamp
|
|
1534
|
+
txHash
|
|
1535
|
+
chain {
|
|
1536
|
+
...Chain
|
|
1537
|
+
}
|
|
1538
|
+
withdrawn {
|
|
1539
|
+
...SwapAmount
|
|
1540
|
+
}
|
|
1541
|
+
bought {
|
|
1542
|
+
...SwapAmount
|
|
1543
|
+
}
|
|
1544
|
+
explorerUrl
|
|
1545
|
+
}`,[n,x]),Jt=e(`fragment ActivityItem on ActivityItem {
|
|
1463
1546
|
__typename
|
|
1464
1547
|
... on BorrowActivity {
|
|
1465
1548
|
...BorrowActivity
|
|
@@ -1485,7 +1568,22 @@
|
|
|
1485
1568
|
... on UpdatedRiskPremiumActivity {
|
|
1486
1569
|
...UpdatedRiskPremiumActivity
|
|
1487
1570
|
}
|
|
1488
|
-
|
|
1571
|
+
... on TokenSwapActivity {
|
|
1572
|
+
...TokenSwapActivity
|
|
1573
|
+
}
|
|
1574
|
+
... on SupplySwapActivity {
|
|
1575
|
+
...SupplySwapActivity
|
|
1576
|
+
}
|
|
1577
|
+
... on BorrowSwapActivity {
|
|
1578
|
+
...BorrowSwapActivity
|
|
1579
|
+
}
|
|
1580
|
+
... on RepayWithSupplyActivity {
|
|
1581
|
+
...RepayWithSupplyActivity
|
|
1582
|
+
}
|
|
1583
|
+
... on WithdrawSwapActivity {
|
|
1584
|
+
...WithdrawSwapActivity
|
|
1585
|
+
}
|
|
1586
|
+
}`,[$t,Wt,Nt,Dt,Lt,Mt,Vt,Kt,Gt,Yt,zt,Zt,jt]),Xt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1489
1587
|
__typename
|
|
1490
1588
|
items {
|
|
1491
1589
|
...ActivityItem
|
|
@@ -1493,41 +1591,41 @@
|
|
|
1493
1591
|
pageInfo {
|
|
1494
1592
|
...PaginatedResultInfo
|
|
1495
1593
|
}
|
|
1496
|
-
}`,[
|
|
1594
|
+
}`,[Jt,A]),wn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1497
1595
|
value: activities(request: $request) {
|
|
1498
1596
|
...PaginatedActivitiesResult
|
|
1499
1597
|
}
|
|
1500
|
-
}`,[
|
|
1598
|
+
}`,[Xt]);var Fn=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1501
1599
|
value: userSupplies(request: $request) {
|
|
1502
1600
|
...UserSupplyItem
|
|
1503
1601
|
}
|
|
1504
|
-
}`,[Re]),
|
|
1602
|
+
}`,[Re]),In=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1505
1603
|
value: userBorrows(request: $request) {
|
|
1506
1604
|
...UserBorrowItem
|
|
1507
1605
|
}
|
|
1508
|
-
}`,[qe]),
|
|
1606
|
+
}`,[qe]),Tn=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1509
1607
|
value: userSummary(request: $request) {
|
|
1510
1608
|
...UserSummary
|
|
1511
1609
|
}
|
|
1512
|
-
}`,[xe]),
|
|
1610
|
+
}`,[xe]),vn=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1513
1611
|
value: userPositions(request: $request) {
|
|
1514
1612
|
...UserPosition
|
|
1515
1613
|
}
|
|
1516
|
-
}`,[
|
|
1614
|
+
}`,[L]),bn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1517
1615
|
value: userPosition(request: $request) {
|
|
1518
1616
|
...UserPosition
|
|
1519
1617
|
}
|
|
1520
|
-
}`,[
|
|
1618
|
+
}`,[L]),En=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1521
1619
|
value: userBalances(request: $request) {
|
|
1522
1620
|
...UserBalance
|
|
1523
1621
|
}
|
|
1524
|
-
}`,[
|
|
1622
|
+
}`,[we]),kn=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1525
1623
|
value: userSummaryHistory(request: $request) {
|
|
1526
1624
|
...UserSummaryHistoryItem
|
|
1527
1625
|
}
|
|
1528
|
-
}`,[
|
|
1626
|
+
}`,[Ae]),Un=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1529
1627
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1530
1628
|
...UserRiskPremiumBreakdownItem
|
|
1531
1629
|
}
|
|
1532
|
-
}`,[
|
|
1630
|
+
}`,[D]);exports.ActivitiesQuery=wn;exports.ActivityItemFragment=Jt;exports.ActivityType=ke;exports.ApyMetric=Ue;exports.ApySampleFragment=M;exports.AssetAmountWithChangeFragment=bt;exports.AssetBorrowHistoryQuery=ba;exports.AssetBorrowSampleFragment=vt;exports.AssetFragment=kt;exports.AssetPriceHistoryQuery=Ta;exports.AssetPriceSampleFragment=It;exports.AssetQuery=Ia;exports.AssetSummaryFragment=Et;exports.AssetSupplyHistoryQuery=va;exports.AssetSupplySampleFragment=Tt;exports.BorrowActivityFragment=$t;exports.BorrowApyHistoryQuery=Oa;exports.BorrowQuery=yn;exports.BorrowSwapActivityFragment=zt;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=Ot;exports.CollateralMetric=Ce;exports.Currency=Oe;exports.DecimalNumberFragment=l;exports.DecimalNumberWithChangeFragment=G;exports.DomainDataFragment=k;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=W;exports.Erc20TokenFragment=c;exports.ExchangeAmountFragment=u;exports.ExchangeAmountVariationFragment=J;exports.ExchangeAmountWithChangeFragment=R;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.HubAssetStatusType=Ee;exports.HubAssetSummaryFragment=ze;exports.HubAssetUserStateFragment=je;exports.HubAssetsQuery=Lr;exports.HubFragment=v;exports.HubQuery=Nr;exports.HubSummaryFragment=Ye;exports.HubSummaryHistoryQuery=Mr;exports.HubSummarySampleFragment=At;exports.HubsQuery=Dr;exports.InsufficientBalanceErrorFragment=q;exports.LiquidatePositionExecutionPlanFragment=Ct;exports.LiquidatePositionQuery=Sn;exports.LiquidatedActivityFragment=Lt;exports.LiquidationFeeVariationFragment=_t;exports.MaxLiquidationBonusVariationFragment=Bt;exports.NativeAmountFragment=Q;exports.NativeTokenFragment=Y;exports.OperationType=ve;exports.OrderDirection=Fe;exports.PageSize=Ie;exports.PaginatedActivitiesResultFragment=Xt;exports.PaginatedResultInfoFragment=A;exports.PaginatedSpokePositionManagerResultFragment=re;exports.PaginatedSpokeUserPositionManagerResultFragment=ae;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Pe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=j;exports.PercentNumberWithChangeFragment=Z;exports.PermitMessageDataFragment=et;exports.PermitTypedDataFragment=te;exports.PositionAmountFragment=gt;exports.PositionSwapAdapterContractApprovalFragment=Rt;exports.PositionSwapApprovalFragment=xt;exports.PositionSwapByIntentApprovalsRequiredFragment=O;exports.PositionSwapPositionManagerApprovalFragment=qt;exports.PreContractActionRequiredFragment=st;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=Qt;exports.ProtocolHistoryQuery=Ea;exports.ProtocolHistorySampleFragment=Ut;exports.QuoteAccuracy=Me;exports.RenounceSpokeUserPositionManagerQuery=Rn;exports.RepayActivityFragment=Dt;exports.RepayQuery=ln;exports.RepayWithSupplyActivityFragment=Zt;exports.RepayWithSupplyKind=Qe;exports.RepayWithSupplyQuoteQuery=nn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=P;exports.ReserveInfoFragment=S;exports.ReserveQuery=Ba;exports.ReserveSettingsFragment=at;exports.ReserveStatusFragment=nt;exports.ReserveSummaryFragment=ot;exports.ReserveUserStateFragment=pt;exports.ReservesQuery=Ha;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=dn;exports.SetUserSuppliesAsCollateralQuery=fn;exports.SpokeFragment=i;exports.SpokePositionManagerFragment=tt;exports.SpokePositionManagersQuery=La;exports.SpokeQuery=Na;exports.SpokeUserPositionManagerFragment=rt;exports.SpokeUserPositionManagersQuery=Ma;exports.SpokesQuery=Da;exports.SupplyActivityFragment=Wt;exports.SupplyApyHistoryQuery=_a;exports.SupplyQuery=cn;exports.SupplySwapActivityFragment=Yt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=rn;exports.SupplySwapQuoteResultFragment=le;exports.SwapAmountFragment=x;exports.SwapByIntentFragment=it;exports.SwapByIntentWithApprovalRequiredFragment=mt;exports.SwapByTransactionFragment=yt;exports.SwapCancelledFragment=ie;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=lt;exports.SwapFulfilledFragment=ft;exports.SwapKind=Be;exports.SwapMutation=Ja;exports.SwapOpenFragment=St;exports.SwapPendingSignatureFragment=dt;exports.SwapQuoteCostsFragment=ut;exports.SwapQuoteFragment=U;exports.SwapReceiptFragment=oe;exports.SwapStatusFilter=Ne;exports.SwapStatusFragment=N;exports.SwapStatusQuery=ja;exports.SwapTransactionRequestFragment=ct;exports.SwapTypedDataFragment=C;exports.SwappableTokensQuery=za;exports.TimeWindow=Te;exports.TokenAmountFragment=T;exports.TokenCategory=De;exports.TokenFragment=z;exports.TokenInfoFragment=I;exports.TokenSwapActivityFragment=Gt;exports.TokenSwapQuoteQuery=Ya;exports.TokenSwapQuoteResultFragment=pe;exports.TransactionRequestFragment=m;exports.TypeDefinitionFragment=Xe;exports.TypeFieldFragment=Je;exports.UpdateUserPositionConditionsQuery=qn;exports.UpdatedDynamicConfigActivityFragment=Vt;exports.UpdatedRiskPremiumActivityFragment=Kt;exports.UserBalanceFragment=we;exports.UserBalancesQuery=En;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=In;exports.UserPositionConditionVariationFragment=Ht;exports.UserPositionConditionsUpdate=Le;exports.UserPositionFragment=L;exports.UserPositionQuery=bn;exports.UserPositionRiskPremiumFragment=wt;exports.UserPositionsQuery=vn;exports.UserRiskPremiumBreakdownItemFragment=D;exports.UserRiskPremiumBreakdownQuery=Un;exports.UserSummaryFragment=xe;exports.UserSummaryHistoryItemFragment=Ae;exports.UserSummaryHistoryQuery=kn;exports.UserSummaryQuery=Tn;exports.UserSuppliesQuery=Fn;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=tn;exports.UsingAsCollateralActivityFragment=Mt;exports.WithdrawActivityFragment=Nt;exports.WithdrawQuery=gn;exports.WithdrawSwapActivityFragment=jt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=on;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Gr;exports.decodeHubId=zr;exports.decodeReserveId=Jr;exports.decodeUserPositionId=ea;exports.encodeHubId=Yr;exports.encodeReserveId=Xr;exports.encodeSpokeId=na;exports.encodeUserPositionId=ta;exports.graphql=e;exports.hubAssetId=Zr;exports.hubId=ht;exports.isChainIdsVariant=ca;exports.isERC20PermitSignature=gr;exports.isHubInputVariant=ya;exports.isSpokeInputVariant=la;exports.isTxHashInputVariant=ga;exports.reserveId=jr;exports.spokeId=Ft;exports.swapId=ra;exports.swapQuoteId=aa;exports.tokenInfoId=ua;exports.userBalanceId=oa;exports.userBorrowItemId=pa;exports.userPositionId=Pt;exports.userSupplyItemId=sa;//# sourceMappingURL=index.cjs.map
|
|
1533
1631
|
//# sourceMappingURL=index.cjs.map
|