@aave/graphql 1.0.0-next.23 → 1.0.0-next.25

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,9 +1,9 @@
1
- 'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Fe=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Fe||{}),Ie=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ie||{}),Te=(h=>(h.LastDay="LAST_DAY",h.LastWeek="LAST_WEEK",h.LastMonth="LAST_MONTH",h.LastSixMonths="LAST_SIX_MONTHS",h.LastYear="LAST_YEAR",h.All="ALL",h))(Te||{}),ve=(g=>(g.SpokeBorrow="SPOKE_BORROW",g.SpokeRepay="SPOKE_REPAY",g.SpokeSupply="SPOKE_SUPPLY",g.SpokeWithdraw="SPOKE_WITHDRAW",g.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",g.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",g.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",g.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",g.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",g.Liquidation="LIQUIDATION",g))(ve||{}),be=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(be||{}),Ee=(o=>(o.Active="ACTIVE",o.Frozen="FROZEN",o.Paused="PAUSED",o))(Ee||{}),ke=(y=>(y.Borrow="BORROW",y.Supply="SUPPLY",y.Withdraw="WITHDRAW",y.Repay="REPAY",y.Liquidated="LIQUIDATED",y.SetAsCollateral="SET_AS_COLLATERAL",y.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",y.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",y.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",y.SupplySwap="SUPPLY_SWAP",y.BorrowSwap="BORROW_SWAP",y.RepayWithSupply="REPAY_WITH_SUPPLY",y.WithdrawSwap="WITHDRAW_SWAP",y))(ke||{}),Ue=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Ue||{}),Ce=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ce||{}),Oe=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Oe||{}),_e=(f=>(f.Supply="SUPPLY",f.Borrow="BORROW",f.Collateral="COLLATERAL",f.All="ALL",f))(_e||{}),Be=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Be||{}),He=(r=>(r.Current="CURRENT",r.New="NEW",r))(He||{}),Qe=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(Qe||{}),$e=(r=>(r.Current="CURRENT",r.New="NEW",r))($e||{}),We=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(We||{}),Ne=(F=>(F.Cancelled="CANCELLED",F.Expired="EXPIRED",F.Fulfilled="FULFILLED",F.Open="OPEN",F.PendingSignature="PENDING_SIGNATURE",F))(Ne||{}),De=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(De||{}),Le=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(Le||{}),Me=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Me||{});var e=gql_tada.initGraphQLTada();var k=e(`fragment DomainData on DomainData {
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||{}),ve=(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))(ve||{}),ke=(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))(ke||{}),be=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(be||{}),Ee=(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))(Ee||{}),Ue=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Ue||{}),Ce=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ce||{}),Oe=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Oe||{}),_e=(R=>(R.Supply="SUPPLY",R.Borrow="BORROW",R.Collateral="COLLATERAL",R.All="ALL",R))(_e||{}),Be=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Be||{}),He=(r=>(r.Current="CURRENT",r.New="NEW",r))(He||{}),Qe=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(Qe||{}),$e=(r=>(r.Current="CURRENT",r.New="NEW",r))($e||{}),We=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(We||{}),Ne=(T=>(T.Cancelled="CANCELLED",T.Expired="EXPIRED",T.Fulfilled="FULFILLED",T.Open="OPEN",T.PendingSignature="PENDING_SIGNATURE",T))(Ne||{}),De=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(De||{}),Le=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(Le||{}),Me=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Me||{});var e=gql_tada.initGraphQLTada();var C=e(`fragment DomainData on DomainData {
2
2
  name
3
3
  version
4
4
  chainId
5
5
  verifyingContract
6
- }`),l=e(`fragment DecimalNumber on DecimalNumber {
6
+ }`),c=e(`fragment DecimalNumber on DecimalNumber {
7
7
  __typename
8
8
  onChainValue
9
9
  decimals
@@ -22,14 +22,14 @@
22
22
  change(window: $timeWindow) {
23
23
  ...PercentNumber
24
24
  }
25
- }`,[l,a]),u=e(`fragment ExchangeAmount on ExchangeAmount {
25
+ }`,[c,a]),u=e(`fragment ExchangeAmount on ExchangeAmount {
26
26
  __typename
27
27
  value
28
28
  name
29
29
  symbol
30
30
  icon
31
31
  decimals
32
- }`),I=e(`fragment TokenInfo on TokenInfo {
32
+ }`),v=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
- }`,[I]),c=e(`fragment Erc20Token on Erc20Token {
55
+ }`,[v]),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
- }`,[I,n]),Y=e(`fragment NativeToken on NativeToken {
65
+ }`,[v,n]),Y=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
- }`,[I,n]),p=e(`fragment Erc20Amount on Erc20Amount {
73
+ }`,[v,n]),p=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
- }`,[c,l,u]),Q=e(`fragment NativeAmount on NativeAmount {
87
+ }`,[l,c,u]),W=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
- }`,[Y,l,u]),T=e(`fragment TokenAmount on TokenAmount {
101
+ }`,[Y,c,u]),k=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,Q]),z=e(`fragment Token on Token {
109
+ }`,[p,W]),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
- }`,[c,Y]),R=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
117
+ }`,[l,Y]),q=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
118
118
  __typename
119
119
  current {
120
120
  ...ExchangeAmount
@@ -130,7 +130,7 @@
130
130
  change(window: $timeWindow){
131
131
  ...PercentNumber
132
132
  }
133
- }`,[a]),w=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
133
+ }`,[a]),A=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
134
134
  __typename
135
135
  prev
136
136
  next
@@ -173,7 +173,7 @@
173
173
  ... on HealthFactorError {
174
174
  ...HealthFactorError
175
175
  }
176
- }`,[Ke,Ge]),q=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
176
+ }`,[Ke,Ge]),x=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
- }`,[l]);var Ye=e(`fragment HubSummary on HubSummary {
184
+ }`,[c]);var Ye=e(`fragment HubSummary on HubSummary {
185
185
  __typename
186
186
  totalBorrowed {
187
187
  ...ExchangeAmountWithChange
@@ -198,7 +198,7 @@
198
198
  utilizationRate {
199
199
  ...PercentNumber
200
200
  }
201
- }`,[u,R,a]),v=e(`fragment Hub on Hub {
201
+ }`,[u,q,a]),h=e(`fragment Hub on Hub {
202
202
  __typename
203
203
  id
204
204
  name
@@ -264,35 +264,15 @@
264
264
  userState {
265
265
  ...HubAssetUserState
266
266
  }
267
- }`,[v,c,ze,Ze,je]);var Je=e(`fragment TypeField on TypeField {
268
- name
269
- type
270
- }`),Xe=e(`fragment TypeDefinition on TypeDefinition {
271
- EIP712Domain {
272
- ...TypeField
273
- }
274
- Permit {
275
- ...TypeField
276
- }
277
- }`,[Je]),et=e(`fragment PermitMessageData on PermitMessageData {
278
- owner
279
- spender
280
- value
281
- nonce
282
- deadline
283
- }`),te=e(`fragment PermitTypedData on PermitTypedData {
267
+ }`,[h,l,ze,Ze,je]);var te=e(`fragment PermitTypedData on PermitTypedData {
284
268
  __typename
285
- types {
286
- ...TypeDefinition
287
- }
269
+ types
288
270
  primaryType
289
271
  domain {
290
272
  ...DomainData
291
273
  }
292
- message {
293
- ...PermitMessageData
294
- }
295
- }`,[Xe,k,et]);function gr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var i=e(`fragment Spoke on Spoke {
274
+ message
275
+ }`,[C]);function yr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var i=e(`fragment Spoke on Spoke {
296
276
  __typename
297
277
  id
298
278
  name
@@ -300,7 +280,7 @@
300
280
  chain {
301
281
  ...Chain
302
282
  }
303
- }`,[n]),tt=e(`fragment SpokePositionManager on SpokePositionManger {
283
+ }`,[n]),Je=e(`fragment SpokePositionManager on SpokePositionManger {
304
284
  __typename
305
285
  address
306
286
  active
@@ -313,7 +293,7 @@
313
293
  pageInfo {
314
294
  ...PaginatedResultInfo
315
295
  }
316
- }`,[tt,w]),rt=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
296
+ }`,[Je,A]),Xe=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
317
297
  __typename
318
298
  address
319
299
  approvedOn
@@ -327,7 +307,7 @@
327
307
  pageInfo {
328
308
  ...PaginatedResultInfo
329
309
  }
330
- }`,[rt,w]);var at=e(`fragment ReserveSettings on ReserveSettings {
310
+ }`,[Xe,A]);var et=e(`fragment ReserveSettings on ReserveSettings {
331
311
  __typename
332
312
  collateralFactor {
333
313
  ...PercentNumber
@@ -345,12 +325,12 @@
345
325
  collateral
346
326
  suppliable
347
327
  latestDynamicConfigKey
348
- }`,[a]),nt=e(`fragment ReserveStatus on ReserveStatus {
328
+ }`,[a]),tt=e(`fragment ReserveStatus on ReserveStatus {
349
329
  __typename
350
330
  frozen
351
331
  paused
352
332
  active
353
- }`),ot=e(`fragment ReserveSummary on ReserveSummary {
333
+ }`),rt=e(`fragment ReserveSummary on ReserveSummary {
354
334
  __typename
355
335
  supplied {
356
336
  ...Erc20Amount
@@ -364,7 +344,7 @@
364
344
  borrowApy {
365
345
  ...PercentNumber
366
346
  }
367
- }`,[p,a]),pt=e(`fragment ReserveUserState on ReserveUserState {
347
+ }`,[p,a]),at=e(`fragment ReserveUserState on ReserveUserState {
368
348
  __typename
369
349
  balance {
370
350
  ...Erc20Amount
@@ -388,7 +368,7 @@
388
368
  ...PercentNumber
389
369
  }
390
370
  dynamicConfigKey
391
- }`,[p,a]),P=e(`fragment Reserve on Reserve {
371
+ }`,[p,a]),F=e(`fragment Reserve on Reserve {
392
372
  __typename
393
373
  id
394
374
  onChainId
@@ -418,7 +398,7 @@
418
398
  asset {
419
399
  ...HubAsset
420
400
  }
421
- }`,[i,n,ot,at,nt,pt,b]),S=e(`fragment ReserveInfo on ReserveInfo {
401
+ }`,[i,n,rt,et,tt,at,b]),S=e(`fragment ReserveInfo on ReserveInfo {
422
402
  __typename
423
403
  id
424
404
  asset {
@@ -432,7 +412,7 @@
432
412
  value
433
413
  chainId
434
414
  operations
435
- }`),$=e(`fragment Erc20Approval on Erc20Approval {
415
+ }`),N=e(`fragment Erc20Approval on Erc20Approval {
436
416
  __typename
437
417
  byTransaction {
438
418
  ...TransactionRequest
@@ -440,11 +420,8 @@
440
420
  bySignature {
441
421
  ...PermitTypedData
442
422
  }
443
- }`,[m,te]),W=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
423
+ }`,[m,te]),D=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
444
424
  __typename
445
- transaction {
446
- ...TransactionRequest
447
- }
448
425
  approval {
449
426
  ...Erc20Approval
450
427
  }
@@ -458,7 +435,7 @@
458
435
  originalTransaction {
459
436
  ...TransactionRequest
460
437
  }
461
- }`,[m,$,l]),st=e(`fragment PreContractActionRequired on PreContractActionRequired {
438
+ }`,[m,N,c]),nt=e(`fragment PreContractActionRequired on PreContractActionRequired {
462
439
  __typename
463
440
  transaction {
464
441
  ...TransactionRequest
@@ -481,7 +458,7 @@
481
458
  ... on InsufficientBalanceError {
482
459
  ...InsufficientBalanceError
483
460
  }
484
- }`,[m,W,st,q]);var ut=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
461
+ }`,[m,D,nt,x]);var ot=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
485
462
  __typename
486
463
  networkCosts {
487
464
  ...TokenAmount
@@ -495,13 +472,16 @@
495
472
  providerFee {
496
473
  ...TokenAmount
497
474
  }
498
- }`,[T]),U=e(`fragment SwapQuote on SwapQuote {
475
+ }`,[k]),O=e(`fragment SwapQuote on SwapQuote {
499
476
  __typename
500
477
  accuracy
501
478
  quoteId
502
479
  suggestedSlippage {
503
480
  ...PercentNumber
504
481
  }
482
+ selectedSlippage {
483
+ ...PercentNumber
484
+ }
505
485
  buy {
506
486
  ...TokenAmount
507
487
  }
@@ -517,7 +497,7 @@
517
497
  finalSell {
518
498
  ...TokenAmount
519
499
  }
520
- }`,[a,T,ut]),C=e(`fragment SwapTypedData on SwapTypedData {
500
+ }`,[a,k,ot]),_=e(`fragment SwapTypedData on SwapTypedData {
521
501
  __typename
522
502
  primaryType
523
503
  types
@@ -525,19 +505,19 @@
525
505
  ...DomainData
526
506
  }
527
507
  message
528
- }`,[k]),ne=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
508
+ }`,[C]),ne=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
529
509
  __typename
530
510
  newQuoteId
531
511
  data {
532
512
  ...SwapTypedData
533
513
  }
534
- }`,[C]),it=e(`fragment SwapByIntent on SwapByIntent {
514
+ }`,[_]),pt=e(`fragment SwapByIntent on SwapByIntent {
535
515
  __typename
536
516
  quote {
537
517
  ...SwapQuote
538
518
  }
539
519
 
540
- }`,[U]),mt=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
520
+ }`,[O]),st=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
541
521
  __typename
542
522
  approval {
543
523
  ...Erc20Approval
@@ -545,12 +525,12 @@
545
525
  quote {
546
526
  ...SwapQuote
547
527
  }
548
- }`,[$,U]),yt=e(`fragment SwapByTransaction on SwapByTransaction {
528
+ }`,[N,O]),ut=e(`fragment SwapByTransaction on SwapByTransaction {
549
529
  __typename
550
530
  quote {
551
531
  ...SwapQuote
552
532
  }
553
- }`,[U]),oe=e(`fragment SwapReceipt on SwapReceipt {
533
+ }`,[O]),oe=e(`fragment SwapReceipt on SwapReceipt {
554
534
  __typename
555
535
  id
556
536
  explorerUrl
@@ -566,7 +546,7 @@
566
546
  ... on SwapByTransaction {
567
547
  ...SwapByTransaction
568
548
  }
569
- }`,[it,mt,yt]),se=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
549
+ }`,[pt,st,ut]),se=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
570
550
  __typename
571
551
  ... on PrepareSwapOrder {
572
552
  ...PrepareSwapOrder
@@ -574,7 +554,7 @@
574
554
  ... on InsufficientBalanceError {
575
555
  ...InsufficientBalanceError
576
556
  }
577
- }`,[ne,q]),ct=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
557
+ }`,[ne,x]),it=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
578
558
  __typename
579
559
  transaction {
580
560
  ...TransactionRequest
@@ -593,19 +573,19 @@
593
573
  ... on InsufficientBalanceError {
594
574
  ...InsufficientBalanceError
595
575
  }
596
- }`,[ct,oe,q]),ie=e(`fragment SwapCancelled on SwapCancelled {
576
+ }`,[it,oe,x]),ie=e(`fragment SwapCancelled on SwapCancelled {
597
577
  __typename
598
578
  swapId
599
579
  createdAt
600
580
  cancelledAt
601
581
  explorerUrl
602
- }`),lt=e(`fragment SwapExpired on SwapExpired {
582
+ }`),mt=e(`fragment SwapExpired on SwapExpired {
603
583
  __typename
604
584
  swapId
605
585
  createdAt
606
586
  expiredAt
607
587
  explorerUrl
608
- }`),gt=e(`fragment PositionAmount on PositionAmount {
588
+ }`),yt=e(`fragment PositionAmount on PositionAmount {
609
589
  __typename
610
590
  reserve {
611
591
  ...ReserveInfo
@@ -613,7 +593,7 @@
613
593
  amount {
614
594
  ...Erc20Amount
615
595
  }
616
- }`,[S,p]),x=e(`fragment SwapAmount on SwapAmount {
596
+ }`,[S,p]),w=e(`fragment SwapAmount on SwapAmount {
617
597
  __typename
618
598
  ... on PositionAmount {
619
599
  ...PositionAmount
@@ -624,7 +604,7 @@
624
604
  ... on Erc20Amount {
625
605
  ...Erc20Amount
626
606
  }
627
- }`,[gt,Q,p]),St=e(`fragment SwapOpen on SwapOpen {
607
+ }`,[yt,W,p]),ct=e(`fragment SwapOpen on SwapOpen {
628
608
  __typename
629
609
  swapId
630
610
  createdAt
@@ -636,13 +616,13 @@
636
616
  desiredBuy {
637
617
  ...SwapAmount
638
618
  }
639
- }`,[x]),dt=e(`fragment SwapPendingSignature on SwapPendingSignature {
619
+ }`,[w]),lt=e(`fragment SwapPendingSignature on SwapPendingSignature {
640
620
  __typename
641
621
  swapId
642
622
  createdAt
643
623
  deadline
644
624
  explorerUrl
645
- }`),ft=e(`fragment SwapFulfilled on SwapFulfilled {
625
+ }`),gt=e(`fragment SwapFulfilled on SwapFulfilled {
646
626
  __typename
647
627
  swapId
648
628
  txHash
@@ -662,7 +642,7 @@
662
642
  fulfilledAt
663
643
  explorerUrl
664
644
  refundTxHash
665
- }`,[x]),N=e(`fragment SwapStatus on SwapStatus {
645
+ }`,[w]),L=e(`fragment SwapStatus on SwapStatus {
666
646
  __typename
667
647
  ... on SwapOpen {
668
648
  ...SwapOpen
@@ -679,12 +659,12 @@
679
659
  ... on SwapFulfilled {
680
660
  ...SwapFulfilled
681
661
  }
682
- }`,[St,dt,ie,lt,ft]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
662
+ }`,[ct,lt,ie,mt,gt]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
683
663
  __typename
684
664
  data {
685
665
  ...SwapTypedData
686
666
  }
687
- }`,[C]),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
667
+ }`,[_]),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
688
668
  __typename
689
669
  ... on TransactionRequest {
690
670
  ...TransactionRequest
@@ -700,12 +680,12 @@
700
680
  pageInfo {
701
681
  ...PaginatedResultInfo
702
682
  }
703
- }`,[N,w]),Rt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
683
+ }`,[L,A]),St=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
704
684
  __typename
705
685
  bySignature {
706
686
  ...SwapTypedData
707
687
  }
708
- }`,[C]),qt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
688
+ }`,[_]),dt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
709
689
  __typename
710
690
  byTransaction {
711
691
  ...TransactionRequest
@@ -713,7 +693,7 @@
713
693
  bySignature {
714
694
  ...SwapTypedData
715
695
  }
716
- }`,[m,C]),xt=e(`fragment PositionSwapApproval on PositionSwapApproval {
696
+ }`,[m,_]),ft=e(`fragment PositionSwapApproval on PositionSwapApproval {
717
697
  __typename
718
698
  ... on PositionSwapAdapterContractApproval {
719
699
  ...PositionSwapAdapterContractApproval
@@ -721,7 +701,7 @@
721
701
  ... on PositionSwapPositionManagerApproval {
722
702
  ...PositionSwapPositionManagerApproval
723
703
  }
724
- }`,[Rt,qt]),O=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
704
+ }`,[St,dt]),B=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
725
705
  __typename
726
706
  quote {
727
707
  ...SwapQuote
@@ -729,27 +709,27 @@
729
709
  approvals {
730
710
  ...PositionSwapApproval
731
711
  }
732
- }`,[U,xt]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
712
+ }`,[O,ft]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
733
713
  __typename
734
714
  ... on PositionSwapByIntentApprovalsRequired {
735
715
  ...PositionSwapByIntentApprovalsRequired
736
716
  }
737
- }`,[O]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
717
+ }`,[B]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
738
718
  __typename
739
719
  ... on PositionSwapByIntentApprovalsRequired {
740
720
  ...PositionSwapByIntentApprovalsRequired
741
721
  }
742
- }`,[O]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
722
+ }`,[B]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
743
723
  __typename
744
724
  ... on PositionSwapByIntentApprovalsRequired {
745
725
  ...PositionSwapByIntentApprovalsRequired
746
726
  }
747
- }`,[O]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
727
+ }`,[B]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
748
728
  __typename
749
729
  ... on PositionSwapByIntentApprovalsRequired {
750
730
  ...PositionSwapByIntentApprovalsRequired
751
731
  }
752
- }`,[O]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
732
+ }`,[B]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
753
733
  __typename
754
734
  ... on PrepareSwapOrder {
755
735
  ...PrepareSwapOrder
@@ -757,7 +737,7 @@
757
737
  ... on InsufficientBalanceError {
758
738
  ...InsufficientBalanceError
759
739
  }
760
- }`,[ne,q]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
740
+ }`,[ne,x]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
761
741
  __typename
762
742
  id
763
743
  reserve {
@@ -774,7 +754,7 @@
774
754
  }
775
755
  isCollateral
776
756
  createdAt
777
- }`,[p,P]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
757
+ }`,[p,F]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
778
758
  __typename
779
759
  id
780
760
  principal {
@@ -790,7 +770,7 @@
790
770
  ...Reserve
791
771
  }
792
772
  createdAt
793
- }`,[p,P]),xe=e(`fragment UserSummary on UserSummary {
773
+ }`,[p,F]),xe=e(`fragment UserSummary on UserSummary {
794
774
  __typename
795
775
  totalPositions
796
776
  netBalance(currency: $currency) {
@@ -812,7 +792,7 @@
812
792
  ...ExchangeAmount
813
793
  }
814
794
  lowestHealthFactor
815
- }`,[R,u,a]),D=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
795
+ }`,[q,u,a]),M=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
816
796
  __typename
817
797
  token {
818
798
  ...Erc20Token
@@ -826,7 +806,7 @@
826
806
  collateral {
827
807
  ...PercentNumber
828
808
  }
829
- }`,[c,a]),At=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
809
+ }`,[l,a]),Rt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
830
810
  __typename
831
811
  current {
832
812
  ...PercentNumber
@@ -837,7 +817,7 @@
837
817
  breakdown {
838
818
  ...UserRiskPremiumBreakdownItem
839
819
  }
840
- }`,[a,D]),L=e(`fragment UserPosition on UserPosition {
820
+ }`,[a,M]),V=e(`fragment UserPosition on UserPosition {
841
821
  __typename
842
822
  id
843
823
  spoke {
@@ -891,7 +871,7 @@
891
871
  averageCollateralFactor {
892
872
  ...PercentNumber
893
873
  }
894
- }`,[i,a,R,u,Z,X,At]),Ae=e(`fragment UserBalance on UserBalance {
874
+ }`,[i,a,q,u,Z,X,Rt]),we=e(`fragment UserBalance on UserBalance {
895
875
  __typename
896
876
  id
897
877
  info {
@@ -924,7 +904,7 @@
924
904
  lowestCollateralFactor: collateralFactor(metric: LOWEST) {
925
905
  ...PercentNumber
926
906
  }
927
- }`,[I,l,T,u,a]),we=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
907
+ }`,[v,c,k,u,a]),Ae=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
928
908
  __typename
929
909
  netBalance(currency: $currency) {
930
910
  ...ExchangeAmount
@@ -937,25 +917,25 @@
937
917
  }
938
918
  healthFactor
939
919
  date
940
- }`,[u]),M=e(`fragment ApySample on ApySample {
920
+ }`,[u]),K=e(`fragment ApySample on ApySample {
941
921
  __typename
942
922
  date
943
923
  avgRate {
944
924
  ...PercentNumber
945
925
  }
946
- }`,[a]);var Nr=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
926
+ }`,[a]);var Qr=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
947
927
  value: hub(request: $request) {
948
928
  ...Hub
949
929
  }
950
- }`,[v]),Dr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
930
+ }`,[h]),$r=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
951
931
  value: hubs(request: $request) {
952
932
  ...Hub
953
933
  }
954
- }`,[v]),Lr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
934
+ }`,[h]),Wr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
955
935
  value: hubAssets(request: $request) {
956
936
  ...HubAsset
957
937
  }
958
- }`,[b]),wt=e(`fragment HubSummarySample on HubSummarySample {
938
+ }`,[b]),qt=e(`fragment HubSummarySample on HubSummarySample {
959
939
  __typename
960
940
  date
961
941
  deposits {
@@ -970,11 +950,11 @@
970
950
  utilizationRate {
971
951
  ...PercentNumber
972
952
  }
973
- }`,[u,a]),Mr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
953
+ }`,[u,a]),Nr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
974
954
  value: hubSummaryHistory(request: $request) {
975
955
  ...HubSummarySample
976
956
  }
977
- }`,[wt]);function K(t){return new TextDecoder().decode(Uint8Array.from(atob(t),A=>A.charCodeAt(0)))}function B(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Gr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid AssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`AssetId must be valid base64: ${t}`),t}function ht(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubId must be valid base64: ${t}`),t}function Yr(t){return ht(B(`${t.chainId}${d}${t.address}`))}function zr(t){let A=K(t),[r,o]=A.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Zr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubAssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubAssetId must be valid base64: ${t}`),t}function jr(t){return t}function Jr(t){let A=K(t),[r,o,f]=A.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:f}}function Xr(t){return B(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function Pt(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserPositionId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserPositionId must be valid base64: ${t}`),t}function ea(t){let A=K(t),[r,o,f]=A.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(f)}}function ta(t){return Pt(B(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function ra(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function aa(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function na(t){return Ft(B(`${t.chainId}${d}${t.address}`))}function Ft(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid SpokeId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`SpokeId must be valid base64: ${t}`),t}function oa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBalanceId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBalanceId must be valid base64: ${t}`),t}function pa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBorrowItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBorrowItemId must be valid base64: ${t}`),t}function sa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserSupplyItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserSupplyItemId must be valid base64: ${t}`),t}function ua(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function ya(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function ca(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function la(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function ga(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ra=e(`query Chain($request: ChainRequest!) {
957
+ }`,[qt]);function Q(t){return new TextDecoder().decode(Uint8Array.from(atob(t),f=>f.charCodeAt(0)))}function $(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Mr(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 xt(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 Vr(t){return xt($(`${t.chainId}${d}${t.address}`))}function Kr(t){let f=Q(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Gr(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 Yr(t){return t}function zr(t){let f=Q(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:R}}function Zr(t){return $(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function wt(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 jr(t){let f=Q(t),[r,o,R]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(R)}}function Jr(t){return wt($(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function Xr(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function ea(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function ta(t){return At($(`${t.chainId}${d}${t.address}`))}function ra(t){let f=Q(t),[r,o]=f.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function At(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 aa(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 na(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 oa(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 pa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function ia(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function ma(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function ya(t){return types.isObject(t)&&"tokens"in t&&t.tokens!=null}function ca(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function la(t){return types.isObject(t)&&"reserveInput"in t&&t.reserveInput!=null}function ga(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ra=e(`query Chain($request: ChainRequest!) {
978
958
  value: chain(request: $request) {
979
959
  ...Chain
980
960
  }
@@ -984,17 +964,28 @@
984
964
  }
985
965
  }`,[n]),xa=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
986
966
  value: hasProcessedKnownTransaction(request: $request)
987
- }`),Aa=e(`query Health {
967
+ }`),wa=e(`query Health {
988
968
  value: health
989
- }`),wa=e(`query ExchangeRate($request: ExchangeRateRequest!) {
969
+ }`),Aa=e(`query ExchangeRate($request: ExchangeRateRequest!) {
990
970
  value: exchangeRate(request: $request) {
991
971
  ...ExchangeAmount
992
972
  }
993
- }`,[u]);var It=e(`fragment AssetPriceSample on AssetPriceSample {
973
+ }`,[u]);var ht=e(`fragment AssetPriceSample on AssetPriceSample {
994
974
  __typename
995
975
  date
996
976
  price
997
- }`),Tt=e(`fragment AssetSupplySample on AssetSupplySample {
977
+ }`),Pe=e(`fragment AssetSampleBreakdown on AssetSampleBreakdown {
978
+ __typename
979
+ amount {
980
+ ...DecimalNumber
981
+ }
982
+ apy {
983
+ ...PercentNumber
984
+ }
985
+ hub {
986
+ ...Hub
987
+ }
988
+ }`,[c,a,h]),Pt=e(`fragment AssetSupplySample on AssetSupplySample {
998
989
  __typename
999
990
  date
1000
991
  amount {
@@ -1006,7 +997,13 @@
1006
997
  lowestApy {
1007
998
  ...PercentNumber
1008
999
  }
1009
- }`,[l,a]),vt=e(`fragment AssetBorrowSample on AssetBorrowSample {
1000
+ averageApy {
1001
+ ...PercentNumber
1002
+ }
1003
+ breakdown {
1004
+ ...AssetSampleBreakdown
1005
+ }
1006
+ }`,[c,a,Pe]),Ft=e(`fragment AssetBorrowSample on AssetBorrowSample {
1010
1007
  __typename
1011
1008
  date
1012
1009
  amount {
@@ -1018,7 +1015,13 @@
1018
1015
  lowestApy {
1019
1016
  ...PercentNumber
1020
1017
  }
1021
- }`,[l,a]),bt=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
1018
+ averageApy {
1019
+ ...PercentNumber
1020
+ }
1021
+ breakdown {
1022
+ ...AssetSampleBreakdown
1023
+ }
1024
+ }`,[c,a,Pe]),It=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
1022
1025
  __typename
1023
1026
  amount {
1024
1027
  ...DecimalNumberWithChange
@@ -1026,7 +1029,7 @@
1026
1029
  exchange(currency: $currency) {
1027
1030
  ...ExchangeAmountWithChange
1028
1031
  }
1029
- }`,[G,R]),Et=e(`fragment AssetSummary on AssetSummary {
1032
+ }`,[G,q]),Tt=e(`fragment AssetSummary on AssetSummary {
1030
1033
  __typename
1031
1034
  totalSupplyCap {
1032
1035
  ...AssetAmountWithChange
@@ -1052,7 +1055,7 @@
1052
1055
  averageSupplyApy: supplyApy(metric: AVERAGE) {
1053
1056
  ...PercentNumber
1054
1057
  }
1055
- }`,[bt,a]),kt=e(`fragment Asset on Asset {
1058
+ }`,[It,a]),vt=e(`fragment Asset on Asset {
1056
1059
  __typename
1057
1060
  id
1058
1061
  token {
@@ -1064,23 +1067,23 @@
1064
1067
  price(currency: $currency) {
1065
1068
  ...ExchangeAmountWithChange
1066
1069
  }
1067
- }`,[c,Et,R]),Ia=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1070
+ }`,[l,Tt,q]),Ia=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1068
1071
  value: asset(request: $request) {
1069
1072
  ...Asset
1070
1073
  }
1071
- }`,[kt]),Ta=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
1074
+ }`,[vt]),Ta=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
1072
1075
  value: assetPriceHistory(request: $request) {
1073
1076
  ...AssetPriceSample
1074
1077
  }
1075
- }`,[It]),va=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!) {
1078
+ }`,[ht]),va=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1076
1079
  value: assetSupplyHistory(request: $request) {
1077
1080
  ...AssetSupplySample
1078
1081
  }
1079
- }`,[Tt]),ba=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!) {
1082
+ }`,[Pt]),ka=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1080
1083
  value: assetBorrowHistory(request: $request) {
1081
1084
  ...AssetBorrowSample
1082
1085
  }
1083
- }`,[vt]),Ut=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
1086
+ }`,[Ft]),kt=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
1084
1087
  __typename
1085
1088
  date
1086
1089
  deposits {
@@ -1089,27 +1092,27 @@
1089
1092
  borrows {
1090
1093
  ...ExchangeAmount
1091
1094
  }
1092
- }`,[u]),Ea=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
1095
+ }`,[u]),ba=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
1093
1096
  value: protocolHistory(request: $request) {
1094
1097
  ...ProtocolHistorySample
1095
1098
  }
1096
- }`,[Ut]);var Oa=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
1099
+ }`,[kt]);var Oa=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
1097
1100
  value: borrowApyHistory(request: $request) {
1098
1101
  ...ApySample
1099
1102
  }
1100
- }`,[M]),_a=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
1103
+ }`,[K]),_a=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
1101
1104
  value: supplyApyHistory(request: $request) {
1102
1105
  ...ApySample
1103
1106
  }
1104
- }`,[M]),Ba=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1107
+ }`,[K]),Ba=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1105
1108
  value: reserve(request: $request) {
1106
1109
  ...Reserve
1107
1110
  }
1108
- }`,[P]),Ha=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1111
+ }`,[F]),Ha=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1109
1112
  value: reserves(request: $request) {
1110
1113
  ...Reserve
1111
1114
  }
1112
- }`,[P]);var Na=e(`query Spoke($request: SpokeRequest!) {
1115
+ }`,[F]);var Na=e(`query Spoke($request: SpokeRequest!) {
1113
1116
  value: spoke(request: $request) {
1114
1117
  ...Spoke
1115
1118
  }
@@ -1141,7 +1144,7 @@
1141
1144
  value: swapStatus(request: $request) {
1142
1145
  ...SwapStatus
1143
1146
  }
1144
- }`,[N]),Ja=e(`mutation Swap($request: SwapRequest!) {
1147
+ }`,[L]),Ja=e(`mutation Swap($request: SwapRequest!) {
1145
1148
  value: swap(request: $request) {
1146
1149
  ...SwapExecutionPlan
1147
1150
  }
@@ -1193,7 +1196,7 @@
1193
1196
  value: withdraw(request: $request) {
1194
1197
  ...ExecutionPlan
1195
1198
  }
1196
- }`,[E]),Ct=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
1199
+ }`,[E]),bt=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
1197
1200
  __typename
1198
1201
  ... on TransactionRequest {
1199
1202
  ...TransactionRequest
@@ -1204,11 +1207,11 @@
1204
1207
  ... on InsufficientBalanceError {
1205
1208
  ...InsufficientBalanceError
1206
1209
  }
1207
- }`,[m,W,q]),Sn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
1210
+ }`,[m,D,x]),Sn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
1208
1211
  value: liquidatePosition(request: $request) {
1209
1212
  ...LiquidatePositionExecutionPlan
1210
1213
  }
1211
- }`,[Ct]),dn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
1214
+ }`,[bt]),dn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
1212
1215
  value: setSpokeUserPositionManager(request: $request) {
1213
1216
  ...TransactionRequest
1214
1217
  }
@@ -1224,7 +1227,7 @@
1224
1227
  value: updateUserPositionConditions(request: $request) {
1225
1228
  ...TransactionRequest
1226
1229
  }
1227
- }`,[m]),Ot=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
1230
+ }`,[m]),Et=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
1228
1231
  __typename
1229
1232
  reserveId
1230
1233
  token {
@@ -1236,7 +1239,7 @@
1236
1239
  after {
1237
1240
  ...PercentNumber
1238
1241
  }
1239
- }`,[c,a]),_t=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
1242
+ }`,[l,a]),Ut=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
1240
1243
  __typename
1241
1244
  reserveId
1242
1245
  token {
@@ -1248,7 +1251,7 @@
1248
1251
  after {
1249
1252
  ...PercentNumber
1250
1253
  }
1251
- }`,[c,a]),Bt=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
1254
+ }`,[l,a]),Ct=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
1252
1255
  __typename
1253
1256
  reserveId
1254
1257
  token {
@@ -1260,7 +1263,7 @@
1260
1263
  after {
1261
1264
  ...PercentNumber
1262
1265
  }
1263
- }`,[c,a]),Ht=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
1266
+ }`,[l,a]),Ot=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
1264
1267
  __typename
1265
1268
  ... on CollateralFactorVariation {
1266
1269
  ...CollateralFactorVariation
@@ -1271,7 +1274,7 @@
1271
1274
  ... on MaxLiquidationBonusVariation {
1272
1275
  ...MaxLiquidationBonusVariation
1273
1276
  }
1274
- }`,[Ot,_t,Bt]),Qt=e(`fragment PreviewUserPosition on PreviewUserPosition {
1277
+ }`,[Et,Ut,Ct]),_t=e(`fragment PreviewUserPosition on PreviewUserPosition {
1275
1278
  __typename
1276
1279
  id
1277
1280
  healthFactor {
@@ -1298,11 +1301,11 @@
1298
1301
  otherConditions {
1299
1302
  ...UserPositionConditionVariation
1300
1303
  }
1301
- }`,[ee,j,J,Ht]),xn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
1304
+ }`,[ee,j,J,Ot]),xn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
1302
1305
  value: preview(request: $request) {
1303
1306
  ...PreviewUserPosition
1304
1307
  }
1305
- }`,[Qt]),Pe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
1308
+ }`,[_t]),Fe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
1306
1309
  __typename
