@aave/graphql 1.0.0-next.27 → 1.0.0-next.28

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 CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var ke=(r=>(r.Asc="ASC",r.Desc="DESC",r))(ke||{}),ve=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(ve||{}),be=(P=>(P.LastDay="LAST_DAY",P.LastWeek="LAST_WEEK",P.LastMonth="LAST_MONTH",P.LastSixMonths="LAST_SIX_MONTHS",P.LastYear="LAST_YEAR",P.All="ALL",P))(be||{}),Ee=(g=>(g.SpokeBorrow="SPOKE_BORROW",g.SpokeRepay="SPOKE_REPAY",g.SpokeSupply="SPOKE_SUPPLY",g.SpokeWithdraw="SPOKE_WITHDRAW",g.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",g.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",g.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",g.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",g.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",g.Liquidation="LIQUIDATION",g))(Ee||{}),Ce=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(Ce||{}),Ue=(y=>(y.Borrow="BORROW",y.Supply="SUPPLY",y.Withdraw="WITHDRAW",y.Repay="REPAY",y.Liquidated="LIQUIDATED",y.SetAsCollateral="SET_AS_COLLATERAL",y.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",y.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",y.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",y.SupplySwap="SUPPLY_SWAP",y.BorrowSwap="BORROW_SWAP",y.RepayWithSupply="REPAY_WITH_SUPPLY",y.WithdrawSwap="WITHDRAW_SWAP",y))(Ue||{}),Oe=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Oe||{}),_e=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(_e||{}),Be=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Be||{}),He=(R=>(R.Supply="SUPPLY",R.Borrow="BORROW",R.Collateral="COLLATERAL",R.All="ALL",R))(He||{}),Qe=(r=>(r.Current="CURRENT",r.New="NEW",r))(Qe||{}),We=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(We||{}),$e=(r=>(r.Current="CURRENT",r.New="NEW",r))($e||{}),Ne=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(Ne||{}),De=(v=>(v.Cancelled="CANCELLED",v.Expired="EXPIRED",v.Fulfilled="FULFILLED",v.Open="OPEN",v.PendingSignature="PENDING_SIGNATURE",v))(De||{}),Le=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(Le||{}),Me=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(Me||{}),Ve=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Ve||{}),Ke=(r=>(r.Market="MARKET",r.Limit="LIMIT",r))(Ke||{}),Ge=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Ge||{});var e=gql_tada.initGraphQLTada();var B=e(`fragment DomainData on DomainData {
1
+ 'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Ie=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Ie||{}),Te=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Te||{}),ke=(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))(ke||{}),ve=(g=>(g.SpokeBorrow="SPOKE_BORROW",g.SpokeRepay="SPOKE_REPAY",g.SpokeSupply="SPOKE_SUPPLY",g.SpokeWithdraw="SPOKE_WITHDRAW",g.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",g.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",g.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",g.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",g.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",g.Liquidation="LIQUIDATION",g))(ve||{}),Ee=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(Ee||{}),be=(y=>(y.Borrow="BORROW",y.Supply="SUPPLY",y.Withdraw="WITHDRAW",y.Repay="REPAY",y.Liquidated="LIQUIDATED",y.SetAsCollateral="SET_AS_COLLATERAL",y.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",y.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",y.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",y.SupplySwap="SUPPLY_SWAP",y.BorrowSwap="BORROW_SWAP",y.RepayWithSupply="REPAY_WITH_SUPPLY",y.WithdrawSwap="WITHDRAW_SWAP",y))(be||{}),Ce=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Ce||{}),Ue=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ue||{}),Oe=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Oe||{}),_e=(q=>(q.Supply="SUPPLY",q.Borrow="BORROW",q.Collateral="COLLATERAL",q.All="ALL",q))(_e||{}),Be=(r=>(r.Current="CURRENT",r.New="NEW",r))(Be||{}),He=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(He||{}),Qe=(r=>(r.Current="CURRENT",r.New="NEW",r))(Qe||{}),We=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(We||{}),$e=(v=>(v.Cancelled="CANCELLED",v.Expired="EXPIRED",v.Fulfilled="FULFILLED",v.Open="OPEN",v.PendingSignature="PENDING_SIGNATURE",v))($e||{}),Ne=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(Ne||{}),De=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(De||{}),Le=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Le||{}),Me=(r=>(r.Market="MARKET",r.Limit="LIMIT",r))(Me||{}),Ve=(o=>(o.Fulfilled="FULFILLED",o.Cancelled="CANCELLED",o.Expired="EXPIRED",o))(Ve||{}),Ke=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Ke||{});var e=gql_tada.initGraphQLTada();var _=e(`fragment DomainData on DomainData {
2
2
  name
3
3
  version
4
4
  chainId
@@ -14,7 +14,7 @@
14
14
  decimals
15
15
  value
16
16
  normalized
17
- }`),Z=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
17
+ }`),Y=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
18
18
  __typename
