@seesign/kit 0.0.0-stage → 0.1.0

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/dist/abi.js ADDED
@@ -0,0 +1,1787 @@
1
+ // Generated by sdk/scripts/gen-abi.ts from contracts/out (forge build). Do not edit by hand.
2
+ export const seeSignWalletAbi = [
3
+ {
4
+ "type": "constructor",
5
+ "inputs": [
6
+ {
7
+ "name": "owner_",
8
+ "type": "address",
9
+ "internalType": "address"
10
+ },
11
+ {
12
+ "name": "timelock_",
13
+ "type": "uint64",
14
+ "internalType": "uint64"
15
+ }
16
+ ],
17
+ "stateMutability": "nonpayable"
18
+ },
19
+ {
20
+ "type": "receive",
21
+ "stateMutability": "payable"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "MAX_PAYEES",
26
+ "inputs": [],
27
+ "outputs": [
28
+ {
29
+ "name": "",
30
+ "type": "uint256",
31
+ "internalType": "uint256"
32
+ }
33
+ ],
34
+ "stateMutability": "view"
35
+ },
36
+ {
37
+ "type": "function",
38
+ "name": "MAX_PENDING",
39
+ "inputs": [],
40
+ "outputs": [
41
+ {
42
+ "name": "",
43
+ "type": "uint256",
44
+ "internalType": "uint256"
45
+ }
46
+ ],
47
+ "stateMutability": "view"
48
+ },
49
+ {
50
+ "type": "function",
51
+ "name": "MAX_TIMELOCK",
52
+ "inputs": [],
53
+ "outputs": [
54
+ {
55
+ "name": "",
56
+ "type": "uint64",
57
+ "internalType": "uint64"
58
+ }
59
+ ],
60
+ "stateMutability": "view"
61
+ },
62
+ {
63
+ "type": "function",
64
+ "name": "MAX_TOKENS",
65
+ "inputs": [],
66
+ "outputs": [
67
+ {
68
+ "name": "",
69
+ "type": "uint256",
70
+ "internalType": "uint256"
71
+ }
72
+ ],
73
+ "stateMutability": "view"
74
+ },
75
+ {
76
+ "type": "function",
77
+ "name": "MIN_TIMELOCK",
78
+ "inputs": [],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "uint64",
83
+ "internalType": "uint64"
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
88
+ {
89
+ "type": "function",
90
+ "name": "addPayee",
91
+ "inputs": [
92
+ {
93
+ "name": "payee",
94
+ "type": "address",
95
+ "internalType": "address"
96
+ },
97
+ {
98
+ "name": "label",
99
+ "type": "string",
100
+ "internalType": "string"
101
+ },
102
+ {
103
+ "name": "nonce_",
104
+ "type": "uint64",
105
+ "internalType": "uint64"
106
+ },
107
+ {
108
+ "name": "expiry",
109
+ "type": "uint64",
110
+ "internalType": "uint64"
111
+ },
112
+ {
113
+ "name": "signature",
114
+ "type": "bytes",
115
+ "internalType": "bytes"
116
+ }
117
+ ],
118
+ "outputs": [],
119
+ "stateMutability": "nonpayable"
120
+ },
121
+ {
122
+ "type": "function",
123
+ "name": "cancelAdd",
124
+ "inputs": [
125
+ {
126
+ "name": "payee",
127
+ "type": "address",
128
+ "internalType": "address"
129
+ }
130
+ ],
131
+ "outputs": [],
132
+ "stateMutability": "nonpayable"
133
+ },
134
+ {
135
+ "type": "function",
136
+ "name": "cancelAddSigned",
137
+ "inputs": [
138
+ {
139
+ "name": "payee",
140
+ "type": "address",
141
+ "internalType": "address"
142
+ },
143
+ {
144
+ "name": "nonce_",
145
+ "type": "uint64",
146
+ "internalType": "uint64"
147
+ },
148
+ {
149
+ "name": "expiry",
150
+ "type": "uint64",
151
+ "internalType": "uint64"
152
+ },
153
+ {
154
+ "name": "signature",
155
+ "type": "bytes",
156
+ "internalType": "bytes"
157
+ }
158
+ ],
159
+ "outputs": [],
160
+ "stateMutability": "nonpayable"
161
+ },
162
+ {
163
+ "type": "function",
164
+ "name": "dailyLimit",
165
+ "inputs": [
166
+ {
167
+ "name": "token",
168
+ "type": "address",
169
+ "internalType": "address"
170
+ }
171
+ ],
172
+ "outputs": [
173
+ {
174
+ "name": "",
175
+ "type": "uint256",
176
+ "internalType": "uint256"
177
+ }
178
+ ],
179
+ "stateMutability": "view"
180
+ },
181
+ {
182
+ "type": "function",
183
+ "name": "factory",
184
+ "inputs": [],
185
+ "outputs": [
186
+ {
187
+ "name": "",
188
+ "type": "address",
189
+ "internalType": "address"
190
+ }
191
+ ],
192
+ "stateMutability": "view"
193
+ },
194
+ {
195
+ "type": "function",
196
+ "name": "finalizeAdd",
197
+ "inputs": [
198
+ {
199
+ "name": "payee",
200
+ "type": "address",
201
+ "internalType": "address"
202
+ }
203
+ ],
204
+ "outputs": [],
205
+ "stateMutability": "nonpayable"
206
+ },
207
+ {
208
+ "type": "function",
209
+ "name": "labelHolder",
210
+ "inputs": [
211
+ {
212
+ "name": "labelHash",
213
+ "type": "bytes32",
214
+ "internalType": "bytes32"
215
+ }
216
+ ],
217
+ "outputs": [
218
+ {
219
+ "name": "",
220
+ "type": "address",
221
+ "internalType": "address"
222
+ }
223
+ ],
224
+ "stateMutability": "view"
225
+ },
226
+ {
227
+ "type": "function",
228
+ "name": "labelOf",
229
+ "inputs": [
230
+ {
231
+ "name": "payee",
232
+ "type": "address",
233
+ "internalType": "address"
234
+ }
235
+ ],
236
+ "outputs": [
237
+ {
238
+ "name": "",
239
+ "type": "string",
240
+ "internalType": "string"
241
+ }
242
+ ],
243
+ "stateMutability": "view"
244
+ },
245
+ {
246
+ "type": "function",
247
+ "name": "nonce",
248
+ "inputs": [],
249
+ "outputs": [
250
+ {
251
+ "name": "",
252
+ "type": "uint64",
253
+ "internalType": "uint64"
254
+ }
255
+ ],
256
+ "stateMutability": "view"
257
+ },
258
+ {
259
+ "type": "function",
260
+ "name": "owner",
261
+ "inputs": [],
262
+ "outputs": [
263
+ {
264
+ "name": "",
265
+ "type": "address",
266
+ "internalType": "address"
267
+ }
268
+ ],
269
+ "stateMutability": "view"
270
+ },
271
+ {
272
+ "type": "function",
273
+ "name": "pause",
274
+ "inputs": [],
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable"
277
+ },
278
+ {
279
+ "type": "function",
280
+ "name": "paused",
281
+ "inputs": [],
282
+ "outputs": [
283
+ {
284
+ "name": "",
285
+ "type": "bool",
286
+ "internalType": "bool"
287
+ }
288
+ ],
289
+ "stateMutability": "view"
290
+ },
291
+ {
292
+ "type": "function",
293
+ "name": "payees",
294
+ "inputs": [],
295
+ "outputs": [
296
+ {
297
+ "name": "addrs",
298
+ "type": "address[]",
299
+ "internalType": "address[]"
300
+ },
301
+ {
302
+ "name": "labels",
303
+ "type": "string[]",
304
+ "internalType": "string[]"
305
+ }
306
+ ],
307
+ "stateMutability": "view"
308
+ },
309
+ {
310
+ "type": "function",
311
+ "name": "pendingPayees",
312
+ "inputs": [],
313
+ "outputs": [
314
+ {
315
+ "name": "addrs",
316
+ "type": "address[]",
317
+ "internalType": "address[]"
318
+ },
319
+ {
320
+ "name": "labels",
321
+ "type": "string[]",
322
+ "internalType": "string[]"
323
+ },
324
+ {
325
+ "name": "ready",
326
+ "type": "uint64[]",
327
+ "internalType": "uint64[]"
328
+ }
329
+ ],
330
+ "stateMutability": "view"
331
+ },
332
+ {
333
+ "type": "function",
334
+ "name": "previewAddPayee",
335
+ "inputs": [
336
+ {
337
+ "name": "payee",
338
+ "type": "address",
339
+ "internalType": "address"
340
+ },
341
+ {
342
+ "name": "label",
343
+ "type": "string",
344
+ "internalType": "string"
345
+ },
346
+ {
347
+ "name": "nonce_",
348
+ "type": "uint64",
349
+ "internalType": "uint64"
350
+ },
351
+ {
352
+ "name": "expiry",
353
+ "type": "uint64",
354
+ "internalType": "uint64"
355
+ }
356
+ ],
357
+ "outputs": [
358
+ {
359
+ "name": "",
360
+ "type": "bytes",
361
+ "internalType": "bytes"
362
+ }
363
+ ],
364
+ "stateMutability": "view"
365
+ },
366
+ {
367
+ "type": "function",
368
+ "name": "previewCancelAdd",
369
+ "inputs": [
370
+ {
371
+ "name": "payee",
372
+ "type": "address",
373
+ "internalType": "address"
374
+ },
375
+ {
376
+ "name": "nonce_",
377
+ "type": "uint64",
378
+ "internalType": "uint64"
379
+ },
380
+ {
381
+ "name": "expiry",
382
+ "type": "uint64",
383
+ "internalType": "uint64"
384
+ }
385
+ ],
386
+ "outputs": [
387
+ {
388
+ "name": "",
389
+ "type": "bytes",
390
+ "internalType": "bytes"
391
+ }
392
+ ],
393
+ "stateMutability": "view"
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "previewRemovePayee",
398
+ "inputs": [
399
+ {
400
+ "name": "payee",
401
+ "type": "address",
402
+ "internalType": "address"
403
+ },
404
+ {
405
+ "name": "nonce_",
406
+ "type": "uint64",
407
+ "internalType": "uint64"
408
+ },
409
+ {
410
+ "name": "expiry",
411
+ "type": "uint64",
412
+ "internalType": "uint64"
413
+ }
414
+ ],
415
+ "outputs": [
416
+ {
417
+ "name": "",
418
+ "type": "bytes",
419
+ "internalType": "bytes"
420
+ }
421
+ ],
422
+ "stateMutability": "view"
423
+ },
424
+ {
425
+ "type": "function",
426
+ "name": "previewSetLimit",
427
+ "inputs": [
428
+ {
429
+ "name": "token",
430
+ "type": "address",
431
+ "internalType": "address"
432
+ },
433
+ {
434
+ "name": "newLimit",
435
+ "type": "uint256",
436
+ "internalType": "uint256"
437
+ },
438
+ {
439
+ "name": "nonce_",
440
+ "type": "uint64",
441
+ "internalType": "uint64"
442
+ },
443
+ {
444
+ "name": "expiry",
445
+ "type": "uint64",
446
+ "internalType": "uint64"
447
+ }
448
+ ],
449
+ "outputs": [
450
+ {
451
+ "name": "",
452
+ "type": "bytes",
453
+ "internalType": "bytes"
454
+ }
455
+ ],
456
+ "stateMutability": "view"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "name": "previewTransfer",
461
+ "inputs": [
462
+ {
463
+ "name": "token",
464
+ "type": "address",
465
+ "internalType": "address"
466
+ },
467
+ {
468
+ "name": "payee",
469
+ "type": "address",
470
+ "internalType": "address"
471
+ },
472
+ {
473
+ "name": "amount",
474
+ "type": "uint256",
475
+ "internalType": "uint256"
476
+ },
477
+ {
478
+ "name": "nonce_",
479
+ "type": "uint64",
480
+ "internalType": "uint64"
481
+ },
482
+ {
483
+ "name": "expiry",
484
+ "type": "uint64",
485
+ "internalType": "uint64"
486
+ }
487
+ ],
488
+ "outputs": [
489
+ {
490
+ "name": "",
491
+ "type": "bytes",
492
+ "internalType": "bytes"
493
+ }
494
+ ],
495
+ "stateMutability": "view"
496
+ },
497
+ {
498
+ "type": "function",
499
+ "name": "previewUpgrade",
500
+ "inputs": [
501
+ {
502
+ "name": "newWallet",
503
+ "type": "address",
504
+ "internalType": "address"
505
+ },
506
+ {
507
+ "name": "nonce_",
508
+ "type": "uint64",
509
+ "internalType": "uint64"
510
+ },
511
+ {
512
+ "name": "expiry",
513
+ "type": "uint64",
514
+ "internalType": "uint64"
515
+ }
516
+ ],
517
+ "outputs": [
518
+ {
519
+ "name": "",
520
+ "type": "bytes",
521
+ "internalType": "bytes"
522
+ }
523
+ ],
524
+ "stateMutability": "view"
525
+ },
526
+ {
527
+ "type": "function",
528
+ "name": "readyAt",
529
+ "inputs": [
530
+ {
531
+ "name": "payee",
532
+ "type": "address",
533
+ "internalType": "address"
534
+ }
535
+ ],
536
+ "outputs": [
537
+ {
538
+ "name": "",
539
+ "type": "uint64",
540
+ "internalType": "uint64"
541
+ }
542
+ ],
543
+ "stateMutability": "view"
544
+ },
545
+ {
546
+ "type": "function",
547
+ "name": "remainingToday",
548
+ "inputs": [
549
+ {
550
+ "name": "token",
551
+ "type": "address",
552
+ "internalType": "address"
553
+ }
554
+ ],
555
+ "outputs": [
556
+ {
557
+ "name": "",
558
+ "type": "uint256",
559
+ "internalType": "uint256"
560
+ }
561
+ ],
562
+ "stateMutability": "view"
563
+ },
564
+ {
565
+ "type": "function",
566
+ "name": "removePayee",
567
+ "inputs": [
568
+ {
569
+ "name": "payee",
570
+ "type": "address",
571
+ "internalType": "address"
572
+ }
573
+ ],
574
+ "outputs": [],
575
+ "stateMutability": "nonpayable"
576
+ },
577
+ {
578
+ "type": "function",
579
+ "name": "removePayeeSigned",
580
+ "inputs": [
581
+ {
582
+ "name": "payee",
583
+ "type": "address",
584
+ "internalType": "address"
585
+ },
586
+ {
587
+ "name": "nonce_",
588
+ "type": "uint64",
589
+ "internalType": "uint64"
590
+ },
591
+ {
592
+ "name": "expiry",
593
+ "type": "uint64",
594
+ "internalType": "uint64"
595
+ },
596
+ {
597
+ "name": "signature",
598
+ "type": "bytes",
599
+ "internalType": "bytes"
600
+ }
601
+ ],
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable"
604
+ },
605
+ {
606
+ "type": "function",
607
+ "name": "setLimit",
608
+ "inputs": [
609
+ {
610
+ "name": "token",
611
+ "type": "address",
612
+ "internalType": "address"
613
+ },
614
+ {
615
+ "name": "newLimit",
616
+ "type": "uint256",
617
+ "internalType": "uint256"
618
+ },
619
+ {
620
+ "name": "nonce_",
621
+ "type": "uint64",
622
+ "internalType": "uint64"
623
+ },
624
+ {
625
+ "name": "expiry",
626
+ "type": "uint64",
627
+ "internalType": "uint64"
628
+ },
629
+ {
630
+ "name": "signature",
631
+ "type": "bytes",
632
+ "internalType": "bytes"
633
+ }
634
+ ],
635
+ "outputs": [],
636
+ "stateMutability": "nonpayable"
637
+ },
638
+ {
639
+ "type": "function",
640
+ "name": "setLimitClassical",
641
+ "inputs": [
642
+ {
643
+ "name": "token",
644
+ "type": "address",
645
+ "internalType": "address"
646
+ },
647
+ {
648
+ "name": "newLimit",
649
+ "type": "uint256",
650
+ "internalType": "uint256"
651
+ }
652
+ ],
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable"
655
+ },
656
+ {
657
+ "type": "function",
658
+ "name": "spentToday",
659
+ "inputs": [
660
+ {
661
+ "name": "token",
662
+ "type": "address",
663
+ "internalType": "address"
664
+ }
665
+ ],
666
+ "outputs": [
667
+ {
668
+ "name": "",
669
+ "type": "uint256",
670
+ "internalType": "uint256"
671
+ }
672
+ ],
673
+ "stateMutability": "view"
674
+ },
675
+ {
676
+ "type": "function",
677
+ "name": "timelock",
678
+ "inputs": [],
679
+ "outputs": [
680
+ {
681
+ "name": "",
682
+ "type": "uint64",
683
+ "internalType": "uint64"
684
+ }
685
+ ],
686
+ "stateMutability": "view"
687
+ },
688
+ {
689
+ "type": "function",
690
+ "name": "tokens",
691
+ "inputs": [],
692
+ "outputs": [
693
+ {
694
+ "name": "",
695
+ "type": "address[]",
696
+ "internalType": "address[]"
697
+ }
698
+ ],
699
+ "stateMutability": "view"
700
+ },
701
+ {
702
+ "type": "function",
703
+ "name": "transfer",
704
+ "inputs": [
705
+ {
706
+ "name": "token",
707
+ "type": "address",
708
+ "internalType": "address"
709
+ },
710
+ {
711
+ "name": "payee",
712
+ "type": "address",
713
+ "internalType": "address"
714
+ },
715
+ {
716
+ "name": "amount",
717
+ "type": "uint256",
718
+ "internalType": "uint256"
719
+ },
720
+ {
721
+ "name": "nonce_",
722
+ "type": "uint64",
723
+ "internalType": "uint64"
724
+ },
725
+ {
726
+ "name": "expiry",
727
+ "type": "uint64",
728
+ "internalType": "uint64"
729
+ },
730
+ {
731
+ "name": "signature",
732
+ "type": "bytes",
733
+ "internalType": "bytes"
734
+ }
735
+ ],
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable"
738
+ },
739
+ {
740
+ "type": "function",
741
+ "name": "unpause",
742
+ "inputs": [],
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable"
745
+ },
746
+ {
747
+ "type": "function",
748
+ "name": "upgrade",
749
+ "inputs": [
750
+ {
751
+ "name": "newWallet",
752
+ "type": "address",
753
+ "internalType": "address"
754
+ },
755
+ {
756
+ "name": "nonce_",
757
+ "type": "uint64",
758
+ "internalType": "uint64"
759
+ },
760
+ {
761
+ "name": "expiry",
762
+ "type": "uint64",
763
+ "internalType": "uint64"
764
+ },
765
+ {
766
+ "name": "signature",
767
+ "type": "bytes",
768
+ "internalType": "bytes"
769
+ }
770
+ ],
771
+ "outputs": [],
772
+ "stateMutability": "nonpayable"
773
+ },
774
+ {
775
+ "type": "event",
776
+ "name": "AddCancelled",
777
+ "inputs": [
778
+ {
779
+ "name": "payee",
780
+ "type": "address",
781
+ "indexed": true,
782
+ "internalType": "address"
783
+ },
784
+ {
785
+ "name": "label",
786
+ "type": "string",
787
+ "indexed": false,
788
+ "internalType": "string"
789
+ },
790
+ {
791
+ "name": "signed",
792
+ "type": "bool",
793
+ "indexed": false,
794
+ "internalType": "bool"
795
+ }
796
+ ],
797
+ "anonymous": false
798
+ },
799
+ {
800
+ "type": "event",
801
+ "name": "Deposited",
802
+ "inputs": [
803
+ {
804
+ "name": "from",
805
+ "type": "address",
806
+ "indexed": true,
807
+ "internalType": "address"
808
+ },
809
+ {
810
+ "name": "amount",
811
+ "type": "uint256",
812
+ "indexed": false,
813
+ "internalType": "uint256"
814
+ }
815
+ ],
816
+ "anonymous": false
817
+ },
818
+ {
819
+ "type": "event",
820
+ "name": "LimitSet",
821
+ "inputs": [
822
+ {
823
+ "name": "token",
824
+ "type": "address",
825
+ "indexed": true,
826
+ "internalType": "address"
827
+ },
828
+ {
829
+ "name": "oldLimit",
830
+ "type": "uint256",
831
+ "indexed": false,
832
+ "internalType": "uint256"
833
+ },
834
+ {
835
+ "name": "newLimit",
836
+ "type": "uint256",
837
+ "indexed": false,
838
+ "internalType": "uint256"
839
+ },
840
+ {
841
+ "name": "signed",
842
+ "type": "bool",
843
+ "indexed": false,
844
+ "internalType": "bool"
845
+ }
846
+ ],
847
+ "anonymous": false
848
+ },
849
+ {
850
+ "type": "event",
851
+ "name": "Paused",
852
+ "inputs": [
853
+ {
854
+ "name": "by",
855
+ "type": "address",
856
+ "indexed": true,
857
+ "internalType": "address"
858
+ }
859
+ ],
860
+ "anonymous": false
861
+ },
862
+ {
863
+ "type": "event",
864
+ "name": "PayeeAddPending",
865
+ "inputs": [
866
+ {
867
+ "name": "payee",
868
+ "type": "address",
869
+ "indexed": true,
870
+ "internalType": "address"
871
+ },
872
+ {
873
+ "name": "label",
874
+ "type": "string",
875
+ "indexed": false,
876
+ "internalType": "string"
877
+ },
878
+ {
879
+ "name": "readyAt",
880
+ "type": "uint64",
881
+ "indexed": false,
882
+ "internalType": "uint64"
883
+ }
884
+ ],
885
+ "anonymous": false
886
+ },
887
+ {
888
+ "type": "event",
889
+ "name": "PayeeAdded",
890
+ "inputs": [
891
+ {
892
+ "name": "payee",
893
+ "type": "address",
894
+ "indexed": true,
895
+ "internalType": "address"
896
+ },
897
+ {
898
+ "name": "label",
899
+ "type": "string",
900
+ "indexed": false,
901
+ "internalType": "string"
902
+ }
903
+ ],
904
+ "anonymous": false
905
+ },
906
+ {
907
+ "type": "event",
908
+ "name": "PayeeRemoved",
909
+ "inputs": [
910
+ {
911
+ "name": "payee",
912
+ "type": "address",
913
+ "indexed": true,
914
+ "internalType": "address"
915
+ },
916
+ {
917
+ "name": "label",
918
+ "type": "string",
919
+ "indexed": false,
920
+ "internalType": "string"
921
+ },
922
+ {
923
+ "name": "signed",
924
+ "type": "bool",
925
+ "indexed": false,
926
+ "internalType": "bool"
927
+ }
928
+ ],
929
+ "anonymous": false
930
+ },
931
+ {
932
+ "type": "event",
933
+ "name": "Signed",
934
+ "inputs": [
935
+ {
936
+ "name": "nonce",
937
+ "type": "uint64",
938
+ "indexed": true,
939
+ "internalType": "uint64"
940
+ },
941
+ {
942
+ "name": "sentenceHash",
943
+ "type": "bytes32",
944
+ "indexed": false,
945
+ "internalType": "bytes32"
946
+ }
947
+ ],
948
+ "anonymous": false
949
+ },
950
+ {
951
+ "type": "event",
952
+ "name": "Transferred",
953
+ "inputs": [
954
+ {
955
+ "name": "token",
956
+ "type": "address",
957
+ "indexed": true,
958
+ "internalType": "address"
959
+ },
960
+ {
961
+ "name": "payee",
962
+ "type": "address",
963
+ "indexed": true,
964
+ "internalType": "address"
965
+ },
966
+ {
967
+ "name": "amount",
968
+ "type": "uint256",
969
+ "indexed": false,
970
+ "internalType": "uint256"
971
+ },
972
+ {
973
+ "name": "nonce",
974
+ "type": "uint64",
975
+ "indexed": false,
976
+ "internalType": "uint64"
977
+ }
978
+ ],
979
+ "anonymous": false
980
+ },
981
+ {
982
+ "type": "event",
983
+ "name": "Unpaused",
984
+ "inputs": [
985
+ {
986
+ "name": "by",
987
+ "type": "address",
988
+ "indexed": true,
989
+ "internalType": "address"
990
+ }
991
+ ],
992
+ "anonymous": false
993
+ },
994
+ {
995
+ "type": "event",
996
+ "name": "UpgradeTokenSkipped",
997
+ "inputs": [
998
+ {
999
+ "name": "token",
1000
+ "type": "address",
1001
+ "indexed": true,
1002
+ "internalType": "address"
1003
+ }
1004
+ ],
1005
+ "anonymous": false
1006
+ },
1007
+ {
1008
+ "type": "event",
1009
+ "name": "Upgraded",
1010
+ "inputs": [
1011
+ {
1012
+ "name": "newWallet",
1013
+ "type": "address",
1014
+ "indexed": true,
1015
+ "internalType": "address"
1016
+ },
1017
+ {
1018
+ "name": "nonce",
1019
+ "type": "uint64",
1020
+ "indexed": false,
1021
+ "internalType": "uint64"
1022
+ }
1023
+ ],
1024
+ "anonymous": false
1025
+ },
1026
+ {
1027
+ "type": "error",
1028
+ "name": "AlreadyPayee",
1029
+ "inputs": [
1030
+ {
1031
+ "name": "payee",
1032
+ "type": "address",
1033
+ "internalType": "address"
1034
+ }
1035
+ ]
1036
+ },
1037
+ {
1038
+ "type": "error",
1039
+ "name": "AlreadyPending",
1040
+ "inputs": [
1041
+ {
1042
+ "name": "payee",
1043
+ "type": "address",
1044
+ "internalType": "address"
1045
+ }
1046
+ ]
1047
+ },
1048
+ {
1049
+ "type": "error",
1050
+ "name": "BadDecimals",
1051
+ "inputs": []
1052
+ },
1053
+ {
1054
+ "type": "error",
1055
+ "name": "BadLabel",
1056
+ "inputs": []
1057
+ },
1058
+ {
1059
+ "type": "error",
1060
+ "name": "BadNonce",
1061
+ "inputs": [
1062
+ {
1063
+ "name": "expected",
1064
+ "type": "uint64",
1065
+ "internalType": "uint64"
1066
+ },
1067
+ {
1068
+ "name": "got",
1069
+ "type": "uint64",
1070
+ "internalType": "uint64"
1071
+ }
1072
+ ]
1073
+ },
1074
+ {
1075
+ "type": "error",
1076
+ "name": "BadPayee",
1077
+ "inputs": [
1078
+ {
1079
+ "name": "payee",
1080
+ "type": "address",
1081
+ "internalType": "address"
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "type": "error",
1087
+ "name": "BadPqcSignature",
1088
+ "inputs": []
1089
+ },
1090
+ {
1091
+ "type": "error",
1092
+ "name": "BadSymbol",
1093
+ "inputs": []
1094
+ },
1095
+ {
1096
+ "type": "error",
1097
+ "name": "BadTimelock",
1098
+ "inputs": []
1099
+ },
1100
+ {
1101
+ "type": "error",
1102
+ "name": "BadUpgradeTarget",
1103
+ "inputs": [
1104
+ {
1105
+ "name": "newWallet",
1106
+ "type": "address",
1107
+ "internalType": "address"
1108
+ }
1109
+ ]
1110
+ },
1111
+ {
1112
+ "type": "error",
1113
+ "name": "BookFull",
1114
+ "inputs": []
1115
+ },
1116
+ {
1117
+ "type": "error",
1118
+ "name": "Expired",
1119
+ "inputs": [
1120
+ {
1121
+ "name": "expiry",
1122
+ "type": "uint64",
1123
+ "internalType": "uint64"
1124
+ },
1125
+ {
1126
+ "name": "blockNumber",
1127
+ "type": "uint256",
1128
+ "internalType": "uint256"
1129
+ }
1130
+ ]
1131
+ },
1132
+ {
1133
+ "type": "error",
1134
+ "name": "InsufficientBalance",
1135
+ "inputs": [
1136
+ {
1137
+ "name": "token",
1138
+ "type": "address",
1139
+ "internalType": "address"
1140
+ },
1141
+ {
1142
+ "name": "balance",
1143
+ "type": "uint256",
1144
+ "internalType": "uint256"
1145
+ },
1146
+ {
1147
+ "name": "amount",
1148
+ "type": "uint256",
1149
+ "internalType": "uint256"
1150
+ }
1151
+ ]
1152
+ },
1153
+ {
1154
+ "type": "error",
1155
+ "name": "KeyNotProven",
1156
+ "inputs": []
1157
+ },
1158
+ {
1159
+ "type": "error",
1160
+ "name": "KeyNotRegistered",
1161
+ "inputs": []
1162
+ },
1163
+ {
1164
+ "type": "error",
1165
+ "name": "LabelTaken",
1166
+ "inputs": [
1167
+ {
1168
+ "name": "label",
1169
+ "type": "string",
1170
+ "internalType": "string"
1171
+ }
1172
+ ]
1173
+ },
1174
+ {
1175
+ "type": "error",
1176
+ "name": "LabelTooLong",
1177
+ "inputs": []
1178
+ },
1179
+ {
1180
+ "type": "error",
1181
+ "name": "LimitRaiseNeedsPq",
1182
+ "inputs": [
1183
+ {
1184
+ "name": "oldLimit",
1185
+ "type": "uint256",
1186
+ "internalType": "uint256"
1187
+ },
1188
+ {
1189
+ "name": "newLimit",
1190
+ "type": "uint256",
1191
+ "internalType": "uint256"
1192
+ }
1193
+ ]
1194
+ },
1195
+ {
1196
+ "type": "error",
1197
+ "name": "Lookalike",
1198
+ "inputs": [
1199
+ {
1200
+ "name": "payee",
1201
+ "type": "address",
1202
+ "internalType": "address"
1203
+ },
1204
+ {
1205
+ "name": "similarTo",
1206
+ "type": "address",
1207
+ "internalType": "address"
1208
+ }
1209
+ ]
1210
+ },
1211
+ {
1212
+ "type": "error",
1213
+ "name": "NotOwner",
1214
+ "inputs": []
1215
+ },
1216
+ {
1217
+ "type": "error",
1218
+ "name": "NotPayee",
1219
+ "inputs": [
1220
+ {
1221
+ "name": "payee",
1222
+ "type": "address",
1223
+ "internalType": "address"
1224
+ }
1225
+ ]
1226
+ },
1227
+ {
1228
+ "type": "error",
1229
+ "name": "NotPending",
1230
+ "inputs": [
1231
+ {
1232
+ "name": "payee",
1233
+ "type": "address",
1234
+ "internalType": "address"
1235
+ }
1236
+ ]
1237
+ },
1238
+ {
1239
+ "type": "error",
1240
+ "name": "OverDailyLimit",
1241
+ "inputs": [
1242
+ {
1243
+ "name": "token",
1244
+ "type": "address",
1245
+ "internalType": "address"
1246
+ },
1247
+ {
1248
+ "name": "amount",
1249
+ "type": "uint256",
1250
+ "internalType": "uint256"
1251
+ },
1252
+ {
1253
+ "name": "remaining",
1254
+ "type": "uint256",
1255
+ "internalType": "uint256"
1256
+ }
1257
+ ]
1258
+ },
1259
+ {
1260
+ "type": "error",
1261
+ "name": "PayeeNotAllowed",
1262
+ "inputs": [
1263
+ {
1264
+ "name": "payee",
1265
+ "type": "address",
1266
+ "internalType": "address"
1267
+ }
1268
+ ]
1269
+ },
1270
+ {
1271
+ "type": "error",
1272
+ "name": "PrecompileUnavailable",
1273
+ "inputs": []
1274
+ },
1275
+ {
1276
+ "type": "error",
1277
+ "name": "ReentrancyGuardReentrantCall",
1278
+ "inputs": []
1279
+ },
1280
+ {
1281
+ "type": "error",
1282
+ "name": "SafeERC20FailedOperation",
1283
+ "inputs": [
1284
+ {
1285
+ "name": "token",
1286
+ "type": "address",
1287
+ "internalType": "address"
1288
+ }
1289
+ ]
1290
+ },
1291
+ {
1292
+ "type": "error",
1293
+ "name": "SentenceTooLong",
1294
+ "inputs": []
1295
+ },
1296
+ {
1297
+ "type": "error",
1298
+ "name": "Timelocked",
1299
+ "inputs": [
1300
+ {
1301
+ "name": "payee",
1302
+ "type": "address",
1303
+ "internalType": "address"
1304
+ },
1305
+ {
1306
+ "name": "readyAt",
1307
+ "type": "uint64",
1308
+ "internalType": "uint64"
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "type": "error",
1314
+ "name": "TokenMetadataUnavailable",
1315
+ "inputs": [
1316
+ {
1317
+ "name": "token",
1318
+ "type": "address",
1319
+ "internalType": "address"
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "type": "error",
1325
+ "name": "TooManyTokens",
1326
+ "inputs": []
1327
+ },
1328
+ {
1329
+ "type": "error",
1330
+ "name": "TransferFailed",
1331
+ "inputs": []
1332
+ },
1333
+ {
1334
+ "type": "error",
1335
+ "name": "UnsupportedChain",
1336
+ "inputs": [
1337
+ {
1338
+ "name": "chainId",
1339
+ "type": "uint256",
1340
+ "internalType": "uint256"
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "type": "error",
1346
+ "name": "WalletPaused",
1347
+ "inputs": []
1348
+ },
1349
+ {
1350
+ "type": "error",
1351
+ "name": "WrongAlgorithm",
1352
+ "inputs": [
1353
+ {
1354
+ "name": "algorithmId",
1355
+ "type": "uint8",
1356
+ "internalType": "uint8"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "type": "error",
1362
+ "name": "ZeroAddress",
1363
+ "inputs": []
1364
+ },
1365
+ {
1366
+ "type": "error",
1367
+ "name": "ZeroAmount",
1368
+ "inputs": []
1369
+ }
1370
+ ];
1371
+ export const seeSignFactoryAbi = [
1372
+ {
1373
+ "type": "constructor",
1374
+ "inputs": [
1375
+ {
1376
+ "name": "timelock_",
1377
+ "type": "uint64",
1378
+ "internalType": "uint64"
1379
+ }
1380
+ ],
1381
+ "stateMutability": "nonpayable"
1382
+ },
1383
+ {
1384
+ "type": "function",
1385
+ "name": "createWallet",
1386
+ "inputs": [
1387
+ {
1388
+ "name": "owner",
1389
+ "type": "address",
1390
+ "internalType": "address"
1391
+ }
1392
+ ],
1393
+ "outputs": [
1394
+ {
1395
+ "name": "wallet",
1396
+ "type": "address",
1397
+ "internalType": "address"
1398
+ }
1399
+ ],
1400
+ "stateMutability": "nonpayable"
1401
+ },
1402
+ {
1403
+ "type": "function",
1404
+ "name": "isRelayable",
1405
+ "inputs": [
1406
+ {
1407
+ "name": "selector",
1408
+ "type": "bytes4",
1409
+ "internalType": "bytes4"
1410
+ }
1411
+ ],
1412
+ "outputs": [
1413
+ {
1414
+ "name": "",
1415
+ "type": "bool",
1416
+ "internalType": "bool"
1417
+ }
1418
+ ],
1419
+ "stateMutability": "pure"
1420
+ },
1421
+ {
1422
+ "type": "function",
1423
+ "name": "isWallet",
1424
+ "inputs": [
1425
+ {
1426
+ "name": "wallet",
1427
+ "type": "address",
1428
+ "internalType": "address"
1429
+ }
1430
+ ],
1431
+ "outputs": [
1432
+ {
1433
+ "name": "",
1434
+ "type": "bool",
1435
+ "internalType": "bool"
1436
+ }
1437
+ ],
1438
+ "stateMutability": "view"
1439
+ },
1440
+ {
1441
+ "type": "function",
1442
+ "name": "relay",
1443
+ "inputs": [
1444
+ {
1445
+ "name": "wallet",
1446
+ "type": "address",
1447
+ "internalType": "address"
1448
+ },
1449
+ {
1450
+ "name": "data",
1451
+ "type": "bytes",
1452
+ "internalType": "bytes"
1453
+ }
1454
+ ],
1455
+ "outputs": [
1456
+ {
1457
+ "name": "result",
1458
+ "type": "bytes",
1459
+ "internalType": "bytes"
1460
+ }
1461
+ ],
1462
+ "stateMutability": "nonpayable"
1463
+ },
1464
+ {
1465
+ "type": "function",
1466
+ "name": "timelock",
1467
+ "inputs": [],
1468
+ "outputs": [
1469
+ {
1470
+ "name": "",
1471
+ "type": "uint64",
1472
+ "internalType": "uint64"
1473
+ }
1474
+ ],
1475
+ "stateMutability": "view"
1476
+ },
1477
+ {
1478
+ "type": "function",
1479
+ "name": "walletsOf",
1480
+ "inputs": [
1481
+ {
1482
+ "name": "owner",
1483
+ "type": "address",
1484
+ "internalType": "address"
1485
+ }
1486
+ ],
1487
+ "outputs": [
1488
+ {
1489
+ "name": "",
1490
+ "type": "address[]",
1491
+ "internalType": "address[]"
1492
+ }
1493
+ ],
1494
+ "stateMutability": "view"
1495
+ },
1496
+ {
1497
+ "type": "event",
1498
+ "name": "Relayed",
1499
+ "inputs": [
1500
+ {
1501
+ "name": "wallet",
1502
+ "type": "address",
1503
+ "indexed": true,
1504
+ "internalType": "address"
1505
+ },
1506
+ {
1507
+ "name": "selector",
1508
+ "type": "bytes4",
1509
+ "indexed": true,
1510
+ "internalType": "bytes4"
1511
+ },
1512
+ {
1513
+ "name": "sender",
1514
+ "type": "address",
1515
+ "indexed": true,
1516
+ "internalType": "address"
1517
+ }
1518
+ ],
1519
+ "anonymous": false
1520
+ },
1521
+ {
1522
+ "type": "event",
1523
+ "name": "WalletCreated",
1524
+ "inputs": [
1525
+ {
1526
+ "name": "owner",
1527
+ "type": "address",
1528
+ "indexed": true,
1529
+ "internalType": "address"
1530
+ },
1531
+ {
1532
+ "name": "wallet",
1533
+ "type": "address",
1534
+ "indexed": true,
1535
+ "internalType": "address"
1536
+ },
1537
+ {
1538
+ "name": "index",
1539
+ "type": "uint256",
1540
+ "indexed": false,
1541
+ "internalType": "uint256"
1542
+ }
1543
+ ],
1544
+ "anonymous": false
1545
+ },
1546
+ {
1547
+ "type": "error",
1548
+ "name": "KeyNotReady",
1549
+ "inputs": [
1550
+ {
1551
+ "name": "owner",
1552
+ "type": "address",
1553
+ "internalType": "address"
1554
+ }
1555
+ ]
1556
+ },
1557
+ {
1558
+ "type": "error",
1559
+ "name": "NotRelayable",
1560
+ "inputs": [
1561
+ {
1562
+ "name": "selector",
1563
+ "type": "bytes4",
1564
+ "internalType": "bytes4"
1565
+ }
1566
+ ]
1567
+ },
1568
+ {
1569
+ "type": "error",
1570
+ "name": "PrecompileUnavailable",
1571
+ "inputs": []
1572
+ },
1573
+ {
1574
+ "type": "error",
1575
+ "name": "UnknownWallet",
1576
+ "inputs": [
1577
+ {
1578
+ "name": "wallet",
1579
+ "type": "address",
1580
+ "internalType": "address"
1581
+ }
1582
+ ]
1583
+ }
1584
+ ];
1585
+ export const myEscrowAbi = [
1586
+ {
1587
+ "type": "constructor",
1588
+ "inputs": [
1589
+ {
1590
+ "name": "buyer_",
1591
+ "type": "address",
1592
+ "internalType": "address"
1593
+ },
1594
+ {
1595
+ "name": "seller_",
1596
+ "type": "address",
1597
+ "internalType": "address payable"
1598
+ }
1599
+ ],
1600
+ "stateMutability": "payable"
1601
+ },
1602
+ {
1603
+ "type": "function",
1604
+ "name": "buyer",
1605
+ "inputs": [],
1606
+ "outputs": [
1607
+ {
1608
+ "name": "",
1609
+ "type": "address",
1610
+ "internalType": "address"
1611
+ }
1612
+ ],
1613
+ "stateMutability": "view"
1614
+ },
1615
+ {
1616
+ "type": "function",
1617
+ "name": "release",
1618
+ "inputs": [
1619
+ {
1620
+ "name": "expiry",
1621
+ "type": "uint64",
1622
+ "internalType": "uint64"
1623
+ },
1624
+ {
1625
+ "name": "mldsaSignature",
1626
+ "type": "bytes",
1627
+ "internalType": "bytes"
1628
+ }
1629
+ ],
1630
+ "outputs": [],
1631
+ "stateMutability": "nonpayable"
1632
+ },
1633
+ {
1634
+ "type": "function",
1635
+ "name": "releaseSentence",
1636
+ "inputs": [
1637
+ {
1638
+ "name": "expiry",
1639
+ "type": "uint64",
1640
+ "internalType": "uint64"
1641
+ }
1642
+ ],
1643
+ "outputs": [
1644
+ {
1645
+ "name": "",
1646
+ "type": "bytes",
1647
+ "internalType": "bytes"
1648
+ }
1649
+ ],
1650
+ "stateMutability": "view"
1651
+ },
1652
+ {
1653
+ "type": "function",
1654
+ "name": "released",
1655
+ "inputs": [],
1656
+ "outputs": [
1657
+ {
1658
+ "name": "",
1659
+ "type": "bool",
1660
+ "internalType": "bool"
1661
+ }
1662
+ ],
1663
+ "stateMutability": "view"
1664
+ },
1665
+ {
1666
+ "type": "function",
1667
+ "name": "seller",
1668
+ "inputs": [],
1669
+ "outputs": [
1670
+ {
1671
+ "name": "",
1672
+ "type": "address",
1673
+ "internalType": "address payable"
1674
+ }
1675
+ ],
1676
+ "stateMutability": "view"
1677
+ },
1678
+ {
1679
+ "type": "error",
1680
+ "name": "AlreadyReleased",
1681
+ "inputs": []
1682
+ },
1683
+ {
1684
+ "type": "error",
1685
+ "name": "BadDecimals",
1686
+ "inputs": []
1687
+ },
1688
+ {
1689
+ "type": "error",
1690
+ "name": "BadLabel",
1691
+ "inputs": []
1692
+ },
1693
+ {
1694
+ "type": "error",
1695
+ "name": "BadPqcSignature",
1696
+ "inputs": []
1697
+ },
1698
+ {
1699
+ "type": "error",
1700
+ "name": "BadSymbol",
1701
+ "inputs": []
1702
+ },
1703
+ {
1704
+ "type": "error",
1705
+ "name": "Expired",
1706
+ "inputs": [
1707
+ {
1708
+ "name": "expiry",
1709
+ "type": "uint64",
1710
+ "internalType": "uint64"
1711
+ },
1712
+ {
1713
+ "name": "blockNumber",
1714
+ "type": "uint256",
1715
+ "internalType": "uint256"
1716
+ }
1717
+ ]
1718
+ },
1719
+ {
1720
+ "type": "error",
1721
+ "name": "KeyNotProven",
1722
+ "inputs": []
1723
+ },
1724
+ {
1725
+ "type": "error",
1726
+ "name": "KeyNotRegistered",
1727
+ "inputs": []
1728
+ },
1729
+ {
1730
+ "type": "error",
1731
+ "name": "LabelTooLong",
1732
+ "inputs": []
1733
+ },
1734
+ {
1735
+ "type": "error",
1736
+ "name": "PayoutFailed",
1737
+ "inputs": []
1738
+ },
1739
+ {
1740
+ "type": "error",
1741
+ "name": "PrecompileUnavailable",
1742
+ "inputs": []
1743
+ },
1744
+ {
1745
+ "type": "error",
1746
+ "name": "SentenceTooLong",
1747
+ "inputs": []
1748
+ },
1749
+ {
1750
+ "type": "error",
1751
+ "name": "TokenMetadataUnavailable",
1752
+ "inputs": [
1753
+ {
1754
+ "name": "token",
1755
+ "type": "address",
1756
+ "internalType": "address"
1757
+ }
1758
+ ]
1759
+ },
1760
+ {
1761
+ "type": "error",
1762
+ "name": "UnsupportedChain",
1763
+ "inputs": [
1764
+ {
1765
+ "name": "chainId",
1766
+ "type": "uint256",
1767
+ "internalType": "uint256"
1768
+ }
1769
+ ]
1770
+ },
1771
+ {
1772
+ "type": "error",
1773
+ "name": "WrongAlgorithm",
1774
+ "inputs": [
1775
+ {
1776
+ "name": "algorithmId",
1777
+ "type": "uint8",
1778
+ "internalType": "uint8"
1779
+ }
1780
+ ]
1781
+ },
1782
+ {
1783
+ "type": "error",
1784
+ "name": "ZeroAddress",
1785
+ "inputs": []
1786
+ }
1787
+ ];