1307
1310
  before {
1308
1311
  ...PercentNumber
@@ -1310,7 +1313,7 @@
1310
1313
  after {
1311
1314
  ...PercentNumber
1312
1315
  }
1313
- }`,[a]),$t=e(`fragment BorrowActivity on BorrowActivity {
1316
+ }`,[a]),Bt=e(`fragment BorrowActivity on BorrowActivity {
1314
1317
  __typename
1315
1318
  id
1316
1319
  user
@@ -1328,7 +1331,7 @@
1328
1331
  chain {
1329
1332
  ...Chain
1330
1333
  }
1331
- }`,[i,p,S,n]),Wt=e(`fragment SupplyActivity on SupplyActivity {
1334
+ }`,[i,p,S,n]),Ht=e(`fragment SupplyActivity on SupplyActivity {
1332
1335
  __typename
1333
1336
  id
1334
1337
  user
@@ -1346,7 +1349,7 @@
1346
1349
  chain {
1347
1350
  ...Chain
1348
1351
  }
1349
- }`,[i,p,S,n]),Nt=e(`fragment WithdrawActivity on WithdrawActivity {
1352
+ }`,[i,p,S,n]),Qt=e(`fragment WithdrawActivity on WithdrawActivity {
1350
1353
  __typename
1351
1354
  id
1352
1355
  user
@@ -1364,7 +1367,7 @@
1364
1367
  chain {
1365
1368
  ...Chain
1366
1369
  }
1367
- }`,[i,p,S,n]),Dt=e(`fragment RepayActivity on RepayActivity {
1370
+ }`,[i,p,S,n]),$t=e(`fragment RepayActivity on RepayActivity {
1368
1371
  __typename
1369
1372
  id
1370
1373
  user
@@ -1382,7 +1385,7 @@
1382
1385
  chain {
1383
1386
  ...Chain
1384
1387
  }
1385
- }`,[i,p,S,n]),Lt=e(`fragment LiquidatedActivity on LiquidatedActivity {
1388
+ }`,[i,p,S,n]),Wt=e(`fragment LiquidatedActivity on LiquidatedActivity {
1386
1389
  __typename
1387
1390
  id
1388
1391
  user
@@ -1407,7 +1410,7 @@
1407
1410
  chain {
1408
1411
  ...Chain
1409
1412
  }
1410
- }`,[i,p,S,n]),Mt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
1413
+ }`,[i,p,S,n]),Nt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
1411
1414
  __typename
