@gearbox-protocol/sdk 14.5.8 → 14.5.10

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.
@@ -1,45 +1,1932 @@
1
1
  const iDSTokenAbi = [
2
2
  {
3
- type: "function",
3
+ inputs: [],
4
+ stateMutability: "nonpayable",
5
+ type: "constructor"
6
+ },
7
+ {
8
+ inputs: [
9
+ {
10
+ internalType: "address",
11
+ name: "target",
12
+ type: "address"
13
+ }
14
+ ],
15
+ name: "AddressEmptyCode",
16
+ type: "error"
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "ECDSAInvalidSignature",
21
+ type: "error"
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "length",
28
+ type: "uint256"
29
+ }
30
+ ],
31
+ name: "ECDSAInvalidSignatureLength",
32
+ type: "error"
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "bytes32",
38
+ name: "s",
39
+ type: "bytes32"
40
+ }
41
+ ],
42
+ name: "ECDSAInvalidSignatureS",
43
+ type: "error"
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "address",
49
+ name: "implementation",
50
+ type: "address"
51
+ }
52
+ ],
53
+ name: "ERC1967InvalidImplementation",
54
+ type: "error"
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "ERC1967NonPayable",
59
+ type: "error"
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "FailedCall",
64
+ type: "error"
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "address",
70
+ name: "account",
71
+ type: "address"
72
+ },
73
+ {
74
+ internalType: "uint256",
75
+ name: "currentNonce",
76
+ type: "uint256"
77
+ }
78
+ ],
79
+ name: "InvalidAccountNonce",
80
+ type: "error"
81
+ },
82
+ {
83
+ inputs: [],
84
+ name: "InvalidInitialization",
85
+ type: "error"
86
+ },
87
+ {
88
+ inputs: [],
89
+ name: "NotInitializing",
90
+ type: "error"
91
+ },
92
+ {
93
+ inputs: [
94
+ {
95
+ internalType: "address",
96
+ name: "owner",
97
+ type: "address"
98
+ }
99
+ ],
100
+ name: "OwnableInvalidOwner",
101
+ type: "error"
102
+ },
103
+ {
104
+ inputs: [
105
+ {
106
+ internalType: "address",
107
+ name: "account",
108
+ type: "address"
109
+ }
110
+ ],
111
+ name: "OwnableUnauthorizedAccount",
112
+ type: "error"
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "UUPSUnauthorizedCallContext",
117
+ type: "error"
118
+ },
119
+ {
120
+ inputs: [
121
+ {
122
+ internalType: "bytes32",
123
+ name: "slot",
124
+ type: "bytes32"
125
+ }
126
+ ],
127
+ name: "UUPSUnsupportedProxiableUUID",
128
+ type: "error"
129
+ },
130
+ {
131
+ anonymous: false,
132
+ inputs: [
133
+ {
134
+ indexed: true,
135
+ internalType: "address",
136
+ name: "owner",
137
+ type: "address"
138
+ },
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "spender",
143
+ type: "address"
144
+ },
145
+ {
146
+ indexed: false,
147
+ internalType: "uint256",
148
+ name: "value",
149
+ type: "uint256"
150
+ }
151
+ ],
152
+ name: "Approval",
153
+ type: "event"
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ {
159
+ indexed: true,
160
+ internalType: "address",
161
+ name: "burner",
162
+ type: "address"
163
+ },
164
+ {
165
+ indexed: false,
166
+ internalType: "uint256",
167
+ name: "value",
168
+ type: "uint256"
169
+ },
170
+ {
171
+ indexed: false,
172
+ internalType: "string",
173
+ name: "reason",
174
+ type: "string"
175
+ }
176
+ ],
177
+ name: "Burn",
178
+ type: "event"
179
+ },
180
+ {
181
+ anonymous: false,
182
+ inputs: [
183
+ {
184
+ indexed: false,
185
+ internalType: "uint256",
186
+ name: "serviceId",
187
+ type: "uint256"
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: "address",
192
+ name: "serviceAddress",
193
+ type: "address"
194
+ }
195
+ ],
196
+ name: "DSServiceSet",
197
+ type: "event"
198
+ },
199
+ {
200
+ anonymous: false,
201
+ inputs: [],
202
+ name: "EIP712DomainChanged",
203
+ type: "event"
204
+ },
205
+ {
206
+ anonymous: false,
207
+ inputs: [
208
+ {
209
+ indexed: false,
210
+ internalType: "uint64",
211
+ name: "version",
212
+ type: "uint64"
213
+ }
214
+ ],
215
+ name: "Initialized",
216
+ type: "event"
217
+ },
218
+ {
219
+ anonymous: false,
220
+ inputs: [
221
+ {
222
+ indexed: true,
223
+ internalType: "address",
224
+ name: "to",
225
+ type: "address"
226
+ },
227
+ {
228
+ indexed: false,
229
+ internalType: "uint256",
230
+ name: "value",
231
+ type: "uint256"
232
+ },
233
+ {
234
+ indexed: false,
235
+ internalType: "uint256",
236
+ name: "valueLocked",
237
+ type: "uint256"
238
+ }
239
+ ],
240
+ name: "Issue",
241
+ type: "event"
242
+ },
243
+ {
244
+ anonymous: false,
245
+ inputs: [
246
+ {
247
+ indexed: false,
248
+ internalType: "string",
249
+ name: "oldName",
250
+ type: "string"
251
+ },
252
+ {
253
+ indexed: false,
254
+ internalType: "string",
255
+ name: "newName",
256
+ type: "string"
257
+ }
258
+ ],
259
+ name: "NameUpdated",
260
+ type: "event"
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: true,
267
+ internalType: "address",
268
+ name: "omnibusWallet",
269
+ type: "address"
270
+ },
271
+ {
272
+ indexed: false,
273
+ internalType: "address",
274
+ name: "who",
275
+ type: "address"
276
+ },
277
+ {
278
+ indexed: false,
279
+ internalType: "uint256",
280
+ name: "value",
281
+ type: "uint256"
282
+ },
283
+ {
284
+ indexed: false,
285
+ internalType: "string",
286
+ name: "reason",
287
+ type: "string"
288
+ },
289
+ {
290
+ indexed: false,
291
+ internalType: "uint8",
292
+ name: "assetTrackingMode",
293
+ type: "uint8"
294
+ }
295
+ ],
296
+ name: "OmnibusBurn",
297
+ type: "event"
298
+ },
299
+ {
300
+ anonymous: false,
301
+ inputs: [
302
+ {
303
+ indexed: true,
304
+ internalType: "address",
305
+ name: "omnibusWallet",
306
+ type: "address"
307
+ },
308
+ {
309
+ indexed: false,
310
+ internalType: "address",
311
+ name: "to",
312
+ type: "address"
313
+ },
314
+ {
315
+ indexed: false,
316
+ internalType: "uint256",
317
+ name: "value",
318
+ type: "uint256"
319
+ },
320
+ {
321
+ indexed: false,
322
+ internalType: "uint8",
323
+ name: "assetTrackingMode",
324
+ type: "uint8"
325
+ }
326
+ ],
327
+ name: "OmnibusDeposit",
328
+ type: "event"
329
+ },
330
+ {
331
+ anonymous: false,
332
+ inputs: [
333
+ {
334
+ indexed: true,
335
+ internalType: "address",
336
+ name: "omnibusWallet",
337
+ type: "address"
338
+ },
339
+ {
340
+ indexed: false,
341
+ internalType: "address",
342
+ name: "from",
343
+ type: "address"
344
+ },
345
+ {
346
+ indexed: false,
347
+ internalType: "uint256",
348
+ name: "value",
349
+ type: "uint256"
350
+ },
351
+ {
352
+ indexed: false,
353
+ internalType: "string",
354
+ name: "reason",
355
+ type: "string"
356
+ },
357
+ {
358
+ indexed: false,
359
+ internalType: "uint8",
360
+ name: "assetTrackingMode",
361
+ type: "uint8"
362
+ }
363
+ ],
364
+ name: "OmnibusSeize",
365
+ type: "event"
366
+ },
367
+ {
368
+ anonymous: false,
369
+ inputs: [
370
+ {
371
+ indexed: true,
372
+ internalType: "address",
373
+ name: "omnibusWallet",
374
+ type: "address"
375
+ },
376
+ {
377
+ indexed: false,
378
+ internalType: "int256",
379
+ name: "totalDelta",
380
+ type: "int256"
381
+ },
382
+ {
383
+ indexed: false,
384
+ internalType: "int256",
385
+ name: "accreditedDelta",
386
+ type: "int256"
387
+ },
388
+ {
389
+ indexed: false,
390
+ internalType: "int256",
391
+ name: "usAccreditedDelta",
392
+ type: "int256"
393
+ },
394
+ {
395
+ indexed: false,
396
+ internalType: "int256",
397
+ name: "usTotalDelta",
398
+ type: "int256"
399
+ },
400
+ {
401
+ indexed: false,
402
+ internalType: "int256",
403
+ name: "jpTotalDelta",
404
+ type: "int256"
405
+ }
406
+ ],
407
+ name: "OmnibusTBEOperation",
408
+ type: "event"
409
+ },
410
+ {
411
+ anonymous: false,
412
+ inputs: [
413
+ {
414
+ indexed: false,
415
+ internalType: "address",
416
+ name: "omnibusWallet",
417
+ type: "address"
418
+ },
419
+ {
420
+ indexed: false,
421
+ internalType: "string",
422
+ name: "externalId",
423
+ type: "string"
424
+ }
425
+ ],
426
+ name: "OmnibusTBETransfer",
427
+ type: "event"
428
+ },
429
+ {
430
+ anonymous: false,
431
+ inputs: [
432
+ {
433
+ indexed: true,
434
+ internalType: "address",
435
+ name: "omnibusWallet",
436
+ type: "address"
437
+ },
438
+ {
439
+ indexed: false,
440
+ internalType: "address",
441
+ name: "from",
442
+ type: "address"
443
+ },
444
+ {
445
+ indexed: false,
446
+ internalType: "address",
447
+ name: "to",
448
+ type: "address"
449
+ },
450
+ {
451
+ indexed: false,
452
+ internalType: "uint256",
453
+ name: "value",
454
+ type: "uint256"
455
+ },
456
+ {
457
+ indexed: false,
458
+ internalType: "uint8",
459
+ name: "assetTrackingMode",
460
+ type: "uint8"
461
+ }
462
+ ],
463
+ name: "OmnibusTransfer",
464
+ type: "event"
465
+ },
466
+ {
467
+ anonymous: false,
468
+ inputs: [
469
+ {
470
+ indexed: true,
471
+ internalType: "address",
472
+ name: "omnibusWallet",
473
+ type: "address"
474
+ },
475
+ {
476
+ indexed: false,
477
+ internalType: "address",
478
+ name: "from",
479
+ type: "address"
480
+ },
481
+ {
482
+ indexed: false,
483
+ internalType: "uint256",
484
+ name: "value",
485
+ type: "uint256"
486
+ },
487
+ {
488
+ indexed: false,
489
+ internalType: "uint8",
490
+ name: "assetTrackingMode",
491
+ type: "uint8"
492
+ }
493
+ ],
494
+ name: "OmnibusWithdraw",
495
+ type: "event"
496
+ },
497
+ {
498
+ anonymous: false,
499
+ inputs: [
500
+ {
501
+ indexed: true,
502
+ internalType: "address",
503
+ name: "previousOwner",
504
+ type: "address"
505
+ },
506
+ {
507
+ indexed: true,
508
+ internalType: "address",
509
+ name: "newOwner",
510
+ type: "address"
511
+ }
512
+ ],
513
+ name: "OwnershipTransferred",
514
+ type: "event"
515
+ },
516
+ {
517
+ anonymous: false,
518
+ inputs: [],
519
+ name: "Pause",
520
+ type: "event"
521
+ },
522
+ {
523
+ anonymous: false,
524
+ inputs: [
525
+ {
526
+ indexed: true,
527
+ internalType: "address",
528
+ name: "from",
529
+ type: "address"
530
+ },
531
+ {
532
+ indexed: true,
533
+ internalType: "address",
534
+ name: "to",
535
+ type: "address"
536
+ },
537
+ {
538
+ indexed: false,
539
+ internalType: "uint256",
540
+ name: "value",
541
+ type: "uint256"
542
+ },
543
+ {
544
+ indexed: false,
545
+ internalType: "string",
546
+ name: "reason",
547
+ type: "string"
548
+ }
549
+ ],
550
+ name: "Seize",
551
+ type: "event"
552
+ },
553
+ {
554
+ anonymous: false,
555
+ inputs: [
556
+ {
557
+ indexed: false,
558
+ internalType: "string",
559
+ name: "oldSymbol",
560
+ type: "string"
561
+ },
562
+ {
563
+ indexed: false,
564
+ internalType: "string",
565
+ name: "newSymbol",
566
+ type: "string"
567
+ }
568
+ ],
569
+ name: "SymbolUpdated",
570
+ type: "event"
571
+ },
572
+ {
573
+ anonymous: false,
574
+ inputs: [
575
+ {
576
+ indexed: true,
577
+ internalType: "address",
578
+ name: "from",
579
+ type: "address"
580
+ },
581
+ {
582
+ indexed: true,
583
+ internalType: "address",
584
+ name: "to",
585
+ type: "address"
586
+ },
587
+ {
588
+ indexed: false,
589
+ internalType: "uint256",
590
+ name: "value",
591
+ type: "uint256"
592
+ }
593
+ ],
594
+ name: "Transfer",
595
+ type: "event"
596
+ },
597
+ {
598
+ anonymous: false,
599
+ inputs: [
600
+ {
601
+ indexed: true,
602
+ internalType: "address",
603
+ name: "from",
604
+ type: "address"
605
+ },
606
+ {
607
+ indexed: true,
608
+ internalType: "address",
609
+ name: "to",
610
+ type: "address"
611
+ },
612
+ {
613
+ indexed: false,
614
+ internalType: "uint256",
615
+ name: "shares",
616
+ type: "uint256"
617
+ },
618
+ {
619
+ indexed: false,
620
+ internalType: "uint256",
621
+ name: "multiplier",
622
+ type: "uint256"
623
+ }
624
+ ],
625
+ name: "TxShares",
626
+ type: "event"
627
+ },
628
+ {
629
+ anonymous: false,
630
+ inputs: [],
631
+ name: "Unpause",
632
+ type: "event"
633
+ },
634
+ {
635
+ anonymous: false,
636
+ inputs: [
637
+ {
638
+ indexed: true,
639
+ internalType: "address",
640
+ name: "implementation",
641
+ type: "address"
642
+ }
643
+ ],
644
+ name: "Upgraded",
645
+ type: "event"
646
+ },
647
+ {
648
+ anonymous: false,
649
+ inputs: [
650
+ {
651
+ indexed: false,
652
+ internalType: "address",
653
+ name: "wallet",
654
+ type: "address"
655
+ }
656
+ ],
657
+ name: "WalletAdded",
658
+ type: "event"
659
+ },
660
+ {
661
+ anonymous: false,
662
+ inputs: [
663
+ {
664
+ indexed: false,
665
+ internalType: "address",
666
+ name: "wallet",
667
+ type: "address"
668
+ }
669
+ ],
670
+ name: "WalletRemoved",
671
+ type: "event"
672
+ },
673
+ {
674
+ inputs: [],
675
+ name: "BLACKLIST_MANAGER",
676
+ outputs: [
677
+ {
678
+ internalType: "uint256",
679
+ name: "",
680
+ type: "uint256"
681
+ }
682
+ ],
683
+ stateMutability: "view",
684
+ type: "function"
685
+ },
686
+ {
687
+ inputs: [],
688
+ name: "COMPLIANCE_CONFIGURATION_SERVICE",
689
+ outputs: [
690
+ {
691
+ internalType: "uint256",
692
+ name: "",
693
+ type: "uint256"
694
+ }
695
+ ],
696
+ stateMutability: "view",
697
+ type: "function"
698
+ },
699
+ {
700
+ inputs: [],
701
+ name: "COMPLIANCE_SERVICE",
702
+ outputs: [
703
+ {
704
+ internalType: "uint256",
705
+ name: "",
706
+ type: "uint256"
707
+ }
708
+ ],
709
+ stateMutability: "view",
710
+ type: "function"
711
+ },
712
+ {
713
+ inputs: [],
714
+ name: "DEPRECATED_CAP",
715
+ outputs: [
716
+ {
717
+ internalType: "uint256",
718
+ name: "",
719
+ type: "uint256"
720
+ }
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function"
724
+ },
725
+ {
726
+ inputs: [],
727
+ name: "DEPRECATED_ISSUER_MULTICALL",
728
+ outputs: [
729
+ {
730
+ internalType: "uint256",
731
+ name: "",
732
+ type: "uint256"
733
+ }
734
+ ],
735
+ stateMutability: "view",
736
+ type: "function"
737
+ },
738
+ {
739
+ inputs: [],
740
+ name: "DEPRECATED_OMNIBUS_TBE_CONTROLLER",
741
+ outputs: [
742
+ {
743
+ internalType: "uint256",
744
+ name: "",
745
+ type: "uint256"
746
+ }
747
+ ],
748
+ stateMutability: "view",
749
+ type: "function"
750
+ },
751
+ {
752
+ inputs: [],
753
+ name: "DEPRECATED_PARTITIONS_MANAGER",
754
+ outputs: [
755
+ {
756
+ internalType: "uint256",
757
+ name: "",
758
+ type: "uint256"
759
+ }
760
+ ],
761
+ stateMutability: "view",
762
+ type: "function"
763
+ },
764
+ {
765
+ inputs: [],
766
+ name: "DEPRECATED_SECURITIZE_SWAP",
767
+ outputs: [
768
+ {
769
+ internalType: "uint256",
770
+ name: "",
771
+ type: "uint256"
772
+ }
773
+ ],
774
+ stateMutability: "view",
775
+ type: "function"
776
+ },
777
+ {
778
+ inputs: [],
779
+ name: "DEPRECATED_TA_MULTICALL",
780
+ outputs: [
781
+ {
782
+ internalType: "uint256",
783
+ name: "",
784
+ type: "uint256"
785
+ }
786
+ ],
787
+ stateMutability: "view",
788
+ type: "function"
789
+ },
790
+ {
791
+ inputs: [],
792
+ name: "DEPRECATED_TOKEN_REALLOCATOR",
793
+ outputs: [
794
+ {
795
+ internalType: "uint256",
796
+ name: "",
797
+ type: "uint256"
798
+ }
799
+ ],
800
+ stateMutability: "view",
801
+ type: "function"
802
+ },
803
+ {
804
+ inputs: [],
805
+ name: "DOMAIN_SEPARATOR",
806
+ outputs: [
807
+ {
808
+ internalType: "bytes32",
809
+ name: "",
810
+ type: "bytes32"
811
+ }
812
+ ],
813
+ stateMutability: "view",
814
+ type: "function"
815
+ },
816
+ {
817
+ inputs: [],
818
+ name: "DS_TOKEN",
819
+ outputs: [
820
+ {
821
+ internalType: "uint256",
822
+ name: "",
823
+ type: "uint256"
824
+ }
825
+ ],
826
+ stateMutability: "view",
827
+ type: "function"
828
+ },
829
+ {
830
+ inputs: [],
831
+ name: "LOCK_MANAGER",
832
+ outputs: [
833
+ {
834
+ internalType: "uint256",
835
+ name: "",
836
+ type: "uint256"
837
+ }
838
+ ],
839
+ stateMutability: "view",
840
+ type: "function"
841
+ },
842
+ {
843
+ inputs: [],
844
+ name: "REBASING_PROVIDER",
845
+ outputs: [
846
+ {
847
+ internalType: "uint256",
848
+ name: "",
849
+ type: "uint256"
850
+ }
851
+ ],
852
+ stateMutability: "view",
853
+ type: "function"
854
+ },
855
+ {
856
+ inputs: [],
4
857
  name: "REGISTRY_SERVICE",
858
+ outputs: [
859
+ {
860
+ internalType: "uint256",
861
+ name: "",
862
+ type: "uint256"
863
+ }
864
+ ],
865
+ stateMutability: "view",
866
+ type: "function"
867
+ },
868
+ {
869
+ inputs: [],
870
+ name: "ROLE_EXCHANGE",
871
+ outputs: [
872
+ {
873
+ internalType: "uint8",
874
+ name: "",
875
+ type: "uint8"
876
+ }
877
+ ],
878
+ stateMutability: "view",
879
+ type: "function"
880
+ },
881
+ {
5
882
  inputs: [],
6
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
7
- stateMutability: "view"
883
+ name: "ROLE_ISSUER",
884
+ outputs: [
885
+ {
886
+ internalType: "uint8",
887
+ name: "",
888
+ type: "uint8"
889
+ }
890
+ ],
891
+ stateMutability: "view",
892
+ type: "function"
893
+ },
894
+ {
895
+ inputs: [],
896
+ name: "ROLE_MASTER",
897
+ outputs: [
898
+ {
899
+ internalType: "uint8",
900
+ name: "",
901
+ type: "uint8"
902
+ }
903
+ ],
904
+ stateMutability: "view",
905
+ type: "function"
906
+ },
907
+ {
908
+ inputs: [],
909
+ name: "ROLE_NONE",
910
+ outputs: [
911
+ {
912
+ internalType: "uint8",
913
+ name: "",
914
+ type: "uint8"
915
+ }
916
+ ],
917
+ stateMutability: "view",
918
+ type: "function"
919
+ },
920
+ {
921
+ inputs: [],
922
+ name: "ROLE_TRANSFER_AGENT",
923
+ outputs: [
924
+ {
925
+ internalType: "uint8",
926
+ name: "",
927
+ type: "uint8"
928
+ }
929
+ ],
930
+ stateMutability: "view",
931
+ type: "function"
8
932
  },
9
933
  {
10
- type: "function",
934
+ inputs: [],
935
+ name: "TOKEN_ISSUER",
936
+ outputs: [
937
+ {
938
+ internalType: "uint256",
939
+ name: "",
940
+ type: "uint256"
941
+ }
942
+ ],
943
+ stateMutability: "view",
944
+ type: "function"
945
+ },
946
+ {
947
+ inputs: [],
948
+ name: "TRANSACTION_RELAYER",
949
+ outputs: [
950
+ {
951
+ internalType: "uint256",
952
+ name: "",
953
+ type: "uint256"
954
+ }
955
+ ],
956
+ stateMutability: "view",
957
+ type: "function"
958
+ },
959
+ {
960
+ inputs: [],
11
961
  name: "TRUST_SERVICE",
962
+ outputs: [
963
+ {
964
+ internalType: "uint256",
965
+ name: "",
966
+ type: "uint256"
967
+ }
968
+ ],
969
+ stateMutability: "view",
970
+ type: "function"
971
+ },
972
+ {
12
973
  inputs: [],
13
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
14
- stateMutability: "view"
974
+ name: "UNUSED_1",
975
+ outputs: [
976
+ {
977
+ internalType: "uint256",
978
+ name: "",
979
+ type: "uint256"
980
+ }
981
+ ],
982
+ stateMutability: "view",
983
+ type: "function"
984
+ },
985
+ {
986
+ inputs: [],
987
+ name: "UPGRADE_INTERFACE_VERSION",
988
+ outputs: [
989
+ {
990
+ internalType: "string",
991
+ name: "",
992
+ type: "string"
993
+ }
994
+ ],
995
+ stateMutability: "view",
996
+ type: "function"
997
+ },
998
+ {
999
+ inputs: [],
1000
+ name: "WALLET_MANAGER",
1001
+ outputs: [
1002
+ {
1003
+ internalType: "uint256",
1004
+ name: "",
1005
+ type: "uint256"
1006
+ }
1007
+ ],
1008
+ stateMutability: "view",
1009
+ type: "function"
1010
+ },
1011
+ {
1012
+ inputs: [],
1013
+ name: "WALLET_REGISTRAR",
1014
+ outputs: [
1015
+ {
1016
+ internalType: "uint256",
1017
+ name: "",
1018
+ type: "uint256"
1019
+ }
1020
+ ],
1021
+ stateMutability: "view",
1022
+ type: "function"
1023
+ },
1024
+ {
1025
+ inputs: [],
1026
+ name: "__BaseDSContract_init",
1027
+ outputs: [],
1028
+ stateMutability: "nonpayable",
1029
+ type: "function"
1030
+ },
1031
+ {
1032
+ inputs: [],
1033
+ name: "__ServiceConsumer_init",
1034
+ outputs: [],
1035
+ stateMutability: "nonpayable",
1036
+ type: "function"
15
1037
  },
16
1038
  {
17
- type: "function",
18
- name: "burn",
19
1039
  inputs: [
20
- { name: "from", type: "address", internalType: "address" },
21
- { name: "amount", type: "uint256", internalType: "uint256" },
22
- { name: "reason", type: "string", internalType: "string" }
1040
+ {
1041
+ internalType: "string",
1042
+ name: "name_",
1043
+ type: "string"
1044
+ }
23
1045
  ],
1046
+ name: "__StandardToken_init",
24
1047
  outputs: [],
25
- stateMutability: "nonpayable"
1048
+ stateMutability: "nonpayable",
1049
+ type: "function"
1050
+ },
1051
+ {
1052
+ inputs: [
1053
+ {
1054
+ internalType: "address",
1055
+ name: "_owner",
1056
+ type: "address"
1057
+ },
1058
+ {
1059
+ internalType: "address",
1060
+ name: "_spender",
1061
+ type: "address"
1062
+ }
1063
+ ],
1064
+ name: "allowance",
1065
+ outputs: [
1066
+ {
1067
+ internalType: "uint256",
1068
+ name: "",
1069
+ type: "uint256"
1070
+ }
1071
+ ],
1072
+ stateMutability: "view",
1073
+ type: "function"
1074
+ },
1075
+ {
1076
+ inputs: [
1077
+ {
1078
+ internalType: "address",
1079
+ name: "_spender",
1080
+ type: "address"
1081
+ },
1082
+ {
1083
+ internalType: "uint256",
1084
+ name: "_value",
1085
+ type: "uint256"
1086
+ }
1087
+ ],
1088
+ name: "approve",
1089
+ outputs: [
1090
+ {
1091
+ internalType: "bool",
1092
+ name: "",
1093
+ type: "bool"
1094
+ }
1095
+ ],
1096
+ stateMutability: "nonpayable",
1097
+ type: "function"
1098
+ },
1099
+ {
1100
+ inputs: [
1101
+ {
1102
+ internalType: "address",
1103
+ name: "_owner",
1104
+ type: "address"
1105
+ }
1106
+ ],
1107
+ name: "balanceOf",
1108
+ outputs: [
1109
+ {
1110
+ internalType: "uint256",
1111
+ name: "",
1112
+ type: "uint256"
1113
+ }
1114
+ ],
1115
+ stateMutability: "view",
1116
+ type: "function"
26
1117
  },
27
1118
  {
28
- type: "function",
1119
+ inputs: [
1120
+ {
1121
+ internalType: "string",
1122
+ name: "_id",
1123
+ type: "string"
1124
+ }
1125
+ ],
1126
+ name: "balanceOfInvestor",
1127
+ outputs: [
1128
+ {
1129
+ internalType: "uint256",
1130
+ name: "",
1131
+ type: "uint256"
1132
+ }
1133
+ ],
1134
+ stateMutability: "view",
1135
+ type: "function"
1136
+ },
1137
+ {
1138
+ inputs: [
1139
+ {
1140
+ internalType: "address",
1141
+ name: "_who",
1142
+ type: "address"
1143
+ },
1144
+ {
1145
+ internalType: "uint256",
1146
+ name: "_value",
1147
+ type: "uint256"
1148
+ },
1149
+ {
1150
+ internalType: "string",
1151
+ name: "_reason",
1152
+ type: "string"
1153
+ }
1154
+ ],
1155
+ name: "burn",
1156
+ outputs: [],
1157
+ stateMutability: "nonpayable",
1158
+ type: "function"
1159
+ },
1160
+ {
1161
+ inputs: [],
1162
+ name: "decimals",
1163
+ outputs: [
1164
+ {
1165
+ internalType: "uint8",
1166
+ name: "",
1167
+ type: "uint8"
1168
+ }
1169
+ ],
1170
+ stateMutability: "view",
1171
+ type: "function"
1172
+ },
1173
+ {
1174
+ inputs: [
1175
+ {
1176
+ internalType: "address",
1177
+ name: "_spender",
1178
+ type: "address"
1179
+ },
1180
+ {
1181
+ internalType: "uint256",
1182
+ name: "_subtractedValue",
1183
+ type: "uint256"
1184
+ }
1185
+ ],
1186
+ name: "decreaseApproval",
1187
+ outputs: [
1188
+ {
1189
+ internalType: "bool",
1190
+ name: "",
1191
+ type: "bool"
1192
+ }
1193
+ ],
1194
+ stateMutability: "nonpayable",
1195
+ type: "function"
1196
+ },
1197
+ {
1198
+ inputs: [],
1199
+ name: "eip712Domain",
1200
+ outputs: [
1201
+ {
1202
+ internalType: "bytes1",
1203
+ name: "fields",
1204
+ type: "bytes1"
1205
+ },
1206
+ {
1207
+ internalType: "string",
1208
+ name: "name",
1209
+ type: "string"
1210
+ },
1211
+ {
1212
+ internalType: "string",
1213
+ name: "version",
1214
+ type: "string"
1215
+ },
1216
+ {
1217
+ internalType: "uint256",
1218
+ name: "chainId",
1219
+ type: "uint256"
1220
+ },
1221
+ {
1222
+ internalType: "address",
1223
+ name: "verifyingContract",
1224
+ type: "address"
1225
+ },
1226
+ {
1227
+ internalType: "bytes32",
1228
+ name: "salt",
1229
+ type: "bytes32"
1230
+ },
1231
+ {
1232
+ internalType: "uint256[]",
1233
+ name: "extensions",
1234
+ type: "uint256[]"
1235
+ }
1236
+ ],
1237
+ stateMutability: "view",
1238
+ type: "function"
1239
+ },
1240
+ {
1241
+ inputs: [
1242
+ {
1243
+ internalType: "uint256",
1244
+ name: "_serviceId",
1245
+ type: "uint256"
1246
+ }
1247
+ ],
29
1248
  name: "getDSService",
30
- inputs: [{ name: "serviceId", type: "uint256", internalType: "uint256" }],
31
- outputs: [{ name: "", type: "address", internalType: "address" }],
32
- stateMutability: "view"
1249
+ outputs: [
1250
+ {
1251
+ internalType: "address",
1252
+ name: "",
1253
+ type: "address"
1254
+ }
1255
+ ],
1256
+ stateMutability: "view",
1257
+ type: "function"
1258
+ },
1259
+ {
1260
+ inputs: [],
1261
+ name: "getImplementationAddress",
1262
+ outputs: [
1263
+ {
1264
+ internalType: "address",
1265
+ name: "",
1266
+ type: "address"
1267
+ }
1268
+ ],
1269
+ stateMutability: "view",
1270
+ type: "function"
1271
+ },
1272
+ {
1273
+ inputs: [],
1274
+ name: "getInitializedVersion",
1275
+ outputs: [
1276
+ {
1277
+ internalType: "uint64",
1278
+ name: "",
1279
+ type: "uint64"
1280
+ }
1281
+ ],
1282
+ stateMutability: "view",
1283
+ type: "function"
33
1284
  },
34
1285
  {
35
- type: "function",
1286
+ inputs: [
1287
+ {
1288
+ internalType: "uint256",
1289
+ name: "_index",
1290
+ type: "uint256"
1291
+ }
1292
+ ],
1293
+ name: "getWalletAt",
1294
+ outputs: [
1295
+ {
1296
+ internalType: "address",
1297
+ name: "",
1298
+ type: "address"
1299
+ }
1300
+ ],
1301
+ stateMutability: "view",
1302
+ type: "function"
1303
+ },
1304
+ {
1305
+ inputs: [
1306
+ {
1307
+ internalType: "address",
1308
+ name: "_spender",
1309
+ type: "address"
1310
+ },
1311
+ {
1312
+ internalType: "uint256",
1313
+ name: "_addedValue",
1314
+ type: "uint256"
1315
+ }
1316
+ ],
1317
+ name: "increaseApproval",
1318
+ outputs: [
1319
+ {
1320
+ internalType: "bool",
1321
+ name: "",
1322
+ type: "bool"
1323
+ }
1324
+ ],
1325
+ stateMutability: "nonpayable",
1326
+ type: "function"
1327
+ },
1328
+ {
1329
+ inputs: [
1330
+ {
1331
+ internalType: "string",
1332
+ name: "_name",
1333
+ type: "string"
1334
+ },
1335
+ {
1336
+ internalType: "string",
1337
+ name: "_symbol",
1338
+ type: "string"
1339
+ },
1340
+ {
1341
+ internalType: "uint8",
1342
+ name: "_decimals",
1343
+ type: "uint8"
1344
+ }
1345
+ ],
1346
+ name: "initialize",
1347
+ outputs: [],
1348
+ stateMutability: "nonpayable",
1349
+ type: "function"
1350
+ },
1351
+ {
1352
+ inputs: [],
1353
+ name: "isPaused",
1354
+ outputs: [
1355
+ {
1356
+ internalType: "bool",
1357
+ name: "",
1358
+ type: "bool"
1359
+ }
1360
+ ],
1361
+ stateMutability: "view",
1362
+ type: "function"
1363
+ },
1364
+ {
1365
+ inputs: [
1366
+ {
1367
+ internalType: "address",
1368
+ name: "_to",
1369
+ type: "address"
1370
+ },
1371
+ {
1372
+ internalType: "uint256",
1373
+ name: "_value",
1374
+ type: "uint256"
1375
+ }
1376
+ ],
36
1377
  name: "issueTokens",
1378
+ outputs: [
1379
+ {
1380
+ internalType: "bool",
1381
+ name: "",
1382
+ type: "bool"
1383
+ }
1384
+ ],
1385
+ stateMutability: "nonpayable",
1386
+ type: "function"
1387
+ },
1388
+ {
1389
+ inputs: [
1390
+ {
1391
+ internalType: "address",
1392
+ name: "_to",
1393
+ type: "address"
1394
+ },
1395
+ {
1396
+ internalType: "uint256",
1397
+ name: "_value",
1398
+ type: "uint256"
1399
+ },
1400
+ {
1401
+ internalType: "uint256",
1402
+ name: "_issuanceTime",
1403
+ type: "uint256"
1404
+ },
1405
+ {
1406
+ internalType: "uint256",
1407
+ name: "_valueLocked",
1408
+ type: "uint256"
1409
+ },
1410
+ {
1411
+ internalType: "string",
1412
+ name: "_reason",
1413
+ type: "string"
1414
+ },
1415
+ {
1416
+ internalType: "uint64",
1417
+ name: "_releaseTime",
1418
+ type: "uint64"
1419
+ }
1420
+ ],
1421
+ name: "issueTokensCustom",
1422
+ outputs: [
1423
+ {
1424
+ internalType: "bool",
1425
+ name: "",
1426
+ type: "bool"
1427
+ }
1428
+ ],
1429
+ stateMutability: "nonpayable",
1430
+ type: "function"
1431
+ },
1432
+ {
1433
+ inputs: [
1434
+ {
1435
+ internalType: "address",
1436
+ name: "_to",
1437
+ type: "address"
1438
+ },
1439
+ {
1440
+ internalType: "uint256",
1441
+ name: "_value",
1442
+ type: "uint256"
1443
+ },
1444
+ {
1445
+ internalType: "uint256",
1446
+ name: "_issuanceTime",
1447
+ type: "uint256"
1448
+ },
1449
+ {
1450
+ internalType: "uint256[]",
1451
+ name: "_valuesLocked",
1452
+ type: "uint256[]"
1453
+ },
1454
+ {
1455
+ internalType: "string",
1456
+ name: "_reason",
1457
+ type: "string"
1458
+ },
1459
+ {
1460
+ internalType: "uint64[]",
1461
+ name: "_releaseTimes",
1462
+ type: "uint64[]"
1463
+ }
1464
+ ],
1465
+ name: "issueTokensWithMultipleLocks",
1466
+ outputs: [
1467
+ {
1468
+ internalType: "bool",
1469
+ name: "",
1470
+ type: "bool"
1471
+ }
1472
+ ],
1473
+ stateMutability: "nonpayable",
1474
+ type: "function"
1475
+ },
1476
+ {
1477
+ inputs: [],
1478
+ name: "name",
1479
+ outputs: [
1480
+ {
1481
+ internalType: "string",
1482
+ name: "",
1483
+ type: "string"
1484
+ }
1485
+ ],
1486
+ stateMutability: "view",
1487
+ type: "function"
1488
+ },
1489
+ {
1490
+ inputs: [
1491
+ {
1492
+ internalType: "address",
1493
+ name: "owner",
1494
+ type: "address"
1495
+ }
1496
+ ],
1497
+ name: "nonces",
1498
+ outputs: [
1499
+ {
1500
+ internalType: "uint256",
1501
+ name: "",
1502
+ type: "uint256"
1503
+ }
1504
+ ],
1505
+ stateMutability: "view",
1506
+ type: "function"
1507
+ },
1508
+ {
1509
+ inputs: [],
1510
+ name: "owner",
1511
+ outputs: [
1512
+ {
1513
+ internalType: "address",
1514
+ name: "",
1515
+ type: "address"
1516
+ }
1517
+ ],
1518
+ stateMutability: "view",
1519
+ type: "function"
1520
+ },
1521
+ {
1522
+ inputs: [],
1523
+ name: "pause",
1524
+ outputs: [],
1525
+ stateMutability: "nonpayable",
1526
+ type: "function"
1527
+ },
1528
+ {
1529
+ inputs: [
1530
+ {
1531
+ internalType: "address",
1532
+ name: "owner",
1533
+ type: "address"
1534
+ },
1535
+ {
1536
+ internalType: "address",
1537
+ name: "spender",
1538
+ type: "address"
1539
+ },
1540
+ {
1541
+ internalType: "uint256",
1542
+ name: "value",
1543
+ type: "uint256"
1544
+ },
1545
+ {
1546
+ internalType: "uint256",
1547
+ name: "deadline",
1548
+ type: "uint256"
1549
+ },
1550
+ {
1551
+ internalType: "uint8",
1552
+ name: "v",
1553
+ type: "uint8"
1554
+ },
1555
+ {
1556
+ internalType: "bytes32",
1557
+ name: "r",
1558
+ type: "bytes32"
1559
+ },
1560
+ {
1561
+ internalType: "bytes32",
1562
+ name: "s",
1563
+ type: "bytes32"
1564
+ }
1565
+ ],
1566
+ name: "permit",
1567
+ outputs: [],
1568
+ stateMutability: "nonpayable",
1569
+ type: "function"
1570
+ },
1571
+ {
1572
+ inputs: [
1573
+ {
1574
+ internalType: "address",
1575
+ name: "_from",
1576
+ type: "address"
1577
+ },
1578
+ {
1579
+ internalType: "address",
1580
+ name: "_to",
1581
+ type: "address"
1582
+ },
1583
+ {
1584
+ internalType: "uint256",
1585
+ name: "_value",
1586
+ type: "uint256"
1587
+ }
1588
+ ],
1589
+ name: "preTransferCheck",
1590
+ outputs: [
1591
+ {
1592
+ internalType: "uint256",
1593
+ name: "code",
1594
+ type: "uint256"
1595
+ },
1596
+ {
1597
+ internalType: "string",
1598
+ name: "reason",
1599
+ type: "string"
1600
+ }
1601
+ ],
1602
+ stateMutability: "view",
1603
+ type: "function"
1604
+ },
1605
+ {
1606
+ inputs: [],
1607
+ name: "proxiableUUID",
1608
+ outputs: [
1609
+ {
1610
+ internalType: "bytes32",
1611
+ name: "",
1612
+ type: "bytes32"
1613
+ }
1614
+ ],
1615
+ stateMutability: "view",
1616
+ type: "function"
1617
+ },
1618
+ {
1619
+ inputs: [],
1620
+ name: "renounceOwnership",
1621
+ outputs: [],
1622
+ stateMutability: "nonpayable",
1623
+ type: "function"
1624
+ },
1625
+ {
37
1626
  inputs: [
38
- { name: "to", type: "address", internalType: "address" },
39
- { name: "amount", type: "uint256", internalType: "uint256" }
1627
+ {
1628
+ internalType: "address",
1629
+ name: "_from",
1630
+ type: "address"
1631
+ },
1632
+ {
1633
+ internalType: "address",
1634
+ name: "_to",
1635
+ type: "address"
1636
+ },
1637
+ {
1638
+ internalType: "uint256",
1639
+ name: "_value",
1640
+ type: "uint256"
1641
+ },
1642
+ {
1643
+ internalType: "string",
1644
+ name: "_reason",
1645
+ type: "string"
1646
+ }
40
1647
  ],
1648
+ name: "seize",
41
1649
  outputs: [],
42
- stateMutability: "nonpayable"
1650
+ stateMutability: "nonpayable",
1651
+ type: "function"
1652
+ },
1653
+ {
1654
+ inputs: [
1655
+ {
1656
+ internalType: "uint256",
1657
+ name: "_serviceId",
1658
+ type: "uint256"
1659
+ },
1660
+ {
1661
+ internalType: "address",
1662
+ name: "_address",
1663
+ type: "address"
1664
+ }
1665
+ ],
1666
+ name: "setDSService",
1667
+ outputs: [
1668
+ {
1669
+ internalType: "bool",
1670
+ name: "",
1671
+ type: "bool"
1672
+ }
1673
+ ],
1674
+ stateMutability: "nonpayable",
1675
+ type: "function"
1676
+ },
1677
+ {
1678
+ inputs: [
1679
+ {
1680
+ internalType: "uint8",
1681
+ name: "featureIndex",
1682
+ type: "uint8"
1683
+ },
1684
+ {
1685
+ internalType: "bool",
1686
+ name: "enable",
1687
+ type: "bool"
1688
+ }
1689
+ ],
1690
+ name: "setFeature",
1691
+ outputs: [],
1692
+ stateMutability: "nonpayable",
1693
+ type: "function"
1694
+ },
1695
+ {
1696
+ inputs: [
1697
+ {
1698
+ internalType: "uint256",
1699
+ name: "features",
1700
+ type: "uint256"
1701
+ }
1702
+ ],
1703
+ name: "setFeatures",
1704
+ outputs: [],
1705
+ stateMutability: "nonpayable",
1706
+ type: "function"
1707
+ },
1708
+ {
1709
+ inputs: [],
1710
+ name: "supportedFeatures",
1711
+ outputs: [
1712
+ {
1713
+ internalType: "uint256",
1714
+ name: "value",
1715
+ type: "uint256"
1716
+ }
1717
+ ],
1718
+ stateMutability: "view",
1719
+ type: "function"
1720
+ },
1721
+ {
1722
+ inputs: [],
1723
+ name: "symbol",
1724
+ outputs: [
1725
+ {
1726
+ internalType: "string",
1727
+ name: "",
1728
+ type: "string"
1729
+ }
1730
+ ],
1731
+ stateMutability: "view",
1732
+ type: "function"
1733
+ },
1734
+ {
1735
+ inputs: [],
1736
+ name: "totalIssued",
1737
+ outputs: [
1738
+ {
1739
+ internalType: "uint256",
1740
+ name: "",
1741
+ type: "uint256"
1742
+ }
1743
+ ],
1744
+ stateMutability: "view",
1745
+ type: "function"
1746
+ },
1747
+ {
1748
+ inputs: [],
1749
+ name: "totalSupply",
1750
+ outputs: [
1751
+ {
1752
+ internalType: "uint256",
1753
+ name: "",
1754
+ type: "uint256"
1755
+ }
1756
+ ],
1757
+ stateMutability: "view",
1758
+ type: "function"
1759
+ },
1760
+ {
1761
+ inputs: [
1762
+ {
1763
+ internalType: "address",
1764
+ name: "_to",
1765
+ type: "address"
1766
+ },
1767
+ {
1768
+ internalType: "uint256",
1769
+ name: "_value",
1770
+ type: "uint256"
1771
+ }
1772
+ ],
1773
+ name: "transfer",
1774
+ outputs: [
1775
+ {
1776
+ internalType: "bool",
1777
+ name: "",
1778
+ type: "bool"
1779
+ }
1780
+ ],
1781
+ stateMutability: "nonpayable",
1782
+ type: "function"
1783
+ },
1784
+ {
1785
+ inputs: [
1786
+ {
1787
+ internalType: "address",
1788
+ name: "_from",
1789
+ type: "address"
1790
+ },
1791
+ {
1792
+ internalType: "address",
1793
+ name: "_to",
1794
+ type: "address"
1795
+ },
1796
+ {
1797
+ internalType: "uint256",
1798
+ name: "_value",
1799
+ type: "uint256"
1800
+ }
1801
+ ],
1802
+ name: "transferFrom",
1803
+ outputs: [
1804
+ {
1805
+ internalType: "bool",
1806
+ name: "",
1807
+ type: "bool"
1808
+ }
1809
+ ],
1810
+ stateMutability: "nonpayable",
1811
+ type: "function"
1812
+ },
1813
+ {
1814
+ inputs: [
1815
+ {
1816
+ internalType: "address",
1817
+ name: "newOwner",
1818
+ type: "address"
1819
+ }
1820
+ ],
1821
+ name: "transferOwnership",
1822
+ outputs: [],
1823
+ stateMutability: "nonpayable",
1824
+ type: "function"
1825
+ },
1826
+ {
1827
+ inputs: [
1828
+ {
1829
+ internalType: "address",
1830
+ name: "from",
1831
+ type: "address"
1832
+ },
1833
+ {
1834
+ internalType: "address",
1835
+ name: "to",
1836
+ type: "address"
1837
+ },
1838
+ {
1839
+ internalType: "uint256",
1840
+ name: "value",
1841
+ type: "uint256"
1842
+ },
1843
+ {
1844
+ internalType: "uint256",
1845
+ name: "deadline",
1846
+ type: "uint256"
1847
+ },
1848
+ {
1849
+ internalType: "uint8",
1850
+ name: "v",
1851
+ type: "uint8"
1852
+ },
1853
+ {
1854
+ internalType: "bytes32",
1855
+ name: "r",
1856
+ type: "bytes32"
1857
+ },
1858
+ {
1859
+ internalType: "bytes32",
1860
+ name: "s",
1861
+ type: "bytes32"
1862
+ }
1863
+ ],
1864
+ name: "transferWithPermit",
1865
+ outputs: [
1866
+ {
1867
+ internalType: "bool",
1868
+ name: "",
1869
+ type: "bool"
1870
+ }
1871
+ ],
1872
+ stateMutability: "nonpayable",
1873
+ type: "function"
1874
+ },
1875
+ {
1876
+ inputs: [],
1877
+ name: "unpause",
1878
+ outputs: [],
1879
+ stateMutability: "nonpayable",
1880
+ type: "function"
1881
+ },
1882
+ {
1883
+ inputs: [
1884
+ {
1885
+ internalType: "string",
1886
+ name: "_newName",
1887
+ type: "string"
1888
+ },
1889
+ {
1890
+ internalType: "string",
1891
+ name: "_symbol",
1892
+ type: "string"
1893
+ }
1894
+ ],
1895
+ name: "updateNameAndSymbol",
1896
+ outputs: [],
1897
+ stateMutability: "nonpayable",
1898
+ type: "function"
1899
+ },
1900
+ {
1901
+ inputs: [
1902
+ {
1903
+ internalType: "address",
1904
+ name: "newImplementation",
1905
+ type: "address"
1906
+ },
1907
+ {
1908
+ internalType: "bytes",
1909
+ name: "data",
1910
+ type: "bytes"
1911
+ }
1912
+ ],
1913
+ name: "upgradeToAndCall",
1914
+ outputs: [],
1915
+ stateMutability: "payable",
1916
+ type: "function"
1917
+ },
1918
+ {
1919
+ inputs: [],
1920
+ name: "walletCount",
1921
+ outputs: [
1922
+ {
1923
+ internalType: "uint256",
1924
+ name: "",
1925
+ type: "uint256"
1926
+ }
1927
+ ],
1928
+ stateMutability: "view",
1929
+ type: "function"
43
1930
  }
44
1931
  ];
45
1932
  export {