@aave/graphql 1.0.0-next.30 → 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 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -251
- package/dist/index.d.ts +13 -251
- package/dist/index.js +65 -68
- 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 +4 -6
- package/dist/testing.js +2 -2
- package/dist/testing.js.map +1 -1
- 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,12 +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
|
-
explorerUrl
|
|
606
606
|
createdAt
|
|
607
|
-
}`),
|
|
607
|
+
}`),ue=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
608
608
|
__typename
|
|
609
609
|
... on SwapByIntent {
|
|
610
610
|
...SwapByIntent
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
... on InsufficientLiquidityError {
|
|
619
619
|
...InsufficientLiquidityError
|
|
620
620
|
}
|
|
621
|
-
}`,[St,ft,Rt,I]),
|
|
621
|
+
}`,[St,ft,Rt,I]),me=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
622
622
|
__typename
|
|
623
623
|
... on PrepareSwapOrder {
|
|
624
624
|
...PrepareSwapOrder
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
... on InsufficientBalanceError {
|
|
627
627
|
...InsufficientBalanceError
|
|
628
628
|
}
|
|
629
|
-
}`,[
|
|
629
|
+
}`,[se,A]),wt=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
630
630
|
__typename
|
|
631
631
|
transaction {
|
|
632
632
|
...TransactionRequest
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
orderReceipt {
|
|
635
635
|
...SwapReceipt
|
|
636
636
|
}
|
|
637
|
-
}`,[y,
|
|
637
|
+
}`,[y,ie]),ye=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
638
638
|
__typename
|
|
639
639
|
... on SwapTransactionRequest {
|
|
640
640
|
...SwapTransactionRequest
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
... on InsufficientBalanceError {
|
|
646
646
|
...InsufficientBalanceError
|
|
647
647
|
}
|
|
648
|
-
}`,[wt,
|
|
648
|
+
}`,[wt,ie,A]),w=e(`fragment PositionAmount on PositionAmount {
|
|
649
649
|
__typename
|
|
650
650
|
reserve {
|
|
651
651
|
...ReserveInfo
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
... on SwapFulfilled {
|
|
785
785
|
...SwapFulfilled
|
|
786
786
|
}
|
|
787
|
-
}`,[kt,Tt,Pt,It,vt]),
|
|
787
|
+
}`,[kt,Tt,Pt,It,vt]),ce=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
788
788
|
__typename
|
|
789
789
|
data {
|
|
790
790
|
...SwapTypedData
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
createdAt
|
|
796
796
|
cancelledAt
|
|
797
797
|
explorerUrl
|
|
798
|
-
}`),
|
|
798
|
+
}`),le=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
799
799
|
__typename
|
|
800
800
|
... on TransactionRequest {
|
|
801
801
|
...TransactionRequest
|
|
@@ -803,7 +803,7 @@
|
|
|
803
803
|
... on SwapCancelledResult {
|
|
804
804
|
...SwapCancelledResult
|
|
805
805
|
}
|
|
806
|
-
}`,[y,bt]),
|
|
806
|
+
}`,[y,bt]),ge=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
807
807
|
__typename
|
|
808
808
|
items {
|
|
809
809
|
...SwapStatus
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
approvals {
|
|
841
841
|
...PositionSwapApproval
|
|
842
842
|
}
|
|
843
|
-
}`,[H,Ut]),
|
|
843
|
+
}`,[H,Ut]),de=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
844
844
|
__typename
|
|
845
845
|
... on PositionSwapByIntentApprovalsRequired {
|
|
846
846
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
... on InsufficientLiquidityError {
|
|
849
849
|
...InsufficientLiquidityError
|
|
850
850
|
}
|
|
851
|
-
}`,[W,I]),
|
|
851
|
+
}`,[W,I]),Se=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
852
852
|
__typename
|
|
853
853
|
... on PositionSwapByIntentApprovalsRequired {
|
|
854
854
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -856,7 +856,7 @@
|
|
|
856
856
|
... on InsufficientLiquidityError {
|
|
857
857
|
...InsufficientLiquidityError
|
|
858
858
|
}
|
|
859
|
-
}`,[W,I]),
|
|
859
|
+
}`,[W,I]),fe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
860
860
|
__typename
|
|
861
861
|
... on PositionSwapByIntentApprovalsRequired {
|
|
862
862
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -864,7 +864,7 @@
|
|
|
864
864
|
... on InsufficientLiquidityError {
|
|
865
865
|
...InsufficientLiquidityError
|
|
866
866
|
}
|
|
867
|
-
}`,[W,I]),
|
|
867
|
+
}`,[W,I]),Re=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
868
868
|
__typename
|
|
869
869
|
... on PositionSwapByIntentApprovalsRequired {
|
|
870
870
|
...PositionSwapByIntentApprovalsRequired
|
|
@@ -872,7 +872,7 @@
|
|
|
872
872
|
... on InsufficientLiquidityError {
|
|
873
873
|
...InsufficientLiquidityError
|
|
874
874
|
}
|
|
875
|
-
}`,[W,I]),
|
|
875
|
+
}`,[W,I]),we=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
876
876
|
__typename
|
|
877
877
|
... on PrepareSwapOrder {
|
|
878
878
|
...PrepareSwapOrder
|
|
@@ -880,7 +880,7 @@
|
|
|
880
880
|
... on InsufficientBalanceError {
|
|
881
881
|
...InsufficientBalanceError
|
|
882
882
|
}
|
|
883
|
-
}`,[
|
|
883
|
+
}`,[se,A]);var xe=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
884
884
|
__typename
|
|
885
885
|
id
|
|
886
886
|
reserve {
|
|
@@ -897,7 +897,7 @@
|
|
|
897
897
|
}
|
|
898
898
|
isCollateral
|
|
899
899
|
createdAt
|
|
900
|
-
}`,[p,k]),
|
|
900
|
+
}`,[p,k]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
901
901
|
__typename
|
|
902
902
|
id
|
|
903
903
|
principal {
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
...Reserve
|
|
914
914
|
}
|
|
915
915
|
createdAt
|
|
916
|
-
}`,[p,k]),
|
|
916
|
+
}`,[p,k]),Ae=e(`fragment UserSummary on UserSummary {
|
|
917
917
|
__typename
|
|
918
918
|
totalPositions
|
|
919
919
|
netBalance(currency: $currency) {
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
...ExchangeAmount
|
|
936
936
|
}
|
|
937
937
|
lowestHealthFactor
|
|
938
|
-
}`,[q,i,a]),
|
|
938
|
+
}`,[q,i,a]),he=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
939
939
|
__typename
|
|
940
940
|
token {
|
|
941
941
|
...Erc20Token
|
|
@@ -957,10 +957,7 @@
|
|
|
957
957
|
latest {
|
|
958
958
|
...PercentNumber
|
|
959
959
|
}
|
|
960
|
-
|
|
961
|
-
...UserRiskPremiumBreakdownItem
|
|
962
|
-
}
|
|
963
|
-
}`,[a,G]),K=e(`fragment UserPosition on UserPosition {
|
|
960
|
+
}`,[a]),G=e(`fragment UserPosition on UserPosition {
|
|
964
961
|
__typename
|
|
965
962
|
id
|
|
966
963
|
spoke {
|
|
@@ -1014,7 +1011,7 @@
|
|
|
1014
1011
|
averageCollateralFactor {
|
|
1015
1012
|
...PercentNumber
|
|
1016
1013
|
}
|
|
1017
|
-
}`,[m,a,q,i,
|
|
1014
|
+
}`,[m,a,q,i,j,ee,Ot]),Fe=e(`fragment UserBalance on UserBalance {
|
|
1018
1015
|
__typename
|
|
1019
1016
|
id
|
|
1020
1017
|
info {
|
|
@@ -1060,7 +1057,7 @@
|
|
|
1060
1057
|
}
|
|
1061
1058
|
healthFactor
|
|
1062
1059
|
date
|
|
1063
|
-
}`,[i]),
|
|
1060
|
+
}`,[i]),K=e(`fragment ApySample on ApySample {
|
|
1064
1061
|
__typename
|
|
1065
1062
|
date
|
|
1066
1063
|
avgRate {
|
|
@@ -1172,7 +1169,7 @@
|
|
|
1172
1169
|
exchange(currency: $currency) {
|
|
1173
1170
|
...ExchangeAmountWithChange
|
|
1174
1171
|
}
|
|
1175
|
-
}`,[
|
|
1172
|
+
}`,[Y,q]),Mt=e(`fragment AssetSummary on AssetSummary {
|
|
1176
1173
|
__typename
|
|
1177
1174
|
totalSupplyCap {
|
|
1178
1175
|
...AssetAmountWithChange
|
|
@@ -1243,11 +1240,11 @@
|
|
|
1243
1240
|
value: borrowApyHistory(request: $request) {
|
|
1244
1241
|
...ApySample
|
|
1245
1242
|
}
|
|
1246
|
-
}`,[
|
|
1243
|
+
}`,[K]),on=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
1247
1244
|
value: supplyApyHistory(request: $request) {
|
|
1248
1245
|
...ApySample
|
|
1249
1246
|
}
|
|
1250
|
-
}`,[
|
|
1247
|
+
}`,[K]),pn=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1251
1248
|
value: reserve(request: $request) {
|
|
1252
1249
|
...Reserve
|
|
1253
1250
|
}
|
|
@@ -1263,7 +1260,7 @@
|
|
|
1263
1260
|
value: userClaimableRewards(request: $request) {
|
|
1264
1261
|
...UserClaimableReward
|
|
1265
1262
|
}
|
|
1266
|
-
}`,[
|
|
1263
|
+
}`,[ne]);var fn=e(`query Spoke($request: SpokeRequest!) {
|
|
1267
1264
|
value: spoke(request: $request) {
|
|
1268
1265
|
...Spoke
|
|
1269
1266
|
}
|
|
@@ -1275,23 +1272,23 @@
|
|
|
1275
1272
|
value: spokePositionManagers(request: $request) {
|
|
1276
1273
|
...PaginatedSpokePositionManagerResult
|
|
1277
1274
|
}
|
|
1278
|
-
}`,[
|
|
1275
|
+
}`,[oe]),xn=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
1279
1276
|
value: spokeUserPositionManagers(request: $request) {
|
|
1280
1277
|
...PaginatedSpokeUserPositionManagerResult
|
|
1281
1278
|
}
|
|
1282
|
-
}`,[
|
|
1279
|
+
}`,[pe]);var Fn=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1283
1280
|
value: tokenSwapQuote(request: $request) {
|
|
1284
1281
|
...TokenSwapQuoteResult
|
|
1285
1282
|
}
|
|
1286
|
-
}`,[
|
|
1283
|
+
}`,[ue]),Pn=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
1287
1284
|
value: swappableTokens(request: $request) {
|
|
1288
1285
|
...Token
|
|
1289
1286
|
}
|
|
1290
|
-
}`,[
|
|
1287
|
+
}`,[Z]),In=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1291
1288
|
value: prepareTokenSwap(request: $request) {
|
|
1292
1289
|
...PrepareTokenSwapResult
|
|
1293
1290
|
}
|
|
1294
|
-
}`,[
|
|
1291
|
+
}`,[me]),kn=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1295
1292
|
value: swapStatus(request: $request) {
|
|
1296
1293
|
...SwapStatus
|
|
1297
1294
|
}
|
|
@@ -1299,39 +1296,39 @@
|
|
|
1299
1296
|
value: swap(request: $request) {
|
|
1300
1297
|
...SwapExecutionPlan
|
|
1301
1298
|
}
|
|
1302
|
-
}`,[
|
|
1299
|
+
}`,[ye]),vn=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
1303
1300
|
value: prepareSwapCancel(request: $request) {
|
|
1304
1301
|
...PrepareSwapCancelResult
|
|
1305
1302
|
}
|
|
1306
|
-
}`,[
|
|
1303
|
+
}`,[ce]),bn=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
1307
1304
|
value: cancelSwap(request: $request) {
|
|
1308
1305
|
...CancelSwapExecutionPlan
|
|
1309
1306
|
}
|
|
1310
|
-
}`,[
|
|
1307
|
+
}`,[le]),Cn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1311
1308
|
value: userSwaps(request: $request) {
|
|
1312
1309
|
...PaginatedUserSwapsResult
|
|
1313
1310
|
}
|
|
1314
|
-
}`,[
|
|
1311
|
+
}`,[ge]),En=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1315
1312
|
value: supplySwapQuote(request: $request) {
|
|
1316
1313
|
...SupplySwapQuoteResult
|
|
1317
1314
|
}
|
|
1318
|
-
}`,[
|
|
1315
|
+
}`,[de]),Un=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1319
1316
|
value: borrowSwapQuote(request: $request) {
|
|
1320
1317
|
...BorrowSwapQuoteResult
|
|
1321
1318
|
}
|
|
1322
|
-
}`,[
|
|
1319
|
+
}`,[Se]),On=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1323
1320
|
value: repayWithSupplyQuote(request: $request) {
|
|
1324
1321
|
...RepayWithSupplyQuoteResult
|
|
1325
1322
|
}
|
|
1326
|
-
}`,[
|
|
1323
|
+
}`,[fe]),_n=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1327
1324
|
value: withdrawSwapQuote(request: $request) {
|
|
1328
1325
|
...WithdrawSwapQuoteResult
|
|
1329
1326
|
}
|
|
1330
|
-
}`,[
|
|
1327
|
+
}`,[Re]),Bn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1331
1328
|
value: preparePositionSwap(request: $request) {
|
|
1332
1329
|
...PreparePositionSwapResult
|
|
1333
1330
|
}
|
|
1334
|
-
}`,[
|
|
1331
|
+
}`,[we]);var $n=e(`query Borrow($request: BorrowRequest!) {
|
|
1335
1332
|
value: borrow(request: $request) {
|
|
1336
1333
|
...ExecutionPlan
|
|
1337
1334
|
}
|
|
@@ -1505,7 +1502,7 @@
|
|
|
1505
1502
|
otherConditions {
|
|
1506
1503
|
...UserPositionConditionVariation
|
|
1507
1504
|
}
|
|
1508
|
-
}`,[
|
|
1505
|
+
}`,[te,J,X,er,Zt]),zn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD, $timeWindow: TimeWindow! = LAST_WEEK) {
|
|
1509
1506
|
value: preview(request: $request) {
|
|
1510
1507
|
...PreviewUserPosition
|
|
1511
1508
|
}
|
|
@@ -1821,23 +1818,23 @@
|
|
|
1821
1818
|
value: userSupplies(request: $request) {
|
|
1822
1819
|
...UserSupplyItem
|
|
1823
1820
|
}
|
|
1824
|
-
}`,[
|
|
1821
|
+
}`,[xe]),to=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1825
1822
|
value: userBorrows(request: $request) {
|
|
1826
1823
|
...UserBorrowItem
|
|
1827
1824
|
}
|
|
1828
|
-
}`,[
|
|
1825
|
+
}`,[qe]),ro=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1829
1826
|
value: userSummary(request: $request) {
|
|
1830
1827
|
...UserSummary
|
|
1831
1828
|
}
|
|
1832
|
-
}`,[
|
|
1829
|
+
}`,[Ae]),ao=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1833
1830
|
value: userPositions(request: $request) {
|
|
1834
1831
|
...UserPosition
|
|
1835
1832
|
}
|
|
1836
|
-
}`,[
|
|
1833
|
+
}`,[G]),no=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1837
1834
|
value: userPosition(request: $request) {
|
|
1838
1835
|
...UserPosition
|
|
1839
1836
|
}
|
|
1840
|
-
}`,[
|
|
1837
|
+
}`,[G]),oo=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1841
1838
|
value: userBalances(request: $request) {
|
|
1842
1839
|
...UserBalance
|
|
1843
1840
|
}
|
|
@@ -1849,5 +1846,5 @@
|
|
|
1849
1846
|
value: userRiskPremiumBreakdown(request: $request) {
|
|
1850
1847
|
...UserRiskPremiumBreakdownItem
|
|
1851
1848
|
}
|
|
1852
|
-
}`,[
|
|
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
|
|
1853
1850
|
//# sourceMappingURL=index.cjs.map
|