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