-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopcodes_issue1224_verifier.txt
3046 lines (3046 loc) · 105 KB
/
opcodes_issue1224_verifier.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.code
PUSH 80 contract Verifier {\n using...
PUSH 40 contract Verifier {\n using...
MSTORE contract Verifier {\n using...
CALLVALUE contract Verifier {\n using...
DUP1 BN256G2 {
ISZERO ry
PUSH [tag] 1 ry
JUMPI ry
PUSH 0 i
DUP1 5
REVERT uint256 in
tag 1 ry
JUMPDEST ry
POP contract Verifier {\n using...
PUSH #[$] 0000000000000000000000000000000000000000000000000000000000000000 contract Verifier {\n using...
DUP1 contract Verifier {\n using...
PUSH [$] 0000000000000000000000000000000000000000000000000000000000000000 contract Verifier {\n using...
PUSH 0 contract Verifier {\n using...
CODECOPY contract Verifier {\n using...
PUSH 0 contract Verifier {\n using...
RETURN contract Verifier {\n using...
.data
0:
.code
PUSH 80 contract Verifier {\n using...
PUSH 40 contract Verifier {\n using...
MSTORE contract Verifier {\n using...
PUSH 4 contract Verifier {\n using...
CALLDATASIZE contract Verifier {\n using...
LT contract Verifier {\n using...
PUSH [tag] 1 contract Verifier {\n using...
JUMPI contract Verifier {\n using...
PUSH 0 contract Verifier {\n using...
CALLDATALOAD contract Verifier {\n using...
PUSH 100000000000000000000000000000000000000000000000000000000 contract Verifier {\n using...
SWAP1 contract Verifier {\n using...
DIV contract Verifier {\n using...
DUP1 contract Verifier {\n using...
PUSH DD129313 contract Verifier {\n using...
EQ contract Verifier {\n using...
PUSH [tag] 2 contract Verifier {\n using...
JUMPI contract Verifier {\n using...
tag 1 contract Verifier {\n using...
JUMPDEST contract Verifier {\n using...
PUSH 0 contract Verifier {\n using...
DUP1 contract Verifier {\n using...
REVERT contract Verifier {\n using...
tag 2 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
CALLVALUE function verifyTx(\n \n ...
DUP1 BN256G2 {
ISZERO ry
PUSH [tag] 3 ry
JUMPI ry
PUSH 0 i
DUP1 5
REVERT uint256 in
tag 3 ry
JUMPDEST ry
POP function verifyTx(\n \n ...
PUSH [tag] 4 function verifyTx(\n \n ...
PUSH 4 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
CALLDATASIZE function verifyTx(\n \n ...
SUB function verifyTx(\n \n ...
PUSH 120 G2
DUP2 BN2
LT ry BN256G2 {
ISZERO br
PUSH [tag] 5 br
JUMPI br
PUSH 0 i
DUP1 5
REVERT uint256 in
tag 5 br
JUMPDEST br
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
DUP1 int
DUP3 uint25
DUP5 2 {\n
CALLDATACOPY ibrary BN256G2 {\n uint256 ...
PUSH 0 7
DUP2 158
DUP5 045b68
ADD 9b85045b68181585
MSTORE e131a029b85045b68181585d978
PUSH 1F int2
NOT uint25
PUSH 1F fd47
DUP3 6d8
ADD 08c16d87cfd47;
AND d3c208c16d87cfd47;\n uint25...
SWAP1 6871ca8d3c208c16d87cfd47;\n ...
POP 6871ca8d3c208c16d87cfd47;\n ...
DUP1 =
DUP4 TWIST
ADD tant TWISTBX = 0
SWAP3 ernal constant TWISTBX = 0
POP ernal constant TWISTBX = 0
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 80 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 0 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
tag 6 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
LT function verifyTx(\n \n ...
ISZERO function verifyTx(\n \n ...
PUSH [tag] 7 function verifyTx(\n \n ...
JUMPI function verifyTx(\n \n ...
DUP4 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
DUP1 int
DUP3 uint25
DUP5 2 {\n
CALLDATACOPY ibrary BN256G2 {\n uint256 ...
PUSH 0 7
DUP2 158
DUP5 045b68
ADD 9b85045b68181585
MSTORE e131a029b85045b68181585d978
PUSH 1F int2
NOT uint25
PUSH 1F fd47
DUP3 6d8
ADD 08c16d87cfd47;
AND d3c208c16d87cfd47;\n uint25...
SWAP1 6871ca8d3c208c16d87cfd47;\n ...
POP 6871ca8d3c208c16d87cfd47;\n ...
DUP1 =
DUP4 TWIST
ADD tant TWISTBX = 0
SWAP3 ernal constant TWISTBX = 0
POP ernal constant TWISTBX = 0
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 1 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH [tag] 6 function verifyTx(\n \n ...
JUMP function verifyTx(\n \n ...
tag 7 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
PUSH 2 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
DUP1 int
DUP3 uint25
DUP5 2 {\n
CALLDATACOPY ibrary BN256G2 {\n uint256 ...
PUSH 0 7
DUP2 158
DUP5 045b68
ADD 9b85045b68181585
MSTORE e131a029b85045b68181585d978
PUSH 1F int2
NOT uint25
PUSH 1F fd47
DUP3 6d8
ADD 08c16d87cfd47;
AND d3c208c16d87cfd47;\n uint25...
SWAP1 6871ca8d3c208c16d87cfd47;\n ...
POP 6871ca8d3c208c16d87cfd47;\n ...
DUP1 =
DUP4 TWIST
ADD tant TWISTBX = 0
SWAP3 ernal constant TWISTBX = 0
POP ernal constant TWISTBX = 0
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
PUSH 1 function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
PUSH 1 function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
MUL function verifyTx(\n \n ...
DUP1 int
DUP3 uint25
DUP5 2 {\n
CALLDATACOPY ibrary BN256G2 {\n uint256 ...
PUSH 0 7
DUP2 158
DUP5 045b68
ADD 9b85045b68181585
MSTORE e131a029b85045b68181585d978
PUSH 1F int2
NOT uint25
PUSH 1F fd47
DUP3 6d8
ADD 08c16d87cfd47;
AND d3c208c16d87cfd47;\n uint25...
SWAP1 6871ca8d3c208c16d87cfd47;\n ...
POP 6871ca8d3c208c16d87cfd47;\n ...
DUP1 =
DUP4 TWIST
ADD tant TWISTBX = 0
SWAP3 ernal constant TWISTBX = 0
POP ernal constant TWISTBX = 0
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SWAP3 function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
PUSH [tag] 8 function verifyTx(\n \n ...
JUMP [in] function verifyTx(\n \n ...
tag 4 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
DUP3 function verifyTx(\n \n ...
ISZERO function verifyTx(\n \n ...
ISZERO function verifyTx(\n \n ...
ISZERO function verifyTx(\n \n ...
ISZERO function verifyTx(\n \n ...
DUP2 function verifyTx(\n \n ...
MSTORE function verifyTx(\n \n ...
PUSH 20 function verifyTx(\n \n ...
ADD function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
PUSH 40 function verifyTx(\n \n ...
MLOAD function verifyTx(\n \n ...
DUP1 function verifyTx(\n \n ...
SWAP2 function verifyTx(\n \n ...
SUB function verifyTx(\n \n ...
SWAP1 function verifyTx(\n \n ...
RETURN function verifyTx(\n \n ...
tag 8 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
PUSH 0 bool r
PUSH [tag] 10 Proof memory proof
PUSH [tag] 11 Proof memory proof
JUMP [in] Proof memory proof
tag 10 Proof memory proof
JUMPDEST Proof memory proof
PUSH 40 Pairing.G1Point(a[0], a[1])
DUP1 Pairing.G1Point(a[0], a[1])
MLOAD Pairing.G1Point(a[0], a[1])
SWAP1 Pairing.G1Point(a[0], a[1])
DUP2 Pairing.G1Point(a[0], a[1])
ADD Pairing.G1Point(a[0], a[1])
PUSH 40 Pairing.G1Point(a[0], a[1])
MSTORE Pairing.G1Point(a[0], a[1])
DUP1 Pairing.G1Point(a[0], a[1])
DUP8 a
PUSH 0 0
PUSH 2 a[0]
DUP2 a[0]
LT a[0]
ISZERO a[0]
ISZERO a[0]
PUSH [tag] 12 a[0]
JUMPI a[0]
INVALID a[0]
tag 12 a[0]
JUMPDEST a[0]
PUSH 20 a[0]
MUL a[0]
ADD a[0]
MLOAD a[0]
DUP2 Pairing.G1Point(a[0], a[1])
MSTORE Pairing.G1Point(a[0], a[1])
PUSH 20 Pairing.G1Point(a[0], a[1])
ADD Pairing.G1Point(a[0], a[1])
DUP8 a
PUSH 1 1
PUSH 2 a[1]
DUP2 a[1]
LT a[1]
ISZERO a[1]
ISZERO a[1]
PUSH [tag] 13 a[1]
JUMPI a[1]
INVALID a[1]
tag 13 a[1]
JUMPDEST a[1]
PUSH 20 a[1]
MUL a[1]
ADD a[1]
MLOAD a[1]
DUP2 Pairing.G1Point(a[0], a[1])
MSTORE Pairing.G1Point(a[0], a[1])
POP Pairing.G1Point(a[0], a[1])
DUP2 proof
PUSH 0 proof.a
ADD proof.a
DUP2 proof.a = Pairing.G1Point(a[0]...
SWAP1 proof.a = Pairing.G1Point(a[0]...
MSTORE proof.a = Pairing.G1Point(a[0]...
POP proof.a = Pairing.G1Point(a[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
MLOAD Pairing.G2Point([b[0][0], b[0]...
SWAP1 Pairing.G2Point([b[0][0], b[0]...
DUP2 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
MLOAD Pairing.G2Point([b[0][0], b[0]...
SWAP1 Pairing.G2Point([b[0][0], b[0]...
DUP2 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
DUP9 b
PUSH 0 0
PUSH 2 b[0]
DUP2 b[0]
LT b[0]
ISZERO b[0]
ISZERO b[0]
PUSH [tag] 14 b[0]
JUMPI b[0]
INVALID b[0]
tag 14 b[0]
JUMPDEST b[0]
PUSH 20 b[0]
MUL b[0]
ADD b[0]
MLOAD b[0]
PUSH 0 0
PUSH 2 b[0][0]
DUP2 b[0][0]
LT b[0][0]
ISZERO b[0][0]
ISZERO b[0][0]
PUSH [tag] 15 b[0][0]
JUMPI b[0][0]
INVALID b[0][0]
tag 15 b[0][0]
JUMPDEST b[0][0]
PUSH 20 b[0][0]
MUL b[0][0]
ADD b[0][0]
MLOAD b[0][0]
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
PUSH 20 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
DUP9 b
PUSH 0 0
PUSH 2 b[0]
DUP2 b[0]
LT b[0]
ISZERO b[0]
ISZERO b[0]
PUSH [tag] 16 b[0]
JUMPI b[0]
INVALID b[0]
tag 16 b[0]
JUMPDEST b[0]
PUSH 20 b[0]
MUL b[0]
ADD b[0]
MLOAD b[0]
PUSH 1 1
PUSH 2 b[0][1]
DUP2 b[0][1]
LT b[0][1]
ISZERO b[0][1]
ISZERO b[0][1]
PUSH [tag] 17 b[0][1]
JUMPI b[0][1]
INVALID b[0][1]
tag 17 b[0][1]
JUMPDEST b[0][1]
PUSH 20 b[0][1]
MUL b[0][1]
ADD b[0][1]
MLOAD b[0][1]
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
POP Pairing.G2Point([b[0][0], b[0]...
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
PUSH 20 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
MLOAD Pairing.G2Point([b[0][0], b[0]...
SWAP1 Pairing.G2Point([b[0][0], b[0]...
DUP2 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
PUSH 40 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
DUP1 Pairing.G2Point([b[0][0], b[0]...
DUP9 b
PUSH 1 1
PUSH 2 b[1]
DUP2 b[1]
LT b[1]
ISZERO b[1]
ISZERO b[1]
PUSH [tag] 18 b[1]
JUMPI b[1]
INVALID b[1]
tag 18 b[1]
JUMPDEST b[1]
PUSH 20 b[1]
MUL b[1]
ADD b[1]
MLOAD b[1]
PUSH 0 0
PUSH 2 b[1][0]
DUP2 b[1][0]
LT b[1][0]
ISZERO b[1][0]
ISZERO b[1][0]
PUSH [tag] 19 b[1][0]
JUMPI b[1][0]
INVALID b[1][0]
tag 19 b[1][0]
JUMPDEST b[1][0]
PUSH 20 b[1][0]
MUL b[1][0]
ADD b[1][0]
MLOAD b[1][0]
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
PUSH 20 Pairing.G2Point([b[0][0], b[0]...
ADD Pairing.G2Point([b[0][0], b[0]...
DUP9 b
PUSH 1 1
PUSH 2 b[1]
DUP2 b[1]
LT b[1]
ISZERO b[1]
ISZERO b[1]
PUSH [tag] 20 b[1]
JUMPI b[1]
INVALID b[1]
tag 20 b[1]
JUMPDEST b[1]
PUSH 20 b[1]
MUL b[1]
ADD b[1]
MLOAD b[1]
PUSH 1 1
PUSH 2 b[1][1]
DUP2 b[1][1]
LT b[1][1]
ISZERO b[1][1]
ISZERO b[1][1]
PUSH [tag] 21 b[1][1]
JUMPI b[1][1]
INVALID b[1][1]
tag 21 b[1][1]
JUMPDEST b[1][1]
PUSH 20 b[1][1]
MUL b[1][1]
ADD b[1][1]
MLOAD b[1][1]
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
POP Pairing.G2Point([b[0][0], b[0]...
DUP2 Pairing.G2Point([b[0][0], b[0]...
MSTORE Pairing.G2Point([b[0][0], b[0]...
POP Pairing.G2Point([b[0][0], b[0]...
DUP2 proof
PUSH 20 proof.b
ADD proof.b
DUP2 proof.b = Pairing.G2Point([b[0...
SWAP1 proof.b = Pairing.G2Point([b[0...
MSTORE proof.b = Pairing.G2Point([b[0...
POP proof.b = Pairing.G2Point([b[0...
PUSH 40 Pairing.G1Point(c[0], c[1])
DUP1 Pairing.G1Point(c[0], c[1])
MLOAD Pairing.G1Point(c[0], c[1])
SWAP1 Pairing.G1Point(c[0], c[1])
DUP2 Pairing.G1Point(c[0], c[1])
ADD Pairing.G1Point(c[0], c[1])
PUSH 40 Pairing.G1Point(c[0], c[1])
MSTORE Pairing.G1Point(c[0], c[1])
DUP1 Pairing.G1Point(c[0], c[1])
DUP6 c
PUSH 0 0
PUSH 2 c[0]
DUP2 c[0]
LT c[0]
ISZERO c[0]
ISZERO c[0]
PUSH [tag] 22 c[0]
JUMPI c[0]
INVALID c[0]
tag 22 c[0]
JUMPDEST c[0]
PUSH 20 c[0]
MUL c[0]
ADD c[0]
MLOAD c[0]
DUP2 Pairing.G1Point(c[0], c[1])
MSTORE Pairing.G1Point(c[0], c[1])
PUSH 20 Pairing.G1Point(c[0], c[1])
ADD Pairing.G1Point(c[0], c[1])
DUP6 c
PUSH 1 1
PUSH 2 c[1]
DUP2 c[1]
LT c[1]
ISZERO c[1]
ISZERO c[1]
PUSH [tag] 23 c[1]
JUMPI c[1]
INVALID c[1]
tag 23 c[1]
JUMPDEST c[1]
PUSH 20 c[1]
MUL c[1]
ADD c[1]
MLOAD c[1]
DUP2 Pairing.G1Point(c[0], c[1])
MSTORE Pairing.G1Point(c[0], c[1])
POP Pairing.G1Point(c[0], c[1])
DUP2 proof
PUSH 40 proof.c
ADD proof.c
DUP2 proof.c = Pairing.G1Point(c[0]...
SWAP1 proof.c = Pairing.G1Point(c[0]...
MSTORE proof.c = Pairing.G1Point(c[0]...
POP proof.c = Pairing.G1Point(c[0]...
PUSH 60 uint[] memory inputValues
PUSH 1 input.length
PUSH 40 new uint[](input.length)
MLOAD new uint[](input.length)
SWAP1 new uint[](input.length)
DUP1 new uint[](input.length)
DUP3 new uint[](input.length)
MSTORE new uint[](input.length)
DUP1 new uint[](input.length)
PUSH 20 new uint[](input.length)
MUL new uint[](input.length)
PUSH 20 new uint[](input.length)
ADD new uint[](input.length)
DUP3 new uint[](input.length)
ADD new uint[](input.length)
PUSH 40 new uint[](input.length)
MSTORE new uint[](input.length)
DUP1 new uint[](input.length)
ISZERO new uint[](input.length)
PUSH [tag] 24 new uint[](input.length)
JUMPI new uint[](input.length)
DUP2 new uint[](input.length)
PUSH 20 new uint[](input.length)
ADD new uint[](input.length)
PUSH 20 i
DUP3 uint2
MUL \n uint256 in
DUP1 08c1
CODESIZE 16871ca8d3
DUP4 d97816
CODECOPY b68181585d97816a916871ca8d3c20...
DUP1 rnal
DUP3 256 in
ADD uint256 internal
SWAP2 fd47;\n uint256 internal
POP fd47;\n uint256 internal
POP library BN256G2 {\n uint256...
SWAP1 new uint[](input.length)
POP new uint[](input.length)
tag 24 new uint[](input.length)
JUMPDEST new uint[](input.length)
POP new uint[](input.length)
SWAP1 uint[] memory inputValues = ne...
POP uint[] memory inputValues = ne...
PUSH 0 uint i
DUP1 0
SWAP1 uint i = 0
POP uint i = 0
tag 25 for(uint i = 0; i < input.leng...
JUMPDEST for(uint i = 0; i < input.leng...
PUSH 1 input.length
DUP2 i
LT i < input.length
ISZERO for(uint i = 0; i < input.leng...
PUSH [tag] 26 for(uint i = 0; i < input.leng...
JUMPI for(uint i = 0; i < input.leng...
DUP5 input
DUP2 i
PUSH 1 input[i]
DUP2 input[i]
LT input[i]
ISZERO input[i]
ISZERO input[i]
PUSH [tag] 28 input[i]
JUMPI input[i]
INVALID input[i]
tag 28 input[i]
JUMPDEST input[i]
PUSH 20 input[i]
MUL input[i]
ADD input[i]
MLOAD input[i]
DUP3 inputValues
DUP3 i
DUP2 inputValues[i]
MLOAD inputValues[i]
DUP2 inputValues[i]
LT inputValues[i]
ISZERO inputValues[i]
ISZERO inputValues[i]
PUSH [tag] 29 inputValues[i]
JUMPI inputValues[i]
INVALID inputValues[i]
tag 29 inputValues[i]
JUMPDEST inputValues[i]
SWAP1 inputValues[i]
PUSH 20 inputValues[i]
ADD inputValues[i]
SWAP1 inputValues[i]
PUSH 20 inputValues[i]
MUL inputValues[i]
ADD inputValues[i]
DUP2 inputValues[i] = input[i]
DUP2 inputValues[i] = input[i]
MSTORE inputValues[i] = input[i]
POP inputValues[i] = input[i]
POP inputValues[i] = input[i]
DUP1 i++
DUP1 i++
PUSH 1 i++
ADD i++
SWAP2 i++
POP i++
POP i++
PUSH [tag] 25 for(uint i = 0; i < input.leng...
JUMP for(uint i = 0; i < input.leng...
tag 26 for(uint i = 0; i < input.leng...
JUMPDEST for(uint i = 0; i < input.leng...
POP for(uint i = 0; i < input.leng...
PUSH 0 0
PUSH [tag] 30 verify(inputValues, proof)
DUP3 inputValues
DUP5 proof
PUSH [tag] 31 verify
JUMP [in] verify(inputValues, proof)
tag 30 verify(inputValues, proof)
JUMPDEST verify(inputValues, proof)
EQ verify(inputValues, proof) == ...
ISZERO if (verify(inputValues, proof)...
PUSH [tag] 32 if (verify(inputValues, proof)...
JUMPI if (verify(inputValues, proof)...
PUSH 3F3CFDB26FB5F9F1786AB4F1A1F9CD4C0B5E726CBDFC26E495261731AAD44E39 Verified("Transaction successf...
PUSH 40 Verified("Transaction successf...
MLOAD Verified("Transaction successf...
DUP1 Verified("Transaction successf...
DUP1 Verified("Transaction successf...
PUSH 20 Verified("Transaction successf...
ADD Verified("Transaction successf...
DUP3 Verified("Transaction successf...
DUP2 Verified("Transaction successf...
SUB Verified("Transaction successf...
DUP3 Verified("Transaction successf...
MSTORE Verified("Transaction successf...
PUSH 22 Verified("Transaction successf...
DUP2 Verified("Transaction successf...
MSTORE Verified("Transaction successf...
PUSH 20 Verified("Transaction successf...
ADD Verified("Transaction successf...
DUP1 Verified("Transaction successf...
PUSH 5472616E73616374696F6E207375636365737366756C6C792076657269666965 Verified("Transaction successf...
DUP2 Verified("Transaction successf...
MSTORE Verified("Transaction successf...
PUSH 20 Verified("Transaction successf...
ADD Verified("Transaction successf...
PUSH 642E000000000000000000000000000000000000000000000000000000000000 Verified("Transaction successf...
DUP2 Verified("Transaction successf...
MSTORE Verified("Transaction successf...
POP Verified("Transaction successf...
PUSH 40 Verified("Transaction successf...
ADD Verified("Transaction successf...
SWAP2 Verified("Transaction successf...
POP Verified("Transaction successf...
POP Verified("Transaction successf...
PUSH 40 Verified("Transaction successf...
MLOAD Verified("Transaction successf...
DUP1 Verified("Transaction successf...
SWAP2 Verified("Transaction successf...
SUB Verified("Transaction successf...
SWAP1 Verified("Transaction successf...
LOG1 Verified("Transaction successf...
PUSH 1 true
SWAP3 return true
POP return true
POP return true
POP return true
PUSH [tag] 9 return true
JUMP return true
tag 32 if (verify(inputValues, proof)...
JUMPDEST if (verify(inputValues, proof)...
PUSH 0 false
SWAP3 return false
POP return false
POP return false
POP return false
tag 9 function verifyTx(\n \n ...
JUMPDEST function verifyTx(\n \n ...
SWAP5 function verifyTx(\n \n ...
SWAP4 function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
POP function verifyTx(\n \n ...
JUMP [out] function verifyTx(\n \n ...
tag 31 function verify(uint[] memory ...
JUMPDEST function verify(uint[] memory ...
PUSH 0 uint
DUP1 uint256 snark_scalar_field
PUSH 30644E72E131A029B85045B68181585D2833E84879B9709143E1F593F0000001 218882428718392752222464057452...
SWAP1 uint256 snark_scalar_field = 2...
POP uint256 snark_scalar_field = 2...
PUSH [tag] 35 VerifyingKey memory vk
PUSH [tag] 36 VerifyingKey memory vk
JUMP [in] VerifyingKey memory vk
tag 35 VerifyingKey memory vk
JUMPDEST VerifyingKey memory vk
PUSH [tag] 37 verifyingKey()
PUSH [tag] 38 verifyingKey
JUMP [in] verifyingKey()
tag 37 verifyingKey()
JUMPDEST verifyingKey()
SWAP1 VerifyingKey memory vk = verif...
POP VerifyingKey memory vk = verif...
DUP1 vk
PUSH 80 vk.gamma_abc
ADD vk.gamma_abc
MLOAD vk.gamma_abc
MLOAD vk.gamma_abc.length
PUSH 1 1
DUP7 input
MLOAD input.length
ADD input.length + 1
EQ input.length + 1 == vk.gamma_a...
ISZERO require(input.length + 1 == vk...
ISZERO require(input.length + 1 == vk...
PUSH [tag] 39 require(input.length + 1 == vk...
JUMPI require(input.length + 1 == vk...
PUSH 0 require(input.length + 1 == vk...
DUP1 require(input.length + 1 == vk...
REVERT require(input.length + 1 == vk...
tag 39 require(input.length + 1 == vk...
JUMPDEST require(input.length + 1 == vk...
PUSH [tag] 40 Pairing.G1Point memory vk_x
PUSH [tag] 41 Pairing.G1Point memory vk_x
JUMP [in] Pairing.G1Point memory vk_x
tag 40 Pairing.G1Point memory vk_x
JUMPDEST Pairing.G1Point memory vk_x
PUSH 40 Pairing.G1Point(0, 0)
DUP1 Pairing.G1Point(0, 0)
MLOAD Pairing.G1Point(0, 0)
SWAP1 Pairing.G1Point(0, 0)
DUP2 Pairing.G1Point(0, 0)
ADD Pairing.G1Point(0, 0)
PUSH 40 Pairing.G1Point(0, 0)
MSTORE Pairing.G1Point(0, 0)
DUP1 Pairing.G1Point(0, 0)
PUSH 0 0
DUP2 Pairing.G1Point(0, 0)
MSTORE Pairing.G1Point(0, 0)
PUSH 20 Pairing.G1Point(0, 0)
ADD Pairing.G1Point(0, 0)
PUSH 0 0
DUP2 Pairing.G1Point(0, 0)
MSTORE Pairing.G1Point(0, 0)
POP Pairing.G1Point(0, 0)
SWAP1 Pairing.G1Point memory vk_x = ...
POP Pairing.G1Point memory vk_x = ...
PUSH 0 uint i
DUP1 0
SWAP1 uint i = 0
POP uint i = 0
tag 42 for (uint i = 0; i < input.len...
JUMPDEST for (uint i = 0; i < input.len...
DUP7 input
MLOAD input.length
DUP2 i
LT i < input.length
ISZERO for (uint i = 0; i < input.len...
PUSH [tag] 43 for (uint i = 0; i < input.len...
JUMPI for (uint i = 0; i < input.len...
DUP4 snark_scalar_field
DUP8 input
DUP3 i
DUP2 input[i]
MLOAD input[i]
DUP2 input[i]
LT input[i]
ISZERO input[i]
ISZERO input[i]
PUSH [tag] 45 input[i]
JUMPI input[i]
INVALID input[i]
tag 45 input[i]
JUMPDEST input[i]
SWAP1 input[i]
PUSH 20 input[i]
ADD input[i]
SWAP1 input[i]
PUSH 20 input[i]
MUL input[i]
ADD input[i]
MLOAD input[i]
LT input[i] < snark_scalar_field
ISZERO require(input[i] < snark_scala...
ISZERO require(input[i] < snark_scala...
PUSH [tag] 46 require(input[i] < snark_scala...
JUMPI require(input[i] < snark_scala...
PUSH 0 require(input[i] < snark_scala...
DUP1 require(input[i] < snark_scala...
REVERT require(input[i] < snark_scala...
tag 46 require(input[i] < snark_scala...
JUMPDEST require(input[i] < snark_scala...
PUSH [tag] 47 Pairing.addition(vk_x, Pairing...
DUP3 vk_x
PUSH [tag] 48 Pairing.scalar_mul(vk.gamma_ab...
DUP6 vk
PUSH 80 vk.gamma_abc
ADD vk.gamma_abc
MLOAD vk.gamma_abc
PUSH 1 1
DUP6 i
ADD i + 1
DUP2 vk.gamma_abc[i + 1]
MLOAD vk.gamma_abc[i + 1]
DUP2 vk.gamma_abc[i + 1]
LT vk.gamma_abc[i + 1]
ISZERO vk.gamma_abc[i + 1]
ISZERO vk.gamma_abc[i + 1]
PUSH [tag] 49 vk.gamma_abc[i + 1]
JUMPI vk.gamma_abc[i + 1]
INVALID vk.gamma_abc[i + 1]
tag 49 vk.gamma_abc[i + 1]
JUMPDEST vk.gamma_abc[i + 1]
SWAP1 vk.gamma_abc[i + 1]
PUSH 20 vk.gamma_abc[i + 1]
ADD vk.gamma_abc[i + 1]
SWAP1 vk.gamma_abc[i + 1]
PUSH 20 vk.gamma_abc[i + 1]
MUL vk.gamma_abc[i + 1]
ADD vk.gamma_abc[i + 1]
MLOAD vk.gamma_abc[i + 1]
DUP11 input
DUP6 i
DUP2 input[i]
MLOAD input[i]
DUP2 input[i]
LT input[i]
ISZERO input[i]