@apibara/starknet 0.1.1 → 0.2.0

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.
Files changed (48) hide show
  1. package/dist/cursor.d.ts +19 -0
  2. package/dist/cursor.js +30 -0
  3. package/dist/cursor.js.map +1 -0
  4. package/dist/felt.d.ts +19 -0
  5. package/dist/felt.js +60 -0
  6. package/dist/felt.js.map +1 -0
  7. package/dist/felt.test.d.ts +1 -0
  8. package/dist/felt.test.js +22 -0
  9. package/dist/felt.test.js.map +1 -0
  10. package/dist/filter.d.ts +285 -0
  11. package/dist/filter.js +490 -0
  12. package/dist/filter.js.map +1 -0
  13. package/dist/filter.test.d.ts +1 -0
  14. package/dist/filter.test.js +54 -0
  15. package/dist/filter.test.js.map +1 -0
  16. package/dist/index.d.ts +4 -1
  17. package/dist/index.js +18 -18
  18. package/dist/index.js.map +1 -1
  19. package/dist/proto/filter.proto +154 -0
  20. package/dist/proto/generated.d.ts +4499 -0
  21. package/dist/proto/generated.js +10973 -0
  22. package/dist/proto/generated.js.map +1 -0
  23. package/dist/proto/index.d.ts +2 -0
  24. package/dist/proto/index.js +7 -0
  25. package/dist/proto/index.js.map +1 -0
  26. package/dist/proto/starknet.proto +220 -86
  27. package/dist/proto/types.proto +13 -0
  28. package/package.json +16 -7
  29. package/src/cursor.ts +26 -0
  30. package/src/felt.test.ts +24 -0
  31. package/src/felt.ts +61 -0
  32. package/src/filter.test.ts +63 -0
  33. package/src/filter.ts +620 -0
  34. package/src/index.ts +4 -18
  35. package/src/proto/filter.proto +154 -0
  36. package/src/proto/generated.d.ts +4499 -0
  37. package/src/proto/generated.js +11684 -0
  38. package/src/proto/index.ts +4 -0
  39. package/src/proto/starknet.proto +220 -86
  40. package/src/proto/types.proto +13 -0
  41. package/dist/proto/google/protobuf/timestamp.d.ts +0 -132
  42. package/dist/proto/google/protobuf/timestamp.js +0 -92
  43. package/dist/proto/google/protobuf/timestamp.js.map +0 -1
  44. package/dist/proto/starknet.d.ts +0 -1428
  45. package/dist/proto/starknet.js +0 -1506
  46. package/dist/proto/starknet.js.map +0 -1
  47. package/src/proto/google/protobuf/timestamp.ts +0 -216
  48. package/src/proto/starknet.ts +0 -1725
