@aave/graphql 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +227 -209
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +201 -3
- package/dist/index.d.ts +201 -3
- package/dist/index.js +227 -209
- 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 +6 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var We=(r=>(r.Asc="ASC",r.Desc="DESC",r))(We||{}),
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var We=(r=>(r.Asc="ASC",r.Desc="DESC",r))(We||{}),Ve=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ve||{}),Me=(F=>(F.LastDay="LAST_DAY",F.LastWeek="LAST_WEEK",F.LastMonth="LAST_MONTH",F.LastSixMonths="LAST_SIX_MONTHS",F.LastYear="LAST_YEAR",F.All="ALL",F))(Me||{}),$e=(S=>(S.SpokeBorrow="SPOKE_BORROW",S.SpokeRepay="SPOKE_REPAY",S.SpokeSupply="SPOKE_SUPPLY",S.SpokeWithdraw="SPOKE_WITHDRAW",S.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",S.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",S.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",S.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",S.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",S.Liquidation="LIQUIDATION",S))($e||{}),Ne=(n=>(n.TESTNET_ONLY="TESTNET_ONLY",n.MAINNET_ONLY="MAINNET_ONLY",n.ALL="ALL",n))(Ne||{}),De=(g=>(g.Borrow="BORROW",g.Supply="SUPPLY",g.Withdraw="WITHDRAW",g.Repay="REPAY",g.Liquidated="LIQUIDATED",g.SetAsCollateral="SET_AS_COLLATERAL",g.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",g.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",g.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",g.SupplySwap="SUPPLY_SWAP",g.BorrowSwap="BORROW_SWAP",g.RepayWithSupply="REPAY_WITH_SUPPLY",g.WithdrawSwap="WITHDRAW_SWAP",g))(De||{}),Le=(n=>(n.Highest="HIGHEST",n.Lowest="LOWEST",n.Average="AVERAGE",n))(Le||{}),Ge=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ge||{}),Ke=(n=>(n.Usd="USD",n.Eur="EUR",n.Gbp="GBP",n))(Ke||{}),Ye=(r=>(r.Supplied="SUPPLIED",r.Borrowed="BORROWED",r))(Ye||{}),ze=(P=>(P.Supply="SUPPLY",P.Borrow="BORROW",P.Collateral="COLLATERAL",P.All="ALL",P))(ze||{}),Ze=(r=>(r.Current="CURRENT",r.New="NEW",r))(Ze||{}),je=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(je||{}),Je=(n=>(n.Ready="READY",n.Pending="PENDING",n.Unknown="UNKNOWN",n))(Je||{}),Xe=(r=>(r.Current="CURRENT",r.New="NEW",r))(Xe||{}),et=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(et||{}),tt=(v=>(v.Cancelled="CANCELLED",v.Expired="EXPIRED",v.Fulfilled="FULFILLED",v.Open="OPEN",v.PendingSignature="PENDING_SIGNATURE",v))(tt||{}),rt=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(rt||{}),at=(r=>(r.Pending="PENDING",r.Done="DONE",r))(at||{}),nt=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(nt||{}),ot=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(ot||{}),pt=(r=>(r.Market="MARKET",r.Limit="LIMIT",r))(pt||{}),st=(n=>(n.Fulfilled="FULFILLED",n.Cancelled="CANCELLED",n.Expired="EXPIRED",n))(st||{}),it=(r=>(r.Buy="BUY",r.Sell="SELL",r))(it||{});var e=gql_tada.initGraphQLTada();var M=e(`fragment DomainData on DomainData {
|
|
2
2
|
name
|
|
3
3
|
version
|
|
4
4
|
chainId
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
chain {
|
|
71
71
|
...Chain
|
|
72
72
|
}
|
|
73
|
-
}`,[k,o]),
|
|
73
|
+
}`,[k,o]),i=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
|
-
}`,[s,y,m]),
|
|
87
|
+
}`,[s,y,m]),mt=e(`fragment NativeAmount on NativeAmount {
|
|
88
88
|
__typename
|
|
89
89
|
token {
|
|
90
90
|
...NativeToken
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
exchangeRate(currency: $currency){
|
|
99
99
|
...DecimalNumber
|
|
100
100
|
}
|
|
101
|
-
}`,[J,y,m]),
|
|
101
|
+
}`,[J,y,m]),R=e(`fragment TokenAmount on TokenAmount {
|
|
102
102
|
__typename
|
|
103
103
|
... on Erc20Amount {
|
|
104
104
|
...Erc20Amount
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
... on NativeAmount {
|
|
107
107
|
...NativeAmount
|
|
108
108
|
}
|
|
109
|
-
}`,[
|
|
109
|
+
}`,[i,mt]),X=e(`fragment Token on Token {
|
|
110
110
|
__typename
|
|
111
111
|
... on Erc20Token {
|
|
112
112
|
...Erc20Token
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
change(window: $timeWindow){
|
|
131
131
|
...PercentNumber
|
|
132
132
|
}
|
|
133
|
-
}`,[a]),
|
|
133
|
+
}`,[a]),d=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]),lt=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
160
160
|
__typename
|
|
161
161
|
current
|
|
162
162
|
after
|
|
163
|
-
}`),
|
|
163
|
+
}`),yt=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
|
+
}`,[lt,yt]),f=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
|
|
177
177
|
__typename
|
|
178
178
|
required {
|
|
179
179
|
...DecimalNumber
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
}`,[y]),b=e(`fragment InsufficientLiquidityError on InsufficientLiquidityError {
|
|
185
185
|
__typename
|
|
186
186
|
reason
|
|
187
|
-
}`);var
|
|
187
|
+
}`);var ct=e(`fragment HubSummary on HubSummary {
|
|
188
188
|
__typename
|
|
189
189
|
totalBorrowed {
|
|
190
190
|
...ExchangeAmountWithChange
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
summary(currency: $currency) {
|
|
213
213
|
...HubSummary
|
|
214
214
|
}
|
|
215
|
-
}`,[o,
|
|
215
|
+
}`,[o,ct]);var gt=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
216
216
|
__typename
|
|
217
217
|
supplied {
|
|
218
218
|
...Erc20Amount
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
utilizationRate {
|
|
236
236
|
...PercentNumber
|
|
237
237
|
}
|
|
238
|
-
}`,[
|
|
238
|
+
}`,[i,a]),dt=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
239
239
|
__typename
|
|
240
240
|
feeReceiver
|
|
241
241
|
liquidityFee {
|
|
@@ -255,12 +255,12 @@
|
|
|
255
255
|
slopeAboveOptimal {
|
|
256
256
|
...PercentNumber
|
|
257
257
|
}
|
|
258
|
-
}`,[a]),
|
|
258
|
+
}`,[a]),St=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
259
259
|
__typename
|
|
260
260
|
balance {
|
|
261
261
|
...Erc20Amount
|
|
262
262
|
}
|
|
263
|
-
}`,[
|
|
263
|
+
}`,[i]),C=e(`fragment HubAsset on HubAsset {
|
|
264
264
|
__typename
|
|
265
265
|
id
|
|
266
266
|
onchainAssetId
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
userState {
|
|
280
280
|
...HubAssetUserState
|
|
281
281
|
}
|
|
282
|
-
}`,[h,s,
|
|
282
|
+
}`,[h,s,gt,dt,St]);var oe=e(`fragment PermitTypedData on PermitTypedData {
|
|
283
283
|
__typename
|
|
284
284
|
types
|
|
285
285
|
primaryType
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
}
|
|
289
289
|
message
|
|
290
290
|
signedAmount
|
|
291
|
-
}`,[M]);function
|
|
291
|
+
}`,[M]);function la(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var Rt=e(`fragment MerklGenericCriteria on MerklGenericCriteria {
|
|
292
292
|
__typename
|
|
293
293
|
id
|
|
294
294
|
text
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
... on MerklGenericCriteria {
|
|
299
299
|
...MerklGenericCriteria
|
|
300
300
|
}
|
|
301
|
-
}`,[
|
|
301
|
+
}`,[Rt]),ft=e(`fragment PointsGenericCriteria on PointsGenericCriteria {
|
|
302
302
|
__typename
|
|
303
303
|
id
|
|
304
304
|
text
|
|
@@ -308,13 +308,13 @@
|
|
|
308
308
|
... on PointsGenericCriteria {
|
|
309
309
|
...PointsGenericCriteria
|
|
310
310
|
}
|
|
311
|
-
}`,[
|
|
311
|
+
}`,[ft]),O=e(`fragment PointsProgram on PointsProgram {
|
|
312
312
|
__typename
|
|
313
313
|
id
|
|
314
314
|
name
|
|
315
315
|
externalUrl
|
|
316
316
|
iconUrl
|
|
317
|
-
}`),
|
|
317
|
+
}`),wt=e(`fragment MerklSupplyReward on MerklSupplyReward {
|
|
318
318
|
__typename
|
|
319
319
|
id
|
|
320
320
|
startDate
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
...MerklCriteria
|
|
330
330
|
}
|
|
331
331
|
userEligible
|
|
332
|
-
}`,[a,s,E]),
|
|
332
|
+
}`,[a,s,E]),qt=e(`fragment MerklBorrowReward on MerklBorrowReward {
|
|
333
333
|
__typename
|
|
334
334
|
id
|
|
335
335
|
startDate
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
...MerklCriteria
|
|
345
345
|
}
|
|
346
346
|
userEligible
|
|
347
|
-
}`,[a,s,E]),
|
|
347
|
+
}`,[a,s,E]),xt=e(`fragment SupplyPoints on SupplyPointsReward {
|
|
348
348
|
__typename
|
|
349
349
|
id
|
|
350
350
|
program {
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
...PointsCriteria
|
|
359
359
|
}
|
|
360
360
|
userEligible
|
|
361
|
-
}`,[O,U]),
|
|
361
|
+
}`,[O,U]),Pt=e(`fragment BorrowPoints on BorrowPointsReward {
|
|
362
362
|
__typename
|
|
363
363
|
id
|
|
364
364
|
program {
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
... on BorrowPointsReward {
|
|
387
387
|
...BorrowPoints
|
|
388
388
|
}
|
|
389
|
-
}`,[
|
|
389
|
+
}`,[wt,qt,xt,Pt]),At=e(`fragment UserMerklClaimableReward on UserMerklClaimableReward {
|
|
390
390
|
__typename
|
|
391
391
|
id
|
|
392
392
|
claimable {
|
|
@@ -395,12 +395,12 @@
|
|
|
395
395
|
startDate
|
|
396
396
|
endDate
|
|
397
397
|
claimUntil
|
|
398
|
-
}`,[
|
|
398
|
+
}`,[i]),se=e(`fragment UserClaimableReward on UserClaimableReward {
|
|
399
399
|
__typename
|
|
400
400
|
... on UserMerklClaimableReward {
|
|
401
401
|
...UserMerklClaimableReward
|
|
402
402
|
}
|
|
403
|
-
}`,[
|
|
403
|
+
}`,[At]);var l=e(`fragment Spoke on Spoke {
|
|
404
404
|
__typename
|
|
405
405
|
id
|
|
406
406
|
name
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
chain {
|
|
409
409
|
...Chain
|
|
410
410
|
}
|
|
411
|
-
}`,[o]),
|
|
411
|
+
}`,[o]),ht=e(`fragment SpokePositionManager on SpokePositionManager {
|
|
412
412
|
__typename
|
|
413
413
|
address
|
|
414
414
|
active
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
pageInfo {
|
|
422
422
|
...PaginatedResultInfo
|
|
423
423
|
}
|
|
424
|
-
}`,[
|
|
424
|
+
}`,[ht,d]),Ft=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
425
425
|
__typename
|
|
426
426
|
address
|
|
427
427
|
approvedOn
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
pageInfo {
|
|
436
436
|
...PaginatedResultInfo
|
|
437
437
|
}
|
|
438
|
-
}`,[
|
|
438
|
+
}`,[Ft,d]);var bt=e(`fragment ReserveSettings on ReserveSettings {
|
|
439
439
|
__typename
|
|
440
440
|
collateralFactor {
|
|
441
441
|
...PercentNumber
|
|
@@ -460,12 +460,12 @@
|
|
|
460
460
|
supplyCap {
|
|
461
461
|
...Erc20Amount
|
|
462
462
|
}
|
|
463
|
-
}`,[a,
|
|
463
|
+
}`,[a,i]),It=e(`fragment ReserveStatus on ReserveStatus {
|
|
464
464
|
__typename
|
|
465
465
|
frozen
|
|
466
466
|
paused
|
|
467
467
|
active
|
|
468
|
-
}`),
|
|
468
|
+
}`),Tt=e(`fragment ReserveSummary on ReserveSummary {
|
|
469
469
|
__typename
|
|
470
470
|
supplied {
|
|
471
471
|
...Erc20Amount
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
rewards {
|
|
489
489
|
...Reward
|
|
490
490
|
}
|
|
491
|
-
}`,[
|
|
491
|
+
}`,[i,a,pe]),vt=e(`fragment ReserveUserState on ReserveUserState {
|
|
492
492
|
__typename
|
|
493
493
|
balance {
|
|
494
494
|
...Erc20Amount
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
...PercentNumber
|
|
513
513
|
}
|
|
514
514
|
dynamicConfigKey
|
|
515
|
-
}`,[
|
|
515
|
+
}`,[i,a]),I=e(`fragment Reserve on Reserve {
|
|
516
516
|
__typename
|
|
517
517
|
id
|
|
518
518
|
onChainId
|
|
@@ -541,7 +541,16 @@
|
|
|
541
541
|
asset {
|
|
542
542
|
...HubAsset
|
|
543
543
|
}
|
|
544
|
-
}`,[l,o,bt,
|
|
544
|
+
}`,[l,o,Tt,bt,It,vt,C]),me=e(`fragment ReserveHolder on ReserveHolder {
|
|
545
|
+
__typename
|
|
546
|
+
address
|
|
547
|
+
amount {
|
|
548
|
+
...Erc20Amount
|
|
549
|
+
}
|
|
550
|
+
weight {
|
|
551
|
+
...PercentNumber
|
|
552
|
+
}
|
|
553
|
+
}`,[i,a]),c=e(`fragment ReserveInfo on ReserveInfo {
|
|
545
554
|
__typename
|
|
546
555
|
id
|
|
547
556
|
asset {
|
|
@@ -578,7 +587,7 @@
|
|
|
578
587
|
originalTransaction {
|
|
579
588
|
...TransactionRequest
|
|
580
589
|
}
|
|
581
|
-
}`,[p,$,y]),
|
|
590
|
+
}`,[p,$,y]),kt=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
582
591
|
__typename
|
|
583
592
|
transaction {
|
|
584
593
|
...TransactionRequest
|
|
@@ -601,7 +610,7 @@
|
|
|
601
610
|
... on InsufficientBalanceError {
|
|
602
611
|
...InsufficientBalanceError
|
|
603
612
|
}
|
|
604
|
-
}`,[p,_,
|
|
613
|
+
}`,[p,_,kt,f]);var Ct=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
605
614
|
__typename
|
|
606
615
|
networkCosts {
|
|
607
616
|
...TokenAmount
|
|
@@ -615,7 +624,7 @@
|
|
|
615
624
|
providerFee {
|
|
616
625
|
...TokenAmount
|
|
617
626
|
}
|
|
618
|
-
}`,[
|
|
627
|
+
}`,[R]),H=e(`fragment SwapQuote on SwapQuote {
|
|
619
628
|
__typename
|
|
620
629
|
accuracy
|
|
621
630
|
quoteId
|
|
@@ -640,7 +649,7 @@
|
|
|
640
649
|
finalSell {
|
|
641
650
|
...TokenAmount
|
|
642
651
|
}
|
|
643
|
-
}`,[a,
|
|
652
|
+
}`,[a,R,Ct]),Q=e(`fragment SwapTypedData on SwapTypedData {
|
|
644
653
|
__typename
|
|
645
654
|
primaryType
|
|
646
655
|
types
|
|
@@ -648,19 +657,19 @@
|
|
|
648
657
|
...DomainData
|
|
649
658
|
}
|
|
650
659
|
message
|
|
651
|
-
}`,[M]),
|
|
660
|
+
}`,[M]),le=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
652
661
|
__typename
|
|
653
662
|
newQuoteId
|
|
654
663
|
data {
|
|
655
664
|
...SwapTypedData
|
|
656
665
|
}
|
|
657
|
-
}`,[
|
|
666
|
+
}`,[Q]),Et=e(`fragment SwapByIntent on SwapByIntent {
|
|
658
667
|
__typename
|
|
659
668
|
quote {
|
|
660
669
|
...SwapQuote
|
|
661
670
|
}
|
|
662
671
|
|
|
663
|
-
}`,[
|
|
672
|
+
}`,[H]),Ut=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
664
673
|
__typename
|
|
665
674
|
approvals {
|
|
666
675
|
...Erc20Approval
|
|
@@ -668,12 +677,12 @@
|
|
|
668
677
|
quote {
|
|
669
678
|
...SwapQuote
|
|
670
679
|
}
|
|
671
|
-
}`,[$,
|
|
680
|
+
}`,[$,H]),Ot=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
672
681
|
__typename
|
|
673
682
|
quote {
|
|
674
683
|
...SwapQuote
|
|
675
684
|
}
|
|
676
|
-
}`,[
|
|
685
|
+
}`,[H]),_t=e(`fragment SwapByTransactionWithApprovalRequired on SwapByTransactionWithApprovalRequired {
|
|
677
686
|
__typename
|
|
678
687
|
quote {
|
|
679
688
|
...SwapQuote
|
|
@@ -681,11 +690,11 @@
|
|
|
681
690
|
approvals {
|
|
682
691
|
...Erc20Approval
|
|
683
692
|
}
|
|
684
|
-
}`,[
|
|
693
|
+
}`,[H,$]),ye=e(`fragment SwapReceipt on SwapReceipt {
|
|
685
694
|
__typename
|
|
686
695
|
id
|
|
687
696
|
createdAt
|
|
688
|
-
}`),
|
|
697
|
+
}`),ce=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
689
698
|
__typename
|
|
690
699
|
... on SwapByIntent {
|
|
691
700
|
...SwapByIntent
|
|
@@ -702,7 +711,7 @@
|
|
|
702
711
|
... on InsufficientLiquidityError {
|
|
703
712
|
...InsufficientLiquidityError
|
|
704
713
|
}
|
|
705
|
-
}`,[
|
|
714
|
+
}`,[Et,Ut,Ot,_t,b]),ge=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
706
715
|
__typename
|
|
707
716
|
... on PrepareSwapOrder {
|
|
708
717
|
...PrepareSwapOrder
|
|
@@ -710,7 +719,7 @@
|
|
|
710
719
|
... on InsufficientBalanceError {
|
|
711
720
|
...InsufficientBalanceError
|
|
712
721
|
}
|
|
713
|
-
}`,[
|
|
722
|
+
}`,[le,f]),Bt=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
714
723
|
__typename
|
|
715
724
|
transaction {
|
|
716
725
|
...TransactionRequest
|
|
@@ -718,7 +727,7 @@
|
|
|
718
727
|
orderReceipt {
|
|
719
728
|
...SwapReceipt
|
|
720
729
|
}
|
|
721
|
-
}`,[p,
|
|
730
|
+
}`,[p,ye]),de=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
722
731
|
__typename
|
|
723
732
|
... on SwapTransactionRequest {
|
|
724
733
|
...SwapTransactionRequest
|
|
@@ -729,7 +738,7 @@
|
|
|
729
738
|
... on InsufficientBalanceError {
|
|
730
739
|
...InsufficientBalanceError
|
|
731
740
|
}
|
|
732
|
-
}`,[
|
|
741
|
+
}`,[Bt,ye,f]),x=e(`fragment PositionAmount on PositionAmount {
|
|
733
742
|
__typename
|
|
734
743
|
reserve {
|
|
735
744
|
...ReserveInfo
|
|
@@ -737,7 +746,7 @@
|
|
|
737
746
|
amount {
|
|
738
747
|
...Erc20Amount
|
|
739
748
|
}
|
|
740
|
-
}`,[c,
|
|
749
|
+
}`,[c,i]),Ht=e(`fragment SupplySwap on SupplySwap {
|
|
741
750
|
__typename
|
|
742
751
|
sell {
|
|
743
752
|
...PositionAmount
|
|
@@ -747,7 +756,7 @@
|
|
|
747
756
|
}
|
|
748
757
|
kind
|
|
749
758
|
orderClass
|
|
750
|
-
}`,[x]),
|
|
759
|
+
}`,[x]),Qt=e(`fragment BorrowSwap on BorrowSwap {
|
|
751
760
|
__typename
|
|
752
761
|
sell {
|
|
753
762
|
...PositionAmount
|
|
@@ -757,7 +766,7 @@
|
|
|
757
766
|
}
|
|
758
767
|
kind
|
|
759
768
|
orderClass
|
|
760
|
-
}`,[x]),
|
|
769
|
+
}`,[x]),Wt=e(`fragment RepayWithSupply on RepayWithSupply {
|
|
761
770
|
__typename
|
|
762
771
|
repay {
|
|
763
772
|
...PositionAmount
|
|
@@ -767,7 +776,7 @@
|
|
|
767
776
|
}
|
|
768
777
|
kind
|
|
769
778
|
orderClass
|
|
770
|
-
}`,[x]),
|
|
779
|
+
}`,[x]),Vt=e(`fragment WithdrawSwap on WithdrawSwap {
|
|
771
780
|
__typename
|
|
772
781
|
withdraw {
|
|
773
782
|
...PositionAmount
|
|
@@ -777,7 +786,7 @@
|
|
|
777
786
|
}
|
|
778
787
|
kind
|
|
779
788
|
orderClass
|
|
780
|
-
}`,[x,
|
|
789
|
+
}`,[x,R]),Mt=e(`fragment TokenSwap on TokenSwap {
|
|
781
790
|
__typename
|
|
782
791
|
sell {
|
|
783
792
|
...TokenAmount
|
|
@@ -787,7 +796,7 @@
|
|
|
787
796
|
}
|
|
788
797
|
kind
|
|
789
798
|
orderClass
|
|
790
|
-
}`,[
|
|
799
|
+
}`,[R]),W=e(`fragment SwapOperation on SwapOperation {
|
|
791
800
|
__typename
|
|
792
801
|
... on SupplySwap {
|
|
793
802
|
...SupplySwap
|
|
@@ -804,7 +813,7 @@
|
|
|
804
813
|
... on TokenSwap {
|
|
805
814
|
...TokenSwap
|
|
806
815
|
}
|
|
807
|
-
}`,[
|
|
816
|
+
}`,[Ht,Qt,Wt,Vt,Mt]),$t=e(`fragment SwapCancelled on SwapCancelled {
|
|
808
817
|
__typename
|
|
809
818
|
swapId
|
|
810
819
|
createdAt
|
|
@@ -813,7 +822,7 @@
|
|
|
813
822
|
operation {
|
|
814
823
|
...SwapOperation
|
|
815
824
|
}
|
|
816
|
-
}`,[
|
|
825
|
+
}`,[W]),Nt=e(`fragment SwapExpired on SwapExpired {
|
|
817
826
|
__typename
|
|
818
827
|
swapId
|
|
819
828
|
createdAt
|
|
@@ -822,7 +831,7 @@
|
|
|
822
831
|
operation {
|
|
823
832
|
...SwapOperation
|
|
824
833
|
}
|
|
825
|
-
}`,[
|
|
834
|
+
}`,[W]),Dt=e(`fragment SwapOpen on SwapOpen {
|
|
826
835
|
__typename
|
|
827
836
|
swapId
|
|
828
837
|
createdAt
|
|
@@ -831,7 +840,7 @@
|
|
|
831
840
|
operation {
|
|
832
841
|
...SwapOperation
|
|
833
842
|
}
|
|
834
|
-
}`,[
|
|
843
|
+
}`,[W]),Lt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
835
844
|
__typename
|
|
836
845
|
swapId
|
|
837
846
|
createdAt
|
|
@@ -840,7 +849,7 @@
|
|
|
840
849
|
operation {
|
|
841
850
|
...SwapOperation
|
|
842
851
|
}
|
|
843
|
-
}`,[
|
|
852
|
+
}`,[W]),Gt=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
844
853
|
__typename
|
|
845
854
|
swapId
|
|
846
855
|
txHash
|
|
@@ -851,7 +860,7 @@
|
|
|
851
860
|
operation {
|
|
852
861
|
...SwapOperation
|
|
853
862
|
}
|
|
854
|
-
}`,[
|
|
863
|
+
}`,[W]),Y=e(`fragment SwapStatus on SwapStatus {
|
|
855
864
|
__typename
|
|
856
865
|
... on SwapOpen {
|
|
857
866
|
...SwapOpen
|
|
@@ -868,18 +877,18 @@
|
|
|
868
877
|
... on SwapFulfilled {
|
|
869
878
|
...SwapFulfilled
|
|
870
879
|
}
|
|
871
|
-
}`,[
|
|
880
|
+
}`,[Dt,Lt,$t,Nt,Gt]),Se=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
872
881
|
__typename
|
|
873
882
|
data {
|
|
874
883
|
...SwapTypedData
|
|
875
884
|
}
|
|
876
|
-
}`,[
|
|
885
|
+
}`,[Q]),Kt=e(`fragment SwapCancelledResult on SwapCancelledResult {
|
|
877
886
|
__typename
|
|
878
887
|
swapId
|
|
879
888
|
createdAt
|
|
880
889
|
cancelledAt
|
|
881
890
|
explorerUrl
|
|
882
|
-
}`),
|
|
891
|
+
}`),Re=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
883
892
|
__typename
|
|
884
893
|
... on TransactionRequest {
|
|
885
894
|
...TransactionRequest
|
|
@@ -887,7 +896,7 @@
|
|
|
887
896
|
... on SwapCancelledResult {
|
|
888
897
|
...SwapCancelledResult
|
|
889
898
|
}
|
|
890
|
-
}`,[p,
|
|
899
|
+
}`,[p,Kt]),fe=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
891
900
|
__typename
|
|
892
901
|
items {
|
|
893
902
|
...SwapStatus
|
|
@@ -895,12 +904,12 @@
|
|
|
895
904
|
pageInfo {
|
|
896
905
|
...PaginatedResultInfo
|
|
897
906
|
}
|
|
898
|
-
}`,[Y,
|
|
907
|
+
}`,[Y,d]),Yt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
899
908
|
__typename
|
|
900
909
|
bySignature {
|
|
901
910
|
...SwapTypedData
|
|
902
911
|
}
|
|
903
|
-
}`,[
|
|
912
|
+
}`,[Q]),zt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
904
913
|
__typename
|
|
905
914
|
byTransaction {
|
|
906
915
|
...TransactionRequest
|
|
@@ -908,12 +917,12 @@
|
|
|
908
917
|
bySignature {
|
|
909
918
|
...SwapTypedData
|
|
910
919
|
}
|
|
911
|
-
}`,[p,
|
|
920
|
+
}`,[p,Q]),Zt=e(`fragment PositionSwapSetCollateralApproval on PositionSwapSetCollateralApproval {
|
|
912
921
|
__typename
|
|
913
922
|
bySignature {
|
|
914
923
|
...SwapTypedData
|
|
915
924
|
}
|
|
916
|
-
}`,[
|
|
925
|
+
}`,[Q]),jt=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
917
926
|
__typename
|
|
918
927
|
... on PositionSwapAdapterContractApproval {
|
|
919
928
|
...PositionSwapAdapterContractApproval
|
|
@@ -924,7 +933,7 @@
|
|
|
924
933
|
... on PositionSwapSetCollateralApproval {
|
|
925
934
|
...PositionSwapSetCollateralApproval
|
|
926
935
|
}
|
|
927
|
-
}`,[
|
|
936
|
+
}`,[Yt,zt,Zt]),N=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
928
937
|
__typename
|
|
929
938
|
quote {
|
|
930
939
|
...SwapQuote
|
|
@@ -932,7 +941,7 @@
|
|
|
932
941
|
approvals {
|
|
933
942
|
...PositionSwapApproval
|
|
934
943
|
}
|
|
935
|
-
}`,[
|
|
944
|
+
}`,[H,jt]),we=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
936
945
|
__typename
|
|
937
946
|
... on PositionSwapByIntentApprovalsRequired {
|
|
938
947
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -940,7 +949,7 @@
|
|
|
940
949
|
... on InsufficientLiquidityError {
|
|
941
950
|
...InsufficientLiquidityError
|
|
942
951
|
}
|
|
943
|
-
}`,[N,b]),
|
|
952
|
+
}`,[N,b]),qe=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
944
953
|
__typename
|
|
945
954
|
... on PositionSwapByIntentApprovalsRequired {
|
|
946
955
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -948,7 +957,7 @@
|
|
|
948
957
|
... on InsufficientLiquidityError {
|
|
949
958
|
...InsufficientLiquidityError
|
|
950
959
|
}
|
|
951
|
-
}`,[N,b]),
|
|
960
|
+
}`,[N,b]),xe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
952
961
|
__typename
|
|
953
962
|
... on PositionSwapByIntentApprovalsRequired {
|
|
954
963
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -956,7 +965,7 @@
|
|
|
956
965
|
... on InsufficientLiquidityError {
|
|
957
966
|
...InsufficientLiquidityError
|
|
958
967
|
}
|
|
959
|
-
}`,[N,b]),
|
|
968
|
+
}`,[N,b]),Pe=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
960
969
|
__typename
|
|
961
970
|
... on PositionSwapByIntentApprovalsRequired {
|
|
962
971
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -964,7 +973,7 @@
|
|
|
964
973
|
... on InsufficientLiquidityError {
|
|
965
974
|
...InsufficientLiquidityError
|
|
966
975
|
}
|
|
967
|
-
}`,[N,b]),
|
|
976
|
+
}`,[N,b]),Ae=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
968
977
|
__typename
|
|
969
978
|
... on PrepareSwapOrder {
|
|
970
979
|
...PrepareSwapOrder
|
|
@@ -972,7 +981,7 @@
|
|
|
972
981
|
... on InsufficientBalanceError {
|
|
973
982
|
...InsufficientBalanceError
|
|
974
983
|
}
|
|
975
|
-
}`,[
|
|
984
|
+
}`,[le,f]);var he=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
976
985
|
__typename
|
|
977
986
|
id
|
|
978
987
|
reserve {
|
|
@@ -992,7 +1001,7 @@
|
|
|
992
1001
|
}
|
|
993
1002
|
isCollateral
|
|
994
1003
|
createdAt
|
|
995
|
-
}`,[
|
|
1004
|
+
}`,[i,I]),Fe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
996
1005
|
__typename
|
|
997
1006
|
id
|
|
998
1007
|
principal {
|
|
@@ -1008,7 +1017,7 @@
|
|
|
1008
1017
|
...Reserve
|
|
1009
1018
|
}
|
|
1010
1019
|
createdAt
|
|
1011
|
-
}`,[
|
|
1020
|
+
}`,[i,I]),be=e(`fragment UserSummary on UserSummary {
|
|
1012
1021
|
__typename
|
|
1013
1022
|
totalPositions
|
|
1014
1023
|
netBalance(currency: $currency) {
|
|
@@ -1030,7 +1039,7 @@
|
|
|
1030
1039
|
...ExchangeAmount
|
|
1031
1040
|
}
|
|
1032
1041
|
lowestHealthFactor
|
|
1033
|
-
}`,[A,m,a]),
|
|
1042
|
+
}`,[A,m,a]),Ie=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
1034
1043
|
__typename
|
|
1035
1044
|
token {
|
|
1036
1045
|
...Erc20Token
|
|
@@ -1044,7 +1053,7 @@
|
|
|
1044
1053
|
collateral {
|
|
1045
1054
|
...PercentNumber
|
|
1046
1055
|
}
|
|
1047
|
-
}`,[s,a]),
|
|
1056
|
+
}`,[s,a]),Jt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
1048
1057
|
__typename
|
|
1049
1058
|
current {
|
|
1050
1059
|
...PercentNumber
|
|
@@ -1109,7 +1118,7 @@
|
|
|
1109
1118
|
averageCollateralFactor {
|
|
1110
1119
|
...PercentNumber
|
|
1111
1120
|
}
|
|
1112
|
-
}`,[l,a,A,m,ee,ae,
|
|
1121
|
+
}`,[l,a,A,m,ee,ae,Jt]),Te=e(`fragment UserBalance on UserBalance {
|
|
1113
1122
|
__typename
|
|
1114
1123
|
id
|
|
1115
1124
|
info {
|
|
@@ -1142,7 +1151,7 @@
|
|
|
1142
1151
|
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
1143
1152
|
...PercentNumber
|
|
1144
1153
|
}
|
|
1145
|
-
}`,[k,y,
|
|
1154
|
+
}`,[k,y,R,m,a]),ve=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
1146
1155
|
__typename
|
|
1147
1156
|
netBalance(currency: $currency) {
|
|
1148
1157
|
...ExchangeAmount
|
|
@@ -1161,7 +1170,7 @@
|
|
|
1161
1170
|
avgRate {
|
|
1162
1171
|
...PercentNumber
|
|
1163
1172
|
}
|
|
1164
|
-
}`,[a]);var
|
|
1173
|
+
}`,[a]);var Xt=e(`fragment BoostedRate on BoostedRate {
|
|
1165
1174
|
__typename
|
|
1166
1175
|
id
|
|
1167
1176
|
name
|
|
@@ -1169,12 +1178,12 @@
|
|
|
1169
1178
|
apy {
|
|
1170
1179
|
...PercentNumber
|
|
1171
1180
|
}
|
|
1172
|
-
}`,[a]),
|
|
1181
|
+
}`,[a]),er=e(`fragment StableVaultSummary on StableVaultSummary {
|
|
1173
1182
|
__typename
|
|
1174
1183
|
shares
|
|
1175
1184
|
userCount
|
|
1176
1185
|
totalDeposits
|
|
1177
|
-
}`),
|
|
1186
|
+
}`),tr=e(`fragment StableVaultRates on StableVaultRates {
|
|
1178
1187
|
__typename
|
|
1179
1188
|
baseRate {
|
|
1180
1189
|
...PercentNumber
|
|
@@ -1183,7 +1192,7 @@
|
|
|
1183
1192
|
boostedRates {
|
|
1184
1193
|
...BoostedRate
|
|
1185
1194
|
}
|
|
1186
|
-
}`,[a,
|
|
1195
|
+
}`,[a,Xt]),D=e(`fragment StableVault on StableVault {
|
|
1187
1196
|
__typename
|
|
1188
1197
|
id
|
|
1189
1198
|
name
|
|
@@ -1198,7 +1207,7 @@
|
|
|
1198
1207
|
rates {
|
|
1199
1208
|
...StableVaultRates
|
|
1200
1209
|
}
|
|
1201
|
-
}`,[o,
|
|
1210
|
+
}`,[o,er,tr]),ke=e(`fragment StableVaultUserPosition on StableVaultUserPosition {
|
|
1202
1211
|
__typename
|
|
1203
1212
|
id
|
|
1204
1213
|
vault {
|
|
@@ -1221,13 +1230,13 @@
|
|
|
1221
1230
|
...PercentNumber
|
|
1222
1231
|
}
|
|
1223
1232
|
boostedRateId
|
|
1224
|
-
}`,[D,y,a]),
|
|
1233
|
+
}`,[D,y,a]),rr=e(`fragment TokenMovementAllocate on TokenMovementAllocate {
|
|
1225
1234
|
__typename
|
|
1226
1235
|
token {
|
|
1227
1236
|
...Erc20Token
|
|
1228
1237
|
}
|
|
1229
1238
|
amount
|
|
1230
|
-
}`,[s]),
|
|
1239
|
+
}`,[s]),ar=e(`fragment TokenMovementBridgeIn on TokenMovementBridgeIn {
|
|
1231
1240
|
__typename
|
|
1232
1241
|
fromToken {
|
|
1233
1242
|
...Erc20Token
|
|
@@ -1236,7 +1245,7 @@
|
|
|
1236
1245
|
...Erc20Token
|
|
1237
1246
|
}
|
|
1238
1247
|
amount
|
|
1239
|
-
}`,[s]),
|
|
1248
|
+
}`,[s]),nr=e(`fragment TokenMovementBridgeOut on TokenMovementBridgeOut {
|
|
1240
1249
|
__typename
|
|
1241
1250
|
fromToken {
|
|
1242
1251
|
...Erc20Token
|
|
@@ -1245,19 +1254,19 @@
|
|
|
1245
1254
|
...Erc20Token
|
|
1246
1255
|
}
|
|
1247
1256
|
amount
|
|
1248
|
-
}`,[s]),
|
|
1257
|
+
}`,[s]),or=e(`fragment TokenMovementDeallocate on TokenMovementDeallocate {
|
|
1249
1258
|
__typename
|
|
1250
1259
|
token {
|
|
1251
1260
|
...Erc20Token
|
|
1252
1261
|
}
|
|
1253
1262
|
amount
|
|
1254
|
-
}`,[s]),
|
|
1263
|
+
}`,[s]),pr=e(`fragment TokenMovementRebalance on TokenMovementRebalance {
|
|
1255
1264
|
__typename
|
|
1256
1265
|
token {
|
|
1257
1266
|
...Erc20Token
|
|
1258
1267
|
}
|
|
1259
1268
|
amount
|
|
1260
|
-
}`,[s]),
|
|
1269
|
+
}`,[s]),sr=e(`fragment TokenMovementSwap on TokenMovementSwap {
|
|
1261
1270
|
__typename
|
|
1262
1271
|
fromToken {
|
|
1263
1272
|
...Erc20Token
|
|
@@ -1267,7 +1276,7 @@
|
|
|
1267
1276
|
...Erc20Token
|
|
1268
1277
|
}
|
|
1269
1278
|
toAmount
|
|
1270
|
-
}`,[s]),
|
|
1279
|
+
}`,[s]),ir=e(`fragment TokenMovement on TokenMovement {
|
|
1271
1280
|
__typename
|
|
1272
1281
|
... on TokenMovementAllocate {
|
|
1273
1282
|
...TokenMovementAllocate
|
|
@@ -1287,7 +1296,7 @@
|
|
|
1287
1296
|
... on TokenMovementRebalance {
|
|
1288
1297
|
...TokenMovementRebalance
|
|
1289
1298
|
}
|
|
1290
|
-
}`,[
|
|
1299
|
+
}`,[rr,ar,nr,or,sr,pr]),ur=e(`fragment TokenMovementRecord on TokenMovementRecord {
|
|
1291
1300
|
__typename
|
|
1292
1301
|
id
|
|
1293
1302
|
type {
|
|
@@ -1296,7 +1305,7 @@
|
|
|
1296
1305
|
status
|
|
1297
1306
|
timestamp
|
|
1298
1307
|
txHash
|
|
1299
|
-
}`,[
|
|
1308
|
+
}`,[ir]),Ce=e(`fragment PaginatedStableVaultMovementsResult on PaginatedStableVaultMovementsResult {
|
|
1300
1309
|
__typename
|
|
1301
1310
|
items {
|
|
1302
1311
|
...TokenMovementRecord
|
|
@@ -1304,23 +1313,23 @@
|
|
|
1304
1313
|
pageInfo {
|
|
1305
1314
|
...PaginatedResultInfo
|
|
1306
1315
|
}
|
|
1307
|
-
}`,[
|
|
1316
|
+
}`,[ur,d]),Ee=e(`fragment PaginatedStableVaultRateUsersResult on PaginatedStableVaultRateUsersResult {
|
|
1308
1317
|
__typename
|
|
1309
1318
|
items
|
|
1310
1319
|
pageInfo {
|
|
1311
1320
|
...PaginatedResultInfo
|
|
1312
1321
|
}
|
|
1313
|
-
}`,[
|
|
1322
|
+
}`,[d]),mr=e(`fragment StableVaultWithdrawClaim on StableVaultWithdrawClaim {
|
|
1314
1323
|
__typename
|
|
1315
1324
|
claimId
|
|
1316
1325
|
transaction {
|
|
1317
1326
|
...TransactionRequest
|
|
1318
1327
|
}
|
|
1319
1328
|
executableAfter
|
|
1320
|
-
}`,[p]),
|
|
1329
|
+
}`,[p]),lr=e(`fragment StableVaultPendingAvailability on StableVaultPendingAvailability {
|
|
1321
1330
|
__typename
|
|
1322
1331
|
executableAfter
|
|
1323
|
-
}`),
|
|
1332
|
+
}`),Ue=e(`fragment StableVaultDepositExecutionPlan on StableVaultDepositExecutionPlan {
|
|
1324
1333
|
__typename
|
|
1325
1334
|
... on TransactionRequest {
|
|
1326
1335
|
...TransactionRequest
|
|
@@ -1331,7 +1340,7 @@
|
|
|
1331
1340
|
... on InsufficientBalanceError {
|
|
1332
1341
|
...InsufficientBalanceError
|
|
1333
1342
|
}
|
|
1334
|
-
}`,[p,_,f]),
|
|
1343
|
+
}`,[p,_,f]),Oe=e(`fragment StableVaultWithdrawExecutionPlan on StableVaultWithdrawExecutionPlan {
|
|
1335
1344
|
__typename
|
|
1336
1345
|
... on TransactionRequest {
|
|
1337
1346
|
...TransactionRequest
|
|
@@ -1339,7 +1348,7 @@
|
|
|
1339
1348
|
... on StableVaultWithdrawClaim {
|
|
1340
1349
|
...StableVaultWithdrawClaim
|
|
1341
1350
|
}
|
|
1342
|
-
}`,[p,
|
|
1351
|
+
}`,[p,mr]),_e=e(`fragment StableVaultWithdrawRedeemExecutionPlan on StableVaultWithdrawRedeemExecutionPlan {
|
|
1343
1352
|
__typename
|
|
1344
1353
|
... on TransactionRequest {
|
|
1345
1354
|
...TransactionRequest
|
|
@@ -1347,19 +1356,19 @@
|
|
|
1347
1356
|
... on StableVaultPendingAvailability {
|
|
1348
1357
|
...StableVaultPendingAvailability
|
|
1349
1358
|
}
|
|
1350
|
-
}`,[p,
|
|
1359
|
+
}`,[p,lr]);var Ga=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1351
1360
|
value: hub(request: $request) {
|
|
1352
1361
|
...Hub
|
|
1353
1362
|
}
|
|
1354
|
-
}`,[h]),
|
|
1363
|
+
}`,[h]),Ka=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1355
1364
|
value: hubs(request: $request) {
|
|
1356
1365
|
...Hub
|
|
1357
1366
|
}
|
|
1358
|
-
}`,[h]),
|
|
1367
|
+
}`,[h]),Ya=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1359
1368
|
value: hubAssets(request: $request) {
|
|
1360
1369
|
...HubAsset
|
|
1361
1370
|
}
|
|
1362
|
-
}`,[C]),
|
|
1371
|
+
}`,[C]),yr=e(`fragment HubSummarySample on HubSummarySample {
|
|
1363
1372
|
__typename
|
|
1364
1373
|
date
|
|
1365
1374
|
deposits {
|
|
@@ -1374,11 +1383,11 @@
|
|
|
1374
1383
|
utilizationRate {
|
|
1375
1384
|
...PercentNumber
|
|
1376
1385
|
}
|
|
1377
|
-
}`,[m,a]),
|
|
1386
|
+
}`,[m,a]),za=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
1378
1387
|
value: hubSummaryHistory(request: $request) {
|
|
1379
1388
|
...HubSummarySample
|
|
1380
1389
|
}
|
|
1381
|
-
}`,[
|
|
1390
|
+
}`,[yr]),cr=e(`fragment HubAssetInterestRateModelPoint on HubAssetInterestRateModelPoint {
|
|
1382
1391
|
__typename
|
|
1383
1392
|
utilizationRate {
|
|
1384
1393
|
...PercentNumber
|
|
@@ -1392,33 +1401,33 @@
|
|
|
1392
1401
|
liquidityDistance {
|
|
1393
1402
|
...Erc20Amount
|
|
1394
1403
|
}
|
|
1395
|
-
}`,[a,
|
|
1404
|
+
}`,[a,i]),Za=e(`query HubAssetInterestRateModel($request: HubAssetInterestRateModelRequest!, $currency: Currency!) {
|
|
1396
1405
|
value: hubAssetInterestRateModel(request: $request) {
|
|
1397
1406
|
points {
|
|
1398
1407
|
...HubAssetInterestRateModelPoint
|
|
1399
1408
|
}
|
|
1400
1409
|
}
|
|
1401
|
-
}`,[
|
|
1410
|
+
}`,[cr]);function G(t){return new TextDecoder().decode(Uint8Array.from(atob(t),q=>q.charCodeAt(0)))}function K(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var w="::";function Xa(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 en(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid BoostedRateId: ${t}`),t}function gr(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 tn(t){return gr(K(`${t.chainId}${w}${t.address}`))}function rn(t){let q=G(t),[r,n]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function an(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 nn(t){return t}function on(t){let q=G(t),[r,n,P]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),onChainId:P}}function pn(t){return K(`${t.chainId}${w}${t.spoke}${w}${t.onChainId}`)}function dr(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 sn(t){let q=G(t),[r,n,P]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(n),user:types.evmAddress(P)}}function un(t){return dr(K(`${t.chainId}${w}${t.spoke}${w}${t.user}`))}function mn(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function ln(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function yn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultId: ${t}`),t}function cn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultUserPositionId: ${t}`),t}function gn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid StableVaultWithdrawClaimId: ${t}`),t}function dn(t){return Sr(K(`${t.chainId}${w}${t.address}`))}function Sn(t){let q=G(t),[r,n]=q.split(w);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(n)}}function Sr(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 Rn(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 fn(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 wn(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 qn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function xn(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenMovementId: ${t}`),t}function hn(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function Fn(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function bn(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function In(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Tn(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function vn(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Un=e(`query Chain($request: ChainRequest!) {
|
|
1402
1411
|
value: chain(request: $request) {
|
|
1403
1412
|
...Chain
|
|
1404
1413
|
}
|
|
1405
|
-
}`,[o]),
|
|
1414
|
+
}`,[o]),On=e(`query Chains($request: ChainsRequest!) {
|
|
1406
1415
|
value: chains(request: $request) {
|
|
1407
1416
|
...Chain
|
|
1408
1417
|
}
|
|
1409
|
-
}`,[o]),
|
|
1418
|
+
}`,[o]),_n=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
1410
1419
|
value: hasProcessedKnownTransaction(request: $request)
|
|
1411
|
-
}`),
|
|
1420
|
+
}`),Bn=e(`query Health {
|
|
1412
1421
|
value: health
|
|
1413
|
-
}`),
|
|
1422
|
+
}`),Hn=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
1414
1423
|
value: exchangeRate(request: $request) {
|
|
1415
1424
|
...ExchangeAmount
|
|
1416
1425
|
}
|
|
1417
|
-
}`,[m]);var
|
|
1426
|
+
}`,[m]);var Rr=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
1418
1427
|
__typename
|
|
1419
1428
|
date
|
|
1420
1429
|
price
|
|
1421
|
-
}`),
|
|
1430
|
+
}`),He=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
|
|
1422
1431
|
__typename
|
|
1423
1432
|
amount {
|
|
1424
1433
|
...DecimalNumber
|
|
@@ -1429,7 +1438,7 @@
|
|
|
1429
1438
|
hub {
|
|
1430
1439
|
...Hub
|
|
1431
1440
|
}
|
|
1432
|
-
}`,[y,a,h]),
|
|
1441
|
+
}`,[y,a,h]),fr=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
1433
1442
|
__typename
|
|
1434
1443
|
date
|
|
1435
1444
|
amount {
|
|
@@ -1447,7 +1456,7 @@
|
|
|
1447
1456
|
breakdown {
|
|
1448
1457
|
...AssetSampleBreakdown
|
|
1449
1458
|
}
|
|
1450
|
-
}`,[y,a,
|
|
1459
|
+
}`,[y,a,He]),wr=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
1451
1460
|
__typename
|
|
1452
1461
|
date
|
|
1453
1462
|
amount {
|
|
@@ -1465,7 +1474,7 @@
|
|
|
1465
1474
|
breakdown {
|
|
1466
1475
|
...AssetSampleBreakdown
|
|
1467
1476
|
}
|
|
1468
|
-
}`,[y,a,
|
|
1477
|
+
}`,[y,a,He]),qr=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1469
1478
|
__typename
|
|
1470
1479
|
amount {
|
|
1471
1480
|
...DecimalNumberWithChange
|
|
@@ -1473,7 +1482,7 @@
|
|
|
1473
1482
|
exchange(currency: $currency) {
|
|
1474
1483
|
...ExchangeAmountWithChange
|
|
1475
1484
|
}
|
|
1476
|
-
}`,[j,A]),
|
|
1485
|
+
}`,[j,A]),xr=e(`fragment AssetSummary on AssetSummary {
|
|
1477
1486
|
__typename
|
|
1478
1487
|
totalSupplyCap {
|
|
1479
1488
|
...AssetAmountWithChange
|
|
@@ -1499,7 +1508,7 @@
|
|
|
1499
1508
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
1500
1509
|
...PercentNumber
|
|
1501
1510
|
}
|
|
1502
|
-
}`,[
|
|
1511
|
+
}`,[qr,a]),Pr=e(`fragment Asset on Asset {
|
|
1503
1512
|
__typename
|
|
1504
1513
|
id
|
|
1505
1514
|
token {
|
|
@@ -1511,23 +1520,23 @@
|
|
|
1511
1520
|
price(currency: $currency) {
|
|
1512
1521
|
...ExchangeAmountWithChange
|
|
1513
1522
|
}
|
|
1514
|
-
}`,[s,
|
|
1523
|
+
}`,[s,xr,A]),Mn=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1515
1524
|
value: asset(request: $request) {
|
|
1516
1525
|
...Asset
|
|
1517
1526
|
}
|
|
1518
|
-
}`,[
|
|
1527
|
+
}`,[Pr]),$n=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
1519
1528
|
value: assetPriceHistory(request: $request) {
|
|
1520
1529
|
...AssetPriceSample
|
|
1521
1530
|
}
|
|
1522
|
-
}`,[
|
|
1531
|
+
}`,[Rr]),Nn=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1523
1532
|
value: assetSupplyHistory(request: $request) {
|
|
1524
1533
|
...AssetSupplySample
|
|
1525
1534
|
}
|
|
1526
|
-
}`,[
|
|
1535
|
+
}`,[fr]),Dn=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1527
1536
|
value: assetBorrowHistory(request: $request) {
|
|
1528
1537
|
...AssetBorrowSample
|
|
1529
1538
|
}
|
|
1530
|
-
}`,[
|
|
1539
|
+
}`,[wr]),Ar=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1531
1540
|
__typename
|
|
1532
1541
|
date
|
|
1533
1542
|
deposits {
|
|
@@ -1536,119 +1545,128 @@
|
|
|
1536
1545
|
borrows {
|
|
1537
1546
|
...ExchangeAmount
|
|
1538
1547
|
}
|
|
1539
|
-
}`,[m]),
|
|
1548
|
+
}`,[m]),Ln=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1540
1549
|
value: protocolHistory(request: $request) {
|
|
1541
1550
|
...ProtocolHistorySample
|
|
1542
1551
|
}
|
|
1543
|
-
}`,[
|
|
1552
|
+
}`,[Ar]);var zn=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
1544
1553
|
value: borrowApyHistory(request: $request) {
|
|
1545
1554
|
...ApySample
|
|
1546
1555
|
}
|
|
1547
|
-
}`,[Z]),
|
|
1556
|
+
}`,[Z]),Zn=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1548
1557
|
value: supplyApyHistory(request: $request) {
|
|
1549
1558
|
...ApySample
|
|
1550
1559
|
}
|
|
1551
|
-
}`,[Z]),
|
|
1560
|
+
}`,[Z]),jn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1552
1561
|
value: reserve(request: $request) {
|
|
1553
1562
|
...Reserve
|
|
1554
1563
|
}
|
|
1555
|
-
}`,[I]),
|
|
1564
|
+
}`,[I]),Jn=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1556
1565
|
value: reserves(request: $request) {
|
|
1557
1566
|
...Reserve
|
|
1558
1567
|
}
|
|
1559
|
-
}`,[I])
|
|
1568
|
+
}`,[I]),Xn=e(`query ReserveHolders($request: PaginatedReserveHoldersRequest!, $currency: Currency!) {
|
|
1569
|
+
value: reserveHolders(request: $request) {
|
|
1570
|
+
items {
|
|
1571
|
+
...ReserveHolder
|
|
1572
|
+
}
|
|
1573
|
+
pageInfo {
|
|
1574
|
+
...PaginatedResultInfo
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
}`,[me,d]);var ao=e(`query ClaimRewards($request: ClaimRewardsRequest!) {
|
|
1560
1578
|
value: claimRewards(request: $request) {
|
|
1561
1579
|
...TransactionRequest
|
|
1562
1580
|
}
|
|
1563
|
-
}`,[p]),
|
|
1581
|
+
}`,[p]),no=e(`query UserClaimableRewards($request: UserClaimableRewardsRequest!, $currency: Currency! = USD) {
|
|
1564
1582
|
value: userClaimableRewards(request: $request) {
|
|
1565
1583
|
...UserClaimableReward
|
|
1566
1584
|
}
|
|
1567
|
-
}`,[se]);var
|
|
1585
|
+
}`,[se]);var io=e(`query Spoke($request: SpokeRequest!) {
|
|
1568
1586
|
value: spoke(request: $request) {
|
|
1569
1587
|
...Spoke
|
|
1570
1588
|
}
|
|
1571
|
-
}`,[l]),
|
|
1589
|
+
}`,[l]),uo=e(`query Spokes($request: SpokesRequest!) {
|
|
1572
1590
|
value: spokes(request: $request) {
|
|
1573
1591
|
...Spoke
|
|
1574
1592
|
}
|
|
1575
|
-
}`,[l]),
|
|
1593
|
+
}`,[l]),mo=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
1576
1594
|
value: spokePositionManagers(request: $request) {
|
|
1577
1595
|
...PaginatedSpokePositionManagerResult
|
|
1578
1596
|
}
|
|
1579
|
-
}`,[ie]),
|
|
1597
|
+
}`,[ie]),lo=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1580
1598
|
value: spokeUserPositionManagers(request: $request) {
|
|
1581
1599
|
...PaginatedSpokeUserPositionManagerResult
|
|
1582
1600
|
}
|
|
1583
|
-
}`,[ue]);var
|
|
1601
|
+
}`,[ue]);var So=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1584
1602
|
value: tokenSwapQuote(request: $request) {
|
|
1585
1603
|
...TokenSwapQuoteResult
|
|
1586
1604
|
}
|
|
1587
|
-
}`,[
|
|
1605
|
+
}`,[ce]),Ro=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1588
1606
|
value: swappableTokens(request: $request) {
|
|
1589
1607
|
...Token
|
|
1590
1608
|
}
|
|
1591
|
-
}`,[X]),
|
|
1609
|
+
}`,[X]),fo=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1592
1610
|
value: prepareTokenSwap(request: $request) {
|
|
1593
1611
|
...PrepareTokenSwapResult
|
|
1594
1612
|
}
|
|
1595
|
-
}`,[
|
|
1613
|
+
}`,[ge]),wo=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1596
1614
|
value: swapStatus(request: $request) {
|
|
1597
1615
|
...SwapStatus
|
|
1598
1616
|
}
|
|
1599
|
-
}`,[Y]),
|
|
1617
|
+
}`,[Y]),qo=e(`mutation Swap($request: SwapRequest!) {
|
|
1600
1618
|
value: swap(request: $request) {
|
|
1601
1619
|
...SwapExecutionPlan
|
|
1602
1620
|
}
|
|
1603
|
-
}`,[
|
|
1621
|
+
}`,[de]),xo=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1604
1622
|
value: prepareSwapCancel(request: $request) {
|
|
1605
1623
|
...PrepareSwapCancelResult
|
|
1606
1624
|
}
|
|
1607
|
-
}`,[
|
|
1625
|
+
}`,[Se]),Po=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1608
1626
|
value: cancelSwap(request: $request) {
|
|
1609
1627
|
...CancelSwapExecutionPlan
|
|
1610
1628
|
}
|
|
1611
|
-
}`,[
|
|
1629
|
+
}`,[Re]),Ao=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1612
1630
|
value: userSwaps(request: $request) {
|
|
1613
1631
|
...PaginatedUserSwapsResult
|
|
1614
1632
|
}
|
|
1615
|
-
}`,[
|
|
1633
|
+
}`,[fe]),ho=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1616
1634
|
value: supplySwapQuote(request: $request) {
|
|
1617
1635
|
...SupplySwapQuoteResult
|
|
1618
1636
|
}
|
|
1619
|
-
}`,[
|
|
1637
|
+
}`,[we]),Fo=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1620
1638
|
value: borrowSwapQuote(request: $request) {
|
|
1621
1639
|
...BorrowSwapQuoteResult
|
|
1622
1640
|
}
|
|
1623
|
-
}`,[
|
|
1641
|
+
}`,[qe]),bo=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1624
1642
|
value: repayWithSupplyQuote(request: $request) {
|
|
1625
1643
|
...RepayWithSupplyQuoteResult
|
|
1626
1644
|
}
|
|
1627
|
-
}`,[
|
|
1645
|
+
}`,[xe]),Io=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1628
1646
|
value: withdrawSwapQuote(request: $request) {
|
|
1629
1647
|
...WithdrawSwapQuoteResult
|
|
1630
1648
|
}
|
|
1631
|
-
}`,[
|
|
1649
|
+
}`,[Pe]),To=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1632
1650
|
value: preparePositionSwap(request: $request) {
|
|
1633
1651
|
...PreparePositionSwapResult
|
|
1634
1652
|
}
|
|
1635
|
-
}`,[
|
|
1653
|
+
}`,[Ae]);var Eo=e(`query Borrow($request: BorrowRequest!) {
|
|
1636
1654
|
value: borrow(request: $request) {
|
|
1637
1655
|
...ExecutionPlan
|
|
1638
1656
|
}
|
|
1639
|
-
}`,[B]),
|
|
1657
|
+
}`,[B]),Uo=e(`query Supply($request: SupplyRequest!) {
|
|
1640
1658
|
value: supply(request: $request) {
|
|
1641
1659
|
...ExecutionPlan
|
|
1642
1660
|
}
|
|
1643
|
-
}`,[B]),
|
|
1661
|
+
}`,[B]),Oo=e(`query Repay($request: RepayRequest!) {
|
|
1644
1662
|
value: repay(request: $request) {
|
|
1645
1663
|
...ExecutionPlan
|
|
1646
1664
|
}
|
|
1647
|
-
}`,[B]),
|
|
1665
|
+
}`,[B]),_o=e(`query Withdraw($request: WithdrawRequest!) {
|
|
1648
1666
|
value: withdraw(request: $request) {
|
|
1649
1667
|
...ExecutionPlan
|
|
1650
1668
|
}
|
|
1651
|
-
}`,[B]),
|
|
1669
|
+
}`,[B]),hr=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1652
1670
|
__typename
|
|
1653
1671
|
... on TransactionRequest {
|
|
1654
1672
|
...TransactionRequest
|
|
@@ -1659,27 +1677,27 @@
|
|
|
1659
1677
|
... on InsufficientBalanceError {
|
|
1660
1678
|
...InsufficientBalanceError
|
|
1661
1679
|
}
|
|
1662
|
-
}`,[p,_,f]),
|
|
1680
|
+
}`,[p,_,f]),Bo=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1663
1681
|
value: liquidatePosition(request: $request) {
|
|
1664
1682
|
...LiquidatePositionExecutionPlan
|
|
1665
1683
|
}
|
|
1666
|
-
}`,[
|
|
1684
|
+
}`,[hr]),Ho=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1667
1685
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1668
1686
|
...TransactionRequest
|
|
1669
1687
|
}
|
|
1670
|
-
}`,[p]),
|
|
1688
|
+
}`,[p]),Qo=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1671
1689
|
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1672
1690
|
...TransactionRequest
|
|
1673
1691
|
}
|
|
1674
|
-
}`,[p]),
|
|
1692
|
+
}`,[p]),Wo=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1675
1693
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1676
1694
|
...TransactionRequest
|
|
1677
1695
|
}
|
|
1678
|
-
}`,[p]),
|
|
1696
|
+
}`,[p]),Vo=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1679
1697
|
value: updateUserPositionConditions(request: $request) {
|
|
1680
1698
|
...TransactionRequest
|
|
1681
1699
|
}
|
|
1682
|
-
}`,[p]),
|
|
1700
|
+
}`,[p]),Fr=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1683
1701
|
__typename
|
|
1684
1702
|
reserveId
|
|
1685
1703
|
token {
|
|
@@ -1691,7 +1709,7 @@
|
|
|
1691
1709
|
after {
|
|
1692
1710
|
...PercentNumber
|
|
1693
1711
|
}
|
|
1694
|
-
}`,[s,a]),
|
|
1712
|
+
}`,[s,a]),br=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1695
1713
|
__typename
|
|
1696
1714
|
reserveId
|
|
1697
1715
|
token {
|
|
@@ -1703,7 +1721,7 @@
|
|
|
1703
1721
|
after {
|
|
1704
1722
|
...PercentNumber
|
|
1705
1723
|
}
|
|
1706
|
-
}`,[s,a]),
|
|
1724
|
+
}`,[s,a]),Ir=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1707
1725
|
__typename
|
|
1708
1726
|
reserveId
|
|
1709
1727
|
token {
|
|
@@ -1715,7 +1733,7 @@
|
|
|
1715
1733
|
after {
|
|
1716
1734
|
...PercentNumber
|
|
1717
1735
|
}
|
|
1718
|
-
}`,[s,a]),
|
|
1736
|
+
}`,[s,a]),Tr=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1719
1737
|
__typename
|
|
1720
1738
|
... on CollateralFactorVariation {
|
|
1721
1739
|
...CollateralFactorVariation
|
|
@@ -1726,7 +1744,7 @@
|
|
|
1726
1744
|
... on MaxLiquidationBonusVariation {
|
|
1727
1745
|
...MaxLiquidationBonusVariation
|
|
1728
1746
|
}
|
|
1729
|
-
}`,[
|
|
1747
|
+
}`,[Fr,br,Ir]),vr=e(`fragment PreviewMerklSupplyReward on PreviewMerklSupplyReward {
|
|
1730
1748
|
__typename
|
|
1731
1749
|
id
|
|
1732
1750
|
startDate
|
|
@@ -1743,7 +1761,7 @@
|
|
|
1743
1761
|
reserve {
|
|
1744
1762
|
...ReserveInfo
|
|
1745
1763
|
}
|
|
1746
|
-
}`,[a,s,E,c]),
|
|
1764
|
+
}`,[a,s,E,c]),kr=e(`fragment PreviewMerklBorrowReward on PreviewMerklBorrowReward {
|
|
1747
1765
|
__typename
|
|
1748
1766
|
id
|
|
1749
1767
|
startDate
|
|
@@ -1760,7 +1778,7 @@
|
|
|
1760
1778
|
reserve {
|
|
1761
1779
|
...ReserveInfo
|
|
1762
1780
|
}
|
|
1763
|
-
}`,[a,s,E,c]),
|
|
1781
|
+
}`,[a,s,E,c]),Cr=e(`fragment PreviewSupplyPoints on PreviewSupplyPointsReward {
|
|
1764
1782
|
__typename
|
|
1765
1783
|
id
|
|
1766
1784
|
program {
|
|
@@ -1776,7 +1794,7 @@
|
|
|
1776
1794
|
reserve {
|
|
1777
1795
|
...ReserveInfo
|
|
1778
1796
|
}
|
|
1779
|
-
}`,[O,U,c]),
|
|
1797
|
+
}`,[O,U,c]),Er=e(`fragment PreviewBorrowPoints on PreviewBorrowPointsReward {
|
|
1780
1798
|
__typename
|
|
1781
1799
|
id
|
|
1782
1800
|
program {
|
|
@@ -1792,7 +1810,7 @@
|
|
|
1792
1810
|
reserve {
|
|
1793
1811
|
...ReserveInfo
|
|
1794
1812
|
}
|
|
1795
|
-
}`,[O,U,c]),
|
|
1813
|
+
}`,[O,U,c]),Ur=e(`fragment PreviewReward on PreviewReward {
|
|
1796
1814
|
__typename
|
|
1797
1815
|
... on PreviewMerklSupplyReward {
|
|
1798
1816
|
...PreviewMerklSupplyReward
|
|
@@ -1806,7 +1824,7 @@
|
|
|
1806
1824
|
... on PreviewBorrowPointsReward {
|
|
1807
1825
|
...PreviewBorrowPoints
|
|
1808
1826
|
}
|
|
1809
|
-
}`,[
|
|
1827
|
+
}`,[vr,kr,Cr,Er]),Or=e(`fragment PreviewRewardOutcome on PreviewRewardOutcome {
|
|
1810
1828
|
__typename
|
|
1811
1829
|
lost {
|
|
1812
1830
|
...PreviewReward
|
|
@@ -1814,7 +1832,7 @@
|
|
|
1814
1832
|
gained {
|
|
1815
1833
|
...PreviewReward
|
|
1816
1834
|
}
|
|
1817
|
-
}`,[
|
|
1835
|
+
}`,[Ur]),_r=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1818
1836
|
__typename
|
|
1819
1837
|
id
|
|
1820
1838
|
healthFactor {
|
|
@@ -1855,11 +1873,11 @@
|
|
|
1855
1873
|
otherConditions {
|
|
1856
1874
|
...UserPositionConditionVariation
|
|
1857
1875
|
}
|
|
1858
|
-
}`,[ne,te,re,
|
|
1876
|
+
}`,[ne,te,re,Or,Tr]),Mo=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1859
1877
|
value: preview(request: $request) {
|
|
1860
1878
|
...PreviewUserPosition
|
|
1861
1879
|
}
|
|
1862
|
-
}`,[
|
|
1880
|
+
}`,[_r]),Qe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1863
1881
|
__typename
|
|
1864
1882
|
before {
|
|
1865
1883
|
...PercentNumber
|
|
@@ -1867,7 +1885,7 @@
|
|
|
1867
1885
|
after {
|
|
1868
1886
|
...PercentNumber
|
|
1869
1887
|
}
|
|
1870
|
-
}`,[a]),
|
|
1888
|
+
}`,[a]),Br=e(`fragment BorrowActivity on BorrowActivity {
|
|
1871
1889
|
__typename
|
|
1872
1890
|
id
|
|
1873
1891
|
user
|
|
@@ -1885,7 +1903,7 @@
|
|
|
1885
1903
|
chain {
|
|
1886
1904
|
...Chain
|
|
1887
1905
|
}
|
|
1888
|
-
}`,[l,
|
|
1906
|
+
}`,[l,i,c,o]),Hr=e(`fragment SupplyActivity on SupplyActivity {
|
|
1889
1907
|
__typename
|
|
1890
1908
|
id
|
|
1891
1909
|
user
|
|
@@ -1903,7 +1921,7 @@
|
|
|
1903
1921
|
chain {
|
|
1904
1922
|
...Chain
|
|
1905
1923
|
}
|
|
1906
|
-
}`,[l,
|
|
1924
|
+
}`,[l,i,c,o]),Qr=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1907
1925
|
__typename
|
|
1908
1926
|
id
|
|
1909
1927
|
user
|
|
@@ -1921,7 +1939,7 @@
|
|
|
1921
1939
|
chain {
|
|
1922
1940
|
...Chain
|
|
1923
1941
|
}
|
|
1924
|
-
}`,[l,
|
|
1942
|
+
}`,[l,i,c,o]),Wr=e(`fragment RepayActivity on RepayActivity {
|
|
1925
1943
|
__typename
|
|
1926
1944
|
id
|
|
1927
1945
|
user
|
|
@@ -1939,7 +1957,7 @@
|
|
|
1939
1957
|
chain {
|
|
1940
1958
|
...Chain
|
|
1941
1959
|
}
|
|
1942
|
-
}`,[l,
|
|
1960
|
+
}`,[l,i,c,o]),Vr=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1943
1961
|
__typename
|
|
1944
1962
|
id
|
|
1945
1963
|
user
|
|
@@ -1964,7 +1982,7 @@
|
|
|
1964
1982
|
chain {
|
|
1965
1983
|
...Chain
|
|
1966
1984
|
}
|
|
1967
|
-
}`,[l,
|
|
1985
|
+
}`,[l,i,c,o]),Mr=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1968
1986
|
__typename
|
|
1969
1987
|
id
|
|
1970
1988
|
user
|
|
@@ -1980,7 +1998,7 @@
|
|
|
1980
1998
|
chain {
|
|
1981
1999
|
...Chain
|
|
1982
2000
|
}
|
|
1983
|
-
}`,[l,c,o])
|
|
2001
|
+
}`,[l,c,o]),$r=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1984
2002
|
__typename
|
|
1985
2003
|
id
|
|
1986
2004
|
user
|
|
@@ -2004,7 +2022,7 @@
|
|
|
2004
2022
|
chain {
|
|
2005
2023
|
...Chain
|
|
2006
2024
|
}
|
|
2007
|
-
}`,[l,c,Qe,o]),
|
|
2025
|
+
}`,[l,c,Qe,o]),Nr=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
2008
2026
|
__typename
|
|
2009
2027
|
id
|
|
2010
2028
|
user
|
|
@@ -2019,7 +2037,7 @@
|
|
|
2019
2037
|
chain {
|
|
2020
2038
|
...Chain
|
|
2021
2039
|
}
|
|
2022
|
-
}`,[l,Qe,o])
|
|
2040
|
+
}`,[l,Qe,o]),Dr=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
2023
2041
|
__typename
|
|
2024
2042
|
id
|
|
2025
2043
|
user
|
|
@@ -2038,7 +2056,7 @@
|
|
|
2038
2056
|
orderClass
|
|
2039
2057
|
kind
|
|
2040
2058
|
status
|
|
2041
|
-
}`,[o,
|
|
2059
|
+
}`,[o,R]),Lr=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
2042
2060
|
__typename
|
|
2043
2061
|
id
|
|
2044
2062
|
user
|
|
@@ -2057,7 +2075,7 @@
|
|
|
2057
2075
|
orderClass
|
|
2058
2076
|
kind
|
|
2059
2077
|
status
|
|
2060
|
-
}`,[o,x]),
|
|
2078
|
+
}`,[o,x]),Gr=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
2061
2079
|
__typename
|
|
2062
2080
|
id
|
|
2063
2081
|
user
|
|
@@ -2076,7 +2094,7 @@
|
|
|
2076
2094
|
orderClass
|
|
2077
2095
|
kind
|
|
2078
2096
|
status
|
|
2079
|
-
}`,[o,x]),
|
|
2097
|
+
}`,[o,x]),Kr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
2080
2098
|
__typename
|
|
2081
2099
|
id
|
|
2082
2100
|
user
|
|
@@ -2095,7 +2113,7 @@
|
|
|
2095
2113
|
orderClass
|
|
2096
2114
|
kind
|
|
2097
2115
|
status
|
|
2098
|
-
}`,[o,x]),
|
|
2116
|
+
}`,[o,x]),Yr=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
2099
2117
|
__typename
|
|
2100
2118
|
id
|
|
2101
2119
|
user
|
|
@@ -2114,7 +2132,7 @@
|
|
|
2114
2132
|
orderClass
|
|
2115
2133
|
kind
|
|
2116
2134
|
status
|
|
2117
|
-
}`,[o,x,
|
|
2135
|
+
}`,[o,x,R]),zr=e(`fragment ActivityItem on ActivityItem {
|
|
2118
2136
|
__typename
|
|
2119
2137
|
... on BorrowActivity {
|
|
2120
2138
|
...BorrowActivity
|
|
@@ -2155,7 +2173,7 @@
|
|
|
2155
2173
|
... on WithdrawSwapActivity {
|
|
2156
2174
|
...WithdrawSwapActivity
|
|
2157
2175
|
}
|
|
2158
|
-
}`,[
|
|
2176
|
+
}`,[Br,Hr,Qr,Wr,Vr,Mr,$r,Nr,Dr,Lr,Gr,Kr,Yr]),Zr=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
2159
2177
|
__typename
|
|
2160
2178
|
items {
|
|
2161
2179
|
...ActivityItem
|
|
@@ -2163,87 +2181,87 @@
|
|
|
2163
2181
|
pageInfo {
|
|
2164
2182
|
...PaginatedResultInfo
|
|
2165
2183
|
}
|
|
2166
|
-
}`,[
|
|
2184
|
+
}`,[zr,d]),$o=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2167
2185
|
value: activities(request: $request) {
|
|
2168
2186
|
...PaginatedActivitiesResult
|
|
2169
2187
|
}
|
|
2170
|
-
}`,[
|
|
2188
|
+
}`,[Zr]);var Go=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2171
2189
|
value: userSupplies(request: $request) {
|
|
2172
2190
|
...UserSupplyItem
|
|
2173
2191
|
}
|
|
2174
|
-
}`,[
|
|
2192
|
+
}`,[he]),Ko=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2175
2193
|
value: userBorrows(request: $request) {
|
|
2176
2194
|
...UserBorrowItem
|
|
2177
2195
|
}
|
|
2178
|
-
}`,[
|
|
2196
|
+
}`,[Fe]),Yo=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2179
2197
|
value: userSummary(request: $request) {
|
|
2180
2198
|
...UserSummary
|
|
2181
2199
|
}
|
|
2182
|
-
}`,[
|
|
2200
|
+
}`,[be]),zo=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2183
2201
|
value: userPositions(request: $request) {
|
|
2184
2202
|
...UserPosition
|
|
2185
2203
|
}
|
|
2186
|
-
}`,[z]),
|
|
2204
|
+
}`,[z]),Zo=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
2187
2205
|
value: userPosition(request: $request) {
|
|
2188
2206
|
...UserPosition
|
|
2189
2207
|
}
|
|
2190
|
-
}`,[z]),
|
|
2208
|
+
}`,[z]),jo=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
2191
2209
|
value: userBalances(request: $request) {
|
|
2192
2210
|
...UserBalance
|
|
2193
2211
|
}
|
|
2194
|
-
}`,[
|
|
2212
|
+
}`,[Te]),Jo=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
2195
2213
|
value: userSummaryHistory(request: $request) {
|
|
2196
2214
|
...UserSummaryHistoryItem
|
|
2197
2215
|
}
|
|
2198
|
-
}`,[
|
|
2216
|
+
}`,[ve]),Xo=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
2199
2217
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
2200
2218
|
...UserRiskPremiumBreakdownItem
|
|
2201
2219
|
}
|
|
2202
|
-
}`,[
|
|
2220
|
+
}`,[Ie]);var ap=e(`query StableVault($request: StableVaultRequest!) {
|
|
2203
2221
|
value: stableVault(request: $request) {
|
|
2204
2222
|
...StableVault
|
|
2205
2223
|
}
|
|
2206
|
-
}`,[D]),
|
|
2224
|
+
}`,[D]),np=e(`query StableVaults($request: StableVaultsRequest!) {
|
|
2207
2225
|
value: stableVaults(request: $request) {
|
|
2208
2226
|
...StableVault
|
|
2209
2227
|
}
|
|
2210
|
-
}`,[D]),
|
|
2228
|
+
}`,[D]),op=e(`query StableVaultRateUsers($request: StableVaultRateUsersRequest!) {
|
|
2211
2229
|
value: stableVaultRateUsers(request: $request) {
|
|
2212
2230
|
...PaginatedStableVaultRateUsersResult
|
|
2213
2231
|
}
|
|
2214
|
-
}`,[
|
|
2232
|
+
}`,[Ee]),pp=e(`query StableVaultAssignRate($request: StableVaultAssignRateRequest!) {
|
|
2215
2233
|
value: stableVaultAssignRate(request: $request) {
|
|
2216
2234
|
...TransactionRequest
|
|
2217
2235
|
}
|
|
2218
|
-
}`,[p]),
|
|
2236
|
+
}`,[p]),sp=e(`query StableVaultUnassignRate($request: StableVaultUnassignRateRequest!) {
|
|
2219
2237
|
value: stableVaultUnassignRate(request: $request) {
|
|
2220
2238
|
...TransactionRequest
|
|
2221
2239
|
}
|
|
2222
|
-
}`,[p]),
|
|
2240
|
+
}`,[p]),ip=e(`query StableVaultClaimSurplus($request: StableVaultClaimSurplusRequest!) {
|
|
2223
2241
|
value: stableVaultClaimSurplus(request: $request) {
|
|
2224
2242
|
...TransactionRequest
|
|
2225
2243
|
}
|
|
2226
|
-
}`,[p]),
|
|
2244
|
+
}`,[p]),up=e(`query StableVaultMovements($request: StableVaultMovementsRequest!) {
|
|
2227
2245
|
value: stableVaultMovements(request: $request) {
|
|
2228
2246
|
...PaginatedStableVaultMovementsResult
|
|
2229
2247
|
}
|
|
2230
|
-
}`,[
|
|
2248
|
+
}`,[Ce]),mp=e(`query StableVaultDeposit($request: StableVaultDepositRequest!) {
|
|
2231
2249
|
value: stableVaultDeposit(request: $request) {
|
|
2232
2250
|
...StableVaultDepositExecutionPlan
|
|
2233
2251
|
}
|
|
2234
|
-
}`,[
|
|
2252
|
+
}`,[Ue]),lp=e(`query StableVaultWithdraw($request: StableVaultWithdrawRequest!) {
|
|
2235
2253
|
value: stableVaultWithdraw(request: $request) {
|
|
2236
2254
|
...StableVaultWithdrawExecutionPlan
|
|
2237
2255
|
}
|
|
2238
|
-
}`,[
|
|
2256
|
+
}`,[Oe]),yp=e(`query StableVaultClaimStatus($request: StableVaultClaimStatusRequest!) {
|
|
2239
2257
|
value: stableVaultClaimStatus(request: $request)
|
|
2240
|
-
}`),
|
|
2258
|
+
}`),cp=e(`query StableVaultUserPositions($request: StableVaultUserPositionsRequest!) {
|
|
2241
2259
|
value: stableVaultUserPositions(request: $request) {
|
|
2242
2260
|
...StableVaultUserPosition
|
|
2243
2261
|
}
|
|
2244
|
-
}`,[
|
|
2262
|
+
}`,[ke]),gp=e(`mutation StableVaultWithdrawRedeem($request: StableVaultWithdrawRedeemRequest!) {
|
|
2245
2263
|
value: stableVaultWithdrawRedeem(request: $request) {
|
|
2246
2264
|
...StableVaultWithdrawRedeemExecutionPlan
|
|
2247
2265
|
}
|
|
2248
|
-
}`,[Oe]);exports.ActivitiesQuery=Ho;exports.ActivityItemFragment=Kr;exports.ActivityType=Ne;exports.ApyMetric=De;exports.ApySampleFragment=Z;exports.AssetAmountWithChangeFragment=fr;exports.AssetBorrowHistoryQuery=$n;exports.AssetBorrowSampleFragment=Rr;exports.AssetFragment=qr;exports.AssetPriceHistoryQuery=Vn;exports.AssetPriceSampleFragment=dr;exports.AssetQuery=Hn;exports.AssetSampleBreakdownFragment=Be;exports.AssetSummaryFragment=wr;exports.AssetSupplyHistoryQuery=Mn;exports.AssetSupplySampleFragment=Sr;exports.BoostedRateFragment=jt;exports.BorrowActivityFragment=Or;exports.BorrowApyHistoryQuery=Kn;exports.BorrowPointsFragment=qt;exports.BorrowQuery=vo;exports.BorrowSwapActivityFragment=Dr;exports.BorrowSwapFragment=Bt;exports.BorrowSwapKind=Ye;exports.BorrowSwapQuoteQuery=Po;exports.BorrowSwapQuoteResultFragment=we;exports.CancelSwapExecutionPlanFragment=Se;exports.CancelSwapMutation=wo;exports.ChainFragment=o;exports.ChainQuery=Cn;exports.ChainsFilter=$e;exports.ChainsQuery=En;exports.ClaimRewardsQuery=eo;exports.CollateralFactorVariationFragment=Ar;exports.CollateralMetric=Le;exports.Currency=Ge;exports.DecimalNumberFragment=y;exports.DecimalNumberWithChangeFragment=j;exports.DomainDataFragment=M;exports.Erc20AmountFragment=u;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=_;exports.Erc20TokenFragment=s;exports.ExchangeAmountFragment=m;exports.ExchangeAmountVariationFragment=re;exports.ExchangeAmountWithChangeFragment=A;exports.ExchangeRateQuery=_n;exports.ExecutionPlanFragment=B;exports.HasProcessedKnownTransactionQuery=Un;exports.HealthFactorErrorFragment=mt;exports.HealthFactorResultFragment=ne;exports.HealthFactorVariationFragment=ut;exports.HealthFactorWithChangeFragment=ae;exports.HealthQuery=On;exports.HubAssetFragment=C;exports.HubAssetInterestRateModelPointFragment=lr;exports.HubAssetInterestRateModelQuery=Ya;exports.HubAssetSettingsFragment=ct;exports.HubAssetSummaryFragment=yt;exports.HubAssetUserStateFragment=gt;exports.HubAssetsQuery=Ga;exports.HubFragment=h;exports.HubQuery=Da;exports.HubSummaryFragment=lt;exports.HubSummaryHistoryQuery=Ka;exports.HubSummarySampleFragment=mr;exports.HubsQuery=La;exports.InsufficientBalanceErrorFragment=f;exports.InsufficientLiquidityErrorFragment=b;exports.LiquidatePositionExecutionPlanFragment=Pr;exports.LiquidatePositionQuery=Uo;exports.LiquidatedActivityFragment=Wr;exports.LiquidationFeeVariationFragment=hr;exports.MaxLiquidationBonusVariationFragment=Fr;exports.MerklBorrowRewardFragment=ft;exports.MerklCriteriaFragment=E;exports.MerklGenericCriteriaFragment=dt;exports.MerklSupplyRewardFragment=Rt;exports.NativeAmountFragment=it;exports.NativeTokenFragment=J;exports.OperationType=Me;exports.OrderDirection=We;exports.PageSize=He;exports.PaginatedActivitiesResultFragment=Yr;exports.PaginatedResultInfoFragment=R;exports.PaginatedSpokePositionManagerResultFragment=ie;exports.PaginatedSpokeUserPositionManagerResultFragment=ue;exports.PaginatedStableVaultMovementsResultFragment=ke;exports.PaginatedStableVaultRateUsersResultFragment=Ce;exports.PaginatedUserSwapsResultFragment=Re;exports.PercentNumberChangeSnapshotFragment=Qe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=te;exports.PercentNumberWithChangeFragment=ee;exports.PermitTypedDataFragment=oe;exports.PointsCriteriaFragment=U;exports.PointsGenericCriteriaFragment=St;exports.PointsProgramFragment=O;exports.PositionAmountFragment=x;exports.PositionSwapAdapterContractApprovalFragment=Gt;exports.PositionSwapApprovalFragment=zt;exports.PositionSwapByIntentApprovalsRequiredFragment=N;exports.PositionSwapPositionManagerApprovalFragment=Kt;exports.PositionSwapSetCollateralApprovalFragment=Yt;exports.PreContractActionRequiredFragment=Tt;exports.PreparePositionSwapQuery=Fo;exports.PreparePositionSwapResultFragment=Pe;exports.PrepareSwapCancelQuery=fo;exports.PrepareSwapCancelResultFragment=de;exports.PrepareSwapOrderFragment=me;exports.PrepareTokenSwapQuery=go;exports.PrepareTokenSwapResultFragment=ce;exports.PreviewBorrowPointsFragment=kr;exports.PreviewMerklBorrowRewardFragment=Tr;exports.PreviewMerklSupplyRewardFragment=Ir;exports.PreviewQuery=Wo;exports.PreviewRewardFragment=Cr;exports.PreviewRewardOutcomeFragment=Er;exports.PreviewSupplyPointsFragment=vr;exports.PreviewUserPositionFragment=Ur;exports.ProtocolHistoryQuery=Nn;exports.ProtocolHistorySampleFragment=xr;exports.QuoteAccuracy=at;exports.RenounceSpokeUserPositionManagerQuery=Bo;exports.RepayActivityFragment=Qr;exports.RepayQuery=Co;exports.RepayWithSupplyActivityFragment=Lr;exports.RepayWithSupplyFragment=Qt;exports.RepayWithSupplyKind=ze;exports.RepayWithSupplyQuoteQuery=Ao;exports.RepayWithSupplyQuoteResultFragment=qe;exports.ReserveFragment=I;exports.ReserveInfoFragment=c;exports.ReserveQuery=zn;exports.ReserveSettingsFragment=ht;exports.ReserveStatusFragment=Ft;exports.ReserveSummaryFragment=bt;exports.ReserveUserStateFragment=It;exports.ReservesQuery=Zn;exports.ReservesRequestFilter=Ke;exports.RewardFragment=pe;exports.SetSpokeUserPositionManagerQuery=Oo;exports.SetUserSuppliesAsCollateralQuery=_o;exports.SpokeFragment=l;exports.SpokePositionManagerFragment=Pt;exports.SpokePositionManagersQuery=so;exports.SpokeQuery=oo;exports.SpokeUserPositionManagerFragment=At;exports.SpokeUserPositionManagersQuery=io;exports.SpokesQuery=po;exports.StableVaultAssignRateQuery=ap;exports.StableVaultClaimStatus=Ze;exports.StableVaultClaimStatusQuery=up;exports.StableVaultClaimSurplusQuery=op;exports.StableVaultDepositExecutionPlanFragment=Ee;exports.StableVaultDepositQuery=sp;exports.StableVaultFragment=D;exports.StableVaultMovementsQuery=pp;exports.StableVaultPendingAvailabilityFragment=ur;exports.StableVaultQuery=ep;exports.StableVaultRateUsersQuery=rp;exports.StableVaultRatesFragment=Xt;exports.StableVaultSummaryFragment=Jt;exports.StableVaultUnassignRateQuery=np;exports.StableVaultUserPositionFragment=ve;exports.StableVaultUserPositionsQuery=mp;exports.StableVaultWithdrawClaimFragment=ir;exports.StableVaultWithdrawExecutionPlanFragment=Ue;exports.StableVaultWithdrawQuery=ip;exports.StableVaultWithdrawRedeemExecutionPlanFragment=Oe;exports.StableVaultWithdrawRedeemMutation=lp;exports.StableVaultsQuery=tp;exports.SupplyActivityFragment=_r;exports.SupplyApyHistoryQuery=Yn;exports.SupplyPointsFragment=wt;exports.SupplyQuery=ko;exports.SupplySwapActivityFragment=Nr;exports.SupplySwapFragment=_t;exports.SupplySwapKind=je;exports.SupplySwapQuoteQuery=xo;exports.SupplySwapQuoteResultFragment=fe;exports.SwapActivityStatus=ot;exports.SwapByIntentFragment=kt;exports.SwapByIntentWithApprovalRequiredFragment=Ct;exports.SwapByTransactionFragment=Et;exports.SwapByTransactionWithApprovalRequiredFragment=Ut;exports.SwapCancelledFragment=Vt;exports.SwapCancelledResultFragment=Lt;exports.SwapExecutionPlanFragment=ge;exports.SwapExpiredFragment=Mt;exports.SwapFulfilledFragment=Dt;exports.SwapMutation=Ro;exports.SwapOpenFragment=$t;exports.SwapOperationFragment=H;exports.SwapOrderClass=nt;exports.SwapPendingSignatureFragment=Nt;exports.SwapQuoteCostsFragment=vt;exports.SwapQuoteFragment=Q;exports.SwapReceiptFragment=le;exports.SwapStatusFilter=Xe;exports.SwapStatusFragment=Y;exports.SwapStatusQuery=So;exports.SwapTransactionRequestFragment=Ot;exports.SwapTypedDataFragment=W;exports.SwappableTokensQuery=co;exports.TimeWindow=Ve;exports.TokenAmountFragment=S;exports.TokenCategory=et;exports.TokenFragment=X;exports.TokenInfoFragment=k;exports.TokenMovementAllocateFragment=er;exports.TokenMovementBridgeInFragment=tr;exports.TokenMovementBridgeOutFragment=rr;exports.TokenMovementDeallocateFragment=ar;exports.TokenMovementFragment=pr;exports.TokenMovementRebalanceFragment=nr;exports.TokenMovementRecordFragment=sr;exports.TokenMovementStatus=tt;exports.TokenMovementSwapFragment=or;exports.TokenSwapActivityFragment=$r;exports.TokenSwapFragment=Ht;exports.TokenSwapKind=pt;exports.TokenSwapQuoteQuery=yo;exports.TokenSwapQuoteResultFragment=ye;exports.TransactionRequestFragment=p;exports.UpdateUserPositionConditionsQuery=Qo;exports.UpdatedDynamicConfigActivityFragment=Vr;exports.UpdatedRiskPremiumActivityFragment=Mr;exports.UserBalanceFragment=Ie;exports.UserBalancesQuery=Yo;exports.UserBorrowItemFragment=he;exports.UserBorrowsQuery=Do;exports.UserClaimableRewardFragment=se;exports.UserClaimableRewardsQuery=to;exports.UserMerklClaimableRewardFragment=xt;exports.UserPositionConditionVariationFragment=br;exports.UserPositionConditionsUpdate=rt;exports.UserPositionFragment=z;exports.UserPositionQuery=Ko;exports.UserPositionRiskPremiumFragment=Zt;exports.UserPositionsQuery=Go;exports.UserRiskPremiumBreakdownItemFragment=be;exports.UserRiskPremiumBreakdownQuery=Zo;exports.UserSummaryFragment=Fe;exports.UserSummaryHistoryItemFragment=Te;exports.UserSummaryHistoryQuery=zo;exports.UserSummaryQuery=Lo;exports.UserSuppliesQuery=No;exports.UserSupplyItemFragment=Ae;exports.UserSwapsQuery=qo;exports.UsingAsCollateralActivityFragment=Hr;exports.WithdrawActivityFragment=Br;exports.WithdrawQuery=Eo;exports.WithdrawSwapActivityFragment=Gr;exports.WithdrawSwapFragment=Wt;exports.WithdrawSwapKind=Je;exports.WithdrawSwapQuoteQuery=ho;exports.WithdrawSwapQuoteResultFragment=xe;exports.assetId=ja;exports.boostedRateId=Ja;exports.decodeHubId=en;exports.decodeReserveId=an;exports.decodeSpokeId=gn;exports.decodeUserPositionId=on;exports.encodeHubId=Xa;exports.encodeReserveId=nn;exports.encodeSpokeId=cn;exports.encodeUserPositionId=pn;exports.graphql=e;exports.hubAssetId=tn;exports.hubId=yr;exports.isChainIdsVariant=An;exports.isERC20PermitSignature=ua;exports.isHubInputVariant=Pn;exports.isReserveInputVariant=bn;exports.isSpokeInputVariant=Fn;exports.isTokensVariant=hn;exports.isTxHashInputVariant=In;exports.reserveId=rn;exports.spokeId=gr;exports.stableVaultId=mn;exports.stableVaultUserPositionId=ln;exports.stableVaultWithdrawClaimId=yn;exports.swapId=sn;exports.swapQuoteId=un;exports.tokenInfoId=fn;exports.tokenMovementId=wn;exports.userBalanceId=dn;exports.userBorrowItemId=Sn;exports.userPositionId=cr;exports.userSupplyItemId=Rn;//# sourceMappingURL=index.cjs.map
|
|
2266
|
+
}`,[_e]);exports.ActivitiesQuery=$o;exports.ActivityItemFragment=zr;exports.ActivityType=De;exports.ApyMetric=Le;exports.ApySampleFragment=Z;exports.AssetAmountWithChangeFragment=qr;exports.AssetBorrowHistoryQuery=Dn;exports.AssetBorrowSampleFragment=wr;exports.AssetFragment=Pr;exports.AssetPriceHistoryQuery=$n;exports.AssetPriceSampleFragment=Rr;exports.AssetQuery=Mn;exports.AssetSampleBreakdownFragment=He;exports.AssetSummaryFragment=xr;exports.AssetSupplyHistoryQuery=Nn;exports.AssetSupplySampleFragment=fr;exports.BoostedRateFragment=Xt;exports.BorrowActivityFragment=Br;exports.BorrowApyHistoryQuery=zn;exports.BorrowPointsFragment=Pt;exports.BorrowQuery=Eo;exports.BorrowSwapActivityFragment=Gr;exports.BorrowSwapFragment=Qt;exports.BorrowSwapKind=Ze;exports.BorrowSwapQuoteQuery=Fo;exports.BorrowSwapQuoteResultFragment=qe;exports.CancelSwapExecutionPlanFragment=Re;exports.CancelSwapMutation=Po;exports.ChainFragment=o;exports.ChainQuery=Un;exports.ChainsFilter=Ne;exports.ChainsQuery=On;exports.ClaimRewardsQuery=ao;exports.CollateralFactorVariationFragment=Fr;exports.CollateralMetric=Ge;exports.Currency=Ke;exports.DecimalNumberFragment=y;exports.DecimalNumberWithChangeFragment=j;exports.DomainDataFragment=M;exports.Erc20AmountFragment=i;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=_;exports.Erc20TokenFragment=s;exports.ExchangeAmountFragment=m;exports.ExchangeAmountVariationFragment=re;exports.ExchangeAmountWithChangeFragment=A;exports.ExchangeRateQuery=Hn;exports.ExecutionPlanFragment=B;exports.HasProcessedKnownTransactionQuery=_n;exports.HealthFactorErrorFragment=yt;exports.HealthFactorResultFragment=ne;exports.HealthFactorVariationFragment=lt;exports.HealthFactorWithChangeFragment=ae;exports.HealthQuery=Bn;exports.HubAssetFragment=C;exports.HubAssetInterestRateModelPointFragment=cr;exports.HubAssetInterestRateModelQuery=Za;exports.HubAssetSettingsFragment=dt;exports.HubAssetSummaryFragment=gt;exports.HubAssetUserStateFragment=St;exports.HubAssetsQuery=Ya;exports.HubFragment=h;exports.HubQuery=Ga;exports.HubSummaryFragment=ct;exports.HubSummaryHistoryQuery=za;exports.HubSummarySampleFragment=yr;exports.HubsQuery=Ka;exports.InsufficientBalanceErrorFragment=f;exports.InsufficientLiquidityErrorFragment=b;exports.LiquidatePositionExecutionPlanFragment=hr;exports.LiquidatePositionQuery=Bo;exports.LiquidatedActivityFragment=Vr;exports.LiquidationFeeVariationFragment=br;exports.MaxLiquidationBonusVariationFragment=Ir;exports.MerklBorrowRewardFragment=qt;exports.MerklCriteriaFragment=E;exports.MerklGenericCriteriaFragment=Rt;exports.MerklSupplyRewardFragment=wt;exports.NativeAmountFragment=mt;exports.NativeTokenFragment=J;exports.OperationType=$e;exports.OrderDirection=We;exports.PageSize=Ve;exports.PaginatedActivitiesResultFragment=Zr;exports.PaginatedResultInfoFragment=d;exports.PaginatedSpokePositionManagerResultFragment=ie;exports.PaginatedSpokeUserPositionManagerResultFragment=ue;exports.PaginatedStableVaultMovementsResultFragment=Ce;exports.PaginatedStableVaultRateUsersResultFragment=Ee;exports.PaginatedUserSwapsResultFragment=fe;exports.PercentNumberChangeSnapshotFragment=Qe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=te;exports.PercentNumberWithChangeFragment=ee;exports.PermitTypedDataFragment=oe;exports.PointsCriteriaFragment=U;exports.PointsGenericCriteriaFragment=ft;exports.PointsProgramFragment=O;exports.PositionAmountFragment=x;exports.PositionSwapAdapterContractApprovalFragment=Yt;exports.PositionSwapApprovalFragment=jt;exports.PositionSwapByIntentApprovalsRequiredFragment=N;exports.PositionSwapPositionManagerApprovalFragment=zt;exports.PositionSwapSetCollateralApprovalFragment=Zt;exports.PreContractActionRequiredFragment=kt;exports.PreparePositionSwapQuery=To;exports.PreparePositionSwapResultFragment=Ae;exports.PrepareSwapCancelQuery=xo;exports.PrepareSwapCancelResultFragment=Se;exports.PrepareSwapOrderFragment=le;exports.PrepareTokenSwapQuery=fo;exports.PrepareTokenSwapResultFragment=ge;exports.PreviewBorrowPointsFragment=Er;exports.PreviewMerklBorrowRewardFragment=kr;exports.PreviewMerklSupplyRewardFragment=vr;exports.PreviewQuery=Mo;exports.PreviewRewardFragment=Ur;exports.PreviewRewardOutcomeFragment=Or;exports.PreviewSupplyPointsFragment=Cr;exports.PreviewUserPositionFragment=_r;exports.ProtocolHistoryQuery=Ln;exports.ProtocolHistorySampleFragment=Ar;exports.QuoteAccuracy=ot;exports.RenounceSpokeUserPositionManagerQuery=Wo;exports.RepayActivityFragment=Wr;exports.RepayQuery=Oo;exports.RepayWithSupplyActivityFragment=Kr;exports.RepayWithSupplyFragment=Wt;exports.RepayWithSupplyKind=je;exports.RepayWithSupplyQuoteQuery=bo;exports.RepayWithSupplyQuoteResultFragment=xe;exports.ReserveFragment=I;exports.ReserveHolderFragment=me;exports.ReserveHoldersFilter=Ye;exports.ReserveHoldersQuery=Xn;exports.ReserveInfoFragment=c;exports.ReserveQuery=jn;exports.ReserveSettingsFragment=bt;exports.ReserveStatusFragment=It;exports.ReserveSummaryFragment=Tt;exports.ReserveUserStateFragment=vt;exports.ReservesQuery=Jn;exports.ReservesRequestFilter=ze;exports.RewardFragment=pe;exports.SetSpokeUserPositionManagerQuery=Ho;exports.SetUserSuppliesAsCollateralQuery=Qo;exports.SpokeFragment=l;exports.SpokePositionManagerFragment=ht;exports.SpokePositionManagersQuery=mo;exports.SpokeQuery=io;exports.SpokeUserPositionManagerFragment=Ft;exports.SpokeUserPositionManagersQuery=lo;exports.SpokesQuery=uo;exports.StableVaultAssignRateQuery=pp;exports.StableVaultClaimStatus=Je;exports.StableVaultClaimStatusQuery=yp;exports.StableVaultClaimSurplusQuery=ip;exports.StableVaultDepositExecutionPlanFragment=Ue;exports.StableVaultDepositQuery=mp;exports.StableVaultFragment=D;exports.StableVaultMovementsQuery=up;exports.StableVaultPendingAvailabilityFragment=lr;exports.StableVaultQuery=ap;exports.StableVaultRateUsersQuery=op;exports.StableVaultRatesFragment=tr;exports.StableVaultSummaryFragment=er;exports.StableVaultUnassignRateQuery=sp;exports.StableVaultUserPositionFragment=ke;exports.StableVaultUserPositionsQuery=cp;exports.StableVaultWithdrawClaimFragment=mr;exports.StableVaultWithdrawExecutionPlanFragment=Oe;exports.StableVaultWithdrawQuery=lp;exports.StableVaultWithdrawRedeemExecutionPlanFragment=_e;exports.StableVaultWithdrawRedeemMutation=gp;exports.StableVaultsQuery=np;exports.SupplyActivityFragment=Hr;exports.SupplyApyHistoryQuery=Zn;exports.SupplyPointsFragment=xt;exports.SupplyQuery=Uo;exports.SupplySwapActivityFragment=Lr;exports.SupplySwapFragment=Ht;exports.SupplySwapKind=Xe;exports.SupplySwapQuoteQuery=ho;exports.SupplySwapQuoteResultFragment=we;exports.SwapActivityStatus=st;exports.SwapByIntentFragment=Et;exports.SwapByIntentWithApprovalRequiredFragment=Ut;exports.SwapByTransactionFragment=Ot;exports.SwapByTransactionWithApprovalRequiredFragment=_t;exports.SwapCancelledFragment=$t;exports.SwapCancelledResultFragment=Kt;exports.SwapExecutionPlanFragment=de;exports.SwapExpiredFragment=Nt;exports.SwapFulfilledFragment=Gt;exports.SwapMutation=qo;exports.SwapOpenFragment=Dt;exports.SwapOperationFragment=W;exports.SwapOrderClass=pt;exports.SwapPendingSignatureFragment=Lt;exports.SwapQuoteCostsFragment=Ct;exports.SwapQuoteFragment=H;exports.SwapReceiptFragment=ye;exports.SwapStatusFilter=tt;exports.SwapStatusFragment=Y;exports.SwapStatusQuery=wo;exports.SwapTransactionRequestFragment=Bt;exports.SwapTypedDataFragment=Q;exports.SwappableTokensQuery=Ro;exports.TimeWindow=Me;exports.TokenAmountFragment=R;exports.TokenCategory=rt;exports.TokenFragment=X;exports.TokenInfoFragment=k;exports.TokenMovementAllocateFragment=rr;exports.TokenMovementBridgeInFragment=ar;exports.TokenMovementBridgeOutFragment=nr;exports.TokenMovementDeallocateFragment=or;exports.TokenMovementFragment=ir;exports.TokenMovementRebalanceFragment=pr;exports.TokenMovementRecordFragment=ur;exports.TokenMovementStatus=at;exports.TokenMovementSwapFragment=sr;exports.TokenSwapActivityFragment=Dr;exports.TokenSwapFragment=Mt;exports.TokenSwapKind=it;exports.TokenSwapQuoteQuery=So;exports.TokenSwapQuoteResultFragment=ce;exports.TransactionRequestFragment=p;exports.UpdateUserPositionConditionsQuery=Vo;exports.UpdatedDynamicConfigActivityFragment=$r;exports.UpdatedRiskPremiumActivityFragment=Nr;exports.UserBalanceFragment=Te;exports.UserBalancesQuery=jo;exports.UserBorrowItemFragment=Fe;exports.UserBorrowsQuery=Ko;exports.UserClaimableRewardFragment=se;exports.UserClaimableRewardsQuery=no;exports.UserMerklClaimableRewardFragment=At;exports.UserPositionConditionVariationFragment=Tr;exports.UserPositionConditionsUpdate=nt;exports.UserPositionFragment=z;exports.UserPositionQuery=Zo;exports.UserPositionRiskPremiumFragment=Jt;exports.UserPositionsQuery=zo;exports.UserRiskPremiumBreakdownItemFragment=Ie;exports.UserRiskPremiumBreakdownQuery=Xo;exports.UserSummaryFragment=be;exports.UserSummaryHistoryItemFragment=ve;exports.UserSummaryHistoryQuery=Jo;exports.UserSummaryQuery=Yo;exports.UserSuppliesQuery=Go;exports.UserSupplyItemFragment=he;exports.UserSwapsQuery=Ao;exports.UsingAsCollateralActivityFragment=Mr;exports.WithdrawActivityFragment=Qr;exports.WithdrawQuery=_o;exports.WithdrawSwapActivityFragment=Yr;exports.WithdrawSwapFragment=Vt;exports.WithdrawSwapKind=et;exports.WithdrawSwapQuoteQuery=Io;exports.WithdrawSwapQuoteResultFragment=Pe;exports.assetId=Xa;exports.boostedRateId=en;exports.decodeHubId=rn;exports.decodeReserveId=on;exports.decodeSpokeId=Sn;exports.decodeUserPositionId=sn;exports.encodeHubId=tn;exports.encodeReserveId=pn;exports.encodeSpokeId=dn;exports.encodeUserPositionId=un;exports.graphql=e;exports.hubAssetId=an;exports.hubId=gr;exports.isChainIdsVariant=Fn;exports.isERC20PermitSignature=la;exports.isHubInputVariant=hn;exports.isReserveInputVariant=Tn;exports.isSpokeInputVariant=In;exports.isTokensVariant=bn;exports.isTxHashInputVariant=vn;exports.reserveId=nn;exports.spokeId=Sr;exports.stableVaultId=yn;exports.stableVaultUserPositionId=cn;exports.stableVaultWithdrawClaimId=gn;exports.swapId=mn;exports.swapQuoteId=ln;exports.tokenInfoId=qn;exports.tokenMovementId=xn;exports.userBalanceId=Rn;exports.userBorrowItemId=fn;exports.userPositionId=dr;exports.userSupplyItemId=wn;//# sourceMappingURL=index.cjs.map
|
|
2249
2267
|
//# sourceMappingURL=index.cjs.map
|