@gitmyabi/ben 1.0.0 → 1.0.1

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