@@ -1,1428 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "apibara.starknet.v1alpha1";
3
- /** # Apibara StarkNet Support */
4
- /** Status of a transaction. */
5
- export declare enum TransactionStatus {
6
- TRANSACTION_STATUS_UNSPECIFIED = 0,
7
- TRANSACTION_STATUS_RECEIVED = 1,
8
- TRANSACTION_STATUS_PENDING = 2,
9
- TRANSACTION_STATUS_ACCEPTED_ON_L2 = 3,
10
- TRANSACTION_STATUS_ACCEPTED_ON_L1 = 4,
11
- TRANSACTION_STATUS_REJECTED = 5,
12
- UNRECOGNIZED = -1
13
- }
14
- export declare function transactionStatusFromJSON(object: any): TransactionStatus;
15
- export declare function transactionStatusToJSON(object: TransactionStatus): string;
16
- /** A StarkNet block. */
17
- export interface Block {
18
- blockHash: BlockHash | undefined;
19
- parentBlockHash: BlockHash | undefined;
20
- blockNumber: number;
21
- sequencerAddress: Uint8Array;
22
- stateRoot: Uint8Array;
23
- gasPrice: Uint8Array;
24
- timestamp: Date | undefined;
25
- starknetVersion: string;
26
- transactions: Transaction[];
27
- transactionReceipts: TransactionReceipt[];
28
- }
29
- /** The hash of a StarkNet block. */
30
- export interface BlockHash {
31
- hash: Uint8Array;
32
- }
33
- export interface Transaction {
34
- invoke: InvokeTransaction | undefined;
35
- deploy: DeployTransaction | undefined;
36
- declare: DeclareTransaction | undefined;
37
- l1Handler: L1HandlerTransaction | undefined;
38
- deployAccount: DeployAccountTransaction | undefined;
39
- }
40
- export interface TransactionCommon {
41
- hash: Uint8Array;
42
- maxFee: Uint8Array;
43
- signature: Uint8Array[];
44
- nonce: Uint8Array;
45
- version: Uint8Array;
46
- }
47
- export interface InvokeTransaction {
48
- common: TransactionCommon | undefined;
49
- contractAddress: Uint8Array;
50
- entryPointSelector: Uint8Array;
51
- calldata: Uint8Array[];
52
- }
53
- export interface DeclareTransaction {
54
- common: TransactionCommon | undefined;
55
- classHash: Uint8Array;
56
- senderAddress: Uint8Array;
57
- }
58
- export interface DeployTransaction {
59
- common: TransactionCommon | undefined;
60
- constructorCalldata: Uint8Array[];
61
- contractAddress: Uint8Array;
62
- contractAddressSalt: Uint8Array;
63
- classHash: Uint8Array;
64
- }
65
- export interface L1HandlerTransaction {
66
- common: TransactionCommon | undefined;
67
- contractAddress: Uint8Array;
68
- entryPointSelector: Uint8Array;
69
- calldata: Uint8Array[];
70
- }
71
- export interface DeployAccountTransaction {
72
- common: TransactionCommon | undefined;
73
- constructorCalldata: Uint8Array[];
74
- contractAddress: Uint8Array;
75
- contractAddressSalt: Uint8Array;
76
- classHash: Uint8Array;
77
- }
78
- export interface TransactionReceipt {
79
- transactionHash: Uint8Array;
80
- transactionIndex: number;
81
- actualFee: Uint8Array;
82
- executionResources: ExecutionResources | undefined;
83
- l1ToL2ConsumedMessage: L1ToL2Message | undefined;
84
- l2ToL1Messages: L2ToL1Message[];
85
- events: Event[];
86
- }
87
- export interface ExecutionResources {
88
- nSteps: number;
89
- nMemoryHoles: number;
90
- builtinInstanceCounter: BuiltinInstanceCounter | undefined;
91
- }
92
- export interface BuiltinInstanceCounter {
93
- pedersenBuiltin?: number | undefined;
94
- rangeCheckBuiltin?: number | undefined;
95
- bitwiseBuiltin?: number | undefined;
96
- outputBuiltin?: number | undefined;
97
- ecdsaBuiltin?: number | undefined;
98
- ecOpBuiltin?: number | undefined;
99
- }
100
- export interface L1ToL2Message {
101
- fromAddress: Uint8Array;
102
- toAddress: Uint8Array;
103
- selector: Uint8Array;
104
- payload: Uint8Array[];
105
- nonce: Uint8Array;
106
- }
107
- export interface L2ToL1Message {
108
- fromAddress: Uint8Array;
109
- toAddress: Uint8Array;
110
- payload: Uint8Array[];
111
- }
112
- export interface Event {
113
- fromAddress: Uint8Array;
114
- keys: Uint8Array[];
115
- data: Uint8Array[];
116
- }
117
- export declare const Block: {
118
- encode(message: Block, writer?: _m0.Writer): _m0.Writer;
119
- decode(input: _m0.Reader | Uint8Array, length?: number): Block;
120
- fromJSON(object: any): Block;
121
- toJSON(message: Block): unknown;
122
- fromPartial<I extends {
123
- blockHash?: {
124
- hash?: Uint8Array | undefined;
125
- } | undefined;
126
- parentBlockHash?: {
127
- hash?: Uint8Array | undefined;
128
- } | undefined;
129
- blockNumber?: number | undefined;
130
- sequencerAddress?: Uint8Array | undefined;
131
- stateRoot?: Uint8Array | undefined;
132
- gasPrice?: Uint8Array | undefined;
133
- timestamp?: Date | undefined;
134
- starknetVersion?: string | undefined;
135
- transactions?: {
136
- invoke?: {
137
- common?: {
138
- hash?: Uint8Array | undefined;
139
- maxFee?: Uint8Array | undefined;
140
- signature?: Uint8Array[] | undefined;
141
- nonce?: Uint8Array | undefined;
142
- version?: Uint8Array | undefined;
143
- } | undefined;
144
- contractAddress?: Uint8Array | undefined;
145
- entryPointSelector?: Uint8Array | undefined;
146
- calldata?: Uint8Array[] | undefined;
147
- } | undefined;
148
- deploy?: {
149
- common?: {
150
- hash?: Uint8Array | undefined;
151
- maxFee?: Uint8Array | undefined;
152
- signature?: Uint8Array[] | undefined;
153
- nonce?: Uint8Array | undefined;
154
- version?: Uint8Array | undefined;
155
- } | undefined;
156
- constructorCalldata?: Uint8Array[] | undefined;
157
- contractAddress?: Uint8Array | undefined;
158
- contractAddressSalt?: Uint8Array | undefined;
159
- classHash?: Uint8Array | undefined;
160
- } | undefined;
161
- declare?: {
162
- common?: {
163
- hash?: Uint8Array | undefined;
164
- maxFee?: Uint8Array | undefined;
165
- signature?: Uint8Array[] | undefined;
166
- nonce?: Uint8Array | undefined;
167
- version?: Uint8Array | undefined;
168
- } | undefined;
169
- classHash?: Uint8Array | undefined;
170
- senderAddress?: Uint8Array | undefined;
171
- } | undefined;
172
- l1Handler?: {
173
- common?: {
174
- hash?: Uint8Array | undefined;
175
- maxFee?: Uint8Array | undefined;
176
- signature?: Uint8Array[] | undefined;
177
- nonce?: Uint8Array | undefined;
178
- version?: Uint8Array | undefined;
179
- } | undefined;
180
- contractAddress?: Uint8Array | undefined;
181
- entryPointSelector?: Uint8Array | undefined;
182
- calldata?: Uint8Array[] | undefined;
183
- } | undefined;
184
- deployAccount?: {
185
- common?: {
186
- hash?: Uint8Array | undefined;
187
- maxFee?: Uint8Array | undefined;
188
- signature?: Uint8Array[] | undefined;
189
- nonce?: Uint8Array | undefined;
190
- version?: Uint8Array | undefined;
191
- } | undefined;
192
- constructorCalldata?: Uint8Array[] | undefined;
193
- contractAddress?: Uint8Array | undefined;
194
- contractAddressSalt?: Uint8Array | undefined;
195
- classHash?: Uint8Array | undefined;
196
- } | undefined;
197
- }[] | undefined;
198
- transactionReceipts?: {
199
- transactionHash?: Uint8Array | undefined;
200
- transactionIndex?: number | undefined;
201
- actualFee?: Uint8Array | undefined;
202
- executionResources?: {
203
- nSteps?: number | undefined;
204
- nMemoryHoles?: number | undefined;
205
- builtinInstanceCounter?: {
206
- pedersenBuiltin?: number | undefined;
207
- rangeCheckBuiltin?: number | undefined;
208
- bitwiseBuiltin?: number | undefined;
209
- outputBuiltin?: number | undefined;
210
- ecdsaBuiltin?: number | undefined;
211
- ecOpBuiltin?: number | undefined;
212
- } | undefined;
213
- } | undefined;
214
- l1ToL2ConsumedMessage?: {
215
- fromAddress?: Uint8Array | undefined;
216
- toAddress?: Uint8Array | undefined;
217
- selector?: Uint8Array | undefined;
218
- payload?: Uint8Array[] | undefined;
219
- nonce?: Uint8Array | undefined;
220
- } | undefined;
221
- l2ToL1Messages?: {
222
- fromAddress?: Uint8Array | undefined;
223
- toAddress?: Uint8Array | undefined;
224
- payload?: Uint8Array[] | undefined;
225
- }[] | undefined;
226
- events?: {
227
- fromAddress?: Uint8Array | undefined;
228
- keys?: Uint8Array[] | undefined;
229
- data?: Uint8Array[] | undefined;
230
- }[] | undefined;
231
- }[] | undefined;
232
- } & {
233
- blockHash?: ({
234
- hash?: Uint8Array | undefined;
235
- } & {
236
- hash?: Uint8Array | undefined;
237
- } & { [K in Exclude<keyof I["blockHash"], "hash">]: never; }) | undefined;
238
- parentBlockHash?: ({
239
- hash?: Uint8Array | undefined;
240
- } & {
241
- hash?: Uint8Array | undefined;
242
- } & { [K_1 in Exclude<keyof I["parentBlockHash"], "hash">]: never; }) | undefined;
243
- blockNumber?: number | undefined;
244
- sequencerAddress?: Uint8Array | undefined;
245
- stateRoot?: Uint8Array | undefined;
246
- gasPrice?: Uint8Array | undefined;
247
- timestamp?: Date | undefined;
248
- starknetVersion?: string | undefined;
249
- transactions?: ({
250
- invoke?: {
251
- common?: {
252
- hash?: Uint8Array | undefined;
253
- maxFee?: Uint8Array | undefined;
254
- signature?: Uint8Array[] | undefined;
255
- nonce?: Uint8Array | undefined;
256
- version?: Uint8Array | undefined;
257
- } | undefined;
258
- contractAddress?: Uint8Array | undefined;
259
- entryPointSelector?: Uint8Array | undefined;
260
- calldata?: Uint8Array[] | undefined;
261
- } | undefined;
262
- deploy?: {
263
- common?: {
264
- hash?: Uint8Array | undefined;
265
- maxFee?: Uint8Array | undefined;
266
- signature?: Uint8Array[] | undefined;
267
- nonce?: Uint8Array | undefined;
268
- version?: Uint8Array | undefined;
269
- } | undefined;
270
- constructorCalldata?: Uint8Array[] | undefined;
271
- contractAddress?: Uint8Array | undefined;
272
- contractAddressSalt?: Uint8Array | undefined;
273
- classHash?: Uint8Array | undefined;
274
- } | undefined;
275
- declare?: {
276
- common?: {
277
- hash?: Uint8Array | undefined;
278
- maxFee?: Uint8Array | undefined;
279
- signature?: Uint8Array[] | undefined;
280
- nonce?: Uint8Array | undefined;
281
- version?: Uint8Array | undefined;
282
- } | undefined;
283
- classHash?: Uint8Array | undefined;
284
- senderAddress?: Uint8Array | undefined;
285
- } | undefined;
286
- l1Handler?: {
287
- common?: {
288
- hash?: Uint8Array | undefined;
289
- maxFee?: Uint8Array | undefined;
290
- signature?: Uint8Array[] | undefined;
291
- nonce?: Uint8Array | undefined;
292
- version?: Uint8Array | undefined;
293
- } | undefined;
294
- contractAddress?: Uint8Array | undefined;
295
- entryPointSelector?: Uint8Array | undefined;
296
- calldata?: Uint8Array[] | undefined;
297
- } | undefined;
298
- deployAccount?: {
299
- common?: {
300
- hash?: Uint8Array | undefined;
301
- maxFee?: Uint8Array | undefined;
302
- signature?: Uint8Array[] | undefined;
303
- nonce?: Uint8Array | undefined;
304
- version?: Uint8Array | undefined;
305
- } | undefined;
306
- constructorCalldata?: Uint8Array[] | undefined;
307
- contractAddress?: Uint8Array | undefined;
308
- contractAddressSalt?: Uint8Array | undefined;
309
- classHash?: Uint8Array | undefined;
310
- } | undefined;
311
- }[] & ({
312
- invoke?: {
313
- common?: {
314
- hash?: Uint8Array | undefined;
315
- maxFee?: Uint8Array | undefined;
316
- signature?: Uint8Array[] | undefined;
317
- nonce?: Uint8Array | undefined;
318
- version?: Uint8Array | undefined;
319
- } | undefined;
320
- contractAddress?: Uint8Array | undefined;
321
- entryPointSelector?: Uint8Array | undefined;
322
- calldata?: Uint8Array[] | undefined;
323
- } | undefined;
324
- deploy?: {
325
- common?: {
326
- hash?: Uint8Array | undefined;
327
- maxFee?: Uint8Array | undefined;
328
- signature?: Uint8Array[] | undefined;
329
- nonce?: Uint8Array | undefined;
330
- version?: Uint8Array | undefined;
331
- } | undefined;
332
- constructorCalldata?: Uint8Array[] | undefined;
333
- contractAddress?: Uint8Array | undefined;
334
- contractAddressSalt?: Uint8Array | undefined;
335
- classHash?: Uint8Array | undefined;
336
- } | undefined;
337
- declare?: {
338
- common?: {
339
- hash?: Uint8Array | undefined;
340
- maxFee?: Uint8Array | undefined;
341
- signature?: Uint8Array[] | undefined;
342
- nonce?: Uint8Array | undefined;
343
- version?: Uint8Array | undefined;
344
- } | undefined;
345
- classHash?: Uint8Array | undefined;
346
- senderAddress?: Uint8Array | undefined;
347
- } | undefined;
348
- l1Handler?: {
349
- common?: {
350
- hash?: Uint8Array | undefined;
351
- maxFee?: Uint8Array | undefined;
352
- signature?: Uint8Array[] | undefined;
353
- nonce?: Uint8Array | undefined;
354
- version?: Uint8Array | undefined;
355
- } | undefined;
356
- contractAddress?: Uint8Array | undefined;
357
- entryPointSelector?: Uint8Array | undefined;
358
- calldata?: Uint8Array[] | undefined;
359
- } | undefined;
360
- deployAccount?: {
361
- common?: {
362
- hash?: Uint8Array | undefined;
363
- maxFee?: Uint8Array | undefined;
364
- signature?: Uint8Array[] | undefined;
365
- nonce?: Uint8Array | undefined;
366
- version?: Uint8Array | undefined;
367
- } | undefined;
368
- constructorCalldata?: Uint8Array[] | undefined;
369
- contractAddress?: Uint8Array | undefined;
370
- contractAddressSalt?: Uint8Array | undefined;
371
- classHash?: Uint8Array | undefined;
372
- } | undefined;
373
- } & {
374
- invoke?: ({
375
- common?: {
376
- hash?: Uint8Array | undefined;
377
- maxFee?: Uint8Array | undefined;
378
- signature?: Uint8Array[] | undefined;
379
- nonce?: Uint8Array | undefined;
380
- version?: Uint8Array | undefined;
381
- } | undefined;
382
- contractAddress?: Uint8Array | undefined;
383
- entryPointSelector?: Uint8Array | undefined;
384
- calldata?: Uint8Array[] | undefined;
385
- } & {
386
- common?: ({
387
- hash?: Uint8Array | undefined;
388
- maxFee?: Uint8Array | undefined;
389
- signature?: Uint8Array[] | undefined;
390
- nonce?: Uint8Array | undefined;
391
- version?: Uint8Array | undefined;
392
- } & {
393
- hash?: Uint8Array | undefined;
394
- maxFee?: Uint8Array | undefined;
395
- signature?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["transactions"][number]["invoke"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
396
- nonce?: Uint8Array | undefined;
397
- version?: Uint8Array | undefined;
398
- } & { [K_3 in Exclude<keyof I["transactions"][number]["invoke"]["common"], keyof TransactionCommon>]: never; }) | undefined;
399
- contractAddress?: Uint8Array | undefined;
400
- entryPointSelector?: Uint8Array | undefined;
401
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_4 in Exclude<keyof I["transactions"][number]["invoke"]["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
402
- } & { [K_5 in Exclude<keyof I["transactions"][number]["invoke"], keyof InvokeTransaction>]: never; }) | undefined;
403
- deploy?: ({
404
- common?: {
405
- hash?: Uint8Array | undefined;
406
- maxFee?: Uint8Array | undefined;
407
- signature?: Uint8Array[] | undefined;
408
- nonce?: Uint8Array | undefined;
409
- version?: Uint8Array | undefined;
410
- } | undefined;
411
- constructorCalldata?: Uint8Array[] | undefined;
412
- contractAddress?: Uint8Array | undefined;
413
- contractAddressSalt?: Uint8Array | undefined;
414
- classHash?: Uint8Array | undefined;
415
- } & {
416
- common?: ({
417
- hash?: Uint8Array | undefined;
418
- maxFee?: Uint8Array | undefined;
419
- signature?: Uint8Array[] | undefined;
420
- nonce?: Uint8Array | undefined;
421
- version?: Uint8Array | undefined;
422
- } & {
423
- hash?: Uint8Array | undefined;
424
- maxFee?: Uint8Array | undefined;
425
- signature?: (Uint8Array[] & Uint8Array[] & { [K_6 in Exclude<keyof I["transactions"][number]["deploy"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
426
- nonce?: Uint8Array | undefined;
427
- version?: Uint8Array | undefined;
428
- } & { [K_7 in Exclude<keyof I["transactions"][number]["deploy"]["common"], keyof TransactionCommon>]: never; }) | undefined;
429
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_8 in Exclude<keyof I["transactions"][number]["deploy"]["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
430
- contractAddress?: Uint8Array | undefined;
431
- contractAddressSalt?: Uint8Array | undefined;
432
- classHash?: Uint8Array | undefined;
433
- } & { [K_9 in Exclude<keyof I["transactions"][number]["deploy"], keyof DeployTransaction>]: never; }) | undefined;
434
- declare?: ({
435
- common?: {
436
- hash?: Uint8Array | undefined;
437
- maxFee?: Uint8Array | undefined;
438
- signature?: Uint8Array[] | undefined;
439
- nonce?: Uint8Array | undefined;
440
- version?: Uint8Array | undefined;
441
- } | undefined;
442
- classHash?: Uint8Array | undefined;
443
- senderAddress?: Uint8Array | undefined;
444
- } & {
445
- common?: ({
446
- hash?: Uint8Array | undefined;
447
- maxFee?: Uint8Array | undefined;
448
- signature?: Uint8Array[] | undefined;
449
- nonce?: Uint8Array | undefined;
450
- version?: Uint8Array | undefined;
451
- } & {
452
- hash?: Uint8Array | undefined;
453
- maxFee?: Uint8Array | undefined;
454
- signature?: (Uint8Array[] & Uint8Array[] & { [K_10 in Exclude<keyof I["transactions"][number]["declare"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
455
- nonce?: Uint8Array | undefined;
456
- version?: Uint8Array | undefined;
457
- } & { [K_11 in Exclude<keyof I["transactions"][number]["declare"]["common"], keyof TransactionCommon>]: never; }) | undefined;
458
- classHash?: Uint8Array | undefined;
459
- senderAddress?: Uint8Array | undefined;
460
- } & { [K_12 in Exclude<keyof I["transactions"][number]["declare"], keyof DeclareTransaction>]: never; }) | undefined;
461
- l1Handler?: ({
462
- common?: {
463
- hash?: Uint8Array | undefined;
464
- maxFee?: Uint8Array | undefined;
465
- signature?: Uint8Array[] | undefined;
466
- nonce?: Uint8Array | undefined;
467
- version?: Uint8Array | undefined;
468
- } | undefined;
469
- contractAddress?: Uint8Array | undefined;
470
- entryPointSelector?: Uint8Array | undefined;
471
- calldata?: Uint8Array[] | undefined;
472
- } & {
473
- common?: ({
474
- hash?: Uint8Array | undefined;
475
- maxFee?: Uint8Array | undefined;
476
- signature?: Uint8Array[] | undefined;
477
- nonce?: Uint8Array | undefined;
478
- version?: Uint8Array | undefined;
479
- } & {
480
- hash?: Uint8Array | undefined;
481
- maxFee?: Uint8Array | undefined;
482
- signature?: (Uint8Array[] & Uint8Array[] & { [K_13 in Exclude<keyof I["transactions"][number]["l1Handler"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
483
- nonce?: Uint8Array | undefined;
484
- version?: Uint8Array | undefined;
485
- } & { [K_14 in Exclude<keyof I["transactions"][number]["l1Handler"]["common"], keyof TransactionCommon>]: never; }) | undefined;
486
- contractAddress?: Uint8Array | undefined;
487
- entryPointSelector?: Uint8Array | undefined;
488
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_15 in Exclude<keyof I["transactions"][number]["l1Handler"]["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
489
- } & { [K_16 in Exclude<keyof I["transactions"][number]["l1Handler"], keyof L1HandlerTransaction>]: never; }) | undefined;
490
- deployAccount?: ({
491
- common?: {
492
- hash?: Uint8Array | undefined;
493
- maxFee?: Uint8Array | undefined;
494
- signature?: Uint8Array[] | undefined;
495
- nonce?: Uint8Array | undefined;
496
- version?: Uint8Array | undefined;
497
- } | undefined;
498
- constructorCalldata?: Uint8Array[] | undefined;
499
- contractAddress?: Uint8Array | undefined;
500
- contractAddressSalt?: Uint8Array | undefined;
501
- classHash?: Uint8Array | undefined;
502
- } & {
503
- common?: ({
504
- hash?: Uint8Array | undefined;
505
- maxFee?: Uint8Array | undefined;
506
- signature?: Uint8Array[] | undefined;
507
- nonce?: Uint8Array | undefined;
508
- version?: Uint8Array | undefined;
509
- } & {
510
- hash?: Uint8Array | undefined;
511
- maxFee?: Uint8Array | undefined;
512
- signature?: (Uint8Array[] & Uint8Array[] & { [K_17 in Exclude<keyof I["transactions"][number]["deployAccount"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
513
- nonce?: Uint8Array | undefined;
514
- version?: Uint8Array | undefined;
515
- } & { [K_18 in Exclude<keyof I["transactions"][number]["deployAccount"]["common"], keyof TransactionCommon>]: never; }) | undefined;
516
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_19 in Exclude<keyof I["transactions"][number]["deployAccount"]["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
517
- contractAddress?: Uint8Array | undefined;
518
- contractAddressSalt?: Uint8Array | undefined;
519
- classHash?: Uint8Array | undefined;
520
- } & { [K_20 in Exclude<keyof I["transactions"][number]["deployAccount"], keyof DeployAccountTransaction>]: never; }) | undefined;
521
- } & { [K_21 in Exclude<keyof I["transactions"][number], keyof Transaction>]: never; })[] & { [K_22 in Exclude<keyof I["transactions"], keyof {
522
- invoke?: {
523
- common?: {
524
- hash?: Uint8Array | undefined;
525
- maxFee?: Uint8Array | undefined;
526
- signature?: Uint8Array[] | undefined;
527
- nonce?: Uint8Array | undefined;
528
- version?: Uint8Array | undefined;
529
- } | undefined;
530
- contractAddress?: Uint8Array | undefined;
531
- entryPointSelector?: Uint8Array | undefined;
532
- calldata?: Uint8Array[] | undefined;
533
- } | undefined;
534
- deploy?: {
535
- common?: {
536
- hash?: Uint8Array | undefined;
537
- maxFee?: Uint8Array | undefined;
538
- signature?: Uint8Array[] | undefined;
539
- nonce?: Uint8Array | undefined;
540
- version?: Uint8Array | undefined;
541
- } | undefined;
542
- constructorCalldata?: Uint8Array[] | undefined;
543
- contractAddress?: Uint8Array | undefined;
544
- contractAddressSalt?: Uint8Array | undefined;
545
- classHash?: Uint8Array | undefined;
546
- } | undefined;
547
- declare?: {
548
- common?: {
549
- hash?: Uint8Array | undefined;
550
- maxFee?: Uint8Array | undefined;
551
- signature?: Uint8Array[] | undefined;
552
- nonce?: Uint8Array | undefined;
553
- version?: Uint8Array | undefined;
554
- } | undefined;
555
- classHash?: Uint8Array | undefined;
556
- senderAddress?: Uint8Array | undefined;
557
- } | undefined;
558
- l1Handler?: {
559
- common?: {
560
- hash?: Uint8Array | undefined;
561
- maxFee?: Uint8Array | undefined;
562
- signature?: Uint8Array[] | undefined;
563
- nonce?: Uint8Array | undefined;
564
- version?: Uint8Array | undefined;
565
- } | undefined;
566
- contractAddress?: Uint8Array | undefined;
567
- entryPointSelector?: Uint8Array | undefined;
568
- calldata?: Uint8Array[] | undefined;
569
- } | undefined;
570
- deployAccount?: {
571
- common?: {
572
- hash?: Uint8Array | undefined;
573
- maxFee?: Uint8Array | undefined;
574
- signature?: Uint8Array[] | undefined;
575
- nonce?: Uint8Array | undefined;
576
- version?: Uint8Array | undefined;
577
- } | undefined;
578
- constructorCalldata?: Uint8Array[] | undefined;
579
- contractAddress?: Uint8Array | undefined;
580
- contractAddressSalt?: Uint8Array | undefined;
581
- classHash?: Uint8Array | undefined;
582
- } | undefined;
583
- }[]>]: never; }) | undefined;
584
- transactionReceipts?: ({
585
- transactionHash?: Uint8Array | undefined;
586
- transactionIndex?: number | undefined;
587
- actualFee?: Uint8Array | undefined;
588
- executionResources?: {
589
- nSteps?: number | undefined;
590
- nMemoryHoles?: number | undefined;
591
- builtinInstanceCounter?: {
592
- pedersenBuiltin?: number | undefined;
593
- rangeCheckBuiltin?: number | undefined;
594
- bitwiseBuiltin?: number | undefined;
595
- outputBuiltin?: number | undefined;
596
- ecdsaBuiltin?: number | undefined;
597
- ecOpBuiltin?: number | undefined;
598
- } | undefined;
599
- } | undefined;
600
- l1ToL2ConsumedMessage?: {
601
- fromAddress?: Uint8Array | undefined;
602
- toAddress?: Uint8Array | undefined;
603
- selector?: Uint8Array | undefined;
604
- payload?: Uint8Array[] | undefined;
605
- nonce?: Uint8Array | undefined;
606
- } | undefined;
607
- l2ToL1Messages?: {
608
- fromAddress?: Uint8Array | undefined;
609
- toAddress?: Uint8Array | undefined;
610
- payload?: Uint8Array[] | undefined;
611
- }[] | undefined;
612
- events?: {
613
- fromAddress?: Uint8Array | undefined;
614
- keys?: Uint8Array[] | undefined;
615
- data?: Uint8Array[] | undefined;
616
- }[] | undefined;
617
- }[] & ({
618
- transactionHash?: Uint8Array | undefined;
619
- transactionIndex?: number | undefined;
620
- actualFee?: Uint8Array | undefined;
621
- executionResources?: {
622
- nSteps?: number | undefined;
623
- nMemoryHoles?: number | undefined;
624
- builtinInstanceCounter?: {
625
- pedersenBuiltin?: number | undefined;
626
- rangeCheckBuiltin?: number | undefined;
627
- bitwiseBuiltin?: number | undefined;
628
- outputBuiltin?: number | undefined;
629
- ecdsaBuiltin?: number | undefined;
630
- ecOpBuiltin?: number | undefined;
631
- } | undefined;
632
- } | undefined;
633
- l1ToL2ConsumedMessage?: {
634
- fromAddress?: Uint8Array | undefined;
635
- toAddress?: Uint8Array | undefined;
636
- selector?: Uint8Array | undefined;
637
- payload?: Uint8Array[] | undefined;
638
- nonce?: Uint8Array | undefined;
639
- } | undefined;
640
- l2ToL1Messages?: {
641
- fromAddress?: Uint8Array | undefined;
642
- toAddress?: Uint8Array | undefined;
643
- payload?: Uint8Array[] | undefined;
644
- }[] | undefined;
645
- events?: {
646
- fromAddress?: Uint8Array | undefined;
647
- keys?: Uint8Array[] | undefined;
648
- data?: Uint8Array[] | undefined;
649
- }[] | undefined;
650
- } & {
651
- transactionHash?: Uint8Array | undefined;
652
- transactionIndex?: number | undefined;
653
- actualFee?: Uint8Array | undefined;
654
- executionResources?: ({
655
- nSteps?: number | undefined;
656
- nMemoryHoles?: number | undefined;
657
- builtinInstanceCounter?: {
658
- pedersenBuiltin?: number | undefined;
659
- rangeCheckBuiltin?: number | undefined;
660
- bitwiseBuiltin?: number | undefined;
661
- outputBuiltin?: number | undefined;
662
- ecdsaBuiltin?: number | undefined;
663
- ecOpBuiltin?: number | undefined;
664
- } | undefined;
665
- } & {
666
- nSteps?: number | undefined;
667
- nMemoryHoles?: number | undefined;
668
- builtinInstanceCounter?: ({
669
- pedersenBuiltin?: number | undefined;
670
- rangeCheckBuiltin?: number | undefined;
671
- bitwiseBuiltin?: number | undefined;
672
- outputBuiltin?: number | undefined;
673
- ecdsaBuiltin?: number | undefined;
674
- ecOpBuiltin?: number | undefined;
675
- } & {
676
- pedersenBuiltin?: number | undefined;
677
- rangeCheckBuiltin?: number | undefined;
678
- bitwiseBuiltin?: number | undefined;
679
- outputBuiltin?: number | undefined;
680
- ecdsaBuiltin?: number | undefined;
681
- ecOpBuiltin?: number | undefined;
682
- } & { [K_23 in Exclude<keyof I["transactionReceipts"][number]["executionResources"]["builtinInstanceCounter"], keyof BuiltinInstanceCounter>]: never; }) | undefined;
683
- } & { [K_24 in Exclude<keyof I["transactionReceipts"][number]["executionResources"], keyof ExecutionResources>]: never; }) | undefined;
684
- l1ToL2ConsumedMessage?: ({
685
- fromAddress?: Uint8Array | undefined;
686
- toAddress?: Uint8Array | undefined;
687
- selector?: Uint8Array | undefined;
688
- payload?: Uint8Array[] | undefined;
689
- nonce?: Uint8Array | undefined;
690
- } & {
691
- fromAddress?: Uint8Array | undefined;
692
- toAddress?: Uint8Array | undefined;
693
- selector?: Uint8Array | undefined;
694
- payload?: (Uint8Array[] & Uint8Array[] & { [K_25 in Exclude<keyof I["transactionReceipts"][number]["l1ToL2ConsumedMessage"]["payload"], keyof Uint8Array[]>]: never; }) | undefined;
695
- nonce?: Uint8Array | undefined;
696
- } & { [K_26 in Exclude<keyof I["transactionReceipts"][number]["l1ToL2ConsumedMessage"], keyof L1ToL2Message>]: never; }) | undefined;
697
- l2ToL1Messages?: ({
698
- fromAddress?: Uint8Array | undefined;
699
- toAddress?: Uint8Array | undefined;
700
- payload?: Uint8Array[] | undefined;
701
- }[] & ({
702
- fromAddress?: Uint8Array | undefined;
703
- toAddress?: Uint8Array | undefined;
704
- payload?: Uint8Array[] | undefined;
705
- } & {
706
- fromAddress?: Uint8Array | undefined;
707
- toAddress?: Uint8Array | undefined;
708
- payload?: (Uint8Array[] & Uint8Array[] & { [K_27 in Exclude<keyof I["transactionReceipts"][number]["l2ToL1Messages"][number]["payload"], keyof Uint8Array[]>]: never; }) | undefined;
709
- } & { [K_28 in Exclude<keyof I["transactionReceipts"][number]["l2ToL1Messages"][number], keyof L2ToL1Message>]: never; })[] & { [K_29 in Exclude<keyof I["transactionReceipts"][number]["l2ToL1Messages"], keyof {
710
- fromAddress?: Uint8Array | undefined;
711
- toAddress?: Uint8Array | undefined;
712
- payload?: Uint8Array[] | undefined;
713
- }[]>]: never; }) | undefined;
714
- events?: ({
715
- fromAddress?: Uint8Array | undefined;
716
- keys?: Uint8Array[] | undefined;
717
- data?: Uint8Array[] | undefined;
718
- }[] & ({
719
- fromAddress?: Uint8Array | undefined;
720
- keys?: Uint8Array[] | undefined;
721
- data?: Uint8Array[] | undefined;
722
- } & {
723
- fromAddress?: Uint8Array | undefined;
724
- keys?: (Uint8Array[] & Uint8Array[] & { [K_30 in Exclude<keyof I["transactionReceipts"][number]["events"][number]["keys"], keyof Uint8Array[]>]: never; }) | undefined;
725
- data?: (Uint8Array[] & Uint8Array[] & { [K_31 in Exclude<keyof I["transactionReceipts"][number]["events"][number]["data"], keyof Uint8Array[]>]: never; }) | undefined;
726
- } & { [K_32 in Exclude<keyof I["transactionReceipts"][number]["events"][number], keyof Event>]: never; })[] & { [K_33 in Exclude<keyof I["transactionReceipts"][number]["events"], keyof {
727
- fromAddress?: Uint8Array | undefined;
728
- keys?: Uint8Array[] | undefined;
729
- data?: Uint8Array[] | undefined;
730
- }[]>]: never; }) | undefined;
731
- } & { [K_34 in Exclude<keyof I["transactionReceipts"][number], keyof TransactionReceipt>]: never; })[] & { [K_35 in Exclude<keyof I["transactionReceipts"], keyof {
732
- transactionHash?: Uint8Array | undefined;
733
- transactionIndex?: number | undefined;
734
- actualFee?: Uint8Array | undefined;
735
- executionResources?: {
736
- nSteps?: number | undefined;
737
- nMemoryHoles?: number | undefined;
738
- builtinInstanceCounter?: {
739
- pedersenBuiltin?: number | undefined;
740
- rangeCheckBuiltin?: number | undefined;
741
- bitwiseBuiltin?: number | undefined;
742
- outputBuiltin?: number | undefined;
743
- ecdsaBuiltin?: number | undefined;
744
- ecOpBuiltin?: number | undefined;
745
- } | undefined;
746
- } | undefined;
747
- l1ToL2ConsumedMessage?: {
748
- fromAddress?: Uint8Array | undefined;
749
- toAddress?: Uint8Array | undefined;
750
- selector?: Uint8Array | undefined;
751
- payload?: Uint8Array[] | undefined;
752
- nonce?: Uint8Array | undefined;
753
- } | undefined;
754
- l2ToL1Messages?: {
755
- fromAddress?: Uint8Array | undefined;
756
- toAddress?: Uint8Array | undefined;
757
- payload?: Uint8Array[] | undefined;
758
- }[] | undefined;
759
- events?: {
760
- fromAddress?: Uint8Array | undefined;
761
- keys?: Uint8Array[] | undefined;
762
- data?: Uint8Array[] | undefined;
763
- }[] | undefined;
764
- }[]>]: never; }) | undefined;
765
- } & { [K_36 in Exclude<keyof I, keyof Block>]: never; }>(object: I): Block;
766
- };
767
- export declare const BlockHash: {
768
- encode(message: BlockHash, writer?: _m0.Writer): _m0.Writer;
769
- decode(input: _m0.Reader | Uint8Array, length?: number): BlockHash;
770
- fromJSON(object: any): BlockHash;
771
- toJSON(message: BlockHash): unknown;
772
- fromPartial<I extends {
773
- hash?: Uint8Array | undefined;
774
- } & {
775
- hash?: Uint8Array | undefined;
776
- } & { [K in Exclude<keyof I, "hash">]: never; }>(object: I): BlockHash;
777
- };
778
- export declare const Transaction: {
779
- encode(message: Transaction, writer?: _m0.Writer): _m0.Writer;
780
- decode(input: _m0.Reader | Uint8Array, length?: number): Transaction;
781
- fromJSON(object: any): Transaction;
782
- toJSON(message: Transaction): unknown;
783
- fromPartial<I extends {
784
- invoke?: {
785
- common?: {
786
- hash?: Uint8Array | undefined;
787
- maxFee?: Uint8Array | undefined;
788
- signature?: Uint8Array[] | undefined;
789
- nonce?: Uint8Array | undefined;
790
- version?: Uint8Array | undefined;
791
- } | undefined;
792
- contractAddress?: Uint8Array | undefined;
793
- entryPointSelector?: Uint8Array | undefined;
794
- calldata?: Uint8Array[] | undefined;
795
- } | undefined;
796
- deploy?: {
797
- common?: {
798
- hash?: Uint8Array | undefined;
799
- maxFee?: Uint8Array | undefined;
800
- signature?: Uint8Array[] | undefined;
801
- nonce?: Uint8Array | undefined;
802
- version?: Uint8Array | undefined;
803
- } | undefined;
804
- constructorCalldata?: Uint8Array[] | undefined;
805
- contractAddress?: Uint8Array | undefined;
806
- contractAddressSalt?: Uint8Array | undefined;
807
- classHash?: Uint8Array | undefined;
808
- } | undefined;
809
- declare?: {
810
- common?: {
811
- hash?: Uint8Array | undefined;
812
- maxFee?: Uint8Array | undefined;
813
- signature?: Uint8Array[] | undefined;
814
- nonce?: Uint8Array | undefined;
815
- version?: Uint8Array | undefined;
816
- } | undefined;
817
- classHash?: Uint8Array | undefined;
818
- senderAddress?: Uint8Array | undefined;
819
- } | undefined;
820
- l1Handler?: {
821
- common?: {
822
- hash?: Uint8Array | undefined;
823
- maxFee?: Uint8Array | undefined;
824
- signature?: Uint8Array[] | undefined;
825
- nonce?: Uint8Array | undefined;
826
- version?: Uint8Array | undefined;
827
- } | undefined;
828
- contractAddress?: Uint8Array | undefined;
829
- entryPointSelector?: Uint8Array | undefined;
830
- calldata?: Uint8Array[] | undefined;
831
- } | undefined;
832
- deployAccount?: {
833
- common?: {
834
- hash?: Uint8Array | undefined;
835
- maxFee?: Uint8Array | undefined;
836
- signature?: Uint8Array[] | undefined;
837
- nonce?: Uint8Array | undefined;
838
- version?: Uint8Array | undefined;
839
- } | undefined;
840
- constructorCalldata?: Uint8Array[] | undefined;
841
- contractAddress?: Uint8Array | undefined;
842
- contractAddressSalt?: Uint8Array | undefined;
843
- classHash?: Uint8Array | undefined;
844
- } | undefined;
845
- } & {
846
- invoke?: ({
847
- common?: {
848
- hash?: Uint8Array | undefined;
849
- maxFee?: Uint8Array | undefined;
850
- signature?: Uint8Array[] | undefined;
851
- nonce?: Uint8Array | undefined;
852
- version?: Uint8Array | undefined;
853
- } | undefined;
854
- contractAddress?: Uint8Array | undefined;
855
- entryPointSelector?: Uint8Array | undefined;
856
- calldata?: Uint8Array[] | undefined;
857
- } & {
858
- common?: ({
859
- hash?: Uint8Array | undefined;
860
- maxFee?: Uint8Array | undefined;
861
- signature?: Uint8Array[] | undefined;
862
- nonce?: Uint8Array | undefined;
863
- version?: Uint8Array | undefined;
864
- } & {
865
- hash?: Uint8Array | undefined;
866
- maxFee?: Uint8Array | undefined;
867
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["invoke"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
868
- nonce?: Uint8Array | undefined;
869
- version?: Uint8Array | undefined;
870
- } & { [K_1 in Exclude<keyof I["invoke"]["common"], keyof TransactionCommon>]: never; }) | undefined;
871
- contractAddress?: Uint8Array | undefined;
872
- entryPointSelector?: Uint8Array | undefined;
873
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["invoke"]["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
874
- } & { [K_3 in Exclude<keyof I["invoke"], keyof InvokeTransaction>]: never; }) | undefined;
875
- deploy?: ({
876
- common?: {
877
- hash?: Uint8Array | undefined;
878
- maxFee?: Uint8Array | undefined;
879
- signature?: Uint8Array[] | undefined;
880
- nonce?: Uint8Array | undefined;
881
- version?: Uint8Array | undefined;
882
- } | undefined;
883
- constructorCalldata?: Uint8Array[] | undefined;
884
- contractAddress?: Uint8Array | undefined;
885
- contractAddressSalt?: Uint8Array | undefined;
886
- classHash?: Uint8Array | undefined;
887
- } & {
888
- common?: ({
889
- hash?: Uint8Array | undefined;
890
- maxFee?: Uint8Array | undefined;
891
- signature?: Uint8Array[] | undefined;
892
- nonce?: Uint8Array | undefined;
893
- version?: Uint8Array | undefined;
894
- } & {
895
- hash?: Uint8Array | undefined;
896
- maxFee?: Uint8Array | undefined;
897
- signature?: (Uint8Array[] & Uint8Array[] & { [K_4 in Exclude<keyof I["deploy"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
898
- nonce?: Uint8Array | undefined;
899
- version?: Uint8Array | undefined;
900
- } & { [K_5 in Exclude<keyof I["deploy"]["common"], keyof TransactionCommon>]: never; }) | undefined;
901
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_6 in Exclude<keyof I["deploy"]["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
902
- contractAddress?: Uint8Array | undefined;
903
- contractAddressSalt?: Uint8Array | undefined;
904
- classHash?: Uint8Array | undefined;
905
- } & { [K_7 in Exclude<keyof I["deploy"], keyof DeployTransaction>]: never; }) | undefined;
906
- declare?: ({
907
- common?: {
908
- hash?: Uint8Array | undefined;
909
- maxFee?: Uint8Array | undefined;
910
- signature?: Uint8Array[] | undefined;
911
- nonce?: Uint8Array | undefined;
912
- version?: Uint8Array | undefined;
913
- } | undefined;
914
- classHash?: Uint8Array | undefined;
915
- senderAddress?: Uint8Array | undefined;
916
- } & {
917
- common?: ({
918
- hash?: Uint8Array | undefined;
919
- maxFee?: Uint8Array | undefined;
920
- signature?: Uint8Array[] | undefined;
921
- nonce?: Uint8Array | undefined;
922
- version?: Uint8Array | undefined;
923
- } & {
924
- hash?: Uint8Array | undefined;
925
- maxFee?: Uint8Array | undefined;
926
- signature?: (Uint8Array[] & Uint8Array[] & { [K_8 in Exclude<keyof I["declare"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
927
- nonce?: Uint8Array | undefined;
928
- version?: Uint8Array | undefined;
929
- } & { [K_9 in Exclude<keyof I["declare"]["common"], keyof TransactionCommon>]: never; }) | undefined;
930
- classHash?: Uint8Array | undefined;
931
- senderAddress?: Uint8Array | undefined;
932
- } & { [K_10 in Exclude<keyof I["declare"], keyof DeclareTransaction>]: never; }) | undefined;
933
- l1Handler?: ({
934
- common?: {
935
- hash?: Uint8Array | undefined;
936
- maxFee?: Uint8Array | undefined;
937
- signature?: Uint8Array[] | undefined;
938
- nonce?: Uint8Array | undefined;
939
- version?: Uint8Array | undefined;
940
- } | undefined;
941
- contractAddress?: Uint8Array | undefined;
942
- entryPointSelector?: Uint8Array | undefined;
943
- calldata?: Uint8Array[] | undefined;
944
- } & {
945
- common?: ({
946
- hash?: Uint8Array | undefined;
947
- maxFee?: Uint8Array | undefined;
948
- signature?: Uint8Array[] | undefined;
949
- nonce?: Uint8Array | undefined;
950
- version?: Uint8Array | undefined;
951
- } & {
952
- hash?: Uint8Array | undefined;
953
- maxFee?: Uint8Array | undefined;
954
- signature?: (Uint8Array[] & Uint8Array[] & { [K_11 in Exclude<keyof I["l1Handler"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
955
- nonce?: Uint8Array | undefined;
956
- version?: Uint8Array | undefined;
957
- } & { [K_12 in Exclude<keyof I["l1Handler"]["common"], keyof TransactionCommon>]: never; }) | undefined;
958
- contractAddress?: Uint8Array | undefined;
959
- entryPointSelector?: Uint8Array | undefined;
960
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_13 in Exclude<keyof I["l1Handler"]["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
961
- } & { [K_14 in Exclude<keyof I["l1Handler"], keyof L1HandlerTransaction>]: never; }) | undefined;
962
- deployAccount?: ({
963
- common?: {
964
- hash?: Uint8Array | undefined;
965
- maxFee?: Uint8Array | undefined;
966
- signature?: Uint8Array[] | undefined;
967
- nonce?: Uint8Array | undefined;
968
- version?: Uint8Array | undefined;
969
- } | undefined;
970
- constructorCalldata?: Uint8Array[] | undefined;
971
- contractAddress?: Uint8Array | undefined;
972
- contractAddressSalt?: Uint8Array | undefined;
973
- classHash?: Uint8Array | undefined;
974
- } & {
975
- common?: ({
976
- hash?: Uint8Array | undefined;
977
- maxFee?: Uint8Array | undefined;
978
- signature?: Uint8Array[] | undefined;
979
- nonce?: Uint8Array | undefined;
980
- version?: Uint8Array | undefined;
981
- } & {
982
- hash?: Uint8Array | undefined;
983
- maxFee?: Uint8Array | undefined;
984
- signature?: (Uint8Array[] & Uint8Array[] & { [K_15 in Exclude<keyof I["deployAccount"]["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
985
- nonce?: Uint8Array | undefined;
986
- version?: Uint8Array | undefined;
987
- } & { [K_16 in Exclude<keyof I["deployAccount"]["common"], keyof TransactionCommon>]: never; }) | undefined;
988
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_17 in Exclude<keyof I["deployAccount"]["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
989
- contractAddress?: Uint8Array | undefined;
990
- contractAddressSalt?: Uint8Array | undefined;
991
- classHash?: Uint8Array | undefined;
992
- } & { [K_18 in Exclude<keyof I["deployAccount"], keyof DeployAccountTransaction>]: never; }) | undefined;
993
- } & { [K_19 in Exclude<keyof I, keyof Transaction>]: never; }>(object: I): Transaction;
994
- };
995
- export declare const TransactionCommon: {
996
- encode(message: TransactionCommon, writer?: _m0.Writer): _m0.Writer;
997
- decode(input: _m0.Reader | Uint8Array, length?: number): TransactionCommon;
998
- fromJSON(object: any): TransactionCommon;
999
- toJSON(message: TransactionCommon): unknown;
1000
- fromPartial<I extends {
1001
- hash?: Uint8Array | undefined;
1002
- maxFee?: Uint8Array | undefined;
1003
- signature?: Uint8Array[] | undefined;
1004
- nonce?: Uint8Array | undefined;
1005
- version?: Uint8Array | undefined;
1006
- } & {
1007
- hash?: Uint8Array | undefined;
1008
- maxFee?: Uint8Array | undefined;
1009
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1010
- nonce?: Uint8Array | undefined;
1011
- version?: Uint8Array | undefined;
1012
- } & { [K_1 in Exclude<keyof I, keyof TransactionCommon>]: never; }>(object: I): TransactionCommon;
1013
- };
1014
- export declare const InvokeTransaction: {
1015
- encode(message: InvokeTransaction, writer?: _m0.Writer): _m0.Writer;
1016
- decode(input: _m0.Reader | Uint8Array, length?: number): InvokeTransaction;
1017
- fromJSON(object: any): InvokeTransaction;
1018
- toJSON(message: InvokeTransaction): unknown;
1019
- fromPartial<I extends {
1020
- common?: {
1021
- hash?: Uint8Array | undefined;
1022
- maxFee?: Uint8Array | undefined;
1023
- signature?: Uint8Array[] | undefined;
1024
- nonce?: Uint8Array | undefined;
1025
- version?: Uint8Array | undefined;
1026
- } | undefined;
1027
- contractAddress?: Uint8Array | undefined;
1028
- entryPointSelector?: Uint8Array | undefined;
1029
- calldata?: Uint8Array[] | undefined;
1030
- } & {
1031
- common?: ({
1032
- hash?: Uint8Array | undefined;
1033
- maxFee?: Uint8Array | undefined;
1034
- signature?: Uint8Array[] | undefined;
1035
- nonce?: Uint8Array | undefined;
1036
- version?: Uint8Array | undefined;
1037
- } & {
1038
- hash?: Uint8Array | undefined;
1039
- maxFee?: Uint8Array | undefined;
1040
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1041
- nonce?: Uint8Array | undefined;
1042
- version?: Uint8Array | undefined;
1043
- } & { [K_1 in Exclude<keyof I["common"], keyof TransactionCommon>]: never; }) | undefined;
1044
- contractAddress?: Uint8Array | undefined;
1045
- entryPointSelector?: Uint8Array | undefined;
1046
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
1047
- } & { [K_3 in Exclude<keyof I, keyof InvokeTransaction>]: never; }>(object: I): InvokeTransaction;
1048
- };
1049
- export declare const DeclareTransaction: {
1050
- encode(message: DeclareTransaction, writer?: _m0.Writer): _m0.Writer;
1051
- decode(input: _m0.Reader | Uint8Array, length?: number): DeclareTransaction;
1052
- fromJSON(object: any): DeclareTransaction;
1053
- toJSON(message: DeclareTransaction): unknown;
1054
- fromPartial<I extends {
1055
- common?: {
1056
- hash?: Uint8Array | undefined;
1057
- maxFee?: Uint8Array | undefined;
1058
- signature?: Uint8Array[] | undefined;
1059
- nonce?: Uint8Array | undefined;
1060
- version?: Uint8Array | undefined;
1061
- } | undefined;
1062
- classHash?: Uint8Array | undefined;
1063
- senderAddress?: Uint8Array | undefined;
1064
- } & {
1065
- common?: ({
1066
- hash?: Uint8Array | undefined;
1067
- maxFee?: Uint8Array | undefined;
1068
- signature?: Uint8Array[] | undefined;
1069
- nonce?: Uint8Array | undefined;
1070
- version?: Uint8Array | undefined;
1071
- } & {
1072
- hash?: Uint8Array | undefined;
1073
- maxFee?: Uint8Array | undefined;
1074
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1075
- nonce?: Uint8Array | undefined;
1076
- version?: Uint8Array | undefined;
1077
- } & { [K_1 in Exclude<keyof I["common"], keyof TransactionCommon>]: never; }) | undefined;
1078
- classHash?: Uint8Array | undefined;
1079
- senderAddress?: Uint8Array | undefined;
1080
- } & { [K_2 in Exclude<keyof I, keyof DeclareTransaction>]: never; }>(object: I): DeclareTransaction;
1081
- };
1082
- export declare const DeployTransaction: {
1083
- encode(message: DeployTransaction, writer?: _m0.Writer): _m0.Writer;
1084
- decode(input: _m0.Reader | Uint8Array, length?: number): DeployTransaction;
1085
- fromJSON(object: any): DeployTransaction;
1086
- toJSON(message: DeployTransaction): unknown;
1087
- fromPartial<I extends {
1088
- common?: {
1089
- hash?: Uint8Array | undefined;
1090
- maxFee?: Uint8Array | undefined;
1091
- signature?: Uint8Array[] | undefined;
1092
- nonce?: Uint8Array | undefined;
1093
- version?: Uint8Array | undefined;
1094
- } | undefined;
1095
- constructorCalldata?: Uint8Array[] | undefined;
1096
- contractAddress?: Uint8Array | undefined;
1097
- contractAddressSalt?: Uint8Array | undefined;
1098
- classHash?: Uint8Array | undefined;
1099
- } & {
1100
- common?: ({
1101
- hash?: Uint8Array | undefined;
1102
- maxFee?: Uint8Array | undefined;
1103
- signature?: Uint8Array[] | undefined;
1104
- nonce?: Uint8Array | undefined;
1105
- version?: Uint8Array | undefined;
1106
- } & {
1107
- hash?: Uint8Array | undefined;
1108
- maxFee?: Uint8Array | undefined;
1109
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1110
- nonce?: Uint8Array | undefined;
1111
- version?: Uint8Array | undefined;
1112
- } & { [K_1 in Exclude<keyof I["common"], keyof TransactionCommon>]: never; }) | undefined;
1113
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
1114
- contractAddress?: Uint8Array | undefined;
1115
- contractAddressSalt?: Uint8Array | undefined;
1116
- classHash?: Uint8Array | undefined;
1117
- } & { [K_3 in Exclude<keyof I, keyof DeployTransaction>]: never; }>(object: I): DeployTransaction;
1118
- };
1119
- export declare const L1HandlerTransaction: {
1120
- encode(message: L1HandlerTransaction, writer?: _m0.Writer): _m0.Writer;
1121
- decode(input: _m0.Reader | Uint8Array, length?: number): L1HandlerTransaction;
1122
- fromJSON(object: any): L1HandlerTransaction;
1123
- toJSON(message: L1HandlerTransaction): unknown;
1124
- fromPartial<I extends {
1125
- common?: {
1126
- hash?: Uint8Array | undefined;
1127
- maxFee?: Uint8Array | undefined;
1128
- signature?: Uint8Array[] | undefined;
1129
- nonce?: Uint8Array | undefined;
1130
- version?: Uint8Array | undefined;
1131
- } | undefined;
1132
- contractAddress?: Uint8Array | undefined;
1133
- entryPointSelector?: Uint8Array | undefined;
1134
- calldata?: Uint8Array[] | undefined;
1135
- } & {
1136
- common?: ({
1137
- hash?: Uint8Array | undefined;
1138
- maxFee?: Uint8Array | undefined;
1139
- signature?: Uint8Array[] | undefined;
1140
- nonce?: Uint8Array | undefined;
1141
- version?: Uint8Array | undefined;
1142
- } & {
1143
- hash?: Uint8Array | undefined;
1144
- maxFee?: Uint8Array | undefined;
1145
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1146
- nonce?: Uint8Array | undefined;
1147
- version?: Uint8Array | undefined;
1148
- } & { [K_1 in Exclude<keyof I["common"], keyof TransactionCommon>]: never; }) | undefined;
1149
- contractAddress?: Uint8Array | undefined;
1150
- entryPointSelector?: Uint8Array | undefined;
1151
- calldata?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["calldata"], keyof Uint8Array[]>]: never; }) | undefined;
1152
- } & { [K_3 in Exclude<keyof I, keyof L1HandlerTransaction>]: never; }>(object: I): L1HandlerTransaction;
1153
- };
1154
- export declare const DeployAccountTransaction: {
1155
- encode(message: DeployAccountTransaction, writer?: _m0.Writer): _m0.Writer;
1156
- decode(input: _m0.Reader | Uint8Array, length?: number): DeployAccountTransaction;
1157
- fromJSON(object: any): DeployAccountTransaction;
1158
- toJSON(message: DeployAccountTransaction): unknown;
1159
- fromPartial<I extends {
1160
- common?: {
1161
- hash?: Uint8Array | undefined;
1162
- maxFee?: Uint8Array | undefined;
1163
- signature?: Uint8Array[] | undefined;
1164
- nonce?: Uint8Array | undefined;
1165
- version?: Uint8Array | undefined;
1166
- } | undefined;
1167
- constructorCalldata?: Uint8Array[] | undefined;
1168
- contractAddress?: Uint8Array | undefined;
1169
- contractAddressSalt?: Uint8Array | undefined;
1170
- classHash?: Uint8Array | undefined;
1171
- } & {
1172
- common?: ({
1173
- hash?: Uint8Array | undefined;
1174
- maxFee?: Uint8Array | undefined;
1175
- signature?: Uint8Array[] | undefined;
1176
- nonce?: Uint8Array | undefined;
1177
- version?: Uint8Array | undefined;
1178
- } & {
1179
- hash?: Uint8Array | undefined;
1180
- maxFee?: Uint8Array | undefined;
1181
- signature?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["common"]["signature"], keyof Uint8Array[]>]: never; }) | undefined;
1182
- nonce?: Uint8Array | undefined;
1183
- version?: Uint8Array | undefined;
1184
- } & { [K_1 in Exclude<keyof I["common"], keyof TransactionCommon>]: never; }) | undefined;
1185
- constructorCalldata?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["constructorCalldata"], keyof Uint8Array[]>]: never; }) | undefined;
1186
- contractAddress?: Uint8Array | undefined;
1187
- contractAddressSalt?: Uint8Array | undefined;
1188
- classHash?: Uint8Array | undefined;
1189
- } & { [K_3 in Exclude<keyof I, keyof DeployAccountTransaction>]: never; }>(object: I): DeployAccountTransaction;
1190
- };
1191
- export declare const TransactionReceipt: {
1192
- encode(message: TransactionReceipt, writer?: _m0.Writer): _m0.Writer;
1193
- decode(input: _m0.Reader | Uint8Array, length?: number): TransactionReceipt;
1194
- fromJSON(object: any): TransactionReceipt;
1195
- toJSON(message: TransactionReceipt): unknown;
1196
- fromPartial<I extends {
1197
- transactionHash?: Uint8Array | undefined;
1198
- transactionIndex?: number | undefined;
1199
- actualFee?: Uint8Array | undefined;
1200
- executionResources?: {
1201
- nSteps?: number | undefined;
1202
- nMemoryHoles?: number | undefined;
1203
- builtinInstanceCounter?: {
1204
- pedersenBuiltin?: number | undefined;
1205
- rangeCheckBuiltin?: number | undefined;
1206
- bitwiseBuiltin?: number | undefined;
1207
- outputBuiltin?: number | undefined;
1208
- ecdsaBuiltin?: number | undefined;
1209
- ecOpBuiltin?: number | undefined;
1210
- } | undefined;
1211
- } | undefined;
1212
- l1ToL2ConsumedMessage?: {
1213
- fromAddress?: Uint8Array | undefined;
1214
- toAddress?: Uint8Array | undefined;
1215
- selector?: Uint8Array | undefined;
1216
- payload?: Uint8Array[] | undefined;
1217
- nonce?: Uint8Array | undefined;
1218
- } | undefined;
1219
- l2ToL1Messages?: {
1220
- fromAddress?: Uint8Array | undefined;
1221
- toAddress?: Uint8Array | undefined;
1222
- payload?: Uint8Array[] | undefined;
1223
- }[] | undefined;
1224
- events?: {
1225
- fromAddress?: Uint8Array | undefined;
1226
- keys?: Uint8Array[] | undefined;
1227
- data?: Uint8Array[] | undefined;
1228
- }[] | undefined;
1229
- } & {
1230
- transactionHash?: Uint8Array | undefined;
1231
- transactionIndex?: number | undefined;
1232
- actualFee?: Uint8Array | undefined;
1233
- executionResources?: ({
1234
- nSteps?: number | undefined;
1235
- nMemoryHoles?: number | undefined;
1236
- builtinInstanceCounter?: {
1237
- pedersenBuiltin?: number | undefined;
1238
- rangeCheckBuiltin?: number | undefined;
1239
- bitwiseBuiltin?: number | undefined;
1240
- outputBuiltin?: number | undefined;
1241
- ecdsaBuiltin?: number | undefined;
1242
- ecOpBuiltin?: number | undefined;
1243
- } | undefined;
1244
- } & {
1245
- nSteps?: number | undefined;
1246
- nMemoryHoles?: number | undefined;
1247
- builtinInstanceCounter?: ({
1248
- pedersenBuiltin?: number | undefined;
1249
- rangeCheckBuiltin?: number | undefined;
1250
- bitwiseBuiltin?: number | undefined;
1251
- outputBuiltin?: number | undefined;
1252
- ecdsaBuiltin?: number | undefined;
1253
- ecOpBuiltin?: number | undefined;
1254
- } & {
1255
- pedersenBuiltin?: number | undefined;
1256
- rangeCheckBuiltin?: number | undefined;
1257
- bitwiseBuiltin?: number | undefined;
1258
- outputBuiltin?: number | undefined;
1259
- ecdsaBuiltin?: number | undefined;
1260
- ecOpBuiltin?: number | undefined;
1261
- } & { [K in Exclude<keyof I["executionResources"]["builtinInstanceCounter"], keyof BuiltinInstanceCounter>]: never; }) | undefined;
1262
- } & { [K_1 in Exclude<keyof I["executionResources"], keyof ExecutionResources>]: never; }) | undefined;
1263
- l1ToL2ConsumedMessage?: ({
1264
- fromAddress?: Uint8Array | undefined;
1265
- toAddress?: Uint8Array | undefined;
1266
- selector?: Uint8Array | undefined;
1267
- payload?: Uint8Array[] | undefined;
1268
- nonce?: Uint8Array | undefined;
1269
- } & {
1270
- fromAddress?: Uint8Array | undefined;
1271
- toAddress?: Uint8Array | undefined;
1272
- selector?: Uint8Array | undefined;
1273
- payload?: (Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I["l1ToL2ConsumedMessage"]["payload"], keyof Uint8Array[]>]: never; }) | undefined;
1274
- nonce?: Uint8Array | undefined;
1275
- } & { [K_3 in Exclude<keyof I["l1ToL2ConsumedMessage"], keyof L1ToL2Message>]: never; }) | undefined;
1276
- l2ToL1Messages?: ({
1277
- fromAddress?: Uint8Array | undefined;
1278
- toAddress?: Uint8Array | undefined;
1279
- payload?: Uint8Array[] | undefined;
1280
- }[] & ({
1281
- fromAddress?: Uint8Array | undefined;
1282
- toAddress?: Uint8Array | undefined;
1283
- payload?: Uint8Array[] | undefined;
1284
- } & {
1285
- fromAddress?: Uint8Array | undefined;
1286
- toAddress?: Uint8Array | undefined;
1287
- payload?: (Uint8Array[] & Uint8Array[] & { [K_4 in Exclude<keyof I["l2ToL1Messages"][number]["payload"], keyof Uint8Array[]>]: never; }) | undefined;
1288
- } & { [K_5 in Exclude<keyof I["l2ToL1Messages"][number], keyof L2ToL1Message>]: never; })[] & { [K_6 in Exclude<keyof I["l2ToL1Messages"], keyof {
1289
- fromAddress?: Uint8Array | undefined;
1290
- toAddress?: Uint8Array | undefined;
1291
- payload?: Uint8Array[] | undefined;
1292
- }[]>]: never; }) | undefined;
1293
- events?: ({
1294
- fromAddress?: Uint8Array | undefined;
1295
- keys?: Uint8Array[] | undefined;
1296
- data?: Uint8Array[] | undefined;
1297
- }[] & ({
1298
- fromAddress?: Uint8Array | undefined;
1299
- keys?: Uint8Array[] | undefined;
1300
- data?: Uint8Array[] | undefined;
1301
- } & {
1302
- fromAddress?: Uint8Array | undefined;
1303
- keys?: (Uint8Array[] & Uint8Array[] & { [K_7 in Exclude<keyof I["events"][number]["keys"], keyof Uint8Array[]>]: never; }) | undefined;
1304
- data?: (Uint8Array[] & Uint8Array[] & { [K_8 in Exclude<keyof I["events"][number]["data"], keyof Uint8Array[]>]: never; }) | undefined;
1305
- } & { [K_9 in Exclude<keyof I["events"][number], keyof Event>]: never; })[] & { [K_10 in Exclude<keyof I["events"], keyof {
1306
- fromAddress?: Uint8Array | undefined;
1307
- keys?: Uint8Array[] | undefined;
1308
- data?: Uint8Array[] | undefined;
1309
- }[]>]: never; }) | undefined;
1310
- } & { [K_11 in Exclude<keyof I, keyof TransactionReceipt>]: never; }>(object: I): TransactionReceipt;
1311
- };
1312
- export declare const ExecutionResources: {
1313
- encode(message: ExecutionResources, writer?: _m0.Writer): _m0.Writer;
1314
- decode(input: _m0.Reader | Uint8Array, length?: number): ExecutionResources;
1315
- fromJSON(object: any): ExecutionResources;
1316
- toJSON(message: ExecutionResources): unknown;
1317
- fromPartial<I extends {
1318
- nSteps?: number | undefined;
1319
- nMemoryHoles?: number | undefined;
1320
- builtinInstanceCounter?: {
1321
- pedersenBuiltin?: number | undefined;
1322
- rangeCheckBuiltin?: number | undefined;
1323
- bitwiseBuiltin?: number | undefined;
1324
- outputBuiltin?: number | undefined;
1325
- ecdsaBuiltin?: number | undefined;
1326
- ecOpBuiltin?: number | undefined;
1327
- } | undefined;
1328
- } & {
1329
- nSteps?: number | undefined;
1330
- nMemoryHoles?: number | undefined;
1331
- builtinInstanceCounter?: ({
1332
- pedersenBuiltin?: number | undefined;
1333
- rangeCheckBuiltin?: number | undefined;
1334
- bitwiseBuiltin?: number | undefined;
1335
- outputBuiltin?: number | undefined;
1336
- ecdsaBuiltin?: number | undefined;
1337
- ecOpBuiltin?: number | undefined;
1338
- } & {
1339
- pedersenBuiltin?: number | undefined;
1340
- rangeCheckBuiltin?: number | undefined;
1341
- bitwiseBuiltin?: number | undefined;
1342
- outputBuiltin?: number | undefined;
1343
- ecdsaBuiltin?: number | undefined;
1344
- ecOpBuiltin?: number | undefined;
1345
- } & { [K in Exclude<keyof I["builtinInstanceCounter"], keyof BuiltinInstanceCounter>]: never; }) | undefined;
1346
- } & { [K_1 in Exclude<keyof I, keyof ExecutionResources>]: never; }>(object: I): ExecutionResources;
1347
- };
1348
- export declare const BuiltinInstanceCounter: {
1349
- encode(message: BuiltinInstanceCounter, writer?: _m0.Writer): _m0.Writer;
1350
- decode(input: _m0.Reader | Uint8Array, length?: number): BuiltinInstanceCounter;
1351
- fromJSON(object: any): BuiltinInstanceCounter;
1352
- toJSON(message: BuiltinInstanceCounter): unknown;
1353
- fromPartial<I extends {
1354
- pedersenBuiltin?: number | undefined;
1355
- rangeCheckBuiltin?: number | undefined;
1356
- bitwiseBuiltin?: number | undefined;
1357
- outputBuiltin?: number | undefined;
1358
- ecdsaBuiltin?: number | undefined;
1359
- ecOpBuiltin?: number | undefined;
1360
- } & {
1361
- pedersenBuiltin?: number | undefined;
1362
- rangeCheckBuiltin?: number | undefined;
1363
- bitwiseBuiltin?: number | undefined;
1364
- outputBuiltin?: number | undefined;
1365
- ecdsaBuiltin?: number | undefined;
1366
- ecOpBuiltin?: number | undefined;
1367
- } & { [K in Exclude<keyof I, keyof BuiltinInstanceCounter>]: never; }>(object: I): BuiltinInstanceCounter;
1368
- };
1369
- export declare const L1ToL2Message: {
1370
- encode(message: L1ToL2Message, writer?: _m0.Writer): _m0.Writer;
1371
- decode(input: _m0.Reader | Uint8Array, length?: number): L1ToL2Message;
1372
- fromJSON(object: any): L1ToL2Message;
1373
- toJSON(message: L1ToL2Message): unknown;
1374
- fromPartial<I extends {
1375
- fromAddress?: Uint8Array | undefined;
1376
- toAddress?: Uint8Array | undefined;
1377
- selector?: Uint8Array | undefined;
1378
- payload?: Uint8Array[] | undefined;
1379
- nonce?: Uint8Array | undefined;
1380
- } & {
1381
- fromAddress?: Uint8Array | undefined;
1382
- toAddress?: Uint8Array | undefined;
1383
- selector?: Uint8Array | undefined;
1384
- payload?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["payload"], keyof Uint8Array[]>]: never; }) | undefined;
1385
- nonce?: Uint8Array | undefined;
1386
- } & { [K_1 in Exclude<keyof I, keyof L1ToL2Message>]: never; }>(object: I): L1ToL2Message;
1387
- };
1388
- export declare const L2ToL1Message: {
1389
- encode(message: L2ToL1Message, writer?: _m0.Writer): _m0.Writer;
1390
- decode(input: _m0.Reader | Uint8Array, length?: number): L2ToL1Message;
1391
- fromJSON(object: any): L2ToL1Message;
1392
- toJSON(message: L2ToL1Message): unknown;
1393
- fromPartial<I extends {
1394
- fromAddress?: Uint8Array | undefined;
1395
- toAddress?: Uint8Array | undefined;
1396
- payload?: Uint8Array[] | undefined;
1397
- } & {
1398
- fromAddress?: Uint8Array | undefined;
1399
- toAddress?: Uint8Array | undefined;
1400
- payload?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["payload"], keyof Uint8Array[]>]: never; }) | undefined;
1401
- } & { [K_1 in Exclude<keyof I, keyof L2ToL1Message>]: never; }>(object: I): L2ToL1Message;
1402
- };
1403
- export declare const Event: {
1404
- encode(message: Event, writer?: _m0.Writer): _m0.Writer;
1405
- decode(input: _m0.Reader | Uint8Array, length?: number): Event;
1406
- fromJSON(object: any): Event;
1407
- toJSON(message: Event): unknown;
1408
- fromPartial<I extends {
1409
- fromAddress?: Uint8Array | undefined;
1410
- keys?: Uint8Array[] | undefined;
1411
- data?: Uint8Array[] | undefined;
1412
- } & {
1413
- fromAddress?: Uint8Array | undefined;
1414
- keys?: (Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["keys"], keyof Uint8Array[]>]: never; }) | undefined;
1415
- data?: (Uint8Array[] & Uint8Array[] & { [K_1 in Exclude<keyof I["data"], keyof Uint8Array[]>]: never; }) | undefined;
1416
- } & { [K_2 in Exclude<keyof I, keyof Event>]: never; }>(object: I): Event;
1417
- };
1418
- declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1419
- export declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1420
- [K in keyof T]?: DeepPartial<T[K]>;
1421
- } : Partial<T>;
1422
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
1423
- export declare type Exact<P, I extends P> = P extends Builtin ? P : P & {
1424
- [K in keyof P]: Exact<P[K], I[K]>;
1425
- } & {
1426
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1427
- };
1428
- export {};