19
19
  current {
20
20
  ...DecimalNumber
@@ -29,7 +29,7 @@
29
29
  symbol
30
30
  icon
31
31
  decimals
32
- }`),b=e(`fragment TokenInfo on TokenInfo {
32
+ }`),E=e(`fragment TokenInfo on TokenInfo {
33
33
  __typename
34
34
  id
35
35
  name
@@ -52,7 +52,7 @@
52
52
  nativeInfo {
53
53
  ...TokenInfo
54
54
  }
55
- }`,[b]),l=e(`fragment Erc20Token on Erc20Token {
55
+ }`,[E]),l=e(`fragment Erc20Token on Erc20Token {
56
56
  __typename
57
57
  info {
58
58
  ...TokenInfo
@@ -62,7 +62,7 @@
62
62
  ...Chain
63
63
  }
64
64
  isWrappedNativeToken
65
- }`,[b,n]),j=e(`fragment NativeToken on NativeToken {
65
+ }`,[E,n]),z=e(`fragment NativeToken on NativeToken {
66
66
  __typename
67
67
  info {
68
68
  ...TokenInfo
@@ -70,7 +70,7 @@
70
70
  chain {
71
71
  ...Chain
72
72
  }
73
- }`,[b,n]),p=e(`fragment Erc20Amount on Erc20Amount {
73
+ }`,[E,n]),s=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
- }`,[l,c,i]),L=e(`fragment NativeAmount on NativeAmount {
87
+ }`,[l,c,i]),Ye=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,c,i]),x=e(`fragment TokenAmount on TokenAmount {
101
+ }`,[z,c,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,L]),J=e(`fragment Token on Token {
109
+ }`,[s,Ye]),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
- }`,[l,j]),w=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
117
+ }`,[l,z]),x=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]),X=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
125
+ }`,[i,a]),j=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
126
126
  __typename
127
127
  current {
128
128
  ...PercentNumber
@@ -130,11 +130,11 @@
130
130
  change(window: $timeWindow){
131
131
  ...PercentNumber
132
132
  }
133
- }`,[a]),A=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
133
+ }`,[a]),h=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
134
134
  __typename
135
135
  prev
136
136
  next
137
- }`),ee=e(`fragment PercentNumberVariation on PercentNumberVariation {
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]),te=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
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]),re=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
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
- }`),ae=e(`fragment HealthFactorResult on HealthFactorResult {
168
+ }`),te=e(`fragment HealthFactorResult on HealthFactorResult {
169
169
  __typename
170
170
  ... on HealthFactorVariation {
171
171
  ...HealthFactorVariation
@@ -173,7 +173,7 @@
173
173
  ... on HealthFactorError {
174
174
  ...HealthFactorError
175
175
  }
176
- }`,[ze,Ze]),q=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
176
+ }`,[ze,Ze]),A=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
177
177
  __typename
178
178
  required {
179
179
  ...DecimalNumber
@@ -181,7 +181,7 @@
181
181
  available {
182
182
  ...DecimalNumber
183
183
  }
184
- }`,[c]),F=e(`fragment InsufficientLiquidityError on InsufficientLiquidityError {
184
+ }`,[c]),I=e(`fragment InsufficientLiquidityError on InsufficientLiquidityError {
185
185
  __typename
186
186
  reason
187
187
  }`);var je=e(`fragment HubSummary on HubSummary {
@@ -201,7 +201,7 @@
201
201
  utilizationRate {
202
202
  ...PercentNumber
203
203
  }
204
- }`,[i,w,a]),h=e(`fragment Hub on Hub {
204
+ }`,[i,x,a]),P=e(`fragment Hub on Hub {
205
205
  __typename
206
206
  id
207
207
  name
@@ -235,7 +235,7 @@
235
235
  utilizationRate {
236
236
  ...PercentNumber
237
237
  }
238
- }`,[p,a]),Xe=e(`fragment HubAssetSettings on HubAssetSettings {
238
+ }`,[s,a]),Xe=e(`fragment HubAssetSettings on HubAssetSettings {
239
239
  __typename
240
240
  feeReceiver
241
241
  liquidityFee {
@@ -248,7 +248,7 @@
248
248
  balance {
249
249
  ...Erc20Amount
250
250
  }
251
- }`,[p]),E=e(`fragment HubAsset on HubAsset {
251
+ }`,[s]),b=e(`fragment HubAsset on HubAsset {
252
252
  __typename
253
253
  id
254
254
  onchainAssetId
@@ -267,7 +267,7 @@
267
267
  userState {
268
268
  ...HubAssetUserState
269
269
  }
270
- }`,[h,l,Je,Xe,et]);var ne=e(`fragment PermitTypedData on PermitTypedData {
270
+ }`,[P,l,Je,Xe,et]);var re=e(`fragment PermitTypedData on PermitTypedData {
271
271
  __typename
272
272
  types
273
273
  primaryType
@@ -275,7 +275,7 @@
275
275
  ...DomainData
276
276
  }
277
277
  message
278
- }`,[B]);function qr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var u=e(`fragment Spoke on Spoke {
278
+ }`,[_]);function qr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var u=e(`fragment Spoke on Spoke {
279
279
  __typename
280
280
  id
281
281
  name
@@ -288,7 +288,7 @@
288
288
  address
289
289
  active
290
290
  name
291
- }`),oe=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
291
+ }`),ae=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
292
292
  __typename
293
293
  items {
294
294
  ...SpokePositionManager
@@ -296,13 +296,13 @@
296
296
  pageInfo {
297
297
  ...PaginatedResultInfo
298
298
  }
299
- }`,[tt,A]),rt=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
299
+ }`,[tt,h]),rt=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
300
300
  __typename
301
301
  address
302
302
  approvedOn
303
303
  active
304
304
  name
305
- }`),pe=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
305
+ }`),ne=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
306
306
  __typename
307
307
  items {
308
308
  ...SpokeUserPositionManager
@@ -310,7 +310,7 @@
310
310
  pageInfo {
311
311
  ...PaginatedResultInfo
312
312
  }
313
- }`,[rt,A]);var at=e(`fragment ReserveSettings on ReserveSettings {
313
+ }`,[rt,h]);var at=e(`fragment ReserveSettings on ReserveSettings {
314
314
  __typename
315
315
  collateralFactor {
316
316
  ...PercentNumber
@@ -347,7 +347,7 @@
347
347
  borrowApy {
348
348
  ...PercentNumber
349
349
  }
350
- }`,[p,a]),pt=e(`fragment ReserveUserState on ReserveUserState {
350
+ }`,[s,a]),pt=e(`fragment ReserveUserState on ReserveUserState {
351
351
  __typename
352
352
  balance {
353
353
  ...Erc20Amount
@@ -371,7 +371,7 @@
371
371
  ...PercentNumber
372
372
  }
373
373
  dynamicConfigKey
374
- }`,[p,a]),I=e(`fragment Reserve on Reserve {
374
+ }`,[s,a]),T=e(`fragment Reserve on Reserve {
375
375
  __typename
376
376
  id
377
377
  onChainId
@@ -402,13 +402,13 @@
402
402
  asset {
403
403
  ...HubAsset
404
404
  }
405
- }`,[u,n,ot,at,nt,pt,E]),S=e(`fragment ReserveInfo on ReserveInfo {
405
+ }`,[u,n,ot,at,nt,pt,b]),d=e(`fragment ReserveInfo on ReserveInfo {
406
406
  __typename
407
407
  id
408
408
  asset {
409
409
  ...HubAsset
410
410
  }
411
- }`,[E]);var m=e(`fragment TransactionRequest on TransactionRequest {
411
+ }`,[b]);var m=e(`fragment TransactionRequest on TransactionRequest {
412
412
  __typename
413
413
  to
414
414
  from
@@ -416,7 +416,7 @@
416
416
  value
417
417
  chainId
418
418
  operations
419
- }`),M=e(`fragment Erc20Approval on Erc20Approval {
419
+ }`),D=e(`fragment Erc20Approval on Erc20Approval {
420
420
  __typename
421
421
  byTransaction {
422
422
  ...TransactionRequest
@@ -424,7 +424,7 @@
424
424
  bySignature {
425
425
  ...PermitTypedData
426
426
  }
427
- }`,[m,ne]),V=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
427
+ }`,[m,re]),L=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
428
428
  __typename
429
429
  approvals {
430
430
  ...Erc20Approval
@@ -439,7 +439,7 @@
439
439
  originalTransaction {
440
440
  ...TransactionRequest
441
441
  }
442
- }`,[m,M,c]),st=e(`fragment PreContractActionRequired on PreContractActionRequired {
442
+ }`,[m,D,c]),st=e(`fragment PreContractActionRequired on PreContractActionRequired {
443
443
  __typename
444
444
  transaction {
445
445
  ...TransactionRequest
@@ -462,7 +462,7 @@
462
462
  ... on InsufficientBalanceError {
463
463
  ...InsufficientBalanceError
464
464
  }
465
- }`,[m,V,st,q]);var it=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
465
+ }`,[m,L,st,A]);var it=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
466
466
  __typename
467
467
  networkCosts {
468
468
  ...TokenAmount
@@ -476,7 +476,7 @@
476
476
  providerFee {
477
477
  ...TokenAmount
478
478
  }
479
- }`,[x]),H=e(`fragment SwapQuote on SwapQuote {
479
+ }`,[S]),B=e(`fragment SwapQuote on SwapQuote {
480
480
  __typename
481
481
  accuracy
482
482
  quoteId
@@ -501,7 +501,7 @@
501
501
  finalSell {
502
502
  ...TokenAmount
503
503
  }
504
- }`,[a,x,it]),Q=e(`fragment SwapTypedData on SwapTypedData {
504
+ }`,[a,S,it]),H=e(`fragment SwapTypedData on SwapTypedData {
505
505
  __typename
506
506
  primaryType
507
507
  types
@@ -509,19 +509,19 @@
509
509
  ...DomainData
510
510
  }
511
511
  message
512
- }`,[B]),se=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
512
+ }`,[_]),oe=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
513
513
  __typename
514
514
  newQuoteId
515
515
  data {
516
516
  ...SwapTypedData
517
517
  }
518
- }`,[Q]),ut=e(`fragment SwapByIntent on SwapByIntent {
518
+ }`,[H]),ut=e(`fragment SwapByIntent on SwapByIntent {
519
519
  __typename
520
520
  quote {
521
521
  ...SwapQuote
522
522
  }
523
523
 
524
- }`,[H]),mt=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
524
+ }`,[B]),mt=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
525
525
  __typename
526
526
  approvals {
527
527
  ...Erc20Approval
@@ -529,17 +529,17 @@
529
529
  quote {
530
530
  ...SwapQuote
531
531
  }
532
- }`,[M,H]),yt=e(`fragment SwapByTransaction on SwapByTransaction {
532
+ }`,[D,B]),yt=e(`fragment SwapByTransaction on SwapByTransaction {
533
533
  __typename
534
534
  quote {
535
535
  ...SwapQuote
536
536
  }
537
- }`,[H]),ie=e(`fragment SwapReceipt on SwapReceipt {
537
+ }`,[B]),pe=e(`fragment SwapReceipt on SwapReceipt {
538
538
  __typename
539
539
  id
540
540
  explorerUrl
541
541
  createdAt
542
- }`),ue=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
542
+ }`),se=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
543
543
  __typename
544
544
  ... on SwapByIntent {
545
545
  ...SwapByIntent
@@ -553,7 +553,7 @@
553
553
  ... on InsufficientLiquidityError {
554
554
  ...InsufficientLiquidityError
555
555
  }
556
- }`,[ut,mt,yt,F]),me=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
556
+ }`,[ut,mt,yt,I]),ie=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
557
557
  __typename
558
558
  ... on PrepareSwapOrder {
559
559
  ...PrepareSwapOrder
@@ -561,7 +561,7 @@
561
561
  ... on InsufficientBalanceError {
562
562
  ...InsufficientBalanceError
563
563
  }
564
- }`,[se,q]),ct=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
564
+ }`,[oe,A]),ct=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
565
565
  __typename
566
566
  transaction {
567
567
  ...TransactionRequest
@@ -569,7 +569,7 @@
569
569
  orderReceipt {
570
570
  ...SwapReceipt
571
571
  }
572
- }`,[m,ie]),ye=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
572
+ }`,[m,pe]),ue=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
573
573
  __typename
574
574
  ... on SwapTransactionRequest {
575
575
  ...SwapTransactionRequest
@@ -580,7 +580,7 @@
580
580
  ... on InsufficientBalanceError {
581
581
  ...InsufficientBalanceError
582
582
  }
583
- }`,[ct,ie,q]),U=e(`fragment PositionAmount on PositionAmount {
583
+ }`,[ct,pe,A]),w=e(`fragment PositionAmount on PositionAmount {
584
584
  __typename
585
585
  reserve {
586
586
  ...ReserveInfo
@@ -588,57 +588,57 @@
588
588
  amount {
589
589
  ...Erc20Amount
590
590
  }
591
- }`,[S,p]),lt=e(`fragment SupplySwap on SupplySwap {
591
+ }`,[d,s]),lt=e(`fragment SupplySwap on SupplySwap {
592
592
  __typename
593
- sellPosition {
593
+ sell {
594
594
  ...PositionAmount
595
595
  }
596
- buyPosition {
596
+ buy {
597
597
  ...PositionAmount
598
598
  }
599
599
  kind
600
600
  orderClass
601
- }`,[U]),gt=e(`fragment BorrowSwap on BorrowSwap {
601
+ }`,[w]),gt=e(`fragment BorrowSwap on BorrowSwap {
602
602
  __typename
603
- sellPosition {
603
+ sell {
604
604
  ...PositionAmount
605
605
  }
606
- buyPosition {
606
+ buy {
607
607
  ...PositionAmount
608
608
  }
609
609
  kind
610
610
  orderClass
611
- }`,[U]),St=e(`fragment RepayWithSupply on RepayWithSupply {
611
+ }`,[w]),St=e(`fragment RepayWithSupply on RepayWithSupply {
612
612
  __typename
613
- sellPosition {
613
+ repay {
614
614
  ...PositionAmount
615
615
  }
616
- buyPosition {
616
+ supply {
617
617
  ...PositionAmount
618
618
  }
619
619
  kind
620
620
  orderClass
621
- }`,[U]),dt=e(`fragment WithdrawSwap on WithdrawSwap {
621
+ }`,[w]),dt=e(`fragment WithdrawSwap on WithdrawSwap {
622
622
  __typename
623
- sellPosition {
623
+ withdraw {
624
624
  ...PositionAmount
625
625
  }
626
- buyToken {
626
+ buy {
627
627
  ...TokenAmount
628
628
  }
629
629
  kind
630
630
  orderClass
631
- }`,[U,x]),ft=e(`fragment TokenSwap on TokenSwap {
631
+ }`,[w,S]),ft=e(`fragment TokenSwap on TokenSwap {
632
632
  __typename
633
- sold {
633
+ sell {
634
634
  ...TokenAmount
635
635
  }
636
- bought {
636
+ buy {
637
637
  ...TokenAmount
638
638
  }
639
639
  kind
640
640
  orderClass
641
- }`,[x]),O=e(`fragment SwapOperation on SwapOperation {
641
+ }`,[S]),U=e(`fragment SwapOperation on SwapOperation {
642
642
  __typename
643
643
  ... on SupplySwap {
644
644
  ...SupplySwap
@@ -664,7 +664,7 @@
664
664
  operation {
665
665
  ...SwapOperation
666
666
  }
667
- }`,[O]),wt=e(`fragment SwapExpired on SwapExpired {
667
+ }`,[U]),wt=e(`fragment SwapExpired on SwapExpired {
668
668
  __typename
669
669
  swapId
670
670
  createdAt
@@ -673,18 +673,7 @@
673
673
  operation {
674
674
  ...SwapOperation
675
675
  }
676
- }`,[O]),T=e(`fragment SwapAmount on SwapAmount {
677
- __typename
678
- ... on PositionAmount {
679
- ...PositionAmount
680
- }
681
- ... on NativeAmount {
682
- ...NativeAmount
683
- }
684
- ... on Erc20Amount {
685
- ...Erc20Amount
686
- }
687
- }`,[U,L,p]),qt=e(`fragment SwapOpen on SwapOpen {
676
+ }`,[U]),qt=e(`fragment SwapOpen on SwapOpen {
688
677
  __typename
689
678
  swapId
690
679
  createdAt
@@ -693,7 +682,7 @@
693
682
  operation {
694
683
  ...SwapOperation
695
684
  }
696
- }`,[O]),xt=e(`fragment SwapPendingSignature on SwapPendingSignature {
685
+ }`,[U]),xt=e(`fragment SwapPendingSignature on SwapPendingSignature {
697
686
  __typename
698
687
  swapId
699
688
  createdAt
@@ -702,7 +691,7 @@
702
691
  operation {
703
692
  ...SwapOperation
704
693
  }
705
- }`,[O]),At=e(`fragment SwapFulfilled on SwapFulfilled {
694
+ }`,[U]),At=e(`fragment SwapFulfilled on SwapFulfilled {
706
695
  __typename
707
696
  swapId
708
697
  txHash
@@ -713,7 +702,7 @@
713
702
  operation {
714
703
  ...SwapOperation
715
704
  }
716
- }`,[O]),K=e(`fragment SwapStatus on SwapStatus {
705
+ }`,[U]),M=e(`fragment SwapStatus on SwapStatus {
717
706
  __typename
718
707
  ... on SwapOpen {
719
708
  ...SwapOpen
@@ -730,18 +719,18 @@
730
719
  ... on SwapFulfilled {
731
720
  ...SwapFulfilled
732
721
  }
733
- }`,[qt,xt,Rt,wt,At]),ce=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
722
+ }`,[qt,xt,Rt,wt,At]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
734
723
  __typename
735
724
  data {
736
725
  ...SwapTypedData
737
726
  }
738
- }`,[Q]),ht=e(`fragment SwapCancelledResult on SwapCancelledResult {
727
+ }`,[H]),ht=e(`fragment SwapCancelledResult on SwapCancelledResult {
739
728
  __typename
740
729
  swapId
741
730
  createdAt
742
731
  cancelledAt
743
732
  explorerUrl
744
- }`),le=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
733
+ }`),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
745
734
  __typename
746
735
  ... on TransactionRequest {
747
736
  ...TransactionRequest
@@ -749,7 +738,7 @@
749
738
  ... on SwapCancelledResult {
750
739
  ...SwapCancelledResult
751
740
  }
752
- }`,[m,ht]),ge=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
741
+ }`,[m,ht]),ce=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
753
742
  __typename
754
743
  items {
755
744
  ...SwapStatus
@@ -757,12 +746,12 @@
757
746
  pageInfo {
758
747
  ...PaginatedResultInfo
759
748
  }
760
- }`,[K,A]),Pt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
749
+ }`,[M,h]),Pt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
761
750
  __typename
762
751
  bySignature {
763
752
  ...SwapTypedData
764
753
  }
765
- }`,[Q]),Ft=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
754
+ }`,[H]),Ft=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
766
755
  __typename
767
756
  byTransaction {
768
757
  ...TransactionRequest
@@ -770,7 +759,7 @@
770
759
  bySignature {
771
760
  ...SwapTypedData
772
761
  }
773
- }`,[m,Q]),It=e(`fragment PositionSwapApproval on PositionSwapApproval {
762
+ }`,[m,H]),It=e(`fragment PositionSwapApproval on PositionSwapApproval {
774
763
  __typename
775
764
  ... on PositionSwapAdapterContractApproval {
776
765
  ...PositionSwapAdapterContractApproval
@@ -778,7 +767,7 @@
778
767
  ... on PositionSwapPositionManagerApproval {
779
768
  ...PositionSwapPositionManagerApproval
780
769
  }
781
- }`,[Pt,Ft]),W=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
770
+ }`,[Pt,Ft]),Q=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
782
771
  __typename
783
772
  quote {
784
773
  ...SwapQuote
@@ -786,7 +775,7 @@
786
775
  approvals {
787
776
  ...PositionSwapApproval
788
777
  }
789
- }`,[H,It]),Se=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
778
+ }`,[B,It]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
790
779
  __typename
791
780
  ... on PositionSwapByIntentApprovalsRequired {
792
781
  ...PositionSwapByIntentApprovalsRequired
@@ -794,7 +783,7 @@
794
783
  ... on InsufficientLiquidityError {
795
784
  ...InsufficientLiquidityError
796
785
  }
797
- }`,[W,F]),de=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
786
+ }`,[Q,I]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
798
787
  __typename
799
788
  ... on PositionSwapByIntentApprovalsRequired {
800
789
  ...PositionSwapByIntentApprovalsRequired
@@ -802,7 +791,7 @@
802
791
  ... on InsufficientLiquidityError {
803
792
  ...InsufficientLiquidityError
804
793
  }
805
- }`,[W,F]),fe=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
794
+ }`,[Q,I]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
806
795
  __typename
807
796
  ... on PositionSwapByIntentApprovalsRequired {
808
797
  ...PositionSwapByIntentApprovalsRequired
@@ -810,7 +799,7 @@
810
799
  ... on InsufficientLiquidityError {
811
800
  ...InsufficientLiquidityError
812
801
  }
813
- }`,[W,F]),Re=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
802
+ }`,[Q,I]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
814
803
  __typename
815
804
  ... on PositionSwapByIntentApprovalsRequired {
816
805
  ...PositionSwapByIntentApprovalsRequired
@@ -818,7 +807,7 @@
818
807
  ... on InsufficientLiquidityError {
819
808
  ...InsufficientLiquidityError
820
809
  }
821
- }`,[W,F]),we=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
810
+ }`,[Q,I]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
822
811
  __typename
823
812
  ... on PrepareSwapOrder {
824
813
  ...PrepareSwapOrder
@@ -826,7 +815,7 @@
826
815
  ... on InsufficientBalanceError {
827
816
  ...InsufficientBalanceError
828
817
  }
829
- }`,[se,q]);var qe=e(`fragment UserSupplyItem on UserSupplyItem {
818
+ }`,[oe,A]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
830
819
  __typename
831
820
  id
832
821
  reserve {
@@ -843,7 +832,7 @@
843
832
  }
844
833
  isCollateral
845
834
  createdAt
846
- }`,[p,I]),xe=e(`fragment UserBorrowItem on UserBorrowItem {
835
+ }`,[s,T]),we=e(`fragment UserBorrowItem on UserBorrowItem {
847
836
  __typename
848
837
  id
849
838
  principal {
@@ -859,7 +848,7 @@
859
848
  ...Reserve
860
849
  }
861
850
  createdAt
862
- }`,[p,I]),Ae=e(`fragment UserSummary on UserSummary {
851
+ }`,[s,T]),qe=e(`fragment UserSummary on UserSummary {
863
852
  __typename
864
853
  totalPositions
865
854
  netBalance(currency: $currency) {
@@ -881,7 +870,7 @@
881
870
  ...ExchangeAmount
882
871
  }
883
872
  lowestHealthFactor
884
- }`,[w,i,a]),G=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
873
+ }`,[x,i,a]),V=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
885
874
  __typename
