@semaphore-protocol/utils 4.0.0-beta.8 → 4.0.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.
@@ -0,0 +1,927 @@
1
+ /**
2
+ * @module @semaphore-protocol/utils
3
+ * @version 4.0.0
4
+ * @file A library to provide utility functions to the other Semaphore packages.
5
+ * @copyright Ethereum Foundation 2024
6
+ * @license MIT
7
+ * @see [Github]{@link https://github.com/semaphore-protocol/semaphore/tree/main/packages/utils}
8
+ */
9
+ var _format = "hh-sol-artifact-1";
10
+ var contractName = "Semaphore";
11
+ var sourceName = "contracts/Semaphore.sol";
12
+ var abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "contract ISemaphoreVerifier",
17
+ name: "_verifier",
18
+ type: "address"
19
+ }
20
+ ],
21
+ stateMutability: "nonpayable",
22
+ type: "constructor"
23
+ },
24
+ {
25
+ inputs: [
26
+ ],
27
+ name: "LeafAlreadyExists",
28
+ type: "error"
29
+ },
30
+ {
31
+ inputs: [
32
+ ],
33
+ name: "LeafCannotBeZero",
34
+ type: "error"
35
+ },
36
+ {
37
+ inputs: [
38
+ ],
39
+ name: "LeafDoesNotExist",
40
+ type: "error"
41
+ },
42
+ {
43
+ inputs: [
44
+ ],
45
+ name: "LeafGreaterThanSnarkScalarField",
46
+ type: "error"
47
+ },
48
+ {
49
+ inputs: [
50
+ ],
51
+ name: "Semaphore__CallerIsNotTheGroupAdmin",
52
+ type: "error"
53
+ },
54
+ {
55
+ inputs: [
56
+ ],
57
+ name: "Semaphore__CallerIsNotThePendingGroupAdmin",
58
+ type: "error"
59
+ },
60
+ {
61
+ inputs: [
62
+ ],
63
+ name: "Semaphore__GroupDoesNotExist",
64
+ type: "error"
65
+ },
66
+ {
67
+ inputs: [
68
+ ],
69
+ name: "Semaphore__GroupHasNoMembers",
70
+ type: "error"
71
+ },
72
+ {
73
+ inputs: [
74
+ ],
75
+ name: "Semaphore__InvalidProof",
76
+ type: "error"
77
+ },
78
+ {
79
+ inputs: [
80
+ ],
81
+ name: "Semaphore__MerkleTreeDepthIsNotSupported",
82
+ type: "error"
83
+ },
84
+ {
85
+ inputs: [
86
+ ],
87
+ name: "Semaphore__MerkleTreeRootIsExpired",
88
+ type: "error"
89
+ },
90
+ {
91
+ inputs: [
92
+ ],
93
+ name: "Semaphore__MerkleTreeRootIsNotPartOfTheGroup",
94
+ type: "error"
95
+ },
96
+ {
97
+ inputs: [
98
+ ],
99
+ name: "Semaphore__YouAreUsingTheSameNullifierTwice",
100
+ type: "error"
101
+ },
102
+ {
103
+ inputs: [
104
+ ],
105
+ name: "WrongSiblingNodes",
106
+ type: "error"
107
+ },
108
+ {
109
+ anonymous: false,
110
+ inputs: [
111
+ {
112
+ indexed: true,
113
+ internalType: "uint256",
114
+ name: "groupId",
115
+ type: "uint256"
116
+ },
117
+ {
118
+ indexed: true,
119
+ internalType: "address",
120
+ name: "oldAdmin",
121
+ type: "address"
122
+ },
123
+ {
124
+ indexed: true,
125
+ internalType: "address",
126
+ name: "newAdmin",
127
+ type: "address"
128
+ }
129
+ ],
130
+ name: "GroupAdminPending",
131
+ type: "event"
132
+ },
133
+ {
134
+ anonymous: false,
135
+ inputs: [
136
+ {
137
+ indexed: true,
138
+ internalType: "uint256",
139
+ name: "groupId",
140
+ type: "uint256"
141
+ },
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "oldAdmin",
146
+ type: "address"
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "address",
151
+ name: "newAdmin",
152
+ type: "address"
153
+ }
154
+ ],
155
+ name: "GroupAdminUpdated",
156
+ type: "event"
157
+ },
158
+ {
159
+ anonymous: false,
160
+ inputs: [
161
+ {
162
+ indexed: true,
163
+ internalType: "uint256",
164
+ name: "groupId",
165
+ type: "uint256"
166
+ }
167
+ ],
168
+ name: "GroupCreated",
169
+ type: "event"
170
+ },
171
+ {
172
+ anonymous: false,
173
+ inputs: [
174
+ {
175
+ indexed: true,
176
+ internalType: "uint256",
177
+ name: "groupId",
178
+ type: "uint256"
179
+ },
180
+ {
181
+ indexed: false,
182
+ internalType: "uint256",
183
+ name: "oldMerkleTreeDuration",
184
+ type: "uint256"
185
+ },
186
+ {
187
+ indexed: false,
188
+ internalType: "uint256",
189
+ name: "newMerkleTreeDuration",
190
+ type: "uint256"
191
+ }
192
+ ],
193
+ name: "GroupMerkleTreeDurationUpdated",
194
+ type: "event"
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ indexed: true,
201
+ internalType: "uint256",
202
+ name: "groupId",
203
+ type: "uint256"
204
+ },
205
+ {
206
+ indexed: false,
207
+ internalType: "uint256",
208
+ name: "index",
209
+ type: "uint256"
210
+ },
211
+ {
212
+ indexed: false,
213
+ internalType: "uint256",
214
+ name: "identityCommitment",
215
+ type: "uint256"
216
+ },
217
+ {
218
+ indexed: false,
219
+ internalType: "uint256",
220
+ name: "merkleTreeRoot",
221
+ type: "uint256"
222
+ }
223
+ ],
224
+ name: "MemberAdded",
225
+ type: "event"
226
+ },
227
+ {
228
+ anonymous: false,
229
+ inputs: [
230
+ {
231
+ indexed: true,
232
+ internalType: "uint256",
233
+ name: "groupId",
234
+ type: "uint256"
235
+ },
236
+ {
237
+ indexed: false,
238
+ internalType: "uint256",
239
+ name: "index",
240
+ type: "uint256"
241
+ },
242
+ {
243
+ indexed: false,
244
+ internalType: "uint256",
245
+ name: "identityCommitment",
246
+ type: "uint256"
247
+ },
248
+ {
249
+ indexed: false,
250
+ internalType: "uint256",
251
+ name: "merkleTreeRoot",
252
+ type: "uint256"
253
+ }
254
+ ],
255
+ name: "MemberRemoved",
256
+ type: "event"
257
+ },
258
+ {
259
+ anonymous: false,
260
+ inputs: [
261
+ {
262
+ indexed: true,
263
+ internalType: "uint256",
264
+ name: "groupId",
265
+ type: "uint256"
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "uint256",
270
+ name: "index",
271
+ type: "uint256"
272
+ },
273
+ {
274
+ indexed: false,
275
+ internalType: "uint256",
276
+ name: "identityCommitment",
277
+ type: "uint256"
278
+ },
279
+ {
280
+ indexed: false,
281
+ internalType: "uint256",
282
+ name: "newIdentityCommitment",
283
+ type: "uint256"
284
+ },
285
+ {
286
+ indexed: false,
287
+ internalType: "uint256",
288
+ name: "merkleTreeRoot",
289
+ type: "uint256"
290
+ }
291
+ ],
292
+ name: "MemberUpdated",
293
+ type: "event"
294
+ },
295
+ {
296
+ anonymous: false,
297
+ inputs: [
298
+ {
299
+ indexed: true,
300
+ internalType: "uint256",
301
+ name: "groupId",
302
+ type: "uint256"
303
+ },
304
+ {
305
+ indexed: false,
306
+ internalType: "uint256",
307
+ name: "startIndex",
308
+ type: "uint256"
309
+ },
310
+ {
311
+ indexed: false,
312
+ internalType: "uint256[]",
313
+ name: "identityCommitments",
314
+ type: "uint256[]"
315
+ },
316
+ {
317
+ indexed: false,
318
+ internalType: "uint256",
319
+ name: "merkleTreeRoot",
320
+ type: "uint256"
321
+ }
322
+ ],
323
+ name: "MembersAdded",
324
+ type: "event"
325
+ },
326
+ {
327
+ anonymous: false,
328
+ inputs: [
329
+ {
330
+ indexed: true,
331
+ internalType: "uint256",
332
+ name: "groupId",
333
+ type: "uint256"
334
+ },
335
+ {
336
+ indexed: false,
337
+ internalType: "uint256",
338
+ name: "merkleTreeDepth",
339
+ type: "uint256"
340
+ },
341
+ {
342
+ indexed: true,
343
+ internalType: "uint256",
344
+ name: "merkleTreeRoot",
345
+ type: "uint256"
346
+ },
347
+ {
348
+ indexed: false,
349
+ internalType: "uint256",
350
+ name: "nullifier",
351
+ type: "uint256"
352
+ },
353
+ {
354
+ indexed: false,
355
+ internalType: "uint256",
356
+ name: "message",
357
+ type: "uint256"
358
+ },
359
+ {
360
+ indexed: true,
361
+ internalType: "uint256",
362
+ name: "scope",
363
+ type: "uint256"
364
+ },
365
+ {
366
+ indexed: false,
367
+ internalType: "uint256[8]",
368
+ name: "points",
369
+ type: "uint256[8]"
370
+ }
371
+ ],
372
+ name: "ProofValidated",
373
+ type: "event"
374
+ },
375
+ {
376
+ inputs: [
377
+ {
378
+ internalType: "uint256",
379
+ name: "groupId",
380
+ type: "uint256"
381
+ }
382
+ ],
383
+ name: "acceptGroupAdmin",
384
+ outputs: [
385
+ ],
386
+ stateMutability: "nonpayable",
387
+ type: "function"
388
+ },
389
+ {
390
+ inputs: [
391
+ {
392
+ internalType: "uint256",
393
+ name: "groupId",
394
+ type: "uint256"
395
+ },
396
+ {
397
+ internalType: "uint256",
398
+ name: "identityCommitment",
399
+ type: "uint256"
400
+ }
401
+ ],
402
+ name: "addMember",
403
+ outputs: [
404
+ ],
405
+ stateMutability: "nonpayable",
406
+ type: "function"
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "uint256",
412
+ name: "groupId",
413
+ type: "uint256"
414
+ },
415
+ {
416
+ internalType: "uint256[]",
417
+ name: "identityCommitments",
418
+ type: "uint256[]"
419
+ }
420
+ ],
421
+ name: "addMembers",
422
+ outputs: [
423
+ ],
424
+ stateMutability: "nonpayable",
425
+ type: "function"
426
+ },
427
+ {
428
+ inputs: [
429
+ {
430
+ internalType: "address",
431
+ name: "admin",
432
+ type: "address"
433
+ },
434
+ {
435
+ internalType: "uint256",
436
+ name: "merkleTreeDuration",
437
+ type: "uint256"
438
+ }
439
+ ],
440
+ name: "createGroup",
441
+ outputs: [
442
+ {
443
+ internalType: "uint256",
444
+ name: "groupId",
445
+ type: "uint256"
446
+ }
447
+ ],
448
+ stateMutability: "nonpayable",
449
+ type: "function"
450
+ },
451
+ {
452
+ inputs: [
453
+ ],
454
+ name: "createGroup",
455
+ outputs: [
456
+ {
457
+ internalType: "uint256",
458
+ name: "groupId",
459
+ type: "uint256"
460
+ }
461
+ ],
462
+ stateMutability: "nonpayable",
463
+ type: "function"
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "address",
469
+ name: "admin",
470
+ type: "address"
471
+ }
472
+ ],
473
+ name: "createGroup",
474
+ outputs: [
475
+ {
476
+ internalType: "uint256",
477
+ name: "groupId",
478
+ type: "uint256"
479
+ }
480
+ ],
481
+ stateMutability: "nonpayable",
482
+ type: "function"
483
+ },
484
+ {
485
+ inputs: [
486
+ {
487
+ internalType: "uint256",
488
+ name: "groupId",
489
+ type: "uint256"
490
+ }
491
+ ],
492
+ name: "getGroupAdmin",
493
+ outputs: [
494
+ {
495
+ internalType: "address",
496
+ name: "",
497
+ type: "address"
498
+ }
499
+ ],
500
+ stateMutability: "view",
501
+ type: "function"
502
+ },
503
+ {
504
+ inputs: [
505
+ {
506
+ internalType: "uint256",
507
+ name: "groupId",
508
+ type: "uint256"
509
+ }
510
+ ],
511
+ name: "getMerkleTreeDepth",
512
+ outputs: [
513
+ {
514
+ internalType: "uint256",
515
+ name: "",
516
+ type: "uint256"
517
+ }
518
+ ],
519
+ stateMutability: "view",
520
+ type: "function"
521
+ },
522
+ {
523
+ inputs: [
524
+ {
525
+ internalType: "uint256",
526
+ name: "groupId",
527
+ type: "uint256"
528
+ }
529
+ ],
530
+ name: "getMerkleTreeRoot",
531
+ outputs: [
532
+ {
533
+ internalType: "uint256",
534
+ name: "",
535
+ type: "uint256"
536
+ }
537
+ ],
538
+ stateMutability: "view",
539
+ type: "function"
540
+ },
541
+ {
542
+ inputs: [
543
+ {
544
+ internalType: "uint256",
545
+ name: "groupId",
546
+ type: "uint256"
547
+ }
548
+ ],
549
+ name: "getMerkleTreeSize",
550
+ outputs: [
551
+ {
552
+ internalType: "uint256",
553
+ name: "",
554
+ type: "uint256"
555
+ }
556
+ ],
557
+ stateMutability: "view",
558
+ type: "function"
559
+ },
560
+ {
561
+ inputs: [
562
+ ],
563
+ name: "groupCounter",
564
+ outputs: [
565
+ {
566
+ internalType: "uint256",
567
+ name: "",
568
+ type: "uint256"
569
+ }
570
+ ],
571
+ stateMutability: "view",
572
+ type: "function"
573
+ },
574
+ {
575
+ inputs: [
576
+ {
577
+ internalType: "uint256",
578
+ name: "",
579
+ type: "uint256"
580
+ }
581
+ ],
582
+ name: "groups",
583
+ outputs: [
584
+ {
585
+ internalType: "uint256",
586
+ name: "merkleTreeDuration",
587
+ type: "uint256"
588
+ }
589
+ ],
590
+ stateMutability: "view",
591
+ type: "function"
592
+ },
593
+ {
594
+ inputs: [
595
+ {
596
+ internalType: "uint256",
597
+ name: "groupId",
598
+ type: "uint256"
599
+ },
600
+ {
601
+ internalType: "uint256",
602
+ name: "identityCommitment",
603
+ type: "uint256"
604
+ }
605
+ ],
606
+ name: "hasMember",
607
+ outputs: [
608
+ {
609
+ internalType: "bool",
610
+ name: "",
611
+ type: "bool"
612
+ }
613
+ ],
614
+ stateMutability: "view",
615
+ type: "function"
616
+ },
617
+ {
618
+ inputs: [
619
+ {
620
+ internalType: "uint256",
621
+ name: "groupId",
622
+ type: "uint256"
623
+ },
624
+ {
625
+ internalType: "uint256",
626
+ name: "identityCommitment",
627
+ type: "uint256"
628
+ }
629
+ ],
630
+ name: "indexOf",
631
+ outputs: [
632
+ {
633
+ internalType: "uint256",
634
+ name: "",
635
+ type: "uint256"
636
+ }
637
+ ],
638
+ stateMutability: "view",
639
+ type: "function"
640
+ },
641
+ {
642
+ inputs: [
643
+ {
644
+ internalType: "uint256",
645
+ name: "groupId",
646
+ type: "uint256"
647
+ },
648
+ {
649
+ internalType: "uint256",
650
+ name: "identityCommitment",
651
+ type: "uint256"
652
+ },
653
+ {
654
+ internalType: "uint256[]",
655
+ name: "merkleProofSiblings",
656
+ type: "uint256[]"
657
+ }
658
+ ],
659
+ name: "removeMember",
660
+ outputs: [
661
+ ],
662
+ stateMutability: "nonpayable",
663
+ type: "function"
664
+ },
665
+ {
666
+ inputs: [
667
+ {
668
+ internalType: "uint256",
669
+ name: "groupId",
670
+ type: "uint256"
671
+ },
672
+ {
673
+ internalType: "address",
674
+ name: "newAdmin",
675
+ type: "address"
676
+ }
677
+ ],
678
+ name: "updateGroupAdmin",
679
+ outputs: [
680
+ ],
681
+ stateMutability: "nonpayable",
682
+ type: "function"
683
+ },
684
+ {
685
+ inputs: [
686
+ {
687
+ internalType: "uint256",
688
+ name: "groupId",
689
+ type: "uint256"
690
+ },
691
+ {
692
+ internalType: "uint256",
693
+ name: "newMerkleTreeDuration",
694
+ type: "uint256"
695
+ }
696
+ ],
697
+ name: "updateGroupMerkleTreeDuration",
698
+ outputs: [
699
+ ],
700
+ stateMutability: "nonpayable",
701
+ type: "function"
702
+ },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: "uint256",
707
+ name: "groupId",
708
+ type: "uint256"
709
+ },
710
+ {
711
+ internalType: "uint256",
712
+ name: "identityCommitment",
713
+ type: "uint256"
714
+ },
715
+ {
716
+ internalType: "uint256",
717
+ name: "newIdentityCommitment",
718
+ type: "uint256"
719
+ },
720
+ {
721
+ internalType: "uint256[]",
722
+ name: "merkleProofSiblings",
723
+ type: "uint256[]"
724
+ }
725
+ ],
726
+ name: "updateMember",
727
+ outputs: [
728
+ ],
729
+ stateMutability: "nonpayable",
730
+ type: "function"
731
+ },
732
+ {
733
+ inputs: [
734
+ {
735
+ internalType: "uint256",
736
+ name: "groupId",
737
+ type: "uint256"
738
+ },
739
+ {
740
+ components: [
741
+ {
742
+ internalType: "uint256",
743
+ name: "merkleTreeDepth",
744
+ type: "uint256"
745
+ },
746
+ {
747
+ internalType: "uint256",
748
+ name: "merkleTreeRoot",
749
+ type: "uint256"
750
+ },
751
+ {
752
+ internalType: "uint256",
753
+ name: "nullifier",
754
+ type: "uint256"
755
+ },
756
+ {
757
+ internalType: "uint256",
758
+ name: "message",
759
+ type: "uint256"
760
+ },
761
+ {
762
+ internalType: "uint256",
763
+ name: "scope",
764
+ type: "uint256"
765
+ },
766
+ {
767
+ internalType: "uint256[8]",
768
+ name: "points",
769
+ type: "uint256[8]"
770
+ }
771
+ ],
772
+ internalType: "struct ISemaphore.SemaphoreProof",
773
+ name: "proof",
774
+ type: "tuple"
775
+ }
776
+ ],
777
+ name: "validateProof",
778
+ outputs: [
779
+ ],
780
+ stateMutability: "nonpayable",
781
+ type: "function"
782
+ },
783
+ {
784
+ inputs: [
785
+ ],
786
+ name: "verifier",
787
+ outputs: [
788
+ {
789
+ internalType: "contract ISemaphoreVerifier",
790
+ name: "",
791
+ type: "address"
792
+ }
793
+ ],
794
+ stateMutability: "view",
795
+ type: "function"
796
+ },
797
+ {
798
+ inputs: [
799
+ {
800
+ internalType: "uint256",
801
+ name: "groupId",
802
+ type: "uint256"
803
+ },
804
+ {
805
+ components: [
806
+ {
807
+ internalType: "uint256",
808
+ name: "merkleTreeDepth",
809
+ type: "uint256"
810
+ },
811
+ {
812
+ internalType: "uint256",
813
+ name: "merkleTreeRoot",
814
+ type: "uint256"
815
+ },
816
+ {
817
+ internalType: "uint256",
818
+ name: "nullifier",
819
+ type: "uint256"
820
+ },
821
+ {
822
+ internalType: "uint256",
823
+ name: "message",
824
+ type: "uint256"
825
+ },
826
+ {
827
+ internalType: "uint256",
828
+ name: "scope",
829
+ type: "uint256"
830
+ },
831
+ {
832
+ internalType: "uint256[8]",
833
+ name: "points",
834
+ type: "uint256[8]"
835
+ }
836
+ ],
837
+ internalType: "struct ISemaphore.SemaphoreProof",
838
+ name: "proof",
839
+ type: "tuple"
840
+ }
841
+ ],
842
+ name: "verifyProof",
843
+ outputs: [
844
+ {
845
+ internalType: "bool",
846
+ name: "",
847
+ type: "bool"
848
+ }
849
+ ],
850
+ stateMutability: "view",
851
+ type: "function"
852
+ }
853
+ ];
854
+ var bytecode = "0x608060405234801561001057600080fd5b5060405161201538038061201583398101604081905261002f91610054565b600380546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b611f82806100936000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80636389e107116100b8578063a9961c941161007c578063a9961c94146102b5578063d0d898dd146102de578063d24924fe146102f1578063da3cda52146102fa578063dabc4d511461030d578063fcf0b6ec1461032057600080fd5b80636389e1071461022c5780636cdd32fe1461024f5780637ee35a0c1461026257806390509d441461028257806396324bd41461029557600080fd5b80634178c4d5116100ff5780634178c4d5146101c8578063456f4188146101db578063568ee826146101fe578063575185ed146102115780635c3f3b601461021957600080fd5b8063042453711461013c57806306dd8485146101515780631783efc3146101775780632b7ac3f31461018a5780632c880363146101b5575b600080fd5b61014f61014a3660046119e2565b610333565b005b61016461015f366004611a2e565b610366565b6040519081526020015b60405180910390f35b61014f610185366004611a2e565b610387565b60035461019d906001600160a01b031681565b6040516001600160a01b03909116815260200161016e565b6101646101c3366004611a6c565b6103b8565b61014f6101d6366004611a96565b6103f0565b6101ee6101e9366004611af7565b610427565b604051901515815260200161016e565b61014f61020c366004611b31565b61068c565b61016461069a565b610164610227366004611b5d565b6106d1565b61016461023a366004611b78565b60009081526020819052604090206001015490565b61014f61025d366004611b91565b61070a565b610164610270366004611b78565b60009081526020819052604090205490565b6101ee610290366004611a2e565b61073f565b6101646102a3366004611b78565b60046020526000908152604090205481565b61019d6102c3366004611b78565b6000908152600160205260409020546001600160a01b031690565b61014f6102ec366004611af7565b610761565b61016460055481565b61014f610308366004611b78565b61084b565b61016461031b366004611b78565b610857565b61014f61032e366004611a2e565b61087b565b600061034084848461090b565b600094855260046020908152604080872092875260019092019052909320429055505050565b600082815260208190526040812061037e90836109a9565b90505b92915050565b600061039383836109f6565b6000938452600460209081526040808620928652600190920190529092204290555050565b60058054600091826103c983611bfa565b9190505590506103d98184610a98565b600081815260046020526040902091909155919050565b60006103ff8686868686610b22565b6000968752600460209081526040808920928952600190920190529095204290555050505050565b60008281526001602052604081205483906001600160a01b031661045e5760405163029f057960e01b815260040160405180910390fd5b60018335108061046f575060208335115b1561048d5760405163767b278960e11b815260040160405180910390fd5b600084815260208190526040812054908190036104bd5760405163c8b02e0160e01b815260040160405180910390fd5b60006104c886610857565b90508085602001351461054d576000868152600460208181526040808420898301358552600181018352908420548a855292909152549091829003610520576040516326994ac360e11b815260040160405180910390fd5b61052a8183611c13565b42111561054a576040516309581a9960e41b815260040160405180910390fd5b50505b60035460408051808201825260a0880135815260c088013560208083019190915282516080808201855260e08b01358286019081526101008c0135606080850191909152908352855180870187526101208d013581526101408d01358186015283850152855180870187526101608d013581526101808d01358186015286519283018752848d013583528c870135948301949094526001600160a01b039096169563a23f019995929392820190610606908d0135610be9565b81526020016106188c60800135610be9565b90526040516001600160e01b031960e087901b16815261064194939291908c3590600401611c88565b602060405180830381865afa15801561065e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190611d1b565b9695505050505050565b6106968282610c20565b5050565b60058054600091826106ab83611bfa565b9190505590506106bb8133610a98565b6000818152600460205260409020610e10905590565b60058054600091826106e283611bfa565b9190505590506106f28183610a98565b6000818152600460205260409020610e109055919050565b600061071885858585610cb4565b60009586526004602090815260408088209288526001909201905290942042905550505050565b600082815260208181526040808320848452600301909152812054151561037e565b600082815260046020908152604080832084820135845260020190915290205460ff16156107a25760405163041162bd60e31b815260040160405180910390fd5b6107ac8282610427565b6107c95760405163012a9af160e61b815260040160405180910390fd5b6000828152600460209081526040808320848201358085526002909101835292819020805460ff1916600117905551608084013592918401359185917f0c32e14cfe81a05d371c248d22de6b7ae849e981b76a1f8842e7b6da73fc405a9161083f918735919060608901359060a08a0190611d44565b60405180910390a45050565b61085481610d72565b50565b60008181526020818152604080832060018101548452600201909152812054610381565b60008281526001602052604090205482906001600160a01b031633146108b4576040516317737e4f60e31b815260040160405180910390fd5b60008381526004602090815260409182902080549085905582518181529182018590529185917f264b2a8f6763c084235fe832ba903482b2ef1a521336881fc75b987c2dfd29c5910160405180910390a250505050565b60008381526001602052604081205484906001600160a01b03163314610944576040516317737e4f60e31b815260040160405180910390fd5b6000858152602081905260409020805490610960908686610e17565b9250857f61e5e8054e3daf084a0c6c646c065e8bf5e7ca4d5567bda942309bd1652f349d828787876040516109989493929190611d6c565b60405180910390a250509392505050565b600081815260038301602052604081205481036109d957604051631c811d5b60e21b815260040160405180910390fd5b600082815260038401602052604090205461037e90600190611db2565b60008281526001602052604081205483906001600160a01b03163314610a2f576040516317737e4f60e31b815260040160405180910390fd5b6000848152602081905260409020805490610a4a9085611344565b604080518381526020810187905290810182905290935085907f19239b3f93cd10558aaf11423af70c77763bf54f52bcc75bfa74d4d13548cde99060600160405180910390a2505092915050565b60008281526001602052604080822080546001600160a01b0319166001600160a01b0385161790555183917ff0adfb94eab6daf835deb69c5738fe636150c3dfd08094a76f39b963dc8cb05a91a26040516001600160a01b0382169060009084907f0ba83579a0e79193ef649b9f5a8759d35af086ba62a3e207b52e4a8ae30d49e3908390a45050565b60008581526001602052604081205486906001600160a01b03163314610b5b576040516317737e4f60e31b815260040160405180910390fd5b6000878152602081905260408120610b7390886109a9565b6000898152602081905260409020909150610b91908888888861150d565b60408051838152602081018a90529081018890526060810182905290935088907fea3588e4a2a0c93d6a0e69dfeaf7496f43ccccf02ad9ce0a5b7627cbca4b61b19060800160405180910390a2505095945050505050565b6000600882604051602001610c0091815260200190565b60408051601f198184030181529190528051602090910120901c92915050565b60008281526001602052604090205482906001600160a01b03163314610c59576040516317737e4f60e31b815260040160405180910390fd5b60008381526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339186917f1018365553cce55d9cb02ef73e18cc9311894f3fe1d1eafd235ac2d26cd8ba5891a4505050565b60008481526001602052604081205485906001600160a01b03163314610ced576040516317737e4f60e31b815260040160405180910390fd5b6000868152602081905260408120610d0590876109a9565b6000888152602081905260409020909150610d229087878761197d565b604080518381526020810189905290810182905290935087907f3108849c053c77b8073a11256dffb5ffd5b55e93e105a355e1c9061db890d8719060600160405180910390a25050949350505050565b6000818152600260205260409020546001600160a01b03163314610da9576040516334c4245d60e01b815260040160405180910390fd5b60008181526001602090815260408083208054336001600160a01b031980831682179093556002909452828520805490921690915590516001600160a01b0390911692839185917f0ba83579a0e79193ef649b9f5a8759d35af086ba62a3e207b52e4a8ae30d49e391a45050565b8254600090815b83811015610f4857600080516020611f2d833981519152858583818110610e4757610e47611c26565b9050602002013510610e6c576040516361c0541760e11b815260040160405180910390fd5b848482818110610e7e57610e7e611c26565b90506020020135600003610ea5576040516314b48df160e11b815260040160405180910390fd5b610eda86868684818110610ebb57610ebb611c26565b9050602002013560009081526003919091016020526040902054151590565b15610ef8576040516312c50cad60e11b815260040160405180910390fd5b80610f04836001611c13565b610f0e9190611c13565b866003016000878785818110610f2657610f26611c26565b6020908102929092013583525081019190915260400160002055600101610e1e565b50606084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050506001880154919250505b610f918584611c13565b610f9c826002611ea9565b1015610fb257610fab81611bfa565b9050610f87565b60018701819055826000610fc68783611c13565b9050600182811c90600090610fdb8185611db2565b610fe7911c6001611c13565b905060005b858110156112d85760006110008484611db2565b905060008167ffffffffffffffff81111561101d5761101d611eb5565b604051908082528060200260200182016040528015611046578160200160208202803683370190505b50905060005b82811015611203576000886110618884611c13565b61106c906002611ecb565b101561108f578f60020160008681526020019081526020016000205490506110cb565b8a8961109b8985611c13565b6110a6906002611ecb565b6110b09190611db2565b815181106110c0576110c0611c26565b602002602001015190505b6000886110d88985611c13565b6110e3906002611ecb565b6110ee906001611c13565b101561113b578b8a6111008a86611c13565b61110b906002611ecb565b611116906001611c13565b6111209190611db2565b8151811061113057611130611c26565b602002602001015190505b600081156111d357604080518082018252848152602081018490529051632b0aac7f60e11b815273__$75f79a42d9bcbdbb69ad79ebd80f556f39$__9163561558fe9161118b9190600401611ee2565b602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611f13565b90506111d6565b50815b808585815181106111e9576111e9611c26565b60200260200101818152505083600101935050505061104c565b5085600116600103611254578860018a5161121e9190611db2565b8151811061122e5761122e611c26565b60200260200101518e60020160008581526020019081526020016000208190555061129f565b60018951111561129f578860028a5161126d9190611db2565b8151811061127d5761127d611c26565b60200260200101518e6002016000858152602001908152602001600020819055505b849650600185901c9450809850839550600180856112bd9190611db2565b6112c9911c6001611c13565b93508260010192505050610fec565b506112e38988611c13565b8b55855186906000906112f8576112f8611c26565b60200260200101518b6002016000878152602001908152602001600020819055508560008151811061132c5761132c611c26565b60200260200101519750505050505050509392505050565b6000600080516020611f2d8339815191528210611374576040516361c0541760e11b815260040160405180910390fd5b81600003611395576040516314b48df160e11b815260040160405180910390fd5b6000828152600384016020526040902054156113c4576040516312c50cad60e11b815260040160405180910390fd5b8254600180850154906113d8908390611c13565b6113e3826002611ea9565b10156113f5576113f281611bfa565b90505b600185018190558360005b828110156114d2578084901c6001166001036114b657604080518082018252600083815260028a0160209081529083902054825281018490529051632b0aac7f60e11b815273__$75f79a42d9bcbdbb69ad79ebd80f556f39$__9163561558fe9161146e9190600401611ee2565b602060405180830381865af415801561148b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114af9190611f13565b91506114ca565b600081815260028801602052604090208290555b600101611400565b506114dc83611bfa565b8087556000928352600287016020908152604080852084905596845260039097019096529390209390935550919050565b6000600080516020611f2d833981519152841061153d576040516361c0541760e11b815260040160405180910390fd5b600085815260038701602052604090205461156b57604051631c811d5b60e21b815260040160405180910390fd5b60008481526003870160205260409020541561159a576040516312c50cad60e11b815260040160405180910390fd5b60006115a687876109a9565b8754909150859087906000906115be90600190611db2565b60018b0154909150600090815b818110156118f4578087901c60011660010361177e57600080516020611f2d8339815191528a8a8581811061160257611602611c26565b9050602002013510611627576040516361c0541760e11b815260040160405180910390fd5b73__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808d8d8881811061165e5761165e611c26565b905060200201358152602001898152506040518263ffffffff1660e01b815260040161168a9190611ee2565b602060405180830381865af41580156116a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cb9190611f13565b955073__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808d8d8881811061170457611704611c26565b905060200201358152602001888152506040518263ffffffff1660e01b81526004016117309190611ee2565b602060405180830381865af415801561174d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117719190611f13565b94508260010192506118ec565b86811c84821c146118d857600080516020611f2d8339815191528a8a858181106117aa576117aa611c26565b90506020020135106117cf576040516361c0541760e11b815260040160405180910390fd5b73__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808981526020018d8d8881811061180c5761180c611c26565b905060200201358152506040518263ffffffff1660e01b81526004016118329190611ee2565b602060405180830381865af415801561184f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118739190611f13565b955073__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808881526020018d8d888181106118b2576118b2611c26565b905060200201358152506040518263ffffffff1660e01b81526004016117309190611ee2565b600083815260028e01602052604090208690555b6001016115cb565b5060018c0154600090815260028d016020526040902054841461192a57604051631fd4986360e11b815260040160405180910390fd5b600081815260028d0160205260409020859055891561195c5760008b815260038d016020526040808220548c83529120555b505050600088815260038a0160205260408120555091505095945050505050565b600061198d85856000868661150d565b95945050505050565b60008083601f8401126119a857600080fd5b50813567ffffffffffffffff8111156119c057600080fd5b6020830191508360208260051b85010111156119db57600080fd5b9250929050565b6000806000604084860312156119f757600080fd5b83359250602084013567ffffffffffffffff811115611a1557600080fd5b611a2186828701611996565b9497909650939450505050565b60008060408385031215611a4157600080fd5b50508035926020909101359150565b80356001600160a01b0381168114611a6757600080fd5b919050565b60008060408385031215611a7f57600080fd5b611a8883611a50565b946020939093013593505050565b600080600080600060808688031215611aae57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115611ada57600080fd5b611ae688828901611996565b969995985093965092949392505050565b6000808284036101c0811215611b0c57600080fd5b833592506101a0601f1982011215611b2357600080fd5b506020830190509250929050565b60008060408385031215611b4457600080fd5b82359150611b5460208401611a50565b90509250929050565b600060208284031215611b6f57600080fd5b61037e82611a50565b600060208284031215611b8a57600080fd5b5035919050565b60008060008060608587031215611ba757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115611bcc57600080fd5b611bd887828801611996565b95989497509550505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611c0c57611c0c611be4565b5060010190565b8082018082111561038157610381611be4565b634e487b7160e01b600052603260045260246000fd5b8060005b6002811015611c5f578151845260209384019390910190600101611c40565b50505050565b8060005b6004811015611c5f578151845260209384019390910190600101611c69565b6101a08101611c978288611c3c565b6040808301876000805b6002808210611cb05750611cea565b835185845b83811015611cd3578251825260209283019290910190600101611cb5565b505050938501935060209290920191600101611ca1565b5050505050611cfc60c0830186611c3c565b611d0a610100830185611c65565b826101808301529695505050505050565b600060208284031215611d2d57600080fd5b81518015158114611d3d57600080fd5b9392505050565b8481526020810184905260408101839052610160810161010083606084013795945050505050565b848152606060208201819052810183905260006001600160fb1b03841115611d9357600080fd5b8360051b80866080850137604083019390935250016080019392505050565b8181038181111561038157610381611be4565b600181815b80851115611e00578160001904821115611de657611de6611be4565b80851615611df357918102915b93841c9390800290611dca565b509250929050565b600082611e1757506001610381565b81611e2457506000610381565b8160018114611e3a5760028114611e4457611e60565b6001915050610381565b60ff841115611e5557611e55611be4565b50506001821b610381565b5060208310610133831016604e8410600b8410161715611e83575081810a610381565b611e8d8383611dc5565b8060001904821115611ea157611ea1611be4565b029392505050565b600061037e8383611e08565b634e487b7160e01b600052604160045260246000fd5b808202811582820484141761038157610381611be4565b60408101818360005b6002811015611f0a578151835260209283019290910190600101611eeb565b50505092915050565b600060208284031215611f2557600080fd5b505191905056fe30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001a2646970667358221220164ddea4e67fb9956ad9d73065c0b85ecf9b8062f67bcc5be446364b9475660664736f6c63430008170033";
855
+ var deployedBytecode = "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80636389e107116100b8578063a9961c941161007c578063a9961c94146102b5578063d0d898dd146102de578063d24924fe146102f1578063da3cda52146102fa578063dabc4d511461030d578063fcf0b6ec1461032057600080fd5b80636389e1071461022c5780636cdd32fe1461024f5780637ee35a0c1461026257806390509d441461028257806396324bd41461029557600080fd5b80634178c4d5116100ff5780634178c4d5146101c8578063456f4188146101db578063568ee826146101fe578063575185ed146102115780635c3f3b601461021957600080fd5b8063042453711461013c57806306dd8485146101515780631783efc3146101775780632b7ac3f31461018a5780632c880363146101b5575b600080fd5b61014f61014a3660046119e2565b610333565b005b61016461015f366004611a2e565b610366565b6040519081526020015b60405180910390f35b61014f610185366004611a2e565b610387565b60035461019d906001600160a01b031681565b6040516001600160a01b03909116815260200161016e565b6101646101c3366004611a6c565b6103b8565b61014f6101d6366004611a96565b6103f0565b6101ee6101e9366004611af7565b610427565b604051901515815260200161016e565b61014f61020c366004611b31565b61068c565b61016461069a565b610164610227366004611b5d565b6106d1565b61016461023a366004611b78565b60009081526020819052604090206001015490565b61014f61025d366004611b91565b61070a565b610164610270366004611b78565b60009081526020819052604090205490565b6101ee610290366004611a2e565b61073f565b6101646102a3366004611b78565b60046020526000908152604090205481565b61019d6102c3366004611b78565b6000908152600160205260409020546001600160a01b031690565b61014f6102ec366004611af7565b610761565b61016460055481565b61014f610308366004611b78565b61084b565b61016461031b366004611b78565b610857565b61014f61032e366004611a2e565b61087b565b600061034084848461090b565b600094855260046020908152604080872092875260019092019052909320429055505050565b600082815260208190526040812061037e90836109a9565b90505b92915050565b600061039383836109f6565b6000938452600460209081526040808620928652600190920190529092204290555050565b60058054600091826103c983611bfa565b9190505590506103d98184610a98565b600081815260046020526040902091909155919050565b60006103ff8686868686610b22565b6000968752600460209081526040808920928952600190920190529095204290555050505050565b60008281526001602052604081205483906001600160a01b031661045e5760405163029f057960e01b815260040160405180910390fd5b60018335108061046f575060208335115b1561048d5760405163767b278960e11b815260040160405180910390fd5b600084815260208190526040812054908190036104bd5760405163c8b02e0160e01b815260040160405180910390fd5b60006104c886610857565b90508085602001351461054d576000868152600460208181526040808420898301358552600181018352908420548a855292909152549091829003610520576040516326994ac360e11b815260040160405180910390fd5b61052a8183611c13565b42111561054a576040516309581a9960e41b815260040160405180910390fd5b50505b60035460408051808201825260a0880135815260c088013560208083019190915282516080808201855260e08b01358286019081526101008c0135606080850191909152908352855180870187526101208d013581526101408d01358186015283850152855180870187526101608d013581526101808d01358186015286519283018752848d013583528c870135948301949094526001600160a01b039096169563a23f019995929392820190610606908d0135610be9565b81526020016106188c60800135610be9565b90526040516001600160e01b031960e087901b16815261064194939291908c3590600401611c88565b602060405180830381865afa15801561065e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190611d1b565b9695505050505050565b6106968282610c20565b5050565b60058054600091826106ab83611bfa565b9190505590506106bb8133610a98565b6000818152600460205260409020610e10905590565b60058054600091826106e283611bfa565b9190505590506106f28183610a98565b6000818152600460205260409020610e109055919050565b600061071885858585610cb4565b60009586526004602090815260408088209288526001909201905290942042905550505050565b600082815260208181526040808320848452600301909152812054151561037e565b600082815260046020908152604080832084820135845260020190915290205460ff16156107a25760405163041162bd60e31b815260040160405180910390fd5b6107ac8282610427565b6107c95760405163012a9af160e61b815260040160405180910390fd5b6000828152600460209081526040808320848201358085526002909101835292819020805460ff1916600117905551608084013592918401359185917f0c32e14cfe81a05d371c248d22de6b7ae849e981b76a1f8842e7b6da73fc405a9161083f918735919060608901359060a08a0190611d44565b60405180910390a45050565b61085481610d72565b50565b60008181526020818152604080832060018101548452600201909152812054610381565b60008281526001602052604090205482906001600160a01b031633146108b4576040516317737e4f60e31b815260040160405180910390fd5b60008381526004602090815260409182902080549085905582518181529182018590529185917f264b2a8f6763c084235fe832ba903482b2ef1a521336881fc75b987c2dfd29c5910160405180910390a250505050565b60008381526001602052604081205484906001600160a01b03163314610944576040516317737e4f60e31b815260040160405180910390fd5b6000858152602081905260409020805490610960908686610e17565b9250857f61e5e8054e3daf084a0c6c646c065e8bf5e7ca4d5567bda942309bd1652f349d828787876040516109989493929190611d6c565b60405180910390a250509392505050565b600081815260038301602052604081205481036109d957604051631c811d5b60e21b815260040160405180910390fd5b600082815260038401602052604090205461037e90600190611db2565b60008281526001602052604081205483906001600160a01b03163314610a2f576040516317737e4f60e31b815260040160405180910390fd5b6000848152602081905260409020805490610a4a9085611344565b604080518381526020810187905290810182905290935085907f19239b3f93cd10558aaf11423af70c77763bf54f52bcc75bfa74d4d13548cde99060600160405180910390a2505092915050565b60008281526001602052604080822080546001600160a01b0319166001600160a01b0385161790555183917ff0adfb94eab6daf835deb69c5738fe636150c3dfd08094a76f39b963dc8cb05a91a26040516001600160a01b0382169060009084907f0ba83579a0e79193ef649b9f5a8759d35af086ba62a3e207b52e4a8ae30d49e3908390a45050565b60008581526001602052604081205486906001600160a01b03163314610b5b576040516317737e4f60e31b815260040160405180910390fd5b6000878152602081905260408120610b7390886109a9565b6000898152602081905260409020909150610b91908888888861150d565b60408051838152602081018a90529081018890526060810182905290935088907fea3588e4a2a0c93d6a0e69dfeaf7496f43ccccf02ad9ce0a5b7627cbca4b61b19060800160405180910390a2505095945050505050565b6000600882604051602001610c0091815260200190565b60408051601f198184030181529190528051602090910120901c92915050565b60008281526001602052604090205482906001600160a01b03163314610c59576040516317737e4f60e31b815260040160405180910390fd5b60008381526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339186917f1018365553cce55d9cb02ef73e18cc9311894f3fe1d1eafd235ac2d26cd8ba5891a4505050565b60008481526001602052604081205485906001600160a01b03163314610ced576040516317737e4f60e31b815260040160405180910390fd5b6000868152602081905260408120610d0590876109a9565b6000888152602081905260409020909150610d229087878761197d565b604080518381526020810189905290810182905290935087907f3108849c053c77b8073a11256dffb5ffd5b55e93e105a355e1c9061db890d8719060600160405180910390a25050949350505050565b6000818152600260205260409020546001600160a01b03163314610da9576040516334c4245d60e01b815260040160405180910390fd5b60008181526001602090815260408083208054336001600160a01b031980831682179093556002909452828520805490921690915590516001600160a01b0390911692839185917f0ba83579a0e79193ef649b9f5a8759d35af086ba62a3e207b52e4a8ae30d49e391a45050565b8254600090815b83811015610f4857600080516020611f2d833981519152858583818110610e4757610e47611c26565b9050602002013510610e6c576040516361c0541760e11b815260040160405180910390fd5b848482818110610e7e57610e7e611c26565b90506020020135600003610ea5576040516314b48df160e11b815260040160405180910390fd5b610eda86868684818110610ebb57610ebb611c26565b9050602002013560009081526003919091016020526040902054151590565b15610ef8576040516312c50cad60e11b815260040160405180910390fd5b80610f04836001611c13565b610f0e9190611c13565b866003016000878785818110610f2657610f26611c26565b6020908102929092013583525081019190915260400160002055600101610e1e565b50606084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050506001880154919250505b610f918584611c13565b610f9c826002611ea9565b1015610fb257610fab81611bfa565b9050610f87565b60018701819055826000610fc68783611c13565b9050600182811c90600090610fdb8185611db2565b610fe7911c6001611c13565b905060005b858110156112d85760006110008484611db2565b905060008167ffffffffffffffff81111561101d5761101d611eb5565b604051908082528060200260200182016040528015611046578160200160208202803683370190505b50905060005b82811015611203576000886110618884611c13565b61106c906002611ecb565b101561108f578f60020160008681526020019081526020016000205490506110cb565b8a8961109b8985611c13565b6110a6906002611ecb565b6110b09190611db2565b815181106110c0576110c0611c26565b602002602001015190505b6000886110d88985611c13565b6110e3906002611ecb565b6110ee906001611c13565b101561113b578b8a6111008a86611c13565b61110b906002611ecb565b611116906001611c13565b6111209190611db2565b8151811061113057611130611c26565b602002602001015190505b600081156111d357604080518082018252848152602081018490529051632b0aac7f60e11b815273__$75f79a42d9bcbdbb69ad79ebd80f556f39$__9163561558fe9161118b9190600401611ee2565b602060405180830381865af41580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611f13565b90506111d6565b50815b808585815181106111e9576111e9611c26565b60200260200101818152505083600101935050505061104c565b5085600116600103611254578860018a5161121e9190611db2565b8151811061122e5761122e611c26565b60200260200101518e60020160008581526020019081526020016000208190555061129f565b60018951111561129f578860028a5161126d9190611db2565b8151811061127d5761127d611c26565b60200260200101518e6002016000858152602001908152602001600020819055505b849650600185901c9450809850839550600180856112bd9190611db2565b6112c9911c6001611c13565b93508260010192505050610fec565b506112e38988611c13565b8b55855186906000906112f8576112f8611c26565b60200260200101518b6002016000878152602001908152602001600020819055508560008151811061132c5761132c611c26565b60200260200101519750505050505050509392505050565b6000600080516020611f2d8339815191528210611374576040516361c0541760e11b815260040160405180910390fd5b81600003611395576040516314b48df160e11b815260040160405180910390fd5b6000828152600384016020526040902054156113c4576040516312c50cad60e11b815260040160405180910390fd5b8254600180850154906113d8908390611c13565b6113e3826002611ea9565b10156113f5576113f281611bfa565b90505b600185018190558360005b828110156114d2578084901c6001166001036114b657604080518082018252600083815260028a0160209081529083902054825281018490529051632b0aac7f60e11b815273__$75f79a42d9bcbdbb69ad79ebd80f556f39$__9163561558fe9161146e9190600401611ee2565b602060405180830381865af415801561148b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114af9190611f13565b91506114ca565b600081815260028801602052604090208290555b600101611400565b506114dc83611bfa565b8087556000928352600287016020908152604080852084905596845260039097019096529390209390935550919050565b6000600080516020611f2d833981519152841061153d576040516361c0541760e11b815260040160405180910390fd5b600085815260038701602052604090205461156b57604051631c811d5b60e21b815260040160405180910390fd5b60008481526003870160205260409020541561159a576040516312c50cad60e11b815260040160405180910390fd5b60006115a687876109a9565b8754909150859087906000906115be90600190611db2565b60018b0154909150600090815b818110156118f4578087901c60011660010361177e57600080516020611f2d8339815191528a8a8581811061160257611602611c26565b9050602002013510611627576040516361c0541760e11b815260040160405180910390fd5b73__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808d8d8881811061165e5761165e611c26565b905060200201358152602001898152506040518263ffffffff1660e01b815260040161168a9190611ee2565b602060405180830381865af41580156116a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cb9190611f13565b955073__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808d8d8881811061170457611704611c26565b905060200201358152602001888152506040518263ffffffff1660e01b81526004016117309190611ee2565b602060405180830381865af415801561174d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117719190611f13565b94508260010192506118ec565b86811c84821c146118d857600080516020611f2d8339815191528a8a858181106117aa576117aa611c26565b90506020020135106117cf576040516361c0541760e11b815260040160405180910390fd5b73__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808981526020018d8d8881811061180c5761180c611c26565b905060200201358152506040518263ffffffff1660e01b81526004016118329190611ee2565b602060405180830381865af415801561184f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118739190611f13565b955073__$75f79a42d9bcbdbb69ad79ebd80f556f39$__63561558fe60405180604001604052808881526020018d8d888181106118b2576118b2611c26565b905060200201358152506040518263ffffffff1660e01b81526004016117309190611ee2565b600083815260028e01602052604090208690555b6001016115cb565b5060018c0154600090815260028d016020526040902054841461192a57604051631fd4986360e11b815260040160405180910390fd5b600081815260028d0160205260409020859055891561195c5760008b815260038d016020526040808220548c83529120555b505050600088815260038a0160205260408120555091505095945050505050565b600061198d85856000868661150d565b95945050505050565b60008083601f8401126119a857600080fd5b50813567ffffffffffffffff8111156119c057600080fd5b6020830191508360208260051b85010111156119db57600080fd5b9250929050565b6000806000604084860312156119f757600080fd5b83359250602084013567ffffffffffffffff811115611a1557600080fd5b611a2186828701611996565b9497909650939450505050565b60008060408385031215611a4157600080fd5b50508035926020909101359150565b80356001600160a01b0381168114611a6757600080fd5b919050565b60008060408385031215611a7f57600080fd5b611a8883611a50565b946020939093013593505050565b600080600080600060808688031215611aae57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115611ada57600080fd5b611ae688828901611996565b969995985093965092949392505050565b6000808284036101c0811215611b0c57600080fd5b833592506101a0601f1982011215611b2357600080fd5b506020830190509250929050565b60008060408385031215611b4457600080fd5b82359150611b5460208401611a50565b90509250929050565b600060208284031215611b6f57600080fd5b61037e82611a50565b600060208284031215611b8a57600080fd5b5035919050565b60008060008060608587031215611ba757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115611bcc57600080fd5b611bd887828801611996565b95989497509550505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611c0c57611c0c611be4565b5060010190565b8082018082111561038157610381611be4565b634e487b7160e01b600052603260045260246000fd5b8060005b6002811015611c5f578151845260209384019390910190600101611c40565b50505050565b8060005b6004811015611c5f578151845260209384019390910190600101611c69565b6101a08101611c978288611c3c565b6040808301876000805b6002808210611cb05750611cea565b835185845b83811015611cd3578251825260209283019290910190600101611cb5565b505050938501935060209290920191600101611ca1565b5050505050611cfc60c0830186611c3c565b611d0a610100830185611c65565b826101808301529695505050505050565b600060208284031215611d2d57600080fd5b81518015158114611d3d57600080fd5b9392505050565b8481526020810184905260408101839052610160810161010083606084013795945050505050565b848152606060208201819052810183905260006001600160fb1b03841115611d9357600080fd5b8360051b80866080850137604083019390935250016080019392505050565b8181038181111561038157610381611be4565b600181815b80851115611e00578160001904821115611de657611de6611be4565b80851615611df357918102915b93841c9390800290611dca565b509250929050565b600082611e1757506001610381565b81611e2457506000610381565b8160018114611e3a5760028114611e4457611e60565b6001915050610381565b60ff841115611e5557611e55611be4565b50506001821b610381565b5060208310610133831016604e8410600b8410161715611e83575081810a610381565b611e8d8383611dc5565b8060001904821115611ea157611ea1611be4565b029392505050565b600061037e8383611e08565b634e487b7160e01b600052604160045260246000fd5b808202811582820484141761038157610381611be4565b60408101818360005b6002811015611f0a578151835260209283019290910190600101611eeb565b50505092915050565b600060208284031215611f2557600080fd5b505191905056fe30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001a2646970667358221220164ddea4e67fb9956ad9d73065c0b85ecf9b8062f67bcc5be446364b9475660664736f6c63430008170033";
856
+ var linkReferences = {
857
+ "poseidon-solidity/PoseidonT3.sol": {
858
+ PoseidonT3: [
859
+ {
860
+ length: 20,
861
+ start: 4599
862
+ },
863
+ {
864
+ length: 20,
865
+ start: 5338
866
+ },
867
+ {
868
+ length: 20,
869
+ start: 5820
870
+ },
871
+ {
872
+ length: 20,
873
+ start: 5986
874
+ },
875
+ {
876
+ length: 20,
877
+ start: 6244
878
+ },
879
+ {
880
+ length: 20,
881
+ start: 6410
882
+ }
883
+ ]
884
+ }
885
+ };
886
+ var deployedLinkReferences = {
887
+ "poseidon-solidity/PoseidonT3.sol": {
888
+ PoseidonT3: [
889
+ {
890
+ length: 20,
891
+ start: 4452
892
+ },
893
+ {
894
+ length: 20,
895
+ start: 5191
896
+ },
897
+ {
898
+ length: 20,
899
+ start: 5673
900
+ },
901
+ {
902
+ length: 20,
903
+ start: 5839
904
+ },
905
+ {
906
+ length: 20,
907
+ start: 6097
908
+ },
909
+ {
910
+ length: 20,
911
+ start: 6263
912
+ }
913
+ ]
914
+ }
915
+ };
916
+ var _interface = {
917
+ _format: _format,
918
+ contractName: contractName,
919
+ sourceName: sourceName,
920
+ abi: abi,
921
+ bytecode: bytecode,
922
+ deployedBytecode: deployedBytecode,
923
+ linkReferences: linkReferences,
924
+ deployedLinkReferences: deployedLinkReferences
925
+ };
926
+
927
+ export { _format, abi, bytecode, contractName, _interface as default, deployedBytecode, deployedLinkReferences, linkReferences, sourceName };