@gitmyabi/brs 1.0.0

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