@berachain/graphql 0.2.4-beta.2 → 0.2.4-beta.5
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 +17 -257
- package/dist/bend/whisk.codegen.d.cts +1 -331
- package/dist/bend/whisk.codegen.d.ts +1 -331
- package/dist/bend/whisk.codegen.mjs +15 -255
- package/dist/honey/honey.codegen.cjs +13 -26
- package/dist/honey/honey.codegen.d.cts +13 -21
- package/dist/honey/honey.codegen.d.ts +13 -21
- package/dist/honey/honey.codegen.mjs +13 -26
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as a}from"@apollo/client";var d=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(d||{}),y=(t=>(t.OneDay="one_day",t.SevenDays="seven_days",t.ThirtyDays="thirty_days",t))(y||{}),m=(t=>(t.Generic="generic",t.MorphoV1="morpho_v1",t.MorphoV2="morpho_v2",t))(m||{}),c=(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(c||{}),A=(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(A||{}),g=(t=>(t.Btc="Btc",t.Eth="Eth",t.Stable="Stable",t))(g||{}),_=(e=>(e.Enzyme="enzyme",e.EulerEarn="euler_earn",e.EulerV2="euler_v2",e.Gearbox="gearbox",e.Lista="lista",e.Mellow="mellow",e.Midas="midas",e.Morpho="morpho",e.Napier="napier",e.Pendle="pendle",e.Reserve="reserve",e.Silo="silo",e.TurtleClub="turtle_club",e))(_||{}),h=(t=>(t.Index="index",t.Lending="lending",t.Staking="staking",t))(h||{}),s=a`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,o=
|
|
7
|
+
`,o=a`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,13 +12,13 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
}
|
|
15
|
-
`,
|
|
15
|
+
`,p=a`
|
|
16
16
|
fragment CuratorInfoFragment on Curator {
|
|
17
17
|
name
|
|
18
18
|
image
|
|
19
19
|
url
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,u=a`
|
|
22
22
|
fragment ApyFragment on Apy {
|
|
23
23
|
base
|
|
24
24
|
rewards {
|
|
@@ -30,7 +30,7 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
30
30
|
total
|
|
31
31
|
fee
|
|
32
32
|
}
|
|
33
|
-
${o}`,l=
|
|
33
|
+
${o}`,l=a`
|
|
34
34
|
fragment VaultSummaryFragment on MorphoVault {
|
|
35
35
|
chain {
|
|
36
36
|
...ChainInfoFragment
|
|
@@ -81,8 +81,8 @@ import{gql as t}from"@apollo/client";var y=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
81
81
|
}
|
|
82
82
|
${s}
|
|
83
83
|
${o}
|
|
84
|
-
${
|
|
85
|
-
${
|
|
84
|
+
${p}
|
|
85
|
+
${u}`,i=a`
|
|
86
86
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
87
87
|
chain {
|
|
88
88
|
...ChainInfoFragment
|
|
@@ -139,7 +139,7 @@ ${p}`,i=t`
|
|
|
139
139
|
}
|
|
140
140
|
${s}
|
|
141
141
|
${o}
|
|
142
|
-
${
|
|
142
|
+
${u}`,M=a`
|
|
143
143
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
144
144
|
morphoVaults(
|
|
145
145
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -153,7 +153,7 @@ ${p}`,M=t`
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
${l}`,S=
|
|
156
|
+
${l}`,S=a`
|
|
157
157
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
158
158
|
morphoMarkets(
|
|
159
159
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -167,7 +167,7 @@ ${p}`,M=t`
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
${i}`,I=
|
|
170
|
+
${i}`,I=a`
|
|
171
171
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
172
172
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
173
173
|
items {
|
|
@@ -257,7 +257,7 @@ ${p}`,M=t`
|
|
|
257
257
|
${l}
|
|
258
258
|
${s}
|
|
259
259
|
${o}
|
|
260
|
-
${
|
|
260
|
+
${u}`,x=a`
|
|
261
261
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
262
262
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
263
263
|
items {
|
|
@@ -344,7 +344,7 @@ ${p}`,x=t`
|
|
|
344
344
|
${i}
|
|
345
345
|
${o}
|
|
346
346
|
${s}
|
|
347
|
-
${
|
|
347
|
+
${p}`,T=a`
|
|
348
348
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
349
349
|
morphoVaultPositions(
|
|
350
350
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -372,7 +372,7 @@ ${u}`,w=t`
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
`,
|
|
375
|
+
`,f=a`
|
|
376
376
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
377
377
|
morphoMarketPositions(
|
|
378
378
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -415,7 +415,7 @@ ${u}`,w=t`
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
`,
|
|
418
|
+
`,C=a`
|
|
419
419
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
420
420
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
421
421
|
items {
|
|
@@ -430,244 +430,4 @@ ${u}`,w=t`
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
`,C
|
|
434
|
-
query VaultHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
435
|
-
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
436
|
-
items {
|
|
437
|
-
historical {
|
|
438
|
-
daily {
|
|
439
|
-
supplyApy1d {
|
|
440
|
-
total
|
|
441
|
-
}
|
|
442
|
-
supplyApy30d {
|
|
443
|
-
total
|
|
444
|
-
}
|
|
445
|
-
supplyApy7d {
|
|
446
|
-
total
|
|
447
|
-
}
|
|
448
|
-
totalSupplied {
|
|
449
|
-
usd
|
|
450
|
-
raw
|
|
451
|
-
formatted
|
|
452
|
-
}
|
|
453
|
-
bucketTimestamp
|
|
454
|
-
}
|
|
455
|
-
hourly {
|
|
456
|
-
supplyApy1d {
|
|
457
|
-
total
|
|
458
|
-
}
|
|
459
|
-
supplyApy30d {
|
|
460
|
-
total
|
|
461
|
-
}
|
|
462
|
-
supplyApy7d {
|
|
463
|
-
total
|
|
464
|
-
}
|
|
465
|
-
totalSupplied {
|
|
466
|
-
usd
|
|
467
|
-
raw
|
|
468
|
-
formatted
|
|
469
|
-
}
|
|
470
|
-
bucketTimestamp
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
`,V=t`
|
|
477
|
-
query VaultMarketAllocationHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
478
|
-
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
479
|
-
items {
|
|
480
|
-
marketAllocations {
|
|
481
|
-
market {
|
|
482
|
-
historical {
|
|
483
|
-
daily {
|
|
484
|
-
bucketTimestamp
|
|
485
|
-
borrowApy1d {
|
|
486
|
-
total
|
|
487
|
-
}
|
|
488
|
-
borrowApy30d {
|
|
489
|
-
total
|
|
490
|
-
}
|
|
491
|
-
borrowApy7d {
|
|
492
|
-
total
|
|
493
|
-
}
|
|
494
|
-
supplyApy1d {
|
|
495
|
-
total
|
|
496
|
-
}
|
|
497
|
-
supplyApy7d {
|
|
498
|
-
total
|
|
499
|
-
}
|
|
500
|
-
supplyApy30d {
|
|
501
|
-
total
|
|
502
|
-
}
|
|
503
|
-
totalBorrowed {
|
|
504
|
-
formatted
|
|
505
|
-
raw
|
|
506
|
-
usd
|
|
507
|
-
}
|
|
508
|
-
totalCollateral {
|
|
509
|
-
formatted
|
|
510
|
-
raw
|
|
511
|
-
usd
|
|
512
|
-
}
|
|
513
|
-
totalSupplied {
|
|
514
|
-
formatted
|
|
515
|
-
raw
|
|
516
|
-
usd
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
hourly {
|
|
520
|
-
bucketTimestamp
|
|
521
|
-
borrowApy1d {
|
|
522
|
-
total
|
|
523
|
-
}
|
|
524
|
-
borrowApy30d {
|
|
525
|
-
total
|
|
526
|
-
}
|
|
527
|
-
borrowApy7d {
|
|
528
|
-
total
|
|
529
|
-
}
|
|
530
|
-
supplyApy1d {
|
|
531
|
-
total
|
|
532
|
-
}
|
|
533
|
-
supplyApy7d {
|
|
534
|
-
total
|
|
535
|
-
}
|
|
536
|
-
supplyApy30d {
|
|
537
|
-
total
|
|
538
|
-
}
|
|
539
|
-
totalBorrowed {
|
|
540
|
-
formatted
|
|
541
|
-
raw
|
|
542
|
-
usd
|
|
543
|
-
}
|
|
544
|
-
totalCollateral {
|
|
545
|
-
formatted
|
|
546
|
-
raw
|
|
547
|
-
usd
|
|
548
|
-
}
|
|
549
|
-
totalSupplied {
|
|
550
|
-
formatted
|
|
551
|
-
raw
|
|
552
|
-
usd
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
name
|
|
557
|
-
marketId
|
|
558
|
-
utilization
|
|
559
|
-
}
|
|
560
|
-
enabled
|
|
561
|
-
vault {
|
|
562
|
-
decimals
|
|
563
|
-
asset {
|
|
564
|
-
decimals
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
`,$=t`
|
|
572
|
-
query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
573
|
-
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
574
|
-
items {
|
|
575
|
-
historical {
|
|
576
|
-
daily {
|
|
577
|
-
bucketTimestamp
|
|
578
|
-
borrowApy1d {
|
|
579
|
-
total
|
|
580
|
-
}
|
|
581
|
-
borrowApy30d {
|
|
582
|
-
total
|
|
583
|
-
}
|
|
584
|
-
borrowApy7d {
|
|
585
|
-
total
|
|
586
|
-
}
|
|
587
|
-
supplyApy1d {
|
|
588
|
-
total
|
|
589
|
-
}
|
|
590
|
-
supplyApy7d {
|
|
591
|
-
total
|
|
592
|
-
}
|
|
593
|
-
supplyApy30d {
|
|
594
|
-
total
|
|
595
|
-
}
|
|
596
|
-
totalBorrowed {
|
|
597
|
-
formatted
|
|
598
|
-
raw
|
|
599
|
-
usd
|
|
600
|
-
}
|
|
601
|
-
totalCollateral {
|
|
602
|
-
formatted
|
|
603
|
-
raw
|
|
604
|
-
usd
|
|
605
|
-
}
|
|
606
|
-
totalSupplied {
|
|
607
|
-
formatted
|
|
608
|
-
raw
|
|
609
|
-
usd
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
hourly {
|
|
613
|
-
bucketTimestamp
|
|
614
|
-
borrowApy1d {
|
|
615
|
-
total
|
|
616
|
-
}
|
|
617
|
-
borrowApy30d {
|
|
618
|
-
total
|
|
619
|
-
}
|
|
620
|
-
borrowApy7d {
|
|
621
|
-
total
|
|
622
|
-
}
|
|
623
|
-
supplyApy1d {
|
|
624
|
-
total
|
|
625
|
-
}
|
|
626
|
-
supplyApy7d {
|
|
627
|
-
total
|
|
628
|
-
}
|
|
629
|
-
supplyApy30d {
|
|
630
|
-
total
|
|
631
|
-
}
|
|
632
|
-
totalBorrowed {
|
|
633
|
-
formatted
|
|
634
|
-
raw
|
|
635
|
-
usd
|
|
636
|
-
}
|
|
637
|
-
totalCollateral {
|
|
638
|
-
formatted
|
|
639
|
-
raw
|
|
640
|
-
usd
|
|
641
|
-
}
|
|
642
|
-
totalSupplied {
|
|
643
|
-
formatted
|
|
644
|
-
raw
|
|
645
|
-
usd
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
`,v=t`
|
|
653
|
-
query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
654
|
-
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
655
|
-
items {
|
|
656
|
-
historical {
|
|
657
|
-
daily {
|
|
658
|
-
borrowApyInstantaneous {
|
|
659
|
-
total
|
|
660
|
-
}
|
|
661
|
-
bucketTimestamp
|
|
662
|
-
}
|
|
663
|
-
hourly {
|
|
664
|
-
borrowApyInstantaneous {
|
|
665
|
-
total
|
|
666
|
-
}
|
|
667
|
-
bucketTimestamp
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
`,h={possibleTypes:{Adapter:["MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},P=h;export{p as ApyFragment,y as ApySide,d as ApyTimeframe,s as ChainInfoFragment,u as CuratorInfoFragment,m as Erc4626VaultProtocol,A as IdentityResolver,x 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,w as VaultPositions,g as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,b as VaultType,P as default};
|
|
433
|
+
`,b={possibleTypes:{Adapter:["MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc4626Vault:["GenericErc4626Vault","MorphoVault","MorphoVaultV2"]}},w=b;export{u as ApyFragment,d as ApySide,y as ApyTimeframe,s as ChainInfoFragment,p as CuratorInfoFragment,m as Erc4626VaultProtocol,c as IdentityResolver,x as Market,f as MarketPositions,S as MarketSummaries,i as MarketSummaryFragment,A as MerklAction,C as SupportedMarketIds,g as TokenCategory,o as TokenInfoFragment,I as Vault,T as VaultPositions,_ as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,h as VaultType,w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var l=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var d=(p,r)=>{for(var a in r)l(p,a,{get:r[a],enumerable:!0})},k=(p,r,a,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of H(r))!A.call(p,o)&&o!==a&&l(p,o,{get:()=>r[o],enumerable:!(t=B(r,o))||t.enumerable});return p};var V=p=>k(l({},"__esModule",{value:!0}),p);var Q={};d(Q,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>I,GetChartData:()=>f,GetFirstHoneyTxnDate:()=>w,GetGlobalData:()=>C,GetHoneyTxn:()=>F,GetHoneyTxnByType:()=>E,HoneyCollateral_OrderBy:()=>b,HoneySupplyDayData_OrderBy:()=>_,HoneySupplyHourData_OrderBy:()=>m,HoneyTxnData:()=>s,HoneyTxn_OrderBy:()=>M,HoneyVolumeDayData_OrderBy:()=>S,HoneyVolumeHourData_OrderBy:()=>g,HoneyVolumeTimeseries_OrderBy:()=>h,OrderDirection:()=>D,TxnType:()=>x,_SubgraphErrorPolicy_:()=>T,default:()=>$});module.exports=V(Q);var u=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||{}),_=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(_||{}),m=(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(m||{}),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=(i=>(i.BlockNumber="blockNumber",i.From="from",i.HoneyAmount="honeyAmount",i.Id="id",i.Timestamp="timestamp",i.To="to",i.TxHash="txHash",i.TxnType="txnType",i))(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||{}),s=u.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=u.gql`
|
|
20
20
|
query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
|
|
21
21
|
honeyTxns(
|
|
22
22
|
skip: $page
|
|
@@ -28,22 +28,21 @@
|
|
|
28
28
|
...HoneyTxnData
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
${
|
|
31
|
+
${s}`,F=u.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
|
-
|
|
41
|
-
orderBy: timestamp
|
|
42
|
-
orderDirection: asc
|
|
43
|
-
) {
|
|
37
|
+
${s}`,f=u.gql`
|
|
38
|
+
query GetChartData($timestamp_gt: Int!, $interval: Aggregation_interval!, $first: Int!) {
|
|
39
|
+
honeyVolumeAggregations(interval: $interval, first: $first) {
|
|
40
|
+
allTimeVolume
|
|
44
41
|
id
|
|
42
|
+
mintVolume
|
|
43
|
+
redeemVolume
|
|
45
44
|
timestamp
|
|
46
|
-
|
|
45
|
+
totalVolume
|
|
47
46
|
}
|
|
48
47
|
honeySupplyDayDatas(
|
|
49
48
|
where: {timestamp_gt: $timestamp_gt}
|
|
@@ -55,19 +54,7 @@
|
|
|
55
54
|
amount
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
|
-
`,C=
|
|
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`
|
|
57
|
+
`,C=u.gql`
|
|
71
58
|
query GetGlobalData {
|
|
72
59
|
honeyVolumeAggregations(interval: hour, first: 24) {
|
|
73
60
|
allTimeVolume
|
|
@@ -78,10 +65,10 @@
|
|
|
78
65
|
totalVolume
|
|
79
66
|
}
|
|
80
67
|
}
|
|
81
|
-
`,
|
|
68
|
+
`,w=u.gql`
|
|
82
69
|
query GetFirstHoneyTxnDate {
|
|
83
70
|
honeyTxns(first: 1) {
|
|
84
71
|
timestamp
|
|
85
72
|
}
|
|
86
73
|
}
|
|
87
|
-
`,P={possibleTypes:{}},$=P;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetFirstHoneyTxnDate,GetGlobalData,GetHoneyTxn,GetHoneyTxnByType,
|
|
74
|
+
`,P={possibleTypes:{}},$=P;0&&(module.exports={Aggregation_Interval,ChainTransaction_OrderBy,GetChartData,GetFirstHoneyTxnDate,GetGlobalData,GetHoneyTxn,GetHoneyTxnByType,HoneyCollateral_OrderBy,HoneySupplyDayData_OrderBy,HoneySupplyHourData_OrderBy,HoneyTxnData,HoneyTxn_OrderBy,HoneyVolumeDayData_OrderBy,HoneyVolumeHourData_OrderBy,HoneyVolumeTimeseries_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
|
|
@@ -1021,16 +1021,21 @@ type GetHoneyTxnQuery = {
|
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}>;
|
|
1023
1023
|
};
|
|
1024
|
-
type
|
|
1024
|
+
type GetChartDataQueryVariables = Exact<{
|
|
1025
1025
|
timestamp_gt: Scalars['Int']['input'];
|
|
1026
|
+
interval: Aggregation_Interval;
|
|
1027
|
+
first: Scalars['Int']['input'];
|
|
1026
1028
|
}>;
|
|
1027
|
-
type
|
|
1029
|
+
type GetChartDataQuery = {
|
|
1028
1030
|
__typename?: 'Query';
|
|
1029
|
-
|
|
1030
|
-
__typename?: '
|
|
1031
|
+
honeyVolumeAggregations: Array<{
|
|
1032
|
+
__typename?: 'HoneyVolumeAggregation';
|
|
1033
|
+
allTimeVolume: string;
|
|
1031
1034
|
id: string;
|
|
1032
|
-
|
|
1033
|
-
|
|
1035
|
+
mintVolume: string;
|
|
1036
|
+
redeemVolume: string;
|
|
1037
|
+
timestamp: string;
|
|
1038
|
+
totalVolume: string;
|
|
1034
1039
|
}>;
|
|
1035
1040
|
honeySupplyDayDatas: Array<{
|
|
1036
1041
|
__typename?: 'HoneySupplyDayData';
|
|
@@ -1039,18 +1044,6 @@ type GetVolumeAndSupplyDayQuery = {
|
|
|
1039
1044
|
amount: string;
|
|
1040
1045
|
}>;
|
|
1041
1046
|
};
|
|
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
|
-
};
|
|
1054
1047
|
type GetGlobalDataQueryVariables = Exact<{
|
|
1055
1048
|
[key: string]: never;
|
|
1056
1049
|
}>;
|
|
@@ -1079,8 +1072,7 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
1079
1072
|
declare const HoneyTxnData: graphql.DocumentNode;
|
|
1080
1073
|
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
1081
1074
|
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
1082
|
-
declare const
|
|
1083
|
-
declare const GetVolumeHour: graphql.DocumentNode;
|
|
1075
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
1084
1076
|
declare const GetGlobalData: graphql.DocumentNode;
|
|
1085
1077
|
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
1086
1078
|
interface PossibleTypesResultData {
|
|
@@ -1090,4 +1082,4 @@ interface PossibleTypesResultData {
|
|
|
1090
1082
|
}
|
|
1091
1083
|
declare const result: PossibleTypesResultData;
|
|
1092
1084
|
|
|
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,
|
|
1085
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, 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,16 +1021,21 @@ type GetHoneyTxnQuery = {
|
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}>;
|
|
1023
1023
|
};
|
|
1024
|
-
type
|
|
1024
|
+
type GetChartDataQueryVariables = Exact<{
|
|
1025
1025
|
timestamp_gt: Scalars['Int']['input'];
|
|
1026
|
+
interval: Aggregation_Interval;
|
|
1027
|
+
first: Scalars['Int']['input'];
|
|
1026
1028
|
}>;
|
|
1027
|
-
type
|
|
1029
|
+
type GetChartDataQuery = {
|
|
1028
1030
|
__typename?: 'Query';
|
|
1029
|
-
|
|
1030
|
-
__typename?: '
|
|
1031
|
+
honeyVolumeAggregations: Array<{
|
|
1032
|
+
__typename?: 'HoneyVolumeAggregation';
|
|
1033
|
+
allTimeVolume: string;
|
|
1031
1034
|
id: string;
|
|
1032
|
-
|
|
1033
|
-
|
|
1035
|
+
mintVolume: string;
|
|
1036
|
+
redeemVolume: string;
|
|
1037
|
+
timestamp: string;
|
|
1038
|
+
totalVolume: string;
|
|
1034
1039
|
}>;
|
|
1035
1040
|
honeySupplyDayDatas: Array<{
|
|
1036
1041
|
__typename?: 'HoneySupplyDayData';
|
|
@@ -1039,18 +1044,6 @@ type GetVolumeAndSupplyDayQuery = {
|
|
|
1039
1044
|
amount: string;
|
|
1040
1045
|
}>;
|
|
1041
1046
|
};
|
|
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
|
-
};
|
|
1054
1047
|
type GetGlobalDataQueryVariables = Exact<{
|
|
1055
1048
|
[key: string]: never;
|
|
1056
1049
|
}>;
|
|
@@ -1079,8 +1072,7 @@ type GetFirstHoneyTxnDateQuery = {
|
|
|
1079
1072
|
declare const HoneyTxnData: graphql.DocumentNode;
|
|
1080
1073
|
declare const GetHoneyTxnByType: graphql.DocumentNode;
|
|
1081
1074
|
declare const GetHoneyTxn: graphql.DocumentNode;
|
|
1082
|
-
declare const
|
|
1083
|
-
declare const GetVolumeHour: graphql.DocumentNode;
|
|
1075
|
+
declare const GetChartData: graphql.DocumentNode;
|
|
1084
1076
|
declare const GetGlobalData: graphql.DocumentNode;
|
|
1085
1077
|
declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
|
|
1086
1078
|
interface PossibleTypesResultData {
|
|
@@ -1090,4 +1082,4 @@ interface PossibleTypesResultData {
|
|
|
1090
1082
|
}
|
|
1091
1083
|
declare const result: PossibleTypesResultData;
|
|
1092
1084
|
|
|
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,
|
|
1085
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetChartData, type GetChartDataQuery, type GetChartDataQueryVariables, GetFirstHoneyTxnDate, type GetFirstHoneyTxnDateQuery, type GetFirstHoneyTxnDateQueryVariables, GetGlobalData, type GetGlobalDataQuery, type GetGlobalDataQueryVariables, GetHoneyTxn, GetHoneyTxnByType, type GetHoneyTxnByTypeQuery, type GetHoneyTxnByTypeQueryVariables, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, 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 };
|