@berachain/graphql 0.1.0-alpha.7 → 0.1.0-alpha.9
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.d.ts +15 -15
- package/dist/bend/whisk.codegen.js +15 -15
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/chain/chain.codegen.js +2 -2
- package/dist/dex/api.codegen.d.ts +47 -44
- package/dist/dex/api.codegen.js +18 -18
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/dex/subgraph.codegen.js +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.js +9 -9
- package/dist/honey/honey.codegen.d.ts +10 -10
- package/dist/honey/honey.codegen.js +10 -10
- package/dist/pol/api.codegen.d.ts +56 -53
- package/dist/pol/api.codegen.js +21 -21
- package/dist/pol/subgraph.codegen.d.ts +20 -20
- package/dist/pol/subgraph.codegen.js +20 -20
- package/package.json +3 -11
- package/dist/bend/whisk.codegen.cjs +0 -424
- package/dist/bend/whisk.codegen.d.cts +0 -1798
- package/dist/chain/chain.codegen.cjs +0 -12
- package/dist/chain/chain.codegen.d.cts +0 -376
- package/dist/chunk-2NNMCPDS.cjs +0 -1
- package/dist/chunk-JUYCSGOC.js +0 -1
- package/dist/dex/api.codegen.cjs +0 -199
- package/dist/dex/api.codegen.d.cts +0 -3833
- package/dist/dex/subgraph.codegen.cjs +0 -88
- package/dist/dex/subgraph.codegen.d.cts +0 -5887
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1622
- package/dist/honey/honey.codegen.cjs +0 -104
- package/dist/honey/honey.codegen.d.cts +0 -936
- package/dist/pol/api.codegen.cjs +0 -301
- package/dist/pol/api.codegen.d.cts +0 -3619
- package/dist/pol/subgraph.codegen.cjs +0 -197
- package/dist/pol/subgraph.codegen.d.cts +0 -4671
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2NNMCPDScjs = require('../chunk-2NNMCPDS.cjs');var y=(n=>(n.Day="day",n.Hour="hour",n))(y||{}),u= exports.ChainTransaction_OrderBy =(p=>(p.HoneyTxn="honeyTxn",p.Id="id",p.IsBasketMode="isBasketMode",p.TxHash="txHash",p.Type="type",p))(u||{}),o= exports.HoneyCollateral_OrderBy =(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))(o||{}),l= exports.HoneySupplyDayData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(l||{}),s= exports.HoneySupplyHourData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(s||{}),c= exports.HoneyTxn_OrderBy =(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(c||{}),I= exports.HoneyVolumeDayData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(I||{}),b= exports.HoneyVolumeHourData_OrderBy =(t=>(t.Amount="amount",t.Id="id",t.Timestamp="timestamp",t))(b||{}),_= exports.OrderDirection =(n=>(n.Asc="asc",n.Desc="desc",n))(_||{}),m= exports.TxnType =(n=>(n.Mint="MINT",n.Redeem="REDEEM",n))(m||{}),S= exports._SubgraphErrorPolicy_ =(n=>(n.Allow="allow",n.Deny="deny",n))(S||{}),i= exports.HoneyTxnData =_chunk2NNMCPDScjs.a`
|
|
2
|
-
fragment HoneyTxnData on HoneyTxn {
|
|
3
|
-
id
|
|
4
|
-
timestamp
|
|
5
|
-
from
|
|
6
|
-
to
|
|
7
|
-
type
|
|
8
|
-
honeyAmount
|
|
9
|
-
chainTransaction {
|
|
10
|
-
id
|
|
11
|
-
txHash
|
|
12
|
-
}
|
|
13
|
-
collateral {
|
|
14
|
-
collateral
|
|
15
|
-
collateralAmount
|
|
16
|
-
id
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`,D= exports.GetHoneyTxnByType =_chunk2NNMCPDScjs.a`
|
|
20
|
-
query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
|
|
21
|
-
honeyTxns(
|
|
22
|
-
skip: $page
|
|
23
|
-
first: $limit
|
|
24
|
-
orderBy: timestamp
|
|
25
|
-
orderDirection: desc
|
|
26
|
-
where: {type: $type}
|
|
27
|
-
) {
|
|
28
|
-
...HoneyTxnData
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
${i}`,h= exports.GetHoneyTxn =_chunk2NNMCPDScjs.a`
|
|
32
|
-
query GetHoneyTxn($page: Int!, $limit: Int!) {
|
|
33
|
-
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
|
-
...HoneyTxnData
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
${i}`,x= exports.GetSupplyDay =_chunk2NNMCPDScjs.a`
|
|
38
|
-
query GetSupplyDay($timestamp_gt: Int!) {
|
|
39
|
-
honeySupplyDayDatas(
|
|
40
|
-
where: {timestamp_gt: $timestamp_gt}
|
|
41
|
-
orderBy: timestamp
|
|
42
|
-
orderDirection: asc
|
|
43
|
-
) {
|
|
44
|
-
id
|
|
45
|
-
timestamp
|
|
46
|
-
amount
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`,H= exports.GetSupplyHour =_chunk2NNMCPDScjs.a`
|
|
50
|
-
query GetSupplyHour($timestamp_gt: Int!) {
|
|
51
|
-
honeySupplyHourDatas(
|
|
52
|
-
where: {timestamp_gt: $timestamp_gt}
|
|
53
|
-
orderBy: timestamp
|
|
54
|
-
orderDirection: asc
|
|
55
|
-
) {
|
|
56
|
-
id
|
|
57
|
-
timestamp
|
|
58
|
-
amount
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
`,d= exports.GetVolumeDay =_chunk2NNMCPDScjs.a`
|
|
62
|
-
query GetVolumeDay($timestamp_gt: Int!) {
|
|
63
|
-
honeyVolumeDayDatas(
|
|
64
|
-
where: {timestamp_gt: $timestamp_gt}
|
|
65
|
-
orderBy: timestamp
|
|
66
|
-
orderDirection: asc
|
|
67
|
-
) {
|
|
68
|
-
id
|
|
69
|
-
timestamp
|
|
70
|
-
amount
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
`,T= exports.GetVolumeHour =_chunk2NNMCPDScjs.a`
|
|
74
|
-
query GetVolumeHour($timestamp_gt: Int!) {
|
|
75
|
-
honeyVolumeHourDatas(
|
|
76
|
-
where: {timestamp_gt: $timestamp_gt}
|
|
77
|
-
orderBy: timestamp
|
|
78
|
-
orderDirection: asc
|
|
79
|
-
) {
|
|
80
|
-
id
|
|
81
|
-
timestamp
|
|
82
|
-
amount
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
`,B= exports.GetGlobalData =_chunk2NNMCPDScjs.a`
|
|
86
|
-
query GetGlobalData {
|
|
87
|
-
honeyVolumeDayDatas(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
88
|
-
id
|
|
89
|
-
timestamp
|
|
90
|
-
amount
|
|
91
|
-
}
|
|
92
|
-
honeySupplyHourDatas(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
93
|
-
id
|
|
94
|
-
timestamp
|
|
95
|
-
amount
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
`,A= exports.GetFirstHoneyTxnDate =_chunk2NNMCPDScjs.a`
|
|
99
|
-
query GetFirstHoneyTxnDate {
|
|
100
|
-
honeyTxns(first: 1) {
|
|
101
|
-
timestamp
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
`,M={possibleTypes:{}},k= exports.default =M;exports.Aggregation_Interval = y; exports.ChainTransaction_OrderBy = u; exports.GetFirstHoneyTxnDate = A; exports.GetGlobalData = B; exports.GetHoneyTxn = h; exports.GetHoneyTxnByType = D; exports.GetSupplyDay = x; exports.GetSupplyHour = H; exports.GetVolumeDay = d; exports.GetVolumeHour = T; exports.HoneyCollateral_OrderBy = o; exports.HoneySupplyDayData_OrderBy = l; exports.HoneySupplyHourData_OrderBy = s; exports.HoneyTxnData = i; exports.HoneyTxn_OrderBy = c; exports.HoneyVolumeDayData_OrderBy = I; exports.HoneyVolumeHourData_OrderBy = b; exports.OrderDirection = _; exports.TxnType = m; exports._SubgraphErrorPolicy_ = S; exports.default = k;
|