@aave/graphql 1.0.0-next.31 → 1.0.0-next.32
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 +65 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -242
- package/dist/index.d.ts +10 -242
- package/dist/index.js +65 -67
- 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 +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
decimals
|
|
15
15
|
value
|
|
16
16
|
normalized
|
|
17
|
-
}`),
|
|
17
|
+
}`),Y=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
18
18
|
__typename
|
|
19
19
|
current {
|
|
20
20
|
...DecimalNumber
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
...Chain
|
|
63
63
|
}
|
|
64
64
|
isWrappedNativeToken
|
|
65
|
-
}`,[b,n]),
|
|
65
|
+
}`,[b,n]),z=e(`fragment NativeToken on NativeToken {
|
|
66
66
|
__typename
|
|
67
67
|
info {
|
|
68
68
|
...TokenInfo
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
exchangeRate(currency: $currency){
|
|
99
99
|
...DecimalNumber
|
|
100
100
|
}
|
|
101
|
-
}`,[
|
|
101
|
+
}`,[z,l,i]),S=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
|
-
}`,[p,je]),
|
|
109
|
+
}`,[p,je]),Z=e(`fragment Token on Token {
|
|
110
110
|
__typename
|
|
111
111
|
... on Erc20Token {
|
|
112
112
|
...Erc20Token
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
... on NativeToken {
|
|
115
115
|
...NativeToken
|
|
116
116
|
}
|
|
117
|
-
}`,[u,
|
|
117
|
+
}`,[u,z]),q=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
118
118
|
__typename
|
|
119
119
|
current {
|
|
120
120
|
...ExchangeAmount
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
change(window: $timeWindow){
|
|
123
123
|
...PercentNumber
|
|
124
124
|
}
|
|
125
|
-
}`,[i,a]),
|
|
125
|
+
}`,[i,a]),j=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
|
|
126
126
|
__typename
|
|
127
127
|
current {
|
|
128
128
|
...PercentNumber
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
__typename
|
|
135
135
|
prev
|
|
136
136
|
next
|
|
137
|
-
}`),
|
|
137
|
+
}`),J=e(`fragment PercentNumberVariation on PercentNumberVariation {
|
|
138
138
|
__typename
|
|
139
139
|
current {
|
|
140
140
|
...PercentNumber
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
after {
|
|
143
143
|
...PercentNumber
|
|
144
144
|
}
|
|
145
|
-
}`,[a]),
|
|
145
|
+
}`,[a]),X=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
|
|
146
146
|
__typename
|
|
147
147
|
current {
|
|
148
148
|
...ExchangeAmount
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
after {
|
|
151
151
|
...ExchangeAmount
|
|
152
152
|
}
|
|
153
|
-
}`,[i]),
|
|
153
|
+
}`,[i]),ee=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
|
|
154
154
|
__typename
|
|
155
155
|
current
|
|
156
156
|
change(window: $timeWindow) {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
reason
|
|
166
166
|
current
|
|
167
167
|
after
|
|
168
|
-
}`),
|
|
168
|
+
}`),te=e(`fragment HealthFactorResult on HealthFactorResult {
|
|
169
169
|
__typename
|
|
170
170
|
... on HealthFactorVariation {
|
|
171
171
|
...HealthFactorVariation
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
userState {
|
|
268
268
|
...HubAssetUserState
|
|
269
269
|
}
|
|
270
|
-
}`,[F,u,tt,rt,at]);var
|
|
270
|
+
}`,[F,u,tt,rt,at]);var re=e(`fragment PermitTypedData on PermitTypedData {
|
|
271
271
|
__typename
|
|
272
272
|
types
|
|
273
273
|
primaryType
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
...MerklCriteria
|
|
316
316
|
}
|
|
317
317
|
userEligible
|
|
318
|
-
}`,[a,u,E]),
|
|
318
|
+
}`,[a,u,E]),ae=e(`fragment Reward on Reward {
|
|
319
319
|
__typename
|
|
320
320
|
... on MerklSupplyReward {
|
|
321
321
|
...MerklSupplyReward
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
startDate
|
|
333
333
|
endDate
|
|
334
334
|
claimUntil
|
|
335
|
-
}`,[p]),
|
|
335
|
+
}`,[p]),ne=e(`fragment UserClaimableReward on UserClaimableReward {
|
|
336
336
|
__typename
|
|
337
337
|
... on UserMerklClaimableReward {
|
|
338
338
|
...UserMerklClaimableReward
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
address
|
|
351
351
|
active
|
|
352
352
|
name
|
|
353
|
-
}`),
|
|
353
|
+
}`),oe=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
354
354
|
__typename
|
|
355
355
|
items {
|
|
356
356
|
...SpokePositionManager
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
approvedOn
|
|
365
365
|
active
|
|
366
366
|
name
|
|
367
|
-
}`),
|
|
367
|
+
}`),pe=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
368
368
|
__typename
|
|
369
369
|
items {
|
|
370
370
|
...SpokeUserPositionManager
|
|
@@ -389,6 +389,7 @@
|
|
|
389
389
|
borrowable
|
|
390
390
|
collateral
|
|
391
391
|
suppliable
|
|
392
|
+
receiveSharesEnabled
|
|
392
393
|
latestDynamicConfigKey
|
|
393
394
|
}`,[a]),yt=e(`fragment ReserveStatus on ReserveStatus {
|
|
394
395
|
__typename
|
|
@@ -412,7 +413,7 @@
|
|
|
412
413
|
rewards {
|
|
413
414
|
...Reward
|
|
414
415
|
}
|
|
415
|
-
}`,[p,a,
|
|
416
|
+
}`,[p,a,ae]),lt=e(`fragment ReserveUserState on ReserveUserState {
|
|
416
417
|
__typename
|
|
417
418
|
balance {
|
|
418
419
|
...Erc20Amount
|
|
@@ -489,7 +490,7 @@
|
|
|
489
490
|
bySignature {
|
|
490
491
|
...PermitTypedData
|
|
491
492
|
}
|
|
492
|
-
}`,[y,
|
|
493
|
+
}`,[y,re]),L=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
493
494
|
__typename
|
|
494
495
|
approvals {
|
|
495
496
|
...Erc20Approval
|
|
@@ -574,7 +575,7 @@
|
|
|
574
575
|
...DomainData
|
|
575
576
|
}
|
|
576
577
|
message
|
|
577
|
-
}`,[B]),
|
|
578
|
+
}`,[B]),se=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
578
579
|
__typename
|
|
579
580
|
newQuoteId
|
|
580
581
|
data {
|
|
@@ -599,11 +600,11 @@
|
|
|
599
600
|
quote {
|
|
600
601
|
...SwapQuote
|
|
601
602
|
}
|
|
602
|
-
}`,[H]),
|
|
603
|
+
}`,[H]),ie=e(`fragment SwapReceipt on SwapReceipt {
|
|
603
604
|
__typename
|
|
604
605
|
id
|
|
605
606
|
createdAt
|
|
606
|
-
}`),
|
|
607
|
+
}`),ue=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
607
608
|
__typename
|
|
608
609
|
... on SwapByIntent {
|
|
609
610
|
...SwapByIntent
|
|
@@ -617,7 +618,7 @@
|
|
|
617
618
|
... on InsufficientLiquidityError {
|
|
618
619
|
...InsufficientLiquidityError
|
|
619
620
|
}
|
|
620
|
-
}`,[St,ft,Rt,I]),
|
|
621
|
+
}`,[St,ft,Rt,I]),me=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
621
622
|
__typename
|
|
622
623
|
... on PrepareSwapOrder {
|
|
623
624
|
...PrepareSwapOrder
|
|
@@ -625,7 +626,7 @@
|
|
|
625
626
|
... on InsufficientBalanceError {
|
|
626
627
|
...InsufficientBalanceError
|
|
627
628
|
}
|
|
628
|
-
}`,[
|
|
629
|
+
}`,[se,A]),wt=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
629
630
|
__typename
|
|
630
631
|
transaction {
|
|
631
632
|
...TransactionRequest
|
|
@@ -633,7 +634,7 @@
|
|
|
633
634
|
orderReceipt {
|
|
634
635
|
...SwapReceipt
|
|
635
636
|
}
|
|
636
|
-
}`,[y,
|
|
637
|
+
}`,[y,ie]),ye=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
637
638
|
__typename
|
|
638
639
|
... on SwapTransactionRequest {
|
|
639
640
|
...SwapTransactionRequest
|
|
@@ -644,7 +645,7 @@
|
|
|
644
645
|
... on InsufficientBalanceError {
|
|
645
646
|
...InsufficientBalanceError
|
|
646
647
|
}
|
|
647
|
-
}`,[wt,
|
|
648
|
+
}`,[wt,ie,A]),w=e(`fragment PositionAmount on PositionAmount {
|
|
648
649
|
__typename
|
|
649
650
|
reserve {
|
|
650
651
|
...ReserveInfo
|
|
@@ -783,7 +784,7 @@
|
|
|
783
784
|
... on SwapFulfilled {
|
|
784
785
|
...SwapFulfilled
|
|
785
786
|
}
|
|
786
|
-
}`,[kt,Tt,Pt,It,vt]),
|
|
787
|
+
}`,[kt,Tt,Pt,It,vt]),ce=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
787
788
|
__typename
|
|
788
789
|
data {
|
|
789
790
|
...SwapTypedData
|
|
@@ -794,7 +795,7 @@
|
|
|
794
795
|
createdAt
|
|
795
796
|
cancelledAt
|
|
796
797
|
explorerUrl
|
|
797
|
-
}`),
|
|
798
|
+
}`),le=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
798
799
|
__typename
|
|
799
800
|
... on TransactionRequest {
|
|
800
801
|
...TransactionRequest
|
|
@@ -802,7 +803,7 @@
|
|
|
802
803
|
... on SwapCancelledResult {
|
|
803
804
|
...SwapCancelledResult
|
|
804
805
|
}
|
|
805
|
-
}`,[y,bt]),
|
|
806
|
+
}`,[y,bt]),ge=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
806
807
|
__typename
|
|
807
808
|
items {
|
|
808
809
|
...SwapStatus
|
|
@@ -839,7 +840,7 @@
|
|
|
839
840
|
approvals {
|
|
840
841
|
...PositionSwapApproval
|
|
841
842
|
}
|
|
842
|
-
}`,[H,Ut]),
|
|
843
|
+
}`,[H,Ut]),de=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
843
844
|
__typename
|
|
844
845
|
... on PositionSwapByIntentApprovalsRequired {
|
|
845
846
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -847,7 +848,7 @@
|
|
|
847
848
|
... on InsufficientLiquidityError {
|
|
848
849
|
...InsufficientLiquidityError
|
|
849
850
|
}
|
|
850
|
-
}`,[W,I]),
|
|
851
|
+
}`,[W,I]),Se=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
851
852
|
__typename
|
|
852
853
|
... on PositionSwapByIntentApprovalsRequired {
|
|
853
854
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -855,7 +856,7 @@
|
|
|
855
856
|
... on InsufficientLiquidityError {
|
|
856
857
|
...InsufficientLiquidityError
|
|
857
858
|
}
|
|
858
|
-
}`,[W,I]),
|
|
859
|
+
}`,[W,I]),fe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
859
860
|
__typename
|
|
860
861
|
... on PositionSwapByIntentApprovalsRequired {
|
|
861
862
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -863,7 +864,7 @@
|
|
|
863
864
|
... on InsufficientLiquidityError {
|
|
864
865
|
...InsufficientLiquidityError
|
|
865
866
|
}
|
|
866
|
-
}`,[W,I]),
|
|
867
|
+
}`,[W,I]),Re=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
867
868
|
__typename
|
|
868
869
|
... on PositionSwapByIntentApprovalsRequired {
|
|
869
870
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -871,7 +872,7 @@
|
|
|
871
872
|
... on InsufficientLiquidityError {
|
|
872
873
|
...InsufficientLiquidityError
|
|
873
874
|
}
|
|
874
|
-
}`,[W,I]),
|
|
875
|
+
}`,[W,I]),we=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
875
876
|
__typename
|
|
876
877
|
... on PrepareSwapOrder {
|
|
877
878
|
...PrepareSwapOrder
|
|
@@ -879,7 +880,7 @@
|
|
|
879
880
|
... on InsufficientBalanceError {
|
|
880
881
|
...InsufficientBalanceError
|
|
881
882
|
}
|
|
882
|
-
}`,[
|
|
883
|
+
}`,[se,A]);var xe=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
883
884
|
__typename
|
|
884
885
|
id
|
|
885
886
|
reserve {
|
|
@@ -896,7 +897,7 @@
|
|
|
896
897
|
}
|
|
897
898
|
isCollateral
|
|
898
899
|
createdAt
|
|
899
|
-
}`,[p,k]),
|
|
900
|
+
}`,[p,k]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
900
901
|
__typename
|
|
901
902
|
id
|
|
902
903
|
principal {
|
|
@@ -912,7 +913,7 @@
|
|
|
912
913
|
...Reserve
|
|
913
914
|
}
|
|
914
915
|
createdAt
|
|
915
|
-
}`,[p,k]),
|
|
916
|
+
}`,[p,k]),Ae=e(`fragment UserSummary on UserSummary {
|
|
916
917
|
__typename
|
|
917
918
|
totalPositions
|
|
918
919
|
netBalance(currency: $currency) {
|
|
@@ -934,7 +935,7 @@
|
|
|
934
935
|
...ExchangeAmount
|
|
935
936
|
}
|
|
936
937
|
lowestHealthFactor
|
|
937
|
-
}`,[q,i,a]),
|
|
938
|
+
}`,[q,i,a]),he=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
938
939
|
__typename
|
|
939
940
|
token {
|
|
940
941
|
...Erc20Token
|
|
@@ -956,10 +957,7 @@
|
|
|
956
957
|
latest {
|
|
957
958
|
...PercentNumber
|
|
958
959
|
}
|
|
959
|
-
|
|
960
|
-
...UserRiskPremiumBreakdownItem
|
|
961
|
-
}
|
|
962
|
-
}`,[a,G]),K=e(`fragment UserPosition on UserPosition {
|
|
960
|
+
}`,[a]),G=e(`fragment UserPosition on UserPosition {
|
|
963
961
|
__typename
|
|
964
962
|
id
|
|
965
963
|
spoke {
|
|
@@ -1013,7 +1011,7 @@
|
|
|
1013
1011
|
averageCollateralFactor {
|
|
1014
1012
|
...PercentNumber
|
|
1015
1013
|
}
|
|
1016
|
-
}`,[m,a,q,i,
|
|
1014
|
+
}`,[m,a,q,i,j,ee,Ot]),Fe=e(`fragment UserBalance on UserBalance {
|
|
1017
1015
|
__typename
|
|
1018
1016
|
id
|
|
1019
1017
|
info {
|
|
@@ -1059,7 +1057,7 @@
|
|
|
1059
1057
|
}
|
|
1060
1058
|
healthFactor
|
|
1061
1059
|
date
|
|
1062
|
-
}`,[i]),
|
|
1060
|
+
}`,[i]),K=e(`fragment ApySample on ApySample {
|
|
1063
1061
|
__typename
|
|
1064
1062
|
date
|
|
1065
1063
|
avgRate {
|
|
@@ -1171,7 +1169,7 @@
|
|
|
1171
1169
|
exchange(currency: $currency) {
|
|
1172
1170
|
...ExchangeAmountWithChange
|
|
1173
1171
|
}
|
|
1174
|
-
}`,[
|
|
1172
|
+
}`,[Y,q]),Mt=e(`fragment AssetSummary on AssetSummary {
|
|
1175
1173
|
__typename
|
|
1176
1174
|
totalSupplyCap {
|
|
1177
1175
|
...AssetAmountWithChange
|
|
@@ -1242,11 +1240,11 @@
|
|
|
1242
1240
|
value: borrowApyHistory(request: $request) {
|
|
1243
1241
|
...ApySample
|
|
1244
1242
|
}
|
|
1245
|
-
}`,[
|
|
1243
|
+
}`,[K]),on=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1246
1244
|
value: supplyApyHistory(request: $request) {
|
|
1247
1245
|
...ApySample
|
|
1248
1246
|
}
|
|
1249
|
-
}`,[
|
|
1247
|
+
}`,[K]),pn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1250
1248
|
value: reserve(request: $request) {
|
|
1251
1249
|
...Reserve
|
|
1252
1250
|
}
|
|
@@ -1262,7 +1260,7 @@
|
|
|
1262
1260
|
value: userClaimableRewards(request: $request) {
|
|
1263
1261
|
...UserClaimableReward
|
|
1264
1262
|
}
|
|
1265
|
-
}`,[
|
|
1263
|
+
}`,[ne]);var fn=e(`query Spoke($request: SpokeRequest!) {
|
|
1266
1264
|
value: spoke(request: $request) {
|
|
1267
1265
|
...Spoke
|
|
1268
1266
|
}
|
|
@@ -1274,23 +1272,23 @@
|
|
|
1274
1272
|
value: spokePositionManagers(request: $request) {
|
|
1275
1273
|
...PaginatedSpokePositionManagerResult
|
|
1276
1274
|
}
|
|
1277
|
-
}`,[
|
|
1275
|
+
}`,[oe]),xn=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1278
1276
|
value: spokeUserPositionManagers(request: $request) {
|
|
1279
1277
|
...PaginatedSpokeUserPositionManagerResult
|
|
1280
1278
|
}
|
|
1281
|
-
}`,[
|
|
1279
|
+
}`,[pe]);var Fn=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1282
1280
|
value: tokenSwapQuote(request: $request) {
|
|
1283
1281
|
...TokenSwapQuoteResult
|
|
1284
1282
|
}
|
|
1285
|
-
}`,[
|
|
1283
|
+
}`,[ue]),Pn=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1286
1284
|
value: swappableTokens(request: $request) {
|
|
1287
1285
|
...Token
|
|
1288
1286
|
}
|
|
1289
|
-
}`,[
|
|
1287
|
+
}`,[Z]),In=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1290
1288
|
value: prepareTokenSwap(request: $request) {
|
|
1291
1289
|
...PrepareTokenSwapResult
|
|
1292
1290
|
}
|
|
1293
|
-
}`,[
|
|
1291
|
+
}`,[me]),kn=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1294
1292
|
value: swapStatus(request: $request) {
|
|
1295
1293
|
...SwapStatus
|
|
1296
1294
|
}
|
|
@@ -1298,39 +1296,39 @@
|
|
|
1298
1296
|
value: swap(request: $request) {
|
|
1299
1297
|
...SwapExecutionPlan
|
|
1300
1298
|
}
|
|
1301
|
-
}`,[
|
|
1299
|
+
}`,[ye]),vn=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1302
1300
|
value: prepareSwapCancel(request: $request) {
|
|
1303
1301
|
...PrepareSwapCancelResult
|
|
1304
1302
|
}
|
|
1305
|
-
}`,[
|
|
1303
|
+
}`,[ce]),bn=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1306
1304
|
value: cancelSwap(request: $request) {
|
|
1307
1305
|
...CancelSwapExecutionPlan
|
|
1308
1306
|
}
|
|
1309
|
-
}`,[
|
|
1307
|
+
}`,[le]),Cn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1310
1308
|
value: userSwaps(request: $request) {
|
|
1311
1309
|
...PaginatedUserSwapsResult
|
|
1312
1310
|
}
|
|
1313
|
-
}`,[
|
|
1311
|
+
}`,[ge]),En=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1314
1312
|
value: supplySwapQuote(request: $request) {
|
|
1315
1313
|
...SupplySwapQuoteResult
|
|
1316
1314
|
}
|
|
1317
|
-
}`,[
|
|
1315
|
+
}`,[de]),Un=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1318
1316
|
value: borrowSwapQuote(request: $request) {
|
|
1319
1317
|
...BorrowSwapQuoteResult
|
|
1320
1318
|
}
|
|
1321
|
-
}`,[
|
|
1319
|
+
}`,[Se]),On=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1322
1320
|
value: repayWithSupplyQuote(request: $request) {
|
|
1323
1321
|
...RepayWithSupplyQuoteResult
|
|
1324
1322
|
}
|
|
1325
|
-
}`,[
|
|
1323
|
+
}`,[fe]),_n=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1326
1324
|
value: withdrawSwapQuote(request: $request) {
|
|
1327
1325
|
...WithdrawSwapQuoteResult
|
|
1328
1326
|
}
|
|
1329
|
-
}`,[
|
|
1327
|
+
}`,[Re]),Bn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1330
1328
|
value: preparePositionSwap(request: $request) {
|
|
1331
1329
|
...PreparePositionSwapResult
|
|
1332
1330
|
}
|
|
1333
|
-
}`,[
|
|
1331
|
+
}`,[we]);var $n=e(`query Borrow($request: BorrowRequest!) {
|
|
1334
1332
|
value: borrow(request: $request) {
|
|
1335
1333
|
...ExecutionPlan
|
|
1336
1334
|
}
|
|
@@ -1504,7 +1502,7 @@
|
|
|
1504
1502
|
otherConditions {
|
|
1505
1503
|
...UserPositionConditionVariation
|
|
1506
1504
|
}
|
|
1507
|
-
}`,[
|
|
1505
|
+
}`,[te,J,X,er,Zt]),zn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1508
1506
|
value: preview(request: $request) {
|
|
1509
1507
|
...PreviewUserPosition
|
|
1510
1508
|
}
|
|
@@ -1820,23 +1818,23 @@
|
|
|
1820
1818
|
value: userSupplies(request: $request) {
|
|
1821
1819
|
...UserSupplyItem
|
|
1822
1820
|
}
|
|
1823
|
-
}`,[
|
|
1821
|
+
}`,[xe]),to=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1824
1822
|
value: userBorrows(request: $request) {
|
|
1825
1823
|
...UserBorrowItem
|
|
1826
1824
|
}
|
|
1827
|
-
}`,[
|
|
1825
|
+
}`,[qe]),ro=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1828
1826
|
value: userSummary(request: $request) {
|
|
1829
1827
|
...UserSummary
|
|
1830
1828
|
}
|
|
1831
|
-
}`,[
|
|
1829
|
+
}`,[Ae]),ao=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1832
1830
|
value: userPositions(request: $request) {
|
|
1833
1831
|
...UserPosition
|
|
1834
1832
|
}
|
|
1835
|
-
}`,[
|
|
1833
|
+
}`,[G]),no=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1836
1834
|
value: userPosition(request: $request) {
|
|
1837
1835
|
...UserPosition
|
|
1838
1836
|
}
|
|
1839
|
-
}`,[
|
|
1837
|
+
}`,[G]),oo=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1840
1838
|
value: userBalances(request: $request) {
|
|
1841
1839
|
...UserBalance
|
|
1842
1840
|
}
|
|
@@ -1848,5 +1846,5 @@
|
|
|
1848
1846
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1849
1847
|
...UserRiskPremiumBreakdownItem
|
|
1850
1848
|
}
|
|
1851
|
-
}`,[
|
|
1849
|
+
}`,[he]);exports.ActivitiesQuery=Zn;exports.ActivityItemFragment=dr;exports.ActivityType=Oe;exports.ApyMetric=_e;exports.ApySampleFragment=K;exports.AssetAmountWithChangeFragment=Dt;exports.AssetBorrowHistoryQuery=Xa;exports.AssetBorrowSampleFragment=Nt;exports.AssetFragment=Lt;exports.AssetPriceHistoryQuery=ja;exports.AssetPriceSampleFragment=Wt;exports.AssetQuery=Za;exports.AssetSampleBreakdownFragment=ke;exports.AssetSummaryFragment=Mt;exports.AssetSupplyHistoryQuery=Ja;exports.AssetSupplySampleFragment=$t;exports.BorrowActivityFragment=rr;exports.BorrowApyHistoryQuery=nn;exports.BorrowQuery=$n;exports.BorrowSwapActivityFragment=cr;exports.BorrowSwapFragment=qt;exports.BorrowSwapKind=We;exports.BorrowSwapQuoteQuery=Un;exports.BorrowSwapQuoteResultFragment=Se;exports.CancelSwapExecutionPlanFragment=le;exports.CancelSwapMutation=bn;exports.ChainFragment=n;exports.ChainQuery=Da;exports.ChainsFilter=Ue;exports.ChainsQuery=Ma;exports.ClaimRewardsQuery=cn;exports.CollateralFactorVariationFragment=Kt;exports.CollateralMetric=Be;exports.Currency=He;exports.DecimalNumberFragment=l;exports.DecimalNumberWithChangeFragment=Y;exports.DomainDataFragment=B;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=M;exports.Erc20ApprovalRequiredFragment=L;exports.Erc20TokenFragment=u;exports.ExchangeAmountFragment=i;exports.ExchangeAmountVariationFragment=X;exports.ExchangeAmountWithChangeFragment=q;exports.ExchangeRateQuery=Ga;exports.ExecutionPlanFragment=U;exports.HasProcessedKnownTransactionQuery=La;exports.HealthFactorErrorFragment=Xe;exports.HealthFactorResultFragment=te;exports.HealthFactorVariationFragment=Je;exports.HealthFactorWithChangeFragment=ee;exports.HealthQuery=Va;exports.HubAssetFragment=C;exports.HubAssetSettingsFragment=rt;exports.HubAssetSummaryFragment=tt;exports.HubAssetUserStateFragment=at;exports.HubAssetsQuery=ma;exports.HubFragment=F;exports.HubQuery=ia;exports.HubSummaryFragment=et;exports.HubSummaryHistoryQuery=ya;exports.HubSummarySampleFragment=_t;exports.HubsQuery=ua;exports.InsufficientBalanceErrorFragment=A;exports.InsufficientLiquidityErrorFragment=I;exports.LiquidatePositionExecutionPlanFragment=Gt;exports.LiquidatePositionQuery=Ln;exports.LiquidatedActivityFragment=pr;exports.LiquidationFeeVariationFragment=Yt;exports.MaxLiquidationBonusVariationFragment=zt;exports.MerklBorrowRewardFragment=pt;exports.MerklCriteriaFragment=E;exports.MerklGenericCriteriaFragment=nt;exports.MerklSupplyRewardFragment=ot;exports.NativeAmountFragment=je;exports.NativeTokenFragment=z;exports.OperationType=Ee;exports.OrderDirection=ve;exports.PageSize=be;exports.PaginatedActivitiesResultFragment=Sr;exports.PaginatedResultInfoFragment=h;exports.PaginatedSpokePositionManagerResultFragment=oe;exports.PaginatedSpokeUserPositionManagerResultFragment=pe;exports.PaginatedUserSwapsResultFragment=ge;exports.PercentNumberChangeSnapshotFragment=Te;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=J;exports.PercentNumberWithChangeFragment=j;exports.PermitTypedDataFragment=re;exports.PositionAmountFragment=w;exports.PositionSwapAdapterContractApprovalFragment=Ct;exports.PositionSwapApprovalFragment=Ut;exports.PositionSwapByIntentApprovalsRequiredFragment=W;exports.PositionSwapPositionManagerApprovalFragment=Et;exports.PreContractActionRequiredFragment=gt;exports.PreparePositionSwapQuery=Bn;exports.PreparePositionSwapResultFragment=we;exports.PrepareSwapCancelQuery=vn;exports.PrepareSwapCancelResultFragment=ce;exports.PrepareSwapOrderFragment=se;exports.PrepareTokenSwapQuery=In;exports.PrepareTokenSwapResultFragment=me;exports.PreviewMerklBorrowRewardFragment=Jt;exports.PreviewMerklSupplyRewardFragment=jt;exports.PreviewQuery=zn;exports.PreviewRewardFragment=Xt;exports.PreviewRewardOutcomeFragment=er;exports.PreviewUserPositionFragment=tr;exports.ProtocolHistoryQuery=en;exports.ProtocolHistorySampleFragment=Vt;exports.QuoteAccuracy=Ge;exports.RenounceSpokeUserPositionManagerQuery=Kn;exports.RepayActivityFragment=or;exports.RepayQuery=Dn;exports.RepayWithSupplyActivityFragment=lr;exports.RepayWithSupplyFragment=At;exports.RepayWithSupplyKind=$e;exports.RepayWithSupplyQuoteQuery=On;exports.RepayWithSupplyQuoteResultFragment=fe;exports.ReserveFragment=k;exports.ReserveInfoFragment=g;exports.ReserveQuery=pn;exports.ReserveSettingsFragment=mt;exports.ReserveStatusFragment=yt;exports.ReserveSummaryFragment=ct;exports.ReserveUserStateFragment=lt;exports.ReservesQuery=sn;exports.ReservesRequestFilter=Qe;exports.RewardFragment=ae;exports.SetSpokeUserPositionManagerQuery=Vn;exports.SetUserSuppliesAsCollateralQuery=Gn;exports.SpokeFragment=m;exports.SpokePositionManagerFragment=it;exports.SpokePositionManagersQuery=wn;exports.SpokeQuery=fn;exports.SpokeUserPositionManagerFragment=ut;exports.SpokeUserPositionManagersQuery=xn;exports.SpokesQuery=Rn;exports.SupplyActivityFragment=ar;exports.SupplyApyHistoryQuery=on;exports.SupplyQuery=Nn;exports.SupplySwapActivityFragment=yr;exports.SupplySwapFragment=xt;exports.SupplySwapKind=Ne;exports.SupplySwapQuoteQuery=En;exports.SupplySwapQuoteResultFragment=de;exports.SwapActivityStatus=Ye;exports.SwapByIntentFragment=St;exports.SwapByIntentWithApprovalRequiredFragment=ft;exports.SwapByTransactionFragment=Rt;exports.SwapCancelledFragment=Pt;exports.SwapCancelledResultFragment=bt;exports.SwapExecutionPlanFragment=ye;exports.SwapExpiredFragment=It;exports.SwapFulfilledFragment=vt;exports.SwapMutation=Tn;exports.SwapOpenFragment=kt;exports.SwapOperationFragment=O;exports.SwapOrderClass=Ke;exports.SwapPendingSignatureFragment=Tt;exports.SwapQuoteCostsFragment=dt;exports.SwapQuoteFragment=H;exports.SwapReceiptFragment=ie;exports.SwapStatusFilter=Me;exports.SwapStatusFragment=V;exports.SwapStatusQuery=kn;exports.SwapTransactionRequestFragment=wt;exports.SwapTypedDataFragment=Q;exports.SwappableTokensQuery=Pn;exports.TimeWindow=Ce;exports.TokenAmountFragment=S;exports.TokenCategory=Le;exports.TokenFragment=Z;exports.TokenInfoFragment=b;exports.TokenSwapActivityFragment=mr;exports.TokenSwapFragment=Ft;exports.TokenSwapKind=ze;exports.TokenSwapQuoteQuery=Fn;exports.TokenSwapQuoteResultFragment=ue;exports.TransactionRequestFragment=y;exports.UpdateUserPositionConditionsQuery=Yn;exports.UpdatedDynamicConfigActivityFragment=ir;exports.UpdatedRiskPremiumActivityFragment=ur;exports.UserBalanceFragment=Fe;exports.UserBalancesQuery=oo;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=to;exports.UserClaimableRewardFragment=ne;exports.UserClaimableRewardsQuery=ln;exports.UserMerklClaimableRewardFragment=st;exports.UserPositionConditionVariationFragment=Zt;exports.UserPositionConditionsUpdate=Ve;exports.UserPositionFragment=G;exports.UserPositionQuery=no;exports.UserPositionRiskPremiumFragment=Ot;exports.UserPositionsQuery=ao;exports.UserRiskPremiumBreakdownItemFragment=he;exports.UserRiskPremiumBreakdownQuery=so;exports.UserSummaryFragment=Ae;exports.UserSummaryHistoryItemFragment=Pe;exports.UserSummaryHistoryQuery=po;exports.UserSummaryQuery=ro;exports.UserSuppliesQuery=eo;exports.UserSupplyItemFragment=xe;exports.UserSwapsQuery=Cn;exports.UsingAsCollateralActivityFragment=sr;exports.WithdrawActivityFragment=nr;exports.WithdrawQuery=Mn;exports.WithdrawSwapActivityFragment=gr;exports.WithdrawSwapFragment=ht;exports.WithdrawSwapKind=De;exports.WithdrawSwapQuoteQuery=_n;exports.WithdrawSwapQuoteResultFragment=Re;exports.assetId=ga;exports.decodeHubId=Sa;exports.decodeReserveId=wa;exports.decodeSpokeId=Ia;exports.decodeUserPositionId=qa;exports.encodeHubId=da;exports.encodeReserveId=xa;exports.encodeSpokeId=Pa;exports.encodeUserPositionId=Aa;exports.graphql=e;exports.hubAssetId=fa;exports.hubId=Bt;exports.isChainIdsVariant=Oa;exports.isERC20PermitSignature=Cr;exports.isHubInputVariant=Ua;exports.isReserveInputVariant=Ha;exports.isSpokeInputVariant=Ba;exports.isTokensVariant=_a;exports.isTxHashInputVariant=Qa;exports.reserveId=Ra;exports.spokeId=Qt;exports.swapId=ha;exports.swapQuoteId=Fa;exports.tokenInfoId=ba;exports.userBalanceId=ka;exports.userBorrowItemId=Ta;exports.userPositionId=Ht;exports.userSupplyItemId=va;//# sourceMappingURL=index.cjs.map
|
|
1852
1850
|
//# sourceMappingURL=index.cjs.map
|