1412
1415
  id
1413
1416
  user
@@ -1423,7 +1426,7 @@
1423
1426
  chain {
1424
1427
  ...Chain
1425
1428
  }
1426
- }`,[i,S,n]),Vt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
1429
+ }`,[i,S,n]),Dt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
1427
1430
  __typename
1428
1431
  id
1429
1432
  user
@@ -1447,7 +1450,7 @@
1447
1450
  chain {
1448
1451
  ...Chain
1449
1452
  }
1450
- }`,[i,S,Pe,n]),Kt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
1453
+ }`,[i,S,Fe,n]),Lt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
1451
1454
  __typename
1452
1455
  id
1453
1456
  user
@@ -1462,7 +1465,7 @@
1462
1465
  chain {
1463
1466
  ...Chain
1464
1467
  }
1465
- }`,[i,Pe,n]),Gt=e(`fragment TokenSwapActivity on TokenSwapActivity {
1468
+ }`,[i,Fe,n]),Mt=e(`fragment TokenSwapActivity on TokenSwapActivity {
1466
1469
  __typename
1467
1470
  id
1468
1471
  user
@@ -1478,7 +1481,7 @@
1478
1481
  ...SwapAmount
1479
1482
  }
1480
1483
  explorerUrl
1481
- }`,[n,x]),Yt=e(`fragment SupplySwapActivity on SupplySwapActivity {
1484
+ }`,[n,w]),Vt=e(`fragment SupplySwapActivity on SupplySwapActivity {
1482
1485
  __typename
1483
1486
  id
1484
1487
  user
@@ -1494,7 +1497,7 @@
1494
1497
  ...SwapAmount
1495
1498
  }
