-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathprice-abi.json
2525 lines (2525 loc) · 150 KB
/
price-abi.json
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
{
"id": "9f783fb12fbc8bdad967f567aa151e17",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.6.12",
"solcLongVersion": "0.6.12+commit.27d51765",
"input": {
"language": "Solidity",
"sources": {
"contracts/Price.sol": {
"content": "pragma solidity 0.6.12;\npragma experimental ABIEncoderV2;\n\ninterface IStdReference {\n /// A structure returned whenever someone requests for standard reference data.\n struct ReferenceData {\n uint256 rate; // base/quote exchange rate, multiplied by 1e18.\n uint256 lastUpdatedBase; // UNIX epoch of the last time when base price gets updated.\n uint256 lastUpdatedQuote; // UNIX epoch of the last time when quote price gets updated.\n }\n\n /// Returns the price data for the given base/quote pair. Revert if not available.\n function getReferenceData(string memory _base, string memory _quote) external view returns (ReferenceData memory);\n\n /// Similar to getReferenceData, but with multiple base/quote pairs at once.\n function getReferenceDataBulk(string[] memory _bases, string[] memory _quotes)\n external\n view\n returns (ReferenceData[] memory);\n}\n\ncontract Oracle {\n IStdReference ref;\n\n uint256 public price;\n\n constructor(IStdReference _ref) public {\n ref = _ref;\n }\n\n function getPrice() external view returns (uint256) {\n IStdReference.ReferenceData memory data = ref.getReferenceData(\"BTC\", \"USD\");\n return data.rate;\n }\n\n function getMultiPrices() external view returns (uint256[] memory) {\n string[] memory baseSymbols = new string[](2);\n baseSymbols[0] = \"BTC\";\n baseSymbols[1] = \"ETH\";\n\n string[] memory quoteSymbols = new string[](2);\n quoteSymbols[0] = \"USD\";\n quoteSymbols[1] = \"USD\";\n IStdReference.ReferenceData[] memory data = ref.getReferenceDataBulk(baseSymbols, quoteSymbols);\n\n uint256[] memory prices = new uint256[](2);\n prices[0] = data[0].rate;\n prices[1] = data[1].rate;\n\n return prices;\n }\n\n function savePrice(string memory base, string memory quote) external {\n IStdReference.ReferenceData memory data = ref.getReferenceData(base, quote);\n price = data.rate;\n }\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": true,
"runs": 9999
},
"outputSelection": {
"*": {
"*": ["abi", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers"],
"": ["ast"]
}
}
}
},
"output": {
"contracts": {
"contracts/Price.sol": {
"IStdReference": {
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_base",
"type": "string"
},
{
"internalType": "string",
"name": "_quote",
"type": "string"
}
],
"name": "getReferenceData",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "rate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedBase",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedQuote",
"type": "uint256"
}
],
"internalType": "struct IStdReference.ReferenceData",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string[]",
"name": "_bases",
"type": "string[]"
},
{
"internalType": "string[]",
"name": "_quotes",
"type": "string[]"
}
],
"name": "getReferenceDataBulk",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "rate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedBase",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedQuote",
"type": "uint256"
}
],
"internalType": "struct IStdReference.ReferenceData[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
}
],
"evm": {
"bytecode": {
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"methodIdentifiers": {
"getReferenceData(string,string)": "65555bcc",
"getReferenceDataBulk(string[],string[])": "e42a071b"
}
}
},
"Oracle": {
"abi": [
{
"inputs": [
{
"internalType": "contract IStdReference",
"name": "_ref",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getMultiPrices",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "price",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "base",
"type": "string"
},
{
"internalType": "string",
"name": "quote",
"type": "string"
}
],
"name": "savePrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"evm": {
"bytecode": {
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506040516109f03803806109f083398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610082565b600060208284031215610065578081fd5b81516001600160a01b038116811461007b578182fd5b9392505050565b61095f806100916000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806398d5fdca146100515780639c1ea71b1461006f578063a035b1fe14610084578063e2bb96571461008c575b600080fd5b6100596100a1565b60405161006691906108f9565b60405180910390f35b610077610156565b6040516100669190610825565b610059610445565b61009f61009a366004610697565b61044b565b005b60006100ab610504565b6000546040517f65555bcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906365555bcc906100ff9060040161088e565b60606040518083038186803b15801561011757600080fd5b505afa15801561012b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014f91906106f8565b5191505090565b6040805160028082526060828101909352829190816020015b606081526020019060019003908161016f5790505090506040518060400160405280600381526020017f4254430000000000000000000000000000000000000000000000000000000000815250816000815181106101c957fe5b60200260200101819052506040518060400160405280600381526020017f45544800000000000000000000000000000000000000000000000000000000008152508160018151811061021757fe5b60209081029190910101526040805160028082526060828101909352816020015b60608152602001906001900390816102385790505090506040518060400160405280600381526020017f55534400000000000000000000000000000000000000000000000000000000008152508160008151811061029257fe5b60200260200101819052506040518060400160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816001815181106102e057fe5b60209081029190910101526000546040517fe42a071b00000000000000000000000000000000000000000000000000000000815260609173ffffffffffffffffffffffffffffffffffffffff169063e42a071b9061034490869086906004016107f7565b60006040518083038186803b15801561035c57600080fd5b505afa158015610370573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526103b691908101906105e7565b604080516002808252606080830184529394509091602083019080368337019050509050816000815181106103e757fe5b6020026020010151600001518160008151811061040057fe5b6020026020010181815250508160018151811061041957fe5b6020026020010151600001518160018151811061043257fe5b6020908102919091010152935050505090565b60015481565b610453610504565b6000546040517f65555bcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906365555bcc906104ab9086908690600401610869565b60606040518083038186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fb91906106f8565b51600155505050565b60405180606001604052806000815260200160008152602001600081525090565b600082601f830112610535578081fd5b813567ffffffffffffffff81111561054b578182fd5b61057c60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610902565b915080825283602082850101111561059357600080fd5b8060208401602084013760009082016020015292915050565b6000606082840312156105bd578081fd5b6105c76060610902565b905081518152602082015160208201526040820151604082015292915050565b600060208083850312156105f9578182fd5b825167ffffffffffffffff80821115610610578384fd5b818501915085601f830112610623578384fd5b815181811115610631578485fd5b61063e8485830201610902565b81815284810192508385016060808402860187018a101561065d578788fd5b8795505b83861015610689576106738a836105ac565b8552600195909501949386019390810190610661565b509098975050505050505050565b600080604083850312156106a9578081fd5b823567ffffffffffffffff808211156106c0578283fd5b6106cc86838701610525565b935060208501359150808211156106e1578283fd5b506106ee85828601610525565b9150509250929050565b600060608284031215610709578081fd5b61071383836105ac565b9392505050565b60008282518085526020808601955080818302840101818601855b84811015610781577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086840301895261076f83835161078e565b98840198925090830190600101610735565b5090979650505050505050565b60008151808452815b818110156107b357602081850181015186830182015201610797565b818111156107c45782602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006040825261080a604083018561071a565b828103602084015261081c818561071a565b95945050505050565b6020808252825182820181905260009190848201906040850190845b8181101561085d57835183529284019291840191600101610841565b50909695505050505050565b60006040825261087c604083018561078e565b828103602084015261081c818561078e565b604080825260039082018190527f425443000000000000000000000000000000000000000000000000000000000060608301526080602083018190528201527f555344000000000000000000000000000000000000000000000000000000000060a082015260c00190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561092157600080fd5b60405291905056fea2646970667358221220218fbbc36a4389a399470d374afe4deffb081fcb2a65762b00e2eccbf387983264736f6c634300060c0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x9F0 CODESIZE SUB DUP1 PUSH2 0x9F0 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x54 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH2 0x82 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x65 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x7B JUMPI DUP2 DUP3 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x95F DUP1 PUSH2 0x91 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x9C1EA71B EQ PUSH2 0x6F JUMPI DUP1 PUSH4 0xA035B1FE EQ PUSH2 0x84 JUMPI DUP1 PUSH4 0xE2BB9657 EQ PUSH2 0x8C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x8F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x77 PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x825 JUMP JUMPDEST PUSH2 0x59 PUSH2 0x445 JUMP JUMPDEST PUSH2 0x9F PUSH2 0x9A CALLDATASIZE PUSH1 0x4 PUSH2 0x697 JUMP JUMPDEST PUSH2 0x44B JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xAB PUSH2 0x504 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0x65555BCC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH4 0x65555BCC SWAP1 PUSH2 0xFF SWAP1 PUSH1 0x4 ADD PUSH2 0x88E JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x12B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x14F SWAP2 SWAP1 PUSH2 0x6F8 JUMP JUMPDEST MLOAD SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP3 SWAP2 SWAP1 DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x16F JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4254430000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1C9 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4554480000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x217 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x238 JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x292 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x2E0 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0xE42A071B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x60 SWAP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE42A071B SWAP1 PUSH2 0x344 SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x7F7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x35C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x370 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x3B6 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x5E7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP1 DUP4 ADD DUP5 MSTORE SWAP4 SWAP5 POP SWAP1 SWAP2 PUSH1 0x20 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP1 POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x3E7 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x400 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x419 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x432 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE SWAP4 POP POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x453 PUSH2 0x504 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0x65555BCC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH4 0x65555BCC SWAP1 PUSH2 0x4AB SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x869 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4D7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4FB SWAP2 SWAP1 PUSH2 0x6F8 JUMP JUMPDEST MLOAD PUSH1 0x1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x535 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x54B JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x57C PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x902 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x593 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5BD JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x5C7 PUSH1 0x60 PUSH2 0x902 JUMP JUMPDEST SWAP1 POP DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x40 DUP3 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5F9 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP3 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x610 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x623 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x631 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x63E DUP5 DUP6 DUP4 MUL ADD PUSH2 0x902 JUMP JUMPDEST DUP2 DUP2 MSTORE DUP5 DUP2 ADD SWAP3 POP DUP4 DUP6 ADD PUSH1 0x60 DUP1 DUP5 MUL DUP7 ADD DUP8 ADD DUP11 LT ISZERO PUSH2 0x65D JUMPI DUP8 DUP9 REVERT JUMPDEST DUP8 SWAP6 POP JUMPDEST DUP4 DUP7 LT ISZERO PUSH2 0x689 JUMPI PUSH2 0x673 DUP11 DUP4 PUSH2 0x5AC JUMP JUMPDEST DUP6 MSTORE PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP7 ADD SWAP4 SWAP1 DUP2 ADD SWAP1 PUSH2 0x661 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6A9 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x6C0 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6CC DUP7 DUP4 DUP8 ADD PUSH2 0x525 JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6E1 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6EE DUP6 DUP3 DUP7 ADD PUSH2 0x525 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x709 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x713 DUP4 DUP4 PUSH2 0x5AC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MLOAD DUP1 DUP6 MSTORE PUSH1 0x20 DUP1 DUP7 ADD SWAP6 POP DUP1 DUP2 DUP4 MUL DUP5 ADD ADD DUP2 DUP7 ADD DUP6 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x781 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP5 SUB ADD DUP10 MSTORE PUSH2 0x76F DUP4 DUP4 MLOAD PUSH2 0x78E JUMP JUMPDEST SWAP9 DUP5 ADD SWAP9 SWAP3 POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x735 JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE DUP2 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x7B3 JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0x797 JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x7C4 JUMPI DUP3 PUSH1 0x20 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH2 0x80A PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x71A JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x81C DUP2 DUP6 PUSH2 0x71A JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x85D JUMPI DUP4 MLOAD DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x841 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH2 0x87C PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x78E JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x81C DUP2 DUP6 PUSH2 0x78E JUMP JUMPDEST PUSH1 0x40 DUP1 DUP3 MSTORE PUSH1 0x3 SWAP1 DUP3 ADD DUP2 SWAP1 MSTORE PUSH32 0x4254430000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x20 DUP4 ADD DUP2 SWAP1 MSTORE DUP3 ADD MSTORE PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xC0 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x921 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x21 DUP16 0xBB 0xC3 PUSH11 0x4389A399470D374AFE4DEF 0xFB ADDMOD 0x1F 0xCB 0x2A PUSH6 0x762B00E2ECCB RETURN DUP8 SWAP9 ORIGIN PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ",
"sourceMap": "872:1000:0:-:0;;;939:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;984:3;:10;;-1:-1:-1;;;;;;984:10:0;-1:-1:-1;;;;;984:10:0;;;;;;;;;;872:1000;;186:303:-1;;321:2;309:9;300:7;296:23;292:32;289:2;;;-1:-1;;327:12;289:2;103:13;;-1:-1;;;;;774:54;;919:55;;909:2;;-1:-1;;978:12;909:2;379:94;283:206;-1:-1;;;283:206::o;:::-;872:1000:0;;;;;;"
},
"deployedBytecode": {
"immutableReferences": {},
"linkReferences": {},
"object": "608060405234801561001057600080fd5b506004361061004c5760003560e01c806398d5fdca146100515780639c1ea71b1461006f578063a035b1fe14610084578063e2bb96571461008c575b600080fd5b6100596100a1565b60405161006691906108f9565b60405180910390f35b610077610156565b6040516100669190610825565b610059610445565b61009f61009a366004610697565b61044b565b005b60006100ab610504565b6000546040517f65555bcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906365555bcc906100ff9060040161088e565b60606040518083038186803b15801561011757600080fd5b505afa15801561012b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014f91906106f8565b5191505090565b6040805160028082526060828101909352829190816020015b606081526020019060019003908161016f5790505090506040518060400160405280600381526020017f4254430000000000000000000000000000000000000000000000000000000000815250816000815181106101c957fe5b60200260200101819052506040518060400160405280600381526020017f45544800000000000000000000000000000000000000000000000000000000008152508160018151811061021757fe5b60209081029190910101526040805160028082526060828101909352816020015b60608152602001906001900390816102385790505090506040518060400160405280600381526020017f55534400000000000000000000000000000000000000000000000000000000008152508160008151811061029257fe5b60200260200101819052506040518060400160405280600381526020017f5553440000000000000000000000000000000000000000000000000000000000815250816001815181106102e057fe5b60209081029190910101526000546040517fe42a071b00000000000000000000000000000000000000000000000000000000815260609173ffffffffffffffffffffffffffffffffffffffff169063e42a071b9061034490869086906004016107f7565b60006040518083038186803b15801561035c57600080fd5b505afa158015610370573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526103b691908101906105e7565b604080516002808252606080830184529394509091602083019080368337019050509050816000815181106103e757fe5b6020026020010151600001518160008151811061040057fe5b6020026020010181815250508160018151811061041957fe5b6020026020010151600001518160018151811061043257fe5b6020908102919091010152935050505090565b60015481565b610453610504565b6000546040517f65555bcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116906365555bcc906104ab9086908690600401610869565b60606040518083038186803b1580156104c357600080fd5b505afa1580156104d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fb91906106f8565b51600155505050565b60405180606001604052806000815260200160008152602001600081525090565b600082601f830112610535578081fd5b813567ffffffffffffffff81111561054b578182fd5b61057c60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610902565b915080825283602082850101111561059357600080fd5b8060208401602084013760009082016020015292915050565b6000606082840312156105bd578081fd5b6105c76060610902565b905081518152602082015160208201526040820151604082015292915050565b600060208083850312156105f9578182fd5b825167ffffffffffffffff80821115610610578384fd5b818501915085601f830112610623578384fd5b815181811115610631578485fd5b61063e8485830201610902565b81815284810192508385016060808402860187018a101561065d578788fd5b8795505b83861015610689576106738a836105ac565b8552600195909501949386019390810190610661565b509098975050505050505050565b600080604083850312156106a9578081fd5b823567ffffffffffffffff808211156106c0578283fd5b6106cc86838701610525565b935060208501359150808211156106e1578283fd5b506106ee85828601610525565b9150509250929050565b600060608284031215610709578081fd5b61071383836105ac565b9392505050565b60008282518085526020808601955080818302840101818601855b84811015610781577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086840301895261076f83835161078e565b98840198925090830190600101610735565b5090979650505050505050565b60008151808452815b818110156107b357602081850181015186830182015201610797565b818111156107c45782602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006040825261080a604083018561071a565b828103602084015261081c818561071a565b95945050505050565b6020808252825182820181905260009190848201906040850190845b8181101561085d57835183529284019291840191600101610841565b50909695505050505050565b60006040825261087c604083018561078e565b828103602084015261081c818561078e565b604080825260039082018190527f425443000000000000000000000000000000000000000000000000000000000060608301526080602083018190528201527f555344000000000000000000000000000000000000000000000000000000000060a082015260c00190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561092157600080fd5b60405291905056fea2646970667358221220218fbbc36a4389a399470d374afe4deffb081fcb2a65762b00e2eccbf387983264736f6c634300060c0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x98D5FDCA EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x9C1EA71B EQ PUSH2 0x6F JUMPI DUP1 PUSH4 0xA035B1FE EQ PUSH2 0x84 JUMPI DUP1 PUSH4 0xE2BB9657 EQ PUSH2 0x8C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x59 PUSH2 0xA1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x8F9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x77 PUSH2 0x156 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x66 SWAP2 SWAP1 PUSH2 0x825 JUMP JUMPDEST PUSH2 0x59 PUSH2 0x445 JUMP JUMPDEST PUSH2 0x9F PUSH2 0x9A CALLDATASIZE PUSH1 0x4 PUSH2 0x697 JUMP JUMPDEST PUSH2 0x44B JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 PUSH2 0xAB PUSH2 0x504 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0x65555BCC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH4 0x65555BCC SWAP1 PUSH2 0xFF SWAP1 PUSH1 0x4 ADD PUSH2 0x88E JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x12B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x14F SWAP2 SWAP1 PUSH2 0x6F8 JUMP JUMPDEST MLOAD SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP3 SWAP2 SWAP1 DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x16F JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4254430000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1C9 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x4554480000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x217 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP3 DUP2 ADD SWAP1 SWAP4 MSTORE DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x238 JUMPI SWAP1 POP POP SWAP1 POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x292 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x2E0 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0xE42A071B00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x60 SWAP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE42A071B SWAP1 PUSH2 0x344 SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x7F7 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x35C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x370 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP3 ADD PUSH1 0x40 MSTORE PUSH2 0x3B6 SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH2 0x5E7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 DUP1 DUP3 MSTORE PUSH1 0x60 DUP1 DUP4 ADD DUP5 MSTORE SWAP4 SWAP5 POP SWAP1 SWAP2 PUSH1 0x20 DUP4 ADD SWAP1 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP POP SWAP1 POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x3E7 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x400 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x419 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 ADD MLOAD DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x432 JUMPI INVALID JUMPDEST PUSH1 0x20 SWAP1 DUP2 MUL SWAP2 SWAP1 SWAP2 ADD ADD MSTORE SWAP4 POP POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x453 PUSH2 0x504 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0x65555BCC00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH4 0x65555BCC SWAP1 PUSH2 0x4AB SWAP1 DUP7 SWAP1 DUP7 SWAP1 PUSH1 0x4 ADD PUSH2 0x869 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4D7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4FB SWAP2 SWAP1 PUSH2 0x6F8 JUMP JUMPDEST MLOAD PUSH1 0x1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x535 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x54B JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x57C PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP5 ADD AND ADD PUSH2 0x902 JUMP JUMPDEST SWAP2 POP DUP1 DUP3 MSTORE DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x593 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH1 0x20 DUP5 ADD PUSH1 0x20 DUP5 ADD CALLDATACOPY PUSH1 0x0 SWAP1 DUP3 ADD PUSH1 0x20 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5BD JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x5C7 PUSH1 0x60 PUSH2 0x902 JUMP JUMPDEST SWAP1 POP DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 DUP3 ADD MLOAD PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x40 DUP3 ADD MLOAD PUSH1 0x40 DUP3 ADD MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x5F9 JUMPI DUP2 DUP3 REVERT JUMPDEST DUP3 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x610 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x623 JUMPI DUP4 DUP5 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x631 JUMPI DUP5 DUP6 REVERT JUMPDEST PUSH2 0x63E DUP5 DUP6 DUP4 MUL ADD PUSH2 0x902 JUMP JUMPDEST DUP2 DUP2 MSTORE DUP5 DUP2 ADD SWAP3 POP DUP4 DUP6 ADD PUSH1 0x60 DUP1 DUP5 MUL DUP7 ADD DUP8 ADD DUP11 LT ISZERO PUSH2 0x65D JUMPI DUP8 DUP9 REVERT JUMPDEST DUP8 SWAP6 POP JUMPDEST DUP4 DUP7 LT ISZERO PUSH2 0x689 JUMPI PUSH2 0x673 DUP11 DUP4 PUSH2 0x5AC JUMP JUMPDEST DUP6 MSTORE PUSH1 0x1 SWAP6 SWAP1 SWAP6 ADD SWAP5 SWAP4 DUP7 ADD SWAP4 SWAP1 DUP2 ADD SWAP1 PUSH2 0x661 JUMP JUMPDEST POP SWAP1 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x6A9 JUMPI DUP1 DUP2 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x6C0 JUMPI DUP3 DUP4 REVERT JUMPDEST PUSH2 0x6CC DUP7 DUP4 DUP8 ADD PUSH2 0x525 JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD CALLDATALOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH2 0x6E1 JUMPI DUP3 DUP4 REVERT JUMPDEST POP PUSH2 0x6EE DUP6 DUP3 DUP7 ADD PUSH2 0x525 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x709 JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x713 DUP4 DUP4 PUSH2 0x5AC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MLOAD DUP1 DUP6 MSTORE PUSH1 0x20 DUP1 DUP7 ADD SWAP6 POP DUP1 DUP2 DUP4 MUL DUP5 ADD ADD DUP2 DUP7 ADD DUP6 JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x781 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 DUP5 SUB ADD DUP10 MSTORE PUSH2 0x76F DUP4 DUP4 MLOAD PUSH2 0x78E JUMP JUMPDEST SWAP9 DUP5 ADD SWAP9 SWAP3 POP SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x735 JUMP JUMPDEST POP SWAP1 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE DUP2 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x7B3 JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0x797 JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x7C4 JUMPI DUP3 PUSH1 0x20 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH2 0x80A PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x71A JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x81C DUP2 DUP6 PUSH2 0x71A JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD DUP3 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x0 SWAP2 SWAP1 DUP5 DUP3 ADD SWAP1 PUSH1 0x40 DUP6 ADD SWAP1 DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x85D JUMPI DUP4 MLOAD DUP4 MSTORE SWAP3 DUP5 ADD SWAP3 SWAP2 DUP5 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x841 JUMP JUMPDEST POP SWAP1 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 MSTORE PUSH2 0x87C PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0x78E JUMP JUMPDEST DUP3 DUP2 SUB PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x81C DUP2 DUP6 PUSH2 0x78E JUMP JUMPDEST PUSH1 0x40 DUP1 DUP3 MSTORE PUSH1 0x3 SWAP1 DUP3 ADD DUP2 SWAP1 MSTORE PUSH32 0x4254430000000000000000000000000000000000000000000000000000000000 PUSH1 0x60 DUP4 ADD MSTORE PUSH1 0x80 PUSH1 0x20 DUP4 ADD DUP2 SWAP1 MSTORE DUP3 ADD MSTORE PUSH32 0x5553440000000000000000000000000000000000000000000000000000000000 PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xC0 ADD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP2 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x921 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x21 DUP16 0xBB 0xC3 PUSH11 0x4389A399470D374AFE4DEF 0xFB ADDMOD 0x1F 0xCB 0x2A PUSH6 0x762B00E2ECCB RETURN DUP8 SWAP9 ORIGIN PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ",
"sourceMap": "872:1000:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1003:161;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1168:520;;;:::i;:::-;;;;;;;:::i;914:20::-;;;:::i;1692:178::-;;;;;;:::i;:::-;;:::i;:::-;;1003:161;1046:7;1061:39;;:::i;:::-;1103:3;;:34;;;;;:3;;;;;:20;;:34;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1150:9;;-1:-1:-1;;1003:161:0;:::o;1168:520::-;1271:15;;;1284:1;1271:15;;;1217:16;1271:15;;;;;;1217:16;;1271:15;;;;;;;;;;;;;;;;;;;;;1241:45;;1292:22;;;;;;;;;;;;;;;;;:11;1304:1;1292:14;;;;;;;;;;;;;:22;;;;1320;;;;;;;;;;;;;;;;;:11;1332:1;1320:14;;;;;;;;;;;;;;;;;:22;1380:15;;;1393:1;1380:15;;;1349:28;1380:15;;;;;;;;;;;;;;;;;;;;;;;;;;1349:46;;1401:23;;;;;;;;;;;;;;;;;:12;1414:1;1401:15;;;;;;;;;;;;;:23;;;;1430;;;;;;;;;;;;;;;;;:12;1443:1;1430:15;;;;;;;;;;;;;;;;;:23;1503:3;;:51;;;;;1459:41;;1503:3;;;:24;;:51;;1528:11;;1541:12;;1503:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1587:16;;;1601:1;1587:16;;;1561:23;1587:16;;;;;1459:95;;-1:-1:-1;1587:16:0;;;;;;;;;;;;-1:-1:-1;1587:16:0;1561:42;;1621:4;1626:1;1621:7;;;;;;;;;;;;;;:12;;;1609:6;1616:1;1609:9;;;;;;;;;;;;;:24;;;;;1651:4;1656:1;1651:7;;;;;;;;;;;;;;:12;;;1639:6;1646:1;1639:9;;;;;;;;;;;;;;;;;:24;1677:6;-1:-1:-1;;;;1168:520:0;:::o;914:20::-;;;;:::o;1692:178::-;1767:39;;:::i;:::-;1809:3;;:33;;;;;:3;;;;;:20;;:33;;1830:4;;1836:5;;1809:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1856:9;1848:5;:17;-1:-1:-1;;;1692:178:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;865:442::-;;967:3;960:4;952:6;948:17;944:27;934:2;;-1:-1;;975:12;934:2;1022:6;1009:20;10481:18;10473:6;10470:30;10467:2;;;-1:-1;;10503:12;10467:2;1044:65;10644:4;10576:9;960:4;10561:6;10557:17;10553:33;10634:15;1044:65;:::i;:::-;1035:74;;1129:6;1122:5;1115:21;1233:3;10644:4;1224:6;1157;1215:16;;1212:25;1209:2;;;1250:1;;1240:12;1209:2;12538:6;10644:4;1157:6;1153:17;10644:4;1191:5;1187:16;12515:30;12594:1;12576:16;;;10644:4;12576:16;12569:27;1191:5;927:380;-1:-1;;927:380::o;1356:681::-;;1484:4;1472:9;1467:3;1463:19;1459:30;1456:2;;;-1:-1;;1492:12;1456:2;1520:20;1484:4;1520:20;:::i;:::-;1511:29;;1654:22;2122:13;1604:16;1597:86;1755:2;1824:9;1820:22;2122:13;1755:2;1774:5;1770:16;1763:86;1922:2;1991:9;1987:22;2122:13;1922:2;1941:5;1937:16;1930:86;1450:587;;;;:::o;2185:448::-;;2353:2;;2341:9;2332:7;2328:23;2324:32;2321:2;;;-1:-1;;2359:12;2321:2;2410:17;2404:24;2448:18;;2440:6;2437:30;2434:2;;;-1:-1;;2470:12;2434:2;2600:6;2589:9;2585:22;;;206:3;199:4;191:6;187:17;183:27;173:2;;-1:-1;;214:12;173:2;254:6;248:13;2448:18;10177:6;10174:30;10171:2;;;-1:-1;;10207:12;10171:2;276:108;2353:2;;10244:6;10240:17;10305:15;276:108;:::i;:::-;412:21;;;469:14;;;;-1:-1;444:17;;;570:4;558:17;;;549:27;;;;546:36;-1:-1;543:2;;;-1:-1;;585:12;543:2;-1:-1;611:10;;605:245;630:6;627:1;624:13;605:245;;;710:76;782:3;770:10;710:76;:::i;:::-;698:89;;652:1;645:9;;;;;801:14;;;;829;;;;605:245;;;-1:-1;2490:127;;2315:318;-1:-1;;;;;;;;2315:318::o;2640:578::-;;;2781:2;2769:9;2760:7;2756:23;2752:32;2749:2;;;-1:-1;;2787:12;2749:2;2845:17;2832:31;2883:18;;2875:6;2872:30;2869:2;;;-1:-1;;2905:12;2869:2;2935:63;2990:7;2981:6;2970:9;2966:22;2935:63;:::i;:::-;2925:73;;3063:2;3052:9;3048:18;3035:32;3021:46;;2883:18;3079:6;3076:30;3073:2;;;-1:-1;;3109:12;3073:2;;3139:63;3194:7;3185:6;3174:9;3170:22;3139:63;:::i;:::-;3129:73;;;2743:475;;;;;:::o;3225:319::-;;3368:2;3356:9;3347:7;3343:23;3339:32;3336:2;;;-1:-1;;3374:12;3336:2;3436:92;3520:7;3496:22;3436:92;:::i;:::-;3426:102;3330:214;-1:-1;;;3330:214::o;3964:928::-;;4115:78;4187:5;11105:12;11800:6;11795:3;11788:19;11837:4;;11832:3;11828:14;4199:103;;11837:4;;4359:6;4355:17;11832:3;4346:27;;11837:4;4454:5;10791:14;-1:-1;4493:360;4518:6;4515:1;4512:13;4493:360;;;4570:20;11832:3;4574:4;4570:20;;4565:3;4558:33;3673:66;3735:3;4625:6;4619:13;3673:66;:::i;:::-;4832:14;;;;4639:92;-1:-1;11518:14;;;;4540:1;4533:9;4493:360;;;-1:-1;4876:10;;4108:784;-1:-1;;;;;;;4108:784::o;5629:327::-;;5764:5;11105:12;11800:6;11795:3;11788:19;-1:-1;12683:101;12697:6;12694:1;12691:13;12683:101;;;11837:4;12764:11;;;;;12758:18;12745:11;;;;;12738:39;12712:10;12683:101;;;12799:6;12796:1;12793:13;12790:2;;;-1:-1;11837:4;12855:6;11832:3;12846:16;;12839:27;12790:2;-1:-1;12975:2;12955:14;12971:7;12951:28;5912:39;;;;11837:4;5912:39;;5711:245;-1:-1;;5711:245::o;7169:709::-;;7464:2;7485:17;7478:47;7539:128;7464:2;7453:9;7449:18;7653:6;7539:128;:::i;:::-;7715:9;7709:4;7705:20;7700:2;7689:9;7685:18;7678:48;7740:128;7863:4;7854:6;7740:128;:::i;:::-;7732:136;7435:443;-1:-1;;;;;7435:443::o;7885:370::-;8062:2;8076:47;;;11105:12;;8047:18;;;11788:19;;;7885:370;;8062:2;10791:14;;;;11828;;;;7885:370;5339:260;5364:6;5361:1;5358:13;5339:260;;;5425:13;;7000:37;;11518:14;;;;3907;;;;5386:1;5379:9;5339:260;;;-1:-1;8129:116;;8033:222;-1:-1;;;;;;8033:222::o;8262:509::-;;8457:2;8478:17;8471:47;8532:78;8457:2;8446:9;8442:18;8596:6;8532:78;:::i;:::-;8658:9;8652:4;8648:20;8643:2;8632:9;8628:18;8621:48;8683:78;8756:4;8747:6;8683:78;:::i;8778:721::-;9079:2;9093:47;;;6853:1;9064:18;;;11788:19;;;6888:5;11828:14;;;6868:26;6913:12;11837:4;9303:18;;9296:48;;;6913:12;;11788:19;6577:5;11828:14;;;6557:26;6602:12;;;9050:449::o;9506:222::-;7000:37;;;9633:2;9618:18;;9604:124::o;9735:256::-;9797:2;9791:9;9823:17;;;9898:18;9883:34;;9919:22;;;9880:62;9877:2;;;9955:1;;9945:12;9877:2;9797;9964:22;9775:216;;-1:-1;9775:216::o"
},
"methodIdentifiers": {
"getMultiPrices()": "9c1ea71b",
"getPrice()": "98d5fdca",
"price()": "a035b1fe",
"savePrice(string,string)": "e2bb9657"
}
}
}
}
},
"errors": [
{
"component": "general",
"errorCode": "1878",
"formattedMessage": "contracts/Price.sol: Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n",
"message": "SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.",
"severity": "warning",
"sourceLocation": {
"end": -1,
"file": "contracts/Price.sol",
"start": -1
},
"type": "Warning"
}
],
"sources": {
"contracts/Price.sol": {
"ast": {
"absolutePath": "contracts/Price.sol",
"exportedSymbols": {
"IStdReference": [33],
"Oracle": [185]
},
"id": 186,
"license": null,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": ["solidity", "0.6", ".12"],
"nodeType": "PragmaDirective",
"src": "0:23:0"
},
{
"id": 2,
"literals": ["experimental", "ABIEncoderV2"],
"nodeType": "PragmaDirective",
"src": "24:33:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 33,
"linearizedBaseContracts": [33],
"name": "IStdReference",
"nodeType": "ContractDefinition",
"nodes": [
{
"canonicalName": "IStdReference.ReferenceData",
"id": 9,
"members": [
{
"constant": false,
"id": 4,
"mutability": "mutable",
"name": "rate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9,
"src": "196:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 3,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "196:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6,
"mutability": "mutable",
"name": "lastUpdatedBase",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9,
"src": "263:23:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "263:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 8,
"mutability": "mutable",
"name": "lastUpdatedQuote",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 9,
"src": "353:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "353:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"name": "ReferenceData",
"nodeType": "StructDefinition",
"scope": 33,
"src": "169:275:0",
"visibility": "public"
},
{
"body": null,
"documentation": {
"id": 10,
"nodeType": "StructuredDocumentation",
"src": "448:82:0",
"text": "Returns the price data for the given base/quote pair. Revert if not available."
},
"functionSelector": "65555bcc",
"id": 19,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getReferenceData",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 15,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12,
"mutability": "mutable",
"name": "_base",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 19,
"src": "559:19:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 11,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "559:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 14,
"mutability": "mutable",
"name": "_quote",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 19,
"src": "580:20:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 13,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "580:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "558:43:0"
},
"returnParameters": {
"id": 18,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 17,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 19,
"src": "625:20:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_memory_ptr",
"typeString": "struct IStdReference.ReferenceData"
},
"typeName": {
"contractScope": null,
"id": 16,
"name": "ReferenceData",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9,
"src": "625:13:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_storage_ptr",
"typeString": "struct IStdReference.ReferenceData"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "624:22:0"
},
"scope": 33,
"src": "533:114:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"body": null,
"documentation": {
"id": 20,
"nodeType": "StructuredDocumentation",
"src": "651:76:0",
"text": "Similar to getReferenceData, but with multiple base/quote pairs at once."
},
"functionSelector": "e42a071b",
"id": 32,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getReferenceDataBulk",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 27,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 23,
"mutability": "mutable",
"name": "_bases",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 32,
"src": "760:22:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 21,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "760:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 22,
"length": null,
"nodeType": "ArrayTypeName",
"src": "760:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 26,
"mutability": "mutable",
"name": "_quotes",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 32,
"src": "784:23:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
"typeString": "string[]"
},
"typeName": {
"baseType": {
"id": 24,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"id": 25,
"length": null,
"nodeType": "ArrayTypeName",
"src": "784:8:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
"typeString": "string[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "759:49:0"
},
"returnParameters": {
"id": 31,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 30,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 32,
"src": "844:22:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_ReferenceData_$9_memory_ptr_$dyn_memory_ptr",
"typeString": "struct IStdReference.ReferenceData[]"
},
"typeName": {
"baseType": {
"contractScope": null,
"id": 28,
"name": "ReferenceData",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9,
"src": "844:13:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_storage_ptr",
"typeString": "struct IStdReference.ReferenceData"
}
},
"id": 29,
"length": null,
"nodeType": "ArrayTypeName",
"src": "844:15:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_ReferenceData_$9_storage_$dyn_storage_ptr",
"typeString": "struct IStdReference.ReferenceData[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "843:24:0"
},
"scope": 33,
"src": "730:138:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 186,
"src": "59:811:0"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": true,
"id": 185,
"linearizedBaseContracts": [185],
"name": "Oracle",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 35,
"mutability": "mutable",
"name": "ref",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 185,
"src": "892:17:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
},
"typeName": {
"contractScope": null,
"id": 34,
"name": "IStdReference",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 33,
"src": "892:13:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"functionSelector": "a035b1fe",
"id": 37,
"mutability": "mutable",
"name": "price",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 185,
"src": "914:20:0",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 36,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "914:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "public"
},
{
"body": {
"id": 46,
"nodeType": "Block",
"src": "978:21:0",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 44,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 42,
"name": "ref",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 35,
"src": "984:3:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 43,
"name": "_ref",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 39,
"src": "990:4:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"src": "984:10:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"id": 45,
"nodeType": "ExpressionStatement",
"src": "984:10:0"
}
]
},
"documentation": null,
"id": 47,
"implemented": true,
"kind": "constructor",
"modifiers": [],
"name": "",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 40,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 39,
"mutability": "mutable",
"name": "_ref",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 47,
"src": "951:18:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
},
"typeName": {
"contractScope": null,
"id": 38,
"name": "IStdReference",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 33,
"src": "951:13:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "950:20:0"
},
"returnParameters": {
"id": 41,
"nodeType": "ParameterList",
"parameters": [],
"src": "978:0:0"
},
"scope": 185,
"src": "939:60:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"body": {
"id": 65,
"nodeType": "Block",
"src": "1055:109:0",
"statements": [
{
"assignments": [55],
"declarations": [
{
"constant": false,
"id": 55,
"mutability": "mutable",
"name": "data",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 65,
"src": "1061:39:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_memory_ptr",
"typeString": "struct IStdReference.ReferenceData"
},
"typeName": {
"contractScope": null,
"id": 54,
"name": "IStdReference.ReferenceData",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9,
"src": "1061:27:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_storage_ptr",
"typeString": "struct IStdReference.ReferenceData"
}
},
"value": null,
"visibility": "internal"
}
],
"id": 61,
"initialValue": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"hexValue": "425443",
"id": 58,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1124:5:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_e98e2830be1a7e4156d656a7505e65d08c67660dc618072422e9c78053c261e9",
"typeString": "literal_string \"BTC\""
},
"value": "BTC"
},
{
"argumentTypes": null,
"hexValue": "555344",
"id": 59,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1131:5:0",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_c4ae21aac0c6549d71dd96035b7e0bdb6c79ebdba8891b666115bc976d16a29e",
"typeString": "literal_string \"USD\""
},
"value": "USD"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_e98e2830be1a7e4156d656a7505e65d08c67660dc618072422e9c78053c261e9",
"typeString": "literal_string \"BTC\""
},
{
"typeIdentifier": "t_stringliteral_c4ae21aac0c6549d71dd96035b7e0bdb6c79ebdba8891b666115bc976d16a29e",
"typeString": "literal_string \"USD\""
}
],
"expression": {
"argumentTypes": null,
"id": 56,
"name": "ref",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 35,
"src": "1103:3:0",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IStdReference_$33",
"typeString": "contract IStdReference"
}
},
"id": 57,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "getReferenceData",
"nodeType": "MemberAccess",
"referencedDeclaration": 19,
"src": "1103:20:0",
"typeDescriptions": {
"typeIdentifier": "t_function_external_view$_t_string_memory_ptr_$_t_string_memory_ptr_$returns$_t_struct$_ReferenceData_$9_memory_ptr_$",
"typeString": "function (string memory,string memory) view external returns (struct IStdReference.ReferenceData memory)"
}
},
"id": 60,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1103:34:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_memory_ptr",
"typeString": "struct IStdReference.ReferenceData memory"
}
},
"nodeType": "VariableDeclarationStatement",
"src": "1061:76:0"
},
{
"expression": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 62,
"name": "data",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 55,
"src": "1150:4:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_ReferenceData_$9_memory_ptr",
"typeString": "struct IStdReference.ReferenceData memory"
}
},
"id": 63,
"isConstant": false,
"isLValue": true,
"isPure": false,
"lValueRequested": false,
"memberName": "rate",
"nodeType": "MemberAccess",
"referencedDeclaration": 4,
"src": "1150:9:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}