@keep-network/tbtc-v2 0.1.0-ropsten.1 → 0.1.1-dev.2

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.
package/export.json ADDED
@@ -0,0 +1,1547 @@
1
+ {
2
+ "name": "hardhat",
3
+ "chainId": "31337",
4
+ "contracts": {
5
+ "TBTCToken": {
6
+ "address": "0x5FbDB2315678afecb367f032d93F642f64180aa3",
7
+ "abi": [
8
+ {
9
+ "inputs": [],
10
+ "stateMutability": "nonpayable",
11
+ "type": "constructor"
12
+ },
13
+ {
14
+ "anonymous": false,
15
+ "inputs": [
16
+ {
17
+ "indexed": true,
18
+ "internalType": "address",
19
+ "name": "owner",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "indexed": true,
24
+ "internalType": "address",
25
+ "name": "spender",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "indexed": false,
30
+ "internalType": "uint256",
31
+ "name": "value",
32
+ "type": "uint256"
33
+ }
34
+ ],
35
+ "name": "Approval",
36
+ "type": "event"
37
+ },
38
+ {
39
+ "anonymous": false,
40
+ "inputs": [
41
+ {
42
+ "indexed": true,
43
+ "internalType": "address",
44
+ "name": "previousOwner",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "indexed": true,
49
+ "internalType": "address",
50
+ "name": "newOwner",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "OwnershipTransferred",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "from",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "indexed": true,
68
+ "internalType": "address",
69
+ "name": "to",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "indexed": false,
74
+ "internalType": "uint256",
75
+ "name": "value",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "name": "Transfer",
80
+ "type": "event"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "DOMAIN_SEPARATOR",
85
+ "outputs": [
86
+ {
87
+ "internalType": "bytes32",
88
+ "name": "",
89
+ "type": "bytes32"
90
+ }
91
+ ],
92
+ "stateMutability": "view",
93
+ "type": "function"
94
+ },
95
+ {
96
+ "inputs": [],
97
+ "name": "NAME",
98
+ "outputs": [
99
+ {
100
+ "internalType": "string",
101
+ "name": "",
102
+ "type": "string"
103
+ }
104
+ ],
105
+ "stateMutability": "view",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "PERMIT_TYPEHASH",
111
+ "outputs": [
112
+ {
113
+ "internalType": "bytes32",
114
+ "name": "",
115
+ "type": "bytes32"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "SYMBOL",
124
+ "outputs": [
125
+ {
126
+ "internalType": "string",
127
+ "name": "",
128
+ "type": "string"
129
+ }
130
+ ],
131
+ "stateMutability": "view",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "address",
138
+ "name": "",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "allowance",
148
+ "outputs": [
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "",
152
+ "type": "uint256"
153
+ }
154
+ ],
155
+ "stateMutability": "view",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [
160
+ {
161
+ "internalType": "address",
162
+ "name": "spender",
163
+ "type": "address"
164
+ },
165
+ {
166
+ "internalType": "uint256",
167
+ "name": "amount",
168
+ "type": "uint256"
169
+ }
170
+ ],
171
+ "name": "approve",
172
+ "outputs": [
173
+ {
174
+ "internalType": "bool",
175
+ "name": "",
176
+ "type": "bool"
177
+ }
178
+ ],
179
+ "stateMutability": "nonpayable",
180
+ "type": "function"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "spender",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "amount",
192
+ "type": "uint256"
193
+ },
194
+ {
195
+ "internalType": "bytes",
196
+ "name": "extraData",
197
+ "type": "bytes"
198
+ }
199
+ ],
200
+ "name": "approveAndCall",
201
+ "outputs": [
202
+ {
203
+ "internalType": "bool",
204
+ "name": "",
205
+ "type": "bool"
206
+ }
207
+ ],
208
+ "stateMutability": "nonpayable",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "address",
215
+ "name": "",
216
+ "type": "address"
217
+ }
218
+ ],
219
+ "name": "balanceOf",
220
+ "outputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "stateMutability": "view",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [
232
+ {
233
+ "internalType": "uint256",
234
+ "name": "amount",
235
+ "type": "uint256"
236
+ }
237
+ ],
238
+ "name": "burn",
239
+ "outputs": [],
240
+ "stateMutability": "nonpayable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "address",
247
+ "name": "account",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "amount",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "name": "burnFrom",
257
+ "outputs": [],
258
+ "stateMutability": "nonpayable",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "cachedChainId",
264
+ "outputs": [
265
+ {
266
+ "internalType": "uint256",
267
+ "name": "",
268
+ "type": "uint256"
269
+ }
270
+ ],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "cachedDomainSeparator",
277
+ "outputs": [
278
+ {
279
+ "internalType": "bytes32",
280
+ "name": "",
281
+ "type": "bytes32"
282
+ }
283
+ ],
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [],
289
+ "name": "decimals",
290
+ "outputs": [
291
+ {
292
+ "internalType": "uint8",
293
+ "name": "",
294
+ "type": "uint8"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "address",
304
+ "name": "recipient",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "amount",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "name": "mint",
314
+ "outputs": [],
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "name",
321
+ "outputs": [
322
+ {
323
+ "internalType": "string",
324
+ "name": "",
325
+ "type": "string"
326
+ }
327
+ ],
328
+ "stateMutability": "view",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [
333
+ {
334
+ "internalType": "address",
335
+ "name": "",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "nonce",
340
+ "outputs": [
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "",
344
+ "type": "uint256"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "owner",
353
+ "outputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "address",
367
+ "name": "owner",
368
+ "type": "address"
369
+ },
370
+ {
371
+ "internalType": "address",
372
+ "name": "spender",
373
+ "type": "address"
374
+ },
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "amount",
378
+ "type": "uint256"
379
+ },
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "deadline",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "internalType": "uint8",
387
+ "name": "v",
388
+ "type": "uint8"
389
+ },
390
+ {
391
+ "internalType": "bytes32",
392
+ "name": "r",
393
+ "type": "bytes32"
394
+ },
395
+ {
396
+ "internalType": "bytes32",
397
+ "name": "s",
398
+ "type": "bytes32"
399
+ }
400
+ ],
401
+ "name": "permit",
402
+ "outputs": [],
403
+ "stateMutability": "nonpayable",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [],
408
+ "name": "renounceOwnership",
409
+ "outputs": [],
410
+ "stateMutability": "nonpayable",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "symbol",
416
+ "outputs": [
417
+ {
418
+ "internalType": "string",
419
+ "name": "",
420
+ "type": "string"
421
+ }
422
+ ],
423
+ "stateMutability": "view",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "totalSupply",
429
+ "outputs": [
430
+ {
431
+ "internalType": "uint256",
432
+ "name": "",
433
+ "type": "uint256"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "address",
443
+ "name": "recipient",
444
+ "type": "address"
445
+ },
446
+ {
447
+ "internalType": "uint256",
448
+ "name": "amount",
449
+ "type": "uint256"
450
+ }
451
+ ],
452
+ "name": "transfer",
453
+ "outputs": [
454
+ {
455
+ "internalType": "bool",
456
+ "name": "",
457
+ "type": "bool"
458
+ }
459
+ ],
460
+ "stateMutability": "nonpayable",
461
+ "type": "function"
462
+ },
463
+ {
464
+ "inputs": [
465
+ {
466
+ "internalType": "address",
467
+ "name": "spender",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "internalType": "address",
472
+ "name": "recipient",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "internalType": "uint256",
477
+ "name": "amount",
478
+ "type": "uint256"
479
+ }
480
+ ],
481
+ "name": "transferFrom",
482
+ "outputs": [
483
+ {
484
+ "internalType": "bool",
485
+ "name": "",
486
+ "type": "bool"
487
+ }
488
+ ],
489
+ "stateMutability": "nonpayable",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [
494
+ {
495
+ "internalType": "address",
496
+ "name": "newOwner",
497
+ "type": "address"
498
+ }
499
+ ],
500
+ "name": "transferOwnership",
501
+ "outputs": [],
502
+ "stateMutability": "nonpayable",
503
+ "type": "function"
504
+ }
505
+ ]
506
+ },
507
+ "TBTC": {
508
+ "address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
509
+ "abi": [
510
+ {
511
+ "inputs": [],
512
+ "stateMutability": "nonpayable",
513
+ "type": "constructor"
514
+ },
515
+ {
516
+ "anonymous": false,
517
+ "inputs": [
518
+ {
519
+ "indexed": true,
520
+ "internalType": "address",
521
+ "name": "owner",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "indexed": true,
526
+ "internalType": "address",
527
+ "name": "spender",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "uint256",
533
+ "name": "value",
534
+ "type": "uint256"
535
+ }
536
+ ],
537
+ "name": "Approval",
538
+ "type": "event"
539
+ },
540
+ {
541
+ "anonymous": false,
542
+ "inputs": [
543
+ {
544
+ "indexed": true,
545
+ "internalType": "address",
546
+ "name": "previousOwner",
547
+ "type": "address"
548
+ },
549
+ {
550
+ "indexed": true,
551
+ "internalType": "address",
552
+ "name": "newOwner",
553
+ "type": "address"
554
+ }
555
+ ],
556
+ "name": "OwnershipTransferred",
557
+ "type": "event"
558
+ },
559
+ {
560
+ "anonymous": false,
561
+ "inputs": [
562
+ {
563
+ "indexed": true,
564
+ "internalType": "address",
565
+ "name": "from",
566
+ "type": "address"
567
+ },
568
+ {
569
+ "indexed": true,
570
+ "internalType": "address",
571
+ "name": "to",
572
+ "type": "address"
573
+ },
574
+ {
575
+ "indexed": false,
576
+ "internalType": "uint256",
577
+ "name": "value",
578
+ "type": "uint256"
579
+ }
580
+ ],
581
+ "name": "Transfer",
582
+ "type": "event"
583
+ },
584
+ {
585
+ "inputs": [],
586
+ "name": "DOMAIN_SEPARATOR",
587
+ "outputs": [
588
+ {
589
+ "internalType": "bytes32",
590
+ "name": "",
591
+ "type": "bytes32"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "PERMIT_TYPEHASH",
600
+ "outputs": [
601
+ {
602
+ "internalType": "bytes32",
603
+ "name": "",
604
+ "type": "bytes32"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [
612
+ {
613
+ "internalType": "address",
614
+ "name": "",
615
+ "type": "address"
616
+ },
617
+ {
618
+ "internalType": "address",
619
+ "name": "",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "name": "allowance",
624
+ "outputs": [
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "",
628
+ "type": "uint256"
629
+ }
630
+ ],
631
+ "stateMutability": "view",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [
636
+ {
637
+ "internalType": "address",
638
+ "name": "spender",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "internalType": "uint256",
643
+ "name": "amount",
644
+ "type": "uint256"
645
+ }
646
+ ],
647
+ "name": "approve",
648
+ "outputs": [
649
+ {
650
+ "internalType": "bool",
651
+ "name": "",
652
+ "type": "bool"
653
+ }
654
+ ],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "address",
662
+ "name": "spender",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "amount",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "bytes",
672
+ "name": "extraData",
673
+ "type": "bytes"
674
+ }
675
+ ],
676
+ "name": "approveAndCall",
677
+ "outputs": [
678
+ {
679
+ "internalType": "bool",
680
+ "name": "",
681
+ "type": "bool"
682
+ }
683
+ ],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "",
692
+ "type": "address"
693
+ }
694
+ ],
695
+ "name": "balanceOf",
696
+ "outputs": [
697
+ {
698
+ "internalType": "uint256",
699
+ "name": "",
700
+ "type": "uint256"
701
+ }
702
+ ],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "uint256",
710
+ "name": "amount",
711
+ "type": "uint256"
712
+ }
713
+ ],
714
+ "name": "burn",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "account",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "uint256",
728
+ "name": "amount",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "name": "burnFrom",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [],
739
+ "name": "cachedChainId",
740
+ "outputs": [
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "",
744
+ "type": "uint256"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [],
752
+ "name": "cachedDomainSeparator",
753
+ "outputs": [
754
+ {
755
+ "internalType": "bytes32",
756
+ "name": "",
757
+ "type": "bytes32"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "decimals",
766
+ "outputs": [
767
+ {
768
+ "internalType": "uint8",
769
+ "name": "",
770
+ "type": "uint8"
771
+ }
772
+ ],
773
+ "stateMutability": "view",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "address",
780
+ "name": "recipient",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "amount",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "name": "mint",
790
+ "outputs": [],
791
+ "stateMutability": "nonpayable",
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [],
796
+ "name": "name",
797
+ "outputs": [
798
+ {
799
+ "internalType": "string",
800
+ "name": "",
801
+ "type": "string"
802
+ }
803
+ ],
804
+ "stateMutability": "view",
805
+ "type": "function"
806
+ },
807
+ {
808
+ "inputs": [
809
+ {
810
+ "internalType": "address",
811
+ "name": "",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "name": "nonce",
816
+ "outputs": [
817
+ {
818
+ "internalType": "uint256",
819
+ "name": "",
820
+ "type": "uint256"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [],
828
+ "name": "owner",
829
+ "outputs": [
830
+ {
831
+ "internalType": "address",
832
+ "name": "",
833
+ "type": "address"
834
+ }
835
+ ],
836
+ "stateMutability": "view",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
841
+ {
842
+ "internalType": "address",
843
+ "name": "owner",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "address",
848
+ "name": "spender",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "amount",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "deadline",
859
+ "type": "uint256"
860
+ },
861
+ {
862
+ "internalType": "uint8",
863
+ "name": "v",
864
+ "type": "uint8"
865
+ },
866
+ {
867
+ "internalType": "bytes32",
868
+ "name": "r",
869
+ "type": "bytes32"
870
+ },
871
+ {
872
+ "internalType": "bytes32",
873
+ "name": "s",
874
+ "type": "bytes32"
875
+ }
876
+ ],
877
+ "name": "permit",
878
+ "outputs": [],
879
+ "stateMutability": "nonpayable",
880
+ "type": "function"
881
+ },
882
+ {
883
+ "inputs": [
884
+ {
885
+ "internalType": "contract IERC20",
886
+ "name": "token",
887
+ "type": "address"
888
+ },
889
+ {
890
+ "internalType": "address",
891
+ "name": "recipient",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "internalType": "uint256",
896
+ "name": "amount",
897
+ "type": "uint256"
898
+ }
899
+ ],
900
+ "name": "recoverERC20",
901
+ "outputs": [],
902
+ "stateMutability": "nonpayable",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "contract IERC721",
909
+ "name": "token",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "internalType": "address",
914
+ "name": "recipient",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "uint256",
919
+ "name": "tokenId",
920
+ "type": "uint256"
921
+ },
922
+ {
923
+ "internalType": "bytes",
924
+ "name": "data",
925
+ "type": "bytes"
926
+ }
927
+ ],
928
+ "name": "recoverERC721",
929
+ "outputs": [],
930
+ "stateMutability": "nonpayable",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "inputs": [],
935
+ "name": "renounceOwnership",
936
+ "outputs": [],
937
+ "stateMutability": "nonpayable",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [],
942
+ "name": "symbol",
943
+ "outputs": [
944
+ {
945
+ "internalType": "string",
946
+ "name": "",
947
+ "type": "string"
948
+ }
949
+ ],
950
+ "stateMutability": "view",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [],
955
+ "name": "totalSupply",
956
+ "outputs": [
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "",
960
+ "type": "uint256"
961
+ }
962
+ ],
963
+ "stateMutability": "view",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "address",
970
+ "name": "recipient",
971
+ "type": "address"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "amount",
976
+ "type": "uint256"
977
+ }
978
+ ],
979
+ "name": "transfer",
980
+ "outputs": [
981
+ {
982
+ "internalType": "bool",
983
+ "name": "",
984
+ "type": "bool"
985
+ }
986
+ ],
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [
992
+ {
993
+ "internalType": "address",
994
+ "name": "spender",
995
+ "type": "address"
996
+ },
997
+ {
998
+ "internalType": "address",
999
+ "name": "recipient",
1000
+ "type": "address"
1001
+ },
1002
+ {
1003
+ "internalType": "uint256",
1004
+ "name": "amount",
1005
+ "type": "uint256"
1006
+ }
1007
+ ],
1008
+ "name": "transferFrom",
1009
+ "outputs": [
1010
+ {
1011
+ "internalType": "bool",
1012
+ "name": "",
1013
+ "type": "bool"
1014
+ }
1015
+ ],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "address",
1023
+ "name": "newOwner",
1024
+ "type": "address"
1025
+ }
1026
+ ],
1027
+ "name": "transferOwnership",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ }
1032
+ ]
1033
+ },
1034
+ "VendingMachine": {
1035
+ "address": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
1036
+ "abi": [
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "contract IERC20",
1041
+ "name": "_tbtcV1",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "contract TBTC",
1046
+ "name": "_tbtcV2",
1047
+ "type": "address"
1048
+ },
1049
+ {
1050
+ "internalType": "uint256",
1051
+ "name": "_unmintFee",
1052
+ "type": "uint256"
1053
+ }
1054
+ ],
1055
+ "stateMutability": "nonpayable",
1056
+ "type": "constructor"
1057
+ },
1058
+ {
1059
+ "anonymous": false,
1060
+ "inputs": [
1061
+ {
1062
+ "indexed": true,
1063
+ "internalType": "address",
1064
+ "name": "recipient",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "indexed": false,
1069
+ "internalType": "uint256",
1070
+ "name": "amount",
1071
+ "type": "uint256"
1072
+ }
1073
+ ],
1074
+ "name": "Minted",
1075
+ "type": "event"
1076
+ },
1077
+ {
1078
+ "anonymous": false,
1079
+ "inputs": [
1080
+ {
1081
+ "indexed": true,
1082
+ "internalType": "address",
1083
+ "name": "previousOwner",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "indexed": true,
1088
+ "internalType": "address",
1089
+ "name": "newOwner",
1090
+ "type": "address"
1091
+ }
1092
+ ],
1093
+ "name": "OwnershipTransferred",
1094
+ "type": "event"
1095
+ },
1096
+ {
1097
+ "anonymous": false,
1098
+ "inputs": [
1099
+ {
1100
+ "indexed": false,
1101
+ "internalType": "uint256",
1102
+ "name": "newUnmintFee",
1103
+ "type": "uint256"
1104
+ },
1105
+ {
1106
+ "indexed": false,
1107
+ "internalType": "uint256",
1108
+ "name": "timestamp",
1109
+ "type": "uint256"
1110
+ }
1111
+ ],
1112
+ "name": "UnmintFeeUpdateInitiated",
1113
+ "type": "event"
1114
+ },
1115
+ {
1116
+ "anonymous": false,
1117
+ "inputs": [
1118
+ {
1119
+ "indexed": false,
1120
+ "internalType": "uint256",
1121
+ "name": "newUnmintFee",
1122
+ "type": "uint256"
1123
+ }
1124
+ ],
1125
+ "name": "UnmintFeeUpdated",
1126
+ "type": "event"
1127
+ },
1128
+ {
1129
+ "anonymous": false,
1130
+ "inputs": [
1131
+ {
1132
+ "indexed": true,
1133
+ "internalType": "address",
1134
+ "name": "recipient",
1135
+ "type": "address"
1136
+ },
1137
+ {
1138
+ "indexed": false,
1139
+ "internalType": "uint256",
1140
+ "name": "amount",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "indexed": false,
1145
+ "internalType": "uint256",
1146
+ "name": "fee",
1147
+ "type": "uint256"
1148
+ }
1149
+ ],
1150
+ "name": "Unminted",
1151
+ "type": "event"
1152
+ },
1153
+ {
1154
+ "anonymous": false,
1155
+ "inputs": [
1156
+ {
1157
+ "indexed": false,
1158
+ "internalType": "address",
1159
+ "name": "newVendingMachine",
1160
+ "type": "address"
1161
+ },
1162
+ {
1163
+ "indexed": false,
1164
+ "internalType": "uint256",
1165
+ "name": "timestamp",
1166
+ "type": "uint256"
1167
+ }
1168
+ ],
1169
+ "name": "VendingMachineUpgradeInitiated",
1170
+ "type": "event"
1171
+ },
1172
+ {
1173
+ "anonymous": false,
1174
+ "inputs": [
1175
+ {
1176
+ "indexed": false,
1177
+ "internalType": "address",
1178
+ "name": "newVendingMachine",
1179
+ "type": "address"
1180
+ }
1181
+ ],
1182
+ "name": "VendingMachineUpgraded",
1183
+ "type": "event"
1184
+ },
1185
+ {
1186
+ "inputs": [],
1187
+ "name": "FLOATING_POINT_DIVISOR",
1188
+ "outputs": [
1189
+ {
1190
+ "internalType": "uint256",
1191
+ "name": "",
1192
+ "type": "uint256"
1193
+ }
1194
+ ],
1195
+ "stateMutability": "view",
1196
+ "type": "function"
1197
+ },
1198
+ {
1199
+ "inputs": [],
1200
+ "name": "GOVERNANCE_DELAY",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "uint256",
1204
+ "name": "",
1205
+ "type": "uint256"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "view",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "finalizeUnmintFeeUpdate",
1214
+ "outputs": [],
1215
+ "stateMutability": "nonpayable",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [],
1220
+ "name": "finalizeVendingMachineUpgrade",
1221
+ "outputs": [],
1222
+ "stateMutability": "nonpayable",
1223
+ "type": "function"
1224
+ },
1225
+ {
1226
+ "inputs": [],
1227
+ "name": "getRemainingUnmintFeeUpdateTime",
1228
+ "outputs": [
1229
+ {
1230
+ "internalType": "uint256",
1231
+ "name": "",
1232
+ "type": "uint256"
1233
+ }
1234
+ ],
1235
+ "stateMutability": "view",
1236
+ "type": "function"
1237
+ },
1238
+ {
1239
+ "inputs": [],
1240
+ "name": "getRemainingVendingMachineUpgradeTime",
1241
+ "outputs": [
1242
+ {
1243
+ "internalType": "uint256",
1244
+ "name": "",
1245
+ "type": "uint256"
1246
+ }
1247
+ ],
1248
+ "stateMutability": "view",
1249
+ "type": "function"
1250
+ },
1251
+ {
1252
+ "inputs": [
1253
+ {
1254
+ "internalType": "uint256",
1255
+ "name": "_newUnmintFee",
1256
+ "type": "uint256"
1257
+ }
1258
+ ],
1259
+ "name": "initiateUnmintFeeUpdate",
1260
+ "outputs": [],
1261
+ "stateMutability": "nonpayable",
1262
+ "type": "function"
1263
+ },
1264
+ {
1265
+ "inputs": [
1266
+ {
1267
+ "internalType": "address",
1268
+ "name": "_newVendingMachine",
1269
+ "type": "address"
1270
+ }
1271
+ ],
1272
+ "name": "initiateVendingMachineUpgrade",
1273
+ "outputs": [],
1274
+ "stateMutability": "nonpayable",
1275
+ "type": "function"
1276
+ },
1277
+ {
1278
+ "inputs": [
1279
+ {
1280
+ "internalType": "uint256",
1281
+ "name": "amount",
1282
+ "type": "uint256"
1283
+ }
1284
+ ],
1285
+ "name": "mint",
1286
+ "outputs": [],
1287
+ "stateMutability": "nonpayable",
1288
+ "type": "function"
1289
+ },
1290
+ {
1291
+ "inputs": [],
1292
+ "name": "newUnmintFee",
1293
+ "outputs": [
1294
+ {
1295
+ "internalType": "uint256",
1296
+ "name": "",
1297
+ "type": "uint256"
1298
+ }
1299
+ ],
1300
+ "stateMutability": "view",
1301
+ "type": "function"
1302
+ },
1303
+ {
1304
+ "inputs": [],
1305
+ "name": "newVendingMachine",
1306
+ "outputs": [
1307
+ {
1308
+ "internalType": "address",
1309
+ "name": "",
1310
+ "type": "address"
1311
+ }
1312
+ ],
1313
+ "stateMutability": "view",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "inputs": [],
1318
+ "name": "owner",
1319
+ "outputs": [
1320
+ {
1321
+ "internalType": "address",
1322
+ "name": "",
1323
+ "type": "address"
1324
+ }
1325
+ ],
1326
+ "stateMutability": "view",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [
1331
+ {
1332
+ "internalType": "address",
1333
+ "name": "from",
1334
+ "type": "address"
1335
+ },
1336
+ {
1337
+ "internalType": "uint256",
1338
+ "name": "amount",
1339
+ "type": "uint256"
1340
+ },
1341
+ {
1342
+ "internalType": "address",
1343
+ "name": "token",
1344
+ "type": "address"
1345
+ },
1346
+ {
1347
+ "internalType": "bytes",
1348
+ "name": "",
1349
+ "type": "bytes"
1350
+ }
1351
+ ],
1352
+ "name": "receiveApproval",
1353
+ "outputs": [],
1354
+ "stateMutability": "nonpayable",
1355
+ "type": "function"
1356
+ },
1357
+ {
1358
+ "inputs": [],
1359
+ "name": "renounceOwnership",
1360
+ "outputs": [],
1361
+ "stateMutability": "nonpayable",
1362
+ "type": "function"
1363
+ },
1364
+ {
1365
+ "inputs": [],
1366
+ "name": "tbtcV1",
1367
+ "outputs": [
1368
+ {
1369
+ "internalType": "contract IERC20",
1370
+ "name": "",
1371
+ "type": "address"
1372
+ }
1373
+ ],
1374
+ "stateMutability": "view",
1375
+ "type": "function"
1376
+ },
1377
+ {
1378
+ "inputs": [],
1379
+ "name": "tbtcV2",
1380
+ "outputs": [
1381
+ {
1382
+ "internalType": "contract TBTC",
1383
+ "name": "",
1384
+ "type": "address"
1385
+ }
1386
+ ],
1387
+ "stateMutability": "view",
1388
+ "type": "function"
1389
+ },
1390
+ {
1391
+ "inputs": [
1392
+ {
1393
+ "internalType": "address",
1394
+ "name": "newOwner",
1395
+ "type": "address"
1396
+ }
1397
+ ],
1398
+ "name": "transferOwnership",
1399
+ "outputs": [],
1400
+ "stateMutability": "nonpayable",
1401
+ "type": "function"
1402
+ },
1403
+ {
1404
+ "inputs": [
1405
+ {
1406
+ "internalType": "address",
1407
+ "name": "newInitiator",
1408
+ "type": "address"
1409
+ }
1410
+ ],
1411
+ "name": "transferUnmintFeeUpdateInitiatorRole",
1412
+ "outputs": [],
1413
+ "stateMutability": "nonpayable",
1414
+ "type": "function"
1415
+ },
1416
+ {
1417
+ "inputs": [
1418
+ {
1419
+ "internalType": "address",
1420
+ "name": "newInitiator",
1421
+ "type": "address"
1422
+ }
1423
+ ],
1424
+ "name": "transferVendingMachineUpgradeInitiatorRole",
1425
+ "outputs": [],
1426
+ "stateMutability": "nonpayable",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "uint256",
1433
+ "name": "amount",
1434
+ "type": "uint256"
1435
+ }
1436
+ ],
1437
+ "name": "unmint",
1438
+ "outputs": [],
1439
+ "stateMutability": "nonpayable",
1440
+ "type": "function"
1441
+ },
1442
+ {
1443
+ "inputs": [],
1444
+ "name": "unmintFee",
1445
+ "outputs": [
1446
+ {
1447
+ "internalType": "uint256",
1448
+ "name": "",
1449
+ "type": "uint256"
1450
+ }
1451
+ ],
1452
+ "stateMutability": "view",
1453
+ "type": "function"
1454
+ },
1455
+ {
1456
+ "inputs": [
1457
+ {
1458
+ "internalType": "uint256",
1459
+ "name": "amount",
1460
+ "type": "uint256"
1461
+ }
1462
+ ],
1463
+ "name": "unmintFeeFor",
1464
+ "outputs": [
1465
+ {
1466
+ "internalType": "uint256",
1467
+ "name": "",
1468
+ "type": "uint256"
1469
+ }
1470
+ ],
1471
+ "stateMutability": "view",
1472
+ "type": "function"
1473
+ },
1474
+ {
1475
+ "inputs": [],
1476
+ "name": "unmintFeeUpdateInitiatedTimestamp",
1477
+ "outputs": [
1478
+ {
1479
+ "internalType": "uint256",
1480
+ "name": "",
1481
+ "type": "uint256"
1482
+ }
1483
+ ],
1484
+ "stateMutability": "view",
1485
+ "type": "function"
1486
+ },
1487
+ {
1488
+ "inputs": [],
1489
+ "name": "unmintFeeUpdateInitiator",
1490
+ "outputs": [
1491
+ {
1492
+ "internalType": "address",
1493
+ "name": "",
1494
+ "type": "address"
1495
+ }
1496
+ ],
1497
+ "stateMutability": "view",
1498
+ "type": "function"
1499
+ },
1500
+ {
1501
+ "inputs": [],
1502
+ "name": "vendingMachineUpgradeInitiatedTimestamp",
1503
+ "outputs": [
1504
+ {
1505
+ "internalType": "uint256",
1506
+ "name": "",
1507
+ "type": "uint256"
1508
+ }
1509
+ ],
1510
+ "stateMutability": "view",
1511
+ "type": "function"
1512
+ },
1513
+ {
1514
+ "inputs": [],
1515
+ "name": "vendingMachineUpgradeInitiator",
1516
+ "outputs": [
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "",
1520
+ "type": "address"
1521
+ }
1522
+ ],
1523
+ "stateMutability": "view",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [
1528
+ {
1529
+ "internalType": "address",
1530
+ "name": "recipient",
1531
+ "type": "address"
1532
+ },
1533
+ {
1534
+ "internalType": "uint256",
1535
+ "name": "amount",
1536
+ "type": "uint256"
1537
+ }
1538
+ ],
1539
+ "name": "withdrawFees",
1540
+ "outputs": [],
1541
+ "stateMutability": "nonpayable",
1542
+ "type": "function"
1543
+ }
1544
+ ]
1545
+ }
1546
+ }
1547
+ }