@gitmyabi-stg/vbill 0.0.1

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