1496
1499
  explorerUrl
1497
- }`,[n,x]),zt=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
1500
+ }`,[n,w]),Kt=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
1498
1501
  __typename
1499
1502
  id
1500
1503
  user
@@ -1510,7 +1513,7 @@
1510
1513
  ...SwapAmount
1511
1514
  }
1512
1515
  explorerUrl
1513
- }`,[n,x]),Zt=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
1516
+ }`,[n,w]),Gt=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
1514
1517
  __typename
1515
1518
  id
1516
1519
  user
@@ -1526,7 +1529,7 @@
1526
1529
  ...SwapAmount
1527
1530
  }
1528
1531
  explorerUrl
1529
- }`,[n,x]),jt=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
1532
+ }`,[n,w]),Yt=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
1530
1533
  __typename
1531
1534
  id
1532
1535
  user
@@ -1542,7 +1545,7 @@
1542
1545
  ...SwapAmount
1543
1546
  }
1544
1547
  explorerUrl
1545
- }`,[n,x]),Jt=e(`fragment ActivityItem on ActivityItem {
1548
+ }`,[n,w]),zt=e(`fragment ActivityItem on ActivityItem {
1546
1549
  __typename
1547
1550
  ... on BorrowActivity {
1548
1551
  ...BorrowActivity
@@ -1583,7 +1586,7 @@
1583
1586
  ... on WithdrawSwapActivity {
1584
1587
  ...WithdrawSwapActivity
1585
1588
  }
1586
- }`,[$t,Wt,Nt,Dt,Lt,Mt,Vt,Kt,Gt,Yt,zt,Zt,jt]),Xt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
1589
+ }`,[Bt,Ht,Qt,$t,Wt,Nt,Dt,Lt,Mt,Vt,Kt,Gt,Yt]),Zt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
1587
1590
  __typename
