@wireio/outpost-ethereum-artifacts 0.4.2 → 0.4.3

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,981 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WithdrawalQueue__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "authority",
14
+ type: "address",
15
+ },
16
+ ],
17
+ name: "AccessManagedInvalidAuthority",
18
+ type: "error",
19
+ },
20
+ {
21
+ inputs: [
22
+ {
23
+ internalType: "address",
24
+ name: "caller",
25
+ type: "address",
26
+ },
27
+ {
28
+ internalType: "uint32",
29
+ name: "delay",
30
+ type: "uint32",
31
+ },
32
+ ],
33
+ name: "AccessManagedRequiredDelay",
34
+ type: "error",
35
+ },
36
+ {
37
+ inputs: [
38
+ {
39
+ internalType: "address",
40
+ name: "caller",
41
+ type: "address",
42
+ },
43
+ ],
44
+ name: "AccessManagedUnauthorized",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "address",
51
+ name: "target",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "AddressEmptyCode",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [
60
+ {
61
+ internalType: "address",
62
+ name: "implementation",
63
+ type: "address",
64
+ },
65
+ ],
66
+ name: "ERC1967InvalidImplementation",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "ERC1967NonPayable",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "ERC721EnumerableForbiddenBatchMint",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [
81
+ {
82
+ internalType: "address",
83
+ name: "sender",
84
+ type: "address",
85
+ },
86
+ {
87
+ internalType: "uint256",
88
+ name: "tokenId",
89
+ type: "uint256",
90
+ },
91
+ {
92
+ internalType: "address",
93
+ name: "owner",
94
+ type: "address",
95
+ },
96
+ ],
97
+ name: "ERC721IncorrectOwner",
98
+ type: "error",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "operator",
105
+ type: "address",
106
+ },
107
+ {
108
+ internalType: "uint256",
109
+ name: "tokenId",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "ERC721InsufficientApproval",
114
+ type: "error",
115
+ },
116
+ {
117
+ inputs: [
118
+ {
119
+ internalType: "address",
120
+ name: "approver",
121
+ type: "address",
122
+ },
123
+ ],
124
+ name: "ERC721InvalidApprover",
125
+ type: "error",
126
+ },
127
+ {
128
+ inputs: [
129
+ {
130
+ internalType: "address",
131
+ name: "operator",
132
+ type: "address",
133
+ },
134
+ ],
135
+ name: "ERC721InvalidOperator",
136
+ type: "error",
137
+ },
138
+ {
139
+ inputs: [
140
+ {
141
+ internalType: "address",
142
+ name: "owner",
143
+ type: "address",
144
+ },
145
+ ],
146
+ name: "ERC721InvalidOwner",
147
+ type: "error",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "receiver",
154
+ type: "address",
155
+ },
156
+ ],
157
+ name: "ERC721InvalidReceiver",
158
+ type: "error",
159
+ },
160
+ {
161
+ inputs: [
162
+ {
163
+ internalType: "address",
164
+ name: "sender",
165
+ type: "address",
166
+ },
167
+ ],
168
+ name: "ERC721InvalidSender",
169
+ type: "error",
170
+ },
171
+ {
172
+ inputs: [
173
+ {
174
+ internalType: "uint256",
175
+ name: "tokenId",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "ERC721NonexistentToken",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "address",
186
+ name: "owner",
187
+ type: "address",
188
+ },
189
+ {
190
+ internalType: "uint256",
191
+ name: "index",
192
+ type: "uint256",
193
+ },
194
+ ],
195
+ name: "ERC721OutOfBoundsIndex",
196
+ type: "error",
197
+ },
198
+ {
199
+ inputs: [],
200
+ name: "FailedCall",
201
+ type: "error",
202
+ },
203
+ {
204
+ inputs: [],
205
+ name: "InvalidInitialization",
206
+ type: "error",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "NotInitializing",
211
+ type: "error",
212
+ },
213
+ {
214
+ inputs: [],
215
+ name: "ReentrancyGuardReentrantCall",
216
+ type: "error",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "UUPSUnauthorizedCallContext",
221
+ type: "error",
222
+ },
223
+ {
224
+ inputs: [
225
+ {
226
+ internalType: "bytes32",
227
+ name: "slot",
228
+ type: "bytes32",
229
+ },
230
+ ],
231
+ name: "UUPSUnsupportedProxiableUUID",
232
+ type: "error",
233
+ },
234
+ {
235
+ anonymous: false,
236
+ inputs: [
237
+ {
238
+ indexed: true,
239
+ internalType: "address",
240
+ name: "owner",
241
+ type: "address",
242
+ },
243
+ {
244
+ indexed: true,
245
+ internalType: "address",
246
+ name: "approved",
247
+ type: "address",
248
+ },
249
+ {
250
+ indexed: true,
251
+ internalType: "uint256",
252
+ name: "tokenId",
253
+ type: "uint256",
254
+ },
255
+ ],
256
+ name: "Approval",
257
+ type: "event",
258
+ },
259
+ {
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ indexed: true,
264
+ internalType: "address",
265
+ name: "owner",
266
+ type: "address",
267
+ },
268
+ {
269
+ indexed: true,
270
+ internalType: "address",
271
+ name: "operator",
272
+ type: "address",
273
+ },
274
+ {
275
+ indexed: false,
276
+ internalType: "bool",
277
+ name: "approved",
278
+ type: "bool",
279
+ },
280
+ ],
281
+ name: "ApprovalForAll",
282
+ type: "event",
283
+ },
284
+ {
285
+ anonymous: false,
286
+ inputs: [
287
+ {
288
+ indexed: false,
289
+ internalType: "address",
290
+ name: "authority",
291
+ type: "address",
292
+ },
293
+ ],
294
+ name: "AuthorityUpdated",
295
+ type: "event",
296
+ },
297
+ {
298
+ anonymous: false,
299
+ inputs: [
300
+ {
301
+ indexed: false,
302
+ internalType: "uint64",
303
+ name: "version",
304
+ type: "uint64",
305
+ },
306
+ ],
307
+ name: "Initialized",
308
+ type: "event",
309
+ },
310
+ {
311
+ anonymous: false,
312
+ inputs: [
313
+ {
314
+ indexed: true,
315
+ internalType: "uint256",
316
+ name: "id",
317
+ type: "uint256",
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: "uint256",
322
+ name: "amount",
323
+ type: "uint256",
324
+ },
325
+ ],
326
+ name: "RequestClaimed",
327
+ type: "event",
328
+ },
329
+ {
330
+ anonymous: false,
331
+ inputs: [
332
+ {
333
+ indexed: true,
334
+ internalType: "address",
335
+ name: "from",
336
+ type: "address",
337
+ },
338
+ {
339
+ indexed: true,
340
+ internalType: "address",
341
+ name: "to",
342
+ type: "address",
343
+ },
344
+ {
345
+ indexed: true,
346
+ internalType: "uint256",
347
+ name: "tokenId",
348
+ type: "uint256",
349
+ },
350
+ ],
351
+ name: "Transfer",
352
+ type: "event",
353
+ },
354
+ {
355
+ anonymous: false,
356
+ inputs: [
357
+ {
358
+ indexed: true,
359
+ internalType: "address",
360
+ name: "implementation",
361
+ type: "address",
362
+ },
363
+ ],
364
+ name: "Upgraded",
365
+ type: "event",
366
+ },
367
+ {
368
+ anonymous: false,
369
+ inputs: [
370
+ {
371
+ indexed: true,
372
+ internalType: "address",
373
+ name: "user",
374
+ type: "address",
375
+ },
376
+ {
377
+ indexed: false,
378
+ internalType: "uint256",
379
+ name: "ethAmount",
380
+ type: "uint256",
381
+ },
382
+ {
383
+ indexed: false,
384
+ internalType: "uint256",
385
+ name: "nftId",
386
+ type: "uint256",
387
+ },
388
+ {
389
+ indexed: false,
390
+ internalType: "uint256",
391
+ name: "readyAt",
392
+ type: "uint256",
393
+ },
394
+ ],
395
+ name: "WithdrawRequested",
396
+ type: "event",
397
+ },
398
+ {
399
+ inputs: [],
400
+ name: "UPGRADE_INTERFACE_VERSION",
401
+ outputs: [
402
+ {
403
+ internalType: "string",
404
+ name: "",
405
+ type: "string",
406
+ },
407
+ ],
408
+ stateMutability: "view",
409
+ type: "function",
410
+ },
411
+ {
412
+ inputs: [
413
+ {
414
+ internalType: "address",
415
+ name: "to",
416
+ type: "address",
417
+ },
418
+ {
419
+ internalType: "uint256",
420
+ name: "tokenId",
421
+ type: "uint256",
422
+ },
423
+ ],
424
+ name: "approve",
425
+ outputs: [],
426
+ stateMutability: "nonpayable",
427
+ type: "function",
428
+ },
429
+ {
430
+ inputs: [],
431
+ name: "authority",
432
+ outputs: [
433
+ {
434
+ internalType: "address",
435
+ name: "",
436
+ type: "address",
437
+ },
438
+ ],
439
+ stateMutability: "view",
440
+ type: "function",
441
+ },
442
+ {
443
+ inputs: [
444
+ {
445
+ internalType: "address",
446
+ name: "owner",
447
+ type: "address",
448
+ },
449
+ ],
450
+ name: "balanceOf",
451
+ outputs: [
452
+ {
453
+ internalType: "uint256",
454
+ name: "",
455
+ type: "uint256",
456
+ },
457
+ ],
458
+ stateMutability: "view",
459
+ type: "function",
460
+ },
461
+ {
462
+ inputs: [
463
+ {
464
+ internalType: "uint256",
465
+ name: "id",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ internalType: "address",
470
+ name: "sender",
471
+ type: "address",
472
+ },
473
+ ],
474
+ name: "burnClaimed",
475
+ outputs: [
476
+ {
477
+ internalType: "uint256",
478
+ name: "",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ stateMutability: "nonpayable",
483
+ type: "function",
484
+ },
485
+ {
486
+ inputs: [],
487
+ name: "ethNeeded",
488
+ outputs: [
489
+ {
490
+ internalType: "uint256",
491
+ name: "",
492
+ type: "uint256",
493
+ },
494
+ ],
495
+ stateMutability: "view",
496
+ type: "function",
497
+ },
498
+ {
499
+ inputs: [
500
+ {
501
+ internalType: "uint256",
502
+ name: "id",
503
+ type: "uint256",
504
+ },
505
+ ],
506
+ name: "exists",
507
+ outputs: [
508
+ {
509
+ internalType: "bool",
510
+ name: "",
511
+ type: "bool",
512
+ },
513
+ ],
514
+ stateMutability: "view",
515
+ type: "function",
516
+ },
517
+ {
518
+ inputs: [
519
+ {
520
+ internalType: "uint256",
521
+ name: "tokenId",
522
+ type: "uint256",
523
+ },
524
+ ],
525
+ name: "getApproved",
526
+ outputs: [
527
+ {
528
+ internalType: "address",
529
+ name: "",
530
+ type: "address",
531
+ },
532
+ ],
533
+ stateMutability: "view",
534
+ type: "function",
535
+ },
536
+ {
537
+ inputs: [
538
+ {
539
+ internalType: "uint256",
540
+ name: "id",
541
+ type: "uint256",
542
+ },
543
+ ],
544
+ name: "info",
545
+ outputs: [
546
+ {
547
+ internalType: "uint256",
548
+ name: "ethAmount",
549
+ type: "uint256",
550
+ },
551
+ {
552
+ internalType: "uint256",
553
+ name: "readyAt",
554
+ type: "uint256",
555
+ },
556
+ ],
557
+ stateMutability: "view",
558
+ type: "function",
559
+ },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: "address",
564
+ name: "manager",
565
+ type: "address",
566
+ },
567
+ {
568
+ internalType: "uint64",
569
+ name: "_withdrawDelay",
570
+ type: "uint64",
571
+ },
572
+ ],
573
+ name: "initialize",
574
+ outputs: [],
575
+ stateMutability: "nonpayable",
576
+ type: "function",
577
+ },
578
+ {
579
+ inputs: [
580
+ {
581
+ internalType: "address",
582
+ name: "owner",
583
+ type: "address",
584
+ },
585
+ {
586
+ internalType: "address",
587
+ name: "operator",
588
+ type: "address",
589
+ },
590
+ ],
591
+ name: "isApprovedForAll",
592
+ outputs: [
593
+ {
594
+ internalType: "bool",
595
+ name: "",
596
+ type: "bool",
597
+ },
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function",
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: "isConsumingScheduledOp",
605
+ outputs: [
606
+ {
607
+ internalType: "bytes4",
608
+ name: "",
609
+ type: "bytes4",
610
+ },
611
+ ],
612
+ stateMutability: "view",
613
+ type: "function",
614
+ },
615
+ {
616
+ inputs: [
617
+ {
618
+ internalType: "address",
619
+ name: "to",
620
+ type: "address",
621
+ },
622
+ {
623
+ internalType: "uint256",
624
+ name: "amount",
625
+ type: "uint256",
626
+ },
627
+ ],
628
+ name: "mintRequest",
629
+ outputs: [],
630
+ stateMutability: "nonpayable",
631
+ type: "function",
632
+ },
633
+ {
634
+ inputs: [],
635
+ name: "name",
636
+ outputs: [
637
+ {
638
+ internalType: "string",
639
+ name: "",
640
+ type: "string",
641
+ },
642
+ ],
643
+ stateMutability: "view",
644
+ type: "function",
645
+ },
646
+ {
647
+ inputs: [],
648
+ name: "nextId",
649
+ outputs: [
650
+ {
651
+ internalType: "uint256",
652
+ name: "",
653
+ type: "uint256",
654
+ },
655
+ ],
656
+ stateMutability: "view",
657
+ type: "function",
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "uint256",
663
+ name: "tokenId",
664
+ type: "uint256",
665
+ },
666
+ ],
667
+ name: "ownerOf",
668
+ outputs: [
669
+ {
670
+ internalType: "address",
671
+ name: "",
672
+ type: "address",
673
+ },
674
+ ],
675
+ stateMutability: "view",
676
+ type: "function",
677
+ },
678
+ {
679
+ inputs: [],
680
+ name: "proxiableUUID",
681
+ outputs: [
682
+ {
683
+ internalType: "bytes32",
684
+ name: "",
685
+ type: "bytes32",
686
+ },
687
+ ],
688
+ stateMutability: "view",
689
+ type: "function",
690
+ },
691
+ {
692
+ inputs: [
693
+ {
694
+ internalType: "uint256",
695
+ name: "",
696
+ type: "uint256",
697
+ },
698
+ ],
699
+ name: "requests",
700
+ outputs: [
701
+ {
702
+ internalType: "uint256",
703
+ name: "ethAmount",
704
+ type: "uint256",
705
+ },
706
+ {
707
+ internalType: "uint256",
708
+ name: "readyAt",
709
+ type: "uint256",
710
+ },
711
+ ],
712
+ stateMutability: "view",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [
717
+ {
718
+ internalType: "address",
719
+ name: "from",
720
+ type: "address",
721
+ },
722
+ {
723
+ internalType: "address",
724
+ name: "to",
725
+ type: "address",
726
+ },
727
+ {
728
+ internalType: "uint256",
729
+ name: "tokenId",
730
+ type: "uint256",
731
+ },
732
+ ],
733
+ name: "safeTransferFrom",
734
+ outputs: [],
735
+ stateMutability: "nonpayable",
736
+ type: "function",
737
+ },
738
+ {
739
+ inputs: [
740
+ {
741
+ internalType: "address",
742
+ name: "from",
743
+ type: "address",
744
+ },
745
+ {
746
+ internalType: "address",
747
+ name: "to",
748
+ type: "address",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "tokenId",
753
+ type: "uint256",
754
+ },
755
+ {
756
+ internalType: "bytes",
757
+ name: "data",
758
+ type: "bytes",
759
+ },
760
+ ],
761
+ name: "safeTransferFrom",
762
+ outputs: [],
763
+ stateMutability: "nonpayable",
764
+ type: "function",
765
+ },
766
+ {
767
+ inputs: [
768
+ {
769
+ internalType: "address",
770
+ name: "operator",
771
+ type: "address",
772
+ },
773
+ {
774
+ internalType: "bool",
775
+ name: "approved",
776
+ type: "bool",
777
+ },
778
+ ],
779
+ name: "setApprovalForAll",
780
+ outputs: [],
781
+ stateMutability: "nonpayable",
782
+ type: "function",
783
+ },
784
+ {
785
+ inputs: [
786
+ {
787
+ internalType: "address",
788
+ name: "newAuthority",
789
+ type: "address",
790
+ },
791
+ ],
792
+ name: "setAuthority",
793
+ outputs: [],
794
+ stateMutability: "nonpayable",
795
+ type: "function",
796
+ },
797
+ {
798
+ inputs: [
799
+ {
800
+ internalType: "uint64",
801
+ name: "_withdrawDelay",
802
+ type: "uint64",
803
+ },
804
+ ],
805
+ name: "setWithdrawDelay",
806
+ outputs: [],
807
+ stateMutability: "nonpayable",
808
+ type: "function",
809
+ },
810
+ {
811
+ inputs: [
812
+ {
813
+ internalType: "bytes4",
814
+ name: "interfaceId",
815
+ type: "bytes4",
816
+ },
817
+ ],
818
+ name: "supportsInterface",
819
+ outputs: [
820
+ {
821
+ internalType: "bool",
822
+ name: "",
823
+ type: "bool",
824
+ },
825
+ ],
826
+ stateMutability: "view",
827
+ type: "function",
828
+ },
829
+ {
830
+ inputs: [],
831
+ name: "symbol",
832
+ outputs: [
833
+ {
834
+ internalType: "string",
835
+ name: "",
836
+ type: "string",
837
+ },
838
+ ],
839
+ stateMutability: "view",
840
+ type: "function",
841
+ },
842
+ {
843
+ inputs: [
844
+ {
845
+ internalType: "uint256",
846
+ name: "index",
847
+ type: "uint256",
848
+ },
849
+ ],
850
+ name: "tokenByIndex",
851
+ outputs: [
852
+ {
853
+ internalType: "uint256",
854
+ name: "",
855
+ type: "uint256",
856
+ },
857
+ ],
858
+ stateMutability: "view",
859
+ type: "function",
860
+ },
861
+ {
862
+ inputs: [
863
+ {
864
+ internalType: "address",
865
+ name: "owner",
866
+ type: "address",
867
+ },
868
+ {
869
+ internalType: "uint256",
870
+ name: "index",
871
+ type: "uint256",
872
+ },
873
+ ],
874
+ name: "tokenOfOwnerByIndex",
875
+ outputs: [
876
+ {
877
+ internalType: "uint256",
878
+ name: "",
879
+ type: "uint256",
880
+ },
881
+ ],
882
+ stateMutability: "view",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [
887
+ {
888
+ internalType: "uint256",
889
+ name: "tokenId",
890
+ type: "uint256",
891
+ },
892
+ ],
893
+ name: "tokenURI",
894
+ outputs: [
895
+ {
896
+ internalType: "string",
897
+ name: "",
898
+ type: "string",
899
+ },
900
+ ],
901
+ stateMutability: "view",
902
+ type: "function",
903
+ },
904
+ {
905
+ inputs: [],
906
+ name: "totalSupply",
907
+ outputs: [
908
+ {
909
+ internalType: "uint256",
910
+ name: "",
911
+ type: "uint256",
912
+ },
913
+ ],
914
+ stateMutability: "view",
915
+ type: "function",
916
+ },
917
+ {
918
+ inputs: [
919
+ {
920
+ internalType: "address",
921
+ name: "from",
922
+ type: "address",
923
+ },
924
+ {
925
+ internalType: "address",
926
+ name: "to",
927
+ type: "address",
928
+ },
929
+ {
930
+ internalType: "uint256",
931
+ name: "tokenId",
932
+ type: "uint256",
933
+ },
934
+ ],
935
+ name: "transferFrom",
936
+ outputs: [],
937
+ stateMutability: "nonpayable",
938
+ type: "function",
939
+ },
940
+ {
941
+ inputs: [
942
+ {
943
+ internalType: "address",
944
+ name: "newImplementation",
945
+ type: "address",
946
+ },
947
+ {
948
+ internalType: "bytes",
949
+ name: "data",
950
+ type: "bytes",
951
+ },
952
+ ],
953
+ name: "upgradeToAndCall",
954
+ outputs: [],
955
+ stateMutability: "payable",
956
+ type: "function",
957
+ },
958
+ {
959
+ inputs: [],
960
+ name: "withdrawDelay",
961
+ outputs: [
962
+ {
963
+ internalType: "uint256",
964
+ name: "",
965
+ type: "uint256",
966
+ },
967
+ ],
968
+ stateMutability: "view",
969
+ type: "function",
970
+ },
971
+ ];
972
+ class WithdrawalQueue__factory {
973
+ static abi = _abi;
974
+ static createInterface() {
975
+ return new ethers_1.Interface(_abi);
976
+ }
977
+ static connect(address, runner) {
978
+ return new ethers_1.Contract(address, _abi, runner);
979
+ }
980
+ }
981
+ exports.WithdrawalQueue__factory = WithdrawalQueue__factory;