886
875
  token {
887
876
  ...Erc20Token
@@ -906,7 +895,7 @@
906
895
  breakdown {
907
896
  ...UserRiskPremiumBreakdownItem
908
897
  }
909
- }`,[a,G]),Y=e(`fragment UserPosition on UserPosition {
898
+ }`,[a,V]),K=e(`fragment UserPosition on UserPosition {
910
899
  __typename
911
900
  id
912
901
  spoke {
@@ -960,7 +949,7 @@
960
949
  averageCollateralFactor {
961
950
  ...PercentNumber
962
951
  }
963
- }`,[u,a,w,i,X,re,Tt]),he=e(`fragment UserBalance on UserBalance {
952
+ }`,[u,a,x,i,j,ee,Tt]),xe=e(`fragment UserBalance on UserBalance {
964
953
  __typename
965
954
  id
966
955
  info {
@@ -993,7 +982,7 @@
993
982
  lowestCollateralFactor: collateralFactor(metric: LOWEST) {
994
983
  ...PercentNumber
995
984
  }
996
- }`,[b,c,x,i,a]),Pe=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
985
+ }`,[E,c,S,i,a]),Ae=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
997
986
  __typename
998
987
  netBalance(currency: $currency) {
999
988
  ...ExchangeAmount
@@ -1006,7 +995,7 @@
1006
995
  }
1007
996
  healthFactor
1008
997
  date
1009
- }`,[i]),z=e(`fragment ApySample on ApySample {
998
+ }`,[i]),G=e(`fragment ApySample on ApySample {
1010
999
  __typename
1011
1000
  date
1012
1001
  avgRate {
@@ -1016,15 +1005,15 @@
1016
1005
  value: hub(request: $request) {
1017
1006
  ...Hub
1018
1007
  }
1019
- }`,[h]),Yr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1008
+ }`,[P]),Yr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1020
1009
  value: hubs(request: $request) {
1021
1010
  ...Hub
1022
1011
  }
