@berachain/graphql 0.2.4-beta.5 → 0.2.4-beta.6
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/bend/whisk.codegen.cjs +271 -18
- package/dist/bend/whisk.codegen.d.cts +541 -2
- package/dist/bend/whisk.codegen.d.ts +541 -2
- package/dist/bend/whisk.codegen.mjs +268 -15
- package/dist/honey/honey.codegen.cjs +26 -13
- package/dist/honey/honey.codegen.d.cts +21 -13
- package/dist/honey/honey.codegen.d.ts +21 -13
- package/dist/honey/honey.codegen.mjs +26 -13
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(y||{}),m=(e=>(e.OneDay="one_day",e.SevenDays="seven_days",e.ThirtyDays="thirty_days",e))(m||{}),d=(e=>(e.Generic="generic",e.MorphoV1="morpho_v1",e.MorphoV2="morpho_v2",e))(d||{}),A=(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(A||{}),c=(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(c||{}),_=(e=>(e.Btc="Btc",e.Eth="Eth",e.Stable="Stable",e))(_||{}),g=(a=>(a.Enzyme="enzyme",a.EulerEarn="euler_earn",a.EulerV2="euler_v2",a.Gearbox="gearbox",a.Lista="lista",a.Mellow="mellow",a.Midas="midas",a.Morpho="morpho",a.Napier="napier",a.Pendle="pendle",a.Reserve="reserve",a.Silo="silo",a.TurtleClub="turtle_club",a))(g||{}),b=(e=>(e.Index="index",e.Lending="lending",e.Staking="staking",e))(b||{}),s=t`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,o=
|
|
7
|
+
`,o=t`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,13 +12,13 @@ import{gql as a}from"@apollo/client";var d=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,u=t`
|
|
16
16
|
fragment CuratorInfoFragment on Curator {
|
|
17
17
|
name
|
|
18
18
|
image
|
|
19
19
|
url
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,p=t`
|
|
22
22
|
fragment ApyFragment on Apy {
|
|
23
23
|
base
|
|
24
24
|
rewards {
|
|
@@ -30,7 +30,7 @@ import{gql as a}from"@apollo/client";var d=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
30
30
|
total
|
|
31
31
|
fee
|
|
32
32
|
}
|
|
33
|
-
${o}`,l=
|
|
33
|
+
${o}`,l=t`
|
|
34
34
|
fragment VaultSummaryFragment on MorphoVault {
|
|
35
35
|
chain {
|
|
36
36
|
...ChainInfoFragment
|
|
@@ -59,6 +59,12 @@ import{gql as a}from"@apollo/client";var d=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
59
59
|
supplyApy {
|
|
60
60
|
...ApyFragment
|
|
61
61
|
}
|
|
62
|
+
supplyApy1d {
|
|
63
|
+
...ApyFragment
|
|
64
|
+
}
|
|
65
|
+
supplyApy7d {
|
|
66
|
+
...ApyFragment
|
|
67
|
+
}
|
|
62
68
|
marketAllocations {
|
|
63
69
|
market {
|
|
64
70
|
isIdle
|
|
@@ -81,8 +87,8 @@ import{gql as a}from"@apollo/client";var d=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
81
87
|
}
|
|
82
88
|
${s}
|
|
83
89
|
${o}
|
|
84
|
-
${
|
|
85
|
-
${
|
|
90
|
+
${u}
|
|
91
|
+
${p}`,i=t`
|
|
86
92
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
87
93
|
chain {
|
|
88
94
|
...ChainInfoFragment
|
|
@@ -123,6 +129,12 @@ ${u}`,i=a`
|
|
|
123
129
|
borrowApy {
|
|
124
130
|
...ApyFragment
|
|
125
131
|
}
|
|
132
|
+
borrowApy1d {
|
|
133
|
+
...ApyFragment
|
|
134
|
+
}
|
|
135
|
+
borrowApy7d {
|
|
136
|
+
...ApyFragment
|
|
137
|
+
}
|
|
126
138
|
vaultAllocations {
|
|
127
139
|
vault {
|
|
128
140
|
vaultAddress
|
|
@@ -139,7 +151,7 @@ ${u}`,i=a`
|
|
|
139
151
|
}
|
|
140
152
|
${s}
|
|
141
153
|
${o}
|
|
142
|
-
${
|
|
154
|
+
${p}`,M=t`
|
|
143
155
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
144
156
|
morphoVaults(
|
|
145
157
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -153,7 +165,7 @@ ${u}`,M=a`
|
|
|
153
165
|
}
|
|
154
166
|
}
|
|
155
167
|
}
|
|
156
|
-
${l}`,S=
|
|
168
|
+
${l}`,S=t`
|
|
157
169
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
158
170
|
morphoMarkets(
|
|
159
171
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -167,7 +179,7 @@ ${u}`,M=a`
|
|
|
167
179
|
}
|
|
168
180
|
}
|
|
169
181
|
}
|
|
170
|
-
${i}`,I=
|
|
182
|
+
${i}`,I=t`
|
|
171
183
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
172
184
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
173
185
|
items {
|
|
@@ -257,7 +269,7 @@ ${u}`,M=a`
|
|
|
257
269
|
${l}
|
|
258
270
|
${s}
|
|
259
271
|
${o}
|
|
260
|
-
${
|
|
272
|
+
${p}`,w=t`
|
|
261
273
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
262
274
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
263
275
|
items {
|
|
@@ -344,7 +356,7 @@ ${u}`,x=a`
|
|
|
344
356
|
${i}
|
|
345
357
|
${o}
|
|
346
358
|
${s}
|
|
347
|
-
${
|
|
359
|
+
${u}`,x=t`
|
|
348
360
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
349
361
|
morphoVaultPositions(
|
|
350
362
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -372,7 +384,7 @@ ${p}`,T=a`
|
|
|
372
384
|
}
|
|
373
385
|
}
|
|
374
386
|
}
|
|
375
|
-
`,
|
|
387
|
+
`,T=t`
|
|
376
388
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
377
389
|
morphoMarketPositions(
|
|
378
390
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -415,7 +427,7 @@ ${p}`,T=a`
|
|
|
415
427
|
}
|
|
416
428
|
}
|
|
417
429
|
}
|
|
418
|
-
`,
|
|
430
|
+
`,f=t`
|
|
419
431
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
420
432
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
421
433
|
items {
|
|
@@ -430,4 +442,245 @@ ${p}`,T=a`
|
|
|
430
442
|
}
|
|
431
443
|
}
|
|
432
444
|
}
|
|
433
|
-
`,
|
|
445
|
+
`,C=t`
|
|
446
|
+
query VaultHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
447
|
+
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
448
|
+
items {
|
|
449
|
+
historical {
|
|
450
|
+
daily {
|
|
451
|
+
supplyApy1d {
|
|
452
|
+
total
|
|
453
|
+
}
|
|
454
|
+
supplyApy30d {
|
|
455
|
+
total
|
|
456
|
+
}
|
|
457
|
+
supplyApy7d {
|
|
458
|
+
total
|
|
459
|
+
}
|
|
460
|
+
totalSupplied {
|
|
461
|
+
usd
|
|
462
|
+
raw
|
|
463
|
+
formatted
|
|
464
|
+
}
|
|
465
|
+
bucketTimestamp
|
|
466
|
+
}
|
|
467
|
+
hourly {
|
|
468
|
+
supplyApy1d {
|
|
469
|
+
total
|
|
470
|
+
}
|
|
471
|
+
supplyApy30d {
|
|
472
|
+
total
|
|
473
|
+
}
|
|
474
|
+
supplyApy7d {
|
|
475
|
+
total
|
|
476
|
+
}
|
|
477
|
+
totalSupplied {
|
|
478
|
+
usd
|
|
479
|
+
raw
|
|
480
|
+
formatted
|
|
481
|
+
}
|
|
482
|
+
bucketTimestamp
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
`,V=t`
|
|
489
|
+
query VaultMarketAllocationHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
490
|
+
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
491
|
+
items {
|
|
492
|
+
name
|
|
493
|
+
marketAllocations {
|
|
494
|
+
market {
|
|
495
|
+
historical {
|
|
496
|
+
daily {
|
|
497
|
+
bucketTimestamp
|
|
498
|
+
borrowApy1d {
|
|
499
|
+
total
|
|
500
|
+
}
|
|
501
|
+
borrowApy30d {
|
|
502
|
+
total
|
|
503
|
+
}
|
|
504
|
+
borrowApy7d {
|
|
505
|
+
total
|
|
506
|
+
}
|
|
507
|
+
supplyApy1d {
|
|
508
|
+
total
|
|
509
|
+
}
|
|
510
|
+
supplyApy7d {
|
|
511
|
+
total
|
|
512
|
+
}
|
|
513
|
+
supplyApy30d {
|
|
514
|
+
total
|
|
515
|
+
}
|
|
516
|
+
totalBorrowed {
|
|
517
|
+
formatted
|
|
518
|
+
raw
|
|
519
|
+
usd
|
|
520
|
+
}
|
|
521
|
+
totalCollateral {
|
|
522
|
+
formatted
|
|
523
|
+
raw
|
|
524
|
+
usd
|
|
525
|
+
}
|
|
526
|
+
totalSupplied {
|
|
527
|
+
formatted
|
|
528
|
+
raw
|
|
529
|
+
usd
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
hourly {
|
|
533
|
+
bucketTimestamp
|
|
534
|
+
borrowApy1d {
|
|
535
|
+
total
|
|
536
|
+
}
|
|
537
|
+
borrowApy30d {
|
|
538
|
+
total
|
|
539
|
+
}
|
|
540
|
+
borrowApy7d {
|
|
541
|
+
total
|
|
542
|
+
}
|
|
543
|
+
supplyApy1d {
|
|
544
|
+
total
|
|
545
|
+
}
|
|
546
|
+
supplyApy7d {
|
|
547
|
+
total
|
|
548
|
+
}
|
|
549
|
+
supplyApy30d {
|
|
550
|
+
total
|
|
551
|
+
}
|
|
552
|
+
totalBorrowed {
|
|
553
|
+
formatted
|
|
554
|
+
raw
|
|
555
|
+
usd
|
|
556
|
+
}
|
|
557
|
+
totalCollateral {
|
|
558
|
+
formatted
|
|
559
|
+
raw
|
|
560
|
+
usd
|
|
561
|
+
}
|
|
562
|
+
totalSupplied {
|
|
563
|
+
formatted
|
|
564
|
+
raw
|
|
565
|
+
usd
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
name
|
|
570
|
+
marketId
|
|
571
|
+
utilization
|
|
572
|
+
}
|
|
573
|
+
enabled
|
|
574
|
+
vault {
|
|
575
|
+
decimals
|
|
576
|
+
asset {
|
|
577
|
+
decimals
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
`,$=t`
|
|
585
|
+
query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
586
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
587
|
+
items {
|
|
588
|
+
historical {
|
|
589
|
+
daily {
|
|
590
|
+
bucketTimestamp
|
|
591
|
+
borrowApy1d {
|
|
592
|
+
total
|
|
593
|
+
}
|
|
594
|
+
borrowApy30d {
|
|
595
|
+
total
|
|
596
|
+
}
|
|
597
|
+
borrowApy7d {
|
|
598
|
+
total
|
|
599
|
+
}
|
|
600
|
+
supplyApy1d {
|
|
601
|
+
total
|
|
602
|
+
}
|
|
603
|
+
supplyApy7d {
|
|
604
|
+
total
|
|
605
|
+
}
|
|
606
|
+
supplyApy30d {
|
|
607
|
+
total
|
|
608
|
+
}
|
|
609
|
+
totalBorrowed {
|
|
610
|
+
formatted
|
|
611
|
+
raw
|
|
612
|
+
usd
|
|
613
|
+
}
|
|
614
|
+
totalCollateral {
|
|
615
|
+
formatted
|
|
616
|
+
raw
|
|
617
|
+
usd
|
|
618
|
+
}
|
|
619
|
+
totalSupplied {
|
|
620
|
+
formatted
|
|
621
|
+
raw
|
|
622
|
+
usd
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
hourly {
|
|
626
|
+
bucketTimestamp
|
|
627
|
+
borrowApy1d {
|
|
628
|
+
total
|
|
629
|
+
}
|
|
630
|
+
borrowApy30d {
|
|
631
|
+
total
|
|
632
|
+
}
|
|
633
|
+
borrowApy7d {
|
|
634
|
+
total
|
|
635
|
+
}
|
|
636
|
+
supplyApy1d {
|
|
637
|
+
total
|
|
638
|
+
}
|
|
639
|
+
supplyApy7d {
|
|
640
|
+
total
|
|
641
|
+
}
|
|
642
|
+
supplyApy30d {
|
|
643
|
+
total
|
|
644
|
+
}
|
|
645
|
+
totalBorrowed {
|
|
646
|
+
formatted
|
|
647
|
+
raw
|
|
648
|
+
usd
|
|
649
|
+
}
|
|
650
|
+
totalCollateral {
|
|
651
|
+
formatted
|
|
652
|
+
raw
|
|
653
|
+
usd
|
|
654
|
+
}
|
|
655
|
+
totalSupplied {
|
|
656
|
+
formatted
|
|
657
|
+
raw
|
|
658
|
+
usd
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
`,v=t`
|
|
666
|
+
query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
667
|
+
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
668
|
+
items {
|
|
669
|
+
historical {
|
|
670
|
+
daily {
|
|
671
|
+
borrowApyInstantaneous {
|
|
672
|
+
total
|
|
673
|
+
}
|
|
674
|
+
bucketTimestamp
|
|
675
|
+
}
|
|
676
|
+
hourly {
|
|
677
|
+
borrowApyInstantaneous {
|
|
678
|
+
total
|
|
679
|
+
}
|
|
680
|
+
bucketTimestamp
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
`,k={possibleTypes:{Adapter:["MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},P=k;export{p as ApyFragment,y as ApySide,m as ApyTimeframe,s as ChainInfoFragment,u as CuratorInfoFragment,d as Erc4626VaultProtocol,A as IdentityResolver,w as Market,$ as MarketHistoryData,v as MarketIbrHistoryData,T as MarketPositions,S as MarketSummaries,i as MarketSummaryFragment,c as MerklAction,f as SupportedMarketIds,_ as TokenCategory,o as TokenInfoFragment,I as Vault,C as VaultHistoryData,V as VaultMarketAllocationHistoryData,x as VaultPositions,g as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,b as VaultType,P as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var s=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var A=(u,r)=>{for(var a in r)s(u,a,{get:r[a],enumerable:!0})},k=(u,r,a,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of H(r))!d.call(u,o)&&o!==a&&s(u,o,{get:()=>r[o],enumerable:!(t=B(r,o))||t.enumerable});return u};var V=u=>k(s({},"__esModule",{value:!0}),u);var G={};A(G,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>I,GetFirstHoneyTxnDate:()=>Q,GetGlobalData:()=>w,GetHoneyTxn:()=>F,GetHoneyTxnByType:()=>E,GetVolumeAndSupplyDay:()=>f,GetVolumeHour:()=>C,HoneyCollateral_OrderBy:()=>b,HoneySupplyDayData_OrderBy:()=>m,HoneySupplyHourData_OrderBy:()=>_,HoneyTxnData:()=>l,HoneyTxn_OrderBy:()=>M,HoneyVolumeDayData_OrderBy:()=>S,HoneyVolumeHourData_OrderBy:()=>g,HoneyVolumeTimeseries_OrderBy:()=>h,OrderDirection:()=>D,TxnType:()=>x,_SubgraphErrorPolicy_:()=>T,default:()=>$});module.exports=V(G);var i=require("@apollo/client"),c=(a=>(a.Day="day",a.Hour="hour",a))(c||{}),I=(y=>(y.HoneyTxn="honeyTxn",y.Id="id",y.IsBasketMode="isBasketMode",y.TxHash="txHash",y.Type="type",y))(I||{}),b=(e=>(e.Collateral="collateral",e.CollateralAmount="collateralAmount",e.HoneyTxn="honeyTxn",e.HoneyTxnFrom="honeyTxn__from",e.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",e.HoneyTxnId="honeyTxn__id",e.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",e.HoneyTxnTimestamp="honeyTxn__timestamp",e.HoneyTxnTo="honeyTxn__to",e.HoneyTxnType="honeyTxn__type",e.Id="id",e))(b||{}),m=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(m||{}),_=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(_||{}),M=(n=>(n.ChainTransaction="chainTransaction",n.ChainTransactionId="chainTransaction__id",n.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",n.ChainTransactionTxHash="chainTransaction__txHash",n.ChainTransactionType="chainTransaction__type",n.Collateral="collateral",n.From="from",n.HoneyAmount="honeyAmount",n.Id="id",n.IsBasketMode="isBasketMode",n.Timestamp="timestamp",n.To="to",n.Type="type",n))(M||{}),S=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(S||{}),g=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(g||{}),h=(p=>(p.BlockNumber="blockNumber",p.From="from",p.HoneyAmount="honeyAmount",p.Id="id",p.Timestamp="timestamp",p.To="to",p.TxHash="txHash",p.TxnType="txnType",p))(h||{}),D=(a=>(a.Asc="asc",a.Desc="desc",a))(D||{}),x=(a=>(a.Mint="MINT",a.Redeem="REDEEM",a))(x||{}),T=(a=>(a.Allow="allow",a.Deny="deny",a))(T||{}),l=i.gql`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
id
|
|
4
4
|
timestamp
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
id
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,E=
|
|
19
|
+
`,E=i.gql`
|
|
20
20
|
query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
|
|
21
21
|
honeyTxns(
|
|
22
22
|
skip: $page
|
|
@@ -28,21 +28,22 @@
|
|
|
28
28
|
...HoneyTxnData
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
${
|
|
31
|
+
${l}`,F=i.gql`
|
|
32
32
|
query GetHoneyTxn($page: Int!, $limit: Int!) {
|
|
33
33
|
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
34
|
...HoneyTxnData
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
${
|
|
38
|
-
query
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
${l}`,f=i.gql`
|
|
38
|
+
query GetVolumeAndSupplyDay($timestamp_gt: Int!) {
|
|
39
|
+
honeyVolumeDayDatas(
|
|
40
|
+
where: {timestamp_gt: $timestamp_gt}
|
|
41
|
+
orderBy: timestamp
|
|
42
|
+
orderDirection: asc
|
|
43
|
+
) {
|
|
41
44
|
id
|
|
42
|
-
mintVolume
|
|
43
|
-
redeemVolume
|
|
44
45
|
timestamp
|
|
45
|
-
|
|
46
|
+
amount
|
|
46
47
|
}
|
|
47
48
|
honeySupplyDayDatas(
|
|
48
49
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -54,7 +55,19 @@
|
|
|
54
55
|
amount
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
`,C=
|
|
58
|
+
`,C=i.gql`
|
|
59
|
+
query GetVolumeHour($timestamp_gt: Int!) {
|
|
60
|
+
honeyVolumeHourDatas(
|
|
61
|
+
where: {timestamp_gt: $timestamp_gt}
|
|
62
|
+
orderBy: timestamp
|
|
63
|
+
orderDirection: asc
|
|
64
|
+
) {
|
|
65
|
+
id
|
|
66
|
+
timestamp
|
|
67
|
+
amount
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`,w=i.gql`
|
|
58
71
|
query GetGlobalData {
|
|
59
72
|
honeyVolumeAggregations(interval: hour, first: 24) {
|
|
60
73
|
allTimeVolume
|
|
@@ -65,10 +78,10 @@
|
|
|
65
78
|
totalVolume
|
|
66
79
|
}
|
|
67
80
|
}
|
|
68
|
-
`,
|
|
81
|
+
`,Q=i.gql`
|
|
69
82
|
query GetFirstHoneyTxnDate {
|
|
70
83
|
honeyTxns(first: 1) {
|
|
71
84
|
timestamp
|
|
72
85
|
}
|
|
73
86
|
}
|
|
74
|
-
`,P={possibleTypes:{}},$=P;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,
|
|
87
|
+
`,P={possibleTypes:{}},$=P;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetFirstHoneyTxnDate,GetGlobalData,GetHoneyTxn,GetHoneyTxnByType,GetVolumeAndSupplyDay,GetVolumeHour,HoneyCollateral_OrderBy,HoneySupplyDayData_OrderBy,HoneySupplyHourData_OrderBy,HoneyTxnData,HoneyTxn_OrderBy,HoneyVolumeDayData_OrderBy,HoneyVolumeHourData_OrderBy,HoneyVolumeTimeseries_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
|
|
@@ -1021,21 +1021,16 @@ type GetHoneyTxnQuery = {
|
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}>;
|
|
1023
1023
|
};
|
|
1024
|
-
type
|
|
1024
|
+
type GetVolumeAndSupplyDayQueryVariables = Exact<{
|
|
1025
1025
|
timestamp_gt: Scalars['Int']['input'];
|
|
1026
|
-
interval: Aggregation_Interval;
|
|
1027
|
-
first: Scalars['Int']['input'];
|
|
1028
1026
|
}>;
|
|
1029
|
-
type
|
|
1027
|
+
type GetVolumeAndSupplyDayQuery = {
|
|
1030
1028
|
__typename?: 'Query';
|
|
1031
|
-
|
|
1032
|
-
__typename?: '
|
|
1033
|
-
allTimeVolume: string;
|
|
1029
|
+
honeyVolumeDayDatas: Array<{
|
|
1030
|
+
__typename?: 'HoneyVolumeDayData';
|
|
1034
1031
|
id: string;
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
timestamp: string;
|
|
1038
|
-
totalVolume: string;
|
|
1032
|
+
timestamp: number;
|
|
1033
|
+
amount: string;
|
|
1039
1034
|
}>;
|
|
1040
1035
|
honeySupplyDayDatas: Array<{
|
|
1041
1036
|
__typename?: 'HoneySupplyDayData';
|
|
@@ -1044,6 +1039,18 @@ type GetChartDataQuery = {
|
|
|
1044
1039
|
amount: string;
|
|
1045
1040
|
}>;
|
|
1046
1041
|
};
|
|
1042
|
+
type GetVolumeHourQueryVariables = Exact<{
|
|
1043
|
+
timestamp_gt: Scalars['Int']['input'];
|
|
1044
|
+
}>;
|
|
1045
|
+
type GetVolumeHourQuery = {
|
|
1046
|
+
__typename?: 'Query';
|
|
1047
|
+
honeyVolumeHourDatas: Array<{
|
|
1048
|
+
__typename?: 'HoneyVolumeHourData';
|
|
1049
|
+
id: string;
|
|
1050
|
+
timestamp: number;
|
|
1051
|
+
amount: string;
|
|
1052
|
+
}>;
|
|
1053
|
+
};
|
|
1047
1054
|
type GetGlobalDataQueryVariables = Exact<{
|
|
1048
1055
|
[key: string]: never;
|
|
1049
1056
|
}>;
|
|
@@ -1072,7 +1079,8 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
1072
1079
|
declare const HoneyTxnData: graphql.DocumentNode;
|
|
1073
1080
|
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
1074
1081
|
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
1075
|
-
declare const
|
|
1082
|
+
declare const GetVolumeAndSupplyDay: graphql.DocumentNode;
|
|
1083
|
+
declare const GetVolumeHour: graphql.DocumentNode;
|
|
1076
1084
|
declare const GetGlobalData: graphql.DocumentNode;
|
|
1077
1085
|
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
1078
1086
|
interface PossibleTypesResultData {
|
|
@@ -1082,4 +1090,4 @@ interface PossibleTypesResultData {
|
|
|
1082
1090
|
}
|
|
1083
1091
|
declare const result: PossibleTypesResultData;
|
|
1084
1092
|
|
|
1085
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact,
|
|
1093
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, GetVolumeAndSupplyDay, type GetVolumeAndSupplyDayQuery, type GetVolumeAndSupplyDayQueryVariables, GetVolumeHour, type GetVolumeHourQuery, type GetVolumeHourQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneySupplyHourData, type HoneySupplyHourData_Filter, HoneySupplyHourData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxn_Filter, HoneyTxn_OrderBy, type HoneyVolumeAggregation, type HoneyVolumeAggregation_Filter, type HoneyVolumeDayData, type HoneyVolumeDayData_Filter, HoneyVolumeDayData_OrderBy, type HoneyVolumeHourData, type HoneyVolumeHourData_Filter, HoneyVolumeHourData_OrderBy, type HoneyVolumeTimeseries, type HoneyVolumeTimeseries_Filter, HoneyVolumeTimeseries_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneySupplyHourDataArgs, type QueryHoneySupplyHourDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnsArgs, type QueryHoneyVolumeAggregationsArgs, type QueryHoneyVolumeDayDataArgs, type QueryHoneyVolumeDayDatasArgs, type QueryHoneyVolumeHourDataArgs, type QueryHoneyVolumeHourDatasArgs, type QueryHoneyVolumeTimeseriesArgs, type QueryHoneyVolumeTimeseries_CollectionArgs, type Query_MetaArgs, type Scalars, type Subscription, type SubscriptionChainTransactionArgs, type SubscriptionChainTransactionsArgs, type SubscriptionHoneyCollateralArgs, type SubscriptionHoneyCollateralsArgs, type SubscriptionHoneySupplyDayDataArgs, type SubscriptionHoneySupplyDayDatasArgs, type SubscriptionHoneySupplyHourDataArgs, type SubscriptionHoneySupplyHourDatasArgs, type SubscriptionHoneyTxnArgs, type SubscriptionHoneyTxnsArgs, type SubscriptionHoneyVolumeAggregationsArgs, type SubscriptionHoneyVolumeDayDataArgs, type SubscriptionHoneyVolumeDayDatasArgs, type SubscriptionHoneyVolumeHourDataArgs, type SubscriptionHoneyVolumeHourDatasArgs, type SubscriptionHoneyVolumeTimeseriesArgs, type SubscriptionHoneyVolumeTimeseries_CollectionArgs, type Subscription_MetaArgs, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1021,21 +1021,16 @@ type GetHoneyTxnQuery = {
|
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}>;
|
|
1023
1023
|
};
|
|
1024
|
-
type
|
|
1024
|
+
type GetVolumeAndSupplyDayQueryVariables = Exact<{
|
|
1025
1025
|
timestamp_gt: Scalars['Int']['input'];
|
|
1026
|
-
interval: Aggregation_Interval;
|
|
1027
|
-
first: Scalars['Int']['input'];
|
|
1028
1026
|
}>;
|
|
1029
|
-
type
|
|
1027
|
+
type GetVolumeAndSupplyDayQuery = {
|
|
1030
1028
|
__typename?: 'Query';
|
|
1031
|
-
|
|
1032
|
-
__typename?: '
|
|
1033
|
-
allTimeVolume: string;
|
|
1029
|
+
honeyVolumeDayDatas: Array<{
|
|
1030
|
+
__typename?: 'HoneyVolumeDayData';
|
|
1034
1031
|
id: string;
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
timestamp: string;
|
|
1038
|
-
totalVolume: string;
|
|
1032
|
+
timestamp: number;
|
|
1033
|
+
amount: string;
|
|
1039
1034
|
}>;
|
|
1040
1035
|
honeySupplyDayDatas: Array<{
|
|
1041
1036
|
__typename?: 'HoneySupplyDayData';
|
|
@@ -1044,6 +1039,18 @@ type GetChartDataQuery = {
|
|
|
1044
1039
|
amount: string;
|
|
1045
1040
|
}>;
|
|
1046
1041
|
};
|
|
1042
|
+
type GetVolumeHourQueryVariables = Exact<{
|
|
1043
|
+
timestamp_gt: Scalars['Int']['input'];
|
|
1044
|
+
}>;
|
|
1045
|
+
type GetVolumeHourQuery = {
|
|
1046
|
+
__typename?: 'Query';
|
|
1047
|
+
honeyVolumeHourDatas: Array<{
|
|
1048
|
+
__typename?: 'HoneyVolumeHourData';
|
|
1049
|
+
id: string;
|
|
1050
|
+
timestamp: number;
|
|
1051
|
+
amount: string;
|
|
1052
|
+
}>;
|
|
1053
|
+
};
|
|
1047
1054
|
type GetGlobalDataQueryVariables = Exact<{
|
|
1048
1055
|
[key: string]: never;
|
|
1049
1056
|
}>;
|
|
@@ -1072,7 +1079,8 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
1072
1079
|
declare const HoneyTxnData: graphql.DocumentNode;
|
|
1073
1080
|
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
1074
1081
|
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
1075
|
-
declare const
|
|
1082
|
+
declare const GetVolumeAndSupplyDay: graphql.DocumentNode;
|
|
1083
|
+
declare const GetVolumeHour: graphql.DocumentNode;
|
|
1076
1084
|
declare const GetGlobalData: graphql.DocumentNode;
|
|
1077
1085
|
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
1078
1086
|
interface PossibleTypesResultData {
|
|
@@ -1082,4 +1090,4 @@ interface PossibleTypesResultData {
|
|
|
1082
1090
|
}
|
|
1083
1091
|
declare const result: PossibleTypesResultData;
|
|
1084
1092
|
|
|
1085
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact,
|
|
1093
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, GetVolumeAndSupplyDay, type GetVolumeAndSupplyDayQuery, type GetVolumeAndSupplyDayQueryVariables, GetVolumeHour, type GetVolumeHourQuery, type GetVolumeHourQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneySupplyHourData, type HoneySupplyHourData_Filter, HoneySupplyHourData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxn_Filter, HoneyTxn_OrderBy, type HoneyVolumeAggregation, type HoneyVolumeAggregation_Filter, type HoneyVolumeDayData, type HoneyVolumeDayData_Filter, HoneyVolumeDayData_OrderBy, type HoneyVolumeHourData, type HoneyVolumeHourData_Filter, HoneyVolumeHourData_OrderBy, type HoneyVolumeTimeseries, type HoneyVolumeTimeseries_Filter, HoneyVolumeTimeseries_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneySupplyHourDataArgs, type QueryHoneySupplyHourDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnsArgs, type QueryHoneyVolumeAggregationsArgs, type QueryHoneyVolumeDayDataArgs, type QueryHoneyVolumeDayDatasArgs, type QueryHoneyVolumeHourDataArgs, type QueryHoneyVolumeHourDatasArgs, type QueryHoneyVolumeTimeseriesArgs, type QueryHoneyVolumeTimeseries_CollectionArgs, type Query_MetaArgs, type Scalars, type Subscription, type SubscriptionChainTransactionArgs, type SubscriptionChainTransactionsArgs, type SubscriptionHoneyCollateralArgs, type SubscriptionHoneyCollateralsArgs, type SubscriptionHoneySupplyDayDataArgs, type SubscriptionHoneySupplyDayDatasArgs, type SubscriptionHoneySupplyHourDataArgs, type SubscriptionHoneySupplyHourDatasArgs, type SubscriptionHoneyTxnArgs, type SubscriptionHoneyTxnsArgs, type SubscriptionHoneyVolumeAggregationsArgs, type SubscriptionHoneyVolumeDayDataArgs, type SubscriptionHoneyVolumeDayDatasArgs, type SubscriptionHoneyVolumeHourDataArgs, type SubscriptionHoneyVolumeHourDatasArgs, type SubscriptionHoneyVolumeTimeseriesArgs, type SubscriptionHoneyVolumeTimeseries_CollectionArgs, type Subscription_MetaArgs, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|