@berachain/graphql 0.4.15 → 0.4.16-beta.1
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/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +3 -0
- package/dist/dex/api.codegen.d.ts +3 -0
- package/dist/dex/api.codegen.mjs +17 -17
- package/dist/pol/api.codegen.cjs +35 -22
- package/dist/pol/api.codegen.d.cts +23 -1
- package/dist/pol/api.codegen.d.ts +23 -1
- package/dist/pol/api.codegen.mjs +19 -6
- package/package.json +1 -1
- package/dist/chain/chain.codegen.cjs +0 -12
- package/dist/chain/chain.codegen.d.cts +0 -351
- package/dist/chain/chain.codegen.d.ts +0 -351
- package/dist/chain/chain.codegen.mjs +0 -12
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -735
- package/dist/honey/honey.codegen.d.ts +0 -735
- package/dist/honey/honey.codegen.mjs +0 -42
- package/dist/pol/subgraph.codegen.cjs +0 -102
- package/dist/pol/subgraph.codegen.d.cts +0 -4133
- package/dist/pol/subgraph.codegen.d.ts +0 -4133
- package/dist/pol/subgraph.codegen.mjs +0 -102
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
|
|
3
|
-
type Maybe<T> = T | null;
|
|
4
|
-
type InputMaybe<T> = Maybe<T>;
|
|
5
|
-
type Exact<T extends {
|
|
6
|
-
[key: string]: unknown;
|
|
7
|
-
}> = {
|
|
8
|
-
[K in keyof T]: T[K];
|
|
9
|
-
};
|
|
10
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
-
};
|
|
13
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
-
};
|
|
16
|
-
type MakeEmpty<T extends {
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}, K extends keyof T> = {
|
|
19
|
-
[_ in K]?: never;
|
|
20
|
-
};
|
|
21
|
-
type Incremental<T> = T | {
|
|
22
|
-
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
-
};
|
|
24
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
-
type Scalars = {
|
|
26
|
-
ID: {
|
|
27
|
-
input: string;
|
|
28
|
-
output: string;
|
|
29
|
-
};
|
|
30
|
-
String: {
|
|
31
|
-
input: string;
|
|
32
|
-
output: string;
|
|
33
|
-
};
|
|
34
|
-
Boolean: {
|
|
35
|
-
input: boolean;
|
|
36
|
-
output: boolean;
|
|
37
|
-
};
|
|
38
|
-
Int: {
|
|
39
|
-
input: number;
|
|
40
|
-
output: number;
|
|
41
|
-
};
|
|
42
|
-
Float: {
|
|
43
|
-
input: number;
|
|
44
|
-
output: number;
|
|
45
|
-
};
|
|
46
|
-
BigDecimal: {
|
|
47
|
-
input: string;
|
|
48
|
-
output: string;
|
|
49
|
-
};
|
|
50
|
-
BigInt: {
|
|
51
|
-
input: string;
|
|
52
|
-
output: string;
|
|
53
|
-
};
|
|
54
|
-
Bytes: {
|
|
55
|
-
input: `0x${string}`;
|
|
56
|
-
output: `0x${string}`;
|
|
57
|
-
};
|
|
58
|
-
Int8: {
|
|
59
|
-
input: string;
|
|
60
|
-
output: string;
|
|
61
|
-
};
|
|
62
|
-
Timestamp: {
|
|
63
|
-
input: string;
|
|
64
|
-
output: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
declare enum Aggregation_Interval {
|
|
68
|
-
Day = "day",
|
|
69
|
-
Hour = "hour"
|
|
70
|
-
}
|
|
71
|
-
type Block = {
|
|
72
|
-
__typename?: 'Block';
|
|
73
|
-
author: Scalars['Bytes']['output'];
|
|
74
|
-
baseFeePerGas?: Maybe<Scalars['BigInt']['output']>;
|
|
75
|
-
difficulty: Scalars['BigInt']['output'];
|
|
76
|
-
gasLimit: Scalars['BigInt']['output'];
|
|
77
|
-
gasUsed: Scalars['BigInt']['output'];
|
|
78
|
-
hash: Scalars['Bytes']['output'];
|
|
79
|
-
id: Scalars['Bytes']['output'];
|
|
80
|
-
number: Scalars['BigInt']['output'];
|
|
81
|
-
parentHash: Scalars['Bytes']['output'];
|
|
82
|
-
receiptsRoot: Scalars['Bytes']['output'];
|
|
83
|
-
size?: Maybe<Scalars['BigInt']['output']>;
|
|
84
|
-
stateRoot: Scalars['Bytes']['output'];
|
|
85
|
-
timestamp: Scalars['BigInt']['output'];
|
|
86
|
-
totalDifficulty: Scalars['BigInt']['output'];
|
|
87
|
-
transactionsRoot: Scalars['Bytes']['output'];
|
|
88
|
-
unclesHash: Scalars['Bytes']['output'];
|
|
89
|
-
};
|
|
90
|
-
type BlockChangedFilter = {
|
|
91
|
-
number_gte: Scalars['Int']['input'];
|
|
92
|
-
};
|
|
93
|
-
type Block_Filter = {
|
|
94
|
-
/** Filter for the block changed event. */
|
|
95
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
96
|
-
and?: InputMaybe<Array<InputMaybe<Block_Filter>>>;
|
|
97
|
-
author?: InputMaybe<Scalars['Bytes']['input']>;
|
|
98
|
-
author_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
99
|
-
author_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
100
|
-
author_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
101
|
-
author_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
102
|
-
author_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
103
|
-
author_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
104
|
-
author_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
105
|
-
author_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
106
|
-
author_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
107
|
-
baseFeePerGas?: InputMaybe<Scalars['BigInt']['input']>;
|
|
108
|
-
baseFeePerGas_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
109
|
-
baseFeePerGas_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
110
|
-
baseFeePerGas_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
111
|
-
baseFeePerGas_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
112
|
-
baseFeePerGas_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
113
|
-
baseFeePerGas_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
114
|
-
baseFeePerGas_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
115
|
-
difficulty?: InputMaybe<Scalars['BigInt']['input']>;
|
|
116
|
-
difficulty_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
117
|
-
difficulty_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
118
|
-
difficulty_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
119
|
-
difficulty_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
120
|
-
difficulty_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
121
|
-
difficulty_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
122
|
-
difficulty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
123
|
-
gasLimit?: InputMaybe<Scalars['BigInt']['input']>;
|
|
124
|
-
gasLimit_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
125
|
-
gasLimit_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
126
|
-
gasLimit_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
127
|
-
gasLimit_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
128
|
-
gasLimit_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
129
|
-
gasLimit_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
130
|
-
gasLimit_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
131
|
-
gasUsed?: InputMaybe<Scalars['BigInt']['input']>;
|
|
132
|
-
gasUsed_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
133
|
-
gasUsed_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
134
|
-
gasUsed_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
135
|
-
gasUsed_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
136
|
-
gasUsed_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
137
|
-
gasUsed_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
138
|
-
gasUsed_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
139
|
-
hash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
140
|
-
hash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
141
|
-
hash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
142
|
-
hash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
143
|
-
hash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
144
|
-
hash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
145
|
-
hash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
146
|
-
hash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
147
|
-
hash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
148
|
-
hash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
149
|
-
id?: InputMaybe<Scalars['Bytes']['input']>;
|
|
150
|
-
id_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
151
|
-
id_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
152
|
-
id_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
153
|
-
id_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
154
|
-
id_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
155
|
-
id_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
156
|
-
id_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
157
|
-
id_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
158
|
-
id_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
159
|
-
number?: InputMaybe<Scalars['BigInt']['input']>;
|
|
160
|
-
number_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
161
|
-
number_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
162
|
-
number_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
163
|
-
number_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
164
|
-
number_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
165
|
-
number_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
166
|
-
number_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
167
|
-
or?: InputMaybe<Array<InputMaybe<Block_Filter>>>;
|
|
168
|
-
parentHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
169
|
-
parentHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
170
|
-
parentHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
171
|
-
parentHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
172
|
-
parentHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
173
|
-
parentHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
174
|
-
parentHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
175
|
-
parentHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
176
|
-
parentHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
177
|
-
parentHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
178
|
-
receiptsRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
179
|
-
receiptsRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
180
|
-
receiptsRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
181
|
-
receiptsRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
182
|
-
receiptsRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
183
|
-
receiptsRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
184
|
-
receiptsRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
185
|
-
receiptsRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
186
|
-
receiptsRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
187
|
-
receiptsRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
188
|
-
size?: InputMaybe<Scalars['BigInt']['input']>;
|
|
189
|
-
size_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
190
|
-
size_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
191
|
-
size_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
192
|
-
size_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
193
|
-
size_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
194
|
-
size_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
195
|
-
size_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
196
|
-
stateRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
197
|
-
stateRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
198
|
-
stateRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
199
|
-
stateRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
200
|
-
stateRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
201
|
-
stateRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
202
|
-
stateRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
203
|
-
stateRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
204
|
-
stateRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
205
|
-
stateRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
206
|
-
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
207
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
208
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
209
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
210
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
211
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
212
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
213
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
214
|
-
totalDifficulty?: InputMaybe<Scalars['BigInt']['input']>;
|
|
215
|
-
totalDifficulty_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
216
|
-
totalDifficulty_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
217
|
-
totalDifficulty_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
218
|
-
totalDifficulty_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
219
|
-
totalDifficulty_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
220
|
-
totalDifficulty_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
221
|
-
totalDifficulty_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
222
|
-
transactionsRoot?: InputMaybe<Scalars['Bytes']['input']>;
|
|
223
|
-
transactionsRoot_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
224
|
-
transactionsRoot_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
225
|
-
transactionsRoot_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
226
|
-
transactionsRoot_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
227
|
-
transactionsRoot_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
228
|
-
transactionsRoot_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
229
|
-
transactionsRoot_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
230
|
-
transactionsRoot_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
231
|
-
transactionsRoot_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
232
|
-
unclesHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
233
|
-
unclesHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
234
|
-
unclesHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
235
|
-
unclesHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
236
|
-
unclesHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
237
|
-
unclesHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
238
|
-
unclesHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
239
|
-
unclesHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
240
|
-
unclesHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
241
|
-
unclesHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
242
|
-
};
|
|
243
|
-
type Block_Height = {
|
|
244
|
-
hash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
245
|
-
number?: InputMaybe<Scalars['Int']['input']>;
|
|
246
|
-
number_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
247
|
-
};
|
|
248
|
-
declare enum Block_OrderBy {
|
|
249
|
-
Author = "author",
|
|
250
|
-
BaseFeePerGas = "baseFeePerGas",
|
|
251
|
-
Difficulty = "difficulty",
|
|
252
|
-
GasLimit = "gasLimit",
|
|
253
|
-
GasUsed = "gasUsed",
|
|
254
|
-
Hash = "hash",
|
|
255
|
-
Id = "id",
|
|
256
|
-
Number = "number",
|
|
257
|
-
ParentHash = "parentHash",
|
|
258
|
-
ReceiptsRoot = "receiptsRoot",
|
|
259
|
-
Size = "size",
|
|
260
|
-
StateRoot = "stateRoot",
|
|
261
|
-
Timestamp = "timestamp",
|
|
262
|
-
TotalDifficulty = "totalDifficulty",
|
|
263
|
-
TransactionsRoot = "transactionsRoot",
|
|
264
|
-
UnclesHash = "unclesHash"
|
|
265
|
-
}
|
|
266
|
-
/** Defines the order direction, either ascending or descending */
|
|
267
|
-
declare enum OrderDirection {
|
|
268
|
-
Asc = "asc",
|
|
269
|
-
Desc = "desc"
|
|
270
|
-
}
|
|
271
|
-
type Query = {
|
|
272
|
-
__typename?: 'Query';
|
|
273
|
-
/** Access to subgraph metadata */
|
|
274
|
-
_meta?: Maybe<_Meta_>;
|
|
275
|
-
block?: Maybe<Block>;
|
|
276
|
-
blocks: Array<Block>;
|
|
277
|
-
};
|
|
278
|
-
type Query_MetaArgs = {
|
|
279
|
-
block?: InputMaybe<Block_Height>;
|
|
280
|
-
};
|
|
281
|
-
type QueryBlockArgs = {
|
|
282
|
-
block?: InputMaybe<Block_Height>;
|
|
283
|
-
id: Scalars['ID']['input'];
|
|
284
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
285
|
-
};
|
|
286
|
-
type QueryBlocksArgs = {
|
|
287
|
-
block?: InputMaybe<Block_Height>;
|
|
288
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
289
|
-
orderBy?: InputMaybe<Block_OrderBy>;
|
|
290
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
291
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
292
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
293
|
-
where?: InputMaybe<Block_Filter>;
|
|
294
|
-
};
|
|
295
|
-
type _Block_ = {
|
|
296
|
-
__typename?: '_Block_';
|
|
297
|
-
/** The hash of the block */
|
|
298
|
-
hash?: Maybe<Scalars['Bytes']['output']>;
|
|
299
|
-
/** The block number */
|
|
300
|
-
number: Scalars['Int']['output'];
|
|
301
|
-
/** The hash of the parent block */
|
|
302
|
-
parentHash?: Maybe<Scalars['Bytes']['output']>;
|
|
303
|
-
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
304
|
-
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
305
|
-
};
|
|
306
|
-
/** The type for the top-level _meta field */
|
|
307
|
-
type _Meta_ = {
|
|
308
|
-
__typename?: '_Meta_';
|
|
309
|
-
/**
|
|
310
|
-
* Information about a specific subgraph block. The hash of the block
|
|
311
|
-
* will be null if the _meta field has a block constraint that asks for
|
|
312
|
-
* a block number. It will be filled if the _meta field has no block constraint
|
|
313
|
-
* and therefore asks for the latest block
|
|
314
|
-
*/
|
|
315
|
-
block: _Block_;
|
|
316
|
-
/** The deployment ID */
|
|
317
|
-
deployment: Scalars['String']['output'];
|
|
318
|
-
/** If `true`, the subgraph encountered indexing errors at some past block */
|
|
319
|
-
hasIndexingErrors: Scalars['Boolean']['output'];
|
|
320
|
-
};
|
|
321
|
-
declare enum _SubgraphErrorPolicy_ {
|
|
322
|
-
/** Data will be returned even if the subgraph has indexing errors */
|
|
323
|
-
Allow = "allow",
|
|
324
|
-
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
325
|
-
Deny = "deny"
|
|
326
|
-
}
|
|
327
|
-
type GetBlocksTimeStampQueryVariables = Exact<{
|
|
328
|
-
skip: Scalars['Int']['input'];
|
|
329
|
-
}>;
|
|
330
|
-
type GetBlocksTimeStampQuery = {
|
|
331
|
-
__typename?: 'Query';
|
|
332
|
-
newest: Array<{
|
|
333
|
-
__typename?: 'Block';
|
|
334
|
-
timestamp: string;
|
|
335
|
-
number: string;
|
|
336
|
-
}>;
|
|
337
|
-
oldest: Array<{
|
|
338
|
-
__typename?: 'Block';
|
|
339
|
-
timestamp: string;
|
|
340
|
-
number: string;
|
|
341
|
-
}>;
|
|
342
|
-
};
|
|
343
|
-
declare const GetBlocksTimeStamp: _apollo_client.DocumentNode;
|
|
344
|
-
interface PossibleTypesResultData {
|
|
345
|
-
possibleTypes: {
|
|
346
|
-
[key: string]: string[];
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
declare const result: PossibleTypesResultData;
|
|
350
|
-
|
|
351
|
-
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(s||{}),u=(a=>(a.Asc="asc",a.Desc="desc",a))(u||{}),i=(a=>(a.Allow="allow",a.Deny="deny",a))(i||{}),y=n`
|
|
2
|
-
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
|
-
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
|
-
timestamp
|
|
5
|
-
number
|
|
6
|
-
}
|
|
7
|
-
oldest: blocks(first: 1, orderBy: timestamp, orderDirection: desc, skip: $skip) {
|
|
8
|
-
timestamp
|
|
9
|
-
number
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
`,p={possibleTypes:{}},l=p;export{e as Aggregation_Interval,s as Block_OrderBy,y as GetBlocksTimeStamp,u as OrderDirection,i as _SubgraphErrorPolicy_,l as default};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var H=Object.prototype.hasOwnProperty;var k=(i,e)=>{for(var t in e)l(i,t,{get:e[t],enumerable:!0})},f=(i,e,t,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let y of d(e))!H.call(i,y)&&y!==t&&l(i,y,{get:()=>e[y],enumerable:!(u=D(e,y))||u.enumerable});return i};var F=i=>f(l({},"__esModule",{value:!0}),i);var $={};k($,{Aggregation_Current:()=>c,Aggregation_Interval:()=>I,ChainTransaction_OrderBy:()=>b,GetHoneyTxn:()=>C,GetSnapshots:()=>w,HoneyCollateral_OrderBy:()=>_,HoneySnapshotData:()=>A,HoneySnapshot_OrderBy:()=>S,HoneySupplyDayData_OrderBy:()=>M,HoneyTxnData:()=>B,HoneyTxnTimeseries_OrderBy:()=>m,HoneyTxn_OrderBy:()=>g,OrderDirection:()=>h,TxnType:()=>T,_SubgraphErrorPolicy_:()=>x,default:()=>V});module.exports=F($);var o=require("@apollo/client"),c=(t=>(t.Exclude="exclude",t.Include="include",t))(c||{}),I=(t=>(t.Day="day",t.Hour="hour",t))(I||{}),b=(s=>(s.HoneyTxn="honeyTxn",s.Id="id",s.IsBasketMode="isBasketMode",s.TxHash="txHash",s.Type="type",s))(b||{}),_=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(_||{}),S=(r=>(r.AllTimeVolume="allTimeVolume",r.Id="id",r.MintVolume="mintVolume",r.RedeemVolume="redeemVolume",r.Timestamp="timestamp",r.TotalSupply="totalSupply",r.TotalVolume="totalVolume",r))(S||{}),M=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(M||{}),m=(p=>(p.BlockNumber="blockNumber",p.From="from",p.HoneyAmount="honeyAmount",p.Id="id",p.Timestamp="timestamp",p.To="to",p.TotalSupply="totalSupply",p.TxHash="txHash",p.TxnType="txnType",p))(m||{}),g=(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))(g||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),T=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(T||{}),x=(t=>(t.Allow="allow",t.Deny="deny",t))(x||{}),B=o.gql`
|
|
2
|
-
fragment HoneyTxnData on HoneyTxn {
|
|
3
|
-
timestamp
|
|
4
|
-
from
|
|
5
|
-
to
|
|
6
|
-
type
|
|
7
|
-
honeyAmount
|
|
8
|
-
chainTransaction {
|
|
9
|
-
txHash
|
|
10
|
-
}
|
|
11
|
-
collateral {
|
|
12
|
-
collateral
|
|
13
|
-
collateralAmount
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
`,A=o.gql`
|
|
17
|
-
fragment HoneySnapshotData on HoneySnapshot {
|
|
18
|
-
mintVolume
|
|
19
|
-
redeemVolume
|
|
20
|
-
timestamp
|
|
21
|
-
totalSupply
|
|
22
|
-
totalVolume
|
|
23
|
-
}
|
|
24
|
-
`,C=o.gql`
|
|
25
|
-
query GetHoneyTxn($page: Int!, $limit: Int!, $where: HoneyTxn_filter) {
|
|
26
|
-
honeyTxns(
|
|
27
|
-
skip: $page
|
|
28
|
-
first: $limit
|
|
29
|
-
orderBy: timestamp
|
|
30
|
-
orderDirection: desc
|
|
31
|
-
where: $where
|
|
32
|
-
) {
|
|
33
|
-
...HoneyTxnData
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
${B}`,w=o.gql`
|
|
37
|
-
query GetSnapshots($interval: Aggregation_interval!, $first: Int = 24) {
|
|
38
|
-
honeySnapshots(interval: $interval, first: $first) {
|
|
39
|
-
...HoneySnapshotData
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
${A}`,E={possibleTypes:{}},V=E;0&&(module.exports={Aggregation_Current,Aggregation_Interval,ChainTransaction_OrderBy,GetHoneyTxn,GetSnapshots,HoneyCollateral_OrderBy,HoneySnapshotData,HoneySnapshot_OrderBy,HoneySupplyDayData_OrderBy,HoneyTxnData,HoneyTxnTimeseries_OrderBy,HoneyTxn_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
|