1023
- }`,[h]),zr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1012
+ }`,[P]),zr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1024
1013
  value: hubAssets(request: $request) {
1025
1014
  ...HubAsset
1026
1015
  }
1027
- }`,[E]),kt=e(`fragment HubSummarySample on HubSummarySample {
1016
+ }`,[b]),kt=e(`fragment HubSummarySample on HubSummarySample {
1028
1017
  __typename
1029
1018
  date
1030
1019
  deposits {
@@ -1043,7 +1032,7 @@
1043
1032
  value: hubSummaryHistory(request: $request) {
1044
1033
  ...HubSummarySample
1045
1034
  }
1046
- }`,[kt]);function N(t){return new TextDecoder().decode(Uint8Array.from(atob(t),f=>f.charCodeAt(0)))}function D(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Xr(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 vt(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 ea(t){return vt(D(`${t.chainId}${d}${t.address}`))}function ta(t){let f=N(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function ra(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 aa(t){return t}function na(t){let f=N(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:R}}function oa(t){return D(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function bt(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 pa(t){let f=N(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(R)}}function sa(t){return bt(D(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function ia(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function ua(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function ma(t){return Et(D(`${t.chainId}${d}${t.address}`))}function ya(t){let f=N(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Et(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 ca(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 la(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 ga(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 Sa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function Ra(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function wa(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function qa(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function xa(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Aa(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function ha(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ta=e(`query Chain($request: ChainRequest!) {
1035
+ }`,[kt]);function $(t){return new TextDecoder().decode(Uint8Array.from(atob(t),R=>R.charCodeAt(0)))}function N(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var f="::";function Xr(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 vt(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 ea(t){return vt(N(`${t.chainId}${f}${t.address}`))}function ta(t){let R=$(t),[r,o]=R.split(f);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function ra(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 aa(t){return t}function na(t){let R=$(t),[r,o,q]=R.split(f);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:q}}function oa(t){return N(`${t.chainId}${f}${t.spoke}${f}${t.onChainId}`)}function Et(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 pa(t){let R=$(t),[r,o,q]=R.split(f);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(q)}}function sa(t){return Et(N(`${t.chainId}${f}${t.spoke}${f}${t.user}`))}function ia(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function ua(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function ma(t){return bt(N(`${t.chainId}${f}${t.address}`))}function ya(t){let R=$(t),[r,o]=R.split(f);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function bt(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 ca(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 la(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 ga(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 Sa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function Ra(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function wa(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function qa(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function xa(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function Aa(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function ha(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ta=e(`query Chain($request: ChainRequest!) {
1047
1036
  value: chain(request: $request) {
1048
1037
  ...Chain
1049
1038
  }
@@ -1053,9 +1042,9 @@
1053
1042
  }
1054
1043
  }`,[n]),va=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
1055
1044
  value: hasProcessedKnownTransaction(request: $request)
1056
- }`),ba=e(`query Health {
1045
+ }`),Ea=e(`query Health {
1057
1046
  value: health
1058
- }`),Ea=e(`query ExchangeRate($request: ExchangeRateRequest!) {
1047
+ }`),ba=e(`query ExchangeRate($request: ExchangeRateRequest!) {
1059
1048
  value: exchangeRate(request: $request) {
1060
1049
  ...ExchangeAmount
1061
1050
  }
@@ -1063,7 +1052,7 @@
1063
1052
  __typename
1064
1053
  date
1065
1054
  price
1066
- }`),Ie=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
1055
+ }`),Pe=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
1067
1056
  __typename
1068
1057
  amount {
1069
1058
  ...DecimalNumber
@@ -1074,7 +1063,7 @@
1074
1063
  hub {
1075
1064
  ...Hub
1076
1065
  }
1077
- }`,[c,a,h]),Ut=e(`fragment AssetSupplySample on AssetSupplySample {
1066
+ }`,[c,a,P]),Ut=e(`fragment AssetSupplySample on AssetSupplySample {
1078
1067
  __typename
1079
1068
  date
1080
1069
  amount {
@@ -1092,7 +1081,7 @@
1092
1081
  breakdown {
1093
1082
  ...AssetSampleBreakdown
1094
1083
  }
1095
- }`,[c,a,Ie]),Ot=e(`fragment AssetBorrowSample on AssetBorrowSample {
1084
+ }`,[c,a,Pe]),Ot=e(`fragment AssetBorrowSample on AssetBorrowSample {
1096
1085
  __typename
1097
1086
  date
1098
1087
  amount {
@@ -1110,7 +1099,7 @@
1110
1099
  breakdown {
1111
1100
  ...AssetSampleBreakdown
1112
1101
  }
1113
- }`,[c,a,Ie]),_t=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
1102
+ }`,[c,a,Pe]),_t=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
1114
1103
  __typename
1115
1104
  amount {
1116
1105
  ...DecimalNumberWithChange
@@ -1118,7 +1107,7 @@
1118
1107
  exchange(currency: $currency) {
1119
1108
  ...ExchangeAmountWithChange
1120
1109
  }
1121
- }`,[Z,w]),Bt=e(`fragment AssetSummary on AssetSummary {
1110
+ }`,[Y,x]),Bt=e(`fragment AssetSummary on AssetSummary {
1122
1111
  __typename
1123
1112
  totalSupplyCap {
1124
1113
  ...AssetAmountWithChange
@@ -1156,7 +1145,7 @@
1156
1145
  price(currency: $currency) {
1157
1146
  ...ExchangeAmountWithChange
1158
1147
  }
1159
- }`,[l,Bt,w]),_a=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1148
+ }`,[l,Bt,x]),_a=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1160
1149
  value: asset(request: $request) {
1161
1150
  ...Asset
1162
1151
  }
@@ -1189,19 +1178,19 @@
1189
1178
  value: borrowApyHistory(request: $request) {
1190
1179
  ...ApySample
1191
1180
  }
1192
- }`,[z]),Ma=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
1181
+ }`,[G]),Ma=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
1193
1182
  value: supplyApyHistory(request: $request) {
1194
1183
  ...ApySample
1195
1184
  }
1196
- }`,[z]),Va=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1185
+ }`,[G]),Va=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1197
1186
  value: reserve(request: $request) {
1198
1187
  ...Reserve
1199
1188
  }
1200
- }`,[I]),Ka=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1189
+ }`,[T]),Ka=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1201
1190
  value: reserves(request: $request) {
1202
1191
  ...Reserve
1203
1192
  }
1204
- }`,[I]);var Za=e(`query Spoke($request: SpokeRequest!) {
1193
+ }`,[T]);var Za=e(`query Spoke($request: SpokeRequest!) {
1205
1194
  value: spoke(request: $request) {
1206
1195
  ...Spoke
1207
1196
  }
@@ -1213,63 +1202,63 @@
1213
1202
  value: spokePositionManagers(request: $request) {
1214
1203
  ...PaginatedSpokePositionManagerResult
1215
1204
  }
1216
- }`,[oe]),Xa=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
1205
+ }`,[ae]),Xa=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
1217
1206
  value: spokeUserPositionManagers(request: $request) {
1218
1207
  ...PaginatedSpokeUserPositionManagerResult
1219
1208
  }
1220
- }`,[pe]);var an=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
1209
+ }`,[ne]);var an=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
1221
1210
  value: tokenSwapQuote(request: $request) {
1222
1211
  ...TokenSwapQuoteResult
1223
1212
  }
1224
- }`,[ue]),nn=e(`query SwappableTokens($request: SwappableTokensRequest!) {
1213
+ }`,[se]),nn=e(`query SwappableTokens($request: SwappableTokensRequest!) {
1225
1214
  value: swappableTokens(request: $request) {
1226
1215
  ...Token
1227
1216
  }
1228
- }`,[J]),on=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
1217
+ }`,[Z]),on=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
1229
1218
  value: prepareTokenSwap(request: $request) {
1230
1219
  ...PrepareTokenSwapResult
1231
1220
  }
1232
- }`,[me]),pn=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1221
+ }`,[ie]),pn=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1233
1222
  value: swapStatus(request: $request) {
1234
1223
  ...SwapStatus
1235
1224
  }
1236
- }`,[K]),sn=e(`mutation Swap($request: SwapRequest!) {
1225
+ }`,[M]),sn=e(`mutation Swap($request: SwapRequest!) {
1237
1226
  value: swap(request: $request) {
1238
1227
  ...SwapExecutionPlan
1239
1228
  }
1240
- }`,[ye]),un=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
1229
+ }`,[ue]),un=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
1241
1230
  value: prepareSwapCancel(request: $request) {
1242
1231
  ...PrepareSwapCancelResult
1243
1232
  }
1244
- }`,[ce]),mn=e(`mutation CancelSwap($request: CancelSwapRequest!) {
1233
+ }`,[me]),mn=e(`mutation CancelSwap($request: CancelSwapRequest!) {
1245
1234
  value: cancelSwap(request: $request) {
1246
1235
  ...CancelSwapExecutionPlan
1247
1236
  }
1248
- }`,[le]),yn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1237
+ }`,[ye]),yn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1249
1238
  value: userSwaps(request: $request) {
1250
1239
  ...PaginatedUserSwapsResult
1251
1240
  }
1252
- }`,[ge]),cn=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
1241
+ }`,[ce]),cn=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
1253
1242
  value: supplySwapQuote(request: $request) {
1254
1243
  ...SupplySwapQuoteResult
1255
1244
  }
1256
- }`,[Se]),ln=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
1245
+ }`,[le]),ln=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
1257
1246
  value: borrowSwapQuote(request: $request) {
1258
1247
  ...BorrowSwapQuoteResult
1259
1248
  }
1260
- }`,[de]),gn=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
1249
+ }`,[ge]),gn=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
1261
1250
  value: repayWithSupplyQuote(request: $request) {
1262
1251
  ...RepayWithSupplyQuoteResult
1263
1252
  }
1264
- }`,[fe]),Sn=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
1253
+ }`,[Se]),Sn=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
1265
1254
  value: withdrawSwapQuote(request: $request) {
1266
1255
  ...WithdrawSwapQuoteResult
1267
1256
  }
1268
- }`,[Re]),dn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
1257
+ }`,[de]),dn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
1269
1258
  value: preparePositionSwap(request: $request) {
1270
1259
  ...PreparePositionSwapResult
1271
1260
  }
1272
- }`,[we]);var qn=e(`query Borrow($request: BorrowRequest!) {
1261
+ }`,[fe]);var qn=e(`query Borrow($request: BorrowRequest!) {
1273
1262
  value: borrow(request: $request) {
1274
1263
  ...ExecutionPlan
1275
1264
  }
@@ -1296,7 +1285,7 @@
1296
1285
  ... on InsufficientBalanceError {
1297
1286
  ...InsufficientBalanceError
1298
1287
  }
1299
- }`,[m,V,q]),Pn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
1288
+ }`,[m,L,A]),Pn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
1300
1289
  value: liquidatePosition(request: $request) {
1301
1290
  ...LiquidatePositionExecutionPlan
1302
1291
  }
@@ -1390,11 +1379,11 @@
1390
1379
  otherConditions {
1391
1380
  ...UserPositionConditionVariation
1392
1381
  }
1393
- }`,[ae,ee,te,Lt]),vn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
1382
+ }`,[te,J,X,Lt]),vn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
1394
1383
  value: preview(request: $request) {
1395
1384
  ...PreviewUserPosition
1396
1385
  }
1397
- }`,[Mt]),Te=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
1386
+ }`,[Mt]),Fe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
1398
1387
  __typename
1399
1388
  before {
1400
1389
  ...PercentNumber
@@ -1420,7 +1409,7 @@
1420
1409
  chain {
1421
1410
  ...Chain
1422
1411
  }
1423
- }`,[u,p,S,n]),Kt=e(`fragment SupplyActivity on SupplyActivity {
1412
+ }`,[u,s,d,n]),Kt=e(`fragment SupplyActivity on SupplyActivity {
1424
1413
  __typename
1425
1414
  id
1426
1415
  user
@@ -1438,7 +1427,7 @@
1438
1427
  chain {
1439
1428
  ...Chain
1440
1429
  }
1441
- }`,[u,p,S,n]),Gt=e(`fragment WithdrawActivity on WithdrawActivity {
1430
+ }`,[u,s,d,n]),Gt=e(`fragment WithdrawActivity on WithdrawActivity {
1442
1431
  __typename
1443
1432
  id
1444
1433
  user
@@ -1456,7 +1445,7 @@
1456
1445
  chain {
1457
1446
  ...Chain
1458
1447
  }
1459
- }`,[u,p,S,n]),Yt=e(`fragment RepayActivity on RepayActivity {
1448
+ }`,[u,s,d,n]),Yt=e(`fragment RepayActivity on RepayActivity {
1460
1449
  __typename
1461
1450
  id
1462
1451
  user
@@ -1474,7 +1463,7 @@
1474
1463
  chain {
1475
1464
  ...Chain
1476
1465
  }
1477
- }`,[u,p,S,n]),zt=e(`fragment LiquidatedActivity on LiquidatedActivity {
1466
+ }`,[u,s,d,n]),zt=e(`fragment LiquidatedActivity on LiquidatedActivity {
1478
1467
  __typename
1479
1468
  id
1480
1469
  user
@@ -1499,7 +1488,7 @@
1499
1488
  chain {
1500
1489
  ...Chain
1501
1490
  }
1502
- }`,[u,p,S,n]),Zt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
1491
+ }`,[u,s,d,n]),Zt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
1503
1492
  __typename
1504
1493
  id
1505
1494
  user
@@ -1515,7 +1504,7 @@
1515
1504
  chain {
1516
1505
  ...Chain
1517
1506
  }
1518
- }`,[u,S,n]),jt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
1507
+ }`,[u,d,n]),jt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
1519
1508
  __typename
1520
1509
  id
1521
1510
  user
@@ -1539,7 +1528,7 @@
1539
1528
  chain {
1540
1529
  ...Chain
1541
1530
  }
1542
- }`,[u,S,Te,n]),Jt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
1531
+ }`,[u,d,Fe,n]),Jt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
1543
1532
  __typename
1544
1533
  id
1545
1534
  user
@@ -1554,7 +1543,7 @@
1554
1543
  chain {
1555
1544
  ...Chain
1556
1545
  }
1557
- }`,[u,Te,n]),Xt=e(`fragment TokenSwapActivity on TokenSwapActivity {
1546
+ }`,[u,Fe,n]),Xt=e(`fragment TokenSwapActivity on TokenSwapActivity {
1558
1547
  __typename
1559
1548
  id
1560
1549
  user
@@ -1563,16 +1552,17 @@
1563
1552
  chain {
1564
1553
  ...Chain
1565
1554
  }
1566
- sold {
1567
- ...SwapAmount
1555
+ sell {
1556
+ ...TokenAmount
1568
1557
  }
1569
- bought {
1570
- ...SwapAmount
1558
+ buy {
1559
+ ...TokenAmount
1571
1560
  }
1572
1561
  explorerUrl
1573
1562
  orderClass
1574
1563
  kind
1575
- }`,[n,T]),er=e(`fragment SupplySwapActivity on SupplySwapActivity {
1564
+ status
1565
+ }`,[n,S]),er=e(`fragment SupplySwapActivity on SupplySwapActivity {
1576
1566
  __typename
1577
1567
  id
1578
1568
  user
@@ -1581,16 +1571,17 @@
1581
1571
  chain {
1582
1572
  ...Chain
1583
1573
  }
1584
- sold {
1585
- ...SwapAmount
1574
+ sell {
1575
+ ...PositionAmount
1586
1576
  }
1587
- bought {
1588
- ...SwapAmount
1577
+ buy {
1578
+ ...PositionAmount
1589
1579
  }
1590
1580
  explorerUrl
1591
1581
  orderClass
1592
1582
  kind
1593
- }`,[n,T]),tr=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
1583
+ status
1584
+ }`,[n,w]),tr=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
1594
1585
  __typename
1595
1586
  id
1596
1587
  user
@@ -1599,16 +1590,17 @@
1599
1590
  chain {
1600
1591
  ...Chain
1601
1592
  }
1602
- sold {
1603
- ...SwapAmount
1593
+ sell {
1594
+ ...PositionAmount
1604
1595
  }
1605
- bought {
1606
- ...SwapAmount
1596
+ buy {
1597
+ ...PositionAmount
1607
1598
  }
1608
1599
  explorerUrl
1609
1600
  orderClass
1610
1601
  kind
1611
- }`,[n,T]),rr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
1602
+ status
1603
+ }`,[n,w]),rr=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
1612
1604
  __typename
1613
1605
  id
1614
1606
  user
@@ -1617,16 +1609,17 @@
1617
1609
  chain {
1618
1610
  ...Chain
1619
1611
  }
1620
- debtRepaid {
1621
- ...SwapAmount
1612
+ repay {
1613
+ ...PositionAmount
1622
1614
  }
1623
- supplyUsed {
1624
- ...SwapAmount
1615
+ supply {
1616
+ ...PositionAmount
1625
1617
  }
1626
1618
  explorerUrl
1627
1619
  orderClass
1628
1620
  kind
1629
- }`,[n,T]),ar=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
1621
+ status
1622
+ }`,[n,w]),ar=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
1630
1623
  __typename
1631
1624
  id
1632
1625
  user
@@ -1635,16 +1628,17 @@
1635
1628
  chain {
1636
1629
  ...Chain
1637
1630
  }
1638
- withdrawn {
1639
- ...SwapAmount
1631
+ withdraw {
1632
+ ...PositionAmount
1640
1633
  }
1641
- bought {
1642
- ...SwapAmount
1634
+ buy {
1635
+ ...TokenAmount
1643
1636
  }
1644
1637
  explorerUrl
1645
1638
  orderClass
1646
1639
  kind
1647
- }`,[n,T]),nr=e(`fragment ActivityItem on ActivityItem {
1640
+ status
1641
+ }`,[n,w,S]),nr=e(`fragment ActivityItem on ActivityItem {
1648
1642
  __typename
1649
1643
  ... on BorrowActivity {
1650
1644
  ...BorrowActivity
@@ -1693,7 +1687,7 @@
1693
1687
  pageInfo {
1694
1688
  ...PaginatedResultInfo
1695
1689
  }
1696
- }`,[nr,A]),bn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1690
+ }`,[nr,h]),En=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1697
1691
  value: activities(request: $request) {
1698
1692
  ...PaginatedActivitiesResult
1699
1693
  }
@@ -1701,33 +1695,33 @@
1701
1695
  value: userSupplies(request: $request) {
1702
1696
  ...UserSupplyItem
1703
1697
  }
1704
- }`,[qe]),_n=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1698
+ }`,[Re]),_n=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1705
1699
  value: userBorrows(request: $request) {
1706
1700
  ...UserBorrowItem
1707
1701
  }
1708
- }`,[xe]),Bn=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1702
+ }`,[we]),Bn=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1709
1703
  value: userSummary(request: $request) {
1710
1704
  ...UserSummary
1711
1705
  }
1712
- }`,[Ae]),Hn=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1706
+ }`,[qe]),Hn=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1713
1707
  value: userPositions(request: $request) {
1714
1708
  ...UserPosition
1715
1709
  }
1716
- }`,[Y]),Qn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1710
+ }`,[K]),Qn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1717
1711
  value: userPosition(request: $request) {
1718
1712
  ...UserPosition
1719
1713
  }
1720
- }`,[Y]),Wn=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
1714
+ }`,[K]),Wn=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
1721
1715
  value: userBalances(request: $request) {
1722
1716
  ...UserBalance
1723
1717
  }
1724
- }`,[he]),$n=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
1718
+ }`,[xe]),$n=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
1725
1719
  value: userSummaryHistory(request: $request) {
1726
1720
  ...UserSummaryHistoryItem
1727
1721
  }
1728
- }`,[Pe]),Nn=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
1722
+ }`,[Ae]),Nn=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
1729
1723
  value: userRiskPremiumBreakdown(request: $request) {
1730
1724
  ...UserRiskPremiumBreakdownItem
1731
1725
  }
1732
- }`,[G]);exports.ActivitiesQuery=bn;exports.ActivityItemFragment=nr;exports.ActivityType=Ue;exports.ApyMetric=Oe;exports.ApySampleFragment=z;exports.AssetAmountWithChangeFragment=_t;exports.AssetBorrowHistoryQuery=Qa;exports.AssetBorrowSampleFragment=Ot;exports.AssetFragment=Ht;exports.AssetPriceHistoryQuery=Ba;exports.AssetPriceSampleFragment=Ct;exports.AssetQuery=_a;exports.AssetSampleBreakdownFragment=Ie;exports.AssetSummaryFragment=Bt;exports.AssetSupplyHistoryQuery=Ha;exports.AssetSupplySampleFragment=Ut;exports.BorrowActivityFragment=Vt;exports.BorrowApyHistoryQuery=La;exports.BorrowQuery=qn;exports.BorrowSwapActivityFragment=tr;exports.BorrowSwapFragment=gt;exports.BorrowSwapKind=Qe;exports.BorrowSwapQuoteQuery=ln;exports.BorrowSwapQuoteResultFragment=de;exports.CancelSwapExecutionPlanFragment=le;exports.CancelSwapMutation=mn;exports.ChainFragment=n;exports.ChainQuery=Ta;exports.ChainsFilter=Ce;exports.ChainsQuery=ka;exports.CollateralFactorVariationFragment=$t;exports.CollateralMetric=_e;exports.Currency=Be;exports.DecimalNumberFragment=c;exports.DecimalNumberWithChangeFragment=Z;exports.DomainDataFragment=B;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=M;exports.Erc20ApprovalRequiredFragment=V;exports.Erc20TokenFragment=l;exports.ExchangeAmountFragment=i;exports.ExchangeAmountVariationFragment=te;exports.ExchangeAmountWithChangeFragment=w;exports.ExchangeRateQuery=Ea;exports.ExecutionPlanFragment=C;exports.HasProcessedKnownTransactionQuery=va;exports.HealthFactorErrorFragment=Ze;exports.HealthFactorResultFragment=ae;exports.HealthFactorVariationFragment=ze;exports.HealthFactorWithChangeFragment=re;exports.HealthQuery=ba;exports.HubAssetFragment=E;exports.HubAssetSettingsFragment=Xe;exports.HubAssetSummaryFragment=Je;exports.HubAssetUserStateFragment=et;exports.HubAssetsQuery=zr;exports.HubFragment=h;exports.HubQuery=Gr;exports.HubSummaryFragment=je;exports.HubSummaryHistoryQuery=Zr;exports.HubSummarySampleFragment=kt;exports.HubsQuery=Yr;exports.InsufficientBalanceErrorFragment=q;exports.InsufficientLiquidityErrorFragment=F;exports.LiquidatePositionExecutionPlanFragment=Wt;exports.LiquidatePositionQuery=Pn;exports.LiquidatedActivityFragment=zt;exports.LiquidationFeeVariationFragment=Nt;exports.MaxLiquidationBonusVariationFragment=Dt;exports.NativeAmountFragment=L;exports.NativeTokenFragment=j;exports.OperationType=Ee;exports.OrderDirection=ke;exports.PageSize=ve;exports.PaginatedActivitiesResultFragment=or;exports.PaginatedResultInfoFragment=A;exports.PaginatedSpokePositionManagerResultFragment=oe;exports.PaginatedSpokeUserPositionManagerResultFragment=pe;exports.PaginatedUserSwapsResultFragment=ge;exports.PercentNumberChangeSnapshotFragment=Te;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=ee;exports.PercentNumberWithChangeFragment=X;exports.PermitTypedDataFragment=ne;exports.PositionAmountFragment=U;exports.PositionSwapAdapterContractApprovalFragment=Pt;exports.PositionSwapApprovalFragment=It;exports.PositionSwapByIntentApprovalsRequiredFragment=W;exports.PositionSwapPositionManagerApprovalFragment=Ft;exports.PreContractActionRequiredFragment=st;exports.PreparePositionSwapQuery=dn;exports.PreparePositionSwapResultFragment=we;exports.PrepareSwapCancelQuery=un;exports.PrepareSwapCancelResultFragment=ce;exports.PrepareSwapOrderFragment=se;exports.PrepareTokenSwapQuery=on;exports.PrepareTokenSwapResultFragment=me;exports.PreviewQuery=vn;exports.PreviewUserPositionFragment=Mt;exports.ProtocolHistoryQuery=Wa;exports.ProtocolHistorySampleFragment=Qt;exports.QuoteAccuracy=Ve;exports.RenounceSpokeUserPositionManagerQuery=Tn;exports.RepayActivityFragment=Yt;exports.RepayQuery=An;exports.RepayWithSupplyActivityFragment=rr;exports.RepayWithSupplyFragment=St;exports.RepayWithSupplyKind=We;exports.RepayWithSupplyQuoteQuery=gn;exports.RepayWithSupplyQuoteResultFragment=fe;exports.ReserveFragment=I;exports.ReserveInfoFragment=S;exports.ReserveQuery=Va;exports.ReserveSettingsFragment=at;exports.ReserveStatusFragment=nt;exports.ReserveSummaryFragment=ot;exports.ReserveUserStateFragment=pt;exports.ReservesQuery=Ka;exports.ReservesRequestFilter=He;exports.SetSpokeUserPositionManagerQuery=Fn;exports.SetUserSuppliesAsCollateralQuery=In;exports.SpokeFragment=u;exports.SpokePositionManagerFragment=tt;exports.SpokePositionManagersQuery=Ja;exports.SpokeQuery=Za;exports.SpokeUserPositionManagerFragment=rt;exports.SpokeUserPositionManagersQuery=Xa;exports.SpokesQuery=ja;exports.SupplyActivityFragment=Kt;exports.SupplyApyHistoryQuery=Ma;exports.SupplyQuery=xn;exports.SupplySwapActivityFragment=er;exports.SupplySwapFragment=lt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=cn;exports.SupplySwapQuoteResultFragment=Se;exports.SwapAmountFragment=T;exports.SwapByIntentFragment=ut;exports.SwapByIntentWithApprovalRequiredFragment=mt;exports.SwapByTransactionFragment=yt;exports.SwapCancelledFragment=Rt;exports.SwapCancelledResultFragment=ht;exports.SwapExecutionPlanFragment=ye;exports.SwapExpiredFragment=wt;exports.SwapFulfilledFragment=At;exports.SwapMutation=sn;exports.SwapOpenFragment=qt;exports.SwapOperationFragment=O;exports.SwapOrderClass=Ke;exports.SwapPendingSignatureFragment=xt;exports.SwapQuoteCostsFragment=it;exports.SwapQuoteFragment=H;exports.SwapReceiptFragment=ie;exports.SwapStatusFilter=De;exports.SwapStatusFragment=K;exports.SwapStatusQuery=pn;exports.SwapTransactionRequestFragment=ct;exports.SwapTypedDataFragment=Q;exports.SwappableTokensQuery=nn;exports.TimeWindow=be;exports.TokenAmountFragment=x;exports.TokenCategory=Le;exports.TokenFragment=J;exports.TokenInfoFragment=b;exports.TokenSwapActivityFragment=Xt;exports.TokenSwapFragment=ft;exports.TokenSwapKind=Ge;exports.TokenSwapQuoteQuery=an;exports.TokenSwapQuoteResultFragment=ue;exports.TransactionRequestFragment=m;exports.UpdateUserPositionConditionsQuery=kn;exports.UpdatedDynamicConfigActivityFragment=jt;exports.UpdatedRiskPremiumActivityFragment=Jt;exports.UserBalanceFragment=he;exports.UserBalancesQuery=Wn;exports.UserBorrowItemFragment=xe;exports.UserBorrowsQuery=_n;exports.UserPositionConditionVariationFragment=Lt;exports.UserPositionConditionsUpdate=Me;exports.UserPositionFragment=Y;exports.UserPositionQuery=Qn;exports.UserPositionRiskPremiumFragment=Tt;exports.UserPositionsQuery=Hn;exports.UserRiskPremiumBreakdownItemFragment=G;exports.UserRiskPremiumBreakdownQuery=Nn;exports.UserSummaryFragment=Ae;exports.UserSummaryHistoryItemFragment=Pe;exports.UserSummaryHistoryQuery=$n;exports.UserSummaryQuery=Bn;exports.UserSuppliesQuery=On;exports.UserSupplyItemFragment=qe;exports.UserSwapsQuery=yn;exports.UsingAsCollateralActivityFragment=Zt;exports.WithdrawActivityFragment=Gt;exports.WithdrawQuery=hn;exports.WithdrawSwapActivityFragment=ar;exports.WithdrawSwapFragment=dt;exports.WithdrawSwapKind=Ne;exports.WithdrawSwapQuoteQuery=Sn;exports.WithdrawSwapQuoteResultFragment=Re;exports.assetId=Xr;exports.decodeHubId=ta;exports.decodeReserveId=na;exports.decodeSpokeId=ya;exports.decodeUserPositionId=pa;exports.encodeHubId=ea;exports.encodeReserveId=oa;exports.encodeSpokeId=ma;exports.encodeUserPositionId=sa;exports.graphql=e;exports.hubAssetId=ra;exports.hubId=vt;exports.isChainIdsVariant=wa;exports.isERC20PermitSignature=qr;exports.isHubInputVariant=Ra;exports.isReserveInputVariant=Aa;exports.isSpokeInputVariant=xa;exports.isTokensVariant=qa;exports.isTxHashInputVariant=ha;exports.reserveId=aa;exports.spokeId=Et;exports.swapId=ia;exports.swapQuoteId=ua;exports.tokenInfoId=Sa;exports.userBalanceId=ca;exports.userBorrowItemId=la;exports.userPositionId=bt;exports.userSupplyItemId=ga;//# sourceMappingURL=index.cjs.map
1726
+ }`,[V]);exports.ActivitiesQuery=En;exports.ActivityItemFragment=nr;exports.ActivityType=be;exports.ApyMetric=Ce;exports.ApySampleFragment=G;exports.AssetAmountWithChangeFragment=_t;exports.AssetBorrowHistoryQuery=Qa;exports.AssetBorrowSampleFragment=Ot;exports.AssetFragment=Ht;exports.AssetPriceHistoryQuery=Ba;exports.AssetPriceSampleFragment=Ct;exports.AssetQuery=_a;exports.AssetSampleBreakdownFragment=Pe;exports.AssetSummaryFragment=Bt;exports.AssetSupplyHistoryQuery=Ha;exports.AssetSupplySampleFragment=Ut;exports.BorrowActivityFragment=Vt;exports.BorrowApyHistoryQuery=La;exports.BorrowQuery=qn;exports.BorrowSwapActivityFragment=tr;exports.BorrowSwapFragment=gt;exports.BorrowSwapKind=Be;exports.BorrowSwapQuoteQuery=ln;exports.BorrowSwapQuoteResultFragment=ge;exports.CancelSwapExecutionPlanFragment=ye;exports.CancelSwapMutation=mn;exports.ChainFragment=n;exports.ChainQuery=Ta;exports.ChainsFilter=Ee;exports.ChainsQuery=ka;exports.CollateralFactorVariationFragment=$t;exports.CollateralMetric=Ue;exports.Currency=Oe;exports.DecimalNumberFragment=c;exports.DecimalNumberWithChangeFragment=Y;exports.DomainDataFragment=_;exports.Erc20AmountFragment=s;exports.Erc20ApprovalFragment=D;exports.Erc20ApprovalRequiredFragment=L;exports.Erc20TokenFragment=l;exports.ExchangeAmountFragment=i;exports.ExchangeAmountVariationFragment=X;exports.ExchangeAmountWithChangeFragment=x;exports.ExchangeRateQuery=ba;exports.ExecutionPlanFragment=C;exports.HasProcessedKnownTransactionQuery=va;exports.HealthFactorErrorFragment=Ze;exports.HealthFactorResultFragment=te;exports.HealthFactorVariationFragment=ze;exports.HealthFactorWithChangeFragment=ee;exports.HealthQuery=Ea;exports.HubAssetFragment=b;exports.HubAssetSettingsFragment=Xe;exports.HubAssetSummaryFragment=Je;exports.HubAssetUserStateFragment=et;exports.HubAssetsQuery=zr;exports.HubFragment=P;exports.HubQuery=Gr;exports.HubSummaryFragment=je;exports.HubSummaryHistoryQuery=Zr;exports.HubSummarySampleFragment=kt;exports.HubsQuery=Yr;exports.InsufficientBalanceErrorFragment=A;exports.InsufficientLiquidityErrorFragment=I;exports.LiquidatePositionExecutionPlanFragment=Wt;exports.LiquidatePositionQuery=Pn;exports.LiquidatedActivityFragment=zt;exports.LiquidationFeeVariationFragment=Nt;exports.MaxLiquidationBonusVariationFragment=Dt;exports.NativeAmountFragment=Ye;exports.NativeTokenFragment=z;exports.OperationType=ve;exports.OrderDirection=Ie;exports.PageSize=Te;exports.PaginatedActivitiesResultFragment=or;exports.PaginatedResultInfoFragment=h;exports.PaginatedSpokePositionManagerResultFragment=ae;exports.PaginatedSpokeUserPositionManagerResultFragment=ne;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Fe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=J;exports.PercentNumberWithChangeFragment=j;exports.PermitTypedDataFragment=re;exports.PositionAmountFragment=w;exports.PositionSwapAdapterContractApprovalFragment=Pt;exports.PositionSwapApprovalFragment=It;exports.PositionSwapByIntentApprovalsRequiredFragment=Q;exports.PositionSwapPositionManagerApprovalFragment=Ft;exports.PreContractActionRequiredFragment=st;exports.PreparePositionSwapQuery=dn;exports.PreparePositionSwapResultFragment=fe;exports.PrepareSwapCancelQuery=un;exports.PrepareSwapCancelResultFragment=me;exports.PrepareSwapOrderFragment=oe;exports.PrepareTokenSwapQuery=on;exports.PrepareTokenSwapResultFragment=ie;exports.PreviewQuery=vn;exports.PreviewUserPositionFragment=Mt;exports.ProtocolHistoryQuery=Wa;exports.ProtocolHistorySampleFragment=Qt;exports.QuoteAccuracy=Le;exports.RenounceSpokeUserPositionManagerQuery=Tn;exports.RepayActivityFragment=Yt;exports.RepayQuery=An;exports.RepayWithSupplyActivityFragment=rr;exports.RepayWithSupplyFragment=St;exports.RepayWithSupplyKind=He;exports.RepayWithSupplyQuoteQuery=gn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=T;exports.ReserveInfoFragment=d;exports.ReserveQuery=Va;exports.ReserveSettingsFragment=at;exports.ReserveStatusFragment=nt;exports.ReserveSummaryFragment=ot;exports.ReserveUserStateFragment=pt;exports.ReservesQuery=Ka;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=Fn;exports.SetUserSuppliesAsCollateralQuery=In;exports.SpokeFragment=u;exports.SpokePositionManagerFragment=tt;exports.SpokePositionManagersQuery=Ja;exports.SpokeQuery=Za;exports.SpokeUserPositionManagerFragment=rt;exports.SpokeUserPositionManagersQuery=Xa;exports.SpokesQuery=ja;exports.SupplyActivityFragment=Kt;exports.SupplyApyHistoryQuery=Ma;exports.SupplyQuery=xn;exports.SupplySwapActivityFragment=er;exports.SupplySwapFragment=lt;exports.SupplySwapKind=Qe;exports.SupplySwapQuoteQuery=cn;exports.SupplySwapQuoteResultFragment=le;exports.SwapActivityStatus=Ve;exports.SwapByIntentFragment=ut;exports.SwapByIntentWithApprovalRequiredFragment=mt;exports.SwapByTransactionFragment=yt;exports.SwapCancelledFragment=Rt;exports.SwapCancelledResultFragment=ht;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=wt;exports.SwapFulfilledFragment=At;exports.SwapMutation=sn;exports.SwapOpenFragment=qt;exports.SwapOperationFragment=U;exports.SwapOrderClass=Me;exports.SwapPendingSignatureFragment=xt;exports.SwapQuoteCostsFragment=it;exports.SwapQuoteFragment=B;exports.SwapReceiptFragment=pe;exports.SwapStatusFilter=$e;exports.SwapStatusFragment=M;exports.SwapStatusQuery=pn;exports.SwapTransactionRequestFragment=ct;exports.SwapTypedDataFragment=H;exports.SwappableTokensQuery=nn;exports.TimeWindow=ke;exports.TokenAmountFragment=S;exports.TokenCategory=Ne;exports.TokenFragment=Z;exports.TokenInfoFragment=E;exports.TokenSwapActivityFragment=Xt;exports.TokenSwapFragment=ft;exports.TokenSwapKind=Ke;exports.TokenSwapQuoteQuery=an;exports.TokenSwapQuoteResultFragment=se;exports.TransactionRequestFragment=m;exports.UpdateUserPositionConditionsQuery=kn;exports.UpdatedDynamicConfigActivityFragment=jt;exports.UpdatedRiskPremiumActivityFragment=Jt;exports.UserBalanceFragment=xe;exports.UserBalancesQuery=Wn;exports.UserBorrowItemFragment=we;exports.UserBorrowsQuery=_n;exports.UserPositionConditionVariationFragment=Lt;exports.UserPositionConditionsUpdate=De;exports.UserPositionFragment=K;exports.UserPositionQuery=Qn;exports.UserPositionRiskPremiumFragment=Tt;exports.UserPositionsQuery=Hn;exports.UserRiskPremiumBreakdownItemFragment=V;exports.UserRiskPremiumBreakdownQuery=Nn;exports.UserSummaryFragment=qe;exports.UserSummaryHistoryItemFragment=Ae;exports.UserSummaryHistoryQuery=$n;exports.UserSummaryQuery=Bn;exports.UserSuppliesQuery=On;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=yn;exports.UsingAsCollateralActivityFragment=Zt;exports.WithdrawActivityFragment=Gt;exports.WithdrawQuery=hn;exports.WithdrawSwapActivityFragment=ar;exports.WithdrawSwapFragment=dt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=Sn;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Xr;exports.decodeHubId=ta;exports.decodeReserveId=na;exports.decodeSpokeId=ya;exports.decodeUserPositionId=pa;exports.encodeHubId=ea;exports.encodeReserveId=oa;exports.encodeSpokeId=ma;exports.encodeUserPositionId=sa;exports.graphql=e;exports.hubAssetId=ra;exports.hubId=vt;exports.isChainIdsVariant=wa;exports.isERC20PermitSignature=qr;exports.isHubInputVariant=Ra;exports.isReserveInputVariant=Aa;exports.isSpokeInputVariant=xa;exports.isTokensVariant=qa;exports.isTxHashInputVariant=ha;exports.reserveId=aa;exports.spokeId=bt;exports.swapId=ia;exports.swapQuoteId=ua;exports.tokenInfoId=Sa;exports.userBalanceId=ca;exports.userBorrowItemId=la;exports.userPositionId=Et;exports.userSupplyItemId=ga;//# sourceMappingURL=index.cjs.map
1733
1727
  //# sourceMappingURL=index.cjs.map