@aurigami/sdk 0.1.0 → 0.1.4

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,1259 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "string",
7
+ "name": "_name",
8
+ "type": "string"
9
+ },
10
+ {
11
+ "internalType": "string",
12
+ "name": "_symbol",
13
+ "type": "string"
14
+ },
15
+ {
16
+ "internalType": "uint8",
17
+ "name": "_decimals",
18
+ "type": "uint8"
19
+ },
20
+ {
21
+ "internalType": "address",
22
+ "name": "_underlying",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "address",
27
+ "name": "_vault",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "stateMutability": "nonpayable",
32
+ "type": "constructor"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": true,
39
+ "internalType": "address",
40
+ "name": "owner",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "indexed": true,
45
+ "internalType": "address",
46
+ "name": "spender",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "indexed": false,
51
+ "internalType": "uint256",
52
+ "name": "value",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "name": "Approval",
57
+ "type": "event"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "auth",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": false,
70
+ "internalType": "uint256",
71
+ "name": "timestamp",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "LogAddAuth",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": true,
83
+ "internalType": "address",
84
+ "name": "oldOwner",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "indexed": true,
89
+ "internalType": "address",
90
+ "name": "newOwner",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "indexed": true,
95
+ "internalType": "uint256",
96
+ "name": "effectiveHeight",
97
+ "type": "uint256"
98
+ }
99
+ ],
100
+ "name": "LogChangeMPCOwner",
101
+ "type": "event"
102
+ },
103
+ {
104
+ "anonymous": false,
105
+ "inputs": [
106
+ {
107
+ "indexed": true,
108
+ "internalType": "address",
109
+ "name": "oldVault",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "indexed": true,
114
+ "internalType": "address",
115
+ "name": "newVault",
116
+ "type": "address"
117
+ },
118
+ {
119
+ "indexed": true,
120
+ "internalType": "uint256",
121
+ "name": "effectiveTime",
122
+ "type": "uint256"
123
+ }
124
+ ],
125
+ "name": "LogChangeVault",
126
+ "type": "event"
127
+ },
128
+ {
129
+ "anonymous": false,
130
+ "inputs": [
131
+ {
132
+ "indexed": true,
133
+ "internalType": "bytes32",
134
+ "name": "txhash",
135
+ "type": "bytes32"
136
+ },
137
+ {
138
+ "indexed": true,
139
+ "internalType": "address",
140
+ "name": "account",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "internalType": "uint256",
146
+ "name": "amount",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "name": "LogSwapin",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": true,
158
+ "internalType": "address",
159
+ "name": "account",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "indexed": true,
164
+ "internalType": "address",
165
+ "name": "bindaddr",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint256",
171
+ "name": "amount",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "LogSwapout",
176
+ "type": "event"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [
181
+ {
182
+ "indexed": true,
183
+ "internalType": "address",
184
+ "name": "from",
185
+ "type": "address"
186
+ },
187
+ {
188
+ "indexed": true,
189
+ "internalType": "address",
190
+ "name": "to",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "uint256",
196
+ "name": "value",
197
+ "type": "uint256"
198
+ }
199
+ ],
200
+ "name": "Transfer",
201
+ "type": "event"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "DOMAIN_SEPARATOR",
206
+ "outputs": [
207
+ {
208
+ "internalType": "bytes32",
209
+ "name": "",
210
+ "type": "bytes32"
211
+ }
212
+ ],
213
+ "stateMutability": "view",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "PERMIT_TYPEHASH",
219
+ "outputs": [
220
+ {
221
+ "internalType": "bytes32",
222
+ "name": "",
223
+ "type": "bytes32"
224
+ }
225
+ ],
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "bytes32",
233
+ "name": "txhash",
234
+ "type": "bytes32"
235
+ },
236
+ {
237
+ "internalType": "address",
238
+ "name": "account",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "uint256",
243
+ "name": "amount",
244
+ "type": "uint256"
245
+ }
246
+ ],
247
+ "name": "Swapin",
248
+ "outputs": [
249
+ {
250
+ "internalType": "bool",
251
+ "name": "",
252
+ "type": "bool"
253
+ }
254
+ ],
255
+ "stateMutability": "nonpayable",
256
+ "type": "function"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "amount",
263
+ "type": "uint256"
264
+ },
265
+ {
266
+ "internalType": "address",
267
+ "name": "bindaddr",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "name": "Swapout",
272
+ "outputs": [
273
+ {
274
+ "internalType": "bool",
275
+ "name": "",
276
+ "type": "bool"
277
+ }
278
+ ],
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "inputs": [],
284
+ "name": "TRANSFER_TYPEHASH",
285
+ "outputs": [
286
+ {
287
+ "internalType": "bytes32",
288
+ "name": "",
289
+ "type": "bytes32"
290
+ }
291
+ ],
292
+ "stateMutability": "view",
293
+ "type": "function"
294
+ },
295
+ {
296
+ "inputs": [
297
+ {
298
+ "internalType": "address",
299
+ "name": "",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "internalType": "address",
304
+ "name": "",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "name": "allowance",
309
+ "outputs": [
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "stateMutability": "view",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [],
321
+ "name": "applyMinter",
322
+ "outputs": [],
323
+ "stateMutability": "nonpayable",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [],
328
+ "name": "applyVault",
329
+ "outputs": [],
330
+ "stateMutability": "nonpayable",
331
+ "type": "function"
332
+ },
333
+ {
334
+ "inputs": [
335
+ {
336
+ "internalType": "address",
337
+ "name": "spender",
338
+ "type": "address"
339
+ },
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "value",
343
+ "type": "uint256"
344
+ }
345
+ ],
346
+ "name": "approve",
347
+ "outputs": [
348
+ {
349
+ "internalType": "bool",
350
+ "name": "",
351
+ "type": "bool"
352
+ }
353
+ ],
354
+ "stateMutability": "nonpayable",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [
359
+ {
360
+ "internalType": "address",
361
+ "name": "spender",
362
+ "type": "address"
363
+ },
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "value",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "internalType": "bytes",
371
+ "name": "data",
372
+ "type": "bytes"
373
+ }
374
+ ],
375
+ "name": "approveAndCall",
376
+ "outputs": [
377
+ {
378
+ "internalType": "bool",
379
+ "name": "",
380
+ "type": "bool"
381
+ }
382
+ ],
383
+ "stateMutability": "nonpayable",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "address",
390
+ "name": "",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "name": "balanceOf",
395
+ "outputs": [
396
+ {
397
+ "internalType": "uint256",
398
+ "name": "",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "address",
409
+ "name": "from",
410
+ "type": "address"
411
+ },
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "amount",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "burn",
419
+ "outputs": [
420
+ {
421
+ "internalType": "bool",
422
+ "name": "",
423
+ "type": "bool"
424
+ }
425
+ ],
426
+ "stateMutability": "nonpayable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "newVault",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "changeMPCOwner",
438
+ "outputs": [
439
+ {
440
+ "internalType": "bool",
441
+ "name": "",
442
+ "type": "bool"
443
+ }
444
+ ],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "address",
452
+ "name": "newVault",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "name": "changeVault",
457
+ "outputs": [
458
+ {
459
+ "internalType": "bool",
460
+ "name": "",
461
+ "type": "bool"
462
+ }
463
+ ],
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "decimals",
470
+ "outputs": [
471
+ {
472
+ "internalType": "uint8",
473
+ "name": "",
474
+ "type": "uint8"
475
+ }
476
+ ],
477
+ "stateMutability": "view",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [],
482
+ "name": "delay",
483
+ "outputs": [
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "",
487
+ "type": "uint256"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "delayDelay",
496
+ "outputs": [
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "",
500
+ "type": "uint256"
501
+ }
502
+ ],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [],
508
+ "name": "delayMinter",
509
+ "outputs": [
510
+ {
511
+ "internalType": "uint256",
512
+ "name": "",
513
+ "type": "uint256"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [],
521
+ "name": "delayVault",
522
+ "outputs": [
523
+ {
524
+ "internalType": "uint256",
525
+ "name": "",
526
+ "type": "uint256"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [
534
+ {
535
+ "internalType": "uint256",
536
+ "name": "amount",
537
+ "type": "uint256"
538
+ },
539
+ {
540
+ "internalType": "address",
541
+ "name": "to",
542
+ "type": "address"
543
+ }
544
+ ],
545
+ "name": "deposit",
546
+ "outputs": [
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "",
550
+ "type": "uint256"
551
+ }
552
+ ],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "amount",
561
+ "type": "uint256"
562
+ }
563
+ ],
564
+ "name": "deposit",
565
+ "outputs": [
566
+ {
567
+ "internalType": "uint256",
568
+ "name": "",
569
+ "type": "uint256"
570
+ }
571
+ ],
572
+ "stateMutability": "nonpayable",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "deposit",
578
+ "outputs": [
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "",
582
+ "type": "uint256"
583
+ }
584
+ ],
585
+ "stateMutability": "nonpayable",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "amount",
593
+ "type": "uint256"
594
+ },
595
+ {
596
+ "internalType": "address",
597
+ "name": "to",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "name": "depositVault",
602
+ "outputs": [
603
+ {
604
+ "internalType": "uint256",
605
+ "name": "",
606
+ "type": "uint256"
607
+ }
608
+ ],
609
+ "stateMutability": "nonpayable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [
614
+ {
615
+ "internalType": "address",
616
+ "name": "target",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "internalType": "uint256",
621
+ "name": "value",
622
+ "type": "uint256"
623
+ },
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "deadline",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "internalType": "uint8",
631
+ "name": "v",
632
+ "type": "uint8"
633
+ },
634
+ {
635
+ "internalType": "bytes32",
636
+ "name": "r",
637
+ "type": "bytes32"
638
+ },
639
+ {
640
+ "internalType": "bytes32",
641
+ "name": "s",
642
+ "type": "bytes32"
643
+ },
644
+ {
645
+ "internalType": "address",
646
+ "name": "to",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "name": "depositWithPermit",
651
+ "outputs": [
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "stateMutability": "nonpayable",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [
663
+ {
664
+ "internalType": "address",
665
+ "name": "target",
666
+ "type": "address"
667
+ },
668
+ {
669
+ "internalType": "uint256",
670
+ "name": "value",
671
+ "type": "uint256"
672
+ },
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "deadline",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "uint8",
680
+ "name": "v",
681
+ "type": "uint8"
682
+ },
683
+ {
684
+ "internalType": "bytes32",
685
+ "name": "r",
686
+ "type": "bytes32"
687
+ },
688
+ {
689
+ "internalType": "bytes32",
690
+ "name": "s",
691
+ "type": "bytes32"
692
+ },
693
+ {
694
+ "internalType": "address",
695
+ "name": "to",
696
+ "type": "address"
697
+ }
698
+ ],
699
+ "name": "depositWithTransferPermit",
700
+ "outputs": [
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "",
704
+ "type": "uint256"
705
+ }
706
+ ],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "getAllMinters",
713
+ "outputs": [
714
+ {
715
+ "internalType": "address[]",
716
+ "name": "",
717
+ "type": "address[]"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
723
+ {
724
+ "inputs": [
725
+ {
726
+ "internalType": "address",
727
+ "name": "_vault",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "name": "initVault",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "",
741
+ "type": "address"
742
+ }
743
+ ],
744
+ "name": "isMinter",
745
+ "outputs": [
746
+ {
747
+ "internalType": "bool",
748
+ "name": "",
749
+ "type": "bool"
750
+ }
751
+ ],
752
+ "stateMutability": "view",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "address",
759
+ "name": "to",
760
+ "type": "address"
761
+ },
762
+ {
763
+ "internalType": "uint256",
764
+ "name": "amount",
765
+ "type": "uint256"
766
+ }
767
+ ],
768
+ "name": "mint",
769
+ "outputs": [
770
+ {
771
+ "internalType": "bool",
772
+ "name": "",
773
+ "type": "bool"
774
+ }
775
+ ],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "uint256",
783
+ "name": "",
784
+ "type": "uint256"
785
+ }
786
+ ],
787
+ "name": "minters",
788
+ "outputs": [
789
+ {
790
+ "internalType": "address",
791
+ "name": "",
792
+ "type": "address"
793
+ }
794
+ ],
795
+ "stateMutability": "view",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "mpc",
801
+ "outputs": [
802
+ {
803
+ "internalType": "address",
804
+ "name": "",
805
+ "type": "address"
806
+ }
807
+ ],
808
+ "stateMutability": "view",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [],
813
+ "name": "name",
814
+ "outputs": [
815
+ {
816
+ "internalType": "string",
817
+ "name": "",
818
+ "type": "string"
819
+ }
820
+ ],
821
+ "stateMutability": "view",
822
+ "type": "function"
823
+ },
824
+ {
825
+ "inputs": [
826
+ {
827
+ "internalType": "address",
828
+ "name": "",
829
+ "type": "address"
830
+ }
831
+ ],
832
+ "name": "nonces",
833
+ "outputs": [
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "",
837
+ "type": "uint256"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "owner",
846
+ "outputs": [
847
+ {
848
+ "internalType": "address",
849
+ "name": "",
850
+ "type": "address"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "pendingDelay",
859
+ "outputs": [
860
+ {
861
+ "internalType": "uint256",
862
+ "name": "",
863
+ "type": "uint256"
864
+ }
865
+ ],
866
+ "stateMutability": "view",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [],
871
+ "name": "pendingMinter",
872
+ "outputs": [
873
+ {
874
+ "internalType": "address",
875
+ "name": "",
876
+ "type": "address"
877
+ }
878
+ ],
879
+ "stateMutability": "view",
880
+ "type": "function"
881
+ },
882
+ {
883
+ "inputs": [],
884
+ "name": "pendingVault",
885
+ "outputs": [
886
+ {
887
+ "internalType": "address",
888
+ "name": "",
889
+ "type": "address"
890
+ }
891
+ ],
892
+ "stateMutability": "view",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "internalType": "address",
899
+ "name": "target",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "internalType": "address",
904
+ "name": "spender",
905
+ "type": "address"
906
+ },
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "value",
910
+ "type": "uint256"
911
+ },
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "deadline",
915
+ "type": "uint256"
916
+ },
917
+ {
918
+ "internalType": "uint8",
919
+ "name": "v",
920
+ "type": "uint8"
921
+ },
922
+ {
923
+ "internalType": "bytes32",
924
+ "name": "r",
925
+ "type": "bytes32"
926
+ },
927
+ {
928
+ "internalType": "bytes32",
929
+ "name": "s",
930
+ "type": "bytes32"
931
+ }
932
+ ],
933
+ "name": "permit",
934
+ "outputs": [],
935
+ "stateMutability": "nonpayable",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [
940
+ {
941
+ "internalType": "address",
942
+ "name": "_auth",
943
+ "type": "address"
944
+ }
945
+ ],
946
+ "name": "revokeMinter",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "_auth",
956
+ "type": "address"
957
+ }
958
+ ],
959
+ "name": "setMinter",
960
+ "outputs": [],
961
+ "stateMutability": "nonpayable",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [
966
+ {
967
+ "internalType": "address",
968
+ "name": "_vault",
969
+ "type": "address"
970
+ }
971
+ ],
972
+ "name": "setVault",
973
+ "outputs": [],
974
+ "stateMutability": "nonpayable",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [
979
+ {
980
+ "internalType": "bool",
981
+ "name": "enabled",
982
+ "type": "bool"
983
+ }
984
+ ],
985
+ "name": "setVaultOnly",
986
+ "outputs": [],
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [],
992
+ "name": "symbol",
993
+ "outputs": [
994
+ {
995
+ "internalType": "string",
996
+ "name": "",
997
+ "type": "string"
998
+ }
999
+ ],
1000
+ "stateMutability": "view",
1001
+ "type": "function"
1002
+ },
1003
+ {
1004
+ "inputs": [],
1005
+ "name": "totalSupply",
1006
+ "outputs": [
1007
+ {
1008
+ "internalType": "uint256",
1009
+ "name": "",
1010
+ "type": "uint256"
1011
+ }
1012
+ ],
1013
+ "stateMutability": "view",
1014
+ "type": "function"
1015
+ },
1016
+ {
1017
+ "inputs": [
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "to",
1021
+ "type": "address"
1022
+ },
1023
+ {
1024
+ "internalType": "uint256",
1025
+ "name": "value",
1026
+ "type": "uint256"
1027
+ }
1028
+ ],
1029
+ "name": "transfer",
1030
+ "outputs": [
1031
+ {
1032
+ "internalType": "bool",
1033
+ "name": "",
1034
+ "type": "bool"
1035
+ }
1036
+ ],
1037
+ "stateMutability": "nonpayable",
1038
+ "type": "function"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "to",
1045
+ "type": "address"
1046
+ },
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "value",
1050
+ "type": "uint256"
1051
+ },
1052
+ {
1053
+ "internalType": "bytes",
1054
+ "name": "data",
1055
+ "type": "bytes"
1056
+ }
1057
+ ],
1058
+ "name": "transferAndCall",
1059
+ "outputs": [
1060
+ {
1061
+ "internalType": "bool",
1062
+ "name": "",
1063
+ "type": "bool"
1064
+ }
1065
+ ],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "from",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "address",
1078
+ "name": "to",
1079
+ "type": "address"
1080
+ },
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "value",
1084
+ "type": "uint256"
1085
+ }
1086
+ ],
1087
+ "name": "transferFrom",
1088
+ "outputs": [
1089
+ {
1090
+ "internalType": "bool",
1091
+ "name": "",
1092
+ "type": "bool"
1093
+ }
1094
+ ],
1095
+ "stateMutability": "nonpayable",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [
1100
+ {
1101
+ "internalType": "address",
1102
+ "name": "target",
1103
+ "type": "address"
1104
+ },
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "to",
1108
+ "type": "address"
1109
+ },
1110
+ {
1111
+ "internalType": "uint256",
1112
+ "name": "value",
1113
+ "type": "uint256"
1114
+ },
1115
+ {
1116
+ "internalType": "uint256",
1117
+ "name": "deadline",
1118
+ "type": "uint256"
1119
+ },
1120
+ {
1121
+ "internalType": "uint8",
1122
+ "name": "v",
1123
+ "type": "uint8"
1124
+ },
1125
+ {
1126
+ "internalType": "bytes32",
1127
+ "name": "r",
1128
+ "type": "bytes32"
1129
+ },
1130
+ {
1131
+ "internalType": "bytes32",
1132
+ "name": "s",
1133
+ "type": "bytes32"
1134
+ }
1135
+ ],
1136
+ "name": "transferWithPermit",
1137
+ "outputs": [
1138
+ {
1139
+ "internalType": "bool",
1140
+ "name": "",
1141
+ "type": "bool"
1142
+ }
1143
+ ],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [],
1149
+ "name": "underlying",
1150
+ "outputs": [
1151
+ {
1152
+ "internalType": "address",
1153
+ "name": "",
1154
+ "type": "address"
1155
+ }
1156
+ ],
1157
+ "stateMutability": "view",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [],
1162
+ "name": "vault",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "address",
1166
+ "name": "",
1167
+ "type": "address"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "view",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "amount",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "internalType": "address",
1182
+ "name": "to",
1183
+ "type": "address"
1184
+ }
1185
+ ],
1186
+ "name": "withdraw",
1187
+ "outputs": [
1188
+ {
1189
+ "internalType": "uint256",
1190
+ "name": "",
1191
+ "type": "uint256"
1192
+ }
1193
+ ],
1194
+ "stateMutability": "nonpayable",
1195
+ "type": "function"
1196
+ },
1197
+ {
1198
+ "inputs": [
1199
+ {
1200
+ "internalType": "uint256",
1201
+ "name": "amount",
1202
+ "type": "uint256"
1203
+ }
1204
+ ],
1205
+ "name": "withdraw",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "uint256",
1209
+ "name": "",
1210
+ "type": "uint256"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "nonpayable",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [],
1218
+ "name": "withdraw",
1219
+ "outputs": [
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "",
1223
+ "type": "uint256"
1224
+ }
1225
+ ],
1226
+ "stateMutability": "nonpayable",
1227
+ "type": "function"
1228
+ },
1229
+ {
1230
+ "inputs": [
1231
+ {
1232
+ "internalType": "address",
1233
+ "name": "from",
1234
+ "type": "address"
1235
+ },
1236
+ {
1237
+ "internalType": "uint256",
1238
+ "name": "amount",
1239
+ "type": "uint256"
1240
+ },
1241
+ {
1242
+ "internalType": "address",
1243
+ "name": "to",
1244
+ "type": "address"
1245
+ }
1246
+ ],
1247
+ "name": "withdrawVault",
1248
+ "outputs": [
1249
+ {
1250
+ "internalType": "uint256",
1251
+ "name": "",
1252
+ "type": "uint256"
1253
+ }
1254
+ ],
1255
+ "stateMutability": "nonpayable",
1256
+ "type": "function"
1257
+ }
1258
+ ]
1259
+ }