@berachain/graphql 0.4.6-beta.4 → 0.4.7
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/pol/api.codegen.cjs +17 -37
- package/dist/pol/api.codegen.d.ts +1 -30
- package/dist/pol/api.codegen.mjs +2 -22
- package/dist/pol/subgraph.codegen.cjs +106 -9
- package/dist/pol/subgraph.codegen.d.ts +209 -40
- package/dist/pol/subgraph.codegen.mjs +106 -9
- package/package.json +1 -10
- package/dist/bend/whisk.codegen.d.cts +0 -3360
- package/dist/dex/api.codegen.d.cts +0 -3750
- package/dist/dex/subgraph.codegen.d.cts +0 -5362
- package/dist/governance/governance.codegen.d.cts +0 -1533
- package/dist/honey/honey.codegen.d.cts +0 -782
- package/dist/pol/api.codegen.d.cts +0 -3522
- package/dist/pol/fees.codegen.cjs +0 -9
- package/dist/pol/fees.codegen.d.cts +0 -481
- package/dist/pol/fees.codegen.d.ts +0 -481
- package/dist/pol/fees.codegen.mjs +0 -9
- package/dist/pol/subgraph.codegen.d.cts +0 -4117
|
@@ -1,481 +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 BlockChangedFilter = {
|
|
72
|
-
number_gte: Scalars['Int']['input'];
|
|
73
|
-
};
|
|
74
|
-
type Block_Height = {
|
|
75
|
-
hash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
76
|
-
number?: InputMaybe<Scalars['Int']['input']>;
|
|
77
|
-
number_gte?: InputMaybe<Scalars['Int']['input']>;
|
|
78
|
-
};
|
|
79
|
-
/** Immutable timeseries record of each incentive fee claim event */
|
|
80
|
-
type IncentiveFeeClaim = {
|
|
81
|
-
__typename?: 'IncentiveFeeClaim';
|
|
82
|
-
blockNumber: Scalars['BigInt']['output'];
|
|
83
|
-
caller: Scalars['Bytes']['output'];
|
|
84
|
-
id: Scalars['Int8']['output'];
|
|
85
|
-
payoutAmount: Scalars['BigDecimal']['output'];
|
|
86
|
-
recipient: Scalars['Bytes']['output'];
|
|
87
|
-
timestamp: Scalars['Timestamp']['output'];
|
|
88
|
-
txHash: Scalars['Bytes']['output'];
|
|
89
|
-
};
|
|
90
|
-
/** Hourly and daily aggregation of incentive fee claim payouts */
|
|
91
|
-
type IncentiveFeeClaimStats = {
|
|
92
|
-
__typename?: 'IncentiveFeeClaimStats';
|
|
93
|
-
allTimePayoutAmount: Scalars['BigDecimal']['output'];
|
|
94
|
-
id: Scalars['Int8']['output'];
|
|
95
|
-
timestamp: Scalars['Timestamp']['output'];
|
|
96
|
-
totalPayoutAmount: Scalars['BigDecimal']['output'];
|
|
97
|
-
};
|
|
98
|
-
type IncentiveFeeClaimStats_Filter = {
|
|
99
|
-
/** Filter for the block changed event. */
|
|
100
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
101
|
-
and?: InputMaybe<Array<InputMaybe<IncentiveFeeClaimStats_Filter>>>;
|
|
102
|
-
id?: InputMaybe<Scalars['Int8']['input']>;
|
|
103
|
-
id_gt?: InputMaybe<Scalars['Int8']['input']>;
|
|
104
|
-
id_gte?: InputMaybe<Scalars['Int8']['input']>;
|
|
105
|
-
id_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
|
|
106
|
-
id_lt?: InputMaybe<Scalars['Int8']['input']>;
|
|
107
|
-
id_lte?: InputMaybe<Scalars['Int8']['input']>;
|
|
108
|
-
or?: InputMaybe<Array<InputMaybe<IncentiveFeeClaimStats_Filter>>>;
|
|
109
|
-
timestamp?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
110
|
-
timestamp_gt?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
111
|
-
timestamp_gte?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
112
|
-
timestamp_in?: InputMaybe<Array<Scalars['Timestamp']['input']>>;
|
|
113
|
-
timestamp_lt?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
114
|
-
timestamp_lte?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
115
|
-
};
|
|
116
|
-
declare enum IncentiveFeeClaimStats_OrderBy {
|
|
117
|
-
AllTimePayoutAmount = "allTimePayoutAmount",
|
|
118
|
-
Id = "id",
|
|
119
|
-
Timestamp = "timestamp",
|
|
120
|
-
TotalPayoutAmount = "totalPayoutAmount"
|
|
121
|
-
}
|
|
122
|
-
type IncentiveFeeClaim_Filter = {
|
|
123
|
-
/** Filter for the block changed event. */
|
|
124
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
125
|
-
and?: InputMaybe<Array<InputMaybe<IncentiveFeeClaim_Filter>>>;
|
|
126
|
-
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
127
|
-
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
128
|
-
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
129
|
-
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
130
|
-
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
131
|
-
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
132
|
-
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
133
|
-
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
134
|
-
caller?: InputMaybe<Scalars['Bytes']['input']>;
|
|
135
|
-
caller_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
136
|
-
caller_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
137
|
-
caller_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
138
|
-
caller_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
139
|
-
caller_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
140
|
-
caller_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
141
|
-
caller_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
142
|
-
caller_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
143
|
-
caller_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
144
|
-
id?: InputMaybe<Scalars['Int8']['input']>;
|
|
145
|
-
id_gt?: InputMaybe<Scalars['Int8']['input']>;
|
|
146
|
-
id_gte?: InputMaybe<Scalars['Int8']['input']>;
|
|
147
|
-
id_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
|
|
148
|
-
id_lt?: InputMaybe<Scalars['Int8']['input']>;
|
|
149
|
-
id_lte?: InputMaybe<Scalars['Int8']['input']>;
|
|
150
|
-
id_not?: InputMaybe<Scalars['Int8']['input']>;
|
|
151
|
-
id_not_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
|
|
152
|
-
or?: InputMaybe<Array<InputMaybe<IncentiveFeeClaim_Filter>>>;
|
|
153
|
-
payoutAmount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
154
|
-
payoutAmount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
155
|
-
payoutAmount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
156
|
-
payoutAmount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
157
|
-
payoutAmount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
158
|
-
payoutAmount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
159
|
-
payoutAmount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
160
|
-
payoutAmount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
161
|
-
recipient?: InputMaybe<Scalars['Bytes']['input']>;
|
|
162
|
-
recipient_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
163
|
-
recipient_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
164
|
-
recipient_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
165
|
-
recipient_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
166
|
-
recipient_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
167
|
-
recipient_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
168
|
-
recipient_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
169
|
-
recipient_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
170
|
-
recipient_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
171
|
-
timestamp?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
172
|
-
timestamp_gt?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
173
|
-
timestamp_gte?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
174
|
-
timestamp_in?: InputMaybe<Array<Scalars['Timestamp']['input']>>;
|
|
175
|
-
timestamp_lt?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
176
|
-
timestamp_lte?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
177
|
-
timestamp_not?: InputMaybe<Scalars['Timestamp']['input']>;
|
|
178
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['Timestamp']['input']>>;
|
|
179
|
-
txHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
180
|
-
txHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
181
|
-
txHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
182
|
-
txHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
183
|
-
txHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
184
|
-
txHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
185
|
-
txHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
186
|
-
txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
187
|
-
txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
188
|
-
txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
189
|
-
};
|
|
190
|
-
declare enum IncentiveFeeClaim_OrderBy {
|
|
191
|
-
BlockNumber = "blockNumber",
|
|
192
|
-
Caller = "caller",
|
|
193
|
-
Id = "id",
|
|
194
|
-
PayoutAmount = "payoutAmount",
|
|
195
|
-
Recipient = "recipient",
|
|
196
|
-
Timestamp = "timestamp",
|
|
197
|
-
TxHash = "txHash"
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Historical payout amount changes for incentive fee claims
|
|
201
|
-
* Tracks both the latest value (singleton at LATEST_INCENTIVE_FEE_PAYOUT_AMOUNT_ID) and a per-event history
|
|
202
|
-
*/
|
|
203
|
-
type IncentiveFeePayoutAmountHistory = {
|
|
204
|
-
__typename?: 'IncentiveFeePayoutAmountHistory';
|
|
205
|
-
blockNumber: Scalars['BigInt']['output'];
|
|
206
|
-
id: Scalars['Bytes']['output'];
|
|
207
|
-
newPayoutAmount: Scalars['BigDecimal']['output'];
|
|
208
|
-
oldPayoutAmount: Scalars['BigDecimal']['output'];
|
|
209
|
-
timestamp: Scalars['BigInt']['output'];
|
|
210
|
-
txHash: Scalars['Bytes']['output'];
|
|
211
|
-
};
|
|
212
|
-
type IncentiveFeePayoutAmountHistory_Filter = {
|
|
213
|
-
/** Filter for the block changed event. */
|
|
214
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
215
|
-
and?: InputMaybe<Array<InputMaybe<IncentiveFeePayoutAmountHistory_Filter>>>;
|
|
216
|
-
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
217
|
-
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
218
|
-
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
219
|
-
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
220
|
-
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
221
|
-
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
222
|
-
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
223
|
-
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
224
|
-
id?: InputMaybe<Scalars['Bytes']['input']>;
|
|
225
|
-
id_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
226
|
-
id_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
227
|
-
id_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
228
|
-
id_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
229
|
-
id_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
230
|
-
id_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
231
|
-
id_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
232
|
-
id_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
233
|
-
id_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
234
|
-
newPayoutAmount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
235
|
-
newPayoutAmount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
236
|
-
newPayoutAmount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
237
|
-
newPayoutAmount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
238
|
-
newPayoutAmount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
239
|
-
newPayoutAmount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
240
|
-
newPayoutAmount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
241
|
-
newPayoutAmount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
242
|
-
oldPayoutAmount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
243
|
-
oldPayoutAmount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
244
|
-
oldPayoutAmount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
245
|
-
oldPayoutAmount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
246
|
-
oldPayoutAmount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
247
|
-
oldPayoutAmount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
248
|
-
oldPayoutAmount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
249
|
-
oldPayoutAmount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
250
|
-
or?: InputMaybe<Array<InputMaybe<IncentiveFeePayoutAmountHistory_Filter>>>;
|
|
251
|
-
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
252
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
253
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
254
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
255
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
256
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
257
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
258
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
259
|
-
txHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
260
|
-
txHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
261
|
-
txHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
262
|
-
txHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
263
|
-
txHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
264
|
-
txHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
265
|
-
txHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
266
|
-
txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
267
|
-
txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
268
|
-
txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
269
|
-
};
|
|
270
|
-
declare enum IncentiveFeePayoutAmountHistory_OrderBy {
|
|
271
|
-
BlockNumber = "blockNumber",
|
|
272
|
-
Id = "id",
|
|
273
|
-
NewPayoutAmount = "newPayoutAmount",
|
|
274
|
-
OldPayoutAmount = "oldPayoutAmount",
|
|
275
|
-
Timestamp = "timestamp",
|
|
276
|
-
TxHash = "txHash"
|
|
277
|
-
}
|
|
278
|
-
/** Defines the order direction, either ascending or descending */
|
|
279
|
-
declare enum OrderDirection {
|
|
280
|
-
Asc = "asc",
|
|
281
|
-
Desc = "desc"
|
|
282
|
-
}
|
|
283
|
-
type Query = {
|
|
284
|
-
__typename?: 'Query';
|
|
285
|
-
/** Access to subgraph metadata */
|
|
286
|
-
_meta?: Maybe<_Meta_>;
|
|
287
|
-
incentiveFeeClaim?: Maybe<IncentiveFeeClaim>;
|
|
288
|
-
/** Collection of aggregated `IncentiveFeeClaimStats` values */
|
|
289
|
-
incentiveFeeClaimStats_collection: Array<IncentiveFeeClaimStats>;
|
|
290
|
-
incentiveFeeClaims: Array<IncentiveFeeClaim>;
|
|
291
|
-
incentiveFeePayoutAmountHistories: Array<IncentiveFeePayoutAmountHistory>;
|
|
292
|
-
incentiveFeePayoutAmountHistory?: Maybe<IncentiveFeePayoutAmountHistory>;
|
|
293
|
-
userFeeHistories: Array<UserFeeHistory>;
|
|
294
|
-
userFeeHistory?: Maybe<UserFeeHistory>;
|
|
295
|
-
};
|
|
296
|
-
type Query_MetaArgs = {
|
|
297
|
-
block?: InputMaybe<Block_Height>;
|
|
298
|
-
};
|
|
299
|
-
type QueryIncentiveFeeClaimArgs = {
|
|
300
|
-
block?: InputMaybe<Block_Height>;
|
|
301
|
-
id: Scalars['ID']['input'];
|
|
302
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
303
|
-
};
|
|
304
|
-
type QueryIncentiveFeeClaimStats_CollectionArgs = {
|
|
305
|
-
block?: InputMaybe<Block_Height>;
|
|
306
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
307
|
-
interval: Aggregation_Interval;
|
|
308
|
-
orderBy?: InputMaybe<IncentiveFeeClaimStats_OrderBy>;
|
|
309
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
310
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
311
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
312
|
-
where?: InputMaybe<IncentiveFeeClaimStats_Filter>;
|
|
313
|
-
};
|
|
314
|
-
type QueryIncentiveFeeClaimsArgs = {
|
|
315
|
-
block?: InputMaybe<Block_Height>;
|
|
316
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
317
|
-
orderBy?: InputMaybe<IncentiveFeeClaim_OrderBy>;
|
|
318
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
319
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
320
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
321
|
-
where?: InputMaybe<IncentiveFeeClaim_Filter>;
|
|
322
|
-
};
|
|
323
|
-
type QueryIncentiveFeePayoutAmountHistoriesArgs = {
|
|
324
|
-
block?: InputMaybe<Block_Height>;
|
|
325
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
326
|
-
orderBy?: InputMaybe<IncentiveFeePayoutAmountHistory_OrderBy>;
|
|
327
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
328
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
329
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
330
|
-
where?: InputMaybe<IncentiveFeePayoutAmountHistory_Filter>;
|
|
331
|
-
};
|
|
332
|
-
type QueryIncentiveFeePayoutAmountHistoryArgs = {
|
|
333
|
-
block?: InputMaybe<Block_Height>;
|
|
334
|
-
id: Scalars['ID']['input'];
|
|
335
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
336
|
-
};
|
|
337
|
-
type QueryUserFeeHistoriesArgs = {
|
|
338
|
-
block?: InputMaybe<Block_Height>;
|
|
339
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
340
|
-
orderBy?: InputMaybe<UserFeeHistory_OrderBy>;
|
|
341
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
342
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
343
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
344
|
-
where?: InputMaybe<UserFeeHistory_Filter>;
|
|
345
|
-
};
|
|
346
|
-
type QueryUserFeeHistoryArgs = {
|
|
347
|
-
block?: InputMaybe<Block_Height>;
|
|
348
|
-
id: Scalars['ID']['input'];
|
|
349
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
350
|
-
};
|
|
351
|
-
/** Fees collected by the User via the BGTStaker contract */
|
|
352
|
-
type UserFeeHistory = {
|
|
353
|
-
__typename?: 'UserFeeHistory';
|
|
354
|
-
blockNumber: Scalars['BigInt']['output'];
|
|
355
|
-
collectedBGTAmount: Scalars['BigDecimal']['output'];
|
|
356
|
-
id: Scalars['Bytes']['output'];
|
|
357
|
-
timestamp: Scalars['BigInt']['output'];
|
|
358
|
-
txHash: Scalars['Bytes']['output'];
|
|
359
|
-
user: Scalars['Bytes']['output'];
|
|
360
|
-
};
|
|
361
|
-
type UserFeeHistory_Filter = {
|
|
362
|
-
/** Filter for the block changed event. */
|
|
363
|
-
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
364
|
-
and?: InputMaybe<Array<InputMaybe<UserFeeHistory_Filter>>>;
|
|
365
|
-
blockNumber?: InputMaybe<Scalars['BigInt']['input']>;
|
|
366
|
-
blockNumber_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
367
|
-
blockNumber_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
368
|
-
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
369
|
-
blockNumber_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
370
|
-
blockNumber_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
371
|
-
blockNumber_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
372
|
-
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
373
|
-
collectedBGTAmount?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
374
|
-
collectedBGTAmount_gt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
375
|
-
collectedBGTAmount_gte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
376
|
-
collectedBGTAmount_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
377
|
-
collectedBGTAmount_lt?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
378
|
-
collectedBGTAmount_lte?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
379
|
-
collectedBGTAmount_not?: InputMaybe<Scalars['BigDecimal']['input']>;
|
|
380
|
-
collectedBGTAmount_not_in?: InputMaybe<Array<Scalars['BigDecimal']['input']>>;
|
|
381
|
-
id?: InputMaybe<Scalars['Bytes']['input']>;
|
|
382
|
-
id_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
383
|
-
id_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
384
|
-
id_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
385
|
-
id_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
386
|
-
id_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
387
|
-
id_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
388
|
-
id_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
389
|
-
id_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
390
|
-
id_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
391
|
-
or?: InputMaybe<Array<InputMaybe<UserFeeHistory_Filter>>>;
|
|
392
|
-
timestamp?: InputMaybe<Scalars['BigInt']['input']>;
|
|
393
|
-
timestamp_gt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
394
|
-
timestamp_gte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
395
|
-
timestamp_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
396
|
-
timestamp_lt?: InputMaybe<Scalars['BigInt']['input']>;
|
|
397
|
-
timestamp_lte?: InputMaybe<Scalars['BigInt']['input']>;
|
|
398
|
-
timestamp_not?: InputMaybe<Scalars['BigInt']['input']>;
|
|
399
|
-
timestamp_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
|
|
400
|
-
txHash?: InputMaybe<Scalars['Bytes']['input']>;
|
|
401
|
-
txHash_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
402
|
-
txHash_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
403
|
-
txHash_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
404
|
-
txHash_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
405
|
-
txHash_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
406
|
-
txHash_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
407
|
-
txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
408
|
-
txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
409
|
-
txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
410
|
-
user?: InputMaybe<Scalars['Bytes']['input']>;
|
|
411
|
-
user_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
412
|
-
user_gt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
413
|
-
user_gte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
414
|
-
user_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
415
|
-
user_lt?: InputMaybe<Scalars['Bytes']['input']>;
|
|
416
|
-
user_lte?: InputMaybe<Scalars['Bytes']['input']>;
|
|
417
|
-
user_not?: InputMaybe<Scalars['Bytes']['input']>;
|
|
418
|
-
user_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
|
|
419
|
-
user_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
|
|
420
|
-
};
|
|
421
|
-
declare enum UserFeeHistory_OrderBy {
|
|
422
|
-
BlockNumber = "blockNumber",
|
|
423
|
-
CollectedBgtAmount = "collectedBGTAmount",
|
|
424
|
-
Id = "id",
|
|
425
|
-
Timestamp = "timestamp",
|
|
426
|
-
TxHash = "txHash",
|
|
427
|
-
User = "user"
|
|
428
|
-
}
|
|
429
|
-
type _Block_ = {
|
|
430
|
-
__typename?: '_Block_';
|
|
431
|
-
/** The hash of the block */
|
|
432
|
-
hash?: Maybe<Scalars['Bytes']['output']>;
|
|
433
|
-
/** The block number */
|
|
434
|
-
number: Scalars['Int']['output'];
|
|
435
|
-
/** The hash of the parent block */
|
|
436
|
-
parentHash?: Maybe<Scalars['Bytes']['output']>;
|
|
437
|
-
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
438
|
-
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
439
|
-
};
|
|
440
|
-
/** The type for the top-level _meta field */
|
|
441
|
-
type _Meta_ = {
|
|
442
|
-
__typename?: '_Meta_';
|
|
443
|
-
/**
|
|
444
|
-
* Information about a specific subgraph block. The hash of the block
|
|
445
|
-
* will be null if the _meta field has a block constraint that asks for
|
|
446
|
-
* a block number. It will be filled if the _meta field has no block constraint
|
|
447
|
-
* and therefore asks for the latest block
|
|
448
|
-
*/
|
|
449
|
-
block: _Block_;
|
|
450
|
-
/** The deployment ID */
|
|
451
|
-
deployment: Scalars['String']['output'];
|
|
452
|
-
/** If `true`, the subgraph encountered indexing errors at some past block */
|
|
453
|
-
hasIndexingErrors: Scalars['Boolean']['output'];
|
|
454
|
-
};
|
|
455
|
-
declare enum _SubgraphErrorPolicy_ {
|
|
456
|
-
/** Data will be returned even if the subgraph has indexing errors */
|
|
457
|
-
Allow = "allow",
|
|
458
|
-
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
459
|
-
Deny = "deny"
|
|
460
|
-
}
|
|
461
|
-
type GetIncentiveFeeClaimStatsQueryVariables = Exact<{
|
|
462
|
-
[key: string]: never;
|
|
463
|
-
}>;
|
|
464
|
-
type GetIncentiveFeeClaimStatsQuery = {
|
|
465
|
-
__typename?: 'Query';
|
|
466
|
-
incentiveFeeClaims: Array<{
|
|
467
|
-
__typename?: 'IncentiveFeeClaim';
|
|
468
|
-
recipient: `0x${string}`;
|
|
469
|
-
payoutAmount: string;
|
|
470
|
-
timestamp: string;
|
|
471
|
-
}>;
|
|
472
|
-
};
|
|
473
|
-
declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
|
|
474
|
-
interface PossibleTypesResultData {
|
|
475
|
-
possibleTypes: {
|
|
476
|
-
[key: string]: string[];
|
|
477
|
-
};
|
|
478
|
-
}
|
|
479
|
-
declare const result: PossibleTypesResultData;
|
|
480
|
-
|
|
481
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{gql as u}from"@apollo/client";var i=(a=>(a.Day="day",a.Hour="hour",a))(i||{}),p=(n=>(n.AllTimePayoutAmount="allTimePayoutAmount",n.Id="id",n.Timestamp="timestamp",n.TotalPayoutAmount="totalPayoutAmount",n))(p||{}),r=(e=>(e.BlockNumber="blockNumber",e.Caller="caller",e.Id="id",e.PayoutAmount="payoutAmount",e.Recipient="recipient",e.Timestamp="timestamp",e.TxHash="txHash",e))(r||{}),s=(t=>(t.BlockNumber="blockNumber",t.Id="id",t.NewPayoutAmount="newPayoutAmount",t.OldPayoutAmount="oldPayoutAmount",t.Timestamp="timestamp",t.TxHash="txHash",t))(s||{}),y=(a=>(a.Asc="asc",a.Desc="desc",a))(y||{}),l=(t=>(t.BlockNumber="blockNumber",t.CollectedBgtAmount="collectedBGTAmount",t.Id="id",t.Timestamp="timestamp",t.TxHash="txHash",t.User="user",t))(l||{}),c=(a=>(a.Allow="allow",a.Deny="deny",a))(c||{}),I=u`
|
|
2
|
-
query GetIncentiveFeeClaimStats {
|
|
3
|
-
incentiveFeeClaims {
|
|
4
|
-
recipient
|
|
5
|
-
payoutAmount
|
|
6
|
-
timestamp
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
`,o={possibleTypes:{}},m=o;export{i as Aggregation_Interval,I as GetIncentiveFeeClaimStats,p as IncentiveFeeClaimStats_OrderBy,r as IncentiveFeeClaim_OrderBy,s as IncentiveFeePayoutAmountHistory_OrderBy,y as OrderDirection,l as UserFeeHistory_OrderBy,c as _SubgraphErrorPolicy_,m as default};
|