viem 2.22.5 → 2.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +8 -2
- package/_cjs/chains/definitions/huddle01Mainnet.js +29 -0
- package/_cjs/chains/definitions/huddle01Mainnet.js.map +1 -0
- package/_cjs/chains/definitions/huddle01Testnet.js +29 -0
- package/_cjs/chains/definitions/huddle01Testnet.js.map +1 -0
- package/_cjs/chains/definitions/kroma.js +6 -0
- package/_cjs/chains/definitions/kroma.js.map +1 -1
- package/_cjs/chains/definitions/kromaSepolia.js +6 -0
- package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
- package/_cjs/chains/index.js +11 -7
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip7702/actions/prepareAuthorization.js +9 -8
- package/_cjs/experimental/eip7702/actions/prepareAuthorization.js.map +1 -1
- package/_cjs/zksync/actions/requestExecute.js +112 -0
- package/_cjs/zksync/actions/requestExecute.js.map +1 -0
- package/_cjs/zksync/constants/abis.js +3039 -1
- package/_cjs/zksync/constants/abis.js.map +1 -1
- package/_cjs/zksync/constants/number.js +2 -1
- package/_cjs/zksync/constants/number.js.map +1 -1
- package/_cjs/zksync/decorators/walletL1.js +10 -0
- package/_cjs/zksync/decorators/walletL1.js.map +1 -0
- package/_cjs/zksync/errors/bridge.js +24 -0
- package/_cjs/zksync/errors/bridge.js.map +1 -0
- package/_cjs/zksync/index.js +8 -1
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/utils/bridge/getL2HashFromPriorityOp.js +28 -0
- package/_cjs/zksync/utils/bridge/getL2HashFromPriorityOp.js.map +1 -0
- package/_esm/chains/definitions/huddle01Mainnet.js +26 -0
- package/_esm/chains/definitions/huddle01Mainnet.js.map +1 -0
- package/_esm/chains/definitions/huddle01Testnet.js +26 -0
- package/_esm/chains/definitions/huddle01Testnet.js.map +1 -0
- package/_esm/chains/definitions/kroma.js +6 -0
- package/_esm/chains/definitions/kroma.js.map +1 -1
- package/_esm/chains/definitions/kromaSepolia.js +6 -0
- package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
- package/_esm/chains/index.js +4 -1
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip7702/actions/prepareAuthorization.js +9 -8
- package/_esm/experimental/eip7702/actions/prepareAuthorization.js.map +1 -1
- package/_esm/zksync/actions/requestExecute.js +167 -0
- package/_esm/zksync/actions/requestExecute.js.map +1 -0
- package/_esm/zksync/constants/abis.js +3038 -0
- package/_esm/zksync/constants/abis.js.map +1 -1
- package/_esm/zksync/constants/number.js +1 -0
- package/_esm/zksync/constants/number.js.map +1 -1
- package/_esm/zksync/decorators/walletL1.js +7 -0
- package/_esm/zksync/decorators/walletL1.js.map +1 -0
- package/_esm/zksync/errors/bridge.js +19 -0
- package/_esm/zksync/errors/bridge.js.map +1 -0
- package/_esm/zksync/index.js +3 -0
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/utils/bridge/getL2HashFromPriorityOp.js +53 -0
- package/_esm/zksync/utils/bridge/getL2HashFromPriorityOp.js.map +1 -0
- package/_types/chains/definitions/huddle01Mainnet.d.ts +39 -0
- package/_types/chains/definitions/huddle01Mainnet.d.ts.map +1 -0
- package/_types/chains/definitions/huddle01Testnet.d.ts +39 -0
- package/_types/chains/definitions/huddle01Testnet.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +6 -10
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +6 -10
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/index.d.ts +4 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/experimental/eip7702/actions/prepareAuthorization.d.ts +5 -1
- package/_types/experimental/eip7702/actions/prepareAuthorization.d.ts.map +1 -1
- package/_types/zksync/actions/requestExecute.d.ts +95 -0
- package/_types/zksync/actions/requestExecute.d.ts.map +1 -0
- package/_types/zksync/constants/abis.d.ts +2356 -0
- package/_types/zksync/constants/abis.d.ts.map +1 -1
- package/_types/zksync/constants/number.d.ts +1 -0
- package/_types/zksync/constants/number.d.ts.map +1 -1
- package/_types/zksync/decorators/walletL1.d.ts +41 -0
- package/_types/zksync/decorators/walletL1.d.ts.map +1 -0
- package/_types/zksync/errors/bridge.d.ts +14 -0
- package/_types/zksync/errors/bridge.d.ts.map +1 -0
- package/_types/zksync/index.d.ts +3 -0
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/utils/bridge/getL2HashFromPriorityOp.d.ts +34 -0
- package/_types/zksync/utils/bridge/getL2HashFromPriorityOp.d.ts.map +1 -0
- package/chains/definitions/huddle01Mainnet.ts +27 -0
- package/chains/definitions/huddle01Testnet.ts +27 -0
- package/chains/definitions/kroma.ts +6 -0
- package/chains/definitions/kromaSepolia.ts +6 -0
- package/chains/index.ts +4 -1
- package/errors/version.ts +1 -1
- package/experimental/eip7702/actions/prepareAuthorization.ts +11 -7
- package/package.json +1 -1
- package/zksync/actions/requestExecute.ts +282 -0
- package/zksync/constants/abis.ts +3040 -0
- package/zksync/constants/number.ts +1 -0
- package/zksync/decorators/walletL1.ts +71 -0
- package/zksync/errors/bridge.ts +29 -0
- package/zksync/index.ts +15 -0
- package/zksync/utils/bridge/getL2HashFromPriorityOp.ts +63 -0
@@ -221,4 +221,2360 @@ export declare const l2SharedBridgeAbi: readonly [{
|
|
221
221
|
readonly stateMutability: "nonpayable";
|
222
222
|
readonly type: "function";
|
223
223
|
}];
|
224
|
+
export declare const bridgehubAbi: readonly [{
|
225
|
+
readonly anonymous: false;
|
226
|
+
readonly inputs: readonly [{
|
227
|
+
readonly indexed: true;
|
228
|
+
readonly internalType: "address";
|
229
|
+
readonly name: "oldAdmin";
|
230
|
+
readonly type: "address";
|
231
|
+
}, {
|
232
|
+
readonly indexed: true;
|
233
|
+
readonly internalType: "address";
|
234
|
+
readonly name: "newAdmin";
|
235
|
+
readonly type: "address";
|
236
|
+
}];
|
237
|
+
readonly name: "NewAdmin";
|
238
|
+
readonly type: "event";
|
239
|
+
}, {
|
240
|
+
readonly anonymous: false;
|
241
|
+
readonly inputs: readonly [{
|
242
|
+
readonly indexed: true;
|
243
|
+
readonly internalType: "uint256";
|
244
|
+
readonly name: "chainId";
|
245
|
+
readonly type: "uint256";
|
246
|
+
}, {
|
247
|
+
readonly indexed: false;
|
248
|
+
readonly internalType: "address";
|
249
|
+
readonly name: "stateTransitionManager";
|
250
|
+
readonly type: "address";
|
251
|
+
}, {
|
252
|
+
readonly indexed: true;
|
253
|
+
readonly internalType: "address";
|
254
|
+
readonly name: "chainGovernance";
|
255
|
+
readonly type: "address";
|
256
|
+
}];
|
257
|
+
readonly name: "NewChain";
|
258
|
+
readonly type: "event";
|
259
|
+
}, {
|
260
|
+
readonly anonymous: false;
|
261
|
+
readonly inputs: readonly [{
|
262
|
+
readonly indexed: true;
|
263
|
+
readonly internalType: "address";
|
264
|
+
readonly name: "oldPendingAdmin";
|
265
|
+
readonly type: "address";
|
266
|
+
}, {
|
267
|
+
readonly indexed: true;
|
268
|
+
readonly internalType: "address";
|
269
|
+
readonly name: "newPendingAdmin";
|
270
|
+
readonly type: "address";
|
271
|
+
}];
|
272
|
+
readonly name: "NewPendingAdmin";
|
273
|
+
readonly type: "event";
|
274
|
+
}, {
|
275
|
+
readonly inputs: readonly [];
|
276
|
+
readonly name: "acceptAdmin";
|
277
|
+
readonly outputs: readonly [];
|
278
|
+
readonly stateMutability: "nonpayable";
|
279
|
+
readonly type: "function";
|
280
|
+
}, {
|
281
|
+
readonly inputs: readonly [{
|
282
|
+
readonly internalType: "address";
|
283
|
+
readonly name: "_stateTransitionManager";
|
284
|
+
readonly type: "address";
|
285
|
+
}];
|
286
|
+
readonly name: "addStateTransitionManager";
|
287
|
+
readonly outputs: readonly [];
|
288
|
+
readonly stateMutability: "nonpayable";
|
289
|
+
readonly type: "function";
|
290
|
+
}, {
|
291
|
+
readonly inputs: readonly [{
|
292
|
+
readonly internalType: "address";
|
293
|
+
readonly name: "_token";
|
294
|
+
readonly type: "address";
|
295
|
+
}];
|
296
|
+
readonly name: "addToken";
|
297
|
+
readonly outputs: readonly [];
|
298
|
+
readonly stateMutability: "nonpayable";
|
299
|
+
readonly type: "function";
|
300
|
+
}, {
|
301
|
+
readonly inputs: readonly [{
|
302
|
+
readonly internalType: "uint256";
|
303
|
+
readonly name: "_chainId";
|
304
|
+
readonly type: "uint256";
|
305
|
+
}];
|
306
|
+
readonly name: "baseToken";
|
307
|
+
readonly outputs: readonly [{
|
308
|
+
readonly internalType: "address";
|
309
|
+
readonly name: "";
|
310
|
+
readonly type: "address";
|
311
|
+
}];
|
312
|
+
readonly stateMutability: "view";
|
313
|
+
readonly type: "function";
|
314
|
+
}, {
|
315
|
+
readonly inputs: readonly [{
|
316
|
+
readonly internalType: "uint256";
|
317
|
+
readonly name: "_chainId";
|
318
|
+
readonly type: "uint256";
|
319
|
+
}, {
|
320
|
+
readonly internalType: "address";
|
321
|
+
readonly name: "_stateTransitionManager";
|
322
|
+
readonly type: "address";
|
323
|
+
}, {
|
324
|
+
readonly internalType: "address";
|
325
|
+
readonly name: "_baseToken";
|
326
|
+
readonly type: "address";
|
327
|
+
}, {
|
328
|
+
readonly internalType: "uint256";
|
329
|
+
readonly name: "_salt";
|
330
|
+
readonly type: "uint256";
|
331
|
+
}, {
|
332
|
+
readonly internalType: "address";
|
333
|
+
readonly name: "_admin";
|
334
|
+
readonly type: "address";
|
335
|
+
}, {
|
336
|
+
readonly internalType: "bytes";
|
337
|
+
readonly name: "_initData";
|
338
|
+
readonly type: "bytes";
|
339
|
+
}];
|
340
|
+
readonly name: "createNewChain";
|
341
|
+
readonly outputs: readonly [{
|
342
|
+
readonly internalType: "uint256";
|
343
|
+
readonly name: "chainId";
|
344
|
+
readonly type: "uint256";
|
345
|
+
}];
|
346
|
+
readonly stateMutability: "nonpayable";
|
347
|
+
readonly type: "function";
|
348
|
+
}, {
|
349
|
+
readonly inputs: readonly [{
|
350
|
+
readonly internalType: "uint256";
|
351
|
+
readonly name: "_chainId";
|
352
|
+
readonly type: "uint256";
|
353
|
+
}];
|
354
|
+
readonly name: "getHyperchain";
|
355
|
+
readonly outputs: readonly [{
|
356
|
+
readonly internalType: "address";
|
357
|
+
readonly name: "";
|
358
|
+
readonly type: "address";
|
359
|
+
}];
|
360
|
+
readonly stateMutability: "view";
|
361
|
+
readonly type: "function";
|
362
|
+
}, {
|
363
|
+
readonly inputs: readonly [{
|
364
|
+
readonly internalType: "uint256";
|
365
|
+
readonly name: "_chainId";
|
366
|
+
readonly type: "uint256";
|
367
|
+
}, {
|
368
|
+
readonly internalType: "uint256";
|
369
|
+
readonly name: "_gasPrice";
|
370
|
+
readonly type: "uint256";
|
371
|
+
}, {
|
372
|
+
readonly internalType: "uint256";
|
373
|
+
readonly name: "_l2GasLimit";
|
374
|
+
readonly type: "uint256";
|
375
|
+
}, {
|
376
|
+
readonly internalType: "uint256";
|
377
|
+
readonly name: "_l2GasPerPubdataByteLimit";
|
378
|
+
readonly type: "uint256";
|
379
|
+
}];
|
380
|
+
readonly name: "l2TransactionBaseCost";
|
381
|
+
readonly outputs: readonly [{
|
382
|
+
readonly internalType: "uint256";
|
383
|
+
readonly name: "";
|
384
|
+
readonly type: "uint256";
|
385
|
+
}];
|
386
|
+
readonly stateMutability: "view";
|
387
|
+
readonly type: "function";
|
388
|
+
}, {
|
389
|
+
readonly inputs: readonly [{
|
390
|
+
readonly internalType: "uint256";
|
391
|
+
readonly name: "_chainId";
|
392
|
+
readonly type: "uint256";
|
393
|
+
}, {
|
394
|
+
readonly internalType: "bytes32";
|
395
|
+
readonly name: "_l2TxHash";
|
396
|
+
readonly type: "bytes32";
|
397
|
+
}, {
|
398
|
+
readonly internalType: "uint256";
|
399
|
+
readonly name: "_l2BatchNumber";
|
400
|
+
readonly type: "uint256";
|
401
|
+
}, {
|
402
|
+
readonly internalType: "uint256";
|
403
|
+
readonly name: "_l2MessageIndex";
|
404
|
+
readonly type: "uint256";
|
405
|
+
}, {
|
406
|
+
readonly internalType: "uint16";
|
407
|
+
readonly name: "_l2TxNumberInBatch";
|
408
|
+
readonly type: "uint16";
|
409
|
+
}, {
|
410
|
+
readonly internalType: "bytes32[]";
|
411
|
+
readonly name: "_merkleProof";
|
412
|
+
readonly type: "bytes32[]";
|
413
|
+
}, {
|
414
|
+
readonly internalType: "enum TxStatus";
|
415
|
+
readonly name: "_status";
|
416
|
+
readonly type: "uint8";
|
417
|
+
}];
|
418
|
+
readonly name: "proveL1ToL2TransactionStatus";
|
419
|
+
readonly outputs: readonly [{
|
420
|
+
readonly internalType: "bool";
|
421
|
+
readonly name: "";
|
422
|
+
readonly type: "bool";
|
423
|
+
}];
|
424
|
+
readonly stateMutability: "view";
|
425
|
+
readonly type: "function";
|
426
|
+
}, {
|
427
|
+
readonly inputs: readonly [{
|
428
|
+
readonly internalType: "uint256";
|
429
|
+
readonly name: "_chainId";
|
430
|
+
readonly type: "uint256";
|
431
|
+
}, {
|
432
|
+
readonly internalType: "uint256";
|
433
|
+
readonly name: "_batchNumber";
|
434
|
+
readonly type: "uint256";
|
435
|
+
}, {
|
436
|
+
readonly internalType: "uint256";
|
437
|
+
readonly name: "_index";
|
438
|
+
readonly type: "uint256";
|
439
|
+
}, {
|
440
|
+
readonly components: readonly [{
|
441
|
+
readonly internalType: "uint8";
|
442
|
+
readonly name: "l2ShardId";
|
443
|
+
readonly type: "uint8";
|
444
|
+
}, {
|
445
|
+
readonly internalType: "bool";
|
446
|
+
readonly name: "isService";
|
447
|
+
readonly type: "bool";
|
448
|
+
}, {
|
449
|
+
readonly internalType: "uint16";
|
450
|
+
readonly name: "txNumberInBatch";
|
451
|
+
readonly type: "uint16";
|
452
|
+
}, {
|
453
|
+
readonly internalType: "address";
|
454
|
+
readonly name: "sender";
|
455
|
+
readonly type: "address";
|
456
|
+
}, {
|
457
|
+
readonly internalType: "bytes32";
|
458
|
+
readonly name: "key";
|
459
|
+
readonly type: "bytes32";
|
460
|
+
}, {
|
461
|
+
readonly internalType: "bytes32";
|
462
|
+
readonly name: "value";
|
463
|
+
readonly type: "bytes32";
|
464
|
+
}];
|
465
|
+
readonly internalType: "struct L2Log";
|
466
|
+
readonly name: "_log";
|
467
|
+
readonly type: "tuple";
|
468
|
+
}, {
|
469
|
+
readonly internalType: "bytes32[]";
|
470
|
+
readonly name: "_proof";
|
471
|
+
readonly type: "bytes32[]";
|
472
|
+
}];
|
473
|
+
readonly name: "proveL2LogInclusion";
|
474
|
+
readonly outputs: readonly [{
|
475
|
+
readonly internalType: "bool";
|
476
|
+
readonly name: "";
|
477
|
+
readonly type: "bool";
|
478
|
+
}];
|
479
|
+
readonly stateMutability: "view";
|
480
|
+
readonly type: "function";
|
481
|
+
}, {
|
482
|
+
readonly inputs: readonly [{
|
483
|
+
readonly internalType: "uint256";
|
484
|
+
readonly name: "_chainId";
|
485
|
+
readonly type: "uint256";
|
486
|
+
}, {
|
487
|
+
readonly internalType: "uint256";
|
488
|
+
readonly name: "_batchNumber";
|
489
|
+
readonly type: "uint256";
|
490
|
+
}, {
|
491
|
+
readonly internalType: "uint256";
|
492
|
+
readonly name: "_index";
|
493
|
+
readonly type: "uint256";
|
494
|
+
}, {
|
495
|
+
readonly components: readonly [{
|
496
|
+
readonly internalType: "uint16";
|
497
|
+
readonly name: "txNumberInBatch";
|
498
|
+
readonly type: "uint16";
|
499
|
+
}, {
|
500
|
+
readonly internalType: "address";
|
501
|
+
readonly name: "sender";
|
502
|
+
readonly type: "address";
|
503
|
+
}, {
|
504
|
+
readonly internalType: "bytes";
|
505
|
+
readonly name: "data";
|
506
|
+
readonly type: "bytes";
|
507
|
+
}];
|
508
|
+
readonly internalType: "struct L2Message";
|
509
|
+
readonly name: "_message";
|
510
|
+
readonly type: "tuple";
|
511
|
+
}, {
|
512
|
+
readonly internalType: "bytes32[]";
|
513
|
+
readonly name: "_proof";
|
514
|
+
readonly type: "bytes32[]";
|
515
|
+
}];
|
516
|
+
readonly name: "proveL2MessageInclusion";
|
517
|
+
readonly outputs: readonly [{
|
518
|
+
readonly internalType: "bool";
|
519
|
+
readonly name: "";
|
520
|
+
readonly type: "bool";
|
521
|
+
}];
|
522
|
+
readonly stateMutability: "view";
|
523
|
+
readonly type: "function";
|
524
|
+
}, {
|
525
|
+
readonly inputs: readonly [{
|
526
|
+
readonly internalType: "address";
|
527
|
+
readonly name: "_stateTransitionManager";
|
528
|
+
readonly type: "address";
|
529
|
+
}];
|
530
|
+
readonly name: "removeStateTransitionManager";
|
531
|
+
readonly outputs: readonly [];
|
532
|
+
readonly stateMutability: "nonpayable";
|
533
|
+
readonly type: "function";
|
534
|
+
}, {
|
535
|
+
readonly inputs: readonly [{
|
536
|
+
readonly components: readonly [{
|
537
|
+
readonly internalType: "uint256";
|
538
|
+
readonly name: "chainId";
|
539
|
+
readonly type: "uint256";
|
540
|
+
}, {
|
541
|
+
readonly internalType: "uint256";
|
542
|
+
readonly name: "mintValue";
|
543
|
+
readonly type: "uint256";
|
544
|
+
}, {
|
545
|
+
readonly internalType: "address";
|
546
|
+
readonly name: "l2Contract";
|
547
|
+
readonly type: "address";
|
548
|
+
}, {
|
549
|
+
readonly internalType: "uint256";
|
550
|
+
readonly name: "l2Value";
|
551
|
+
readonly type: "uint256";
|
552
|
+
}, {
|
553
|
+
readonly internalType: "bytes";
|
554
|
+
readonly name: "l2Calldata";
|
555
|
+
readonly type: "bytes";
|
556
|
+
}, {
|
557
|
+
readonly internalType: "uint256";
|
558
|
+
readonly name: "l2GasLimit";
|
559
|
+
readonly type: "uint256";
|
560
|
+
}, {
|
561
|
+
readonly internalType: "uint256";
|
562
|
+
readonly name: "l2GasPerPubdataByteLimit";
|
563
|
+
readonly type: "uint256";
|
564
|
+
}, {
|
565
|
+
readonly internalType: "bytes[]";
|
566
|
+
readonly name: "factoryDeps";
|
567
|
+
readonly type: "bytes[]";
|
568
|
+
}, {
|
569
|
+
readonly internalType: "address";
|
570
|
+
readonly name: "refundRecipient";
|
571
|
+
readonly type: "address";
|
572
|
+
}];
|
573
|
+
readonly internalType: "struct L2TransactionRequestDirect";
|
574
|
+
readonly name: "_request";
|
575
|
+
readonly type: "tuple";
|
576
|
+
}];
|
577
|
+
readonly name: "requestL2TransactionDirect";
|
578
|
+
readonly outputs: readonly [{
|
579
|
+
readonly internalType: "bytes32";
|
580
|
+
readonly name: "canonicalTxHash";
|
581
|
+
readonly type: "bytes32";
|
582
|
+
}];
|
583
|
+
readonly stateMutability: "payable";
|
584
|
+
readonly type: "function";
|
585
|
+
}, {
|
586
|
+
readonly inputs: readonly [{
|
587
|
+
readonly components: readonly [{
|
588
|
+
readonly internalType: "uint256";
|
589
|
+
readonly name: "chainId";
|
590
|
+
readonly type: "uint256";
|
591
|
+
}, {
|
592
|
+
readonly internalType: "uint256";
|
593
|
+
readonly name: "mintValue";
|
594
|
+
readonly type: "uint256";
|
595
|
+
}, {
|
596
|
+
readonly internalType: "uint256";
|
597
|
+
readonly name: "l2Value";
|
598
|
+
readonly type: "uint256";
|
599
|
+
}, {
|
600
|
+
readonly internalType: "uint256";
|
601
|
+
readonly name: "l2GasLimit";
|
602
|
+
readonly type: "uint256";
|
603
|
+
}, {
|
604
|
+
readonly internalType: "uint256";
|
605
|
+
readonly name: "l2GasPerPubdataByteLimit";
|
606
|
+
readonly type: "uint256";
|
607
|
+
}, {
|
608
|
+
readonly internalType: "address";
|
609
|
+
readonly name: "refundRecipient";
|
610
|
+
readonly type: "address";
|
611
|
+
}, {
|
612
|
+
readonly internalType: "address";
|
613
|
+
readonly name: "secondBridgeAddress";
|
614
|
+
readonly type: "address";
|
615
|
+
}, {
|
616
|
+
readonly internalType: "uint256";
|
617
|
+
readonly name: "secondBridgeValue";
|
618
|
+
readonly type: "uint256";
|
619
|
+
}, {
|
620
|
+
readonly internalType: "bytes";
|
621
|
+
readonly name: "secondBridgeCalldata";
|
622
|
+
readonly type: "bytes";
|
623
|
+
}];
|
624
|
+
readonly internalType: "struct L2TransactionRequestTwoBridgesOuter";
|
625
|
+
readonly name: "_request";
|
626
|
+
readonly type: "tuple";
|
627
|
+
}];
|
628
|
+
readonly name: "requestL2TransactionTwoBridges";
|
629
|
+
readonly outputs: readonly [{
|
630
|
+
readonly internalType: "bytes32";
|
631
|
+
readonly name: "canonicalTxHash";
|
632
|
+
readonly type: "bytes32";
|
633
|
+
}];
|
634
|
+
readonly stateMutability: "payable";
|
635
|
+
readonly type: "function";
|
636
|
+
}, {
|
637
|
+
readonly inputs: readonly [{
|
638
|
+
readonly internalType: "address";
|
639
|
+
readonly name: "_newPendingAdmin";
|
640
|
+
readonly type: "address";
|
641
|
+
}];
|
642
|
+
readonly name: "setPendingAdmin";
|
643
|
+
readonly outputs: readonly [];
|
644
|
+
readonly stateMutability: "nonpayable";
|
645
|
+
readonly type: "function";
|
646
|
+
}, {
|
647
|
+
readonly inputs: readonly [{
|
648
|
+
readonly internalType: "address";
|
649
|
+
readonly name: "_sharedBridge";
|
650
|
+
readonly type: "address";
|
651
|
+
}];
|
652
|
+
readonly name: "setSharedBridge";
|
653
|
+
readonly outputs: readonly [];
|
654
|
+
readonly stateMutability: "nonpayable";
|
655
|
+
readonly type: "function";
|
656
|
+
}, {
|
657
|
+
readonly inputs: readonly [];
|
658
|
+
readonly name: "sharedBridge";
|
659
|
+
readonly outputs: readonly [{
|
660
|
+
readonly internalType: "contract IL1SharedBridge";
|
661
|
+
readonly name: "";
|
662
|
+
readonly type: "address";
|
663
|
+
}];
|
664
|
+
readonly stateMutability: "view";
|
665
|
+
readonly type: "function";
|
666
|
+
}, {
|
667
|
+
readonly inputs: readonly [{
|
668
|
+
readonly internalType: "uint256";
|
669
|
+
readonly name: "_chainId";
|
670
|
+
readonly type: "uint256";
|
671
|
+
}];
|
672
|
+
readonly name: "stateTransitionManager";
|
673
|
+
readonly outputs: readonly [{
|
674
|
+
readonly internalType: "address";
|
675
|
+
readonly name: "";
|
676
|
+
readonly type: "address";
|
677
|
+
}];
|
678
|
+
readonly stateMutability: "view";
|
679
|
+
readonly type: "function";
|
680
|
+
}, {
|
681
|
+
readonly inputs: readonly [{
|
682
|
+
readonly internalType: "address";
|
683
|
+
readonly name: "_stateTransitionManager";
|
684
|
+
readonly type: "address";
|
685
|
+
}];
|
686
|
+
readonly name: "stateTransitionManagerIsRegistered";
|
687
|
+
readonly outputs: readonly [{
|
688
|
+
readonly internalType: "bool";
|
689
|
+
readonly name: "";
|
690
|
+
readonly type: "bool";
|
691
|
+
}];
|
692
|
+
readonly stateMutability: "view";
|
693
|
+
readonly type: "function";
|
694
|
+
}, {
|
695
|
+
readonly inputs: readonly [{
|
696
|
+
readonly internalType: "address";
|
697
|
+
readonly name: "_baseToken";
|
698
|
+
readonly type: "address";
|
699
|
+
}];
|
700
|
+
readonly name: "tokenIsRegistered";
|
701
|
+
readonly outputs: readonly [{
|
702
|
+
readonly internalType: "bool";
|
703
|
+
readonly name: "";
|
704
|
+
readonly type: "bool";
|
705
|
+
}];
|
706
|
+
readonly stateMutability: "view";
|
707
|
+
readonly type: "function";
|
708
|
+
}];
|
709
|
+
export declare const zksyncAbi: readonly [{
|
710
|
+
readonly anonymous: false;
|
711
|
+
readonly inputs: readonly [{
|
712
|
+
readonly indexed: true;
|
713
|
+
readonly internalType: "uint256";
|
714
|
+
readonly name: "batchNumber";
|
715
|
+
readonly type: "uint256";
|
716
|
+
}, {
|
717
|
+
readonly indexed: true;
|
718
|
+
readonly internalType: "bytes32";
|
719
|
+
readonly name: "batchHash";
|
720
|
+
readonly type: "bytes32";
|
721
|
+
}, {
|
722
|
+
readonly indexed: true;
|
723
|
+
readonly internalType: "bytes32";
|
724
|
+
readonly name: "commitment";
|
725
|
+
readonly type: "bytes32";
|
726
|
+
}];
|
727
|
+
readonly name: "BlockCommit";
|
728
|
+
readonly type: "event";
|
729
|
+
}, {
|
730
|
+
readonly anonymous: false;
|
731
|
+
readonly inputs: readonly [{
|
732
|
+
readonly indexed: true;
|
733
|
+
readonly internalType: "uint256";
|
734
|
+
readonly name: "batchNumber";
|
735
|
+
readonly type: "uint256";
|
736
|
+
}, {
|
737
|
+
readonly indexed: true;
|
738
|
+
readonly internalType: "bytes32";
|
739
|
+
readonly name: "batchHash";
|
740
|
+
readonly type: "bytes32";
|
741
|
+
}, {
|
742
|
+
readonly indexed: true;
|
743
|
+
readonly internalType: "bytes32";
|
744
|
+
readonly name: "commitment";
|
745
|
+
readonly type: "bytes32";
|
746
|
+
}];
|
747
|
+
readonly name: "BlockExecution";
|
748
|
+
readonly type: "event";
|
749
|
+
}, {
|
750
|
+
readonly anonymous: false;
|
751
|
+
readonly inputs: readonly [{
|
752
|
+
readonly indexed: false;
|
753
|
+
readonly internalType: "uint256";
|
754
|
+
readonly name: "totalBatchesCommitted";
|
755
|
+
readonly type: "uint256";
|
756
|
+
}, {
|
757
|
+
readonly indexed: false;
|
758
|
+
readonly internalType: "uint256";
|
759
|
+
readonly name: "totalBatchesVerified";
|
760
|
+
readonly type: "uint256";
|
761
|
+
}, {
|
762
|
+
readonly indexed: false;
|
763
|
+
readonly internalType: "uint256";
|
764
|
+
readonly name: "totalBatchesExecuted";
|
765
|
+
readonly type: "uint256";
|
766
|
+
}];
|
767
|
+
readonly name: "BlocksRevert";
|
768
|
+
readonly type: "event";
|
769
|
+
}, {
|
770
|
+
readonly anonymous: false;
|
771
|
+
readonly inputs: readonly [{
|
772
|
+
readonly indexed: true;
|
773
|
+
readonly internalType: "uint256";
|
774
|
+
readonly name: "previousLastVerifiedBatch";
|
775
|
+
readonly type: "uint256";
|
776
|
+
}, {
|
777
|
+
readonly indexed: true;
|
778
|
+
readonly internalType: "uint256";
|
779
|
+
readonly name: "currentLastVerifiedBatch";
|
780
|
+
readonly type: "uint256";
|
781
|
+
}];
|
782
|
+
readonly name: "BlocksVerification";
|
783
|
+
readonly type: "event";
|
784
|
+
}, {
|
785
|
+
readonly anonymous: false;
|
786
|
+
readonly inputs: readonly [{
|
787
|
+
readonly components: readonly [{
|
788
|
+
readonly components: readonly [{
|
789
|
+
readonly internalType: "address";
|
790
|
+
readonly name: "facet";
|
791
|
+
readonly type: "address";
|
792
|
+
}, {
|
793
|
+
readonly internalType: "enum Diamond.Action";
|
794
|
+
readonly name: "action";
|
795
|
+
readonly type: "uint8";
|
796
|
+
}, {
|
797
|
+
readonly internalType: "bool";
|
798
|
+
readonly name: "isFreezable";
|
799
|
+
readonly type: "bool";
|
800
|
+
}, {
|
801
|
+
readonly internalType: "bytes4[]";
|
802
|
+
readonly name: "selectors";
|
803
|
+
readonly type: "bytes4[]";
|
804
|
+
}];
|
805
|
+
readonly internalType: "struct Diamond.FacetCut[]";
|
806
|
+
readonly name: "facetCuts";
|
807
|
+
readonly type: "tuple[]";
|
808
|
+
}, {
|
809
|
+
readonly internalType: "address";
|
810
|
+
readonly name: "initAddress";
|
811
|
+
readonly type: "address";
|
812
|
+
}, {
|
813
|
+
readonly internalType: "bytes";
|
814
|
+
readonly name: "initCalldata";
|
815
|
+
readonly type: "bytes";
|
816
|
+
}];
|
817
|
+
readonly indexed: false;
|
818
|
+
readonly internalType: "struct Diamond.DiamondCutData";
|
819
|
+
readonly name: "diamondCut";
|
820
|
+
readonly type: "tuple";
|
821
|
+
}];
|
822
|
+
readonly name: "ExecuteUpgrade";
|
823
|
+
readonly type: "event";
|
824
|
+
}, {
|
825
|
+
readonly anonymous: false;
|
826
|
+
readonly inputs: readonly [];
|
827
|
+
readonly name: "Freeze";
|
828
|
+
readonly type: "event";
|
829
|
+
}, {
|
830
|
+
readonly anonymous: false;
|
831
|
+
readonly inputs: readonly [{
|
832
|
+
readonly indexed: false;
|
833
|
+
readonly internalType: "bool";
|
834
|
+
readonly name: "isPorterAvailable";
|
835
|
+
readonly type: "bool";
|
836
|
+
}];
|
837
|
+
readonly name: "IsPorterAvailableStatusUpdate";
|
838
|
+
readonly type: "event";
|
839
|
+
}, {
|
840
|
+
readonly anonymous: false;
|
841
|
+
readonly inputs: readonly [{
|
842
|
+
readonly indexed: true;
|
843
|
+
readonly internalType: "address";
|
844
|
+
readonly name: "oldAdmin";
|
845
|
+
readonly type: "address";
|
846
|
+
}, {
|
847
|
+
readonly indexed: true;
|
848
|
+
readonly internalType: "address";
|
849
|
+
readonly name: "newAdmin";
|
850
|
+
readonly type: "address";
|
851
|
+
}];
|
852
|
+
readonly name: "NewAdmin";
|
853
|
+
readonly type: "event";
|
854
|
+
}, {
|
855
|
+
readonly anonymous: false;
|
856
|
+
readonly inputs: readonly [{
|
857
|
+
readonly indexed: false;
|
858
|
+
readonly internalType: "uint128";
|
859
|
+
readonly name: "oldNominator";
|
860
|
+
readonly type: "uint128";
|
861
|
+
}, {
|
862
|
+
readonly indexed: false;
|
863
|
+
readonly internalType: "uint128";
|
864
|
+
readonly name: "oldDenominator";
|
865
|
+
readonly type: "uint128";
|
866
|
+
}, {
|
867
|
+
readonly indexed: false;
|
868
|
+
readonly internalType: "uint128";
|
869
|
+
readonly name: "newNominator";
|
870
|
+
readonly type: "uint128";
|
871
|
+
}, {
|
872
|
+
readonly indexed: false;
|
873
|
+
readonly internalType: "uint128";
|
874
|
+
readonly name: "newDenominator";
|
875
|
+
readonly type: "uint128";
|
876
|
+
}];
|
877
|
+
readonly name: "NewBaseTokenMultiplier";
|
878
|
+
readonly type: "event";
|
879
|
+
}, {
|
880
|
+
readonly anonymous: false;
|
881
|
+
readonly inputs: readonly [{
|
882
|
+
readonly components: readonly [{
|
883
|
+
readonly internalType: "enum PubdataPricingMode";
|
884
|
+
readonly name: "pubdataPricingMode";
|
885
|
+
readonly type: "uint8";
|
886
|
+
}, {
|
887
|
+
readonly internalType: "uint32";
|
888
|
+
readonly name: "batchOverheadL1Gas";
|
889
|
+
readonly type: "uint32";
|
890
|
+
}, {
|
891
|
+
readonly internalType: "uint32";
|
892
|
+
readonly name: "maxPubdataPerBatch";
|
893
|
+
readonly type: "uint32";
|
894
|
+
}, {
|
895
|
+
readonly internalType: "uint32";
|
896
|
+
readonly name: "maxL2GasPerBatch";
|
897
|
+
readonly type: "uint32";
|
898
|
+
}, {
|
899
|
+
readonly internalType: "uint32";
|
900
|
+
readonly name: "priorityTxMaxPubdata";
|
901
|
+
readonly type: "uint32";
|
902
|
+
}, {
|
903
|
+
readonly internalType: "uint64";
|
904
|
+
readonly name: "minimalL2GasPrice";
|
905
|
+
readonly type: "uint64";
|
906
|
+
}];
|
907
|
+
readonly indexed: false;
|
908
|
+
readonly internalType: "struct FeeParams";
|
909
|
+
readonly name: "oldFeeParams";
|
910
|
+
readonly type: "tuple";
|
911
|
+
}, {
|
912
|
+
readonly components: readonly [{
|
913
|
+
readonly internalType: "enum PubdataPricingMode";
|
914
|
+
readonly name: "pubdataPricingMode";
|
915
|
+
readonly type: "uint8";
|
916
|
+
}, {
|
917
|
+
readonly internalType: "uint32";
|
918
|
+
readonly name: "batchOverheadL1Gas";
|
919
|
+
readonly type: "uint32";
|
920
|
+
}, {
|
921
|
+
readonly internalType: "uint32";
|
922
|
+
readonly name: "maxPubdataPerBatch";
|
923
|
+
readonly type: "uint32";
|
924
|
+
}, {
|
925
|
+
readonly internalType: "uint32";
|
926
|
+
readonly name: "maxL2GasPerBatch";
|
927
|
+
readonly type: "uint32";
|
928
|
+
}, {
|
929
|
+
readonly internalType: "uint32";
|
930
|
+
readonly name: "priorityTxMaxPubdata";
|
931
|
+
readonly type: "uint32";
|
932
|
+
}, {
|
933
|
+
readonly internalType: "uint64";
|
934
|
+
readonly name: "minimalL2GasPrice";
|
935
|
+
readonly type: "uint64";
|
936
|
+
}];
|
937
|
+
readonly indexed: false;
|
938
|
+
readonly internalType: "struct FeeParams";
|
939
|
+
readonly name: "newFeeParams";
|
940
|
+
readonly type: "tuple";
|
941
|
+
}];
|
942
|
+
readonly name: "NewFeeParams";
|
943
|
+
readonly type: "event";
|
944
|
+
}, {
|
945
|
+
readonly anonymous: false;
|
946
|
+
readonly inputs: readonly [{
|
947
|
+
readonly indexed: true;
|
948
|
+
readonly internalType: "address";
|
949
|
+
readonly name: "oldPendingAdmin";
|
950
|
+
readonly type: "address";
|
951
|
+
}, {
|
952
|
+
readonly indexed: true;
|
953
|
+
readonly internalType: "address";
|
954
|
+
readonly name: "newPendingAdmin";
|
955
|
+
readonly type: "address";
|
956
|
+
}];
|
957
|
+
readonly name: "NewPendingAdmin";
|
958
|
+
readonly type: "event";
|
959
|
+
}, {
|
960
|
+
readonly anonymous: false;
|
961
|
+
readonly inputs: readonly [{
|
962
|
+
readonly indexed: false;
|
963
|
+
readonly internalType: "uint256";
|
964
|
+
readonly name: "txId";
|
965
|
+
readonly type: "uint256";
|
966
|
+
}, {
|
967
|
+
readonly indexed: false;
|
968
|
+
readonly internalType: "bytes32";
|
969
|
+
readonly name: "txHash";
|
970
|
+
readonly type: "bytes32";
|
971
|
+
}, {
|
972
|
+
readonly indexed: false;
|
973
|
+
readonly internalType: "uint64";
|
974
|
+
readonly name: "expirationTimestamp";
|
975
|
+
readonly type: "uint64";
|
976
|
+
}, {
|
977
|
+
readonly components: readonly [{
|
978
|
+
readonly internalType: "uint256";
|
979
|
+
readonly name: "txType";
|
980
|
+
readonly type: "uint256";
|
981
|
+
}, {
|
982
|
+
readonly internalType: "uint256";
|
983
|
+
readonly name: "from";
|
984
|
+
readonly type: "uint256";
|
985
|
+
}, {
|
986
|
+
readonly internalType: "uint256";
|
987
|
+
readonly name: "to";
|
988
|
+
readonly type: "uint256";
|
989
|
+
}, {
|
990
|
+
readonly internalType: "uint256";
|
991
|
+
readonly name: "gasLimit";
|
992
|
+
readonly type: "uint256";
|
993
|
+
}, {
|
994
|
+
readonly internalType: "uint256";
|
995
|
+
readonly name: "gasPerPubdataByteLimit";
|
996
|
+
readonly type: "uint256";
|
997
|
+
}, {
|
998
|
+
readonly internalType: "uint256";
|
999
|
+
readonly name: "maxFeePerGas";
|
1000
|
+
readonly type: "uint256";
|
1001
|
+
}, {
|
1002
|
+
readonly internalType: "uint256";
|
1003
|
+
readonly name: "maxPriorityFeePerGas";
|
1004
|
+
readonly type: "uint256";
|
1005
|
+
}, {
|
1006
|
+
readonly internalType: "uint256";
|
1007
|
+
readonly name: "paymaster";
|
1008
|
+
readonly type: "uint256";
|
1009
|
+
}, {
|
1010
|
+
readonly internalType: "uint256";
|
1011
|
+
readonly name: "nonce";
|
1012
|
+
readonly type: "uint256";
|
1013
|
+
}, {
|
1014
|
+
readonly internalType: "uint256";
|
1015
|
+
readonly name: "value";
|
1016
|
+
readonly type: "uint256";
|
1017
|
+
}, {
|
1018
|
+
readonly internalType: "uint256[4]";
|
1019
|
+
readonly name: "reserved";
|
1020
|
+
readonly type: "uint256[4]";
|
1021
|
+
}, {
|
1022
|
+
readonly internalType: "bytes";
|
1023
|
+
readonly name: "data";
|
1024
|
+
readonly type: "bytes";
|
1025
|
+
}, {
|
1026
|
+
readonly internalType: "bytes";
|
1027
|
+
readonly name: "signature";
|
1028
|
+
readonly type: "bytes";
|
1029
|
+
}, {
|
1030
|
+
readonly internalType: "uint256[]";
|
1031
|
+
readonly name: "factoryDeps";
|
1032
|
+
readonly type: "uint256[]";
|
1033
|
+
}, {
|
1034
|
+
readonly internalType: "bytes";
|
1035
|
+
readonly name: "paymasterInput";
|
1036
|
+
readonly type: "bytes";
|
1037
|
+
}, {
|
1038
|
+
readonly internalType: "bytes";
|
1039
|
+
readonly name: "reservedDynamic";
|
1040
|
+
readonly type: "bytes";
|
1041
|
+
}];
|
1042
|
+
readonly indexed: false;
|
1043
|
+
readonly internalType: "struct L2CanonicalTransaction";
|
1044
|
+
readonly name: "transaction";
|
1045
|
+
readonly type: "tuple";
|
1046
|
+
}, {
|
1047
|
+
readonly indexed: false;
|
1048
|
+
readonly internalType: "bytes[]";
|
1049
|
+
readonly name: "factoryDeps";
|
1050
|
+
readonly type: "bytes[]";
|
1051
|
+
}];
|
1052
|
+
readonly name: "NewPriorityRequest";
|
1053
|
+
readonly type: "event";
|
1054
|
+
}, {
|
1055
|
+
readonly anonymous: false;
|
1056
|
+
readonly inputs: readonly [{
|
1057
|
+
readonly indexed: false;
|
1058
|
+
readonly internalType: "uint256";
|
1059
|
+
readonly name: "oldPriorityTxMaxGasLimit";
|
1060
|
+
readonly type: "uint256";
|
1061
|
+
}, {
|
1062
|
+
readonly indexed: false;
|
1063
|
+
readonly internalType: "uint256";
|
1064
|
+
readonly name: "newPriorityTxMaxGasLimit";
|
1065
|
+
readonly type: "uint256";
|
1066
|
+
}];
|
1067
|
+
readonly name: "NewPriorityTxMaxGasLimit";
|
1068
|
+
readonly type: "event";
|
1069
|
+
}, {
|
1070
|
+
readonly anonymous: false;
|
1071
|
+
readonly inputs: readonly [{
|
1072
|
+
readonly indexed: false;
|
1073
|
+
readonly internalType: "address";
|
1074
|
+
readonly name: "oldTransactionFilterer";
|
1075
|
+
readonly type: "address";
|
1076
|
+
}, {
|
1077
|
+
readonly indexed: false;
|
1078
|
+
readonly internalType: "address";
|
1079
|
+
readonly name: "newTransactionFilterer";
|
1080
|
+
readonly type: "address";
|
1081
|
+
}];
|
1082
|
+
readonly name: "NewTransactionFilterer";
|
1083
|
+
readonly type: "event";
|
1084
|
+
}, {
|
1085
|
+
readonly anonymous: false;
|
1086
|
+
readonly inputs: readonly [{
|
1087
|
+
readonly components: readonly [{
|
1088
|
+
readonly components: readonly [{
|
1089
|
+
readonly internalType: "address";
|
1090
|
+
readonly name: "facet";
|
1091
|
+
readonly type: "address";
|
1092
|
+
}, {
|
1093
|
+
readonly internalType: "enum Diamond.Action";
|
1094
|
+
readonly name: "action";
|
1095
|
+
readonly type: "uint8";
|
1096
|
+
}, {
|
1097
|
+
readonly internalType: "bool";
|
1098
|
+
readonly name: "isFreezable";
|
1099
|
+
readonly type: "bool";
|
1100
|
+
}, {
|
1101
|
+
readonly internalType: "bytes4[]";
|
1102
|
+
readonly name: "selectors";
|
1103
|
+
readonly type: "bytes4[]";
|
1104
|
+
}];
|
1105
|
+
readonly internalType: "struct Diamond.FacetCut[]";
|
1106
|
+
readonly name: "facetCuts";
|
1107
|
+
readonly type: "tuple[]";
|
1108
|
+
}, {
|
1109
|
+
readonly internalType: "address";
|
1110
|
+
readonly name: "initAddress";
|
1111
|
+
readonly type: "address";
|
1112
|
+
}, {
|
1113
|
+
readonly internalType: "bytes";
|
1114
|
+
readonly name: "initCalldata";
|
1115
|
+
readonly type: "bytes";
|
1116
|
+
}];
|
1117
|
+
readonly indexed: false;
|
1118
|
+
readonly internalType: "struct Diamond.DiamondCutData";
|
1119
|
+
readonly name: "diamondCut";
|
1120
|
+
readonly type: "tuple";
|
1121
|
+
}, {
|
1122
|
+
readonly indexed: true;
|
1123
|
+
readonly internalType: "uint256";
|
1124
|
+
readonly name: "proposalId";
|
1125
|
+
readonly type: "uint256";
|
1126
|
+
}, {
|
1127
|
+
readonly indexed: false;
|
1128
|
+
readonly internalType: "bytes32";
|
1129
|
+
readonly name: "proposalSalt";
|
1130
|
+
readonly type: "bytes32";
|
1131
|
+
}];
|
1132
|
+
readonly name: "ProposeTransparentUpgrade";
|
1133
|
+
readonly type: "event";
|
1134
|
+
}, {
|
1135
|
+
readonly anonymous: false;
|
1136
|
+
readonly inputs: readonly [];
|
1137
|
+
readonly name: "Unfreeze";
|
1138
|
+
readonly type: "event";
|
1139
|
+
}, {
|
1140
|
+
readonly anonymous: false;
|
1141
|
+
readonly inputs: readonly [{
|
1142
|
+
readonly indexed: true;
|
1143
|
+
readonly internalType: "address";
|
1144
|
+
readonly name: "validatorAddress";
|
1145
|
+
readonly type: "address";
|
1146
|
+
}, {
|
1147
|
+
readonly indexed: false;
|
1148
|
+
readonly internalType: "bool";
|
1149
|
+
readonly name: "isActive";
|
1150
|
+
readonly type: "bool";
|
1151
|
+
}];
|
1152
|
+
readonly name: "ValidatorStatusUpdate";
|
1153
|
+
readonly type: "event";
|
1154
|
+
}, {
|
1155
|
+
readonly anonymous: false;
|
1156
|
+
readonly inputs: readonly [{
|
1157
|
+
readonly indexed: false;
|
1158
|
+
readonly internalType: "enum PubdataPricingMode";
|
1159
|
+
readonly name: "validiumMode";
|
1160
|
+
readonly type: "uint8";
|
1161
|
+
}];
|
1162
|
+
readonly name: "ValidiumModeStatusUpdate";
|
1163
|
+
readonly type: "event";
|
1164
|
+
}, {
|
1165
|
+
readonly inputs: readonly [];
|
1166
|
+
readonly name: "acceptAdmin";
|
1167
|
+
readonly outputs: readonly [];
|
1168
|
+
readonly stateMutability: "nonpayable";
|
1169
|
+
readonly type: "function";
|
1170
|
+
}, {
|
1171
|
+
readonly inputs: readonly [];
|
1172
|
+
readonly name: "baseTokenGasPriceMultiplierDenominator";
|
1173
|
+
readonly outputs: readonly [{
|
1174
|
+
readonly internalType: "uint128";
|
1175
|
+
readonly name: "";
|
1176
|
+
readonly type: "uint128";
|
1177
|
+
}];
|
1178
|
+
readonly stateMutability: "view";
|
1179
|
+
readonly type: "function";
|
1180
|
+
}, {
|
1181
|
+
readonly inputs: readonly [];
|
1182
|
+
readonly name: "baseTokenGasPriceMultiplierNominator";
|
1183
|
+
readonly outputs: readonly [{
|
1184
|
+
readonly internalType: "uint128";
|
1185
|
+
readonly name: "";
|
1186
|
+
readonly type: "uint128";
|
1187
|
+
}];
|
1188
|
+
readonly stateMutability: "view";
|
1189
|
+
readonly type: "function";
|
1190
|
+
}, {
|
1191
|
+
readonly inputs: readonly [{
|
1192
|
+
readonly components: readonly [{
|
1193
|
+
readonly internalType: "address";
|
1194
|
+
readonly name: "sender";
|
1195
|
+
readonly type: "address";
|
1196
|
+
}, {
|
1197
|
+
readonly internalType: "address";
|
1198
|
+
readonly name: "contractL2";
|
1199
|
+
readonly type: "address";
|
1200
|
+
}, {
|
1201
|
+
readonly internalType: "uint256";
|
1202
|
+
readonly name: "mintValue";
|
1203
|
+
readonly type: "uint256";
|
1204
|
+
}, {
|
1205
|
+
readonly internalType: "uint256";
|
1206
|
+
readonly name: "l2Value";
|
1207
|
+
readonly type: "uint256";
|
1208
|
+
}, {
|
1209
|
+
readonly internalType: "bytes";
|
1210
|
+
readonly name: "l2Calldata";
|
1211
|
+
readonly type: "bytes";
|
1212
|
+
}, {
|
1213
|
+
readonly internalType: "uint256";
|
1214
|
+
readonly name: "l2GasLimit";
|
1215
|
+
readonly type: "uint256";
|
1216
|
+
}, {
|
1217
|
+
readonly internalType: "uint256";
|
1218
|
+
readonly name: "l2GasPerPubdataByteLimit";
|
1219
|
+
readonly type: "uint256";
|
1220
|
+
}, {
|
1221
|
+
readonly internalType: "bytes[]";
|
1222
|
+
readonly name: "factoryDeps";
|
1223
|
+
readonly type: "bytes[]";
|
1224
|
+
}, {
|
1225
|
+
readonly internalType: "address";
|
1226
|
+
readonly name: "refundRecipient";
|
1227
|
+
readonly type: "address";
|
1228
|
+
}];
|
1229
|
+
readonly internalType: "struct BridgehubL2TransactionRequest";
|
1230
|
+
readonly name: "_request";
|
1231
|
+
readonly type: "tuple";
|
1232
|
+
}];
|
1233
|
+
readonly name: "bridgehubRequestL2Transaction";
|
1234
|
+
readonly outputs: readonly [{
|
1235
|
+
readonly internalType: "bytes32";
|
1236
|
+
readonly name: "canonicalTxHash";
|
1237
|
+
readonly type: "bytes32";
|
1238
|
+
}];
|
1239
|
+
readonly stateMutability: "nonpayable";
|
1240
|
+
readonly type: "function";
|
1241
|
+
}, {
|
1242
|
+
readonly inputs: readonly [{
|
1243
|
+
readonly components: readonly [{
|
1244
|
+
readonly internalType: "enum PubdataPricingMode";
|
1245
|
+
readonly name: "pubdataPricingMode";
|
1246
|
+
readonly type: "uint8";
|
1247
|
+
}, {
|
1248
|
+
readonly internalType: "uint32";
|
1249
|
+
readonly name: "batchOverheadL1Gas";
|
1250
|
+
readonly type: "uint32";
|
1251
|
+
}, {
|
1252
|
+
readonly internalType: "uint32";
|
1253
|
+
readonly name: "maxPubdataPerBatch";
|
1254
|
+
readonly type: "uint32";
|
1255
|
+
}, {
|
1256
|
+
readonly internalType: "uint32";
|
1257
|
+
readonly name: "maxL2GasPerBatch";
|
1258
|
+
readonly type: "uint32";
|
1259
|
+
}, {
|
1260
|
+
readonly internalType: "uint32";
|
1261
|
+
readonly name: "priorityTxMaxPubdata";
|
1262
|
+
readonly type: "uint32";
|
1263
|
+
}, {
|
1264
|
+
readonly internalType: "uint64";
|
1265
|
+
readonly name: "minimalL2GasPrice";
|
1266
|
+
readonly type: "uint64";
|
1267
|
+
}];
|
1268
|
+
readonly internalType: "struct FeeParams";
|
1269
|
+
readonly name: "_newFeeParams";
|
1270
|
+
readonly type: "tuple";
|
1271
|
+
}];
|
1272
|
+
readonly name: "changeFeeParams";
|
1273
|
+
readonly outputs: readonly [];
|
1274
|
+
readonly stateMutability: "nonpayable";
|
1275
|
+
readonly type: "function";
|
1276
|
+
}, {
|
1277
|
+
readonly inputs: readonly [{
|
1278
|
+
readonly components: readonly [{
|
1279
|
+
readonly internalType: "uint64";
|
1280
|
+
readonly name: "batchNumber";
|
1281
|
+
readonly type: "uint64";
|
1282
|
+
}, {
|
1283
|
+
readonly internalType: "bytes32";
|
1284
|
+
readonly name: "batchHash";
|
1285
|
+
readonly type: "bytes32";
|
1286
|
+
}, {
|
1287
|
+
readonly internalType: "uint64";
|
1288
|
+
readonly name: "indexRepeatedStorageChanges";
|
1289
|
+
readonly type: "uint64";
|
1290
|
+
}, {
|
1291
|
+
readonly internalType: "uint256";
|
1292
|
+
readonly name: "numberOfLayer1Txs";
|
1293
|
+
readonly type: "uint256";
|
1294
|
+
}, {
|
1295
|
+
readonly internalType: "bytes32";
|
1296
|
+
readonly name: "priorityOperationsHash";
|
1297
|
+
readonly type: "bytes32";
|
1298
|
+
}, {
|
1299
|
+
readonly internalType: "bytes32";
|
1300
|
+
readonly name: "l2LogsTreeRoot";
|
1301
|
+
readonly type: "bytes32";
|
1302
|
+
}, {
|
1303
|
+
readonly internalType: "uint256";
|
1304
|
+
readonly name: "timestamp";
|
1305
|
+
readonly type: "uint256";
|
1306
|
+
}, {
|
1307
|
+
readonly internalType: "bytes32";
|
1308
|
+
readonly name: "commitment";
|
1309
|
+
readonly type: "bytes32";
|
1310
|
+
}];
|
1311
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo";
|
1312
|
+
readonly name: "_lastCommittedBatchData";
|
1313
|
+
readonly type: "tuple";
|
1314
|
+
}, {
|
1315
|
+
readonly components: readonly [{
|
1316
|
+
readonly internalType: "uint64";
|
1317
|
+
readonly name: "batchNumber";
|
1318
|
+
readonly type: "uint64";
|
1319
|
+
}, {
|
1320
|
+
readonly internalType: "uint64";
|
1321
|
+
readonly name: "timestamp";
|
1322
|
+
readonly type: "uint64";
|
1323
|
+
}, {
|
1324
|
+
readonly internalType: "uint64";
|
1325
|
+
readonly name: "indexRepeatedStorageChanges";
|
1326
|
+
readonly type: "uint64";
|
1327
|
+
}, {
|
1328
|
+
readonly internalType: "bytes32";
|
1329
|
+
readonly name: "newStateRoot";
|
1330
|
+
readonly type: "bytes32";
|
1331
|
+
}, {
|
1332
|
+
readonly internalType: "uint256";
|
1333
|
+
readonly name: "numberOfLayer1Txs";
|
1334
|
+
readonly type: "uint256";
|
1335
|
+
}, {
|
1336
|
+
readonly internalType: "bytes32";
|
1337
|
+
readonly name: "priorityOperationsHash";
|
1338
|
+
readonly type: "bytes32";
|
1339
|
+
}, {
|
1340
|
+
readonly internalType: "bytes32";
|
1341
|
+
readonly name: "bootloaderHeapInitialContentsHash";
|
1342
|
+
readonly type: "bytes32";
|
1343
|
+
}, {
|
1344
|
+
readonly internalType: "bytes32";
|
1345
|
+
readonly name: "eventsQueueStateHash";
|
1346
|
+
readonly type: "bytes32";
|
1347
|
+
}, {
|
1348
|
+
readonly internalType: "bytes";
|
1349
|
+
readonly name: "systemLogs";
|
1350
|
+
readonly type: "bytes";
|
1351
|
+
}, {
|
1352
|
+
readonly internalType: "bytes";
|
1353
|
+
readonly name: "pubdataCommitments";
|
1354
|
+
readonly type: "bytes";
|
1355
|
+
}];
|
1356
|
+
readonly internalType: "struct IExecutor.CommitBatchInfo[]";
|
1357
|
+
readonly name: "_newBatchesData";
|
1358
|
+
readonly type: "tuple[]";
|
1359
|
+
}];
|
1360
|
+
readonly name: "commitBatches";
|
1361
|
+
readonly outputs: readonly [];
|
1362
|
+
readonly stateMutability: "nonpayable";
|
1363
|
+
readonly type: "function";
|
1364
|
+
}, {
|
1365
|
+
readonly inputs: readonly [{
|
1366
|
+
readonly internalType: "uint256";
|
1367
|
+
readonly name: "_chainId";
|
1368
|
+
readonly type: "uint256";
|
1369
|
+
}, {
|
1370
|
+
readonly components: readonly [{
|
1371
|
+
readonly internalType: "uint64";
|
1372
|
+
readonly name: "batchNumber";
|
1373
|
+
readonly type: "uint64";
|
1374
|
+
}, {
|
1375
|
+
readonly internalType: "bytes32";
|
1376
|
+
readonly name: "batchHash";
|
1377
|
+
readonly type: "bytes32";
|
1378
|
+
}, {
|
1379
|
+
readonly internalType: "uint64";
|
1380
|
+
readonly name: "indexRepeatedStorageChanges";
|
1381
|
+
readonly type: "uint64";
|
1382
|
+
}, {
|
1383
|
+
readonly internalType: "uint256";
|
1384
|
+
readonly name: "numberOfLayer1Txs";
|
1385
|
+
readonly type: "uint256";
|
1386
|
+
}, {
|
1387
|
+
readonly internalType: "bytes32";
|
1388
|
+
readonly name: "priorityOperationsHash";
|
1389
|
+
readonly type: "bytes32";
|
1390
|
+
}, {
|
1391
|
+
readonly internalType: "bytes32";
|
1392
|
+
readonly name: "l2LogsTreeRoot";
|
1393
|
+
readonly type: "bytes32";
|
1394
|
+
}, {
|
1395
|
+
readonly internalType: "uint256";
|
1396
|
+
readonly name: "timestamp";
|
1397
|
+
readonly type: "uint256";
|
1398
|
+
}, {
|
1399
|
+
readonly internalType: "bytes32";
|
1400
|
+
readonly name: "commitment";
|
1401
|
+
readonly type: "bytes32";
|
1402
|
+
}];
|
1403
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo";
|
1404
|
+
readonly name: "_lastCommittedBatchData";
|
1405
|
+
readonly type: "tuple";
|
1406
|
+
}, {
|
1407
|
+
readonly components: readonly [{
|
1408
|
+
readonly internalType: "uint64";
|
1409
|
+
readonly name: "batchNumber";
|
1410
|
+
readonly type: "uint64";
|
1411
|
+
}, {
|
1412
|
+
readonly internalType: "uint64";
|
1413
|
+
readonly name: "timestamp";
|
1414
|
+
readonly type: "uint64";
|
1415
|
+
}, {
|
1416
|
+
readonly internalType: "uint64";
|
1417
|
+
readonly name: "indexRepeatedStorageChanges";
|
1418
|
+
readonly type: "uint64";
|
1419
|
+
}, {
|
1420
|
+
readonly internalType: "bytes32";
|
1421
|
+
readonly name: "newStateRoot";
|
1422
|
+
readonly type: "bytes32";
|
1423
|
+
}, {
|
1424
|
+
readonly internalType: "uint256";
|
1425
|
+
readonly name: "numberOfLayer1Txs";
|
1426
|
+
readonly type: "uint256";
|
1427
|
+
}, {
|
1428
|
+
readonly internalType: "bytes32";
|
1429
|
+
readonly name: "priorityOperationsHash";
|
1430
|
+
readonly type: "bytes32";
|
1431
|
+
}, {
|
1432
|
+
readonly internalType: "bytes32";
|
1433
|
+
readonly name: "bootloaderHeapInitialContentsHash";
|
1434
|
+
readonly type: "bytes32";
|
1435
|
+
}, {
|
1436
|
+
readonly internalType: "bytes32";
|
1437
|
+
readonly name: "eventsQueueStateHash";
|
1438
|
+
readonly type: "bytes32";
|
1439
|
+
}, {
|
1440
|
+
readonly internalType: "bytes";
|
1441
|
+
readonly name: "systemLogs";
|
1442
|
+
readonly type: "bytes";
|
1443
|
+
}, {
|
1444
|
+
readonly internalType: "bytes";
|
1445
|
+
readonly name: "pubdataCommitments";
|
1446
|
+
readonly type: "bytes";
|
1447
|
+
}];
|
1448
|
+
readonly internalType: "struct IExecutor.CommitBatchInfo[]";
|
1449
|
+
readonly name: "_newBatchesData";
|
1450
|
+
readonly type: "tuple[]";
|
1451
|
+
}];
|
1452
|
+
readonly name: "commitBatchesSharedBridge";
|
1453
|
+
readonly outputs: readonly [];
|
1454
|
+
readonly stateMutability: "nonpayable";
|
1455
|
+
readonly type: "function";
|
1456
|
+
}, {
|
1457
|
+
readonly inputs: readonly [{
|
1458
|
+
readonly components: readonly [{
|
1459
|
+
readonly internalType: "uint64";
|
1460
|
+
readonly name: "batchNumber";
|
1461
|
+
readonly type: "uint64";
|
1462
|
+
}, {
|
1463
|
+
readonly internalType: "bytes32";
|
1464
|
+
readonly name: "batchHash";
|
1465
|
+
readonly type: "bytes32";
|
1466
|
+
}, {
|
1467
|
+
readonly internalType: "uint64";
|
1468
|
+
readonly name: "indexRepeatedStorageChanges";
|
1469
|
+
readonly type: "uint64";
|
1470
|
+
}, {
|
1471
|
+
readonly internalType: "uint256";
|
1472
|
+
readonly name: "numberOfLayer1Txs";
|
1473
|
+
readonly type: "uint256";
|
1474
|
+
}, {
|
1475
|
+
readonly internalType: "bytes32";
|
1476
|
+
readonly name: "priorityOperationsHash";
|
1477
|
+
readonly type: "bytes32";
|
1478
|
+
}, {
|
1479
|
+
readonly internalType: "bytes32";
|
1480
|
+
readonly name: "l2LogsTreeRoot";
|
1481
|
+
readonly type: "bytes32";
|
1482
|
+
}, {
|
1483
|
+
readonly internalType: "uint256";
|
1484
|
+
readonly name: "timestamp";
|
1485
|
+
readonly type: "uint256";
|
1486
|
+
}, {
|
1487
|
+
readonly internalType: "bytes32";
|
1488
|
+
readonly name: "commitment";
|
1489
|
+
readonly type: "bytes32";
|
1490
|
+
}];
|
1491
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo[]";
|
1492
|
+
readonly name: "_batchesData";
|
1493
|
+
readonly type: "tuple[]";
|
1494
|
+
}];
|
1495
|
+
readonly name: "executeBatches";
|
1496
|
+
readonly outputs: readonly [];
|
1497
|
+
readonly stateMutability: "nonpayable";
|
1498
|
+
readonly type: "function";
|
1499
|
+
}, {
|
1500
|
+
readonly inputs: readonly [{
|
1501
|
+
readonly internalType: "uint256";
|
1502
|
+
readonly name: "_chainId";
|
1503
|
+
readonly type: "uint256";
|
1504
|
+
}, {
|
1505
|
+
readonly components: readonly [{
|
1506
|
+
readonly internalType: "uint64";
|
1507
|
+
readonly name: "batchNumber";
|
1508
|
+
readonly type: "uint64";
|
1509
|
+
}, {
|
1510
|
+
readonly internalType: "bytes32";
|
1511
|
+
readonly name: "batchHash";
|
1512
|
+
readonly type: "bytes32";
|
1513
|
+
}, {
|
1514
|
+
readonly internalType: "uint64";
|
1515
|
+
readonly name: "indexRepeatedStorageChanges";
|
1516
|
+
readonly type: "uint64";
|
1517
|
+
}, {
|
1518
|
+
readonly internalType: "uint256";
|
1519
|
+
readonly name: "numberOfLayer1Txs";
|
1520
|
+
readonly type: "uint256";
|
1521
|
+
}, {
|
1522
|
+
readonly internalType: "bytes32";
|
1523
|
+
readonly name: "priorityOperationsHash";
|
1524
|
+
readonly type: "bytes32";
|
1525
|
+
}, {
|
1526
|
+
readonly internalType: "bytes32";
|
1527
|
+
readonly name: "l2LogsTreeRoot";
|
1528
|
+
readonly type: "bytes32";
|
1529
|
+
}, {
|
1530
|
+
readonly internalType: "uint256";
|
1531
|
+
readonly name: "timestamp";
|
1532
|
+
readonly type: "uint256";
|
1533
|
+
}, {
|
1534
|
+
readonly internalType: "bytes32";
|
1535
|
+
readonly name: "commitment";
|
1536
|
+
readonly type: "bytes32";
|
1537
|
+
}];
|
1538
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo[]";
|
1539
|
+
readonly name: "_batchesData";
|
1540
|
+
readonly type: "tuple[]";
|
1541
|
+
}];
|
1542
|
+
readonly name: "executeBatchesSharedBridge";
|
1543
|
+
readonly outputs: readonly [];
|
1544
|
+
readonly stateMutability: "nonpayable";
|
1545
|
+
readonly type: "function";
|
1546
|
+
}, {
|
1547
|
+
readonly inputs: readonly [{
|
1548
|
+
readonly components: readonly [{
|
1549
|
+
readonly components: readonly [{
|
1550
|
+
readonly internalType: "address";
|
1551
|
+
readonly name: "facet";
|
1552
|
+
readonly type: "address";
|
1553
|
+
}, {
|
1554
|
+
readonly internalType: "enum Diamond.Action";
|
1555
|
+
readonly name: "action";
|
1556
|
+
readonly type: "uint8";
|
1557
|
+
}, {
|
1558
|
+
readonly internalType: "bool";
|
1559
|
+
readonly name: "isFreezable";
|
1560
|
+
readonly type: "bool";
|
1561
|
+
}, {
|
1562
|
+
readonly internalType: "bytes4[]";
|
1563
|
+
readonly name: "selectors";
|
1564
|
+
readonly type: "bytes4[]";
|
1565
|
+
}];
|
1566
|
+
readonly internalType: "struct Diamond.FacetCut[]";
|
1567
|
+
readonly name: "facetCuts";
|
1568
|
+
readonly type: "tuple[]";
|
1569
|
+
}, {
|
1570
|
+
readonly internalType: "address";
|
1571
|
+
readonly name: "initAddress";
|
1572
|
+
readonly type: "address";
|
1573
|
+
}, {
|
1574
|
+
readonly internalType: "bytes";
|
1575
|
+
readonly name: "initCalldata";
|
1576
|
+
readonly type: "bytes";
|
1577
|
+
}];
|
1578
|
+
readonly internalType: "struct Diamond.DiamondCutData";
|
1579
|
+
readonly name: "_diamondCut";
|
1580
|
+
readonly type: "tuple";
|
1581
|
+
}];
|
1582
|
+
readonly name: "executeUpgrade";
|
1583
|
+
readonly outputs: readonly [];
|
1584
|
+
readonly stateMutability: "nonpayable";
|
1585
|
+
readonly type: "function";
|
1586
|
+
}, {
|
1587
|
+
readonly inputs: readonly [{
|
1588
|
+
readonly internalType: "bytes4";
|
1589
|
+
readonly name: "_selector";
|
1590
|
+
readonly type: "bytes4";
|
1591
|
+
}];
|
1592
|
+
readonly name: "facetAddress";
|
1593
|
+
readonly outputs: readonly [{
|
1594
|
+
readonly internalType: "address";
|
1595
|
+
readonly name: "facet";
|
1596
|
+
readonly type: "address";
|
1597
|
+
}];
|
1598
|
+
readonly stateMutability: "view";
|
1599
|
+
readonly type: "function";
|
1600
|
+
}, {
|
1601
|
+
readonly inputs: readonly [];
|
1602
|
+
readonly name: "facetAddresses";
|
1603
|
+
readonly outputs: readonly [{
|
1604
|
+
readonly internalType: "address[]";
|
1605
|
+
readonly name: "facets";
|
1606
|
+
readonly type: "address[]";
|
1607
|
+
}];
|
1608
|
+
readonly stateMutability: "view";
|
1609
|
+
readonly type: "function";
|
1610
|
+
}, {
|
1611
|
+
readonly inputs: readonly [{
|
1612
|
+
readonly internalType: "address";
|
1613
|
+
readonly name: "_facet";
|
1614
|
+
readonly type: "address";
|
1615
|
+
}];
|
1616
|
+
readonly name: "facetFunctionSelectors";
|
1617
|
+
readonly outputs: readonly [{
|
1618
|
+
readonly internalType: "bytes4[]";
|
1619
|
+
readonly name: "";
|
1620
|
+
readonly type: "bytes4[]";
|
1621
|
+
}];
|
1622
|
+
readonly stateMutability: "view";
|
1623
|
+
readonly type: "function";
|
1624
|
+
}, {
|
1625
|
+
readonly inputs: readonly [];
|
1626
|
+
readonly name: "facets";
|
1627
|
+
readonly outputs: readonly [{
|
1628
|
+
readonly components: readonly [{
|
1629
|
+
readonly internalType: "address";
|
1630
|
+
readonly name: "addr";
|
1631
|
+
readonly type: "address";
|
1632
|
+
}, {
|
1633
|
+
readonly internalType: "bytes4[]";
|
1634
|
+
readonly name: "selectors";
|
1635
|
+
readonly type: "bytes4[]";
|
1636
|
+
}];
|
1637
|
+
readonly internalType: "struct IGetters.Facet[]";
|
1638
|
+
readonly name: "";
|
1639
|
+
readonly type: "tuple[]";
|
1640
|
+
}];
|
1641
|
+
readonly stateMutability: "view";
|
1642
|
+
readonly type: "function";
|
1643
|
+
}, {
|
1644
|
+
readonly inputs: readonly [{
|
1645
|
+
readonly internalType: "uint256";
|
1646
|
+
readonly name: "_l2BatchNumber";
|
1647
|
+
readonly type: "uint256";
|
1648
|
+
}, {
|
1649
|
+
readonly internalType: "uint256";
|
1650
|
+
readonly name: "_l2MessageIndex";
|
1651
|
+
readonly type: "uint256";
|
1652
|
+
}, {
|
1653
|
+
readonly internalType: "uint16";
|
1654
|
+
readonly name: "_l2TxNumberInBatch";
|
1655
|
+
readonly type: "uint16";
|
1656
|
+
}, {
|
1657
|
+
readonly internalType: "bytes";
|
1658
|
+
readonly name: "_message";
|
1659
|
+
readonly type: "bytes";
|
1660
|
+
}, {
|
1661
|
+
readonly internalType: "bytes32[]";
|
1662
|
+
readonly name: "_merkleProof";
|
1663
|
+
readonly type: "bytes32[]";
|
1664
|
+
}];
|
1665
|
+
readonly name: "finalizeEthWithdrawal";
|
1666
|
+
readonly outputs: readonly [];
|
1667
|
+
readonly stateMutability: "nonpayable";
|
1668
|
+
readonly type: "function";
|
1669
|
+
}, {
|
1670
|
+
readonly inputs: readonly [];
|
1671
|
+
readonly name: "freezeDiamond";
|
1672
|
+
readonly outputs: readonly [];
|
1673
|
+
readonly stateMutability: "nonpayable";
|
1674
|
+
readonly type: "function";
|
1675
|
+
}, {
|
1676
|
+
readonly inputs: readonly [];
|
1677
|
+
readonly name: "getAdmin";
|
1678
|
+
readonly outputs: readonly [{
|
1679
|
+
readonly internalType: "address";
|
1680
|
+
readonly name: "";
|
1681
|
+
readonly type: "address";
|
1682
|
+
}];
|
1683
|
+
readonly stateMutability: "view";
|
1684
|
+
readonly type: "function";
|
1685
|
+
}, {
|
1686
|
+
readonly inputs: readonly [];
|
1687
|
+
readonly name: "getBaseToken";
|
1688
|
+
readonly outputs: readonly [{
|
1689
|
+
readonly internalType: "address";
|
1690
|
+
readonly name: "";
|
1691
|
+
readonly type: "address";
|
1692
|
+
}];
|
1693
|
+
readonly stateMutability: "view";
|
1694
|
+
readonly type: "function";
|
1695
|
+
}, {
|
1696
|
+
readonly inputs: readonly [];
|
1697
|
+
readonly name: "getBaseTokenBridge";
|
1698
|
+
readonly outputs: readonly [{
|
1699
|
+
readonly internalType: "address";
|
1700
|
+
readonly name: "";
|
1701
|
+
readonly type: "address";
|
1702
|
+
}];
|
1703
|
+
readonly stateMutability: "view";
|
1704
|
+
readonly type: "function";
|
1705
|
+
}, {
|
1706
|
+
readonly inputs: readonly [];
|
1707
|
+
readonly name: "getBridgehub";
|
1708
|
+
readonly outputs: readonly [{
|
1709
|
+
readonly internalType: "address";
|
1710
|
+
readonly name: "";
|
1711
|
+
readonly type: "address";
|
1712
|
+
}];
|
1713
|
+
readonly stateMutability: "view";
|
1714
|
+
readonly type: "function";
|
1715
|
+
}, {
|
1716
|
+
readonly inputs: readonly [];
|
1717
|
+
readonly name: "getFirstUnprocessedPriorityTx";
|
1718
|
+
readonly outputs: readonly [{
|
1719
|
+
readonly internalType: "uint256";
|
1720
|
+
readonly name: "";
|
1721
|
+
readonly type: "uint256";
|
1722
|
+
}];
|
1723
|
+
readonly stateMutability: "view";
|
1724
|
+
readonly type: "function";
|
1725
|
+
}, {
|
1726
|
+
readonly inputs: readonly [];
|
1727
|
+
readonly name: "getL2BootloaderBytecodeHash";
|
1728
|
+
readonly outputs: readonly [{
|
1729
|
+
readonly internalType: "bytes32";
|
1730
|
+
readonly name: "";
|
1731
|
+
readonly type: "bytes32";
|
1732
|
+
}];
|
1733
|
+
readonly stateMutability: "view";
|
1734
|
+
readonly type: "function";
|
1735
|
+
}, {
|
1736
|
+
readonly inputs: readonly [];
|
1737
|
+
readonly name: "getL2DefaultAccountBytecodeHash";
|
1738
|
+
readonly outputs: readonly [{
|
1739
|
+
readonly internalType: "bytes32";
|
1740
|
+
readonly name: "";
|
1741
|
+
readonly type: "bytes32";
|
1742
|
+
}];
|
1743
|
+
readonly stateMutability: "view";
|
1744
|
+
readonly type: "function";
|
1745
|
+
}, {
|
1746
|
+
readonly inputs: readonly [];
|
1747
|
+
readonly name: "getL2SystemContractsUpgradeBatchNumber";
|
1748
|
+
readonly outputs: readonly [{
|
1749
|
+
readonly internalType: "uint256";
|
1750
|
+
readonly name: "";
|
1751
|
+
readonly type: "uint256";
|
1752
|
+
}];
|
1753
|
+
readonly stateMutability: "view";
|
1754
|
+
readonly type: "function";
|
1755
|
+
}, {
|
1756
|
+
readonly inputs: readonly [];
|
1757
|
+
readonly name: "getL2SystemContractsUpgradeTxHash";
|
1758
|
+
readonly outputs: readonly [{
|
1759
|
+
readonly internalType: "bytes32";
|
1760
|
+
readonly name: "";
|
1761
|
+
readonly type: "bytes32";
|
1762
|
+
}];
|
1763
|
+
readonly stateMutability: "view";
|
1764
|
+
readonly type: "function";
|
1765
|
+
}, {
|
1766
|
+
readonly inputs: readonly [];
|
1767
|
+
readonly name: "getName";
|
1768
|
+
readonly outputs: readonly [{
|
1769
|
+
readonly internalType: "string";
|
1770
|
+
readonly name: "";
|
1771
|
+
readonly type: "string";
|
1772
|
+
}];
|
1773
|
+
readonly stateMutability: "view";
|
1774
|
+
readonly type: "function";
|
1775
|
+
}, {
|
1776
|
+
readonly inputs: readonly [];
|
1777
|
+
readonly name: "getPendingAdmin";
|
1778
|
+
readonly outputs: readonly [{
|
1779
|
+
readonly internalType: "address";
|
1780
|
+
readonly name: "";
|
1781
|
+
readonly type: "address";
|
1782
|
+
}];
|
1783
|
+
readonly stateMutability: "view";
|
1784
|
+
readonly type: "function";
|
1785
|
+
}, {
|
1786
|
+
readonly inputs: readonly [];
|
1787
|
+
readonly name: "getPriorityQueueSize";
|
1788
|
+
readonly outputs: readonly [{
|
1789
|
+
readonly internalType: "uint256";
|
1790
|
+
readonly name: "";
|
1791
|
+
readonly type: "uint256";
|
1792
|
+
}];
|
1793
|
+
readonly stateMutability: "view";
|
1794
|
+
readonly type: "function";
|
1795
|
+
}, {
|
1796
|
+
readonly inputs: readonly [];
|
1797
|
+
readonly name: "getPriorityTxMaxGasLimit";
|
1798
|
+
readonly outputs: readonly [{
|
1799
|
+
readonly internalType: "uint256";
|
1800
|
+
readonly name: "";
|
1801
|
+
readonly type: "uint256";
|
1802
|
+
}];
|
1803
|
+
readonly stateMutability: "view";
|
1804
|
+
readonly type: "function";
|
1805
|
+
}, {
|
1806
|
+
readonly inputs: readonly [];
|
1807
|
+
readonly name: "getProtocolVersion";
|
1808
|
+
readonly outputs: readonly [{
|
1809
|
+
readonly internalType: "uint256";
|
1810
|
+
readonly name: "";
|
1811
|
+
readonly type: "uint256";
|
1812
|
+
}];
|
1813
|
+
readonly stateMutability: "view";
|
1814
|
+
readonly type: "function";
|
1815
|
+
}, {
|
1816
|
+
readonly inputs: readonly [];
|
1817
|
+
readonly name: "getPubdataPricingMode";
|
1818
|
+
readonly outputs: readonly [{
|
1819
|
+
readonly internalType: "enum PubdataPricingMode";
|
1820
|
+
readonly name: "";
|
1821
|
+
readonly type: "uint8";
|
1822
|
+
}];
|
1823
|
+
readonly stateMutability: "view";
|
1824
|
+
readonly type: "function";
|
1825
|
+
}, {
|
1826
|
+
readonly inputs: readonly [];
|
1827
|
+
readonly name: "getSemverProtocolVersion";
|
1828
|
+
readonly outputs: readonly [{
|
1829
|
+
readonly internalType: "uint32";
|
1830
|
+
readonly name: "";
|
1831
|
+
readonly type: "uint32";
|
1832
|
+
}, {
|
1833
|
+
readonly internalType: "uint32";
|
1834
|
+
readonly name: "";
|
1835
|
+
readonly type: "uint32";
|
1836
|
+
}, {
|
1837
|
+
readonly internalType: "uint32";
|
1838
|
+
readonly name: "";
|
1839
|
+
readonly type: "uint32";
|
1840
|
+
}];
|
1841
|
+
readonly stateMutability: "view";
|
1842
|
+
readonly type: "function";
|
1843
|
+
}, {
|
1844
|
+
readonly inputs: readonly [];
|
1845
|
+
readonly name: "getStateTransitionManager";
|
1846
|
+
readonly outputs: readonly [{
|
1847
|
+
readonly internalType: "address";
|
1848
|
+
readonly name: "";
|
1849
|
+
readonly type: "address";
|
1850
|
+
}];
|
1851
|
+
readonly stateMutability: "view";
|
1852
|
+
readonly type: "function";
|
1853
|
+
}, {
|
1854
|
+
readonly inputs: readonly [];
|
1855
|
+
readonly name: "getTotalBatchesCommitted";
|
1856
|
+
readonly outputs: readonly [{
|
1857
|
+
readonly internalType: "uint256";
|
1858
|
+
readonly name: "";
|
1859
|
+
readonly type: "uint256";
|
1860
|
+
}];
|
1861
|
+
readonly stateMutability: "view";
|
1862
|
+
readonly type: "function";
|
1863
|
+
}, {
|
1864
|
+
readonly inputs: readonly [];
|
1865
|
+
readonly name: "getTotalBatchesExecuted";
|
1866
|
+
readonly outputs: readonly [{
|
1867
|
+
readonly internalType: "uint256";
|
1868
|
+
readonly name: "";
|
1869
|
+
readonly type: "uint256";
|
1870
|
+
}];
|
1871
|
+
readonly stateMutability: "view";
|
1872
|
+
readonly type: "function";
|
1873
|
+
}, {
|
1874
|
+
readonly inputs: readonly [];
|
1875
|
+
readonly name: "getTotalBatchesVerified";
|
1876
|
+
readonly outputs: readonly [{
|
1877
|
+
readonly internalType: "uint256";
|
1878
|
+
readonly name: "";
|
1879
|
+
readonly type: "uint256";
|
1880
|
+
}];
|
1881
|
+
readonly stateMutability: "view";
|
1882
|
+
readonly type: "function";
|
1883
|
+
}, {
|
1884
|
+
readonly inputs: readonly [];
|
1885
|
+
readonly name: "getTotalPriorityTxs";
|
1886
|
+
readonly outputs: readonly [{
|
1887
|
+
readonly internalType: "uint256";
|
1888
|
+
readonly name: "";
|
1889
|
+
readonly type: "uint256";
|
1890
|
+
}];
|
1891
|
+
readonly stateMutability: "view";
|
1892
|
+
readonly type: "function";
|
1893
|
+
}, {
|
1894
|
+
readonly inputs: readonly [];
|
1895
|
+
readonly name: "getVerifier";
|
1896
|
+
readonly outputs: readonly [{
|
1897
|
+
readonly internalType: "address";
|
1898
|
+
readonly name: "";
|
1899
|
+
readonly type: "address";
|
1900
|
+
}];
|
1901
|
+
readonly stateMutability: "view";
|
1902
|
+
readonly type: "function";
|
1903
|
+
}, {
|
1904
|
+
readonly inputs: readonly [];
|
1905
|
+
readonly name: "getVerifierParams";
|
1906
|
+
readonly outputs: readonly [{
|
1907
|
+
readonly components: readonly [{
|
1908
|
+
readonly internalType: "bytes32";
|
1909
|
+
readonly name: "recursionNodeLevelVkHash";
|
1910
|
+
readonly type: "bytes32";
|
1911
|
+
}, {
|
1912
|
+
readonly internalType: "bytes32";
|
1913
|
+
readonly name: "recursionLeafLevelVkHash";
|
1914
|
+
readonly type: "bytes32";
|
1915
|
+
}, {
|
1916
|
+
readonly internalType: "bytes32";
|
1917
|
+
readonly name: "recursionCircuitsSetVksHash";
|
1918
|
+
readonly type: "bytes32";
|
1919
|
+
}];
|
1920
|
+
readonly internalType: "struct VerifierParams";
|
1921
|
+
readonly name: "";
|
1922
|
+
readonly type: "tuple";
|
1923
|
+
}];
|
1924
|
+
readonly stateMutability: "view";
|
1925
|
+
readonly type: "function";
|
1926
|
+
}, {
|
1927
|
+
readonly inputs: readonly [];
|
1928
|
+
readonly name: "isDiamondStorageFrozen";
|
1929
|
+
readonly outputs: readonly [{
|
1930
|
+
readonly internalType: "bool";
|
1931
|
+
readonly name: "";
|
1932
|
+
readonly type: "bool";
|
1933
|
+
}];
|
1934
|
+
readonly stateMutability: "view";
|
1935
|
+
readonly type: "function";
|
1936
|
+
}, {
|
1937
|
+
readonly inputs: readonly [{
|
1938
|
+
readonly internalType: "uint256";
|
1939
|
+
readonly name: "_l2BatchNumber";
|
1940
|
+
readonly type: "uint256";
|
1941
|
+
}, {
|
1942
|
+
readonly internalType: "uint256";
|
1943
|
+
readonly name: "_l2MessageIndex";
|
1944
|
+
readonly type: "uint256";
|
1945
|
+
}];
|
1946
|
+
readonly name: "isEthWithdrawalFinalized";
|
1947
|
+
readonly outputs: readonly [{
|
1948
|
+
readonly internalType: "bool";
|
1949
|
+
readonly name: "";
|
1950
|
+
readonly type: "bool";
|
1951
|
+
}];
|
1952
|
+
readonly stateMutability: "view";
|
1953
|
+
readonly type: "function";
|
1954
|
+
}, {
|
1955
|
+
readonly inputs: readonly [{
|
1956
|
+
readonly internalType: "address";
|
1957
|
+
readonly name: "_facet";
|
1958
|
+
readonly type: "address";
|
1959
|
+
}];
|
1960
|
+
readonly name: "isFacetFreezable";
|
1961
|
+
readonly outputs: readonly [{
|
1962
|
+
readonly internalType: "bool";
|
1963
|
+
readonly name: "isFreezable";
|
1964
|
+
readonly type: "bool";
|
1965
|
+
}];
|
1966
|
+
readonly stateMutability: "view";
|
1967
|
+
readonly type: "function";
|
1968
|
+
}, {
|
1969
|
+
readonly inputs: readonly [{
|
1970
|
+
readonly internalType: "bytes4";
|
1971
|
+
readonly name: "_selector";
|
1972
|
+
readonly type: "bytes4";
|
1973
|
+
}];
|
1974
|
+
readonly name: "isFunctionFreezable";
|
1975
|
+
readonly outputs: readonly [{
|
1976
|
+
readonly internalType: "bool";
|
1977
|
+
readonly name: "";
|
1978
|
+
readonly type: "bool";
|
1979
|
+
}];
|
1980
|
+
readonly stateMutability: "view";
|
1981
|
+
readonly type: "function";
|
1982
|
+
}, {
|
1983
|
+
readonly inputs: readonly [{
|
1984
|
+
readonly internalType: "address";
|
1985
|
+
readonly name: "_address";
|
1986
|
+
readonly type: "address";
|
1987
|
+
}];
|
1988
|
+
readonly name: "isValidator";
|
1989
|
+
readonly outputs: readonly [{
|
1990
|
+
readonly internalType: "bool";
|
1991
|
+
readonly name: "";
|
1992
|
+
readonly type: "bool";
|
1993
|
+
}];
|
1994
|
+
readonly stateMutability: "view";
|
1995
|
+
readonly type: "function";
|
1996
|
+
}, {
|
1997
|
+
readonly inputs: readonly [{
|
1998
|
+
readonly internalType: "uint256";
|
1999
|
+
readonly name: "_batchNumber";
|
2000
|
+
readonly type: "uint256";
|
2001
|
+
}];
|
2002
|
+
readonly name: "l2LogsRootHash";
|
2003
|
+
readonly outputs: readonly [{
|
2004
|
+
readonly internalType: "bytes32";
|
2005
|
+
readonly name: "merkleRoot";
|
2006
|
+
readonly type: "bytes32";
|
2007
|
+
}];
|
2008
|
+
readonly stateMutability: "view";
|
2009
|
+
readonly type: "function";
|
2010
|
+
}, {
|
2011
|
+
readonly inputs: readonly [{
|
2012
|
+
readonly internalType: "uint256";
|
2013
|
+
readonly name: "_gasPrice";
|
2014
|
+
readonly type: "uint256";
|
2015
|
+
}, {
|
2016
|
+
readonly internalType: "uint256";
|
2017
|
+
readonly name: "_l2GasLimit";
|
2018
|
+
readonly type: "uint256";
|
2019
|
+
}, {
|
2020
|
+
readonly internalType: "uint256";
|
2021
|
+
readonly name: "_l2GasPerPubdataByteLimit";
|
2022
|
+
readonly type: "uint256";
|
2023
|
+
}];
|
2024
|
+
readonly name: "l2TransactionBaseCost";
|
2025
|
+
readonly outputs: readonly [{
|
2026
|
+
readonly internalType: "uint256";
|
2027
|
+
readonly name: "";
|
2028
|
+
readonly type: "uint256";
|
2029
|
+
}];
|
2030
|
+
readonly stateMutability: "view";
|
2031
|
+
readonly type: "function";
|
2032
|
+
}, {
|
2033
|
+
readonly inputs: readonly [];
|
2034
|
+
readonly name: "priorityQueueFrontOperation";
|
2035
|
+
readonly outputs: readonly [{
|
2036
|
+
readonly components: readonly [{
|
2037
|
+
readonly internalType: "bytes32";
|
2038
|
+
readonly name: "canonicalTxHash";
|
2039
|
+
readonly type: "bytes32";
|
2040
|
+
}, {
|
2041
|
+
readonly internalType: "uint64";
|
2042
|
+
readonly name: "expirationTimestamp";
|
2043
|
+
readonly type: "uint64";
|
2044
|
+
}, {
|
2045
|
+
readonly internalType: "uint192";
|
2046
|
+
readonly name: "layer2Tip";
|
2047
|
+
readonly type: "uint192";
|
2048
|
+
}];
|
2049
|
+
readonly internalType: "struct PriorityOperation";
|
2050
|
+
readonly name: "";
|
2051
|
+
readonly type: "tuple";
|
2052
|
+
}];
|
2053
|
+
readonly stateMutability: "view";
|
2054
|
+
readonly type: "function";
|
2055
|
+
}, {
|
2056
|
+
readonly inputs: readonly [{
|
2057
|
+
readonly components: readonly [{
|
2058
|
+
readonly internalType: "uint64";
|
2059
|
+
readonly name: "batchNumber";
|
2060
|
+
readonly type: "uint64";
|
2061
|
+
}, {
|
2062
|
+
readonly internalType: "bytes32";
|
2063
|
+
readonly name: "batchHash";
|
2064
|
+
readonly type: "bytes32";
|
2065
|
+
}, {
|
2066
|
+
readonly internalType: "uint64";
|
2067
|
+
readonly name: "indexRepeatedStorageChanges";
|
2068
|
+
readonly type: "uint64";
|
2069
|
+
}, {
|
2070
|
+
readonly internalType: "uint256";
|
2071
|
+
readonly name: "numberOfLayer1Txs";
|
2072
|
+
readonly type: "uint256";
|
2073
|
+
}, {
|
2074
|
+
readonly internalType: "bytes32";
|
2075
|
+
readonly name: "priorityOperationsHash";
|
2076
|
+
readonly type: "bytes32";
|
2077
|
+
}, {
|
2078
|
+
readonly internalType: "bytes32";
|
2079
|
+
readonly name: "l2LogsTreeRoot";
|
2080
|
+
readonly type: "bytes32";
|
2081
|
+
}, {
|
2082
|
+
readonly internalType: "uint256";
|
2083
|
+
readonly name: "timestamp";
|
2084
|
+
readonly type: "uint256";
|
2085
|
+
}, {
|
2086
|
+
readonly internalType: "bytes32";
|
2087
|
+
readonly name: "commitment";
|
2088
|
+
readonly type: "bytes32";
|
2089
|
+
}];
|
2090
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo";
|
2091
|
+
readonly name: "_prevBatch";
|
2092
|
+
readonly type: "tuple";
|
2093
|
+
}, {
|
2094
|
+
readonly components: readonly [{
|
2095
|
+
readonly internalType: "uint64";
|
2096
|
+
readonly name: "batchNumber";
|
2097
|
+
readonly type: "uint64";
|
2098
|
+
}, {
|
2099
|
+
readonly internalType: "bytes32";
|
2100
|
+
readonly name: "batchHash";
|
2101
|
+
readonly type: "bytes32";
|
2102
|
+
}, {
|
2103
|
+
readonly internalType: "uint64";
|
2104
|
+
readonly name: "indexRepeatedStorageChanges";
|
2105
|
+
readonly type: "uint64";
|
2106
|
+
}, {
|
2107
|
+
readonly internalType: "uint256";
|
2108
|
+
readonly name: "numberOfLayer1Txs";
|
2109
|
+
readonly type: "uint256";
|
2110
|
+
}, {
|
2111
|
+
readonly internalType: "bytes32";
|
2112
|
+
readonly name: "priorityOperationsHash";
|
2113
|
+
readonly type: "bytes32";
|
2114
|
+
}, {
|
2115
|
+
readonly internalType: "bytes32";
|
2116
|
+
readonly name: "l2LogsTreeRoot";
|
2117
|
+
readonly type: "bytes32";
|
2118
|
+
}, {
|
2119
|
+
readonly internalType: "uint256";
|
2120
|
+
readonly name: "timestamp";
|
2121
|
+
readonly type: "uint256";
|
2122
|
+
}, {
|
2123
|
+
readonly internalType: "bytes32";
|
2124
|
+
readonly name: "commitment";
|
2125
|
+
readonly type: "bytes32";
|
2126
|
+
}];
|
2127
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo[]";
|
2128
|
+
readonly name: "_committedBatches";
|
2129
|
+
readonly type: "tuple[]";
|
2130
|
+
}, {
|
2131
|
+
readonly components: readonly [{
|
2132
|
+
readonly internalType: "uint256[]";
|
2133
|
+
readonly name: "recursiveAggregationInput";
|
2134
|
+
readonly type: "uint256[]";
|
2135
|
+
}, {
|
2136
|
+
readonly internalType: "uint256[]";
|
2137
|
+
readonly name: "serializedProof";
|
2138
|
+
readonly type: "uint256[]";
|
2139
|
+
}];
|
2140
|
+
readonly internalType: "struct IExecutor.ProofInput";
|
2141
|
+
readonly name: "_proof";
|
2142
|
+
readonly type: "tuple";
|
2143
|
+
}];
|
2144
|
+
readonly name: "proveBatches";
|
2145
|
+
readonly outputs: readonly [];
|
2146
|
+
readonly stateMutability: "nonpayable";
|
2147
|
+
readonly type: "function";
|
2148
|
+
}, {
|
2149
|
+
readonly inputs: readonly [{
|
2150
|
+
readonly internalType: "uint256";
|
2151
|
+
readonly name: "_chainId";
|
2152
|
+
readonly type: "uint256";
|
2153
|
+
}, {
|
2154
|
+
readonly components: readonly [{
|
2155
|
+
readonly internalType: "uint64";
|
2156
|
+
readonly name: "batchNumber";
|
2157
|
+
readonly type: "uint64";
|
2158
|
+
}, {
|
2159
|
+
readonly internalType: "bytes32";
|
2160
|
+
readonly name: "batchHash";
|
2161
|
+
readonly type: "bytes32";
|
2162
|
+
}, {
|
2163
|
+
readonly internalType: "uint64";
|
2164
|
+
readonly name: "indexRepeatedStorageChanges";
|
2165
|
+
readonly type: "uint64";
|
2166
|
+
}, {
|
2167
|
+
readonly internalType: "uint256";
|
2168
|
+
readonly name: "numberOfLayer1Txs";
|
2169
|
+
readonly type: "uint256";
|
2170
|
+
}, {
|
2171
|
+
readonly internalType: "bytes32";
|
2172
|
+
readonly name: "priorityOperationsHash";
|
2173
|
+
readonly type: "bytes32";
|
2174
|
+
}, {
|
2175
|
+
readonly internalType: "bytes32";
|
2176
|
+
readonly name: "l2LogsTreeRoot";
|
2177
|
+
readonly type: "bytes32";
|
2178
|
+
}, {
|
2179
|
+
readonly internalType: "uint256";
|
2180
|
+
readonly name: "timestamp";
|
2181
|
+
readonly type: "uint256";
|
2182
|
+
}, {
|
2183
|
+
readonly internalType: "bytes32";
|
2184
|
+
readonly name: "commitment";
|
2185
|
+
readonly type: "bytes32";
|
2186
|
+
}];
|
2187
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo";
|
2188
|
+
readonly name: "_prevBatch";
|
2189
|
+
readonly type: "tuple";
|
2190
|
+
}, {
|
2191
|
+
readonly components: readonly [{
|
2192
|
+
readonly internalType: "uint64";
|
2193
|
+
readonly name: "batchNumber";
|
2194
|
+
readonly type: "uint64";
|
2195
|
+
}, {
|
2196
|
+
readonly internalType: "bytes32";
|
2197
|
+
readonly name: "batchHash";
|
2198
|
+
readonly type: "bytes32";
|
2199
|
+
}, {
|
2200
|
+
readonly internalType: "uint64";
|
2201
|
+
readonly name: "indexRepeatedStorageChanges";
|
2202
|
+
readonly type: "uint64";
|
2203
|
+
}, {
|
2204
|
+
readonly internalType: "uint256";
|
2205
|
+
readonly name: "numberOfLayer1Txs";
|
2206
|
+
readonly type: "uint256";
|
2207
|
+
}, {
|
2208
|
+
readonly internalType: "bytes32";
|
2209
|
+
readonly name: "priorityOperationsHash";
|
2210
|
+
readonly type: "bytes32";
|
2211
|
+
}, {
|
2212
|
+
readonly internalType: "bytes32";
|
2213
|
+
readonly name: "l2LogsTreeRoot";
|
2214
|
+
readonly type: "bytes32";
|
2215
|
+
}, {
|
2216
|
+
readonly internalType: "uint256";
|
2217
|
+
readonly name: "timestamp";
|
2218
|
+
readonly type: "uint256";
|
2219
|
+
}, {
|
2220
|
+
readonly internalType: "bytes32";
|
2221
|
+
readonly name: "commitment";
|
2222
|
+
readonly type: "bytes32";
|
2223
|
+
}];
|
2224
|
+
readonly internalType: "struct IExecutor.StoredBatchInfo[]";
|
2225
|
+
readonly name: "_committedBatches";
|
2226
|
+
readonly type: "tuple[]";
|
2227
|
+
}, {
|
2228
|
+
readonly components: readonly [{
|
2229
|
+
readonly internalType: "uint256[]";
|
2230
|
+
readonly name: "recursiveAggregationInput";
|
2231
|
+
readonly type: "uint256[]";
|
2232
|
+
}, {
|
2233
|
+
readonly internalType: "uint256[]";
|
2234
|
+
readonly name: "serializedProof";
|
2235
|
+
readonly type: "uint256[]";
|
2236
|
+
}];
|
2237
|
+
readonly internalType: "struct IExecutor.ProofInput";
|
2238
|
+
readonly name: "_proof";
|
2239
|
+
readonly type: "tuple";
|
2240
|
+
}];
|
2241
|
+
readonly name: "proveBatchesSharedBridge";
|
2242
|
+
readonly outputs: readonly [];
|
2243
|
+
readonly stateMutability: "nonpayable";
|
2244
|
+
readonly type: "function";
|
2245
|
+
}, {
|
2246
|
+
readonly inputs: readonly [{
|
2247
|
+
readonly internalType: "bytes32";
|
2248
|
+
readonly name: "_l2TxHash";
|
2249
|
+
readonly type: "bytes32";
|
2250
|
+
}, {
|
2251
|
+
readonly internalType: "uint256";
|
2252
|
+
readonly name: "_l2BatchNumber";
|
2253
|
+
readonly type: "uint256";
|
2254
|
+
}, {
|
2255
|
+
readonly internalType: "uint256";
|
2256
|
+
readonly name: "_l2MessageIndex";
|
2257
|
+
readonly type: "uint256";
|
2258
|
+
}, {
|
2259
|
+
readonly internalType: "uint16";
|
2260
|
+
readonly name: "_l2TxNumberInBatch";
|
2261
|
+
readonly type: "uint16";
|
2262
|
+
}, {
|
2263
|
+
readonly internalType: "bytes32[]";
|
2264
|
+
readonly name: "_merkleProof";
|
2265
|
+
readonly type: "bytes32[]";
|
2266
|
+
}, {
|
2267
|
+
readonly internalType: "enum TxStatus";
|
2268
|
+
readonly name: "_status";
|
2269
|
+
readonly type: "uint8";
|
2270
|
+
}];
|
2271
|
+
readonly name: "proveL1ToL2TransactionStatus";
|
2272
|
+
readonly outputs: readonly [{
|
2273
|
+
readonly internalType: "bool";
|
2274
|
+
readonly name: "";
|
2275
|
+
readonly type: "bool";
|
2276
|
+
}];
|
2277
|
+
readonly stateMutability: "view";
|
2278
|
+
readonly type: "function";
|
2279
|
+
}, {
|
2280
|
+
readonly inputs: readonly [{
|
2281
|
+
readonly internalType: "uint256";
|
2282
|
+
readonly name: "_batchNumber";
|
2283
|
+
readonly type: "uint256";
|
2284
|
+
}, {
|
2285
|
+
readonly internalType: "uint256";
|
2286
|
+
readonly name: "_index";
|
2287
|
+
readonly type: "uint256";
|
2288
|
+
}, {
|
2289
|
+
readonly components: readonly [{
|
2290
|
+
readonly internalType: "uint8";
|
2291
|
+
readonly name: "l2ShardId";
|
2292
|
+
readonly type: "uint8";
|
2293
|
+
}, {
|
2294
|
+
readonly internalType: "bool";
|
2295
|
+
readonly name: "isService";
|
2296
|
+
readonly type: "bool";
|
2297
|
+
}, {
|
2298
|
+
readonly internalType: "uint16";
|
2299
|
+
readonly name: "txNumberInBatch";
|
2300
|
+
readonly type: "uint16";
|
2301
|
+
}, {
|
2302
|
+
readonly internalType: "address";
|
2303
|
+
readonly name: "sender";
|
2304
|
+
readonly type: "address";
|
2305
|
+
}, {
|
2306
|
+
readonly internalType: "bytes32";
|
2307
|
+
readonly name: "key";
|
2308
|
+
readonly type: "bytes32";
|
2309
|
+
}, {
|
2310
|
+
readonly internalType: "bytes32";
|
2311
|
+
readonly name: "value";
|
2312
|
+
readonly type: "bytes32";
|
2313
|
+
}];
|
2314
|
+
readonly internalType: "struct L2Log";
|
2315
|
+
readonly name: "_log";
|
2316
|
+
readonly type: "tuple";
|
2317
|
+
}, {
|
2318
|
+
readonly internalType: "bytes32[]";
|
2319
|
+
readonly name: "_proof";
|
2320
|
+
readonly type: "bytes32[]";
|
2321
|
+
}];
|
2322
|
+
readonly name: "proveL2LogInclusion";
|
2323
|
+
readonly outputs: readonly [{
|
2324
|
+
readonly internalType: "bool";
|
2325
|
+
readonly name: "";
|
2326
|
+
readonly type: "bool";
|
2327
|
+
}];
|
2328
|
+
readonly stateMutability: "view";
|
2329
|
+
readonly type: "function";
|
2330
|
+
}, {
|
2331
|
+
readonly inputs: readonly [{
|
2332
|
+
readonly internalType: "uint256";
|
2333
|
+
readonly name: "_batchNumber";
|
2334
|
+
readonly type: "uint256";
|
2335
|
+
}, {
|
2336
|
+
readonly internalType: "uint256";
|
2337
|
+
readonly name: "_index";
|
2338
|
+
readonly type: "uint256";
|
2339
|
+
}, {
|
2340
|
+
readonly components: readonly [{
|
2341
|
+
readonly internalType: "uint16";
|
2342
|
+
readonly name: "txNumberInBatch";
|
2343
|
+
readonly type: "uint16";
|
2344
|
+
}, {
|
2345
|
+
readonly internalType: "address";
|
2346
|
+
readonly name: "sender";
|
2347
|
+
readonly type: "address";
|
2348
|
+
}, {
|
2349
|
+
readonly internalType: "bytes";
|
2350
|
+
readonly name: "data";
|
2351
|
+
readonly type: "bytes";
|
2352
|
+
}];
|
2353
|
+
readonly internalType: "struct L2Message";
|
2354
|
+
readonly name: "_message";
|
2355
|
+
readonly type: "tuple";
|
2356
|
+
}, {
|
2357
|
+
readonly internalType: "bytes32[]";
|
2358
|
+
readonly name: "_proof";
|
2359
|
+
readonly type: "bytes32[]";
|
2360
|
+
}];
|
2361
|
+
readonly name: "proveL2MessageInclusion";
|
2362
|
+
readonly outputs: readonly [{
|
2363
|
+
readonly internalType: "bool";
|
2364
|
+
readonly name: "";
|
2365
|
+
readonly type: "bool";
|
2366
|
+
}];
|
2367
|
+
readonly stateMutability: "view";
|
2368
|
+
readonly type: "function";
|
2369
|
+
}, {
|
2370
|
+
readonly inputs: readonly [{
|
2371
|
+
readonly internalType: "address";
|
2372
|
+
readonly name: "_contractL2";
|
2373
|
+
readonly type: "address";
|
2374
|
+
}, {
|
2375
|
+
readonly internalType: "uint256";
|
2376
|
+
readonly name: "_l2Value";
|
2377
|
+
readonly type: "uint256";
|
2378
|
+
}, {
|
2379
|
+
readonly internalType: "bytes";
|
2380
|
+
readonly name: "_calldata";
|
2381
|
+
readonly type: "bytes";
|
2382
|
+
}, {
|
2383
|
+
readonly internalType: "uint256";
|
2384
|
+
readonly name: "_l2GasLimit";
|
2385
|
+
readonly type: "uint256";
|
2386
|
+
}, {
|
2387
|
+
readonly internalType: "uint256";
|
2388
|
+
readonly name: "_l2GasPerPubdataByteLimit";
|
2389
|
+
readonly type: "uint256";
|
2390
|
+
}, {
|
2391
|
+
readonly internalType: "bytes[]";
|
2392
|
+
readonly name: "_factoryDeps";
|
2393
|
+
readonly type: "bytes[]";
|
2394
|
+
}, {
|
2395
|
+
readonly internalType: "address";
|
2396
|
+
readonly name: "_refundRecipient";
|
2397
|
+
readonly type: "address";
|
2398
|
+
}];
|
2399
|
+
readonly name: "requestL2Transaction";
|
2400
|
+
readonly outputs: readonly [{
|
2401
|
+
readonly internalType: "bytes32";
|
2402
|
+
readonly name: "canonicalTxHash";
|
2403
|
+
readonly type: "bytes32";
|
2404
|
+
}];
|
2405
|
+
readonly stateMutability: "payable";
|
2406
|
+
readonly type: "function";
|
2407
|
+
}, {
|
2408
|
+
readonly inputs: readonly [{
|
2409
|
+
readonly internalType: "uint256";
|
2410
|
+
readonly name: "_newLastBatch";
|
2411
|
+
readonly type: "uint256";
|
2412
|
+
}];
|
2413
|
+
readonly name: "revertBatches";
|
2414
|
+
readonly outputs: readonly [];
|
2415
|
+
readonly stateMutability: "nonpayable";
|
2416
|
+
readonly type: "function";
|
2417
|
+
}, {
|
2418
|
+
readonly inputs: readonly [{
|
2419
|
+
readonly internalType: "uint256";
|
2420
|
+
readonly name: "_chainId";
|
2421
|
+
readonly type: "uint256";
|
2422
|
+
}, {
|
2423
|
+
readonly internalType: "uint256";
|
2424
|
+
readonly name: "_newLastBatch";
|
2425
|
+
readonly type: "uint256";
|
2426
|
+
}];
|
2427
|
+
readonly name: "revertBatchesSharedBridge";
|
2428
|
+
readonly outputs: readonly [];
|
2429
|
+
readonly stateMutability: "nonpayable";
|
2430
|
+
readonly type: "function";
|
2431
|
+
}, {
|
2432
|
+
readonly inputs: readonly [{
|
2433
|
+
readonly internalType: "address";
|
2434
|
+
readonly name: "_newPendingAdmin";
|
2435
|
+
readonly type: "address";
|
2436
|
+
}];
|
2437
|
+
readonly name: "setPendingAdmin";
|
2438
|
+
readonly outputs: readonly [];
|
2439
|
+
readonly stateMutability: "nonpayable";
|
2440
|
+
readonly type: "function";
|
2441
|
+
}, {
|
2442
|
+
readonly inputs: readonly [{
|
2443
|
+
readonly internalType: "bool";
|
2444
|
+
readonly name: "_zkPorterIsAvailable";
|
2445
|
+
readonly type: "bool";
|
2446
|
+
}];
|
2447
|
+
readonly name: "setPorterAvailability";
|
2448
|
+
readonly outputs: readonly [];
|
2449
|
+
readonly stateMutability: "nonpayable";
|
2450
|
+
readonly type: "function";
|
2451
|
+
}, {
|
2452
|
+
readonly inputs: readonly [{
|
2453
|
+
readonly internalType: "uint256";
|
2454
|
+
readonly name: "_newPriorityTxMaxGasLimit";
|
2455
|
+
readonly type: "uint256";
|
2456
|
+
}];
|
2457
|
+
readonly name: "setPriorityTxMaxGasLimit";
|
2458
|
+
readonly outputs: readonly [];
|
2459
|
+
readonly stateMutability: "nonpayable";
|
2460
|
+
readonly type: "function";
|
2461
|
+
}, {
|
2462
|
+
readonly inputs: readonly [{
|
2463
|
+
readonly internalType: "enum PubdataPricingMode";
|
2464
|
+
readonly name: "_pricingMode";
|
2465
|
+
readonly type: "uint8";
|
2466
|
+
}];
|
2467
|
+
readonly name: "setPubdataPricingMode";
|
2468
|
+
readonly outputs: readonly [];
|
2469
|
+
readonly stateMutability: "nonpayable";
|
2470
|
+
readonly type: "function";
|
2471
|
+
}, {
|
2472
|
+
readonly inputs: readonly [{
|
2473
|
+
readonly internalType: "uint128";
|
2474
|
+
readonly name: "_nominator";
|
2475
|
+
readonly type: "uint128";
|
2476
|
+
}, {
|
2477
|
+
readonly internalType: "uint128";
|
2478
|
+
readonly name: "_denominator";
|
2479
|
+
readonly type: "uint128";
|
2480
|
+
}];
|
2481
|
+
readonly name: "setTokenMultiplier";
|
2482
|
+
readonly outputs: readonly [];
|
2483
|
+
readonly stateMutability: "nonpayable";
|
2484
|
+
readonly type: "function";
|
2485
|
+
}, {
|
2486
|
+
readonly inputs: readonly [{
|
2487
|
+
readonly internalType: "address";
|
2488
|
+
readonly name: "_transactionFilterer";
|
2489
|
+
readonly type: "address";
|
2490
|
+
}];
|
2491
|
+
readonly name: "setTransactionFilterer";
|
2492
|
+
readonly outputs: readonly [];
|
2493
|
+
readonly stateMutability: "nonpayable";
|
2494
|
+
readonly type: "function";
|
2495
|
+
}, {
|
2496
|
+
readonly inputs: readonly [{
|
2497
|
+
readonly internalType: "address";
|
2498
|
+
readonly name: "_validator";
|
2499
|
+
readonly type: "address";
|
2500
|
+
}, {
|
2501
|
+
readonly internalType: "bool";
|
2502
|
+
readonly name: "_active";
|
2503
|
+
readonly type: "bool";
|
2504
|
+
}];
|
2505
|
+
readonly name: "setValidator";
|
2506
|
+
readonly outputs: readonly [];
|
2507
|
+
readonly stateMutability: "nonpayable";
|
2508
|
+
readonly type: "function";
|
2509
|
+
}, {
|
2510
|
+
readonly inputs: readonly [{
|
2511
|
+
readonly internalType: "uint256";
|
2512
|
+
readonly name: "_batchNumber";
|
2513
|
+
readonly type: "uint256";
|
2514
|
+
}];
|
2515
|
+
readonly name: "storedBatchHash";
|
2516
|
+
readonly outputs: readonly [{
|
2517
|
+
readonly internalType: "bytes32";
|
2518
|
+
readonly name: "";
|
2519
|
+
readonly type: "bytes32";
|
2520
|
+
}];
|
2521
|
+
readonly stateMutability: "view";
|
2522
|
+
readonly type: "function";
|
2523
|
+
}, {
|
2524
|
+
readonly inputs: readonly [];
|
2525
|
+
readonly name: "transferEthToSharedBridge";
|
2526
|
+
readonly outputs: readonly [];
|
2527
|
+
readonly stateMutability: "nonpayable";
|
2528
|
+
readonly type: "function";
|
2529
|
+
}, {
|
2530
|
+
readonly inputs: readonly [];
|
2531
|
+
readonly name: "unfreezeDiamond";
|
2532
|
+
readonly outputs: readonly [];
|
2533
|
+
readonly stateMutability: "nonpayable";
|
2534
|
+
readonly type: "function";
|
2535
|
+
}, {
|
2536
|
+
readonly inputs: readonly [{
|
2537
|
+
readonly internalType: "uint256";
|
2538
|
+
readonly name: "_protocolVersion";
|
2539
|
+
readonly type: "uint256";
|
2540
|
+
}, {
|
2541
|
+
readonly components: readonly [{
|
2542
|
+
readonly components: readonly [{
|
2543
|
+
readonly internalType: "address";
|
2544
|
+
readonly name: "facet";
|
2545
|
+
readonly type: "address";
|
2546
|
+
}, {
|
2547
|
+
readonly internalType: "enum Diamond.Action";
|
2548
|
+
readonly name: "action";
|
2549
|
+
readonly type: "uint8";
|
2550
|
+
}, {
|
2551
|
+
readonly internalType: "bool";
|
2552
|
+
readonly name: "isFreezable";
|
2553
|
+
readonly type: "bool";
|
2554
|
+
}, {
|
2555
|
+
readonly internalType: "bytes4[]";
|
2556
|
+
readonly name: "selectors";
|
2557
|
+
readonly type: "bytes4[]";
|
2558
|
+
}];
|
2559
|
+
readonly internalType: "struct Diamond.FacetCut[]";
|
2560
|
+
readonly name: "facetCuts";
|
2561
|
+
readonly type: "tuple[]";
|
2562
|
+
}, {
|
2563
|
+
readonly internalType: "address";
|
2564
|
+
readonly name: "initAddress";
|
2565
|
+
readonly type: "address";
|
2566
|
+
}, {
|
2567
|
+
readonly internalType: "bytes";
|
2568
|
+
readonly name: "initCalldata";
|
2569
|
+
readonly type: "bytes";
|
2570
|
+
}];
|
2571
|
+
readonly internalType: "struct Diamond.DiamondCutData";
|
2572
|
+
readonly name: "_cutData";
|
2573
|
+
readonly type: "tuple";
|
2574
|
+
}];
|
2575
|
+
readonly name: "upgradeChainFromVersion";
|
2576
|
+
readonly outputs: readonly [];
|
2577
|
+
readonly stateMutability: "nonpayable";
|
2578
|
+
readonly type: "function";
|
2579
|
+
}];
|
224
2580
|
//# sourceMappingURL=abis.d.ts.map
|