tx · Cyo7u3NYGWpiV3Uvk6eE3MSPD3qZBNneGf9Sd6pfViBj

3P4uftnj6DDiiJXLHrbJo7tv7vms2mjeeD9:  -0.01400000 Waves

2019.12.12 04:04 [1835256] smart account 3P4uftnj6DDiiJXLHrbJo7tv7vms2mjeeD9 > SELF 0.00000000 Waves

{ "type": 13, "id": "Cyo7u3NYGWpiV3Uvk6eE3MSPD3qZBNneGf9Sd6pfViBj", "fee": 1400000, "feeAssetId": null, "timestamp": 1576112643960, "version": 1, "sender": "3P4uftnj6DDiiJXLHrbJo7tv7vms2mjeeD9", "senderPublicKey": "BRD3aC1EkkMdxVXvXqJC8924L3nJYpn9w1y9JCCxVfha", "proofs": [ "44RndJf6ZnPahuD4utpxxq4cTF2doyjxnvxcPDFCLZMdESMSzVEcZcmUEkYegWid9w6ZSMhoM3s4bfxnwvJoVPs4" ], "script": "base64:AwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmIg5mo", "chainId": 87, "height": 1835256, "spentComplexity": 0 } View: original | compacted Prev: ACksf8iJCVLqiTputE2ecJgmtCoWZBfjG8dGANGyBWTr Next: 7DrJxBDYAZuSN2nQ5vveCyGH1ferPXLRDjVw9QSaTaPR Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
2-{-# SCRIPT_TYPE ACCOUNT #-}
3-{-# CONTENT_TYPE DAPP #-}
4-
5-
6-@Callable(i)
7-func foo () = {
8- func test (prev,a) = if (prev)
9- then sigVerify(keccak256((i.transactionId + toBytes(a))), keccak256((i.callerPublicKey + toBytes(a))), i.callerPublicKey)
10- else false
11-
12- func arr (i) = [0, i, (2 * i), (3 * i), (4 * i), (5 * i), (6 * i), (7 * i), (8 * i), (9 * i)]
13-
14- let result0 = {
15- let $list360388 = arr(1)
16- let $size360388 = size($list360388)
17- let $acc0360388 = true
18- if (($size360388 == 0))
19- then $acc0360388
20- else {
21- let $acc1360388 = test($acc0360388, $list360388[0])
22- if (($size360388 == 1))
23- then $acc1360388
24- else {
25- let $acc2360388 = test($acc1360388, $list360388[1])
26- if (($size360388 == 2))
27- then $acc2360388
28- else {
29- let $acc3360388 = test($acc2360388, $list360388[2])
30- if (($size360388 == 3))
31- then $acc3360388
32- else {
33- let $acc4360388 = test($acc3360388, $list360388[3])
34- if (($size360388 == 4))
35- then $acc4360388
36- else {
37- let $acc5360388 = test($acc4360388, $list360388[4])
38- if (($size360388 == 5))
39- then $acc5360388
40- else {
41- let $acc6360388 = test($acc5360388, $list360388[5])
42- if (($size360388 == 6))
43- then $acc6360388
44- else {
45- let $acc7360388 = test($acc6360388, $list360388[6])
46- if (($size360388 == 7))
47- then $acc7360388
48- else {
49- let $acc8360388 = test($acc7360388, $list360388[7])
50- if (($size360388 == 8))
51- then $acc8360388
52- else {
53- let $acc9360388 = test($acc8360388, $list360388[8])
54- if (($size360388 == 9))
55- then $acc9360388
56- else {
57- let $acc10360388 = test($acc9360388, $list360388[9])
58- if (($size360388 == 10))
59- then $acc10360388
60- else {
61- let $acc11360388 = test($acc10360388, $list360388[10])
62- throw("List size exceed 10")
63- }
64- }
65- }
66- }
67- }
68- }
69- }
70- }
71- }
72- }
73- }
74- }
75- let result1 = {
76- let $list407435 = arr(2)
77- let $size407435 = size($list407435)
78- let $acc0407435 = true
79- if (($size407435 == 0))
80- then $acc0407435
81- else {
82- let $acc1407435 = test($acc0407435, $list407435[0])
83- if (($size407435 == 1))
84- then $acc1407435
85- else {
86- let $acc2407435 = test($acc1407435, $list407435[1])
87- if (($size407435 == 2))
88- then $acc2407435
89- else {
90- let $acc3407435 = test($acc2407435, $list407435[2])
91- if (($size407435 == 3))
92- then $acc3407435
93- else {
94- let $acc4407435 = test($acc3407435, $list407435[3])
95- if (($size407435 == 4))
96- then $acc4407435
97- else {
98- let $acc5407435 = test($acc4407435, $list407435[4])
99- if (($size407435 == 5))
100- then $acc5407435
101- else {
102- let $acc6407435 = test($acc5407435, $list407435[5])
103- if (($size407435 == 6))
104- then $acc6407435
105- else {
106- let $acc7407435 = test($acc6407435, $list407435[6])
107- if (($size407435 == 7))
108- then $acc7407435
109- else {
110- let $acc8407435 = test($acc7407435, $list407435[7])
111- if (($size407435 == 8))
112- then $acc8407435
113- else {
114- let $acc9407435 = test($acc8407435, $list407435[8])
115- if (($size407435 == 9))
116- then $acc9407435
117- else {
118- let $acc10407435 = test($acc9407435, $list407435[9])
119- if (($size407435 == 10))
120- then $acc10407435
121- else {
122- let $acc11407435 = test($acc10407435, $list407435[10])
123- throw("List size exceed 10")
124- }
125- }
126- }
127- }
128- }
129- }
130- }
131- }
132- }
133- }
134- }
135- }
136- let result2 = {
137- let $list454482 = arr(3)
138- let $size454482 = size($list454482)
139- let $acc0454482 = true
140- if (($size454482 == 0))
141- then $acc0454482
142- else {
143- let $acc1454482 = test($acc0454482, $list454482[0])
144- if (($size454482 == 1))
145- then $acc1454482
146- else {
147- let $acc2454482 = test($acc1454482, $list454482[1])
148- if (($size454482 == 2))
149- then $acc2454482
150- else {
151- let $acc3454482 = test($acc2454482, $list454482[2])
152- if (($size454482 == 3))
153- then $acc3454482
154- else {
155- let $acc4454482 = test($acc3454482, $list454482[3])
156- if (($size454482 == 4))
157- then $acc4454482
158- else {
159- let $acc5454482 = test($acc4454482, $list454482[4])
160- if (($size454482 == 5))
161- then $acc5454482
162- else {
163- let $acc6454482 = test($acc5454482, $list454482[5])
164- if (($size454482 == 6))
165- then $acc6454482
166- else {
167- let $acc7454482 = test($acc6454482, $list454482[6])
168- if (($size454482 == 7))
169- then $acc7454482
170- else {
171- let $acc8454482 = test($acc7454482, $list454482[7])
172- if (($size454482 == 8))
173- then $acc8454482
174- else {
175- let $acc9454482 = test($acc8454482, $list454482[8])
176- if (($size454482 == 9))
177- then $acc9454482
178- else {
179- let $acc10454482 = test($acc9454482, $list454482[9])
180- if (($size454482 == 10))
181- then $acc10454482
182- else {
183- let $acc11454482 = test($acc10454482, $list454482[10])
184- throw("List size exceed 10")
185- }
186- }
187- }
188- }
189- }
190- }
191- }
192- }
193- }
194- }
195- }
196- }
197- let result3 = {
198- let $list501529 = arr(4)
199- let $size501529 = size($list501529)
200- let $acc0501529 = true
201- if (($size501529 == 0))
202- then $acc0501529
203- else {
204- let $acc1501529 = test($acc0501529, $list501529[0])
205- if (($size501529 == 1))
206- then $acc1501529
207- else {
208- let $acc2501529 = test($acc1501529, $list501529[1])
209- if (($size501529 == 2))
210- then $acc2501529
211- else {
212- let $acc3501529 = test($acc2501529, $list501529[2])
213- if (($size501529 == 3))
214- then $acc3501529
215- else {
216- let $acc4501529 = test($acc3501529, $list501529[3])
217- if (($size501529 == 4))
218- then $acc4501529
219- else {
220- let $acc5501529 = test($acc4501529, $list501529[4])
221- if (($size501529 == 5))
222- then $acc5501529
223- else {
224- let $acc6501529 = test($acc5501529, $list501529[5])
225- if (($size501529 == 6))
226- then $acc6501529
227- else {
228- let $acc7501529 = test($acc6501529, $list501529[6])
229- if (($size501529 == 7))
230- then $acc7501529
231- else {
232- let $acc8501529 = test($acc7501529, $list501529[7])
233- if (($size501529 == 8))
234- then $acc8501529
235- else {
236- let $acc9501529 = test($acc8501529, $list501529[8])
237- if (($size501529 == 9))
238- then $acc9501529
239- else {
240- let $acc10501529 = test($acc9501529, $list501529[9])
241- if (($size501529 == 10))
242- then $acc10501529
243- else {
244- let $acc11501529 = test($acc10501529, $list501529[10])
245- throw("List size exceed 10")
246- }
247- }
248- }
249- }
250- }
251- }
252- }
253- }
254- }
255- }
256- }
257- }
258- let result4 = {
259- let $list548576 = arr(4)
260- let $size548576 = size($list548576)
261- let $acc0548576 = true
262- if (($size548576 == 0))
263- then $acc0548576
264- else {
265- let $acc1548576 = test($acc0548576, $list548576[0])
266- if (($size548576 == 1))
267- then $acc1548576
268- else {
269- let $acc2548576 = test($acc1548576, $list548576[1])
270- if (($size548576 == 2))
271- then $acc2548576
272- else {
273- let $acc3548576 = test($acc2548576, $list548576[2])
274- if (($size548576 == 3))
275- then $acc3548576
276- else {
277- let $acc4548576 = test($acc3548576, $list548576[3])
278- if (($size548576 == 4))
279- then $acc4548576
280- else {
281- let $acc5548576 = test($acc4548576, $list548576[4])
282- if (($size548576 == 5))
283- then $acc5548576
284- else {
285- let $acc6548576 = test($acc5548576, $list548576[5])
286- if (($size548576 == 6))
287- then $acc6548576
288- else {
289- let $acc7548576 = test($acc6548576, $list548576[6])
290- if (($size548576 == 7))
291- then $acc7548576
292- else {
293- let $acc8548576 = test($acc7548576, $list548576[7])
294- if (($size548576 == 8))
295- then $acc8548576
296- else {
297- let $acc9548576 = test($acc8548576, $list548576[8])
298- if (($size548576 == 9))
299- then $acc9548576
300- else {
301- let $acc10548576 = test($acc9548576, $list548576[9])
302- if (($size548576 == 10))
303- then $acc10548576
304- else {
305- let $acc11548576 = test($acc10548576, $list548576[10])
306- throw("List size exceed 10")
307- }
308- }
309- }
310- }
311- }
312- }
313- }
314- }
315- }
316- }
317- }
318- }
319- let result5 = {
320- let $list595623 = arr(4)
321- let $size595623 = size($list595623)
322- let $acc0595623 = true
323- if (($size595623 == 0))
324- then $acc0595623
325- else {
326- let $acc1595623 = test($acc0595623, $list595623[0])
327- if (($size595623 == 1))
328- then $acc1595623
329- else {
330- let $acc2595623 = test($acc1595623, $list595623[1])
331- if (($size595623 == 2))
332- then $acc2595623
333- else {
334- let $acc3595623 = test($acc2595623, $list595623[2])
335- if (($size595623 == 3))
336- then $acc3595623
337- else {
338- let $acc4595623 = test($acc3595623, $list595623[3])
339- if (($size595623 == 4))
340- then $acc4595623
341- else {
342- let $acc5595623 = test($acc4595623, $list595623[4])
343- if (($size595623 == 5))
344- then $acc5595623
345- else {
346- let $acc6595623 = test($acc5595623, $list595623[5])
347- if (($size595623 == 6))
348- then $acc6595623
349- else {
350- let $acc7595623 = test($acc6595623, $list595623[6])
351- if (($size595623 == 7))
352- then $acc7595623
353- else {
354- let $acc8595623 = test($acc7595623, $list595623[7])
355- if (($size595623 == 8))
356- then $acc8595623
357- else {
358- let $acc9595623 = test($acc8595623, $list595623[8])
359- if (($size595623 == 9))
360- then $acc9595623
361- else {
362- let $acc10595623 = test($acc9595623, $list595623[9])
363- if (($size595623 == 10))
364- then $acc10595623
365- else {
366- let $acc11595623 = test($acc10595623, $list595623[10])
367- throw("List size exceed 10")
368- }
369- }
370- }
371- }
372- }
373- }
374- }
375- }
376- }
377- }
378- }
379- }
380- let result6 = {
381- let $list642670 = arr(4)
382- let $size642670 = size($list642670)
383- let $acc0642670 = true
384- if (($size642670 == 0))
385- then $acc0642670
386- else {
387- let $acc1642670 = test($acc0642670, $list642670[0])
388- if (($size642670 == 1))
389- then $acc1642670
390- else {
391- let $acc2642670 = test($acc1642670, $list642670[1])
392- if (($size642670 == 2))
393- then $acc2642670
394- else {
395- let $acc3642670 = test($acc2642670, $list642670[2])
396- if (($size642670 == 3))
397- then $acc3642670
398- else {
399- let $acc4642670 = test($acc3642670, $list642670[3])
400- if (($size642670 == 4))
401- then $acc4642670
402- else {
403- let $acc5642670 = test($acc4642670, $list642670[4])
404- if (($size642670 == 5))
405- then $acc5642670
406- else {
407- let $acc6642670 = test($acc5642670, $list642670[5])
408- if (($size642670 == 6))
409- then $acc6642670
410- else {
411- let $acc7642670 = test($acc6642670, $list642670[6])
412- if (($size642670 == 7))
413- then $acc7642670
414- else {
415- let $acc8642670 = test($acc7642670, $list642670[7])
416- if (($size642670 == 8))
417- then $acc8642670
418- else {
419- let $acc9642670 = test($acc8642670, $list642670[8])
420- if (($size642670 == 9))
421- then $acc9642670
422- else {
423- let $acc10642670 = test($acc9642670, $list642670[9])
424- if (($size642670 == 10))
425- then $acc10642670
426- else {
427- let $acc11642670 = test($acc10642670, $list642670[10])
428- throw("List size exceed 10")
429- }
430- }
431- }
432- }
433- }
434- }
435- }
436- }
437- }
438- }
439- }
440- }
441- let result7 = {
442- let $list689717 = arr(4)
443- let $size689717 = size($list689717)
444- let $acc0689717 = true
445- if (($size689717 == 0))
446- then $acc0689717
447- else {
448- let $acc1689717 = test($acc0689717, $list689717[0])
449- if (($size689717 == 1))
450- then $acc1689717
451- else {
452- let $acc2689717 = test($acc1689717, $list689717[1])
453- if (($size689717 == 2))
454- then $acc2689717
455- else {
456- let $acc3689717 = test($acc2689717, $list689717[2])
457- if (($size689717 == 3))
458- then $acc3689717
459- else {
460- let $acc4689717 = test($acc3689717, $list689717[3])
461- if (($size689717 == 4))
462- then $acc4689717
463- else {
464- let $acc5689717 = test($acc4689717, $list689717[4])
465- if (($size689717 == 5))
466- then $acc5689717
467- else {
468- let $acc6689717 = test($acc5689717, $list689717[5])
469- if (($size689717 == 6))
470- then $acc6689717
471- else {
472- let $acc7689717 = test($acc6689717, $list689717[6])
473- if (($size689717 == 7))
474- then $acc7689717
475- else {
476- let $acc8689717 = test($acc7689717, $list689717[7])
477- if (($size689717 == 8))
478- then $acc8689717
479- else {
480- let $acc9689717 = test($acc8689717, $list689717[8])
481- if (($size689717 == 9))
482- then $acc9689717
483- else {
484- let $acc10689717 = test($acc9689717, $list689717[9])
485- if (($size689717 == 10))
486- then $acc10689717
487- else {
488- let $acc11689717 = test($acc10689717, $list689717[10])
489- throw("List size exceed 10")
490- }
491- }
492- }
493- }
494- }
495- }
496- }
497- }
498- }
499- }
500- }
501- }
502- let result8 = {
503- let $list736764 = arr(4)
504- let $size736764 = size($list736764)
505- let $acc0736764 = true
506- if (($size736764 == 0))
507- then $acc0736764
508- else {
509- let $acc1736764 = test($acc0736764, $list736764[0])
510- if (($size736764 == 1))
511- then $acc1736764
512- else {
513- let $acc2736764 = test($acc1736764, $list736764[1])
514- if (($size736764 == 2))
515- then $acc2736764
516- else {
517- let $acc3736764 = test($acc2736764, $list736764[2])
518- if (($size736764 == 3))
519- then $acc3736764
520- else {
521- let $acc4736764 = test($acc3736764, $list736764[3])
522- if (($size736764 == 4))
523- then $acc4736764
524- else {
525- let $acc5736764 = test($acc4736764, $list736764[4])
526- if (($size736764 == 5))
527- then $acc5736764
528- else {
529- let $acc6736764 = test($acc5736764, $list736764[5])
530- if (($size736764 == 6))
531- then $acc6736764
532- else {
533- let $acc7736764 = test($acc6736764, $list736764[6])
534- if (($size736764 == 7))
535- then $acc7736764
536- else {
537- let $acc8736764 = test($acc7736764, $list736764[7])
538- if (($size736764 == 8))
539- then $acc8736764
540- else {
541- let $acc9736764 = test($acc8736764, $list736764[8])
542- if (($size736764 == 9))
543- then $acc9736764
544- else {
545- let $acc10736764 = test($acc9736764, $list736764[9])
546- if (($size736764 == 10))
547- then $acc10736764
548- else {
549- let $acc11736764 = test($acc10736764, $list736764[10])
550- throw("List size exceed 10")
551- }
552- }
553- }
554- }
555- }
556- }
557- }
558- }
559- }
560- }
561- }
562- }
563- let result9 = {
564- let $list783811 = arr(4)
565- let $size783811 = size($list783811)
566- let $acc0783811 = true
567- if (($size783811 == 0))
568- then $acc0783811
569- else {
570- let $acc1783811 = test($acc0783811, $list783811[0])
571- if (($size783811 == 1))
572- then $acc1783811
573- else {
574- let $acc2783811 = test($acc1783811, $list783811[1])
575- if (($size783811 == 2))
576- then $acc2783811
577- else {
578- let $acc3783811 = test($acc2783811, $list783811[2])
579- if (($size783811 == 3))
580- then $acc3783811
581- else {
582- let $acc4783811 = test($acc3783811, $list783811[3])
583- if (($size783811 == 4))
584- then $acc4783811
585- else {
586- let $acc5783811 = test($acc4783811, $list783811[4])
587- if (($size783811 == 5))
588- then $acc5783811
589- else {
590- let $acc6783811 = test($acc5783811, $list783811[5])
591- if (($size783811 == 6))
592- then $acc6783811
593- else {
594- let $acc7783811 = test($acc6783811, $list783811[6])
595- if (($size783811 == 7))
596- then $acc7783811
597- else {
598- let $acc8783811 = test($acc7783811, $list783811[7])
599- if (($size783811 == 8))
600- then $acc8783811
601- else {
602- let $acc9783811 = test($acc8783811, $list783811[8])
603- if (($size783811 == 9))
604- then $acc9783811
605- else {
606- let $acc10783811 = test($acc9783811, $list783811[9])
607- if (($size783811 == 10))
608- then $acc10783811
609- else {
610- let $acc11783811 = test($acc10783811, $list783811[10])
611- throw("List size exceed 10")
612- }
613- }
614- }
615- }
616- }
617- }
618- }
619- }
620- }
621- }
622- }
623- }
624- if (if (if (if (if (if (if (if (if (if (result0)
625- then result1
626- else false)
627- then result2
628- else false)
629- then result3
630- else false)
631- then result4
632- else false)
633- then result5
634- else false)
635- then result6
636- else false)
637- then result7
638- else false)
639- then result8
640- else false)
641- then result9
642- else false)
643- then throw()
644- else WriteSet(nil)
645- }
646-
647-
2+{-# CONTENT_TYPE EXPRESSION #-}
3+sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)

github/deemru/w8io/3ef1775 
74.73 ms