@uniswap/client-data-api 0.0.17 → 0.0.19

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.
@@ -0,0 +1,1371 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
+ // @generated from file data/v1/substreamEvents.proto (package sink.bigquery.storage.write.api, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
+ /**
7
+ * @generated from enum sink.bigquery.storage.write.api.Operation
8
+ */
9
+ export var Operation;
10
+ (function (Operation) {
11
+ /**
12
+ * @generated from enum value: OPERATION_UNKNOWN = 0;
13
+ */
14
+ Operation[Operation["UNKNOWN"] = 0] = "UNKNOWN";
15
+ /**
16
+ * @generated from enum value: OPERATION_APPLY = 1;
17
+ */
18
+ Operation[Operation["APPLY"] = 1] = "APPLY";
19
+ /**
20
+ * @generated from enum value: OPERATION_REPLAY = 2;
21
+ */
22
+ Operation[Operation["REPLAY"] = 2] = "REPLAY";
23
+ /**
24
+ * @generated from enum value: OPERATION_UNDO = 3;
25
+ */
26
+ Operation[Operation["UNDO"] = 3] = "UNDO";
27
+ })(Operation || (Operation = {}));
28
+ // Retrieve enum metadata with: proto3.getEnumType(Operation)
29
+ proto3.util.setEnumType(Operation, "sink.bigquery.storage.write.api.Operation", [
30
+ { no: 0, name: "OPERATION_UNKNOWN" },
31
+ { no: 1, name: "OPERATION_APPLY" },
32
+ { no: 2, name: "OPERATION_REPLAY" },
33
+ { no: 3, name: "OPERATION_UNDO" },
34
+ ]);
35
+ /**
36
+ * @generated from message sink.bigquery.storage.write.api.ReorgContext
37
+ */
38
+ export class ReorgContext extends Message {
39
+ constructor(data) {
40
+ super();
41
+ /**
42
+ * @generated from field: int64 last_valid_block = 1;
43
+ */
44
+ this.lastValidBlock = protoInt64.zero;
45
+ proto3.util.initPartial(data, this);
46
+ }
47
+ static fromBinary(bytes, options) {
48
+ return new ReorgContext().fromBinary(bytes, options);
49
+ }
50
+ static fromJson(jsonValue, options) {
51
+ return new ReorgContext().fromJson(jsonValue, options);
52
+ }
53
+ static fromJsonString(jsonString, options) {
54
+ return new ReorgContext().fromJsonString(jsonString, options);
55
+ }
56
+ static equals(a, b) {
57
+ return proto3.util.equals(ReorgContext, a, b);
58
+ }
59
+ }
60
+ ReorgContext.runtime = proto3;
61
+ ReorgContext.typeName = "sink.bigquery.storage.write.api.ReorgContext";
62
+ ReorgContext.fields = proto3.util.newFieldList(() => [
63
+ { no: 1, name: "last_valid_block", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
64
+ ]);
65
+ /**
66
+ * @generated from message sink.bigquery.storage.write.api.UniswapV2PairCreated
67
+ */
68
+ export class UniswapV2PairCreated extends Message {
69
+ constructor(data) {
70
+ super();
71
+ proto3.util.initPartial(data, this);
72
+ }
73
+ static fromBinary(bytes, options) {
74
+ return new UniswapV2PairCreated().fromBinary(bytes, options);
75
+ }
76
+ static fromJson(jsonValue, options) {
77
+ return new UniswapV2PairCreated().fromJson(jsonValue, options);
78
+ }
79
+ static fromJsonString(jsonString, options) {
80
+ return new UniswapV2PairCreated().fromJsonString(jsonString, options);
81
+ }
82
+ static equals(a, b) {
83
+ return proto3.util.equals(UniswapV2PairCreated, a, b);
84
+ }
85
+ }
86
+ UniswapV2PairCreated.runtime = proto3;
87
+ UniswapV2PairCreated.typeName = "sink.bigquery.storage.write.api.UniswapV2PairCreated";
88
+ UniswapV2PairCreated.fields = proto3.util.newFieldList(() => [
89
+ { no: 1, name: "pair_factory_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
90
+ { no: 2, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
91
+ { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
92
+ { no: 4, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
93
+ { no: 5, name: "all_pairs_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
94
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
95
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
96
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
97
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
98
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
99
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
100
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
101
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
102
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
103
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
104
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
105
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
106
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
107
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
108
+ ]);
109
+ /**
110
+ * @generated from message sink.bigquery.storage.write.api.UniswapV2Sync
111
+ */
112
+ export class UniswapV2Sync extends Message {
113
+ constructor(data) {
114
+ super();
115
+ proto3.util.initPartial(data, this);
116
+ }
117
+ static fromBinary(bytes, options) {
118
+ return new UniswapV2Sync().fromBinary(bytes, options);
119
+ }
120
+ static fromJson(jsonValue, options) {
121
+ return new UniswapV2Sync().fromJson(jsonValue, options);
122
+ }
123
+ static fromJsonString(jsonString, options) {
124
+ return new UniswapV2Sync().fromJsonString(jsonString, options);
125
+ }
126
+ static equals(a, b) {
127
+ return proto3.util.equals(UniswapV2Sync, a, b);
128
+ }
129
+ }
130
+ UniswapV2Sync.runtime = proto3;
131
+ UniswapV2Sync.typeName = "sink.bigquery.storage.write.api.UniswapV2Sync";
132
+ UniswapV2Sync.fields = proto3.util.newFieldList(() => [
133
+ { no: 1, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
134
+ { no: 2, name: "reserve0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
135
+ { no: 3, name: "reserve1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
136
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
137
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
138
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
139
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
140
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
141
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
142
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
143
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
144
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
145
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
146
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
147
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
148
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
149
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
150
+ ]);
151
+ /**
152
+ * @generated from message sink.bigquery.storage.write.api.UniswapV2Swap
153
+ */
154
+ export class UniswapV2Swap extends Message {
155
+ constructor(data) {
156
+ super();
157
+ proto3.util.initPartial(data, this);
158
+ }
159
+ static fromBinary(bytes, options) {
160
+ return new UniswapV2Swap().fromBinary(bytes, options);
161
+ }
162
+ static fromJson(jsonValue, options) {
163
+ return new UniswapV2Swap().fromJson(jsonValue, options);
164
+ }
165
+ static fromJsonString(jsonString, options) {
166
+ return new UniswapV2Swap().fromJsonString(jsonString, options);
167
+ }
168
+ static equals(a, b) {
169
+ return proto3.util.equals(UniswapV2Swap, a, b);
170
+ }
171
+ }
172
+ UniswapV2Swap.runtime = proto3;
173
+ UniswapV2Swap.typeName = "sink.bigquery.storage.write.api.UniswapV2Swap";
174
+ UniswapV2Swap.fields = proto3.util.newFieldList(() => [
175
+ { no: 1, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
176
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
177
+ { no: 3, name: "amount0_in", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
178
+ { no: 4, name: "amount0_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
179
+ { no: 5, name: "amount1_in", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
180
+ { no: 6, name: "amount1_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
181
+ { no: 7, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
182
+ { no: 8, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
183
+ { no: 9, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
184
+ { no: 10, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
185
+ { no: 11, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
186
+ { no: 12, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
187
+ { no: 13, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
188
+ { no: 14, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
189
+ { no: 15, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
190
+ { no: 16, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
191
+ { no: 17, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
192
+ { no: 18, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
193
+ { no: 19, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
194
+ { no: 20, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
195
+ { no: 21, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
196
+ ]);
197
+ /**
198
+ * @generated from message sink.bigquery.storage.write.api.UniswapV2Mint
199
+ */
200
+ export class UniswapV2Mint extends Message {
201
+ constructor(data) {
202
+ super();
203
+ proto3.util.initPartial(data, this);
204
+ }
205
+ static fromBinary(bytes, options) {
206
+ return new UniswapV2Mint().fromBinary(bytes, options);
207
+ }
208
+ static fromJson(jsonValue, options) {
209
+ return new UniswapV2Mint().fromJson(jsonValue, options);
210
+ }
211
+ static fromJsonString(jsonString, options) {
212
+ return new UniswapV2Mint().fromJsonString(jsonString, options);
213
+ }
214
+ static equals(a, b) {
215
+ return proto3.util.equals(UniswapV2Mint, a, b);
216
+ }
217
+ }
218
+ UniswapV2Mint.runtime = proto3;
219
+ UniswapV2Mint.typeName = "sink.bigquery.storage.write.api.UniswapV2Mint";
220
+ UniswapV2Mint.fields = proto3.util.newFieldList(() => [
221
+ { no: 1, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
222
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
223
+ { no: 3, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
224
+ { no: 4, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
225
+ { no: 5, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
226
+ { no: 6, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
227
+ { no: 7, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
228
+ { no: 8, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
229
+ { no: 9, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
230
+ { no: 10, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
231
+ { no: 11, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
232
+ { no: 12, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
233
+ { no: 13, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
234
+ { no: 14, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
235
+ { no: 15, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
236
+ { no: 16, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
237
+ { no: 17, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
238
+ { no: 18, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
239
+ ]);
240
+ /**
241
+ * @generated from message sink.bigquery.storage.write.api.UniswapV2Burn
242
+ */
243
+ export class UniswapV2Burn extends Message {
244
+ constructor(data) {
245
+ super();
246
+ proto3.util.initPartial(data, this);
247
+ }
248
+ static fromBinary(bytes, options) {
249
+ return new UniswapV2Burn().fromBinary(bytes, options);
250
+ }
251
+ static fromJson(jsonValue, options) {
252
+ return new UniswapV2Burn().fromJson(jsonValue, options);
253
+ }
254
+ static fromJsonString(jsonString, options) {
255
+ return new UniswapV2Burn().fromJsonString(jsonString, options);
256
+ }
257
+ static equals(a, b) {
258
+ return proto3.util.equals(UniswapV2Burn, a, b);
259
+ }
260
+ }
261
+ UniswapV2Burn.runtime = proto3;
262
+ UniswapV2Burn.typeName = "sink.bigquery.storage.write.api.UniswapV2Burn";
263
+ UniswapV2Burn.fields = proto3.util.newFieldList(() => [
264
+ { no: 1, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
265
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
266
+ { no: 3, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
267
+ { no: 4, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
268
+ { no: 5, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
269
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
270
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
271
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
272
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
273
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
274
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
275
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
276
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
277
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
278
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
279
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
280
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
281
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
282
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
283
+ ]);
284
+ /**
285
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3PoolCreated
286
+ */
287
+ export class UniswapV3PoolCreated extends Message {
288
+ constructor(data) {
289
+ super();
290
+ proto3.util.initPartial(data, this);
291
+ }
292
+ static fromBinary(bytes, options) {
293
+ return new UniswapV3PoolCreated().fromBinary(bytes, options);
294
+ }
295
+ static fromJson(jsonValue, options) {
296
+ return new UniswapV3PoolCreated().fromJson(jsonValue, options);
297
+ }
298
+ static fromJsonString(jsonString, options) {
299
+ return new UniswapV3PoolCreated().fromJsonString(jsonString, options);
300
+ }
301
+ static equals(a, b) {
302
+ return proto3.util.equals(UniswapV3PoolCreated, a, b);
303
+ }
304
+ }
305
+ UniswapV3PoolCreated.runtime = proto3;
306
+ UniswapV3PoolCreated.typeName = "sink.bigquery.storage.write.api.UniswapV3PoolCreated";
307
+ UniswapV3PoolCreated.fields = proto3.util.newFieldList(() => [
308
+ { no: 1, name: "pool_factory_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
309
+ { no: 2, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
310
+ { no: 3, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
311
+ { no: 4, name: "fee", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
312
+ { no: 5, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
313
+ { no: 6, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
314
+ { no: 7, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
315
+ { no: 8, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
316
+ { no: 9, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
317
+ { no: 10, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
318
+ { no: 11, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
319
+ { no: 12, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
320
+ { no: 13, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
321
+ { no: 14, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
322
+ { no: 15, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
323
+ { no: 16, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
324
+ { no: 17, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
325
+ { no: 18, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
326
+ { no: 19, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
327
+ { no: 20, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
328
+ ]);
329
+ /**
330
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Initialize
331
+ */
332
+ export class UniswapV3Initialize extends Message {
333
+ constructor(data) {
334
+ super();
335
+ proto3.util.initPartial(data, this);
336
+ }
337
+ static fromBinary(bytes, options) {
338
+ return new UniswapV3Initialize().fromBinary(bytes, options);
339
+ }
340
+ static fromJson(jsonValue, options) {
341
+ return new UniswapV3Initialize().fromJson(jsonValue, options);
342
+ }
343
+ static fromJsonString(jsonString, options) {
344
+ return new UniswapV3Initialize().fromJsonString(jsonString, options);
345
+ }
346
+ static equals(a, b) {
347
+ return proto3.util.equals(UniswapV3Initialize, a, b);
348
+ }
349
+ }
350
+ UniswapV3Initialize.runtime = proto3;
351
+ UniswapV3Initialize.typeName = "sink.bigquery.storage.write.api.UniswapV3Initialize";
352
+ UniswapV3Initialize.fields = proto3.util.newFieldList(() => [
353
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
354
+ { no: 2, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
355
+ { no: 3, name: "tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
356
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
357
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
358
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
359
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
360
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
361
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
362
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
363
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
364
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
365
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
366
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
367
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
368
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
369
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
370
+ ]);
371
+ /**
372
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Swap
373
+ */
374
+ export class UniswapV3Swap extends Message {
375
+ constructor(data) {
376
+ super();
377
+ proto3.util.initPartial(data, this);
378
+ }
379
+ static fromBinary(bytes, options) {
380
+ return new UniswapV3Swap().fromBinary(bytes, options);
381
+ }
382
+ static fromJson(jsonValue, options) {
383
+ return new UniswapV3Swap().fromJson(jsonValue, options);
384
+ }
385
+ static fromJsonString(jsonString, options) {
386
+ return new UniswapV3Swap().fromJsonString(jsonString, options);
387
+ }
388
+ static equals(a, b) {
389
+ return proto3.util.equals(UniswapV3Swap, a, b);
390
+ }
391
+ }
392
+ UniswapV3Swap.runtime = proto3;
393
+ UniswapV3Swap.typeName = "sink.bigquery.storage.write.api.UniswapV3Swap";
394
+ UniswapV3Swap.fields = proto3.util.newFieldList(() => [
395
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
396
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
397
+ { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
398
+ { no: 4, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
399
+ { no: 5, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
400
+ { no: 6, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
401
+ { no: 7, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
402
+ { no: 8, name: "tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
403
+ { no: 9, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
404
+ { no: 10, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
405
+ { no: 11, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
406
+ { no: 12, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
407
+ { no: 13, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
408
+ { no: 14, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
409
+ { no: 15, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
410
+ { no: 16, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
411
+ { no: 17, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
412
+ { no: 18, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
413
+ { no: 19, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
414
+ { no: 20, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
415
+ { no: 21, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
416
+ { no: 22, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
417
+ ]);
418
+ /**
419
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3OwnerChanged
420
+ */
421
+ export class UniswapV3OwnerChanged extends Message {
422
+ constructor(data) {
423
+ super();
424
+ proto3.util.initPartial(data, this);
425
+ }
426
+ static fromBinary(bytes, options) {
427
+ return new UniswapV3OwnerChanged().fromBinary(bytes, options);
428
+ }
429
+ static fromJson(jsonValue, options) {
430
+ return new UniswapV3OwnerChanged().fromJson(jsonValue, options);
431
+ }
432
+ static fromJsonString(jsonString, options) {
433
+ return new UniswapV3OwnerChanged().fromJsonString(jsonString, options);
434
+ }
435
+ static equals(a, b) {
436
+ return proto3.util.equals(UniswapV3OwnerChanged, a, b);
437
+ }
438
+ }
439
+ UniswapV3OwnerChanged.runtime = proto3;
440
+ UniswapV3OwnerChanged.typeName = "sink.bigquery.storage.write.api.UniswapV3OwnerChanged";
441
+ UniswapV3OwnerChanged.fields = proto3.util.newFieldList(() => [
442
+ { no: 1, name: "pool_factory_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
443
+ { no: 2, name: "old_owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
444
+ { no: 3, name: "new_owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
445
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
446
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
447
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
448
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
449
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
450
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
451
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
452
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
453
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
454
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
455
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
456
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
457
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
458
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
459
+ ]);
460
+ /**
461
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3FeeAmountEnabled
462
+ */
463
+ export class UniswapV3FeeAmountEnabled extends Message {
464
+ constructor(data) {
465
+ super();
466
+ proto3.util.initPartial(data, this);
467
+ }
468
+ static fromBinary(bytes, options) {
469
+ return new UniswapV3FeeAmountEnabled().fromBinary(bytes, options);
470
+ }
471
+ static fromJson(jsonValue, options) {
472
+ return new UniswapV3FeeAmountEnabled().fromJson(jsonValue, options);
473
+ }
474
+ static fromJsonString(jsonString, options) {
475
+ return new UniswapV3FeeAmountEnabled().fromJsonString(jsonString, options);
476
+ }
477
+ static equals(a, b) {
478
+ return proto3.util.equals(UniswapV3FeeAmountEnabled, a, b);
479
+ }
480
+ }
481
+ UniswapV3FeeAmountEnabled.runtime = proto3;
482
+ UniswapV3FeeAmountEnabled.typeName = "sink.bigquery.storage.write.api.UniswapV3FeeAmountEnabled";
483
+ UniswapV3FeeAmountEnabled.fields = proto3.util.newFieldList(() => [
484
+ { no: 1, name: "pool_factory_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
485
+ { no: 2, name: "fee", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
486
+ { no: 3, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
487
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
488
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
489
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
490
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
491
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
492
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
493
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
494
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
495
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
496
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
497
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
498
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
499
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
500
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
501
+ ]);
502
+ /**
503
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Mint
504
+ */
505
+ export class UniswapV3Mint extends Message {
506
+ constructor(data) {
507
+ super();
508
+ proto3.util.initPartial(data, this);
509
+ }
510
+ static fromBinary(bytes, options) {
511
+ return new UniswapV3Mint().fromBinary(bytes, options);
512
+ }
513
+ static fromJson(jsonValue, options) {
514
+ return new UniswapV3Mint().fromJson(jsonValue, options);
515
+ }
516
+ static fromJsonString(jsonString, options) {
517
+ return new UniswapV3Mint().fromJsonString(jsonString, options);
518
+ }
519
+ static equals(a, b) {
520
+ return proto3.util.equals(UniswapV3Mint, a, b);
521
+ }
522
+ }
523
+ UniswapV3Mint.runtime = proto3;
524
+ UniswapV3Mint.typeName = "sink.bigquery.storage.write.api.UniswapV3Mint";
525
+ UniswapV3Mint.fields = proto3.util.newFieldList(() => [
526
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
527
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
528
+ { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
529
+ { no: 4, name: "tick_lower", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
530
+ { no: 5, name: "tick_upper", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
531
+ { no: 6, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
532
+ { no: 7, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
533
+ { no: 8, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
534
+ { no: 9, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
535
+ { no: 10, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
536
+ { no: 11, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
537
+ { no: 12, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
538
+ { no: 13, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
539
+ { no: 14, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
540
+ { no: 15, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
541
+ { no: 16, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
542
+ { no: 17, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
543
+ { no: 18, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
544
+ { no: 19, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
545
+ { no: 20, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
546
+ { no: 21, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
547
+ { no: 22, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
548
+ ]);
549
+ /**
550
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Collect
551
+ */
552
+ export class UniswapV3Collect extends Message {
553
+ constructor(data) {
554
+ super();
555
+ proto3.util.initPartial(data, this);
556
+ }
557
+ static fromBinary(bytes, options) {
558
+ return new UniswapV3Collect().fromBinary(bytes, options);
559
+ }
560
+ static fromJson(jsonValue, options) {
561
+ return new UniswapV3Collect().fromJson(jsonValue, options);
562
+ }
563
+ static fromJsonString(jsonString, options) {
564
+ return new UniswapV3Collect().fromJsonString(jsonString, options);
565
+ }
566
+ static equals(a, b) {
567
+ return proto3.util.equals(UniswapV3Collect, a, b);
568
+ }
569
+ }
570
+ UniswapV3Collect.runtime = proto3;
571
+ UniswapV3Collect.typeName = "sink.bigquery.storage.write.api.UniswapV3Collect";
572
+ UniswapV3Collect.fields = proto3.util.newFieldList(() => [
573
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
574
+ { no: 2, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
575
+ { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
576
+ { no: 4, name: "tick_lower", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
577
+ { no: 5, name: "tick_upper", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
578
+ { no: 6, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
579
+ { no: 7, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
580
+ { no: 8, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
581
+ { no: 9, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
582
+ { no: 10, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
583
+ { no: 11, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
584
+ { no: 12, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
585
+ { no: 13, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
586
+ { no: 14, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
587
+ { no: 15, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
588
+ { no: 16, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
589
+ { no: 17, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
590
+ { no: 18, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
591
+ { no: 19, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
592
+ { no: 20, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
593
+ { no: 21, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
594
+ ]);
595
+ /**
596
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Burn
597
+ */
598
+ export class UniswapV3Burn extends Message {
599
+ constructor(data) {
600
+ super();
601
+ proto3.util.initPartial(data, this);
602
+ }
603
+ static fromBinary(bytes, options) {
604
+ return new UniswapV3Burn().fromBinary(bytes, options);
605
+ }
606
+ static fromJson(jsonValue, options) {
607
+ return new UniswapV3Burn().fromJson(jsonValue, options);
608
+ }
609
+ static fromJsonString(jsonString, options) {
610
+ return new UniswapV3Burn().fromJsonString(jsonString, options);
611
+ }
612
+ static equals(a, b) {
613
+ return proto3.util.equals(UniswapV3Burn, a, b);
614
+ }
615
+ }
616
+ UniswapV3Burn.runtime = proto3;
617
+ UniswapV3Burn.typeName = "sink.bigquery.storage.write.api.UniswapV3Burn";
618
+ UniswapV3Burn.fields = proto3.util.newFieldList(() => [
619
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
620
+ { no: 2, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
621
+ { no: 3, name: "tick_lower", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
622
+ { no: 4, name: "tick_upper", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
623
+ { no: 5, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
624
+ { no: 6, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
625
+ { no: 7, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
626
+ { no: 8, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
627
+ { no: 9, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
628
+ { no: 10, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
629
+ { no: 11, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
630
+ { no: 12, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
631
+ { no: 13, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
632
+ { no: 14, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
633
+ { no: 15, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
634
+ { no: 16, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
635
+ { no: 17, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
636
+ { no: 18, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
637
+ { no: 19, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
638
+ { no: 20, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
639
+ { no: 21, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
640
+ ]);
641
+ /**
642
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3Flash
643
+ */
644
+ export class UniswapV3Flash extends Message {
645
+ constructor(data) {
646
+ super();
647
+ proto3.util.initPartial(data, this);
648
+ }
649
+ static fromBinary(bytes, options) {
650
+ return new UniswapV3Flash().fromBinary(bytes, options);
651
+ }
652
+ static fromJson(jsonValue, options) {
653
+ return new UniswapV3Flash().fromJson(jsonValue, options);
654
+ }
655
+ static fromJsonString(jsonString, options) {
656
+ return new UniswapV3Flash().fromJsonString(jsonString, options);
657
+ }
658
+ static equals(a, b) {
659
+ return proto3.util.equals(UniswapV3Flash, a, b);
660
+ }
661
+ }
662
+ UniswapV3Flash.runtime = proto3;
663
+ UniswapV3Flash.typeName = "sink.bigquery.storage.write.api.UniswapV3Flash";
664
+ UniswapV3Flash.fields = proto3.util.newFieldList(() => [
665
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
666
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
667
+ { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
668
+ { no: 4, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
669
+ { no: 5, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
670
+ { no: 6, name: "paid0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
671
+ { no: 7, name: "paid1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
672
+ { no: 8, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
673
+ { no: 9, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
674
+ { no: 10, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
675
+ { no: 11, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
676
+ { no: 12, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
677
+ { no: 13, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
678
+ { no: 14, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
679
+ { no: 15, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
680
+ { no: 16, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
681
+ { no: 17, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
682
+ { no: 18, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
683
+ { no: 19, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
684
+ { no: 20, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
685
+ { no: 21, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
686
+ ]);
687
+ /**
688
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3IncreaseObservationCardinalityNext
689
+ */
690
+ export class UniswapV3IncreaseObservationCardinalityNext extends Message {
691
+ constructor(data) {
692
+ super();
693
+ proto3.util.initPartial(data, this);
694
+ }
695
+ static fromBinary(bytes, options) {
696
+ return new UniswapV3IncreaseObservationCardinalityNext().fromBinary(bytes, options);
697
+ }
698
+ static fromJson(jsonValue, options) {
699
+ return new UniswapV3IncreaseObservationCardinalityNext().fromJson(jsonValue, options);
700
+ }
701
+ static fromJsonString(jsonString, options) {
702
+ return new UniswapV3IncreaseObservationCardinalityNext().fromJsonString(jsonString, options);
703
+ }
704
+ static equals(a, b) {
705
+ return proto3.util.equals(UniswapV3IncreaseObservationCardinalityNext, a, b);
706
+ }
707
+ }
708
+ UniswapV3IncreaseObservationCardinalityNext.runtime = proto3;
709
+ UniswapV3IncreaseObservationCardinalityNext.typeName = "sink.bigquery.storage.write.api.UniswapV3IncreaseObservationCardinalityNext";
710
+ UniswapV3IncreaseObservationCardinalityNext.fields = proto3.util.newFieldList(() => [
711
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
712
+ { no: 2, name: "observation_cardinality_next_old", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
713
+ { no: 3, name: "observation_cardinality_next_new", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
714
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
715
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
716
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
717
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
718
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
719
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
720
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
721
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
722
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
723
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
724
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
725
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
726
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
727
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
728
+ ]);
729
+ /**
730
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3SetFeeProtocol
731
+ */
732
+ export class UniswapV3SetFeeProtocol extends Message {
733
+ constructor(data) {
734
+ super();
735
+ proto3.util.initPartial(data, this);
736
+ }
737
+ static fromBinary(bytes, options) {
738
+ return new UniswapV3SetFeeProtocol().fromBinary(bytes, options);
739
+ }
740
+ static fromJson(jsonValue, options) {
741
+ return new UniswapV3SetFeeProtocol().fromJson(jsonValue, options);
742
+ }
743
+ static fromJsonString(jsonString, options) {
744
+ return new UniswapV3SetFeeProtocol().fromJsonString(jsonString, options);
745
+ }
746
+ static equals(a, b) {
747
+ return proto3.util.equals(UniswapV3SetFeeProtocol, a, b);
748
+ }
749
+ }
750
+ UniswapV3SetFeeProtocol.runtime = proto3;
751
+ UniswapV3SetFeeProtocol.typeName = "sink.bigquery.storage.write.api.UniswapV3SetFeeProtocol";
752
+ UniswapV3SetFeeProtocol.fields = proto3.util.newFieldList(() => [
753
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
754
+ { no: 2, name: "fee_protocol0_old", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
755
+ { no: 3, name: "fee_protocol1_old", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
756
+ { no: 4, name: "fee_protocol0_new", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
757
+ { no: 5, name: "fee_protocol1_new", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
758
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
759
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
760
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
761
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
762
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
763
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
764
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
765
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
766
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
767
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
768
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
769
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
770
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
771
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
772
+ ]);
773
+ /**
774
+ * @generated from message sink.bigquery.storage.write.api.UniswapV3CollectProtocol
775
+ */
776
+ export class UniswapV3CollectProtocol extends Message {
777
+ constructor(data) {
778
+ super();
779
+ proto3.util.initPartial(data, this);
780
+ }
781
+ static fromBinary(bytes, options) {
782
+ return new UniswapV3CollectProtocol().fromBinary(bytes, options);
783
+ }
784
+ static fromJson(jsonValue, options) {
785
+ return new UniswapV3CollectProtocol().fromJson(jsonValue, options);
786
+ }
787
+ static fromJsonString(jsonString, options) {
788
+ return new UniswapV3CollectProtocol().fromJsonString(jsonString, options);
789
+ }
790
+ static equals(a, b) {
791
+ return proto3.util.equals(UniswapV3CollectProtocol, a, b);
792
+ }
793
+ }
794
+ UniswapV3CollectProtocol.runtime = proto3;
795
+ UniswapV3CollectProtocol.typeName = "sink.bigquery.storage.write.api.UniswapV3CollectProtocol";
796
+ UniswapV3CollectProtocol.fields = proto3.util.newFieldList(() => [
797
+ { no: 1, name: "pool_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
798
+ { no: 2, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
799
+ { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
800
+ { no: 4, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
801
+ { no: 5, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
802
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
803
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
804
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
805
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
806
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
807
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
808
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
809
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
810
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
811
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
812
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
813
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
814
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
815
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
816
+ ]);
817
+ /**
818
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4Initialize
819
+ */
820
+ export class UniswapV4Initialize extends Message {
821
+ constructor(data) {
822
+ super();
823
+ proto3.util.initPartial(data, this);
824
+ }
825
+ static fromBinary(bytes, options) {
826
+ return new UniswapV4Initialize().fromBinary(bytes, options);
827
+ }
828
+ static fromJson(jsonValue, options) {
829
+ return new UniswapV4Initialize().fromJson(jsonValue, options);
830
+ }
831
+ static fromJsonString(jsonString, options) {
832
+ return new UniswapV4Initialize().fromJsonString(jsonString, options);
833
+ }
834
+ static equals(a, b) {
835
+ return proto3.util.equals(UniswapV4Initialize, a, b);
836
+ }
837
+ }
838
+ UniswapV4Initialize.runtime = proto3;
839
+ UniswapV4Initialize.typeName = "sink.bigquery.storage.write.api.UniswapV4Initialize";
840
+ UniswapV4Initialize.fields = proto3.util.newFieldList(() => [
841
+ { no: 1, name: "pool_manager_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
842
+ { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
843
+ { no: 3, name: "currency0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
844
+ { no: 4, name: "currency1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
845
+ { no: 5, name: "fee", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
846
+ { no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
847
+ { no: 7, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
848
+ { no: 8, name: "tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
849
+ { no: 9, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
850
+ { no: 10, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
851
+ { no: 11, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
852
+ { no: 12, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
853
+ { no: 13, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
854
+ { no: 14, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
855
+ { no: 15, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
856
+ { no: 16, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
857
+ { no: 17, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
858
+ { no: 18, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
859
+ { no: 19, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
860
+ { no: 20, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
861
+ { no: 21, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
862
+ { no: 22, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
863
+ ]);
864
+ /**
865
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4Swap
866
+ */
867
+ export class UniswapV4Swap extends Message {
868
+ constructor(data) {
869
+ super();
870
+ proto3.util.initPartial(data, this);
871
+ }
872
+ static fromBinary(bytes, options) {
873
+ return new UniswapV4Swap().fromBinary(bytes, options);
874
+ }
875
+ static fromJson(jsonValue, options) {
876
+ return new UniswapV4Swap().fromJson(jsonValue, options);
877
+ }
878
+ static fromJsonString(jsonString, options) {
879
+ return new UniswapV4Swap().fromJsonString(jsonString, options);
880
+ }
881
+ static equals(a, b) {
882
+ return proto3.util.equals(UniswapV4Swap, a, b);
883
+ }
884
+ }
885
+ UniswapV4Swap.runtime = proto3;
886
+ UniswapV4Swap.typeName = "sink.bigquery.storage.write.api.UniswapV4Swap";
887
+ UniswapV4Swap.fields = proto3.util.newFieldList(() => [
888
+ { no: 1, name: "pool_manager_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
889
+ { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
890
+ { no: 3, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
891
+ { no: 4, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
892
+ { no: 5, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
893
+ { no: 6, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
894
+ { no: 7, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
895
+ { no: 8, name: "tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
896
+ { no: 9, name: "fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
897
+ { no: 10, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
898
+ { no: 11, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
899
+ { no: 12, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
900
+ { no: 13, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
901
+ { no: 14, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
902
+ { no: 15, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
903
+ { no: 16, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
904
+ { no: 17, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
905
+ { no: 18, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
906
+ { no: 19, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
907
+ { no: 20, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
908
+ { no: 21, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
909
+ { no: 22, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
910
+ { no: 23, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
911
+ ]);
912
+ /**
913
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4ModifyLiquidity
914
+ */
915
+ export class UniswapV4ModifyLiquidity extends Message {
916
+ constructor(data) {
917
+ super();
918
+ proto3.util.initPartial(data, this);
919
+ }
920
+ static fromBinary(bytes, options) {
921
+ return new UniswapV4ModifyLiquidity().fromBinary(bytes, options);
922
+ }
923
+ static fromJson(jsonValue, options) {
924
+ return new UniswapV4ModifyLiquidity().fromJson(jsonValue, options);
925
+ }
926
+ static fromJsonString(jsonString, options) {
927
+ return new UniswapV4ModifyLiquidity().fromJsonString(jsonString, options);
928
+ }
929
+ static equals(a, b) {
930
+ return proto3.util.equals(UniswapV4ModifyLiquidity, a, b);
931
+ }
932
+ }
933
+ UniswapV4ModifyLiquidity.runtime = proto3;
934
+ UniswapV4ModifyLiquidity.typeName = "sink.bigquery.storage.write.api.UniswapV4ModifyLiquidity";
935
+ UniswapV4ModifyLiquidity.fields = proto3.util.newFieldList(() => [
936
+ { no: 1, name: "pool_manager_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
937
+ { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
938
+ { no: 3, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
939
+ { no: 4, name: "tick_lower", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
940
+ { no: 5, name: "tick_upper", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
941
+ { no: 6, name: "liquidity_delta", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
942
+ { no: 7, name: "salt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
943
+ { no: 8, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
944
+ { no: 9, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
945
+ { no: 10, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
946
+ { no: 11, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
947
+ { no: 12, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
948
+ { no: 13, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
949
+ { no: 14, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
950
+ { no: 15, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
951
+ { no: 16, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
952
+ { no: 17, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
953
+ { no: 18, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
954
+ { no: 19, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
955
+ { no: 20, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
956
+ { no: 21, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
957
+ ]);
958
+ /**
959
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4Donate
960
+ */
961
+ export class UniswapV4Donate extends Message {
962
+ constructor(data) {
963
+ super();
964
+ proto3.util.initPartial(data, this);
965
+ }
966
+ static fromBinary(bytes, options) {
967
+ return new UniswapV4Donate().fromBinary(bytes, options);
968
+ }
969
+ static fromJson(jsonValue, options) {
970
+ return new UniswapV4Donate().fromJson(jsonValue, options);
971
+ }
972
+ static fromJsonString(jsonString, options) {
973
+ return new UniswapV4Donate().fromJsonString(jsonString, options);
974
+ }
975
+ static equals(a, b) {
976
+ return proto3.util.equals(UniswapV4Donate, a, b);
977
+ }
978
+ }
979
+ UniswapV4Donate.runtime = proto3;
980
+ UniswapV4Donate.typeName = "sink.bigquery.storage.write.api.UniswapV4Donate";
981
+ UniswapV4Donate.fields = proto3.util.newFieldList(() => [
982
+ { no: 1, name: "pool_manager_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
983
+ { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
984
+ { no: 3, name: "sender", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
985
+ { no: 4, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
986
+ { no: 5, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
987
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
988
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
989
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
990
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
991
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
992
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
993
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
994
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
995
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
996
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
997
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
998
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
999
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1000
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1001
+ ]);
1002
+ /**
1003
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4ProtocolFeeControllerUpdated
1004
+ */
1005
+ export class UniswapV4ProtocolFeeControllerUpdated extends Message {
1006
+ constructor(data) {
1007
+ super();
1008
+ proto3.util.initPartial(data, this);
1009
+ }
1010
+ static fromBinary(bytes, options) {
1011
+ return new UniswapV4ProtocolFeeControllerUpdated().fromBinary(bytes, options);
1012
+ }
1013
+ static fromJson(jsonValue, options) {
1014
+ return new UniswapV4ProtocolFeeControllerUpdated().fromJson(jsonValue, options);
1015
+ }
1016
+ static fromJsonString(jsonString, options) {
1017
+ return new UniswapV4ProtocolFeeControllerUpdated().fromJsonString(jsonString, options);
1018
+ }
1019
+ static equals(a, b) {
1020
+ return proto3.util.equals(UniswapV4ProtocolFeeControllerUpdated, a, b);
1021
+ }
1022
+ }
1023
+ UniswapV4ProtocolFeeControllerUpdated.runtime = proto3;
1024
+ UniswapV4ProtocolFeeControllerUpdated.typeName = "sink.bigquery.storage.write.api.UniswapV4ProtocolFeeControllerUpdated";
1025
+ UniswapV4ProtocolFeeControllerUpdated.fields = proto3.util.newFieldList(() => [
1026
+ { no: 1, name: "protocol_fee_controller_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1027
+ { no: 2, name: "protocol_fee_controller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1028
+ { no: 3, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1029
+ { no: 4, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1030
+ { no: 5, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1031
+ { no: 6, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1032
+ { no: 7, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1033
+ { no: 8, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1034
+ { no: 9, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1035
+ { no: 10, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1036
+ { no: 11, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1037
+ { no: 12, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1038
+ { no: 13, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1039
+ { no: 14, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1040
+ { no: 15, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1041
+ { no: 16, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1042
+ ]);
1043
+ /**
1044
+ * @generated from message sink.bigquery.storage.write.api.UniswapV4ProtocolFeeUpdated
1045
+ */
1046
+ export class UniswapV4ProtocolFeeUpdated extends Message {
1047
+ constructor(data) {
1048
+ super();
1049
+ proto3.util.initPartial(data, this);
1050
+ }
1051
+ static fromBinary(bytes, options) {
1052
+ return new UniswapV4ProtocolFeeUpdated().fromBinary(bytes, options);
1053
+ }
1054
+ static fromJson(jsonValue, options) {
1055
+ return new UniswapV4ProtocolFeeUpdated().fromJson(jsonValue, options);
1056
+ }
1057
+ static fromJsonString(jsonString, options) {
1058
+ return new UniswapV4ProtocolFeeUpdated().fromJsonString(jsonString, options);
1059
+ }
1060
+ static equals(a, b) {
1061
+ return proto3.util.equals(UniswapV4ProtocolFeeUpdated, a, b);
1062
+ }
1063
+ }
1064
+ UniswapV4ProtocolFeeUpdated.runtime = proto3;
1065
+ UniswapV4ProtocolFeeUpdated.typeName = "sink.bigquery.storage.write.api.UniswapV4ProtocolFeeUpdated";
1066
+ UniswapV4ProtocolFeeUpdated.fields = proto3.util.newFieldList(() => [
1067
+ { no: 1, name: "protocol_fee_controller_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1068
+ { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1069
+ { no: 3, name: "protocol_fee", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1070
+ { no: 4, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1071
+ { no: 5, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1072
+ { no: 6, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1073
+ { no: 7, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1074
+ { no: 8, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1075
+ { no: 9, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1076
+ { no: 10, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1077
+ { no: 11, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1078
+ { no: 12, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1079
+ { no: 13, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1080
+ { no: 14, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1081
+ { no: 15, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1082
+ { no: 16, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1083
+ { no: 17, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1084
+ ]);
1085
+ /**
1086
+ * @generated from message sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsCheckpointUpdated
1087
+ */
1088
+ export class UniswapTimeWeightedAuctionsCheckpointUpdated extends Message {
1089
+ constructor(data) {
1090
+ super();
1091
+ proto3.util.initPartial(data, this);
1092
+ }
1093
+ static fromBinary(bytes, options) {
1094
+ return new UniswapTimeWeightedAuctionsCheckpointUpdated().fromBinary(bytes, options);
1095
+ }
1096
+ static fromJson(jsonValue, options) {
1097
+ return new UniswapTimeWeightedAuctionsCheckpointUpdated().fromJson(jsonValue, options);
1098
+ }
1099
+ static fromJsonString(jsonString, options) {
1100
+ return new UniswapTimeWeightedAuctionsCheckpointUpdated().fromJsonString(jsonString, options);
1101
+ }
1102
+ static equals(a, b) {
1103
+ return proto3.util.equals(UniswapTimeWeightedAuctionsCheckpointUpdated, a, b);
1104
+ }
1105
+ }
1106
+ UniswapTimeWeightedAuctionsCheckpointUpdated.runtime = proto3;
1107
+ UniswapTimeWeightedAuctionsCheckpointUpdated.typeName = "sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsCheckpointUpdated";
1108
+ UniswapTimeWeightedAuctionsCheckpointUpdated.fields = proto3.util.newFieldList(() => [
1109
+ { no: 1, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1110
+ { no: 2, name: "block_number", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1111
+ { no: 3, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1112
+ { no: 4, name: "total_cleared", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1113
+ { no: 5, name: "cumulative_mps", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1114
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1115
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1116
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1117
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1118
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1119
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1120
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1121
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1122
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1123
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1124
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1125
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1126
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1127
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1128
+ ]);
1129
+ /**
1130
+ * @generated from message sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsBidSubmitted
1131
+ */
1132
+ export class UniswapTimeWeightedAuctionsBidSubmitted extends Message {
1133
+ constructor(data) {
1134
+ super();
1135
+ proto3.util.initPartial(data, this);
1136
+ }
1137
+ static fromBinary(bytes, options) {
1138
+ return new UniswapTimeWeightedAuctionsBidSubmitted().fromBinary(bytes, options);
1139
+ }
1140
+ static fromJson(jsonValue, options) {
1141
+ return new UniswapTimeWeightedAuctionsBidSubmitted().fromJson(jsonValue, options);
1142
+ }
1143
+ static fromJsonString(jsonString, options) {
1144
+ return new UniswapTimeWeightedAuctionsBidSubmitted().fromJsonString(jsonString, options);
1145
+ }
1146
+ static equals(a, b) {
1147
+ return proto3.util.equals(UniswapTimeWeightedAuctionsBidSubmitted, a, b);
1148
+ }
1149
+ }
1150
+ UniswapTimeWeightedAuctionsBidSubmitted.runtime = proto3;
1151
+ UniswapTimeWeightedAuctionsBidSubmitted.typeName = "sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsBidSubmitted";
1152
+ UniswapTimeWeightedAuctionsBidSubmitted.fields = proto3.util.newFieldList(() => [
1153
+ { no: 1, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1154
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1155
+ { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1156
+ { no: 4, name: "price", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1157
+ { no: 5, name: "exact_in", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1158
+ { no: 6, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1159
+ { no: 7, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1160
+ { no: 8, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1161
+ { no: 9, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1162
+ { no: 10, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1163
+ { no: 11, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1164
+ { no: 12, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1165
+ { no: 13, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1166
+ { no: 14, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1167
+ { no: 15, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1168
+ { no: 16, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1169
+ { no: 17, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1170
+ { no: 18, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1171
+ { no: 19, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1172
+ { no: 20, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1173
+ ]);
1174
+ /**
1175
+ * @generated from message sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsBidExited
1176
+ */
1177
+ export class UniswapTimeWeightedAuctionsBidExited extends Message {
1178
+ constructor(data) {
1179
+ super();
1180
+ proto3.util.initPartial(data, this);
1181
+ }
1182
+ static fromBinary(bytes, options) {
1183
+ return new UniswapTimeWeightedAuctionsBidExited().fromBinary(bytes, options);
1184
+ }
1185
+ static fromJson(jsonValue, options) {
1186
+ return new UniswapTimeWeightedAuctionsBidExited().fromJson(jsonValue, options);
1187
+ }
1188
+ static fromJsonString(jsonString, options) {
1189
+ return new UniswapTimeWeightedAuctionsBidExited().fromJsonString(jsonString, options);
1190
+ }
1191
+ static equals(a, b) {
1192
+ return proto3.util.equals(UniswapTimeWeightedAuctionsBidExited, a, b);
1193
+ }
1194
+ }
1195
+ UniswapTimeWeightedAuctionsBidExited.runtime = proto3;
1196
+ UniswapTimeWeightedAuctionsBidExited.typeName = "sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsBidExited";
1197
+ UniswapTimeWeightedAuctionsBidExited.fields = proto3.util.newFieldList(() => [
1198
+ { no: 1, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1199
+ { no: 2, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1200
+ { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1201
+ { no: 4, name: "tokens_filled", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1202
+ { no: 5, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1203
+ { no: 6, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1204
+ { no: 7, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1205
+ { no: 8, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1206
+ { no: 9, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1207
+ { no: 10, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1208
+ { no: 11, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1209
+ { no: 12, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1210
+ { no: 13, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1211
+ { no: 14, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1212
+ { no: 15, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1213
+ { no: 16, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1214
+ { no: 17, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1215
+ { no: 18, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1216
+ ]);
1217
+ /**
1218
+ * @generated from message sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsTokensClaimed
1219
+ */
1220
+ export class UniswapTimeWeightedAuctionsTokensClaimed extends Message {
1221
+ constructor(data) {
1222
+ super();
1223
+ proto3.util.initPartial(data, this);
1224
+ }
1225
+ static fromBinary(bytes, options) {
1226
+ return new UniswapTimeWeightedAuctionsTokensClaimed().fromBinary(bytes, options);
1227
+ }
1228
+ static fromJson(jsonValue, options) {
1229
+ return new UniswapTimeWeightedAuctionsTokensClaimed().fromJson(jsonValue, options);
1230
+ }
1231
+ static fromJsonString(jsonString, options) {
1232
+ return new UniswapTimeWeightedAuctionsTokensClaimed().fromJsonString(jsonString, options);
1233
+ }
1234
+ static equals(a, b) {
1235
+ return proto3.util.equals(UniswapTimeWeightedAuctionsTokensClaimed, a, b);
1236
+ }
1237
+ }
1238
+ UniswapTimeWeightedAuctionsTokensClaimed.runtime = proto3;
1239
+ UniswapTimeWeightedAuctionsTokensClaimed.typeName = "sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsTokensClaimed";
1240
+ UniswapTimeWeightedAuctionsTokensClaimed.fields = proto3.util.newFieldList(() => [
1241
+ { no: 1, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1242
+ { no: 2, name: "bid_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1243
+ { no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1244
+ { no: 4, name: "tokens_filled", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1245
+ { no: 5, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1246
+ { no: 6, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1247
+ { no: 7, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1248
+ { no: 8, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1249
+ { no: 9, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1250
+ { no: 10, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1251
+ { no: 11, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1252
+ { no: 12, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1253
+ { no: 13, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1254
+ { no: 14, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1255
+ { no: 15, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1256
+ { no: 16, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1257
+ { no: 17, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1258
+ { no: 18, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1259
+ ]);
1260
+ /**
1261
+ * @generated from message sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsAuctionCreated
1262
+ */
1263
+ export class UniswapTimeWeightedAuctionsAuctionCreated extends Message {
1264
+ constructor(data) {
1265
+ super();
1266
+ proto3.util.initPartial(data, this);
1267
+ }
1268
+ static fromBinary(bytes, options) {
1269
+ return new UniswapTimeWeightedAuctionsAuctionCreated().fromBinary(bytes, options);
1270
+ }
1271
+ static fromJson(jsonValue, options) {
1272
+ return new UniswapTimeWeightedAuctionsAuctionCreated().fromJson(jsonValue, options);
1273
+ }
1274
+ static fromJsonString(jsonString, options) {
1275
+ return new UniswapTimeWeightedAuctionsAuctionCreated().fromJsonString(jsonString, options);
1276
+ }
1277
+ static equals(a, b) {
1278
+ return proto3.util.equals(UniswapTimeWeightedAuctionsAuctionCreated, a, b);
1279
+ }
1280
+ }
1281
+ UniswapTimeWeightedAuctionsAuctionCreated.runtime = proto3;
1282
+ UniswapTimeWeightedAuctionsAuctionCreated.typeName = "sink.bigquery.storage.write.api.UniswapTimeWeightedAuctionsAuctionCreated";
1283
+ UniswapTimeWeightedAuctionsAuctionCreated.fields = proto3.util.newFieldList(() => [
1284
+ { no: 1, name: "auction_factory_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1285
+ { no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1286
+ { no: 3, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1287
+ { no: 4, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1288
+ { no: 5, name: "config_data", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1289
+ { no: 6, name: "block_num", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1290
+ { no: 7, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1291
+ { no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1292
+ { no: 9, name: "index", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1293
+ { no: 10, name: "global_sequence", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1294
+ { no: 11, name: "tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1295
+ { no: 12, name: "tx_from", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1296
+ { no: 13, name: "tx_to", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1297
+ { no: 14, name: "caller", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1298
+ { no: 15, name: "ordinal", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1299
+ { no: 16, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1300
+ { no: 17, name: "is_reorg", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1301
+ { no: 18, name: "sink_created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1302
+ { no: 19, name: "ordering_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1303
+ ]);
1304
+ /**
1305
+ * @generated from message sink.bigquery.storage.write.api.Event
1306
+ */
1307
+ export class Event extends Message {
1308
+ constructor(data) {
1309
+ super();
1310
+ /**
1311
+ * @generated from field: sink.bigquery.storage.write.api.Operation operation = 1;
1312
+ */
1313
+ this.operation = Operation.UNKNOWN;
1314
+ /**
1315
+ * @generated from field: string version = 2;
1316
+ */
1317
+ this.version = "";
1318
+ /**
1319
+ * @generated from oneof sink.bigquery.storage.write.api.Event.event
1320
+ */
1321
+ this.event = { case: undefined };
1322
+ proto3.util.initPartial(data, this);
1323
+ }
1324
+ static fromBinary(bytes, options) {
1325
+ return new Event().fromBinary(bytes, options);
1326
+ }
1327
+ static fromJson(jsonValue, options) {
1328
+ return new Event().fromJson(jsonValue, options);
1329
+ }
1330
+ static fromJsonString(jsonString, options) {
1331
+ return new Event().fromJsonString(jsonString, options);
1332
+ }
1333
+ static equals(a, b) {
1334
+ return proto3.util.equals(Event, a, b);
1335
+ }
1336
+ }
1337
+ Event.runtime = proto3;
1338
+ Event.typeName = "sink.bigquery.storage.write.api.Event";
1339
+ Event.fields = proto3.util.newFieldList(() => [
1340
+ { no: 1, name: "operation", kind: "enum", T: proto3.getEnumType(Operation) },
1341
+ { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1342
+ { no: 3, name: "reorg_context", kind: "message", T: ReorgContext, opt: true },
1343
+ { no: 100, name: "uniswap_v2_pair_created", kind: "message", T: UniswapV2PairCreated, oneof: "event" },
1344
+ { no: 101, name: "uniswap_v2_swap", kind: "message", T: UniswapV2Swap, oneof: "event" },
1345
+ { no: 102, name: "uniswap_v2_sync", kind: "message", T: UniswapV2Sync, oneof: "event" },
1346
+ { no: 103, name: "uniswap_v2_mint", kind: "message", T: UniswapV2Mint, oneof: "event" },
1347
+ { no: 104, name: "uniswap_v2_burn", kind: "message", T: UniswapV2Burn, oneof: "event" },
1348
+ { no: 200, name: "uniswap_v3_pool_created", kind: "message", T: UniswapV3PoolCreated, oneof: "event" },
1349
+ { no: 201, name: "uniswap_v3_owner_changed", kind: "message", T: UniswapV3OwnerChanged, oneof: "event" },
1350
+ { no: 202, name: "uniswap_v3_fee_amount_enabled", kind: "message", T: UniswapV3FeeAmountEnabled, oneof: "event" },
1351
+ { no: 203, name: "uniswap_v3_swap", kind: "message", T: UniswapV3Swap, oneof: "event" },
1352
+ { no: 204, name: "uniswap_v3_initialize", kind: "message", T: UniswapV3Initialize, oneof: "event" },
1353
+ { no: 205, name: "uniswap_v3_mint", kind: "message", T: UniswapV3Mint, oneof: "event" },
1354
+ { no: 206, name: "uniswap_v3_collect", kind: "message", T: UniswapV3Collect, oneof: "event" },
1355
+ { no: 207, name: "uniswap_v3_burn", kind: "message", T: UniswapV3Burn, oneof: "event" },
1356
+ { no: 208, name: "uniswap_v3_flash", kind: "message", T: UniswapV3Flash, oneof: "event" },
1357
+ { no: 209, name: "uniswap_v3_increase_observation_cardinality_next", kind: "message", T: UniswapV3IncreaseObservationCardinalityNext, oneof: "event" },
1358
+ { no: 210, name: "uniswap_v3_set_fee_protocol", kind: "message", T: UniswapV3SetFeeProtocol, oneof: "event" },
1359
+ { no: 211, name: "uniswap_v3_collect_protocol", kind: "message", T: UniswapV3CollectProtocol, oneof: "event" },
1360
+ { no: 300, name: "uniswap_v4_swap", kind: "message", T: UniswapV4Swap, oneof: "event" },
1361
+ { no: 301, name: "uniswap_v4_initialize", kind: "message", T: UniswapV4Initialize, oneof: "event" },
1362
+ { no: 302, name: "uniswap_v4_modify_liquidity", kind: "message", T: UniswapV4ModifyLiquidity, oneof: "event" },
1363
+ { no: 303, name: "uniswap_v4_donate", kind: "message", T: UniswapV4Donate, oneof: "event" },
1364
+ { no: 304, name: "uniswap_v4_protocol_fee_controller_updated", kind: "message", T: UniswapV4ProtocolFeeControllerUpdated, oneof: "event" },
1365
+ { no: 305, name: "uniswap_v4_protocol_fee_updated", kind: "message", T: UniswapV4ProtocolFeeUpdated, oneof: "event" },
1366
+ { no: 400, name: "uniswap_time_weighted_auctions_auction_created", kind: "message", T: UniswapTimeWeightedAuctionsAuctionCreated, oneof: "event" },
1367
+ { no: 401, name: "uniswap_time_weighted_auctions_checkpoint_updated", kind: "message", T: UniswapTimeWeightedAuctionsCheckpointUpdated, oneof: "event" },
1368
+ { no: 402, name: "uniswap_time_weighted_auctions_bid_submitted", kind: "message", T: UniswapTimeWeightedAuctionsBidSubmitted, oneof: "event" },
1369
+ { no: 403, name: "uniswap_time_weighted_auctions_bid_exited", kind: "message", T: UniswapTimeWeightedAuctionsBidExited, oneof: "event" },
1370
+ { no: 404, name: "uniswap_time_weighted_auctions_tokens_claimed", kind: "message", T: UniswapTimeWeightedAuctionsTokensClaimed, oneof: "event" },
1371
+ ]);