1588
1591
  items {
1589
1592
  ...ActivityItem
@@ -1591,11 +1594,11 @@
1591
1594
  pageInfo {
1592
1595
  ...PaginatedResultInfo
1593
1596
  }
1594
- }`,[Jt,w]),An=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1597
+ }`,[zt,A]),wn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1595
1598
  value: activities(request: $request) {
1596
1599
  ...PaginatedActivitiesResult
1597
1600
  }
1598
- }`,[Xt]);var Fn=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1601
+ }`,[Zt]);var Fn=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1599
1602
  value: userSupplies(request: $request) {
1600
1603
  ...UserSupplyItem
1601
1604
  }
@@ -1611,21 +1614,21 @@
1611
1614
  value: userPositions(request: $request) {
1612
1615
  ...UserPosition
1613
1616
  }
1614
- }`,[L]),bn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1617
+ }`,[V]),kn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
1615
1618
  value: userPosition(request: $request) {
1616
1619
  ...UserPosition
1617
1620
  }
1618
- }`,[L]),En=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
1621
+ }`,[V]),bn=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
1619
1622
  value: userBalances(request: $request) {
1620
1623
  ...UserBalance
1621
1624
  }
1622
- }`,[Ae]),kn=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
1625
+ }`,[we]),En=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
1623
1626
  value: userSummaryHistory(request: $request) {
1624
1627
  ...UserSummaryHistoryItem
1625
1628
  }
