@orbs-network/spot 2.6.0 → 2.6.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.
@@ -0,0 +1,942 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "IS_TEST",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bool",
10
+ "internalType": "bool"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "adapter",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "adapterUut",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "address",
36
+ "internalType": "contract DynamicP2DexAdapter"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "cosignInValue",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "cosignOutValue",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "excludeArtifacts",
70
+ "inputs": [],
71
+ "outputs": [
72
+ {
73
+ "name": "excludedArtifacts_",
74
+ "type": "string[]",
75
+ "internalType": "string[]"
76
+ }
77
+ ],
78
+ "stateMutability": "view"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "excludeContracts",
83
+ "inputs": [],
84
+ "outputs": [
85
+ {
86
+ "name": "excludedContracts_",
87
+ "type": "address[]",
88
+ "internalType": "address[]"
89
+ }
90
+ ],
91
+ "stateMutability": "view"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "excludeSelectors",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "excludedSelectors_",
100
+ "type": "tuple[]",
101
+ "internalType": "struct StdInvariant.FuzzSelector[]",
102
+ "components": [
103
+ {
104
+ "name": "addr",
105
+ "type": "address",
106
+ "internalType": "address"
107
+ },
108
+ {
109
+ "name": "selectors",
110
+ "type": "bytes4[]",
111
+ "internalType": "bytes4[]"
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "stateMutability": "view"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "excludeSenders",
121
+ "inputs": [],
122
+ "outputs": [
123
+ {
124
+ "name": "excludedSenders_",
125
+ "type": "address[]",
126
+ "internalType": "address[]"
127
+ }
128
+ ],
129
+ "stateMutability": "view"
130
+ },
131
+ {
132
+ "type": "function",
133
+ "name": "executor",
134
+ "inputs": [],
135
+ "outputs": [
136
+ {
137
+ "name": "",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "failed",
147
+ "inputs": [],
148
+ "outputs": [
149
+ {
150
+ "name": "",
151
+ "type": "bool",
152
+ "internalType": "bool"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "freshness",
160
+ "inputs": [],
161
+ "outputs": [
162
+ {
163
+ "name": "",
164
+ "type": "uint32",
165
+ "internalType": "uint32"
166
+ }
167
+ ],
168
+ "stateMutability": "view"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "inAmount",
173
+ "inputs": [],
174
+ "outputs": [
175
+ {
176
+ "name": "",
177
+ "type": "uint256",
178
+ "internalType": "uint256"
179
+ }
180
+ ],
181
+ "stateMutability": "view"
182
+ },
183
+ {
184
+ "type": "function",
185
+ "name": "inMax",
186
+ "inputs": [],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "uint256",
191
+ "internalType": "uint256"
192
+ }
193
+ ],
194
+ "stateMutability": "view"
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "inToken",
199
+ "inputs": [],
200
+ "outputs": [
201
+ {
202
+ "name": "",
203
+ "type": "address",
204
+ "internalType": "address"
205
+ }
206
+ ],
207
+ "stateMutability": "view"
208
+ },
209
+ {
210
+ "type": "function",
211
+ "name": "other",
212
+ "inputs": [],
213
+ "outputs": [
214
+ {
215
+ "name": "",
216
+ "type": "address",
217
+ "internalType": "address"
218
+ }
219
+ ],
220
+ "stateMutability": "view"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "outAmount",
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "name": "",
229
+ "type": "uint256",
230
+ "internalType": "uint256"
231
+ }
232
+ ],
233
+ "stateMutability": "view"
234
+ },
235
+ {
236
+ "type": "function",
237
+ "name": "outToken",
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "name": "",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ }
245
+ ],
246
+ "stateMutability": "view"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "permit2",
251
+ "inputs": [],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "address",
256
+ "internalType": "contract MockPermit2"
257
+ }
258
+ ],
259
+ "stateMutability": "view"
260
+ },
261
+ {
262
+ "type": "function",
263
+ "name": "reactor",
264
+ "inputs": [],
265
+ "outputs": [
266
+ {
267
+ "name": "",
268
+ "type": "address",
269
+ "internalType": "address"
270
+ }
271
+ ],
272
+ "stateMutability": "view"
273
+ },
274
+ {
275
+ "type": "function",
276
+ "name": "recipient",
277
+ "inputs": [],
278
+ "outputs": [
279
+ {
280
+ "name": "",
281
+ "type": "address",
282
+ "internalType": "address"
283
+ }
284
+ ],
285
+ "stateMutability": "view"
286
+ },
287
+ {
288
+ "type": "function",
289
+ "name": "repermit",
290
+ "inputs": [],
291
+ "outputs": [
292
+ {
293
+ "name": "",
294
+ "type": "address",
295
+ "internalType": "address"
296
+ }
297
+ ],
298
+ "stateMutability": "view"
299
+ },
300
+ {
301
+ "type": "function",
302
+ "name": "routerA",
303
+ "inputs": [],
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "address",
308
+ "internalType": "contract MockDexRouter"
309
+ }
310
+ ],
311
+ "stateMutability": "view"
312
+ },
313
+ {
314
+ "type": "function",
315
+ "name": "routerB",
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "address",
321
+ "internalType": "contract MockDexRouter"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "setUp",
329
+ "inputs": [],
330
+ "outputs": [],
331
+ "stateMutability": "nonpayable"
332
+ },
333
+ {
334
+ "type": "function",
335
+ "name": "signer",
336
+ "inputs": [],
337
+ "outputs": [
338
+ {
339
+ "name": "",
340
+ "type": "address",
341
+ "internalType": "address"
342
+ }
343
+ ],
344
+ "stateMutability": "view"
345
+ },
346
+ {
347
+ "type": "function",
348
+ "name": "signerPK",
349
+ "inputs": [],
350
+ "outputs": [
351
+ {
352
+ "name": "",
353
+ "type": "uint256",
354
+ "internalType": "uint256"
355
+ }
356
+ ],
357
+ "stateMutability": "view"
358
+ },
359
+ {
360
+ "type": "function",
361
+ "name": "slippage",
362
+ "inputs": [],
363
+ "outputs": [
364
+ {
365
+ "name": "",
366
+ "type": "uint32",
367
+ "internalType": "uint32"
368
+ }
369
+ ],
370
+ "stateMutability": "view"
371
+ },
372
+ {
373
+ "type": "function",
374
+ "name": "swapper",
375
+ "inputs": [],
376
+ "outputs": [
377
+ {
378
+ "name": "",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ }
382
+ ],
383
+ "stateMutability": "view"
384
+ },
385
+ {
386
+ "type": "function",
387
+ "name": "targetArtifactSelectors",
388
+ "inputs": [],
389
+ "outputs": [
390
+ {
391
+ "name": "targetedArtifactSelectors_",
392
+ "type": "tuple[]",
393
+ "internalType": "struct StdInvariant.FuzzArtifactSelector[]",
394
+ "components": [
395
+ {
396
+ "name": "artifact",
397
+ "type": "string",
398
+ "internalType": "string"
399
+ },
400
+ {
401
+ "name": "selectors",
402
+ "type": "bytes4[]",
403
+ "internalType": "bytes4[]"
404
+ }
405
+ ]
406
+ }
407
+ ],
408
+ "stateMutability": "view"
409
+ },
410
+ {
411
+ "type": "function",
412
+ "name": "targetArtifacts",
413
+ "inputs": [],
414
+ "outputs": [
415
+ {
416
+ "name": "targetedArtifacts_",
417
+ "type": "string[]",
418
+ "internalType": "string[]"
419
+ }
420
+ ],
421
+ "stateMutability": "view"
422
+ },
423
+ {
424
+ "type": "function",
425
+ "name": "targetContracts",
426
+ "inputs": [],
427
+ "outputs": [
428
+ {
429
+ "name": "targetedContracts_",
430
+ "type": "address[]",
431
+ "internalType": "address[]"
432
+ }
433
+ ],
434
+ "stateMutability": "view"
435
+ },
436
+ {
437
+ "type": "function",
438
+ "name": "targetInterfaces",
439
+ "inputs": [],
440
+ "outputs": [
441
+ {
442
+ "name": "targetedInterfaces_",
443
+ "type": "tuple[]",
444
+ "internalType": "struct StdInvariant.FuzzInterface[]",
445
+ "components": [
446
+ {
447
+ "name": "addr",
448
+ "type": "address",
449
+ "internalType": "address"
450
+ },
451
+ {
452
+ "name": "artifacts",
453
+ "type": "string[]",
454
+ "internalType": "string[]"
455
+ }
456
+ ]
457
+ }
458
+ ],
459
+ "stateMutability": "view"
460
+ },
461
+ {
462
+ "type": "function",
463
+ "name": "targetSelectors",
464
+ "inputs": [],
465
+ "outputs": [
466
+ {
467
+ "name": "targetedSelectors_",
468
+ "type": "tuple[]",
469
+ "internalType": "struct StdInvariant.FuzzSelector[]",
470
+ "components": [
471
+ {
472
+ "name": "addr",
473
+ "type": "address",
474
+ "internalType": "address"
475
+ },
476
+ {
477
+ "name": "selectors",
478
+ "type": "bytes4[]",
479
+ "internalType": "bytes4[]"
480
+ }
481
+ ]
482
+ }
483
+ ],
484
+ "stateMutability": "view"
485
+ },
486
+ {
487
+ "type": "function",
488
+ "name": "targetSenders",
489
+ "inputs": [],
490
+ "outputs": [
491
+ {
492
+ "name": "targetedSenders_",
493
+ "type": "address[]",
494
+ "internalType": "address[]"
495
+ }
496
+ ],
497
+ "stateMutability": "view"
498
+ },
499
+ {
500
+ "type": "function",
501
+ "name": "test_swap_reverts_invalid_target",
502
+ "inputs": [],
503
+ "outputs": [],
504
+ "stateMutability": "nonpayable"
505
+ },
506
+ {
507
+ "type": "function",
508
+ "name": "test_swap_uses_dynamic_target_for_permit2_and_call",
509
+ "inputs": [],
510
+ "outputs": [],
511
+ "stateMutability": "nonpayable"
512
+ },
513
+ {
514
+ "type": "function",
515
+ "name": "token",
516
+ "inputs": [],
517
+ "outputs": [
518
+ {
519
+ "name": "",
520
+ "type": "address",
521
+ "internalType": "contract ERC20Mock"
522
+ }
523
+ ],
524
+ "stateMutability": "view"
525
+ },
526
+ {
527
+ "type": "function",
528
+ "name": "token2",
529
+ "inputs": [],
530
+ "outputs": [
531
+ {
532
+ "name": "",
533
+ "type": "address",
534
+ "internalType": "contract ERC20Mock"
535
+ }
536
+ ],
537
+ "stateMutability": "view"
538
+ },
539
+ {
540
+ "type": "function",
541
+ "name": "triggerLower",
542
+ "inputs": [],
543
+ "outputs": [
544
+ {
545
+ "name": "",
546
+ "type": "uint256",
547
+ "internalType": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view"
551
+ },
552
+ {
553
+ "type": "function",
554
+ "name": "triggerUpper",
555
+ "inputs": [],
556
+ "outputs": [
557
+ {
558
+ "name": "",
559
+ "type": "uint256",
560
+ "internalType": "uint256"
561
+ }
562
+ ],
563
+ "stateMutability": "view"
564
+ },
565
+ {
566
+ "type": "function",
567
+ "name": "wm",
568
+ "inputs": [],
569
+ "outputs": [
570
+ {
571
+ "name": "",
572
+ "type": "address",
573
+ "internalType": "address"
574
+ }
575
+ ],
576
+ "stateMutability": "view"
577
+ },
578
+ {
579
+ "type": "event",
580
+ "name": "log",
581
+ "inputs": [
582
+ {
583
+ "name": "",
584
+ "type": "string",
585
+ "indexed": false,
586
+ "internalType": "string"
587
+ }
588
+ ],
589
+ "anonymous": false
590
+ },
591
+ {
592
+ "type": "event",
593
+ "name": "log_address",
594
+ "inputs": [
595
+ {
596
+ "name": "",
597
+ "type": "address",
598
+ "indexed": false,
599
+ "internalType": "address"
600
+ }
601
+ ],
602
+ "anonymous": false
603
+ },
604
+ {
605
+ "type": "event",
606
+ "name": "log_array",
607
+ "inputs": [
608
+ {
609
+ "name": "val",
610
+ "type": "uint256[]",
611
+ "indexed": false,
612
+ "internalType": "uint256[]"
613
+ }
614
+ ],
615
+ "anonymous": false
616
+ },
617
+ {
618
+ "type": "event",
619
+ "name": "log_array",
620
+ "inputs": [
621
+ {
622
+ "name": "val",
623
+ "type": "int256[]",
624
+ "indexed": false,
625
+ "internalType": "int256[]"
626
+ }
627
+ ],
628
+ "anonymous": false
629
+ },
630
+ {
631
+ "type": "event",
632
+ "name": "log_array",
633
+ "inputs": [
634
+ {
635
+ "name": "val",
636
+ "type": "address[]",
637
+ "indexed": false,
638
+ "internalType": "address[]"
639
+ }
640
+ ],
641
+ "anonymous": false
642
+ },
643
+ {
644
+ "type": "event",
645
+ "name": "log_bytes",
646
+ "inputs": [
647
+ {
648
+ "name": "",
649
+ "type": "bytes",
650
+ "indexed": false,
651
+ "internalType": "bytes"
652
+ }
653
+ ],
654
+ "anonymous": false
655
+ },
656
+ {
657
+ "type": "event",
658
+ "name": "log_bytes32",
659
+ "inputs": [
660
+ {
661
+ "name": "",
662
+ "type": "bytes32",
663
+ "indexed": false,
664
+ "internalType": "bytes32"
665
+ }
666
+ ],
667
+ "anonymous": false
668
+ },
669
+ {
670
+ "type": "event",
671
+ "name": "log_int",
672
+ "inputs": [
673
+ {
674
+ "name": "",
675
+ "type": "int256",
676
+ "indexed": false,
677
+ "internalType": "int256"
678
+ }
679
+ ],
680
+ "anonymous": false
681
+ },
682
+ {
683
+ "type": "event",
684
+ "name": "log_named_address",
685
+ "inputs": [
686
+ {
687
+ "name": "key",
688
+ "type": "string",
689
+ "indexed": false,
690
+ "internalType": "string"
691
+ },
692
+ {
693
+ "name": "val",
694
+ "type": "address",
695
+ "indexed": false,
696
+ "internalType": "address"
697
+ }
698
+ ],
699
+ "anonymous": false
700
+ },
701
+ {
702
+ "type": "event",
703
+ "name": "log_named_array",
704
+ "inputs": [
705
+ {
706
+ "name": "key",
707
+ "type": "string",
708
+ "indexed": false,
709
+ "internalType": "string"
710
+ },
711
+ {
712
+ "name": "val",
713
+ "type": "uint256[]",
714
+ "indexed": false,
715
+ "internalType": "uint256[]"
716
+ }
717
+ ],
718
+ "anonymous": false
719
+ },
720
+ {
721
+ "type": "event",
722
+ "name": "log_named_array",
723
+ "inputs": [
724
+ {
725
+ "name": "key",
726
+ "type": "string",
727
+ "indexed": false,
728
+ "internalType": "string"
729
+ },
730
+ {
731
+ "name": "val",
732
+ "type": "int256[]",
733
+ "indexed": false,
734
+ "internalType": "int256[]"
735
+ }
736
+ ],
737
+ "anonymous": false
738
+ },
739
+ {
740
+ "type": "event",
741
+ "name": "log_named_array",
742
+ "inputs": [
743
+ {
744
+ "name": "key",
745
+ "type": "string",
746
+ "indexed": false,
747
+ "internalType": "string"
748
+ },
749
+ {
750
+ "name": "val",
751
+ "type": "address[]",
752
+ "indexed": false,
753
+ "internalType": "address[]"
754
+ }
755
+ ],
756
+ "anonymous": false
757
+ },
758
+ {
759
+ "type": "event",
760
+ "name": "log_named_bytes",
761
+ "inputs": [
762
+ {
763
+ "name": "key",
764
+ "type": "string",
765
+ "indexed": false,
766
+ "internalType": "string"
767
+ },
768
+ {
769
+ "name": "val",
770
+ "type": "bytes",
771
+ "indexed": false,
772
+ "internalType": "bytes"
773
+ }
774
+ ],
775
+ "anonymous": false
776
+ },
777
+ {
778
+ "type": "event",
779
+ "name": "log_named_bytes32",
780
+ "inputs": [
781
+ {
782
+ "name": "key",
783
+ "type": "string",
784
+ "indexed": false,
785
+ "internalType": "string"
786
+ },
787
+ {
788
+ "name": "val",
789
+ "type": "bytes32",
790
+ "indexed": false,
791
+ "internalType": "bytes32"
792
+ }
793
+ ],
794
+ "anonymous": false
795
+ },
796
+ {
797
+ "type": "event",
798
+ "name": "log_named_decimal_int",
799
+ "inputs": [
800
+ {
801
+ "name": "key",
802
+ "type": "string",
803
+ "indexed": false,
804
+ "internalType": "string"
805
+ },
806
+ {
807
+ "name": "val",
808
+ "type": "int256",
809
+ "indexed": false,
810
+ "internalType": "int256"
811
+ },
812
+ {
813
+ "name": "decimals",
814
+ "type": "uint256",
815
+ "indexed": false,
816
+ "internalType": "uint256"
817
+ }
818
+ ],
819
+ "anonymous": false
820
+ },
821
+ {
822
+ "type": "event",
823
+ "name": "log_named_decimal_uint",
824
+ "inputs": [
825
+ {
826
+ "name": "key",
827
+ "type": "string",
828
+ "indexed": false,
829
+ "internalType": "string"
830
+ },
831
+ {
832
+ "name": "val",
833
+ "type": "uint256",
834
+ "indexed": false,
835
+ "internalType": "uint256"
836
+ },
837
+ {
838
+ "name": "decimals",
839
+ "type": "uint256",
840
+ "indexed": false,
841
+ "internalType": "uint256"
842
+ }
843
+ ],
844
+ "anonymous": false
845
+ },
846
+ {
847
+ "type": "event",
848
+ "name": "log_named_int",
849
+ "inputs": [
850
+ {
851
+ "name": "key",
852
+ "type": "string",
853
+ "indexed": false,
854
+ "internalType": "string"
855
+ },
856
+ {
857
+ "name": "val",
858
+ "type": "int256",
859
+ "indexed": false,
860
+ "internalType": "int256"
861
+ }
862
+ ],
863
+ "anonymous": false
864
+ },
865
+ {
866
+ "type": "event",
867
+ "name": "log_named_string",
868
+ "inputs": [
869
+ {
870
+ "name": "key",
871
+ "type": "string",
872
+ "indexed": false,
873
+ "internalType": "string"
874
+ },
875
+ {
876
+ "name": "val",
877
+ "type": "string",
878
+ "indexed": false,
879
+ "internalType": "string"
880
+ }
881
+ ],
882
+ "anonymous": false
883
+ },
884
+ {
885
+ "type": "event",
886
+ "name": "log_named_uint",
887
+ "inputs": [
888
+ {
889
+ "name": "key",
890
+ "type": "string",
891
+ "indexed": false,
892
+ "internalType": "string"
893
+ },
894
+ {
895
+ "name": "val",
896
+ "type": "uint256",
897
+ "indexed": false,
898
+ "internalType": "uint256"
899
+ }
900
+ ],
901
+ "anonymous": false
902
+ },
903
+ {
904
+ "type": "event",
905
+ "name": "log_string",
906
+ "inputs": [
907
+ {
908
+ "name": "",
909
+ "type": "string",
910
+ "indexed": false,
911
+ "internalType": "string"
912
+ }
913
+ ],
914
+ "anonymous": false
915
+ },
916
+ {
917
+ "type": "event",
918
+ "name": "log_uint",
919
+ "inputs": [
920
+ {
921
+ "name": "",
922
+ "type": "uint256",
923
+ "indexed": false,
924
+ "internalType": "uint256"
925
+ }
926
+ ],
927
+ "anonymous": false
928
+ },
929
+ {
930
+ "type": "event",
931
+ "name": "logs",
932
+ "inputs": [
933
+ {
934
+ "name": "",
935
+ "type": "bytes",
936
+ "indexed": false,
937
+ "internalType": "bytes"
938
+ }
939
+ ],
940
+ "anonymous": false
941
+ }
942
+ ]