@gitmyabi/brs 1.0.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.
@@ -0,0 +1,3921 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * EnforcedOptionParam struct type
4
+ */
5
+ export type EnforcedOptionParam = {
6
+ eid: bigint;
7
+ msgType: bigint;
8
+ options: `0x${string}`;
9
+ };
10
+ /**
11
+ * Origin struct type
12
+ */
13
+ export type Origin = {
14
+ srcEid: bigint;
15
+ sender: `0x${string}`;
16
+ nonce: bigint;
17
+ };
18
+ /**
19
+ * InboundPacket struct type
20
+ */
21
+ export type InboundPacket = {
22
+ origin: Origin;
23
+ dstEid: bigint;
24
+ receiver: `0x${string}`;
25
+ guid: `0x${string}`;
26
+ value: bigint;
27
+ executor: `0x${string}`;
28
+ message: `0x${string}`;
29
+ extraData: `0x${string}`;
30
+ };
31
+ /**
32
+ * SendParam struct type
33
+ */
34
+ export type SendParam = {
35
+ dstEid: bigint;
36
+ to: `0x${string}`;
37
+ amountLD: bigint;
38
+ minAmountLD: bigint;
39
+ extraOptions: `0x${string}`;
40
+ composeMsg: `0x${string}`;
41
+ oftCmd: `0x${string}`;
42
+ };
43
+ /**
44
+ * OFTLimit struct type
45
+ */
46
+ export type OFTLimit = {
47
+ minAmountLD: bigint;
48
+ maxAmountLD: bigint;
49
+ };
50
+ /**
51
+ * OFTFeeDetail struct type
52
+ */
53
+ export type OFTFeeDetail = {
54
+ feeAmountLD: bigint;
55
+ description: string;
56
+ };
57
+ /**
58
+ * OFTReceipt struct type
59
+ */
60
+ export type OFTReceipt = {
61
+ amountSentLD: bigint;
62
+ amountReceivedLD: bigint;
63
+ };
64
+ /**
65
+ * MessagingFee struct type
66
+ */
67
+ export type MessagingFee = {
68
+ nativeFee: bigint;
69
+ lzTokenFee: bigint;
70
+ };
71
+ /**
72
+ * MessagingReceipt struct type
73
+ */
74
+ export type MessagingReceipt = {
75
+ guid: `0x${string}`;
76
+ nonce: bigint;
77
+ fee: MessagingFee;
78
+ };
79
+ /**
80
+ * BRS_json ABI
81
+ *
82
+ * This ABI is typed using viem's type system for full type safety.
83
+ */
84
+ export declare const BRS_jsonAbi: readonly [{
85
+ readonly inputs: readonly [{
86
+ readonly internalType: "address";
87
+ readonly name: "_endpoint";
88
+ readonly type: "address";
89
+ }];
90
+ readonly stateMutability: "nonpayable";
91
+ readonly type: "constructor";
92
+ }, {
93
+ readonly inputs: readonly [];
94
+ readonly name: "AccessControlBadConfirmation";
95
+ readonly type: "error";
96
+ }, {
97
+ readonly inputs: readonly [{
98
+ readonly internalType: "address";
99
+ readonly name: "account";
100
+ readonly type: "address";
101
+ }, {
102
+ readonly internalType: "bytes32";
103
+ readonly name: "neededRole";
104
+ readonly type: "bytes32";
105
+ }];
106
+ readonly name: "AccessControlUnauthorizedAccount";
107
+ readonly type: "error";
108
+ }, {
109
+ readonly inputs: readonly [{
110
+ readonly internalType: "address";
111
+ readonly name: "target";
112
+ readonly type: "address";
113
+ }];
114
+ readonly name: "AddressEmptyCode";
115
+ readonly type: "error";
116
+ }, {
117
+ readonly inputs: readonly [];
118
+ readonly name: "AmountBelowMinMintAmount";
119
+ readonly type: "error";
120
+ }, {
121
+ readonly inputs: readonly [];
122
+ readonly name: "AmountExceedsMaxMintAmount";
123
+ readonly type: "error";
124
+ }, {
125
+ readonly inputs: readonly [{
126
+ readonly internalType: "uint256";
127
+ readonly name: "amountSD";
128
+ readonly type: "uint256";
129
+ }];
130
+ readonly name: "AmountSDOverflowed";
131
+ readonly type: "error";
132
+ }, {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "bytes32";
135
+ readonly name: "_referenceId";
136
+ readonly type: "bytes32";
137
+ }];
138
+ readonly name: "ConsumedReferenceId";
139
+ readonly type: "error";
140
+ }, {
141
+ readonly inputs: readonly [];
142
+ readonly name: "DefaultAdminRoleNotAssignable";
143
+ readonly type: "error";
144
+ }, {
145
+ readonly inputs: readonly [];
146
+ readonly name: "ECDSAInvalidSignature";
147
+ readonly type: "error";
148
+ }, {
149
+ readonly inputs: readonly [{
150
+ readonly internalType: "uint256";
151
+ readonly name: "length";
152
+ readonly type: "uint256";
153
+ }];
154
+ readonly name: "ECDSAInvalidSignatureLength";
155
+ readonly type: "error";
156
+ }, {
157
+ readonly inputs: readonly [{
158
+ readonly internalType: "bytes32";
159
+ readonly name: "s";
160
+ readonly type: "bytes32";
161
+ }];
162
+ readonly name: "ECDSAInvalidSignatureS";
163
+ readonly type: "error";
164
+ }, {
165
+ readonly inputs: readonly [{
166
+ readonly internalType: "address";
167
+ readonly name: "implementation";
168
+ readonly type: "address";
169
+ }];
170
+ readonly name: "ERC1967InvalidImplementation";
171
+ readonly type: "error";
172
+ }, {
173
+ readonly inputs: readonly [];
174
+ readonly name: "ERC1967NonPayable";
175
+ readonly type: "error";
176
+ }, {
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "address";
179
+ readonly name: "spender";
180
+ readonly type: "address";
181
+ }, {
182
+ readonly internalType: "uint256";
183
+ readonly name: "allowance";
184
+ readonly type: "uint256";
185
+ }, {
186
+ readonly internalType: "uint256";
187
+ readonly name: "needed";
188
+ readonly type: "uint256";
189
+ }];
190
+ readonly name: "ERC20InsufficientAllowance";
191
+ readonly type: "error";
192
+ }, {
193
+ readonly inputs: readonly [{
194
+ readonly internalType: "address";
195
+ readonly name: "sender";
196
+ readonly type: "address";
197
+ }, {
198
+ readonly internalType: "uint256";
199
+ readonly name: "balance";
200
+ readonly type: "uint256";
201
+ }, {
202
+ readonly internalType: "uint256";
203
+ readonly name: "needed";
204
+ readonly type: "uint256";
205
+ }];
206
+ readonly name: "ERC20InsufficientBalance";
207
+ readonly type: "error";
208
+ }, {
209
+ readonly inputs: readonly [{
210
+ readonly internalType: "address";
211
+ readonly name: "approver";
212
+ readonly type: "address";
213
+ }];
214
+ readonly name: "ERC20InvalidApprover";
215
+ readonly type: "error";
216
+ }, {
217
+ readonly inputs: readonly [{
218
+ readonly internalType: "address";
219
+ readonly name: "receiver";
220
+ readonly type: "address";
221
+ }];
222
+ readonly name: "ERC20InvalidReceiver";
223
+ readonly type: "error";
224
+ }, {
225
+ readonly inputs: readonly [{
226
+ readonly internalType: "address";
227
+ readonly name: "sender";
228
+ readonly type: "address";
229
+ }];
230
+ readonly name: "ERC20InvalidSender";
231
+ readonly type: "error";
232
+ }, {
233
+ readonly inputs: readonly [{
234
+ readonly internalType: "address";
235
+ readonly name: "spender";
236
+ readonly type: "address";
237
+ }];
238
+ readonly name: "ERC20InvalidSpender";
239
+ readonly type: "error";
240
+ }, {
241
+ readonly inputs: readonly [{
242
+ readonly internalType: "uint256";
243
+ readonly name: "deadline";
244
+ readonly type: "uint256";
245
+ }];
246
+ readonly name: "ERC2612ExpiredSignature";
247
+ readonly type: "error";
248
+ }, {
249
+ readonly inputs: readonly [{
250
+ readonly internalType: "address";
251
+ readonly name: "signer";
252
+ readonly type: "address";
253
+ }, {
254
+ readonly internalType: "address";
255
+ readonly name: "owner";
256
+ readonly type: "address";
257
+ }];
258
+ readonly name: "ERC2612InvalidSigner";
259
+ readonly type: "error";
260
+ }, {
261
+ readonly inputs: readonly [];
262
+ readonly name: "EnforcedPause";
263
+ readonly type: "error";
264
+ }, {
265
+ readonly inputs: readonly [];
266
+ readonly name: "ExceededGlobalRateLimit";
267
+ readonly type: "error";
268
+ }, {
269
+ readonly inputs: readonly [];
270
+ readonly name: "ExceededRecipientRateLimit";
271
+ readonly type: "error";
272
+ }, {
273
+ readonly inputs: readonly [];
274
+ readonly name: "ExceededWhitelisterRateLimit";
275
+ readonly type: "error";
276
+ }, {
277
+ readonly inputs: readonly [];
278
+ readonly name: "ExpectedPause";
279
+ readonly type: "error";
280
+ }, {
281
+ readonly inputs: readonly [{
282
+ readonly internalType: "uint256";
283
+ readonly name: "_timestamp";
284
+ readonly type: "uint256";
285
+ }];
286
+ readonly name: "ExpiredAttestation";
287
+ readonly type: "error";
288
+ }, {
289
+ readonly inputs: readonly [];
290
+ readonly name: "FailedCall";
291
+ readonly type: "error";
292
+ }, {
293
+ readonly inputs: readonly [{
294
+ readonly internalType: "address";
295
+ readonly name: "_address";
296
+ readonly type: "address";
297
+ }];
298
+ readonly name: "Frozen";
299
+ readonly type: "error";
300
+ }, {
301
+ readonly inputs: readonly [{
302
+ readonly internalType: "address";
303
+ readonly name: "account";
304
+ readonly type: "address";
305
+ }, {
306
+ readonly internalType: "uint256";
307
+ readonly name: "currentNonce";
308
+ readonly type: "uint256";
309
+ }];
310
+ readonly name: "InvalidAccountNonce";
311
+ readonly type: "error";
312
+ }, {
313
+ readonly inputs: readonly [];
314
+ readonly name: "InvalidDelegate";
315
+ readonly type: "error";
316
+ }, {
317
+ readonly inputs: readonly [];
318
+ readonly name: "InvalidEndpointCall";
319
+ readonly type: "error";
320
+ }, {
321
+ readonly inputs: readonly [];
322
+ readonly name: "InvalidInitialization";
323
+ readonly type: "error";
324
+ }, {
325
+ readonly inputs: readonly [];
326
+ readonly name: "InvalidLocalDecimals";
327
+ readonly type: "error";
328
+ }, {
329
+ readonly inputs: readonly [{
330
+ readonly internalType: "bytes";
331
+ readonly name: "options";
332
+ readonly type: "bytes";
333
+ }];
334
+ readonly name: "InvalidOptions";
335
+ readonly type: "error";
336
+ }, {
337
+ readonly inputs: readonly [];
338
+ readonly name: "LzTokenUnavailable";
339
+ readonly type: "error";
340
+ }, {
341
+ readonly inputs: readonly [{
342
+ readonly internalType: "uint32";
343
+ readonly name: "eid";
344
+ readonly type: "uint32";
345
+ }];
346
+ readonly name: "NoPeer";
347
+ readonly type: "error";
348
+ }, {
349
+ readonly inputs: readonly [{
350
+ readonly internalType: "address";
351
+ readonly name: "_attester";
352
+ readonly type: "address";
353
+ }];
354
+ readonly name: "NotAuthorizedAttester";
355
+ readonly type: "error";
356
+ }, {
357
+ readonly inputs: readonly [{
358
+ readonly internalType: "address";
359
+ readonly name: "_recipient";
360
+ readonly type: "address";
361
+ }];
362
+ readonly name: "NotAuthorizedRecipient";
363
+ readonly type: "error";
364
+ }, {
365
+ readonly inputs: readonly [{
366
+ readonly internalType: "uint256";
367
+ readonly name: "msgValue";
368
+ readonly type: "uint256";
369
+ }];
370
+ readonly name: "NotEnoughNative";
371
+ readonly type: "error";
372
+ }, {
373
+ readonly inputs: readonly [{
374
+ readonly internalType: "address";
375
+ readonly name: "_address";
376
+ readonly type: "address";
377
+ }];
378
+ readonly name: "NotFrozen";
379
+ readonly type: "error";
380
+ }, {
381
+ readonly inputs: readonly [];
382
+ readonly name: "NotInitializing";
383
+ readonly type: "error";
384
+ }, {
385
+ readonly inputs: readonly [{
386
+ readonly internalType: "address";
387
+ readonly name: "_whitelister";
388
+ readonly type: "address";
389
+ }];
390
+ readonly name: "NotWhitelister";
391
+ readonly type: "error";
392
+ }, {
393
+ readonly inputs: readonly [{
394
+ readonly internalType: "address";
395
+ readonly name: "addr";
396
+ readonly type: "address";
397
+ }];
398
+ readonly name: "OnlyEndpoint";
399
+ readonly type: "error";
400
+ }, {
401
+ readonly inputs: readonly [{
402
+ readonly internalType: "uint32";
403
+ readonly name: "eid";
404
+ readonly type: "uint32";
405
+ }, {
406
+ readonly internalType: "bytes32";
407
+ readonly name: "sender";
408
+ readonly type: "bytes32";
409
+ }];
410
+ readonly name: "OnlyPeer";
411
+ readonly type: "error";
412
+ }, {
413
+ readonly inputs: readonly [];
414
+ readonly name: "OnlySelf";
415
+ readonly type: "error";
416
+ }, {
417
+ readonly inputs: readonly [{
418
+ readonly internalType: "address";
419
+ readonly name: "owner";
420
+ readonly type: "address";
421
+ }];
422
+ readonly name: "OwnableInvalidOwner";
423
+ readonly type: "error";
424
+ }, {
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "address";
427
+ readonly name: "account";
428
+ readonly type: "address";
429
+ }];
430
+ readonly name: "OwnableUnauthorizedAccount";
431
+ readonly type: "error";
432
+ }, {
433
+ readonly inputs: readonly [{
434
+ readonly internalType: "bytes32";
435
+ readonly name: "_role";
436
+ readonly type: "bytes32";
437
+ }, {
438
+ readonly internalType: "address";
439
+ readonly name: "_account";
440
+ readonly type: "address";
441
+ }];
442
+ readonly name: "RoleGrantFailed";
443
+ readonly type: "error";
444
+ }, {
445
+ readonly inputs: readonly [{
446
+ readonly internalType: "address";
447
+ readonly name: "token";
448
+ readonly type: "address";
449
+ }];
450
+ readonly name: "SafeERC20FailedOperation";
451
+ readonly type: "error";
452
+ }, {
453
+ readonly inputs: readonly [{
454
+ readonly internalType: "bytes";
455
+ readonly name: "result";
456
+ readonly type: "bytes";
457
+ }];
458
+ readonly name: "SimulationResult";
459
+ readonly type: "error";
460
+ }, {
461
+ readonly inputs: readonly [{
462
+ readonly internalType: "uint256";
463
+ readonly name: "amountLD";
464
+ readonly type: "uint256";
465
+ }, {
466
+ readonly internalType: "uint256";
467
+ readonly name: "minAmountLD";
468
+ readonly type: "uint256";
469
+ }];
470
+ readonly name: "SlippageExceeded";
471
+ readonly type: "error";
472
+ }, {
473
+ readonly inputs: readonly [];
474
+ readonly name: "UUPSUnauthorizedCallContext";
475
+ readonly type: "error";
476
+ }, {
477
+ readonly inputs: readonly [{
478
+ readonly internalType: "bytes32";
479
+ readonly name: "slot";
480
+ readonly type: "bytes32";
481
+ }];
482
+ readonly name: "UUPSUnsupportedProxiableUUID";
483
+ readonly type: "error";
484
+ }, {
485
+ readonly inputs: readonly [];
486
+ readonly name: "ZeroAddress";
487
+ readonly type: "error";
488
+ }, {
489
+ readonly anonymous: false;
490
+ readonly inputs: readonly [{
491
+ readonly indexed: true;
492
+ readonly internalType: "address";
493
+ readonly name: "owner";
494
+ readonly type: "address";
495
+ }, {
496
+ readonly indexed: true;
497
+ readonly internalType: "address";
498
+ readonly name: "spender";
499
+ readonly type: "address";
500
+ }, {
501
+ readonly indexed: false;
502
+ readonly internalType: "uint256";
503
+ readonly name: "value";
504
+ readonly type: "uint256";
505
+ }];
506
+ readonly name: "Approval";
507
+ readonly type: "event";
508
+ }, {
509
+ readonly anonymous: false;
510
+ readonly inputs: readonly [];
511
+ readonly name: "EIP712DomainChanged";
512
+ readonly type: "event";
513
+ }, {
514
+ readonly anonymous: false;
515
+ readonly inputs: readonly [{
516
+ readonly components: readonly [{
517
+ readonly internalType: "uint32";
518
+ readonly name: "eid";
519
+ readonly type: "uint32";
520
+ }, {
521
+ readonly internalType: "uint16";
522
+ readonly name: "msgType";
523
+ readonly type: "uint16";
524
+ }, {
525
+ readonly internalType: "bytes";
526
+ readonly name: "options";
527
+ readonly type: "bytes";
528
+ }];
529
+ readonly indexed: false;
530
+ readonly internalType: "struct EnforcedOptionParam[]";
531
+ readonly name: "_enforcedOptions";
532
+ readonly type: "tuple[]";
533
+ }];
534
+ readonly name: "EnforcedOptionSet";
535
+ readonly type: "event";
536
+ }, {
537
+ readonly anonymous: false;
538
+ readonly inputs: readonly [{
539
+ readonly indexed: true;
540
+ readonly internalType: "address";
541
+ readonly name: "_address";
542
+ readonly type: "address";
543
+ }];
544
+ readonly name: "Freeze";
545
+ readonly type: "event";
546
+ }, {
547
+ readonly anonymous: false;
548
+ readonly inputs: readonly [{
549
+ readonly indexed: false;
550
+ readonly internalType: "uint64";
551
+ readonly name: "version";
552
+ readonly type: "uint64";
553
+ }];
554
+ readonly name: "Initialized";
555
+ readonly type: "event";
556
+ }, {
557
+ readonly anonymous: false;
558
+ readonly inputs: readonly [{
559
+ readonly indexed: false;
560
+ readonly internalType: "uint256";
561
+ readonly name: "_globalRateLimit";
562
+ readonly type: "uint256";
563
+ }, {
564
+ readonly indexed: false;
565
+ readonly internalType: "uint256";
566
+ readonly name: "_whitelisterLimit";
567
+ readonly type: "uint256";
568
+ }, {
569
+ readonly indexed: false;
570
+ readonly internalType: "uint256";
571
+ readonly name: "_minMintAmount";
572
+ readonly type: "uint256";
573
+ }, {
574
+ readonly indexed: false;
575
+ readonly internalType: "uint256";
576
+ readonly name: "_maxMintAmount";
577
+ readonly type: "uint256";
578
+ }];
579
+ readonly name: "LimitConfigSet";
580
+ readonly type: "event";
581
+ }, {
582
+ readonly anonymous: false;
583
+ readonly inputs: readonly [{
584
+ readonly indexed: false;
585
+ readonly internalType: "address";
586
+ readonly name: "inspector";
587
+ readonly type: "address";
588
+ }];
589
+ readonly name: "MsgInspectorSet";
590
+ readonly type: "event";
591
+ }, {
592
+ readonly anonymous: false;
593
+ readonly inputs: readonly [{
594
+ readonly indexed: true;
595
+ readonly internalType: "bytes32";
596
+ readonly name: "guid";
597
+ readonly type: "bytes32";
598
+ }, {
599
+ readonly indexed: false;
600
+ readonly internalType: "uint32";
601
+ readonly name: "srcEid";
602
+ readonly type: "uint32";
603
+ }, {
604
+ readonly indexed: true;
605
+ readonly internalType: "address";
606
+ readonly name: "toAddress";
607
+ readonly type: "address";
608
+ }, {
609
+ readonly indexed: false;
610
+ readonly internalType: "uint256";
611
+ readonly name: "amountReceivedLD";
612
+ readonly type: "uint256";
613
+ }];
614
+ readonly name: "OFTReceived";
615
+ readonly type: "event";
616
+ }, {
617
+ readonly anonymous: false;
618
+ readonly inputs: readonly [{
619
+ readonly indexed: true;
620
+ readonly internalType: "bytes32";
621
+ readonly name: "guid";
622
+ readonly type: "bytes32";
623
+ }, {
624
+ readonly indexed: false;
625
+ readonly internalType: "uint32";
626
+ readonly name: "dstEid";
627
+ readonly type: "uint32";
628
+ }, {
629
+ readonly indexed: true;
630
+ readonly internalType: "address";
631
+ readonly name: "fromAddress";
632
+ readonly type: "address";
633
+ }, {
634
+ readonly indexed: false;
635
+ readonly internalType: "uint256";
636
+ readonly name: "amountSentLD";
637
+ readonly type: "uint256";
638
+ }, {
639
+ readonly indexed: false;
640
+ readonly internalType: "uint256";
641
+ readonly name: "amountReceivedLD";
642
+ readonly type: "uint256";
643
+ }];
644
+ readonly name: "OFTSent";
645
+ readonly type: "event";
646
+ }, {
647
+ readonly anonymous: false;
648
+ readonly inputs: readonly [{
649
+ readonly indexed: true;
650
+ readonly internalType: "address";
651
+ readonly name: "previousOwner";
652
+ readonly type: "address";
653
+ }, {
654
+ readonly indexed: true;
655
+ readonly internalType: "address";
656
+ readonly name: "newOwner";
657
+ readonly type: "address";
658
+ }];
659
+ readonly name: "OwnershipTransferred";
660
+ readonly type: "event";
661
+ }, {
662
+ readonly anonymous: false;
663
+ readonly inputs: readonly [{
664
+ readonly indexed: false;
665
+ readonly internalType: "address";
666
+ readonly name: "account";
667
+ readonly type: "address";
668
+ }];
669
+ readonly name: "Paused";
670
+ readonly type: "event";
671
+ }, {
672
+ readonly anonymous: false;
673
+ readonly inputs: readonly [{
674
+ readonly indexed: false;
675
+ readonly internalType: "uint32";
676
+ readonly name: "eid";
677
+ readonly type: "uint32";
678
+ }, {
679
+ readonly indexed: false;
680
+ readonly internalType: "bytes32";
681
+ readonly name: "peer";
682
+ readonly type: "bytes32";
683
+ }];
684
+ readonly name: "PeerSet";
685
+ readonly type: "event";
686
+ }, {
687
+ readonly anonymous: false;
688
+ readonly inputs: readonly [{
689
+ readonly indexed: false;
690
+ readonly internalType: "address";
691
+ readonly name: "preCrimeAddress";
692
+ readonly type: "address";
693
+ }];
694
+ readonly name: "PreCrimeSet";
695
+ readonly type: "event";
696
+ }, {
697
+ readonly anonymous: false;
698
+ readonly inputs: readonly [{
699
+ readonly indexed: true;
700
+ readonly internalType: "address";
701
+ readonly name: "_recipient";
702
+ readonly type: "address";
703
+ }, {
704
+ readonly indexed: false;
705
+ readonly internalType: "uint256";
706
+ readonly name: "_limit";
707
+ readonly type: "uint256";
708
+ }, {
709
+ readonly indexed: false;
710
+ readonly internalType: "bool";
711
+ readonly name: "_permissionChanged";
712
+ readonly type: "bool";
713
+ }];
714
+ readonly name: "RecipientLimitSet";
715
+ readonly type: "event";
716
+ }, {
717
+ readonly anonymous: false;
718
+ readonly inputs: readonly [{
719
+ readonly indexed: true;
720
+ readonly internalType: "bytes32";
721
+ readonly name: "_referenceId";
722
+ readonly type: "bytes32";
723
+ }];
724
+ readonly name: "ReferenceIdConsumed";
725
+ readonly type: "event";
726
+ }, {
727
+ readonly anonymous: false;
728
+ readonly inputs: readonly [{
729
+ readonly indexed: true;
730
+ readonly internalType: "bytes32";
731
+ readonly name: "role";
732
+ readonly type: "bytes32";
733
+ }, {
734
+ readonly indexed: true;
735
+ readonly internalType: "bytes32";
736
+ readonly name: "previousAdminRole";
737
+ readonly type: "bytes32";
738
+ }, {
739
+ readonly indexed: true;
740
+ readonly internalType: "bytes32";
741
+ readonly name: "newAdminRole";
742
+ readonly type: "bytes32";
743
+ }];
744
+ readonly name: "RoleAdminChanged";
745
+ readonly type: "event";
746
+ }, {
747
+ readonly anonymous: false;
748
+ readonly inputs: readonly [{
749
+ readonly indexed: true;
750
+ readonly internalType: "bytes32";
751
+ readonly name: "role";
752
+ readonly type: "bytes32";
753
+ }, {
754
+ readonly indexed: true;
755
+ readonly internalType: "address";
756
+ readonly name: "account";
757
+ readonly type: "address";
758
+ }, {
759
+ readonly indexed: true;
760
+ readonly internalType: "address";
761
+ readonly name: "sender";
762
+ readonly type: "address";
763
+ }];
764
+ readonly name: "RoleGranted";
765
+ readonly type: "event";
766
+ }, {
767
+ readonly anonymous: false;
768
+ readonly inputs: readonly [{
769
+ readonly indexed: true;
770
+ readonly internalType: "bytes32";
771
+ readonly name: "role";
772
+ readonly type: "bytes32";
773
+ }, {
774
+ readonly indexed: true;
775
+ readonly internalType: "address";
776
+ readonly name: "account";
777
+ readonly type: "address";
778
+ }, {
779
+ readonly indexed: true;
780
+ readonly internalType: "address";
781
+ readonly name: "sender";
782
+ readonly type: "address";
783
+ }];
784
+ readonly name: "RoleRevoked";
785
+ readonly type: "event";
786
+ }, {
787
+ readonly anonymous: false;
788
+ readonly inputs: readonly [{
789
+ readonly indexed: true;
790
+ readonly internalType: "address";
791
+ readonly name: "from";
792
+ readonly type: "address";
793
+ }, {
794
+ readonly indexed: true;
795
+ readonly internalType: "address";
796
+ readonly name: "to";
797
+ readonly type: "address";
798
+ }, {
799
+ readonly indexed: false;
800
+ readonly internalType: "uint256";
801
+ readonly name: "value";
802
+ readonly type: "uint256";
803
+ }];
804
+ readonly name: "Transfer";
805
+ readonly type: "event";
806
+ }, {
807
+ readonly anonymous: false;
808
+ readonly inputs: readonly [{
809
+ readonly indexed: true;
810
+ readonly internalType: "address";
811
+ readonly name: "_address";
812
+ readonly type: "address";
813
+ }];
814
+ readonly name: "Unfreeze";
815
+ readonly type: "event";
816
+ }, {
817
+ readonly anonymous: false;
818
+ readonly inputs: readonly [{
819
+ readonly indexed: false;
820
+ readonly internalType: "address";
821
+ readonly name: "account";
822
+ readonly type: "address";
823
+ }];
824
+ readonly name: "Unpaused";
825
+ readonly type: "event";
826
+ }, {
827
+ readonly anonymous: false;
828
+ readonly inputs: readonly [{
829
+ readonly indexed: true;
830
+ readonly internalType: "address";
831
+ readonly name: "implementation";
832
+ readonly type: "address";
833
+ }];
834
+ readonly name: "Upgraded";
835
+ readonly type: "event";
836
+ }, {
837
+ readonly anonymous: false;
838
+ readonly inputs: readonly [{
839
+ readonly indexed: true;
840
+ readonly internalType: "address";
841
+ readonly name: "_whitelister";
842
+ readonly type: "address";
843
+ }, {
844
+ readonly indexed: false;
845
+ readonly internalType: "uint256";
846
+ readonly name: "_limit";
847
+ readonly type: "uint256";
848
+ }, {
849
+ readonly indexed: false;
850
+ readonly internalType: "bool";
851
+ readonly name: "_permissionChanged";
852
+ readonly type: "bool";
853
+ }];
854
+ readonly name: "WhitelisterLimitSet";
855
+ readonly type: "event";
856
+ }, {
857
+ readonly inputs: readonly [];
858
+ readonly name: "ATTESTER_ROLE";
859
+ readonly outputs: readonly [{
860
+ readonly internalType: "bytes32";
861
+ readonly name: "";
862
+ readonly type: "bytes32";
863
+ }];
864
+ readonly stateMutability: "view";
865
+ readonly type: "function";
866
+ }, {
867
+ readonly inputs: readonly [];
868
+ readonly name: "DECIMALS";
869
+ readonly outputs: readonly [{
870
+ readonly internalType: "uint8";
871
+ readonly name: "";
872
+ readonly type: "uint8";
873
+ }];
874
+ readonly stateMutability: "view";
875
+ readonly type: "function";
876
+ }, {
877
+ readonly inputs: readonly [];
878
+ readonly name: "DEFAULT_ADMIN_ROLE";
879
+ readonly outputs: readonly [{
880
+ readonly internalType: "bytes32";
881
+ readonly name: "";
882
+ readonly type: "bytes32";
883
+ }];
884
+ readonly stateMutability: "view";
885
+ readonly type: "function";
886
+ }, {
887
+ readonly inputs: readonly [];
888
+ readonly name: "DOMAIN_SEPARATOR";
889
+ readonly outputs: readonly [{
890
+ readonly internalType: "bytes32";
891
+ readonly name: "";
892
+ readonly type: "bytes32";
893
+ }];
894
+ readonly stateMutability: "view";
895
+ readonly type: "function";
896
+ }, {
897
+ readonly inputs: readonly [];
898
+ readonly name: "FREEZER_ROLE";
899
+ readonly outputs: readonly [{
900
+ readonly internalType: "bytes32";
901
+ readonly name: "";
902
+ readonly type: "bytes32";
903
+ }];
904
+ readonly stateMutability: "view";
905
+ readonly type: "function";
906
+ }, {
907
+ readonly inputs: readonly [];
908
+ readonly name: "MINTER_ROLE";
909
+ readonly outputs: readonly [{
910
+ readonly internalType: "bytes32";
911
+ readonly name: "";
912
+ readonly type: "bytes32";
913
+ }];
914
+ readonly stateMutability: "view";
915
+ readonly type: "function";
916
+ }, {
917
+ readonly inputs: readonly [];
918
+ readonly name: "PAUSER_ROLE";
919
+ readonly outputs: readonly [{
920
+ readonly internalType: "bytes32";
921
+ readonly name: "";
922
+ readonly type: "bytes32";
923
+ }];
924
+ readonly stateMutability: "view";
925
+ readonly type: "function";
926
+ }, {
927
+ readonly inputs: readonly [];
928
+ readonly name: "RECIPIENT_ROLE";
929
+ readonly outputs: readonly [{
930
+ readonly internalType: "bytes32";
931
+ readonly name: "";
932
+ readonly type: "bytes32";
933
+ }];
934
+ readonly stateMutability: "view";
935
+ readonly type: "function";
936
+ }, {
937
+ readonly inputs: readonly [];
938
+ readonly name: "SEND";
939
+ readonly outputs: readonly [{
940
+ readonly internalType: "uint16";
941
+ readonly name: "";
942
+ readonly type: "uint16";
943
+ }];
944
+ readonly stateMutability: "view";
945
+ readonly type: "function";
946
+ }, {
947
+ readonly inputs: readonly [];
948
+ readonly name: "SEND_AND_CALL";
949
+ readonly outputs: readonly [{
950
+ readonly internalType: "uint16";
951
+ readonly name: "";
952
+ readonly type: "uint16";
953
+ }];
954
+ readonly stateMutability: "view";
955
+ readonly type: "function";
956
+ }, {
957
+ readonly inputs: readonly [];
958
+ readonly name: "UPGRADE_INTERFACE_VERSION";
959
+ readonly outputs: readonly [{
960
+ readonly internalType: "string";
961
+ readonly name: "";
962
+ readonly type: "string";
963
+ }];
964
+ readonly stateMutability: "view";
965
+ readonly type: "function";
966
+ }, {
967
+ readonly inputs: readonly [];
968
+ readonly name: "WHITELISTER_ROLE";
969
+ readonly outputs: readonly [{
970
+ readonly internalType: "bytes32";
971
+ readonly name: "";
972
+ readonly type: "bytes32";
973
+ }];
974
+ readonly stateMutability: "view";
975
+ readonly type: "function";
976
+ }, {
977
+ readonly inputs: readonly [{
978
+ readonly components: readonly [{
979
+ readonly internalType: "uint32";
980
+ readonly name: "srcEid";
981
+ readonly type: "uint32";
982
+ }, {
983
+ readonly internalType: "bytes32";
984
+ readonly name: "sender";
985
+ readonly type: "bytes32";
986
+ }, {
987
+ readonly internalType: "uint64";
988
+ readonly name: "nonce";
989
+ readonly type: "uint64";
990
+ }];
991
+ readonly internalType: "struct Origin";
992
+ readonly name: "origin";
993
+ readonly type: "tuple";
994
+ }];
995
+ readonly name: "allowInitializePath";
996
+ readonly outputs: readonly [{
997
+ readonly internalType: "bool";
998
+ readonly name: "";
999
+ readonly type: "bool";
1000
+ }];
1001
+ readonly stateMutability: "view";
1002
+ readonly type: "function";
1003
+ }, {
1004
+ readonly inputs: readonly [{
1005
+ readonly internalType: "address";
1006
+ readonly name: "owner";
1007
+ readonly type: "address";
1008
+ }, {
1009
+ readonly internalType: "address";
1010
+ readonly name: "spender";
1011
+ readonly type: "address";
1012
+ }];
1013
+ readonly name: "allowance";
1014
+ readonly outputs: readonly [{
1015
+ readonly internalType: "uint256";
1016
+ readonly name: "";
1017
+ readonly type: "uint256";
1018
+ }];
1019
+ readonly stateMutability: "view";
1020
+ readonly type: "function";
1021
+ }, {
1022
+ readonly inputs: readonly [];
1023
+ readonly name: "approvalRequired";
1024
+ readonly outputs: readonly [{
1025
+ readonly internalType: "bool";
1026
+ readonly name: "";
1027
+ readonly type: "bool";
1028
+ }];
1029
+ readonly stateMutability: "pure";
1030
+ readonly type: "function";
1031
+ }, {
1032
+ readonly inputs: readonly [{
1033
+ readonly internalType: "address";
1034
+ readonly name: "spender";
1035
+ readonly type: "address";
1036
+ }, {
1037
+ readonly internalType: "uint256";
1038
+ readonly name: "value";
1039
+ readonly type: "uint256";
1040
+ }];
1041
+ readonly name: "approve";
1042
+ readonly outputs: readonly [{
1043
+ readonly internalType: "bool";
1044
+ readonly name: "";
1045
+ readonly type: "bool";
1046
+ }];
1047
+ readonly stateMutability: "nonpayable";
1048
+ readonly type: "function";
1049
+ }, {
1050
+ readonly inputs: readonly [{
1051
+ readonly internalType: "address";
1052
+ readonly name: "account";
1053
+ readonly type: "address";
1054
+ }];
1055
+ readonly name: "balanceOf";
1056
+ readonly outputs: readonly [{
1057
+ readonly internalType: "uint256";
1058
+ readonly name: "";
1059
+ readonly type: "uint256";
1060
+ }];
1061
+ readonly stateMutability: "view";
1062
+ readonly type: "function";
1063
+ }, {
1064
+ readonly inputs: readonly [{
1065
+ readonly internalType: "address";
1066
+ readonly name: "_whitelister";
1067
+ readonly type: "address";
1068
+ }, {
1069
+ readonly internalType: "uint256";
1070
+ readonly name: "_amount";
1071
+ readonly type: "uint256";
1072
+ }, {
1073
+ readonly internalType: "bytes32";
1074
+ readonly name: "_referenceId";
1075
+ readonly type: "bytes32";
1076
+ }, {
1077
+ readonly internalType: "uint256";
1078
+ readonly name: "_expiresAt";
1079
+ readonly type: "uint256";
1080
+ }, {
1081
+ readonly internalType: "bytes";
1082
+ readonly name: "_attestation";
1083
+ readonly type: "bytes";
1084
+ }];
1085
+ readonly name: "burn";
1086
+ readonly outputs: readonly [];
1087
+ readonly stateMutability: "nonpayable";
1088
+ readonly type: "function";
1089
+ }, {
1090
+ readonly inputs: readonly [{
1091
+ readonly internalType: "bytes32";
1092
+ readonly name: "_referenceId";
1093
+ readonly type: "bytes32";
1094
+ }];
1095
+ readonly name: "cancelReferenceId";
1096
+ readonly outputs: readonly [];
1097
+ readonly stateMutability: "nonpayable";
1098
+ readonly type: "function";
1099
+ }, {
1100
+ readonly inputs: readonly [{
1101
+ readonly internalType: "uint32";
1102
+ readonly name: "_eid";
1103
+ readonly type: "uint32";
1104
+ }, {
1105
+ readonly internalType: "uint16";
1106
+ readonly name: "_msgType";
1107
+ readonly type: "uint16";
1108
+ }, {
1109
+ readonly internalType: "bytes";
1110
+ readonly name: "_extraOptions";
1111
+ readonly type: "bytes";
1112
+ }];
1113
+ readonly name: "combineOptions";
1114
+ readonly outputs: readonly [{
1115
+ readonly internalType: "bytes";
1116
+ readonly name: "";
1117
+ readonly type: "bytes";
1118
+ }];
1119
+ readonly stateMutability: "view";
1120
+ readonly type: "function";
1121
+ }, {
1122
+ readonly inputs: readonly [];
1123
+ readonly name: "decimalConversionRate";
1124
+ readonly outputs: readonly [{
1125
+ readonly internalType: "uint256";
1126
+ readonly name: "";
1127
+ readonly type: "uint256";
1128
+ }];
1129
+ readonly stateMutability: "view";
1130
+ readonly type: "function";
1131
+ }, {
1132
+ readonly inputs: readonly [];
1133
+ readonly name: "decimals";
1134
+ readonly outputs: readonly [{
1135
+ readonly internalType: "uint8";
1136
+ readonly name: "";
1137
+ readonly type: "uint8";
1138
+ }];
1139
+ readonly stateMutability: "pure";
1140
+ readonly type: "function";
1141
+ }, {
1142
+ readonly inputs: readonly [];
1143
+ readonly name: "eip712Domain";
1144
+ readonly outputs: readonly [{
1145
+ readonly internalType: "bytes1";
1146
+ readonly name: "fields";
1147
+ readonly type: "bytes1";
1148
+ }, {
1149
+ readonly internalType: "string";
1150
+ readonly name: "name";
1151
+ readonly type: "string";
1152
+ }, {
1153
+ readonly internalType: "string";
1154
+ readonly name: "version";
1155
+ readonly type: "string";
1156
+ }, {
1157
+ readonly internalType: "uint256";
1158
+ readonly name: "chainId";
1159
+ readonly type: "uint256";
1160
+ }, {
1161
+ readonly internalType: "address";
1162
+ readonly name: "verifyingContract";
1163
+ readonly type: "address";
1164
+ }, {
1165
+ readonly internalType: "bytes32";
1166
+ readonly name: "salt";
1167
+ readonly type: "bytes32";
1168
+ }, {
1169
+ readonly internalType: "uint256[]";
1170
+ readonly name: "extensions";
1171
+ readonly type: "uint256[]";
1172
+ }];
1173
+ readonly stateMutability: "view";
1174
+ readonly type: "function";
1175
+ }, {
1176
+ readonly inputs: readonly [];
1177
+ readonly name: "endpoint";
1178
+ readonly outputs: readonly [{
1179
+ readonly internalType: "contract ILayerZeroEndpointV2";
1180
+ readonly name: "";
1181
+ readonly type: "address";
1182
+ }];
1183
+ readonly stateMutability: "view";
1184
+ readonly type: "function";
1185
+ }, {
1186
+ readonly inputs: readonly [{
1187
+ readonly internalType: "uint32";
1188
+ readonly name: "_eid";
1189
+ readonly type: "uint32";
1190
+ }, {
1191
+ readonly internalType: "uint16";
1192
+ readonly name: "_msgType";
1193
+ readonly type: "uint16";
1194
+ }];
1195
+ readonly name: "enforcedOptions";
1196
+ readonly outputs: readonly [{
1197
+ readonly internalType: "bytes";
1198
+ readonly name: "";
1199
+ readonly type: "bytes";
1200
+ }];
1201
+ readonly stateMutability: "view";
1202
+ readonly type: "function";
1203
+ }, {
1204
+ readonly inputs: readonly [{
1205
+ readonly internalType: "address";
1206
+ readonly name: "_address";
1207
+ readonly type: "address";
1208
+ }];
1209
+ readonly name: "freeze";
1210
+ readonly outputs: readonly [];
1211
+ readonly stateMutability: "nonpayable";
1212
+ readonly type: "function";
1213
+ }, {
1214
+ readonly inputs: readonly [{
1215
+ readonly internalType: "bytes32";
1216
+ readonly name: "role";
1217
+ readonly type: "bytes32";
1218
+ }];
1219
+ readonly name: "getRoleAdmin";
1220
+ readonly outputs: readonly [{
1221
+ readonly internalType: "bytes32";
1222
+ readonly name: "";
1223
+ readonly type: "bytes32";
1224
+ }];
1225
+ readonly stateMutability: "view";
1226
+ readonly type: "function";
1227
+ }, {
1228
+ readonly inputs: readonly [{
1229
+ readonly internalType: "bytes32";
1230
+ readonly name: "role";
1231
+ readonly type: "bytes32";
1232
+ }, {
1233
+ readonly internalType: "address";
1234
+ readonly name: "account";
1235
+ readonly type: "address";
1236
+ }];
1237
+ readonly name: "grantRole";
1238
+ readonly outputs: readonly [];
1239
+ readonly stateMutability: "nonpayable";
1240
+ readonly type: "function";
1241
+ }, {
1242
+ readonly inputs: readonly [{
1243
+ readonly internalType: "bytes32";
1244
+ readonly name: "role";
1245
+ readonly type: "bytes32";
1246
+ }, {
1247
+ readonly internalType: "address";
1248
+ readonly name: "account";
1249
+ readonly type: "address";
1250
+ }];
1251
+ readonly name: "hasRole";
1252
+ readonly outputs: readonly [{
1253
+ readonly internalType: "bool";
1254
+ readonly name: "";
1255
+ readonly type: "bool";
1256
+ }];
1257
+ readonly stateMutability: "view";
1258
+ readonly type: "function";
1259
+ }, {
1260
+ readonly inputs: readonly [{
1261
+ readonly internalType: "string";
1262
+ readonly name: "_name";
1263
+ readonly type: "string";
1264
+ }, {
1265
+ readonly internalType: "string";
1266
+ readonly name: "_symbol";
1267
+ readonly type: "string";
1268
+ }, {
1269
+ readonly internalType: "address";
1270
+ readonly name: "_owner";
1271
+ readonly type: "address";
1272
+ }, {
1273
+ readonly internalType: "address";
1274
+ readonly name: "_minter";
1275
+ readonly type: "address";
1276
+ }, {
1277
+ readonly internalType: "address";
1278
+ readonly name: "_attester";
1279
+ readonly type: "address";
1280
+ }];
1281
+ readonly name: "initialize";
1282
+ readonly outputs: readonly [];
1283
+ readonly stateMutability: "nonpayable";
1284
+ readonly type: "function";
1285
+ }, {
1286
+ readonly inputs: readonly [{
1287
+ readonly components: readonly [{
1288
+ readonly internalType: "uint32";
1289
+ readonly name: "srcEid";
1290
+ readonly type: "uint32";
1291
+ }, {
1292
+ readonly internalType: "bytes32";
1293
+ readonly name: "sender";
1294
+ readonly type: "bytes32";
1295
+ }, {
1296
+ readonly internalType: "uint64";
1297
+ readonly name: "nonce";
1298
+ readonly type: "uint64";
1299
+ }];
1300
+ readonly internalType: "struct Origin";
1301
+ readonly name: "";
1302
+ readonly type: "tuple";
1303
+ }, {
1304
+ readonly internalType: "bytes";
1305
+ readonly name: "";
1306
+ readonly type: "bytes";
1307
+ }, {
1308
+ readonly internalType: "address";
1309
+ readonly name: "_sender";
1310
+ readonly type: "address";
1311
+ }];
1312
+ readonly name: "isComposeMsgSender";
1313
+ readonly outputs: readonly [{
1314
+ readonly internalType: "bool";
1315
+ readonly name: "";
1316
+ readonly type: "bool";
1317
+ }];
1318
+ readonly stateMutability: "view";
1319
+ readonly type: "function";
1320
+ }, {
1321
+ readonly inputs: readonly [{
1322
+ readonly internalType: "address";
1323
+ readonly name: "";
1324
+ readonly type: "address";
1325
+ }];
1326
+ readonly name: "isFrozen";
1327
+ readonly outputs: readonly [{
1328
+ readonly internalType: "bool";
1329
+ readonly name: "";
1330
+ readonly type: "bool";
1331
+ }];
1332
+ readonly stateMutability: "view";
1333
+ readonly type: "function";
1334
+ }, {
1335
+ readonly inputs: readonly [{
1336
+ readonly internalType: "uint32";
1337
+ readonly name: "_eid";
1338
+ readonly type: "uint32";
1339
+ }, {
1340
+ readonly internalType: "bytes32";
1341
+ readonly name: "_peer";
1342
+ readonly type: "bytes32";
1343
+ }];
1344
+ readonly name: "isPeer";
1345
+ readonly outputs: readonly [{
1346
+ readonly internalType: "bool";
1347
+ readonly name: "";
1348
+ readonly type: "bool";
1349
+ }];
1350
+ readonly stateMutability: "view";
1351
+ readonly type: "function";
1352
+ }, {
1353
+ readonly inputs: readonly [];
1354
+ readonly name: "limitConfig";
1355
+ readonly outputs: readonly [{
1356
+ readonly internalType: "uint256";
1357
+ readonly name: "globalRateLimit";
1358
+ readonly type: "uint256";
1359
+ }, {
1360
+ readonly internalType: "uint256";
1361
+ readonly name: "whitelisterLimit";
1362
+ readonly type: "uint256";
1363
+ }, {
1364
+ readonly internalType: "uint256";
1365
+ readonly name: "minMintAmount";
1366
+ readonly type: "uint256";
1367
+ }, {
1368
+ readonly internalType: "uint256";
1369
+ readonly name: "maxMintAmount";
1370
+ readonly type: "uint256";
1371
+ }];
1372
+ readonly stateMutability: "view";
1373
+ readonly type: "function";
1374
+ }, {
1375
+ readonly inputs: readonly [{
1376
+ readonly components: readonly [{
1377
+ readonly internalType: "uint32";
1378
+ readonly name: "srcEid";
1379
+ readonly type: "uint32";
1380
+ }, {
1381
+ readonly internalType: "bytes32";
1382
+ readonly name: "sender";
1383
+ readonly type: "bytes32";
1384
+ }, {
1385
+ readonly internalType: "uint64";
1386
+ readonly name: "nonce";
1387
+ readonly type: "uint64";
1388
+ }];
1389
+ readonly internalType: "struct Origin";
1390
+ readonly name: "_origin";
1391
+ readonly type: "tuple";
1392
+ }, {
1393
+ readonly internalType: "bytes32";
1394
+ readonly name: "_guid";
1395
+ readonly type: "bytes32";
1396
+ }, {
1397
+ readonly internalType: "bytes";
1398
+ readonly name: "_message";
1399
+ readonly type: "bytes";
1400
+ }, {
1401
+ readonly internalType: "address";
1402
+ readonly name: "_executor";
1403
+ readonly type: "address";
1404
+ }, {
1405
+ readonly internalType: "bytes";
1406
+ readonly name: "_extraData";
1407
+ readonly type: "bytes";
1408
+ }];
1409
+ readonly name: "lzReceive";
1410
+ readonly outputs: readonly [];
1411
+ readonly stateMutability: "payable";
1412
+ readonly type: "function";
1413
+ }, {
1414
+ readonly inputs: readonly [{
1415
+ readonly components: readonly [{
1416
+ readonly components: readonly [{
1417
+ readonly internalType: "uint32";
1418
+ readonly name: "srcEid";
1419
+ readonly type: "uint32";
1420
+ }, {
1421
+ readonly internalType: "bytes32";
1422
+ readonly name: "sender";
1423
+ readonly type: "bytes32";
1424
+ }, {
1425
+ readonly internalType: "uint64";
1426
+ readonly name: "nonce";
1427
+ readonly type: "uint64";
1428
+ }];
1429
+ readonly internalType: "struct Origin";
1430
+ readonly name: "origin";
1431
+ readonly type: "tuple";
1432
+ }, {
1433
+ readonly internalType: "uint32";
1434
+ readonly name: "dstEid";
1435
+ readonly type: "uint32";
1436
+ }, {
1437
+ readonly internalType: "address";
1438
+ readonly name: "receiver";
1439
+ readonly type: "address";
1440
+ }, {
1441
+ readonly internalType: "bytes32";
1442
+ readonly name: "guid";
1443
+ readonly type: "bytes32";
1444
+ }, {
1445
+ readonly internalType: "uint256";
1446
+ readonly name: "value";
1447
+ readonly type: "uint256";
1448
+ }, {
1449
+ readonly internalType: "address";
1450
+ readonly name: "executor";
1451
+ readonly type: "address";
1452
+ }, {
1453
+ readonly internalType: "bytes";
1454
+ readonly name: "message";
1455
+ readonly type: "bytes";
1456
+ }, {
1457
+ readonly internalType: "bytes";
1458
+ readonly name: "extraData";
1459
+ readonly type: "bytes";
1460
+ }];
1461
+ readonly internalType: "struct InboundPacket[]";
1462
+ readonly name: "_packets";
1463
+ readonly type: "tuple[]";
1464
+ }];
1465
+ readonly name: "lzReceiveAndRevert";
1466
+ readonly outputs: readonly [];
1467
+ readonly stateMutability: "payable";
1468
+ readonly type: "function";
1469
+ }, {
1470
+ readonly inputs: readonly [{
1471
+ readonly components: readonly [{
1472
+ readonly internalType: "uint32";
1473
+ readonly name: "srcEid";
1474
+ readonly type: "uint32";
1475
+ }, {
1476
+ readonly internalType: "bytes32";
1477
+ readonly name: "sender";
1478
+ readonly type: "bytes32";
1479
+ }, {
1480
+ readonly internalType: "uint64";
1481
+ readonly name: "nonce";
1482
+ readonly type: "uint64";
1483
+ }];
1484
+ readonly internalType: "struct Origin";
1485
+ readonly name: "_origin";
1486
+ readonly type: "tuple";
1487
+ }, {
1488
+ readonly internalType: "bytes32";
1489
+ readonly name: "_guid";
1490
+ readonly type: "bytes32";
1491
+ }, {
1492
+ readonly internalType: "bytes";
1493
+ readonly name: "_message";
1494
+ readonly type: "bytes";
1495
+ }, {
1496
+ readonly internalType: "address";
1497
+ readonly name: "_executor";
1498
+ readonly type: "address";
1499
+ }, {
1500
+ readonly internalType: "bytes";
1501
+ readonly name: "_extraData";
1502
+ readonly type: "bytes";
1503
+ }];
1504
+ readonly name: "lzReceiveSimulate";
1505
+ readonly outputs: readonly [];
1506
+ readonly stateMutability: "payable";
1507
+ readonly type: "function";
1508
+ }, {
1509
+ readonly inputs: readonly [{
1510
+ readonly internalType: "address";
1511
+ readonly name: "_whitelister";
1512
+ readonly type: "address";
1513
+ }, {
1514
+ readonly internalType: "address";
1515
+ readonly name: "_to";
1516
+ readonly type: "address";
1517
+ }, {
1518
+ readonly internalType: "uint256";
1519
+ readonly name: "_amount";
1520
+ readonly type: "uint256";
1521
+ }, {
1522
+ readonly internalType: "bytes32";
1523
+ readonly name: "_referenceId";
1524
+ readonly type: "bytes32";
1525
+ }, {
1526
+ readonly internalType: "uint256";
1527
+ readonly name: "_expiresAt";
1528
+ readonly type: "uint256";
1529
+ }, {
1530
+ readonly internalType: "bytes";
1531
+ readonly name: "_attestation";
1532
+ readonly type: "bytes";
1533
+ }];
1534
+ readonly name: "mint";
1535
+ readonly outputs: readonly [];
1536
+ readonly stateMutability: "nonpayable";
1537
+ readonly type: "function";
1538
+ }, {
1539
+ readonly inputs: readonly [];
1540
+ readonly name: "msgInspector";
1541
+ readonly outputs: readonly [{
1542
+ readonly internalType: "address";
1543
+ readonly name: "";
1544
+ readonly type: "address";
1545
+ }];
1546
+ readonly stateMutability: "view";
1547
+ readonly type: "function";
1548
+ }, {
1549
+ readonly inputs: readonly [];
1550
+ readonly name: "name";
1551
+ readonly outputs: readonly [{
1552
+ readonly internalType: "string";
1553
+ readonly name: "";
1554
+ readonly type: "string";
1555
+ }];
1556
+ readonly stateMutability: "view";
1557
+ readonly type: "function";
1558
+ }, {
1559
+ readonly inputs: readonly [{
1560
+ readonly internalType: "uint32";
1561
+ readonly name: "";
1562
+ readonly type: "uint32";
1563
+ }, {
1564
+ readonly internalType: "bytes32";
1565
+ readonly name: "";
1566
+ readonly type: "bytes32";
1567
+ }];
1568
+ readonly name: "nextNonce";
1569
+ readonly outputs: readonly [{
1570
+ readonly internalType: "uint64";
1571
+ readonly name: "nonce";
1572
+ readonly type: "uint64";
1573
+ }];
1574
+ readonly stateMutability: "view";
1575
+ readonly type: "function";
1576
+ }, {
1577
+ readonly inputs: readonly [{
1578
+ readonly internalType: "address";
1579
+ readonly name: "owner";
1580
+ readonly type: "address";
1581
+ }];
1582
+ readonly name: "nonces";
1583
+ readonly outputs: readonly [{
1584
+ readonly internalType: "uint256";
1585
+ readonly name: "";
1586
+ readonly type: "uint256";
1587
+ }];
1588
+ readonly stateMutability: "view";
1589
+ readonly type: "function";
1590
+ }, {
1591
+ readonly inputs: readonly [];
1592
+ readonly name: "oApp";
1593
+ readonly outputs: readonly [{
1594
+ readonly internalType: "address";
1595
+ readonly name: "";
1596
+ readonly type: "address";
1597
+ }];
1598
+ readonly stateMutability: "view";
1599
+ readonly type: "function";
1600
+ }, {
1601
+ readonly inputs: readonly [];
1602
+ readonly name: "oAppVersion";
1603
+ readonly outputs: readonly [{
1604
+ readonly internalType: "uint64";
1605
+ readonly name: "senderVersion";
1606
+ readonly type: "uint64";
1607
+ }, {
1608
+ readonly internalType: "uint64";
1609
+ readonly name: "receiverVersion";
1610
+ readonly type: "uint64";
1611
+ }];
1612
+ readonly stateMutability: "pure";
1613
+ readonly type: "function";
1614
+ }, {
1615
+ readonly inputs: readonly [];
1616
+ readonly name: "oftVersion";
1617
+ readonly outputs: readonly [{
1618
+ readonly internalType: "bytes4";
1619
+ readonly name: "interfaceId";
1620
+ readonly type: "bytes4";
1621
+ }, {
1622
+ readonly internalType: "uint64";
1623
+ readonly name: "version";
1624
+ readonly type: "uint64";
1625
+ }];
1626
+ readonly stateMutability: "pure";
1627
+ readonly type: "function";
1628
+ }, {
1629
+ readonly inputs: readonly [];
1630
+ readonly name: "owner";
1631
+ readonly outputs: readonly [{
1632
+ readonly internalType: "address";
1633
+ readonly name: "";
1634
+ readonly type: "address";
1635
+ }];
1636
+ readonly stateMutability: "view";
1637
+ readonly type: "function";
1638
+ }, {
1639
+ readonly inputs: readonly [];
1640
+ readonly name: "pause";
1641
+ readonly outputs: readonly [];
1642
+ readonly stateMutability: "nonpayable";
1643
+ readonly type: "function";
1644
+ }, {
1645
+ readonly inputs: readonly [];
1646
+ readonly name: "paused";
1647
+ readonly outputs: readonly [{
1648
+ readonly internalType: "bool";
1649
+ readonly name: "";
1650
+ readonly type: "bool";
1651
+ }];
1652
+ readonly stateMutability: "view";
1653
+ readonly type: "function";
1654
+ }, {
1655
+ readonly inputs: readonly [{
1656
+ readonly internalType: "uint32";
1657
+ readonly name: "_eid";
1658
+ readonly type: "uint32";
1659
+ }];
1660
+ readonly name: "peers";
1661
+ readonly outputs: readonly [{
1662
+ readonly internalType: "bytes32";
1663
+ readonly name: "";
1664
+ readonly type: "bytes32";
1665
+ }];
1666
+ readonly stateMutability: "view";
1667
+ readonly type: "function";
1668
+ }, {
1669
+ readonly inputs: readonly [{
1670
+ readonly internalType: "address";
1671
+ readonly name: "_from";
1672
+ readonly type: "address";
1673
+ }, {
1674
+ readonly internalType: "uint256";
1675
+ readonly name: "_amount";
1676
+ readonly type: "uint256";
1677
+ }];
1678
+ readonly name: "permissionedBurn";
1679
+ readonly outputs: readonly [];
1680
+ readonly stateMutability: "nonpayable";
1681
+ readonly type: "function";
1682
+ }, {
1683
+ readonly inputs: readonly [{
1684
+ readonly internalType: "address";
1685
+ readonly name: "_whitelister";
1686
+ readonly type: "address";
1687
+ }, {
1688
+ readonly internalType: "address";
1689
+ readonly name: "_to";
1690
+ readonly type: "address";
1691
+ }, {
1692
+ readonly internalType: "uint256";
1693
+ readonly name: "_amount";
1694
+ readonly type: "uint256";
1695
+ }, {
1696
+ readonly internalType: "bytes32";
1697
+ readonly name: "_referenceId";
1698
+ readonly type: "bytes32";
1699
+ }, {
1700
+ readonly internalType: "bytes";
1701
+ readonly name: "_attestation";
1702
+ readonly type: "bytes";
1703
+ }];
1704
+ readonly name: "permissionedMint";
1705
+ readonly outputs: readonly [];
1706
+ readonly stateMutability: "nonpayable";
1707
+ readonly type: "function";
1708
+ }, {
1709
+ readonly inputs: readonly [{
1710
+ readonly internalType: "address";
1711
+ readonly name: "owner";
1712
+ readonly type: "address";
1713
+ }, {
1714
+ readonly internalType: "address";
1715
+ readonly name: "spender";
1716
+ readonly type: "address";
1717
+ }, {
1718
+ readonly internalType: "uint256";
1719
+ readonly name: "value";
1720
+ readonly type: "uint256";
1721
+ }, {
1722
+ readonly internalType: "uint256";
1723
+ readonly name: "deadline";
1724
+ readonly type: "uint256";
1725
+ }, {
1726
+ readonly internalType: "uint8";
1727
+ readonly name: "v";
1728
+ readonly type: "uint8";
1729
+ }, {
1730
+ readonly internalType: "bytes32";
1731
+ readonly name: "r";
1732
+ readonly type: "bytes32";
1733
+ }, {
1734
+ readonly internalType: "bytes32";
1735
+ readonly name: "s";
1736
+ readonly type: "bytes32";
1737
+ }];
1738
+ readonly name: "permit";
1739
+ readonly outputs: readonly [];
1740
+ readonly stateMutability: "nonpayable";
1741
+ readonly type: "function";
1742
+ }, {
1743
+ readonly inputs: readonly [];
1744
+ readonly name: "preCrime";
1745
+ readonly outputs: readonly [{
1746
+ readonly internalType: "address";
1747
+ readonly name: "";
1748
+ readonly type: "address";
1749
+ }];
1750
+ readonly stateMutability: "view";
1751
+ readonly type: "function";
1752
+ }, {
1753
+ readonly inputs: readonly [];
1754
+ readonly name: "proxiableUUID";
1755
+ readonly outputs: readonly [{
1756
+ readonly internalType: "bytes32";
1757
+ readonly name: "";
1758
+ readonly type: "bytes32";
1759
+ }];
1760
+ readonly stateMutability: "view";
1761
+ readonly type: "function";
1762
+ }, {
1763
+ readonly inputs: readonly [{
1764
+ readonly components: readonly [{
1765
+ readonly internalType: "uint32";
1766
+ readonly name: "dstEid";
1767
+ readonly type: "uint32";
1768
+ }, {
1769
+ readonly internalType: "bytes32";
1770
+ readonly name: "to";
1771
+ readonly type: "bytes32";
1772
+ }, {
1773
+ readonly internalType: "uint256";
1774
+ readonly name: "amountLD";
1775
+ readonly type: "uint256";
1776
+ }, {
1777
+ readonly internalType: "uint256";
1778
+ readonly name: "minAmountLD";
1779
+ readonly type: "uint256";
1780
+ }, {
1781
+ readonly internalType: "bytes";
1782
+ readonly name: "extraOptions";
1783
+ readonly type: "bytes";
1784
+ }, {
1785
+ readonly internalType: "bytes";
1786
+ readonly name: "composeMsg";
1787
+ readonly type: "bytes";
1788
+ }, {
1789
+ readonly internalType: "bytes";
1790
+ readonly name: "oftCmd";
1791
+ readonly type: "bytes";
1792
+ }];
1793
+ readonly internalType: "struct SendParam";
1794
+ readonly name: "_sendParam";
1795
+ readonly type: "tuple";
1796
+ }];
1797
+ readonly name: "quoteOFT";
1798
+ readonly outputs: readonly [{
1799
+ readonly components: readonly [{
1800
+ readonly internalType: "uint256";
1801
+ readonly name: "minAmountLD";
1802
+ readonly type: "uint256";
1803
+ }, {
1804
+ readonly internalType: "uint256";
1805
+ readonly name: "maxAmountLD";
1806
+ readonly type: "uint256";
1807
+ }];
1808
+ readonly internalType: "struct OFTLimit";
1809
+ readonly name: "oftLimit";
1810
+ readonly type: "tuple";
1811
+ }, {
1812
+ readonly components: readonly [{
1813
+ readonly internalType: "int256";
1814
+ readonly name: "feeAmountLD";
1815
+ readonly type: "int256";
1816
+ }, {
1817
+ readonly internalType: "string";
1818
+ readonly name: "description";
1819
+ readonly type: "string";
1820
+ }];
1821
+ readonly internalType: "struct OFTFeeDetail[]";
1822
+ readonly name: "oftFeeDetails";
1823
+ readonly type: "tuple[]";
1824
+ }, {
1825
+ readonly components: readonly [{
1826
+ readonly internalType: "uint256";
1827
+ readonly name: "amountSentLD";
1828
+ readonly type: "uint256";
1829
+ }, {
1830
+ readonly internalType: "uint256";
1831
+ readonly name: "amountReceivedLD";
1832
+ readonly type: "uint256";
1833
+ }];
1834
+ readonly internalType: "struct OFTReceipt";
1835
+ readonly name: "oftReceipt";
1836
+ readonly type: "tuple";
1837
+ }];
1838
+ readonly stateMutability: "view";
1839
+ readonly type: "function";
1840
+ }, {
1841
+ readonly inputs: readonly [{
1842
+ readonly components: readonly [{
1843
+ readonly internalType: "uint32";
1844
+ readonly name: "dstEid";
1845
+ readonly type: "uint32";
1846
+ }, {
1847
+ readonly internalType: "bytes32";
1848
+ readonly name: "to";
1849
+ readonly type: "bytes32";
1850
+ }, {
1851
+ readonly internalType: "uint256";
1852
+ readonly name: "amountLD";
1853
+ readonly type: "uint256";
1854
+ }, {
1855
+ readonly internalType: "uint256";
1856
+ readonly name: "minAmountLD";
1857
+ readonly type: "uint256";
1858
+ }, {
1859
+ readonly internalType: "bytes";
1860
+ readonly name: "extraOptions";
1861
+ readonly type: "bytes";
1862
+ }, {
1863
+ readonly internalType: "bytes";
1864
+ readonly name: "composeMsg";
1865
+ readonly type: "bytes";
1866
+ }, {
1867
+ readonly internalType: "bytes";
1868
+ readonly name: "oftCmd";
1869
+ readonly type: "bytes";
1870
+ }];
1871
+ readonly internalType: "struct SendParam";
1872
+ readonly name: "_sendParam";
1873
+ readonly type: "tuple";
1874
+ }, {
1875
+ readonly internalType: "bool";
1876
+ readonly name: "_payInLzToken";
1877
+ readonly type: "bool";
1878
+ }];
1879
+ readonly name: "quoteSend";
1880
+ readonly outputs: readonly [{
1881
+ readonly components: readonly [{
1882
+ readonly internalType: "uint256";
1883
+ readonly name: "nativeFee";
1884
+ readonly type: "uint256";
1885
+ }, {
1886
+ readonly internalType: "uint256";
1887
+ readonly name: "lzTokenFee";
1888
+ readonly type: "uint256";
1889
+ }];
1890
+ readonly internalType: "struct MessagingFee";
1891
+ readonly name: "msgFee";
1892
+ readonly type: "tuple";
1893
+ }];
1894
+ readonly stateMutability: "view";
1895
+ readonly type: "function";
1896
+ }, {
1897
+ readonly inputs: readonly [];
1898
+ readonly name: "renounceOwnership";
1899
+ readonly outputs: readonly [];
1900
+ readonly stateMutability: "nonpayable";
1901
+ readonly type: "function";
1902
+ }, {
1903
+ readonly inputs: readonly [{
1904
+ readonly internalType: "bytes32";
1905
+ readonly name: "role";
1906
+ readonly type: "bytes32";
1907
+ }, {
1908
+ readonly internalType: "address";
1909
+ readonly name: "callerConfirmation";
1910
+ readonly type: "address";
1911
+ }];
1912
+ readonly name: "renounceRole";
1913
+ readonly outputs: readonly [];
1914
+ readonly stateMutability: "nonpayable";
1915
+ readonly type: "function";
1916
+ }, {
1917
+ readonly inputs: readonly [{
1918
+ readonly internalType: "bytes32";
1919
+ readonly name: "role";
1920
+ readonly type: "bytes32";
1921
+ }, {
1922
+ readonly internalType: "address";
1923
+ readonly name: "account";
1924
+ readonly type: "address";
1925
+ }];
1926
+ readonly name: "revokeRole";
1927
+ readonly outputs: readonly [];
1928
+ readonly stateMutability: "nonpayable";
1929
+ readonly type: "function";
1930
+ }, {
1931
+ readonly inputs: readonly [{
1932
+ readonly components: readonly [{
1933
+ readonly internalType: "uint32";
1934
+ readonly name: "dstEid";
1935
+ readonly type: "uint32";
1936
+ }, {
1937
+ readonly internalType: "bytes32";
1938
+ readonly name: "to";
1939
+ readonly type: "bytes32";
1940
+ }, {
1941
+ readonly internalType: "uint256";
1942
+ readonly name: "amountLD";
1943
+ readonly type: "uint256";
1944
+ }, {
1945
+ readonly internalType: "uint256";
1946
+ readonly name: "minAmountLD";
1947
+ readonly type: "uint256";
1948
+ }, {
1949
+ readonly internalType: "bytes";
1950
+ readonly name: "extraOptions";
1951
+ readonly type: "bytes";
1952
+ }, {
1953
+ readonly internalType: "bytes";
1954
+ readonly name: "composeMsg";
1955
+ readonly type: "bytes";
1956
+ }, {
1957
+ readonly internalType: "bytes";
1958
+ readonly name: "oftCmd";
1959
+ readonly type: "bytes";
1960
+ }];
1961
+ readonly internalType: "struct SendParam";
1962
+ readonly name: "_sendParam";
1963
+ readonly type: "tuple";
1964
+ }, {
1965
+ readonly components: readonly [{
1966
+ readonly internalType: "uint256";
1967
+ readonly name: "nativeFee";
1968
+ readonly type: "uint256";
1969
+ }, {
1970
+ readonly internalType: "uint256";
1971
+ readonly name: "lzTokenFee";
1972
+ readonly type: "uint256";
1973
+ }];
1974
+ readonly internalType: "struct MessagingFee";
1975
+ readonly name: "_fee";
1976
+ readonly type: "tuple";
1977
+ }, {
1978
+ readonly internalType: "address";
1979
+ readonly name: "_refundAddress";
1980
+ readonly type: "address";
1981
+ }];
1982
+ readonly name: "send";
1983
+ readonly outputs: readonly [{
1984
+ readonly components: readonly [{
1985
+ readonly internalType: "bytes32";
1986
+ readonly name: "guid";
1987
+ readonly type: "bytes32";
1988
+ }, {
1989
+ readonly internalType: "uint64";
1990
+ readonly name: "nonce";
1991
+ readonly type: "uint64";
1992
+ }, {
1993
+ readonly components: readonly [{
1994
+ readonly internalType: "uint256";
1995
+ readonly name: "nativeFee";
1996
+ readonly type: "uint256";
1997
+ }, {
1998
+ readonly internalType: "uint256";
1999
+ readonly name: "lzTokenFee";
2000
+ readonly type: "uint256";
2001
+ }];
2002
+ readonly internalType: "struct MessagingFee";
2003
+ readonly name: "fee";
2004
+ readonly type: "tuple";
2005
+ }];
2006
+ readonly internalType: "struct MessagingReceipt";
2007
+ readonly name: "msgReceipt";
2008
+ readonly type: "tuple";
2009
+ }, {
2010
+ readonly components: readonly [{
2011
+ readonly internalType: "uint256";
2012
+ readonly name: "amountSentLD";
2013
+ readonly type: "uint256";
2014
+ }, {
2015
+ readonly internalType: "uint256";
2016
+ readonly name: "amountReceivedLD";
2017
+ readonly type: "uint256";
2018
+ }];
2019
+ readonly internalType: "struct OFTReceipt";
2020
+ readonly name: "oftReceipt";
2021
+ readonly type: "tuple";
2022
+ }];
2023
+ readonly stateMutability: "payable";
2024
+ readonly type: "function";
2025
+ }, {
2026
+ readonly inputs: readonly [{
2027
+ readonly internalType: "address";
2028
+ readonly name: "_whitelister";
2029
+ readonly type: "address";
2030
+ }, {
2031
+ readonly internalType: "uint256";
2032
+ readonly name: "_limit";
2033
+ readonly type: "uint256";
2034
+ }];
2035
+ readonly name: "setAuthorizedWhitelisterRateLimit";
2036
+ readonly outputs: readonly [];
2037
+ readonly stateMutability: "nonpayable";
2038
+ readonly type: "function";
2039
+ }, {
2040
+ readonly inputs: readonly [{
2041
+ readonly internalType: "address";
2042
+ readonly name: "_delegate";
2043
+ readonly type: "address";
2044
+ }];
2045
+ readonly name: "setDelegate";
2046
+ readonly outputs: readonly [];
2047
+ readonly stateMutability: "nonpayable";
2048
+ readonly type: "function";
2049
+ }, {
2050
+ readonly inputs: readonly [{
2051
+ readonly components: readonly [{
2052
+ readonly internalType: "uint32";
2053
+ readonly name: "eid";
2054
+ readonly type: "uint32";
2055
+ }, {
2056
+ readonly internalType: "uint16";
2057
+ readonly name: "msgType";
2058
+ readonly type: "uint16";
2059
+ }, {
2060
+ readonly internalType: "bytes";
2061
+ readonly name: "options";
2062
+ readonly type: "bytes";
2063
+ }];
2064
+ readonly internalType: "struct EnforcedOptionParam[]";
2065
+ readonly name: "_enforcedOptions";
2066
+ readonly type: "tuple[]";
2067
+ }];
2068
+ readonly name: "setEnforcedOptions";
2069
+ readonly outputs: readonly [];
2070
+ readonly stateMutability: "nonpayable";
2071
+ readonly type: "function";
2072
+ }, {
2073
+ readonly inputs: readonly [{
2074
+ readonly internalType: "uint256";
2075
+ readonly name: "_globalRateLimit";
2076
+ readonly type: "uint256";
2077
+ }, {
2078
+ readonly internalType: "uint256";
2079
+ readonly name: "_whitelisterLimit";
2080
+ readonly type: "uint256";
2081
+ }, {
2082
+ readonly internalType: "uint256";
2083
+ readonly name: "_minMintAmount";
2084
+ readonly type: "uint256";
2085
+ }, {
2086
+ readonly internalType: "uint256";
2087
+ readonly name: "_maxMintAmount";
2088
+ readonly type: "uint256";
2089
+ }];
2090
+ readonly name: "setLimitConfigs";
2091
+ readonly outputs: readonly [];
2092
+ readonly stateMutability: "nonpayable";
2093
+ readonly type: "function";
2094
+ }, {
2095
+ readonly inputs: readonly [{
2096
+ readonly internalType: "address";
2097
+ readonly name: "_msgInspector";
2098
+ readonly type: "address";
2099
+ }];
2100
+ readonly name: "setMsgInspector";
2101
+ readonly outputs: readonly [];
2102
+ readonly stateMutability: "nonpayable";
2103
+ readonly type: "function";
2104
+ }, {
2105
+ readonly inputs: readonly [{
2106
+ readonly internalType: "uint32";
2107
+ readonly name: "_eid";
2108
+ readonly type: "uint32";
2109
+ }, {
2110
+ readonly internalType: "bytes32";
2111
+ readonly name: "_peer";
2112
+ readonly type: "bytes32";
2113
+ }];
2114
+ readonly name: "setPeer";
2115
+ readonly outputs: readonly [];
2116
+ readonly stateMutability: "nonpayable";
2117
+ readonly type: "function";
2118
+ }, {
2119
+ readonly inputs: readonly [{
2120
+ readonly internalType: "address";
2121
+ readonly name: "_preCrime";
2122
+ readonly type: "address";
2123
+ }];
2124
+ readonly name: "setPreCrime";
2125
+ readonly outputs: readonly [];
2126
+ readonly stateMutability: "nonpayable";
2127
+ readonly type: "function";
2128
+ }, {
2129
+ readonly inputs: readonly [];
2130
+ readonly name: "sharedDecimals";
2131
+ readonly outputs: readonly [{
2132
+ readonly internalType: "uint8";
2133
+ readonly name: "";
2134
+ readonly type: "uint8";
2135
+ }];
2136
+ readonly stateMutability: "pure";
2137
+ readonly type: "function";
2138
+ }, {
2139
+ readonly inputs: readonly [{
2140
+ readonly internalType: "bytes4";
2141
+ readonly name: "interfaceId";
2142
+ readonly type: "bytes4";
2143
+ }];
2144
+ readonly name: "supportsInterface";
2145
+ readonly outputs: readonly [{
2146
+ readonly internalType: "bool";
2147
+ readonly name: "";
2148
+ readonly type: "bool";
2149
+ }];
2150
+ readonly stateMutability: "view";
2151
+ readonly type: "function";
2152
+ }, {
2153
+ readonly inputs: readonly [];
2154
+ readonly name: "symbol";
2155
+ readonly outputs: readonly [{
2156
+ readonly internalType: "string";
2157
+ readonly name: "";
2158
+ readonly type: "string";
2159
+ }];
2160
+ readonly stateMutability: "view";
2161
+ readonly type: "function";
2162
+ }, {
2163
+ readonly inputs: readonly [];
2164
+ readonly name: "token";
2165
+ readonly outputs: readonly [{
2166
+ readonly internalType: "address";
2167
+ readonly name: "";
2168
+ readonly type: "address";
2169
+ }];
2170
+ readonly stateMutability: "view";
2171
+ readonly type: "function";
2172
+ }, {
2173
+ readonly inputs: readonly [];
2174
+ readonly name: "totalSupply";
2175
+ readonly outputs: readonly [{
2176
+ readonly internalType: "uint256";
2177
+ readonly name: "";
2178
+ readonly type: "uint256";
2179
+ }];
2180
+ readonly stateMutability: "view";
2181
+ readonly type: "function";
2182
+ }, {
2183
+ readonly inputs: readonly [{
2184
+ readonly internalType: "address";
2185
+ readonly name: "to";
2186
+ readonly type: "address";
2187
+ }, {
2188
+ readonly internalType: "uint256";
2189
+ readonly name: "value";
2190
+ readonly type: "uint256";
2191
+ }];
2192
+ readonly name: "transfer";
2193
+ readonly outputs: readonly [{
2194
+ readonly internalType: "bool";
2195
+ readonly name: "";
2196
+ readonly type: "bool";
2197
+ }];
2198
+ readonly stateMutability: "nonpayable";
2199
+ readonly type: "function";
2200
+ }, {
2201
+ readonly inputs: readonly [{
2202
+ readonly internalType: "address";
2203
+ readonly name: "from";
2204
+ readonly type: "address";
2205
+ }, {
2206
+ readonly internalType: "address";
2207
+ readonly name: "to";
2208
+ readonly type: "address";
2209
+ }, {
2210
+ readonly internalType: "uint256";
2211
+ readonly name: "value";
2212
+ readonly type: "uint256";
2213
+ }];
2214
+ readonly name: "transferFrom";
2215
+ readonly outputs: readonly [{
2216
+ readonly internalType: "bool";
2217
+ readonly name: "";
2218
+ readonly type: "bool";
2219
+ }];
2220
+ readonly stateMutability: "nonpayable";
2221
+ readonly type: "function";
2222
+ }, {
2223
+ readonly inputs: readonly [{
2224
+ readonly internalType: "address";
2225
+ readonly name: "newOwner";
2226
+ readonly type: "address";
2227
+ }];
2228
+ readonly name: "transferOwnership";
2229
+ readonly outputs: readonly [];
2230
+ readonly stateMutability: "nonpayable";
2231
+ readonly type: "function";
2232
+ }, {
2233
+ readonly inputs: readonly [{
2234
+ readonly internalType: "address";
2235
+ readonly name: "_address";
2236
+ readonly type: "address";
2237
+ }];
2238
+ readonly name: "unfreeze";
2239
+ readonly outputs: readonly [];
2240
+ readonly stateMutability: "nonpayable";
2241
+ readonly type: "function";
2242
+ }, {
2243
+ readonly inputs: readonly [];
2244
+ readonly name: "unpause";
2245
+ readonly outputs: readonly [];
2246
+ readonly stateMutability: "nonpayable";
2247
+ readonly type: "function";
2248
+ }, {
2249
+ readonly inputs: readonly [{
2250
+ readonly internalType: "address";
2251
+ readonly name: "newImplementation";
2252
+ readonly type: "address";
2253
+ }, {
2254
+ readonly internalType: "bytes";
2255
+ readonly name: "data";
2256
+ readonly type: "bytes";
2257
+ }];
2258
+ readonly name: "upgradeToAndCall";
2259
+ readonly outputs: readonly [];
2260
+ readonly stateMutability: "payable";
2261
+ readonly type: "function";
2262
+ }, {
2263
+ readonly inputs: readonly [{
2264
+ readonly internalType: "address";
2265
+ readonly name: "";
2266
+ readonly type: "address";
2267
+ }];
2268
+ readonly name: "whitelisterRateLimit";
2269
+ readonly outputs: readonly [{
2270
+ readonly internalType: "uint256";
2271
+ readonly name: "";
2272
+ readonly type: "uint256";
2273
+ }];
2274
+ readonly stateMutability: "view";
2275
+ readonly type: "function";
2276
+ }];
2277
+ /**
2278
+ * Type-safe ABI for BRS_json
2279
+ */
2280
+ export type BRS_jsonAbi = typeof BRS_jsonAbi;
2281
+ /**
2282
+ * Contract instance type for BRS_json
2283
+ */
2284
+ export type BRS_jsonContract = any;
2285
+ /**
2286
+ * BRS_json Contract Class
2287
+ *
2288
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
2289
+ *
2290
+ * @example
2291
+ * ```typescript
2292
+ * import { createPublicClient, createWalletClient, http } from 'viem';
2293
+ * import { mainnet } from 'viem/chains';
2294
+ * import { BRS_json } from 'BRS_json';
2295
+ *
2296
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
2297
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
2298
+ *
2299
+ * const contract = new BRS_json('0x...', { publicClient, walletClient });
2300
+ *
2301
+ * // Read functions
2302
+ * const result = await contract.balanceOf('0x...');
2303
+ *
2304
+ * // Write functions
2305
+ * const hash = await contract.transfer('0x...', 1000n);
2306
+ *
2307
+ * // Simulate transactions (dry-run)
2308
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
2309
+ * console.log('Gas estimate:', simulation.request.gas);
2310
+ *
2311
+ * // Watch events
2312
+ * const unwatch = contract.watch.Transfer((event) => {
2313
+ * console.log('Transfer event:', event);
2314
+ * });
2315
+ * ```
2316
+ */
2317
+ export declare class BRS_json {
2318
+ private contract;
2319
+ private contractAddress;
2320
+ private publicClient;
2321
+ constructor(address: Address, clients: {
2322
+ publicClient: PublicClient;
2323
+ walletClient?: WalletClient;
2324
+ });
2325
+ /**
2326
+ * Get the contract address
2327
+ */
2328
+ get address(): Address;
2329
+ /**
2330
+ * Get the underlying viem contract instance
2331
+ */
2332
+ getContract(): BRS_jsonContract;
2333
+ /**
2334
+ * ATTESTER_ROLE
2335
+ * view
2336
+ */
2337
+ ATTESTER_ROLE(): Promise<`0x${string}`>;
2338
+ /**
2339
+ * DECIMALS
2340
+ * view
2341
+ */
2342
+ DECIMALS(): Promise<bigint>;
2343
+ /**
2344
+ * DEFAULT_ADMIN_ROLE
2345
+ * view
2346
+ */
2347
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
2348
+ /**
2349
+ * DOMAIN_SEPARATOR
2350
+ * view
2351
+ */
2352
+ DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
2353
+ /**
2354
+ * FREEZER_ROLE
2355
+ * view
2356
+ */
2357
+ FREEZER_ROLE(): Promise<`0x${string}`>;
2358
+ /**
2359
+ * MINTER_ROLE
2360
+ * view
2361
+ */
2362
+ MINTER_ROLE(): Promise<`0x${string}`>;
2363
+ /**
2364
+ * PAUSER_ROLE
2365
+ * view
2366
+ */
2367
+ PAUSER_ROLE(): Promise<`0x${string}`>;
2368
+ /**
2369
+ * RECIPIENT_ROLE
2370
+ * view
2371
+ */
2372
+ RECIPIENT_ROLE(): Promise<`0x${string}`>;
2373
+ /**
2374
+ * SEND
2375
+ * view
2376
+ */
2377
+ SEND(): Promise<bigint>;
2378
+ /**
2379
+ * SEND_AND_CALL
2380
+ * view
2381
+ */
2382
+ SEND_AND_CALL(): Promise<bigint>;
2383
+ /**
2384
+ * UPGRADE_INTERFACE_VERSION
2385
+ * view
2386
+ */
2387
+ UPGRADE_INTERFACE_VERSION(): Promise<string>;
2388
+ /**
2389
+ * WHITELISTER_ROLE
2390
+ * view
2391
+ */
2392
+ WHITELISTER_ROLE(): Promise<`0x${string}`>;
2393
+ /**
2394
+ * allowInitializePath
2395
+ * view
2396
+ */
2397
+ allowInitializePath(origin: Origin): Promise<boolean>;
2398
+ /**
2399
+ * allowance
2400
+ * view
2401
+ */
2402
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
2403
+ /**
2404
+ * approvalRequired
2405
+ * pure
2406
+ */
2407
+ approvalRequired(): Promise<boolean>;
2408
+ /**
2409
+ * balanceOf
2410
+ * view
2411
+ */
2412
+ balanceOf(account: `0x${string}`): Promise<bigint>;
2413
+ /**
2414
+ * combineOptions
2415
+ * view
2416
+ */
2417
+ combineOptions(_eid: bigint, _msgType: bigint, _extraOptions: `0x${string}`): Promise<`0x${string}`>;
2418
+ /**
2419
+ * decimalConversionRate
2420
+ * view
2421
+ */
2422
+ decimalConversionRate(): Promise<bigint>;
2423
+ /**
2424
+ * decimals
2425
+ * pure
2426
+ */
2427
+ decimals(): Promise<bigint>;
2428
+ /**
2429
+ * eip712Domain
2430
+ * view
2431
+ */
2432
+ eip712Domain(): Promise<[`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, bigint[]]>;
2433
+ /**
2434
+ * endpoint
2435
+ * view
2436
+ */
2437
+ endpoint(): Promise<`0x${string}`>;
2438
+ /**
2439
+ * enforcedOptions
2440
+ * view
2441
+ */
2442
+ enforcedOptions(_eid: bigint, _msgType: bigint): Promise<`0x${string}`>;
2443
+ /**
2444
+ * getRoleAdmin
2445
+ * view
2446
+ */
2447
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
2448
+ /**
2449
+ * hasRole
2450
+ * view
2451
+ */
2452
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
2453
+ /**
2454
+ * isComposeMsgSender
2455
+ * view
2456
+ */
2457
+ isComposeMsgSender(arg0: Origin, arg1: `0x${string}`, _sender: `0x${string}`): Promise<boolean>;
2458
+ /**
2459
+ * isFrozen
2460
+ * view
2461
+ */
2462
+ isFrozen(arg0: `0x${string}`): Promise<boolean>;
2463
+ /**
2464
+ * isPeer
2465
+ * view
2466
+ */
2467
+ isPeer(_eid: bigint, _peer: `0x${string}`): Promise<boolean>;
2468
+ /**
2469
+ * limitConfig
2470
+ * view
2471
+ */
2472
+ limitConfig(): Promise<[bigint, bigint, bigint, bigint]>;
2473
+ /**
2474
+ * msgInspector
2475
+ * view
2476
+ */
2477
+ msgInspector(): Promise<`0x${string}`>;
2478
+ /**
2479
+ * name
2480
+ * view
2481
+ */
2482
+ name(): Promise<string>;
2483
+ /**
2484
+ * nextNonce
2485
+ * view
2486
+ */
2487
+ nextNonce(arg0: bigint, arg1: `0x${string}`): Promise<bigint>;
2488
+ /**
2489
+ * nonces
2490
+ * view
2491
+ */
2492
+ nonces(owner: `0x${string}`): Promise<bigint>;
2493
+ /**
2494
+ * oApp
2495
+ * view
2496
+ */
2497
+ oApp(): Promise<`0x${string}`>;
2498
+ /**
2499
+ * oAppVersion
2500
+ * pure
2501
+ */
2502
+ oAppVersion(): Promise<[bigint, bigint]>;
2503
+ /**
2504
+ * oftVersion
2505
+ * pure
2506
+ */
2507
+ oftVersion(): Promise<[`0x${string}`, bigint]>;
2508
+ /**
2509
+ * owner
2510
+ * view
2511
+ */
2512
+ owner(): Promise<`0x${string}`>;
2513
+ /**
2514
+ * paused
2515
+ * view
2516
+ */
2517
+ paused(): Promise<boolean>;
2518
+ /**
2519
+ * peers
2520
+ * view
2521
+ */
2522
+ peers(_eid: bigint): Promise<`0x${string}`>;
2523
+ /**
2524
+ * preCrime
2525
+ * view
2526
+ */
2527
+ preCrime(): Promise<`0x${string}`>;
2528
+ /**
2529
+ * proxiableUUID
2530
+ * view
2531
+ */
2532
+ proxiableUUID(): Promise<`0x${string}`>;
2533
+ /**
2534
+ * quoteOFT
2535
+ * view
2536
+ */
2537
+ quoteOFT(_sendParam: SendParam): Promise<[OFTLimit, OFTFeeDetail[], OFTReceipt]>;
2538
+ /**
2539
+ * quoteSend
2540
+ * view
2541
+ */
2542
+ quoteSend(_sendParam: SendParam, _payInLzToken: boolean): Promise<MessagingFee>;
2543
+ /**
2544
+ * sharedDecimals
2545
+ * pure
2546
+ */
2547
+ sharedDecimals(): Promise<bigint>;
2548
+ /**
2549
+ * supportsInterface
2550
+ * view
2551
+ */
2552
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
2553
+ /**
2554
+ * symbol
2555
+ * view
2556
+ */
2557
+ symbol(): Promise<string>;
2558
+ /**
2559
+ * token
2560
+ * view
2561
+ */
2562
+ token(): Promise<`0x${string}`>;
2563
+ /**
2564
+ * totalSupply
2565
+ * view
2566
+ */
2567
+ totalSupply(): Promise<bigint>;
2568
+ /**
2569
+ * whitelisterRateLimit
2570
+ * view
2571
+ */
2572
+ whitelisterRateLimit(arg0: `0x${string}`): Promise<bigint>;
2573
+ /**
2574
+ * approve
2575
+ * nonpayable
2576
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2577
+ */
2578
+ approve(spender: `0x${string}`, value: bigint, options?: {
2579
+ accessList?: import('viem').AccessList;
2580
+ authorizationList?: import('viem').AuthorizationList;
2581
+ chain?: import('viem').Chain | null;
2582
+ dataSuffix?: `0x${string}`;
2583
+ gas?: bigint;
2584
+ gasPrice?: bigint;
2585
+ maxFeePerGas?: bigint;
2586
+ maxPriorityFeePerGas?: bigint;
2587
+ nonce?: number;
2588
+ value?: bigint;
2589
+ }): Promise<`0x${string}`>;
2590
+ /**
2591
+ * burn
2592
+ * nonpayable
2593
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2594
+ */
2595
+ burn(_whitelister: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _expiresAt: bigint, _attestation: `0x${string}`, options?: {
2596
+ accessList?: import('viem').AccessList;
2597
+ authorizationList?: import('viem').AuthorizationList;
2598
+ chain?: import('viem').Chain | null;
2599
+ dataSuffix?: `0x${string}`;
2600
+ gas?: bigint;
2601
+ gasPrice?: bigint;
2602
+ maxFeePerGas?: bigint;
2603
+ maxPriorityFeePerGas?: bigint;
2604
+ nonce?: number;
2605
+ value?: bigint;
2606
+ }): Promise<`0x${string}`>;
2607
+ /**
2608
+ * cancelReferenceId
2609
+ * nonpayable
2610
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2611
+ */
2612
+ cancelReferenceId(_referenceId: `0x${string}`, options?: {
2613
+ accessList?: import('viem').AccessList;
2614
+ authorizationList?: import('viem').AuthorizationList;
2615
+ chain?: import('viem').Chain | null;
2616
+ dataSuffix?: `0x${string}`;
2617
+ gas?: bigint;
2618
+ gasPrice?: bigint;
2619
+ maxFeePerGas?: bigint;
2620
+ maxPriorityFeePerGas?: bigint;
2621
+ nonce?: number;
2622
+ value?: bigint;
2623
+ }): Promise<`0x${string}`>;
2624
+ /**
2625
+ * freeze
2626
+ * nonpayable
2627
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2628
+ */
2629
+ freeze(_address: `0x${string}`, options?: {
2630
+ accessList?: import('viem').AccessList;
2631
+ authorizationList?: import('viem').AuthorizationList;
2632
+ chain?: import('viem').Chain | null;
2633
+ dataSuffix?: `0x${string}`;
2634
+ gas?: bigint;
2635
+ gasPrice?: bigint;
2636
+ maxFeePerGas?: bigint;
2637
+ maxPriorityFeePerGas?: bigint;
2638
+ nonce?: number;
2639
+ value?: bigint;
2640
+ }): Promise<`0x${string}`>;
2641
+ /**
2642
+ * grantRole
2643
+ * nonpayable
2644
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2645
+ */
2646
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
2647
+ accessList?: import('viem').AccessList;
2648
+ authorizationList?: import('viem').AuthorizationList;
2649
+ chain?: import('viem').Chain | null;
2650
+ dataSuffix?: `0x${string}`;
2651
+ gas?: bigint;
2652
+ gasPrice?: bigint;
2653
+ maxFeePerGas?: bigint;
2654
+ maxPriorityFeePerGas?: bigint;
2655
+ nonce?: number;
2656
+ value?: bigint;
2657
+ }): Promise<`0x${string}`>;
2658
+ /**
2659
+ * initialize
2660
+ * nonpayable
2661
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2662
+ */
2663
+ initialize(_name: string, _symbol: string, _owner: `0x${string}`, _minter: `0x${string}`, _attester: `0x${string}`, options?: {
2664
+ accessList?: import('viem').AccessList;
2665
+ authorizationList?: import('viem').AuthorizationList;
2666
+ chain?: import('viem').Chain | null;
2667
+ dataSuffix?: `0x${string}`;
2668
+ gas?: bigint;
2669
+ gasPrice?: bigint;
2670
+ maxFeePerGas?: bigint;
2671
+ maxPriorityFeePerGas?: bigint;
2672
+ nonce?: number;
2673
+ value?: bigint;
2674
+ }): Promise<`0x${string}`>;
2675
+ /**
2676
+ * lzReceive
2677
+ * payable
2678
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2679
+ */
2680
+ lzReceive(_origin: Origin, _guid: `0x${string}`, _message: `0x${string}`, _executor: `0x${string}`, _extraData: `0x${string}`, options?: {
2681
+ accessList?: import('viem').AccessList;
2682
+ authorizationList?: import('viem').AuthorizationList;
2683
+ chain?: import('viem').Chain | null;
2684
+ dataSuffix?: `0x${string}`;
2685
+ gas?: bigint;
2686
+ gasPrice?: bigint;
2687
+ maxFeePerGas?: bigint;
2688
+ maxPriorityFeePerGas?: bigint;
2689
+ nonce?: number;
2690
+ value?: bigint;
2691
+ }): Promise<`0x${string}`>;
2692
+ /**
2693
+ * lzReceiveAndRevert
2694
+ * payable
2695
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2696
+ */
2697
+ lzReceiveAndRevert(_packets: InboundPacket[], options?: {
2698
+ accessList?: import('viem').AccessList;
2699
+ authorizationList?: import('viem').AuthorizationList;
2700
+ chain?: import('viem').Chain | null;
2701
+ dataSuffix?: `0x${string}`;
2702
+ gas?: bigint;
2703
+ gasPrice?: bigint;
2704
+ maxFeePerGas?: bigint;
2705
+ maxPriorityFeePerGas?: bigint;
2706
+ nonce?: number;
2707
+ value?: bigint;
2708
+ }): Promise<`0x${string}`>;
2709
+ /**
2710
+ * lzReceiveSimulate
2711
+ * payable
2712
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2713
+ */
2714
+ lzReceiveSimulate(_origin: Origin, _guid: `0x${string}`, _message: `0x${string}`, _executor: `0x${string}`, _extraData: `0x${string}`, options?: {
2715
+ accessList?: import('viem').AccessList;
2716
+ authorizationList?: import('viem').AuthorizationList;
2717
+ chain?: import('viem').Chain | null;
2718
+ dataSuffix?: `0x${string}`;
2719
+ gas?: bigint;
2720
+ gasPrice?: bigint;
2721
+ maxFeePerGas?: bigint;
2722
+ maxPriorityFeePerGas?: bigint;
2723
+ nonce?: number;
2724
+ value?: bigint;
2725
+ }): Promise<`0x${string}`>;
2726
+ /**
2727
+ * mint
2728
+ * nonpayable
2729
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2730
+ */
2731
+ mint(_whitelister: `0x${string}`, _to: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _expiresAt: bigint, _attestation: `0x${string}`, options?: {
2732
+ accessList?: import('viem').AccessList;
2733
+ authorizationList?: import('viem').AuthorizationList;
2734
+ chain?: import('viem').Chain | null;
2735
+ dataSuffix?: `0x${string}`;
2736
+ gas?: bigint;
2737
+ gasPrice?: bigint;
2738
+ maxFeePerGas?: bigint;
2739
+ maxPriorityFeePerGas?: bigint;
2740
+ nonce?: number;
2741
+ value?: bigint;
2742
+ }): Promise<`0x${string}`>;
2743
+ /**
2744
+ * pause
2745
+ * nonpayable
2746
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2747
+ */
2748
+ pause(options?: {
2749
+ accessList?: import('viem').AccessList;
2750
+ authorizationList?: import('viem').AuthorizationList;
2751
+ chain?: import('viem').Chain | null;
2752
+ dataSuffix?: `0x${string}`;
2753
+ gas?: bigint;
2754
+ gasPrice?: bigint;
2755
+ maxFeePerGas?: bigint;
2756
+ maxPriorityFeePerGas?: bigint;
2757
+ nonce?: number;
2758
+ value?: bigint;
2759
+ }): Promise<`0x${string}`>;
2760
+ /**
2761
+ * permissionedBurn
2762
+ * nonpayable
2763
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2764
+ */
2765
+ permissionedBurn(_from: `0x${string}`, _amount: bigint, options?: {
2766
+ accessList?: import('viem').AccessList;
2767
+ authorizationList?: import('viem').AuthorizationList;
2768
+ chain?: import('viem').Chain | null;
2769
+ dataSuffix?: `0x${string}`;
2770
+ gas?: bigint;
2771
+ gasPrice?: bigint;
2772
+ maxFeePerGas?: bigint;
2773
+ maxPriorityFeePerGas?: bigint;
2774
+ nonce?: number;
2775
+ value?: bigint;
2776
+ }): Promise<`0x${string}`>;
2777
+ /**
2778
+ * permissionedMint
2779
+ * nonpayable
2780
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2781
+ */
2782
+ permissionedMint(_whitelister: `0x${string}`, _to: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _attestation: `0x${string}`, options?: {
2783
+ accessList?: import('viem').AccessList;
2784
+ authorizationList?: import('viem').AuthorizationList;
2785
+ chain?: import('viem').Chain | null;
2786
+ dataSuffix?: `0x${string}`;
2787
+ gas?: bigint;
2788
+ gasPrice?: bigint;
2789
+ maxFeePerGas?: bigint;
2790
+ maxPriorityFeePerGas?: bigint;
2791
+ nonce?: number;
2792
+ value?: bigint;
2793
+ }): Promise<`0x${string}`>;
2794
+ /**
2795
+ * permit
2796
+ * nonpayable
2797
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2798
+ */
2799
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
2800
+ accessList?: import('viem').AccessList;
2801
+ authorizationList?: import('viem').AuthorizationList;
2802
+ chain?: import('viem').Chain | null;
2803
+ dataSuffix?: `0x${string}`;
2804
+ gas?: bigint;
2805
+ gasPrice?: bigint;
2806
+ maxFeePerGas?: bigint;
2807
+ maxPriorityFeePerGas?: bigint;
2808
+ nonce?: number;
2809
+ value?: bigint;
2810
+ }): Promise<`0x${string}`>;
2811
+ /**
2812
+ * renounceOwnership
2813
+ * nonpayable
2814
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2815
+ */
2816
+ renounceOwnership(options?: {
2817
+ accessList?: import('viem').AccessList;
2818
+ authorizationList?: import('viem').AuthorizationList;
2819
+ chain?: import('viem').Chain | null;
2820
+ dataSuffix?: `0x${string}`;
2821
+ gas?: bigint;
2822
+ gasPrice?: bigint;
2823
+ maxFeePerGas?: bigint;
2824
+ maxPriorityFeePerGas?: bigint;
2825
+ nonce?: number;
2826
+ value?: bigint;
2827
+ }): Promise<`0x${string}`>;
2828
+ /**
2829
+ * renounceRole
2830
+ * nonpayable
2831
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2832
+ */
2833
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2834
+ accessList?: import('viem').AccessList;
2835
+ authorizationList?: import('viem').AuthorizationList;
2836
+ chain?: import('viem').Chain | null;
2837
+ dataSuffix?: `0x${string}`;
2838
+ gas?: bigint;
2839
+ gasPrice?: bigint;
2840
+ maxFeePerGas?: bigint;
2841
+ maxPriorityFeePerGas?: bigint;
2842
+ nonce?: number;
2843
+ value?: bigint;
2844
+ }): Promise<`0x${string}`>;
2845
+ /**
2846
+ * revokeRole
2847
+ * nonpayable
2848
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2849
+ */
2850
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
2851
+ accessList?: import('viem').AccessList;
2852
+ authorizationList?: import('viem').AuthorizationList;
2853
+ chain?: import('viem').Chain | null;
2854
+ dataSuffix?: `0x${string}`;
2855
+ gas?: bigint;
2856
+ gasPrice?: bigint;
2857
+ maxFeePerGas?: bigint;
2858
+ maxPriorityFeePerGas?: bigint;
2859
+ nonce?: number;
2860
+ value?: bigint;
2861
+ }): Promise<`0x${string}`>;
2862
+ /**
2863
+ * send
2864
+ * payable
2865
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2866
+ */
2867
+ send(_sendParam: SendParam, _fee: MessagingFee, _refundAddress: `0x${string}`, options?: {
2868
+ accessList?: import('viem').AccessList;
2869
+ authorizationList?: import('viem').AuthorizationList;
2870
+ chain?: import('viem').Chain | null;
2871
+ dataSuffix?: `0x${string}`;
2872
+ gas?: bigint;
2873
+ gasPrice?: bigint;
2874
+ maxFeePerGas?: bigint;
2875
+ maxPriorityFeePerGas?: bigint;
2876
+ nonce?: number;
2877
+ value?: bigint;
2878
+ }): Promise<`0x${string}`>;
2879
+ /**
2880
+ * setAuthorizedWhitelisterRateLimit
2881
+ * nonpayable
2882
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2883
+ */
2884
+ setAuthorizedWhitelisterRateLimit(_whitelister: `0x${string}`, _limit: bigint, options?: {
2885
+ accessList?: import('viem').AccessList;
2886
+ authorizationList?: import('viem').AuthorizationList;
2887
+ chain?: import('viem').Chain | null;
2888
+ dataSuffix?: `0x${string}`;
2889
+ gas?: bigint;
2890
+ gasPrice?: bigint;
2891
+ maxFeePerGas?: bigint;
2892
+ maxPriorityFeePerGas?: bigint;
2893
+ nonce?: number;
2894
+ value?: bigint;
2895
+ }): Promise<`0x${string}`>;
2896
+ /**
2897
+ * setDelegate
2898
+ * nonpayable
2899
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2900
+ */
2901
+ setDelegate(_delegate: `0x${string}`, options?: {
2902
+ accessList?: import('viem').AccessList;
2903
+ authorizationList?: import('viem').AuthorizationList;
2904
+ chain?: import('viem').Chain | null;
2905
+ dataSuffix?: `0x${string}`;
2906
+ gas?: bigint;
2907
+ gasPrice?: bigint;
2908
+ maxFeePerGas?: bigint;
2909
+ maxPriorityFeePerGas?: bigint;
2910
+ nonce?: number;
2911
+ value?: bigint;
2912
+ }): Promise<`0x${string}`>;
2913
+ /**
2914
+ * setEnforcedOptions
2915
+ * nonpayable
2916
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2917
+ */
2918
+ setEnforcedOptions(_enforcedOptions: EnforcedOptionParam[], options?: {
2919
+ accessList?: import('viem').AccessList;
2920
+ authorizationList?: import('viem').AuthorizationList;
2921
+ chain?: import('viem').Chain | null;
2922
+ dataSuffix?: `0x${string}`;
2923
+ gas?: bigint;
2924
+ gasPrice?: bigint;
2925
+ maxFeePerGas?: bigint;
2926
+ maxPriorityFeePerGas?: bigint;
2927
+ nonce?: number;
2928
+ value?: bigint;
2929
+ }): Promise<`0x${string}`>;
2930
+ /**
2931
+ * setLimitConfigs
2932
+ * nonpayable
2933
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2934
+ */
2935
+ setLimitConfigs(_globalRateLimit: bigint, _whitelisterLimit: bigint, _minMintAmount: bigint, _maxMintAmount: bigint, options?: {
2936
+ accessList?: import('viem').AccessList;
2937
+ authorizationList?: import('viem').AuthorizationList;
2938
+ chain?: import('viem').Chain | null;
2939
+ dataSuffix?: `0x${string}`;
2940
+ gas?: bigint;
2941
+ gasPrice?: bigint;
2942
+ maxFeePerGas?: bigint;
2943
+ maxPriorityFeePerGas?: bigint;
2944
+ nonce?: number;
2945
+ value?: bigint;
2946
+ }): Promise<`0x${string}`>;
2947
+ /**
2948
+ * setMsgInspector
2949
+ * nonpayable
2950
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2951
+ */
2952
+ setMsgInspector(_msgInspector: `0x${string}`, options?: {
2953
+ accessList?: import('viem').AccessList;
2954
+ authorizationList?: import('viem').AuthorizationList;
2955
+ chain?: import('viem').Chain | null;
2956
+ dataSuffix?: `0x${string}`;
2957
+ gas?: bigint;
2958
+ gasPrice?: bigint;
2959
+ maxFeePerGas?: bigint;
2960
+ maxPriorityFeePerGas?: bigint;
2961
+ nonce?: number;
2962
+ value?: bigint;
2963
+ }): Promise<`0x${string}`>;
2964
+ /**
2965
+ * setPeer
2966
+ * nonpayable
2967
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2968
+ */
2969
+ setPeer(_eid: bigint, _peer: `0x${string}`, options?: {
2970
+ accessList?: import('viem').AccessList;
2971
+ authorizationList?: import('viem').AuthorizationList;
2972
+ chain?: import('viem').Chain | null;
2973
+ dataSuffix?: `0x${string}`;
2974
+ gas?: bigint;
2975
+ gasPrice?: bigint;
2976
+ maxFeePerGas?: bigint;
2977
+ maxPriorityFeePerGas?: bigint;
2978
+ nonce?: number;
2979
+ value?: bigint;
2980
+ }): Promise<`0x${string}`>;
2981
+ /**
2982
+ * setPreCrime
2983
+ * nonpayable
2984
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2985
+ */
2986
+ setPreCrime(_preCrime: `0x${string}`, options?: {
2987
+ accessList?: import('viem').AccessList;
2988
+ authorizationList?: import('viem').AuthorizationList;
2989
+ chain?: import('viem').Chain | null;
2990
+ dataSuffix?: `0x${string}`;
2991
+ gas?: bigint;
2992
+ gasPrice?: bigint;
2993
+ maxFeePerGas?: bigint;
2994
+ maxPriorityFeePerGas?: bigint;
2995
+ nonce?: number;
2996
+ value?: bigint;
2997
+ }): Promise<`0x${string}`>;
2998
+ /**
2999
+ * transfer
3000
+ * nonpayable
3001
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3002
+ */
3003
+ transfer(to: `0x${string}`, value: bigint, options?: {
3004
+ accessList?: import('viem').AccessList;
3005
+ authorizationList?: import('viem').AuthorizationList;
3006
+ chain?: import('viem').Chain | null;
3007
+ dataSuffix?: `0x${string}`;
3008
+ gas?: bigint;
3009
+ gasPrice?: bigint;
3010
+ maxFeePerGas?: bigint;
3011
+ maxPriorityFeePerGas?: bigint;
3012
+ nonce?: number;
3013
+ value?: bigint;
3014
+ }): Promise<`0x${string}`>;
3015
+ /**
3016
+ * transferFrom
3017
+ * nonpayable
3018
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3019
+ */
3020
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
3021
+ accessList?: import('viem').AccessList;
3022
+ authorizationList?: import('viem').AuthorizationList;
3023
+ chain?: import('viem').Chain | null;
3024
+ dataSuffix?: `0x${string}`;
3025
+ gas?: bigint;
3026
+ gasPrice?: bigint;
3027
+ maxFeePerGas?: bigint;
3028
+ maxPriorityFeePerGas?: bigint;
3029
+ nonce?: number;
3030
+ value?: bigint;
3031
+ }): Promise<`0x${string}`>;
3032
+ /**
3033
+ * transferOwnership
3034
+ * nonpayable
3035
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3036
+ */
3037
+ transferOwnership(newOwner: `0x${string}`, options?: {
3038
+ accessList?: import('viem').AccessList;
3039
+ authorizationList?: import('viem').AuthorizationList;
3040
+ chain?: import('viem').Chain | null;
3041
+ dataSuffix?: `0x${string}`;
3042
+ gas?: bigint;
3043
+ gasPrice?: bigint;
3044
+ maxFeePerGas?: bigint;
3045
+ maxPriorityFeePerGas?: bigint;
3046
+ nonce?: number;
3047
+ value?: bigint;
3048
+ }): Promise<`0x${string}`>;
3049
+ /**
3050
+ * unfreeze
3051
+ * nonpayable
3052
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3053
+ */
3054
+ unfreeze(_address: `0x${string}`, options?: {
3055
+ accessList?: import('viem').AccessList;
3056
+ authorizationList?: import('viem').AuthorizationList;
3057
+ chain?: import('viem').Chain | null;
3058
+ dataSuffix?: `0x${string}`;
3059
+ gas?: bigint;
3060
+ gasPrice?: bigint;
3061
+ maxFeePerGas?: bigint;
3062
+ maxPriorityFeePerGas?: bigint;
3063
+ nonce?: number;
3064
+ value?: bigint;
3065
+ }): Promise<`0x${string}`>;
3066
+ /**
3067
+ * unpause
3068
+ * nonpayable
3069
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3070
+ */
3071
+ unpause(options?: {
3072
+ accessList?: import('viem').AccessList;
3073
+ authorizationList?: import('viem').AuthorizationList;
3074
+ chain?: import('viem').Chain | null;
3075
+ dataSuffix?: `0x${string}`;
3076
+ gas?: bigint;
3077
+ gasPrice?: bigint;
3078
+ maxFeePerGas?: bigint;
3079
+ maxPriorityFeePerGas?: bigint;
3080
+ nonce?: number;
3081
+ value?: bigint;
3082
+ }): Promise<`0x${string}`>;
3083
+ /**
3084
+ * upgradeToAndCall
3085
+ * payable
3086
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3087
+ */
3088
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
3089
+ accessList?: import('viem').AccessList;
3090
+ authorizationList?: import('viem').AuthorizationList;
3091
+ chain?: import('viem').Chain | null;
3092
+ dataSuffix?: `0x${string}`;
3093
+ gas?: bigint;
3094
+ gasPrice?: bigint;
3095
+ maxFeePerGas?: bigint;
3096
+ maxPriorityFeePerGas?: bigint;
3097
+ nonce?: number;
3098
+ value?: bigint;
3099
+ }): Promise<`0x${string}`>;
3100
+ /**
3101
+ * Simulate contract write operations (dry-run without sending transaction)
3102
+ *
3103
+ * @example
3104
+ * const result = await contract.simulate.transfer('0x...', 1000n);
3105
+ * console.log('Gas estimate:', result.request.gas);
3106
+ * console.log('Would succeed:', result.result);
3107
+ */
3108
+ get simulate(): {
3109
+ /**
3110
+ * Simulate approve
3111
+ * Returns gas estimate and result without sending transaction
3112
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3113
+ */
3114
+ approve(spender: `0x${string}`, value: bigint, options?: {
3115
+ accessList?: import("viem").AccessList;
3116
+ authorizationList?: import("viem").AuthorizationList;
3117
+ chain?: import("viem").Chain | null;
3118
+ dataSuffix?: `0x${string}`;
3119
+ gas?: bigint;
3120
+ gasPrice?: bigint;
3121
+ maxFeePerGas?: bigint;
3122
+ maxPriorityFeePerGas?: bigint;
3123
+ nonce?: number;
3124
+ value?: bigint;
3125
+ }): Promise<boolean>;
3126
+ /**
3127
+ * Simulate burn
3128
+ * Returns gas estimate and result without sending transaction
3129
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3130
+ */
3131
+ burn(_whitelister: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _expiresAt: bigint, _attestation: `0x${string}`, options?: {
3132
+ accessList?: import("viem").AccessList;
3133
+ authorizationList?: import("viem").AuthorizationList;
3134
+ chain?: import("viem").Chain | null;
3135
+ dataSuffix?: `0x${string}`;
3136
+ gas?: bigint;
3137
+ gasPrice?: bigint;
3138
+ maxFeePerGas?: bigint;
3139
+ maxPriorityFeePerGas?: bigint;
3140
+ nonce?: number;
3141
+ value?: bigint;
3142
+ }): Promise<void>;
3143
+ /**
3144
+ * Simulate cancelReferenceId
3145
+ * Returns gas estimate and result without sending transaction
3146
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3147
+ */
3148
+ cancelReferenceId(_referenceId: `0x${string}`, options?: {
3149
+ accessList?: import("viem").AccessList;
3150
+ authorizationList?: import("viem").AuthorizationList;
3151
+ chain?: import("viem").Chain | null;
3152
+ dataSuffix?: `0x${string}`;
3153
+ gas?: bigint;
3154
+ gasPrice?: bigint;
3155
+ maxFeePerGas?: bigint;
3156
+ maxPriorityFeePerGas?: bigint;
3157
+ nonce?: number;
3158
+ value?: bigint;
3159
+ }): Promise<void>;
3160
+ /**
3161
+ * Simulate freeze
3162
+ * Returns gas estimate and result without sending transaction
3163
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3164
+ */
3165
+ freeze(_address: `0x${string}`, options?: {
3166
+ accessList?: import("viem").AccessList;
3167
+ authorizationList?: import("viem").AuthorizationList;
3168
+ chain?: import("viem").Chain | null;
3169
+ dataSuffix?: `0x${string}`;
3170
+ gas?: bigint;
3171
+ gasPrice?: bigint;
3172
+ maxFeePerGas?: bigint;
3173
+ maxPriorityFeePerGas?: bigint;
3174
+ nonce?: number;
3175
+ value?: bigint;
3176
+ }): Promise<void>;
3177
+ /**
3178
+ * Simulate grantRole
3179
+ * Returns gas estimate and result without sending transaction
3180
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3181
+ */
3182
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
3183
+ accessList?: import("viem").AccessList;
3184
+ authorizationList?: import("viem").AuthorizationList;
3185
+ chain?: import("viem").Chain | null;
3186
+ dataSuffix?: `0x${string}`;
3187
+ gas?: bigint;
3188
+ gasPrice?: bigint;
3189
+ maxFeePerGas?: bigint;
3190
+ maxPriorityFeePerGas?: bigint;
3191
+ nonce?: number;
3192
+ value?: bigint;
3193
+ }): Promise<void>;
3194
+ /**
3195
+ * Simulate initialize
3196
+ * Returns gas estimate and result without sending transaction
3197
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3198
+ */
3199
+ initialize(_name: string, _symbol: string, _owner: `0x${string}`, _minter: `0x${string}`, _attester: `0x${string}`, options?: {
3200
+ accessList?: import("viem").AccessList;
3201
+ authorizationList?: import("viem").AuthorizationList;
3202
+ chain?: import("viem").Chain | null;
3203
+ dataSuffix?: `0x${string}`;
3204
+ gas?: bigint;
3205
+ gasPrice?: bigint;
3206
+ maxFeePerGas?: bigint;
3207
+ maxPriorityFeePerGas?: bigint;
3208
+ nonce?: number;
3209
+ value?: bigint;
3210
+ }): Promise<void>;
3211
+ /**
3212
+ * Simulate lzReceive
3213
+ * Returns gas estimate and result without sending transaction
3214
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3215
+ */
3216
+ lzReceive(_origin: Origin, _guid: `0x${string}`, _message: `0x${string}`, _executor: `0x${string}`, _extraData: `0x${string}`, options?: {
3217
+ accessList?: import("viem").AccessList;
3218
+ authorizationList?: import("viem").AuthorizationList;
3219
+ chain?: import("viem").Chain | null;
3220
+ dataSuffix?: `0x${string}`;
3221
+ gas?: bigint;
3222
+ gasPrice?: bigint;
3223
+ maxFeePerGas?: bigint;
3224
+ maxPriorityFeePerGas?: bigint;
3225
+ nonce?: number;
3226
+ value?: bigint;
3227
+ }): Promise<void>;
3228
+ /**
3229
+ * Simulate lzReceiveAndRevert
3230
+ * Returns gas estimate and result without sending transaction
3231
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3232
+ */
3233
+ lzReceiveAndRevert(_packets: InboundPacket[], options?: {
3234
+ accessList?: import("viem").AccessList;
3235
+ authorizationList?: import("viem").AuthorizationList;
3236
+ chain?: import("viem").Chain | null;
3237
+ dataSuffix?: `0x${string}`;
3238
+ gas?: bigint;
3239
+ gasPrice?: bigint;
3240
+ maxFeePerGas?: bigint;
3241
+ maxPriorityFeePerGas?: bigint;
3242
+ nonce?: number;
3243
+ value?: bigint;
3244
+ }): Promise<void>;
3245
+ /**
3246
+ * Simulate lzReceiveSimulate
3247
+ * Returns gas estimate and result without sending transaction
3248
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3249
+ */
3250
+ lzReceiveSimulate(_origin: Origin, _guid: `0x${string}`, _message: `0x${string}`, _executor: `0x${string}`, _extraData: `0x${string}`, options?: {
3251
+ accessList?: import("viem").AccessList;
3252
+ authorizationList?: import("viem").AuthorizationList;
3253
+ chain?: import("viem").Chain | null;
3254
+ dataSuffix?: `0x${string}`;
3255
+ gas?: bigint;
3256
+ gasPrice?: bigint;
3257
+ maxFeePerGas?: bigint;
3258
+ maxPriorityFeePerGas?: bigint;
3259
+ nonce?: number;
3260
+ value?: bigint;
3261
+ }): Promise<void>;
3262
+ /**
3263
+ * Simulate mint
3264
+ * Returns gas estimate and result without sending transaction
3265
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3266
+ */
3267
+ mint(_whitelister: `0x${string}`, _to: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _expiresAt: bigint, _attestation: `0x${string}`, options?: {
3268
+ accessList?: import("viem").AccessList;
3269
+ authorizationList?: import("viem").AuthorizationList;
3270
+ chain?: import("viem").Chain | null;
3271
+ dataSuffix?: `0x${string}`;
3272
+ gas?: bigint;
3273
+ gasPrice?: bigint;
3274
+ maxFeePerGas?: bigint;
3275
+ maxPriorityFeePerGas?: bigint;
3276
+ nonce?: number;
3277
+ value?: bigint;
3278
+ }): Promise<void>;
3279
+ /**
3280
+ * Simulate pause
3281
+ * Returns gas estimate and result without sending transaction
3282
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3283
+ */
3284
+ pause(options?: {
3285
+ accessList?: import("viem").AccessList;
3286
+ authorizationList?: import("viem").AuthorizationList;
3287
+ chain?: import("viem").Chain | null;
3288
+ dataSuffix?: `0x${string}`;
3289
+ gas?: bigint;
3290
+ gasPrice?: bigint;
3291
+ maxFeePerGas?: bigint;
3292
+ maxPriorityFeePerGas?: bigint;
3293
+ nonce?: number;
3294
+ value?: bigint;
3295
+ }): Promise<void>;
3296
+ /**
3297
+ * Simulate permissionedBurn
3298
+ * Returns gas estimate and result without sending transaction
3299
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3300
+ */
3301
+ permissionedBurn(_from: `0x${string}`, _amount: bigint, options?: {
3302
+ accessList?: import("viem").AccessList;
3303
+ authorizationList?: import("viem").AuthorizationList;
3304
+ chain?: import("viem").Chain | null;
3305
+ dataSuffix?: `0x${string}`;
3306
+ gas?: bigint;
3307
+ gasPrice?: bigint;
3308
+ maxFeePerGas?: bigint;
3309
+ maxPriorityFeePerGas?: bigint;
3310
+ nonce?: number;
3311
+ value?: bigint;
3312
+ }): Promise<void>;
3313
+ /**
3314
+ * Simulate permissionedMint
3315
+ * Returns gas estimate and result without sending transaction
3316
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3317
+ */
3318
+ permissionedMint(_whitelister: `0x${string}`, _to: `0x${string}`, _amount: bigint, _referenceId: `0x${string}`, _attestation: `0x${string}`, options?: {
3319
+ accessList?: import("viem").AccessList;
3320
+ authorizationList?: import("viem").AuthorizationList;
3321
+ chain?: import("viem").Chain | null;
3322
+ dataSuffix?: `0x${string}`;
3323
+ gas?: bigint;
3324
+ gasPrice?: bigint;
3325
+ maxFeePerGas?: bigint;
3326
+ maxPriorityFeePerGas?: bigint;
3327
+ nonce?: number;
3328
+ value?: bigint;
3329
+ }): Promise<void>;
3330
+ /**
3331
+ * Simulate permit
3332
+ * Returns gas estimate and result without sending transaction
3333
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3334
+ */
3335
+ permit(owner: `0x${string}`, spender: `0x${string}`, value: bigint, deadline: bigint, v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
3336
+ accessList?: import("viem").AccessList;
3337
+ authorizationList?: import("viem").AuthorizationList;
3338
+ chain?: import("viem").Chain | null;
3339
+ dataSuffix?: `0x${string}`;
3340
+ gas?: bigint;
3341
+ gasPrice?: bigint;
3342
+ maxFeePerGas?: bigint;
3343
+ maxPriorityFeePerGas?: bigint;
3344
+ nonce?: number;
3345
+ value?: bigint;
3346
+ }): Promise<void>;
3347
+ /**
3348
+ * Simulate renounceOwnership
3349
+ * Returns gas estimate and result without sending transaction
3350
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3351
+ */
3352
+ renounceOwnership(options?: {
3353
+ accessList?: import("viem").AccessList;
3354
+ authorizationList?: import("viem").AuthorizationList;
3355
+ chain?: import("viem").Chain | null;
3356
+ dataSuffix?: `0x${string}`;
3357
+ gas?: bigint;
3358
+ gasPrice?: bigint;
3359
+ maxFeePerGas?: bigint;
3360
+ maxPriorityFeePerGas?: bigint;
3361
+ nonce?: number;
3362
+ value?: bigint;
3363
+ }): Promise<void>;
3364
+ /**
3365
+ * Simulate renounceRole
3366
+ * Returns gas estimate and result without sending transaction
3367
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3368
+ */
3369
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
3370
+ accessList?: import("viem").AccessList;
3371
+ authorizationList?: import("viem").AuthorizationList;
3372
+ chain?: import("viem").Chain | null;
3373
+ dataSuffix?: `0x${string}`;
3374
+ gas?: bigint;
3375
+ gasPrice?: bigint;
3376
+ maxFeePerGas?: bigint;
3377
+ maxPriorityFeePerGas?: bigint;
3378
+ nonce?: number;
3379
+ value?: bigint;
3380
+ }): Promise<void>;
3381
+ /**
3382
+ * Simulate revokeRole
3383
+ * Returns gas estimate and result without sending transaction
3384
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3385
+ */
3386
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
3387
+ accessList?: import("viem").AccessList;
3388
+ authorizationList?: import("viem").AuthorizationList;
3389
+ chain?: import("viem").Chain | null;
3390
+ dataSuffix?: `0x${string}`;
3391
+ gas?: bigint;
3392
+ gasPrice?: bigint;
3393
+ maxFeePerGas?: bigint;
3394
+ maxPriorityFeePerGas?: bigint;
3395
+ nonce?: number;
3396
+ value?: bigint;
3397
+ }): Promise<void>;
3398
+ /**
3399
+ * Simulate send
3400
+ * Returns gas estimate and result without sending transaction
3401
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3402
+ */
3403
+ send(_sendParam: SendParam, _fee: MessagingFee, _refundAddress: `0x${string}`, options?: {
3404
+ accessList?: import("viem").AccessList;
3405
+ authorizationList?: import("viem").AuthorizationList;
3406
+ chain?: import("viem").Chain | null;
3407
+ dataSuffix?: `0x${string}`;
3408
+ gas?: bigint;
3409
+ gasPrice?: bigint;
3410
+ maxFeePerGas?: bigint;
3411
+ maxPriorityFeePerGas?: bigint;
3412
+ nonce?: number;
3413
+ value?: bigint;
3414
+ }): Promise<[MessagingReceipt, OFTReceipt]>;
3415
+ /**
3416
+ * Simulate setAuthorizedWhitelisterRateLimit
3417
+ * Returns gas estimate and result without sending transaction
3418
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3419
+ */
3420
+ setAuthorizedWhitelisterRateLimit(_whitelister: `0x${string}`, _limit: bigint, options?: {
3421
+ accessList?: import("viem").AccessList;
3422
+ authorizationList?: import("viem").AuthorizationList;
3423
+ chain?: import("viem").Chain | null;
3424
+ dataSuffix?: `0x${string}`;
3425
+ gas?: bigint;
3426
+ gasPrice?: bigint;
3427
+ maxFeePerGas?: bigint;
3428
+ maxPriorityFeePerGas?: bigint;
3429
+ nonce?: number;
3430
+ value?: bigint;
3431
+ }): Promise<void>;
3432
+ /**
3433
+ * Simulate setDelegate
3434
+ * Returns gas estimate and result without sending transaction
3435
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3436
+ */
3437
+ setDelegate(_delegate: `0x${string}`, options?: {
3438
+ accessList?: import("viem").AccessList;
3439
+ authorizationList?: import("viem").AuthorizationList;
3440
+ chain?: import("viem").Chain | null;
3441
+ dataSuffix?: `0x${string}`;
3442
+ gas?: bigint;
3443
+ gasPrice?: bigint;
3444
+ maxFeePerGas?: bigint;
3445
+ maxPriorityFeePerGas?: bigint;
3446
+ nonce?: number;
3447
+ value?: bigint;
3448
+ }): Promise<void>;
3449
+ /**
3450
+ * Simulate setEnforcedOptions
3451
+ * Returns gas estimate and result without sending transaction
3452
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3453
+ */
3454
+ setEnforcedOptions(_enforcedOptions: EnforcedOptionParam[], options?: {
3455
+ accessList?: import("viem").AccessList;
3456
+ authorizationList?: import("viem").AuthorizationList;
3457
+ chain?: import("viem").Chain | null;
3458
+ dataSuffix?: `0x${string}`;
3459
+ gas?: bigint;
3460
+ gasPrice?: bigint;
3461
+ maxFeePerGas?: bigint;
3462
+ maxPriorityFeePerGas?: bigint;
3463
+ nonce?: number;
3464
+ value?: bigint;
3465
+ }): Promise<void>;
3466
+ /**
3467
+ * Simulate setLimitConfigs
3468
+ * Returns gas estimate and result without sending transaction
3469
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3470
+ */
3471
+ setLimitConfigs(_globalRateLimit: bigint, _whitelisterLimit: bigint, _minMintAmount: bigint, _maxMintAmount: bigint, options?: {
3472
+ accessList?: import("viem").AccessList;
3473
+ authorizationList?: import("viem").AuthorizationList;
3474
+ chain?: import("viem").Chain | null;
3475
+ dataSuffix?: `0x${string}`;
3476
+ gas?: bigint;
3477
+ gasPrice?: bigint;
3478
+ maxFeePerGas?: bigint;
3479
+ maxPriorityFeePerGas?: bigint;
3480
+ nonce?: number;
3481
+ value?: bigint;
3482
+ }): Promise<void>;
3483
+ /**
3484
+ * Simulate setMsgInspector
3485
+ * Returns gas estimate and result without sending transaction
3486
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3487
+ */
3488
+ setMsgInspector(_msgInspector: `0x${string}`, options?: {
3489
+ accessList?: import("viem").AccessList;
3490
+ authorizationList?: import("viem").AuthorizationList;
3491
+ chain?: import("viem").Chain | null;
3492
+ dataSuffix?: `0x${string}`;
3493
+ gas?: bigint;
3494
+ gasPrice?: bigint;
3495
+ maxFeePerGas?: bigint;
3496
+ maxPriorityFeePerGas?: bigint;
3497
+ nonce?: number;
3498
+ value?: bigint;
3499
+ }): Promise<void>;
3500
+ /**
3501
+ * Simulate setPeer
3502
+ * Returns gas estimate and result without sending transaction
3503
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3504
+ */
3505
+ setPeer(_eid: bigint, _peer: `0x${string}`, options?: {
3506
+ accessList?: import("viem").AccessList;
3507
+ authorizationList?: import("viem").AuthorizationList;
3508
+ chain?: import("viem").Chain | null;
3509
+ dataSuffix?: `0x${string}`;
3510
+ gas?: bigint;
3511
+ gasPrice?: bigint;
3512
+ maxFeePerGas?: bigint;
3513
+ maxPriorityFeePerGas?: bigint;
3514
+ nonce?: number;
3515
+ value?: bigint;
3516
+ }): Promise<void>;
3517
+ /**
3518
+ * Simulate setPreCrime
3519
+ * Returns gas estimate and result without sending transaction
3520
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3521
+ */
3522
+ setPreCrime(_preCrime: `0x${string}`, options?: {
3523
+ accessList?: import("viem").AccessList;
3524
+ authorizationList?: import("viem").AuthorizationList;
3525
+ chain?: import("viem").Chain | null;
3526
+ dataSuffix?: `0x${string}`;
3527
+ gas?: bigint;
3528
+ gasPrice?: bigint;
3529
+ maxFeePerGas?: bigint;
3530
+ maxPriorityFeePerGas?: bigint;
3531
+ nonce?: number;
3532
+ value?: bigint;
3533
+ }): Promise<void>;
3534
+ /**
3535
+ * Simulate transfer
3536
+ * Returns gas estimate and result without sending transaction
3537
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3538
+ */
3539
+ transfer(to: `0x${string}`, value: bigint, options?: {
3540
+ accessList?: import("viem").AccessList;
3541
+ authorizationList?: import("viem").AuthorizationList;
3542
+ chain?: import("viem").Chain | null;
3543
+ dataSuffix?: `0x${string}`;
3544
+ gas?: bigint;
3545
+ gasPrice?: bigint;
3546
+ maxFeePerGas?: bigint;
3547
+ maxPriorityFeePerGas?: bigint;
3548
+ nonce?: number;
3549
+ value?: bigint;
3550
+ }): Promise<boolean>;
3551
+ /**
3552
+ * Simulate transferFrom
3553
+ * Returns gas estimate and result without sending transaction
3554
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3555
+ */
3556
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
3557
+ accessList?: import("viem").AccessList;
3558
+ authorizationList?: import("viem").AuthorizationList;
3559
+ chain?: import("viem").Chain | null;
3560
+ dataSuffix?: `0x${string}`;
3561
+ gas?: bigint;
3562
+ gasPrice?: bigint;
3563
+ maxFeePerGas?: bigint;
3564
+ maxPriorityFeePerGas?: bigint;
3565
+ nonce?: number;
3566
+ value?: bigint;
3567
+ }): Promise<boolean>;
3568
+ /**
3569
+ * Simulate transferOwnership
3570
+ * Returns gas estimate and result without sending transaction
3571
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3572
+ */
3573
+ transferOwnership(newOwner: `0x${string}`, options?: {
3574
+ accessList?: import("viem").AccessList;
3575
+ authorizationList?: import("viem").AuthorizationList;
3576
+ chain?: import("viem").Chain | null;
3577
+ dataSuffix?: `0x${string}`;
3578
+ gas?: bigint;
3579
+ gasPrice?: bigint;
3580
+ maxFeePerGas?: bigint;
3581
+ maxPriorityFeePerGas?: bigint;
3582
+ nonce?: number;
3583
+ value?: bigint;
3584
+ }): Promise<void>;
3585
+ /**
3586
+ * Simulate unfreeze
3587
+ * Returns gas estimate and result without sending transaction
3588
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3589
+ */
3590
+ unfreeze(_address: `0x${string}`, options?: {
3591
+ accessList?: import("viem").AccessList;
3592
+ authorizationList?: import("viem").AuthorizationList;
3593
+ chain?: import("viem").Chain | null;
3594
+ dataSuffix?: `0x${string}`;
3595
+ gas?: bigint;
3596
+ gasPrice?: bigint;
3597
+ maxFeePerGas?: bigint;
3598
+ maxPriorityFeePerGas?: bigint;
3599
+ nonce?: number;
3600
+ value?: bigint;
3601
+ }): Promise<void>;
3602
+ /**
3603
+ * Simulate unpause
3604
+ * Returns gas estimate and result without sending transaction
3605
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3606
+ */
3607
+ unpause(options?: {
3608
+ accessList?: import("viem").AccessList;
3609
+ authorizationList?: import("viem").AuthorizationList;
3610
+ chain?: import("viem").Chain | null;
3611
+ dataSuffix?: `0x${string}`;
3612
+ gas?: bigint;
3613
+ gasPrice?: bigint;
3614
+ maxFeePerGas?: bigint;
3615
+ maxPriorityFeePerGas?: bigint;
3616
+ nonce?: number;
3617
+ value?: bigint;
3618
+ }): Promise<void>;
3619
+ /**
3620
+ * Simulate upgradeToAndCall
3621
+ * Returns gas estimate and result without sending transaction
3622
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3623
+ */
3624
+ upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
3625
+ accessList?: import("viem").AccessList;
3626
+ authorizationList?: import("viem").AuthorizationList;
3627
+ chain?: import("viem").Chain | null;
3628
+ dataSuffix?: `0x${string}`;
3629
+ gas?: bigint;
3630
+ gasPrice?: bigint;
3631
+ maxFeePerGas?: bigint;
3632
+ maxPriorityFeePerGas?: bigint;
3633
+ nonce?: number;
3634
+ value?: bigint;
3635
+ }): Promise<void>;
3636
+ };
3637
+ /**
3638
+ * Watch contract events
3639
+ *
3640
+ * @example
3641
+ * // Watch all Transfer events
3642
+ * const unwatch = contract.watch.Transfer((event) => {
3643
+ * console.log('Transfer:', event);
3644
+ * });
3645
+ *
3646
+ * // Stop watching
3647
+ * unwatch();
3648
+ */
3649
+ get watch(): {
3650
+ /**
3651
+ * Watch Approval events
3652
+ * @param callback Function to call when event is emitted
3653
+ * @param filter Optional filter for indexed parameters
3654
+ * @returns Unwatch function to stop listening
3655
+ */
3656
+ Approval: (callback: (event: {
3657
+ owner: `0x${string}`;
3658
+ spender: `0x${string}`;
3659
+ value: bigint;
3660
+ }) => void, filter?: {
3661
+ owner: `0x${string}`;
3662
+ spender: `0x${string}`;
3663
+ }) => () => void;
3664
+ /**
3665
+ * Watch EIP712DomainChanged events
3666
+ * @param callback Function to call when event is emitted
3667
+ * @param filter Optional filter for indexed parameters
3668
+ * @returns Unwatch function to stop listening
3669
+ */
3670
+ EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
3671
+ /**
3672
+ * Watch EnforcedOptionSet events
3673
+ * @param callback Function to call when event is emitted
3674
+ * @param filter Optional filter for indexed parameters
3675
+ * @returns Unwatch function to stop listening
3676
+ */
3677
+ EnforcedOptionSet: (callback: (event: {
3678
+ _enforcedOptions: EnforcedOptionParam[];
3679
+ }) => void) => () => void;
3680
+ /**
3681
+ * Watch Freeze events
3682
+ * @param callback Function to call when event is emitted
3683
+ * @param filter Optional filter for indexed parameters
3684
+ * @returns Unwatch function to stop listening
3685
+ */
3686
+ Freeze: (callback: (event: {
3687
+ _address: `0x${string}`;
3688
+ }) => void, filter?: {
3689
+ _address: `0x${string}`;
3690
+ }) => () => void;
3691
+ /**
3692
+ * Watch Initialized events
3693
+ * @param callback Function to call when event is emitted
3694
+ * @param filter Optional filter for indexed parameters
3695
+ * @returns Unwatch function to stop listening
3696
+ */
3697
+ Initialized: (callback: (event: {
3698
+ version: bigint;
3699
+ }) => void) => () => void;
3700
+ /**
3701
+ * Watch LimitConfigSet events
3702
+ * @param callback Function to call when event is emitted
3703
+ * @param filter Optional filter for indexed parameters
3704
+ * @returns Unwatch function to stop listening
3705
+ */
3706
+ LimitConfigSet: (callback: (event: {
3707
+ _globalRateLimit: bigint;
3708
+ _whitelisterLimit: bigint;
3709
+ _minMintAmount: bigint;
3710
+ _maxMintAmount: bigint;
3711
+ }) => void) => () => void;
3712
+ /**
3713
+ * Watch MsgInspectorSet events
3714
+ * @param callback Function to call when event is emitted
3715
+ * @param filter Optional filter for indexed parameters
3716
+ * @returns Unwatch function to stop listening
3717
+ */
3718
+ MsgInspectorSet: (callback: (event: {
3719
+ inspector: `0x${string}`;
3720
+ }) => void) => () => void;
3721
+ /**
3722
+ * Watch OFTReceived events
3723
+ * @param callback Function to call when event is emitted
3724
+ * @param filter Optional filter for indexed parameters
3725
+ * @returns Unwatch function to stop listening
3726
+ */
3727
+ OFTReceived: (callback: (event: {
3728
+ guid: `0x${string}`;
3729
+ toAddress: `0x${string}`;
3730
+ srcEid: bigint;
3731
+ amountReceivedLD: bigint;
3732
+ }) => void, filter?: {
3733
+ guid: `0x${string}`;
3734
+ toAddress: `0x${string}`;
3735
+ }) => () => void;
3736
+ /**
3737
+ * Watch OFTSent events
3738
+ * @param callback Function to call when event is emitted
3739
+ * @param filter Optional filter for indexed parameters
3740
+ * @returns Unwatch function to stop listening
3741
+ */
3742
+ OFTSent: (callback: (event: {
3743
+ guid: `0x${string}`;
3744
+ fromAddress: `0x${string}`;
3745
+ dstEid: bigint;
3746
+ amountSentLD: bigint;
3747
+ amountReceivedLD: bigint;
3748
+ }) => void, filter?: {
3749
+ guid: `0x${string}`;
3750
+ fromAddress: `0x${string}`;
3751
+ }) => () => void;
3752
+ /**
3753
+ * Watch OwnershipTransferred events
3754
+ * @param callback Function to call when event is emitted
3755
+ * @param filter Optional filter for indexed parameters
3756
+ * @returns Unwatch function to stop listening
3757
+ */
3758
+ OwnershipTransferred: (callback: (event: {
3759
+ previousOwner: `0x${string}`;
3760
+ newOwner: `0x${string}`;
3761
+ }) => void, filter?: {
3762
+ previousOwner: `0x${string}`;
3763
+ newOwner: `0x${string}`;
3764
+ }) => () => void;
3765
+ /**
3766
+ * Watch Paused events
3767
+ * @param callback Function to call when event is emitted
3768
+ * @param filter Optional filter for indexed parameters
3769
+ * @returns Unwatch function to stop listening
3770
+ */
3771
+ Paused: (callback: (event: {
3772
+ account: `0x${string}`;
3773
+ }) => void) => () => void;
3774
+ /**
3775
+ * Watch PeerSet events
3776
+ * @param callback Function to call when event is emitted
3777
+ * @param filter Optional filter for indexed parameters
3778
+ * @returns Unwatch function to stop listening
3779
+ */
3780
+ PeerSet: (callback: (event: {
3781
+ eid: bigint;
3782
+ peer: `0x${string}`;
3783
+ }) => void) => () => void;
3784
+ /**
3785
+ * Watch PreCrimeSet events
3786
+ * @param callback Function to call when event is emitted
3787
+ * @param filter Optional filter for indexed parameters
3788
+ * @returns Unwatch function to stop listening
3789
+ */
3790
+ PreCrimeSet: (callback: (event: {
3791
+ preCrimeAddress: `0x${string}`;
3792
+ }) => void) => () => void;
3793
+ /**
3794
+ * Watch RecipientLimitSet events
3795
+ * @param callback Function to call when event is emitted
3796
+ * @param filter Optional filter for indexed parameters
3797
+ * @returns Unwatch function to stop listening
3798
+ */
3799
+ RecipientLimitSet: (callback: (event: {
3800
+ _recipient: `0x${string}`;
3801
+ _limit: bigint;
3802
+ _permissionChanged: boolean;
3803
+ }) => void, filter?: {
3804
+ _recipient: `0x${string}`;
3805
+ }) => () => void;
3806
+ /**
3807
+ * Watch ReferenceIdConsumed events
3808
+ * @param callback Function to call when event is emitted
3809
+ * @param filter Optional filter for indexed parameters
3810
+ * @returns Unwatch function to stop listening
3811
+ */
3812
+ ReferenceIdConsumed: (callback: (event: {
3813
+ _referenceId: `0x${string}`;
3814
+ }) => void, filter?: {
3815
+ _referenceId: `0x${string}`;
3816
+ }) => () => void;
3817
+ /**
3818
+ * Watch RoleAdminChanged events
3819
+ * @param callback Function to call when event is emitted
3820
+ * @param filter Optional filter for indexed parameters
3821
+ * @returns Unwatch function to stop listening
3822
+ */
3823
+ RoleAdminChanged: (callback: (event: {
3824
+ role: `0x${string}`;
3825
+ previousAdminRole: `0x${string}`;
3826
+ newAdminRole: `0x${string}`;
3827
+ }) => void, filter?: {
3828
+ role: `0x${string}`;
3829
+ previousAdminRole: `0x${string}`;
3830
+ newAdminRole: `0x${string}`;
3831
+ }) => () => void;
3832
+ /**
3833
+ * Watch RoleGranted events
3834
+ * @param callback Function to call when event is emitted
3835
+ * @param filter Optional filter for indexed parameters
3836
+ * @returns Unwatch function to stop listening
3837
+ */
3838
+ RoleGranted: (callback: (event: {
3839
+ role: `0x${string}`;
3840
+ account: `0x${string}`;
3841
+ sender: `0x${string}`;
3842
+ }) => void, filter?: {
3843
+ role: `0x${string}`;
3844
+ account: `0x${string}`;
3845
+ sender: `0x${string}`;
3846
+ }) => () => void;
3847
+ /**
3848
+ * Watch RoleRevoked events
3849
+ * @param callback Function to call when event is emitted
3850
+ * @param filter Optional filter for indexed parameters
3851
+ * @returns Unwatch function to stop listening
3852
+ */
3853
+ RoleRevoked: (callback: (event: {
3854
+ role: `0x${string}`;
3855
+ account: `0x${string}`;
3856
+ sender: `0x${string}`;
3857
+ }) => void, filter?: {
3858
+ role: `0x${string}`;
3859
+ account: `0x${string}`;
3860
+ sender: `0x${string}`;
3861
+ }) => () => void;
3862
+ /**
3863
+ * Watch Transfer events
3864
+ * @param callback Function to call when event is emitted
3865
+ * @param filter Optional filter for indexed parameters
3866
+ * @returns Unwatch function to stop listening
3867
+ */
3868
+ Transfer: (callback: (event: {
3869
+ from: `0x${string}`;
3870
+ to: `0x${string}`;
3871
+ value: bigint;
3872
+ }) => void, filter?: {
3873
+ from: `0x${string}`;
3874
+ to: `0x${string}`;
3875
+ }) => () => void;
3876
+ /**
3877
+ * Watch Unfreeze events
3878
+ * @param callback Function to call when event is emitted
3879
+ * @param filter Optional filter for indexed parameters
3880
+ * @returns Unwatch function to stop listening
3881
+ */
3882
+ Unfreeze: (callback: (event: {
3883
+ _address: `0x${string}`;
3884
+ }) => void, filter?: {
3885
+ _address: `0x${string}`;
3886
+ }) => () => void;
3887
+ /**
3888
+ * Watch Unpaused events
3889
+ * @param callback Function to call when event is emitted
3890
+ * @param filter Optional filter for indexed parameters
3891
+ * @returns Unwatch function to stop listening
3892
+ */
3893
+ Unpaused: (callback: (event: {
3894
+ account: `0x${string}`;
3895
+ }) => void) => () => void;
3896
+ /**
3897
+ * Watch Upgraded events
3898
+ * @param callback Function to call when event is emitted
3899
+ * @param filter Optional filter for indexed parameters
3900
+ * @returns Unwatch function to stop listening
3901
+ */
3902
+ Upgraded: (callback: (event: {
3903
+ implementation: `0x${string}`;
3904
+ }) => void, filter?: {
3905
+ implementation: `0x${string}`;
3906
+ }) => () => void;
3907
+ /**
3908
+ * Watch WhitelisterLimitSet events
3909
+ * @param callback Function to call when event is emitted
3910
+ * @param filter Optional filter for indexed parameters
3911
+ * @returns Unwatch function to stop listening
3912
+ */
3913
+ WhitelisterLimitSet: (callback: (event: {
3914
+ _whitelister: `0x${string}`;
3915
+ _limit: bigint;
3916
+ _permissionChanged: boolean;
3917
+ }) => void, filter?: {
3918
+ _whitelister: `0x${string}`;
3919
+ }) => () => void;
3920
+ };
3921
+ }