1626
- }`,[we]),Un=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
1629
+ }`,[Ae]),Un=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
1627
1630
  value: userRiskPremiumBreakdown(request: $request) {
1628
1631
  ...UserRiskPremiumBreakdownItem
1629
1632
  }
1630
- }`,[D]);exports.ActivitiesQuery=An;exports.ActivityItemFragment=Jt;exports.ActivityType=ke;exports.ApyMetric=Ue;exports.ApySampleFragment=M;exports.AssetAmountWithChangeFragment=bt;exports.AssetBorrowHistoryQuery=ba;exports.AssetBorrowSampleFragment=vt;exports.AssetFragment=kt;exports.AssetPriceHistoryQuery=Ta;exports.AssetPriceSampleFragment=It;exports.AssetQuery=Ia;exports.AssetSummaryFragment=Et;exports.AssetSupplyHistoryQuery=va;exports.AssetSupplySampleFragment=Tt;exports.BorrowActivityFragment=$t;exports.BorrowApyHistoryQuery=Oa;exports.BorrowQuery=yn;exports.BorrowSwapActivityFragment=zt;exports.BorrowSwapKind=He;exports.BorrowSwapQuoteQuery=an;exports.BorrowSwapQuoteResultFragment=ge;exports.CancelSwapExecutionPlanFragment=ye;exports.CancelSwapMutation=en;exports.ChainFragment=n;exports.ChainQuery=Ra;exports.ChainsFilter=be;exports.ChainsQuery=qa;exports.CollateralFactorVariationFragment=Ot;exports.CollateralMetric=Ce;exports.Currency=Oe;exports.DecimalNumberFragment=l;exports.DecimalNumberWithChangeFragment=G;exports.DomainDataFragment=k;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=W;exports.Erc20TokenFragment=c;exports.ExchangeAmountFragment=u;exports.ExchangeAmountVariationFragment=J;exports.ExchangeAmountWithChangeFragment=R;exports.ExchangeRateQuery=wa;exports.ExecutionPlanFragment=E;exports.HasProcessedKnownTransactionQuery=xa;exports.HealthFactorErrorFragment=Ge;exports.HealthFactorResultFragment=ee;exports.HealthFactorVariationFragment=Ke;exports.HealthFactorWithChangeFragment=X;exports.HealthQuery=Aa;exports.HubAssetFragment=b;exports.HubAssetSettingsFragment=Ze;exports.HubAssetStatusType=Ee;exports.HubAssetSummaryFragment=ze;exports.HubAssetUserStateFragment=je;exports.HubAssetsQuery=Lr;exports.HubFragment=v;exports.HubQuery=Nr;exports.HubSummaryFragment=Ye;exports.HubSummaryHistoryQuery=Mr;exports.HubSummarySampleFragment=wt;exports.HubsQuery=Dr;exports.InsufficientBalanceErrorFragment=q;exports.LiquidatePositionExecutionPlanFragment=Ct;exports.LiquidatePositionQuery=Sn;exports.LiquidatedActivityFragment=Lt;exports.LiquidationFeeVariationFragment=_t;exports.MaxLiquidationBonusVariationFragment=Bt;exports.NativeAmountFragment=Q;exports.NativeTokenFragment=Y;exports.OperationType=ve;exports.OrderDirection=Fe;exports.PageSize=Ie;exports.PaginatedActivitiesResultFragment=Xt;exports.PaginatedResultInfoFragment=w;exports.PaginatedSpokePositionManagerResultFragment=re;exports.PaginatedSpokeUserPositionManagerResultFragment=ae;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Pe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=j;exports.PercentNumberWithChangeFragment=Z;exports.PermitMessageDataFragment=et;exports.PermitTypedDataFragment=te;exports.PositionAmountFragment=gt;exports.PositionSwapAdapterContractApprovalFragment=Rt;exports.PositionSwapApprovalFragment=xt;exports.PositionSwapByIntentApprovalsRequiredFragment=O;exports.PositionSwapPositionManagerApprovalFragment=qt;exports.PreContractActionRequiredFragment=st;exports.PreparePositionSwapQuery=pn;exports.PreparePositionSwapResultFragment=fe;exports.PrepareSwapCancelQuery=Xa;exports.PrepareSwapCancelResultFragment=me;exports.PrepareSwapOrderFragment=ne;exports.PrepareTokenSwapQuery=Za;exports.PrepareTokenSwapResultFragment=se;exports.PreviewQuery=xn;exports.PreviewUserPositionFragment=Qt;exports.ProtocolHistoryQuery=Ea;exports.ProtocolHistorySampleFragment=Ut;exports.QuoteAccuracy=Me;exports.RenounceSpokeUserPositionManagerQuery=Rn;exports.RepayActivityFragment=Dt;exports.RepayQuery=ln;exports.RepayWithSupplyActivityFragment=Zt;exports.RepayWithSupplyKind=Qe;exports.RepayWithSupplyQuoteQuery=nn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=P;exports.ReserveInfoFragment=S;exports.ReserveQuery=Ba;exports.ReserveSettingsFragment=at;exports.ReserveStatusFragment=nt;exports.ReserveSummaryFragment=ot;exports.ReserveUserStateFragment=pt;exports.ReservesQuery=Ha;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=dn;exports.SetUserSuppliesAsCollateralQuery=fn;exports.SpokeFragment=i;exports.SpokePositionManagerFragment=tt;exports.SpokePositionManagersQuery=La;exports.SpokeQuery=Na;exports.SpokeUserPositionManagerFragment=rt;exports.SpokeUserPositionManagersQuery=Ma;exports.SpokesQuery=Da;exports.SupplyActivityFragment=Wt;exports.SupplyApyHistoryQuery=_a;exports.SupplyQuery=cn;exports.SupplySwapActivityFragment=Yt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=rn;exports.SupplySwapQuoteResultFragment=le;exports.SwapAmountFragment=x;exports.SwapByIntentFragment=it;exports.SwapByIntentWithApprovalRequiredFragment=mt;exports.SwapByTransactionFragment=yt;exports.SwapCancelledFragment=ie;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=lt;exports.SwapFulfilledFragment=ft;exports.SwapKind=Be;exports.SwapMutation=Ja;exports.SwapOpenFragment=St;exports.SwapPendingSignatureFragment=dt;exports.SwapQuoteCostsFragment=ut;exports.SwapQuoteFragment=U;exports.SwapReceiptFragment=oe;exports.SwapStatusFilter=Ne;exports.SwapStatusFragment=N;exports.SwapStatusQuery=ja;exports.SwapTransactionRequestFragment=ct;exports.SwapTypedDataFragment=C;exports.SwappableTokensQuery=za;exports.TimeWindow=Te;exports.TokenAmountFragment=T;exports.TokenCategory=De;exports.TokenFragment=z;exports.TokenInfoFragment=I;exports.TokenSwapActivityFragment=Gt;exports.TokenSwapQuoteQuery=Ya;exports.TokenSwapQuoteResultFragment=pe;exports.TransactionRequestFragment=m;exports.TypeDefinitionFragment=Xe;exports.TypeFieldFragment=Je;exports.UpdateUserPositionConditionsQuery=qn;exports.UpdatedDynamicConfigActivityFragment=Vt;exports.UpdatedRiskPremiumActivityFragment=Kt;exports.UserBalanceFragment=Ae;exports.UserBalancesQuery=En;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=In;exports.UserPositionConditionVariationFragment=Ht;exports.UserPositionConditionsUpdate=Le;exports.UserPositionFragment=L;exports.UserPositionQuery=bn;exports.UserPositionRiskPremiumFragment=At;exports.UserPositionsQuery=vn;exports.UserRiskPremiumBreakdownItemFragment=D;exports.UserRiskPremiumBreakdownQuery=Un;exports.UserSummaryFragment=xe;exports.UserSummaryHistoryItemFragment=we;exports.UserSummaryHistoryQuery=kn;exports.UserSummaryQuery=Tn;exports.UserSuppliesQuery=Fn;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=tn;exports.UsingAsCollateralActivityFragment=Mt;exports.WithdrawActivityFragment=Nt;exports.WithdrawQuery=gn;exports.WithdrawSwapActivityFragment=jt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=on;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Gr;exports.decodeHubId=zr;exports.decodeReserveId=Jr;exports.decodeUserPositionId=ea;exports.encodeHubId=Yr;exports.encodeReserveId=Xr;exports.encodeSpokeId=na;exports.encodeUserPositionId=ta;exports.graphql=e;exports.hubAssetId=Zr;exports.hubId=ht;exports.isChainIdsVariant=ca;exports.isERC20PermitSignature=gr;exports.isHubInputVariant=ya;exports.isSpokeInputVariant=la;exports.isTxHashInputVariant=ga;exports.reserveId=jr;exports.spokeId=Ft;exports.swapId=ra;exports.swapQuoteId=aa;exports.tokenInfoId=ua;exports.userBalanceId=oa;exports.userBorrowItemId=pa;exports.userPositionId=Pt;exports.userSupplyItemId=sa;//# sourceMappingURL=index.cjs.map
1633
+ }`,[M]);exports.ActivitiesQuery=wn;exports.ActivityItemFragment=zt;exports.ActivityType=Ee;exports.ApyMetric=Ue;exports.ApySampleFragment=K;exports.AssetAmountWithChangeFragment=It;exports.AssetBorrowHistoryQuery=ka;exports.AssetBorrowSampleFragment=Ft;exports.AssetFragment=vt;exports.AssetPriceHistoryQuery=Ta;exports.AssetPriceSampleFragment=ht;exports.AssetQuery=Ia;exports.AssetSampleBreakdownFragment=Pe;exports.AssetSummaryFragment=Tt;exports.AssetSupplyHistoryQuery=va;exports.AssetSupplySampleFragment=Pt;exports.BorrowActivityFragment=Bt;exports.BorrowApyHistoryQuery=Oa;exports.BorrowQuery=yn;exports.BorrowSwapActivityFragment=Kt;exports.BorrowSwapKind=He;exports.BorrowSwapQuoteQuery=an;exports.BorrowSwapQuoteResultFragment=ge;exports.CancelSwapExecutionPlanFragment=ye;exports.CancelSwapMutation=en;exports.ChainFragment=n;exports.ChainQuery=Ra;exports.ChainsFilter=be;exports.ChainsQuery=qa;exports.CollateralFactorVariationFragment=Et;exports.CollateralMetric=Ce;exports.Currency=Oe;exports.DecimalNumberFragment=c;exports.DecimalNumberWithChangeFragment=G;exports.DomainDataFragment=C;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=N;exports.Erc20ApprovalRequiredFragment=D;exports.Erc20TokenFragment=l;exports.ExchangeAmountFragment=u;exports.ExchangeAmountVariationFragment=J;exports.ExchangeAmountWithChangeFragment=q;exports.ExchangeRateQuery=Aa;exports.ExecutionPlanFragment=E;exports.HasProcessedKnownTransactionQuery=xa;exports.HealthFactorErrorFragment=Ge;exports.HealthFactorResultFragment=ee;exports.HealthFactorVariationFragment=Ke;exports.HealthFactorWithChangeFragment=X;exports.HealthQuery=wa;exports.HubAssetFragment=b;exports.HubAssetSettingsFragment=Ze;exports.HubAssetSummaryFragment=ze;exports.HubAssetUserStateFragment=je;exports.HubAssetsQuery=Wr;exports.HubFragment=h;exports.HubQuery=Qr;exports.HubSummaryFragment=Ye;exports.HubSummaryHistoryQuery=Nr;exports.HubSummarySampleFragment=qt;exports.HubsQuery=$r;exports.InsufficientBalanceErrorFragment=x;exports.LiquidatePositionExecutionPlanFragment=bt;exports.LiquidatePositionQuery=Sn;exports.LiquidatedActivityFragment=Wt;exports.LiquidationFeeVariationFragment=Ut;exports.MaxLiquidationBonusVariationFragment=Ct;exports.NativeAmountFragment=W;exports.NativeTokenFragment=Y;exports.OperationType=ke;exports.OrderDirection=Ie;exports.PageSize=Te;exports.PaginatedActivitiesResultFragment=Zt;exports.PaginatedResultInfoFragment=A;exports.PaginatedSpokePositionManagerResultFragment=re;exports.PaginatedSpokeUserPositionManagerResultFragment=ae;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Fe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=j;exports.PercentNumberWithChangeFragment=Z;exports.PermitTypedDataFragment=te;exports.PositionAmountFragment=yt;exports.PositionSwapAdapterContractApprovalFragment=St;exports.PositionSwapApprovalFragment=ft;exports.PositionSwapByIntentApprovalsRequiredFragment=B;exports.PositionSwapPositionManagerApprovalFragment=dt;exports.PreContractActionRequiredFragment=nt;exports.PreparePositionSwapQuery=pn;exports.PreparePositionSwapResultFragment=fe;exports.PrepareSwapCancelQuery=Xa;exports.PrepareSwapCancelResultFragment=me;exports.PrepareSwapOrderFragment=ne;exports.PrepareTokenSwapQuery=Za;exports.PrepareTokenSwapResultFragment=se;exports.PreviewQuery=xn;exports.PreviewUserPositionFragment=_t;exports.ProtocolHistoryQuery=ba;exports.ProtocolHistorySampleFragment=kt;exports.QuoteAccuracy=Me;exports.RenounceSpokeUserPositionManagerQuery=Rn;exports.RepayActivityFragment=$t;exports.RepayQuery=ln;exports.RepayWithSupplyActivityFragment=Gt;exports.RepayWithSupplyKind=Qe;exports.RepayWithSupplyQuoteQuery=nn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=F;exports.ReserveInfoFragment=S;exports.ReserveQuery=Ba;exports.ReserveSettingsFragment=et;exports.ReserveStatusFragment=tt;exports.ReserveSummaryFragment=rt;exports.ReserveUserStateFragment=at;exports.ReservesQuery=Ha;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=dn;exports.SetUserSuppliesAsCollateralQuery=fn;exports.SpokeFragment=i;exports.SpokePositionManagerFragment=Je;exports.SpokePositionManagersQuery=La;exports.SpokeQuery=Na;exports.SpokeUserPositionManagerFragment=Xe;exports.SpokeUserPositionManagersQuery=Ma;exports.SpokesQuery=Da;exports.SupplyActivityFragment=Ht;exports.SupplyApyHistoryQuery=_a;exports.SupplyQuery=cn;exports.SupplySwapActivityFragment=Vt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=rn;exports.SupplySwapQuoteResultFragment=le;exports.SwapAmountFragment=w;exports.SwapByIntentFragment=pt;exports.SwapByIntentWithApprovalRequiredFragment=st;exports.SwapByTransactionFragment=ut;exports.SwapCancelledFragment=ie;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=mt;exports.SwapFulfilledFragment=gt;exports.SwapKind=Be;exports.SwapMutation=Ja;exports.SwapOpenFragment=ct;exports.SwapPendingSignatureFragment=lt;exports.SwapQuoteCostsFragment=ot;exports.SwapQuoteFragment=O;exports.SwapReceiptFragment=oe;exports.SwapStatusFilter=Ne;exports.SwapStatusFragment=L;exports.SwapStatusQuery=ja;exports.SwapTransactionRequestFragment=it;exports.SwapTypedDataFragment=_;exports.SwappableTokensQuery=za;exports.TimeWindow=ve;exports.TokenAmountFragment=k;exports.TokenCategory=De;exports.TokenFragment=z;exports.TokenInfoFragment=v;exports.TokenSwapActivityFragment=Mt;exports.TokenSwapQuoteQuery=Ya;exports.TokenSwapQuoteResultFragment=pe;exports.TransactionRequestFragment=m;exports.UpdateUserPositionConditionsQuery=qn;exports.UpdatedDynamicConfigActivityFragment=Dt;exports.UpdatedRiskPremiumActivityFragment=Lt;exports.UserBalanceFragment=we;exports.UserBalancesQuery=bn;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=In;exports.UserPositionConditionVariationFragment=Ot;exports.UserPositionConditionsUpdate=Le;exports.UserPositionFragment=V;exports.UserPositionQuery=kn;exports.UserPositionRiskPremiumFragment=Rt;exports.UserPositionsQuery=vn;exports.UserRiskPremiumBreakdownItemFragment=M;exports.UserRiskPremiumBreakdownQuery=Un;exports.UserSummaryFragment=xe;exports.UserSummaryHistoryItemFragment=Ae;exports.UserSummaryHistoryQuery=En;exports.UserSummaryQuery=Tn;exports.UserSuppliesQuery=Fn;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=tn;exports.UsingAsCollateralActivityFragment=Nt;exports.WithdrawActivityFragment=Qt;exports.WithdrawQuery=gn;exports.WithdrawSwapActivityFragment=Yt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=on;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Mr;exports.decodeHubId=Kr;exports.decodeReserveId=zr;exports.decodeSpokeId=ra;exports.decodeUserPositionId=jr;exports.encodeHubId=Vr;exports.encodeReserveId=Zr;exports.encodeSpokeId=ta;exports.encodeUserPositionId=Jr;exports.graphql=e;exports.hubAssetId=Gr;exports.hubId=xt;exports.isChainIdsVariant=ma;exports.isERC20PermitSignature=yr;exports.isHubInputVariant=ia;exports.isReserveInputVariant=la;exports.isSpokeInputVariant=ca;exports.isTokensVariant=ya;exports.isTxHashInputVariant=ga;exports.reserveId=Yr;exports.spokeId=At;exports.swapId=Xr;exports.swapQuoteId=ea;exports.tokenInfoId=pa;exports.userBalanceId=aa;exports.userBorrowItemId=na;exports.userPositionId=wt;exports.userSupplyItemId=oa;//# sourceMappingURL=index.cjs.map
1631
1634
  //# sourceMappingURL=index.cjs.map