tx · mdqYbZgY8pFTDJHEabHACujCojjKa5RofcsGLhJkgPE

3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS:  -0.01400000 Waves

2021.04.14 17:34 [1482252] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves

{ "type": 13, "id": "mdqYbZgY8pFTDJHEabHACujCojjKa5RofcsGLhJkgPE", "fee": 1400000, "feeAssetId": null, "timestamp": 1618410885506, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "VLkmazCC2yMszNtMx4maQ8P9XLD3XwcB8HeGYBSzQJsTsYQzxLCn7nQoyNTDwz5Utm55KCkpviaLYhrp9DyyXzZ" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAOAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzdAIAAAAO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GlvbgkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgUAAAAJa2V5QWN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXm4mqCe", "height": 1482252, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F36yySi3mTjRtBBzaDiryJ7QNHrZfXnUQzaRZP7KEbte Next: 9CQyf3xv6RnTxPJ5exCHYWxWvChgf3c6XCqm2bbYtLMs Diff:
OldNewDifferences
301301 @Callable(i)
302302 func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive))
303303 then throw("DApp is inactive at this moment")
304- else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
304+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey)))
305305 then throw("Only admin can call this function")
306306 else {
307307 func sum (a,b) = (a + b)
319319 }
320320
321321 let sumRewardPrevious = {
322- let $list1206712100 = previousRewards
323- let $size1206712100 = size($list1206712100)
324- let $acc01206712100 = 0
325- if (($size1206712100 == 0))
326- then $acc01206712100
322+ let $list1208512118 = previousRewards
323+ let $size1208512118 = size($list1208512118)
324+ let $acc01208512118 = 0
325+ if (($size1208512118 == 0))
326+ then $acc01208512118
327327 else {
328- let $acc11206712100 = sum($acc01206712100, $list1206712100[0])
329- if (($size1206712100 == 1))
330- then $acc11206712100
328+ let $acc11208512118 = sum($acc01208512118, $list1208512118[0])
329+ if (($size1208512118 == 1))
330+ then $acc11208512118
331331 else {
332- let $acc21206712100 = sum($acc11206712100, $list1206712100[1])
333- if (($size1206712100 == 2))
334- then $acc21206712100
332+ let $acc21208512118 = sum($acc11208512118, $list1208512118[1])
333+ if (($size1208512118 == 2))
334+ then $acc21208512118
335335 else {
336- let $acc31206712100 = sum($acc21206712100, $list1206712100[2])
337- if (($size1206712100 == 3))
338- then $acc31206712100
336+ let $acc31208512118 = sum($acc21208512118, $list1208512118[2])
337+ if (($size1208512118 == 3))
338+ then $acc31208512118
339339 else {
340- let $acc41206712100 = sum($acc31206712100, $list1206712100[3])
341- if (($size1206712100 == 4))
342- then $acc41206712100
340+ let $acc41208512118 = sum($acc31208512118, $list1208512118[3])
341+ if (($size1208512118 == 4))
342+ then $acc41208512118
343343 else {
344- let $acc51206712100 = sum($acc41206712100, $list1206712100[4])
345- if (($size1206712100 == 5))
346- then $acc51206712100
344+ let $acc51208512118 = sum($acc41208512118, $list1208512118[4])
345+ if (($size1208512118 == 5))
346+ then $acc51208512118
347347 else {
348- let $acc61206712100 = sum($acc51206712100, $list1206712100[5])
349- if (($size1206712100 == 6))
350- then $acc61206712100
348+ let $acc61208512118 = sum($acc51208512118, $list1208512118[5])
349+ if (($size1208512118 == 6))
350+ then $acc61208512118
351351 else {
352- let $acc71206712100 = sum($acc61206712100, $list1206712100[6])
353- if (($size1206712100 == 7))
354- then $acc71206712100
352+ let $acc71208512118 = sum($acc61208512118, $list1208512118[6])
353+ if (($size1208512118 == 7))
354+ then $acc71208512118
355355 else {
356- let $acc81206712100 = sum($acc71206712100, $list1206712100[7])
357- if (($size1206712100 == 8))
358- then $acc81206712100
356+ let $acc81208512118 = sum($acc71208512118, $list1208512118[7])
357+ if (($size1208512118 == 8))
358+ then $acc81208512118
359359 else {
360- let $acc91206712100 = sum($acc81206712100, $list1206712100[8])
361- if (($size1206712100 == 9))
362- then $acc91206712100
360+ let $acc91208512118 = sum($acc81208512118, $list1208512118[8])
361+ if (($size1208512118 == 9))
362+ then $acc91208512118
363363 else {
364- let $acc101206712100 = sum($acc91206712100, $list1206712100[9])
365- if (($size1206712100 == 10))
366- then $acc101206712100
364+ let $acc101208512118 = sum($acc91208512118, $list1208512118[9])
365+ if (($size1208512118 == 10))
366+ then $acc101208512118
367367 else {
368- let $acc111206712100 = sum($acc101206712100, $list1206712100[10])
369- if (($size1206712100 == 11))
370- then $acc111206712100
368+ let $acc111208512118 = sum($acc101208512118, $list1208512118[10])
369+ if (($size1208512118 == 11))
370+ then $acc111208512118
371371 else {
372- let $acc121206712100 = sum($acc111206712100, $list1206712100[11])
373- if (($size1206712100 == 12))
374- then $acc121206712100
372+ let $acc121208512118 = sum($acc111208512118, $list1208512118[11])
373+ if (($size1208512118 == 12))
374+ then $acc121208512118
375375 else {
376- let $acc131206712100 = sum($acc121206712100, $list1206712100[12])
377- if (($size1206712100 == 13))
378- then $acc131206712100
376+ let $acc131208512118 = sum($acc121208512118, $list1208512118[12])
377+ if (($size1208512118 == 13))
378+ then $acc131208512118
379379 else {
380- let $acc141206712100 = sum($acc131206712100, $list1206712100[13])
381- if (($size1206712100 == 14))
382- then $acc141206712100
380+ let $acc141208512118 = sum($acc131208512118, $list1208512118[13])
381+ if (($size1208512118 == 14))
382+ then $acc141208512118
383383 else {
384- let $acc151206712100 = sum($acc141206712100, $list1206712100[14])
385- if (($size1206712100 == 15))
386- then $acc151206712100
384+ let $acc151208512118 = sum($acc141208512118, $list1208512118[14])
385+ if (($size1208512118 == 15))
386+ then $acc151208512118
387387 else {
388- let $acc161206712100 = sum($acc151206712100, $list1206712100[15])
389- if (($size1206712100 == 16))
390- then $acc161206712100
388+ let $acc161208512118 = sum($acc151208512118, $list1208512118[15])
389+ if (($size1208512118 == 16))
390+ then $acc161208512118
391391 else {
392- let $acc171206712100 = sum($acc161206712100, $list1206712100[16])
393- if (($size1206712100 == 17))
394- then $acc171206712100
392+ let $acc171208512118 = sum($acc161208512118, $list1208512118[16])
393+ if (($size1208512118 == 17))
394+ then $acc171208512118
395395 else {
396- let $acc181206712100 = sum($acc171206712100, $list1206712100[17])
397- if (($size1206712100 == 18))
398- then $acc181206712100
396+ let $acc181208512118 = sum($acc171208512118, $list1208512118[17])
397+ if (($size1208512118 == 18))
398+ then $acc181208512118
399399 else {
400- let $acc191206712100 = sum($acc181206712100, $list1206712100[18])
401- if (($size1206712100 == 19))
402- then $acc191206712100
400+ let $acc191208512118 = sum($acc181208512118, $list1208512118[18])
401+ if (($size1208512118 == 19))
402+ then $acc191208512118
403403 else {
404- let $acc201206712100 = sum($acc191206712100, $list1206712100[19])
405- if (($size1206712100 == 20))
406- then $acc201206712100
404+ let $acc201208512118 = sum($acc191208512118, $list1208512118[19])
405+ if (($size1208512118 == 20))
406+ then $acc201208512118
407407 else {
408- let $acc211206712100 = sum($acc201206712100, $list1206712100[20])
408+ let $acc211208512118 = sum($acc201208512118, $list1208512118[20])
409409 throw("List size exceed 20")
410410 }
411411 }
430430 }
431431 }
432432 let sumRewardCurrent = {
433- let $list1212912161 = currentRewards
434- let $size1212912161 = size($list1212912161)
435- let $acc01212912161 = 0
436- if (($size1212912161 == 0))
437- then $acc01212912161
433+ let $list1214712179 = currentRewards
434+ let $size1214712179 = size($list1214712179)
435+ let $acc01214712179 = 0
436+ if (($size1214712179 == 0))
437+ then $acc01214712179
438438 else {
439- let $acc11212912161 = sum($acc01212912161, $list1212912161[0])
440- if (($size1212912161 == 1))
441- then $acc11212912161
439+ let $acc11214712179 = sum($acc01214712179, $list1214712179[0])
440+ if (($size1214712179 == 1))
441+ then $acc11214712179
442442 else {
443- let $acc21212912161 = sum($acc11212912161, $list1212912161[1])
444- if (($size1212912161 == 2))
445- then $acc21212912161
443+ let $acc21214712179 = sum($acc11214712179, $list1214712179[1])
444+ if (($size1214712179 == 2))
445+ then $acc21214712179
446446 else {
447- let $acc31212912161 = sum($acc21212912161, $list1212912161[2])
448- if (($size1212912161 == 3))
449- then $acc31212912161
447+ let $acc31214712179 = sum($acc21214712179, $list1214712179[2])
448+ if (($size1214712179 == 3))
449+ then $acc31214712179
450450 else {
451- let $acc41212912161 = sum($acc31212912161, $list1212912161[3])
452- if (($size1212912161 == 4))
453- then $acc41212912161
451+ let $acc41214712179 = sum($acc31214712179, $list1214712179[3])
452+ if (($size1214712179 == 4))
453+ then $acc41214712179
454454 else {
455- let $acc51212912161 = sum($acc41212912161, $list1212912161[4])
456- if (($size1212912161 == 5))
457- then $acc51212912161
455+ let $acc51214712179 = sum($acc41214712179, $list1214712179[4])
456+ if (($size1214712179 == 5))
457+ then $acc51214712179
458458 else {
459- let $acc61212912161 = sum($acc51212912161, $list1212912161[5])
460- if (($size1212912161 == 6))
461- then $acc61212912161
459+ let $acc61214712179 = sum($acc51214712179, $list1214712179[5])
460+ if (($size1214712179 == 6))
461+ then $acc61214712179
462462 else {
463- let $acc71212912161 = sum($acc61212912161, $list1212912161[6])
464- if (($size1212912161 == 7))
465- then $acc71212912161
463+ let $acc71214712179 = sum($acc61214712179, $list1214712179[6])
464+ if (($size1214712179 == 7))
465+ then $acc71214712179
466466 else {
467- let $acc81212912161 = sum($acc71212912161, $list1212912161[7])
468- if (($size1212912161 == 8))
469- then $acc81212912161
467+ let $acc81214712179 = sum($acc71214712179, $list1214712179[7])
468+ if (($size1214712179 == 8))
469+ then $acc81214712179
470470 else {
471- let $acc91212912161 = sum($acc81212912161, $list1212912161[8])
472- if (($size1212912161 == 9))
473- then $acc91212912161
471+ let $acc91214712179 = sum($acc81214712179, $list1214712179[8])
472+ if (($size1214712179 == 9))
473+ then $acc91214712179
474474 else {
475- let $acc101212912161 = sum($acc91212912161, $list1212912161[9])
476- if (($size1212912161 == 10))
477- then $acc101212912161
475+ let $acc101214712179 = sum($acc91214712179, $list1214712179[9])
476+ if (($size1214712179 == 10))
477+ then $acc101214712179
478478 else {
479- let $acc111212912161 = sum($acc101212912161, $list1212912161[10])
480- if (($size1212912161 == 11))
481- then $acc111212912161
479+ let $acc111214712179 = sum($acc101214712179, $list1214712179[10])
480+ if (($size1214712179 == 11))
481+ then $acc111214712179
482482 else {
483- let $acc121212912161 = sum($acc111212912161, $list1212912161[11])
484- if (($size1212912161 == 12))
485- then $acc121212912161
483+ let $acc121214712179 = sum($acc111214712179, $list1214712179[11])
484+ if (($size1214712179 == 12))
485+ then $acc121214712179
486486 else {
487- let $acc131212912161 = sum($acc121212912161, $list1212912161[12])
488- if (($size1212912161 == 13))
489- then $acc131212912161
487+ let $acc131214712179 = sum($acc121214712179, $list1214712179[12])
488+ if (($size1214712179 == 13))
489+ then $acc131214712179
490490 else {
491- let $acc141212912161 = sum($acc131212912161, $list1212912161[13])
492- if (($size1212912161 == 14))
493- then $acc141212912161
491+ let $acc141214712179 = sum($acc131214712179, $list1214712179[13])
492+ if (($size1214712179 == 14))
493+ then $acc141214712179
494494 else {
495- let $acc151212912161 = sum($acc141212912161, $list1212912161[14])
496- if (($size1212912161 == 15))
497- then $acc151212912161
495+ let $acc151214712179 = sum($acc141214712179, $list1214712179[14])
496+ if (($size1214712179 == 15))
497+ then $acc151214712179
498498 else {
499- let $acc161212912161 = sum($acc151212912161, $list1212912161[15])
500- if (($size1212912161 == 16))
501- then $acc161212912161
499+ let $acc161214712179 = sum($acc151214712179, $list1214712179[15])
500+ if (($size1214712179 == 16))
501+ then $acc161214712179
502502 else {
503- let $acc171212912161 = sum($acc161212912161, $list1212912161[16])
504- if (($size1212912161 == 17))
505- then $acc171212912161
503+ let $acc171214712179 = sum($acc161214712179, $list1214712179[16])
504+ if (($size1214712179 == 17))
505+ then $acc171214712179
506506 else {
507- let $acc181212912161 = sum($acc171212912161, $list1212912161[17])
508- if (($size1212912161 == 18))
509- then $acc181212912161
507+ let $acc181214712179 = sum($acc171214712179, $list1214712179[17])
508+ if (($size1214712179 == 18))
509+ then $acc181214712179
510510 else {
511- let $acc191212912161 = sum($acc181212912161, $list1212912161[18])
512- if (($size1212912161 == 19))
513- then $acc191212912161
511+ let $acc191214712179 = sum($acc181214712179, $list1214712179[18])
512+ if (($size1214712179 == 19))
513+ then $acc191214712179
514514 else {
515- let $acc201212912161 = sum($acc191212912161, $list1212912161[19])
516- if (($size1212912161 == 20))
517- then $acc201212912161
515+ let $acc201214712179 = sum($acc191214712179, $list1214712179[19])
516+ if (($size1214712179 == 20))
517+ then $acc201214712179
518518 else {
519- let $acc211212912161 = sum($acc201212912161, $list1212912161[20])
519+ let $acc211214712179 = sum($acc201214712179, $list1214712179[20])
520520 throw("List size exceed 20")
521521 }
522522 }
548548 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
549549 else {
550550 let previousRewardEntryNew = {
551- let $list1247312521 = previousPools
552- let $size1247312521 = size($list1247312521)
553- let $acc01247312521 = nil
554- if (($size1247312521 == 0))
555- then $acc01247312521
551+ let $list1249112539 = previousPools
552+ let $size1249112539 = size($list1249112539)
553+ let $acc01249112539 = nil
554+ if (($size1249112539 == 0))
555+ then $acc01249112539
556556 else {
557- let $acc11247312521 = PreviousRewardEntry($acc01247312521, $list1247312521[0])
558- if (($size1247312521 == 1))
559- then $acc11247312521
557+ let $acc11249112539 = PreviousRewardEntry($acc01249112539, $list1249112539[0])
558+ if (($size1249112539 == 1))
559+ then $acc11249112539
560560 else {
561- let $acc21247312521 = PreviousRewardEntry($acc11247312521, $list1247312521[1])
562- if (($size1247312521 == 2))
563- then $acc21247312521
561+ let $acc21249112539 = PreviousRewardEntry($acc11249112539, $list1249112539[1])
562+ if (($size1249112539 == 2))
563+ then $acc21249112539
564564 else {
565- let $acc31247312521 = PreviousRewardEntry($acc21247312521, $list1247312521[2])
566- if (($size1247312521 == 3))
567- then $acc31247312521
565+ let $acc31249112539 = PreviousRewardEntry($acc21249112539, $list1249112539[2])
566+ if (($size1249112539 == 3))
567+ then $acc31249112539
568568 else {
569- let $acc41247312521 = PreviousRewardEntry($acc31247312521, $list1247312521[3])
570- if (($size1247312521 == 4))
571- then $acc41247312521
569+ let $acc41249112539 = PreviousRewardEntry($acc31249112539, $list1249112539[3])
570+ if (($size1249112539 == 4))
571+ then $acc41249112539
572572 else {
573- let $acc51247312521 = PreviousRewardEntry($acc41247312521, $list1247312521[4])
574- if (($size1247312521 == 5))
575- then $acc51247312521
573+ let $acc51249112539 = PreviousRewardEntry($acc41249112539, $list1249112539[4])
574+ if (($size1249112539 == 5))
575+ then $acc51249112539
576576 else {
577- let $acc61247312521 = PreviousRewardEntry($acc51247312521, $list1247312521[5])
578- if (($size1247312521 == 6))
579- then $acc61247312521
577+ let $acc61249112539 = PreviousRewardEntry($acc51249112539, $list1249112539[5])
578+ if (($size1249112539 == 6))
579+ then $acc61249112539
580580 else {
581- let $acc71247312521 = PreviousRewardEntry($acc61247312521, $list1247312521[6])
582- if (($size1247312521 == 7))
583- then $acc71247312521
581+ let $acc71249112539 = PreviousRewardEntry($acc61249112539, $list1249112539[6])
582+ if (($size1249112539 == 7))
583+ then $acc71249112539
584584 else {
585- let $acc81247312521 = PreviousRewardEntry($acc71247312521, $list1247312521[7])
586- if (($size1247312521 == 8))
587- then $acc81247312521
585+ let $acc81249112539 = PreviousRewardEntry($acc71249112539, $list1249112539[7])
586+ if (($size1249112539 == 8))
587+ then $acc81249112539
588588 else {
589- let $acc91247312521 = PreviousRewardEntry($acc81247312521, $list1247312521[8])
590- if (($size1247312521 == 9))
591- then $acc91247312521
589+ let $acc91249112539 = PreviousRewardEntry($acc81249112539, $list1249112539[8])
590+ if (($size1249112539 == 9))
591+ then $acc91249112539
592592 else {
593- let $acc101247312521 = PreviousRewardEntry($acc91247312521, $list1247312521[9])
594- if (($size1247312521 == 10))
595- then $acc101247312521
593+ let $acc101249112539 = PreviousRewardEntry($acc91249112539, $list1249112539[9])
594+ if (($size1249112539 == 10))
595+ then $acc101249112539
596596 else {
597- let $acc111247312521 = PreviousRewardEntry($acc101247312521, $list1247312521[10])
598- if (($size1247312521 == 11))
599- then $acc111247312521
597+ let $acc111249112539 = PreviousRewardEntry($acc101249112539, $list1249112539[10])
598+ if (($size1249112539 == 11))
599+ then $acc111249112539
600600 else {
601- let $acc121247312521 = PreviousRewardEntry($acc111247312521, $list1247312521[11])
602- if (($size1247312521 == 12))
603- then $acc121247312521
601+ let $acc121249112539 = PreviousRewardEntry($acc111249112539, $list1249112539[11])
602+ if (($size1249112539 == 12))
603+ then $acc121249112539
604604 else {
605- let $acc131247312521 = PreviousRewardEntry($acc121247312521, $list1247312521[12])
606- if (($size1247312521 == 13))
607- then $acc131247312521
605+ let $acc131249112539 = PreviousRewardEntry($acc121249112539, $list1249112539[12])
606+ if (($size1249112539 == 13))
607+ then $acc131249112539
608608 else {
609- let $acc141247312521 = PreviousRewardEntry($acc131247312521, $list1247312521[13])
610- if (($size1247312521 == 14))
611- then $acc141247312521
609+ let $acc141249112539 = PreviousRewardEntry($acc131249112539, $list1249112539[13])
610+ if (($size1249112539 == 14))
611+ then $acc141249112539
612612 else {
613- let $acc151247312521 = PreviousRewardEntry($acc141247312521, $list1247312521[14])
614- if (($size1247312521 == 15))
615- then $acc151247312521
613+ let $acc151249112539 = PreviousRewardEntry($acc141249112539, $list1249112539[14])
614+ if (($size1249112539 == 15))
615+ then $acc151249112539
616616 else {
617- let $acc161247312521 = PreviousRewardEntry($acc151247312521, $list1247312521[15])
618- if (($size1247312521 == 16))
619- then $acc161247312521
617+ let $acc161249112539 = PreviousRewardEntry($acc151249112539, $list1249112539[15])
618+ if (($size1249112539 == 16))
619+ then $acc161249112539
620620 else {
621- let $acc171247312521 = PreviousRewardEntry($acc161247312521, $list1247312521[16])
622- if (($size1247312521 == 17))
623- then $acc171247312521
621+ let $acc171249112539 = PreviousRewardEntry($acc161249112539, $list1249112539[16])
622+ if (($size1249112539 == 17))
623+ then $acc171249112539
624624 else {
625- let $acc181247312521 = PreviousRewardEntry($acc171247312521, $list1247312521[17])
626- if (($size1247312521 == 18))
627- then $acc181247312521
625+ let $acc181249112539 = PreviousRewardEntry($acc171249112539, $list1249112539[17])
626+ if (($size1249112539 == 18))
627+ then $acc181249112539
628628 else {
629- let $acc191247312521 = PreviousRewardEntry($acc181247312521, $list1247312521[18])
630- if (($size1247312521 == 19))
631- then $acc191247312521
629+ let $acc191249112539 = PreviousRewardEntry($acc181249112539, $list1249112539[18])
630+ if (($size1249112539 == 19))
631+ then $acc191249112539
632632 else {
633- let $acc201247312521 = PreviousRewardEntry($acc191247312521, $list1247312521[19])
634- if (($size1247312521 == 20))
635- then $acc201247312521
633+ let $acc201249112539 = PreviousRewardEntry($acc191249112539, $list1249112539[19])
634+ if (($size1249112539 == 20))
635+ then $acc201249112539
636636 else {
637- let $acc211247312521 = PreviousRewardEntry($acc201247312521, $list1247312521[20])
637+ let $acc211249112539 = PreviousRewardEntry($acc201249112539, $list1249112539[20])
638638 throw("List size exceed 20")
639639 }
640640 }
659659 }
660660 }
661661 let currentRewardEntryNew = {
662- let $list1255412600 = currentPools
663- let $size1255412600 = size($list1255412600)
664- let $acc01255412600 = nil
665- if (($size1255412600 == 0))
666- then $acc01255412600
662+ let $list1257212618 = currentPools
663+ let $size1257212618 = size($list1257212618)
664+ let $acc01257212618 = nil
665+ if (($size1257212618 == 0))
666+ then $acc01257212618
667667 else {
668- let $acc11255412600 = CurrentRewardEntry($acc01255412600, $list1255412600[0])
669- if (($size1255412600 == 1))
670- then $acc11255412600
668+ let $acc11257212618 = CurrentRewardEntry($acc01257212618, $list1257212618[0])
669+ if (($size1257212618 == 1))
670+ then $acc11257212618
671671 else {
672- let $acc21255412600 = CurrentRewardEntry($acc11255412600, $list1255412600[1])
673- if (($size1255412600 == 2))
674- then $acc21255412600
672+ let $acc21257212618 = CurrentRewardEntry($acc11257212618, $list1257212618[1])
673+ if (($size1257212618 == 2))
674+ then $acc21257212618
675675 else {
676- let $acc31255412600 = CurrentRewardEntry($acc21255412600, $list1255412600[2])
677- if (($size1255412600 == 3))
678- then $acc31255412600
676+ let $acc31257212618 = CurrentRewardEntry($acc21257212618, $list1257212618[2])
677+ if (($size1257212618 == 3))
678+ then $acc31257212618
679679 else {
680- let $acc41255412600 = CurrentRewardEntry($acc31255412600, $list1255412600[3])
681- if (($size1255412600 == 4))
682- then $acc41255412600
680+ let $acc41257212618 = CurrentRewardEntry($acc31257212618, $list1257212618[3])
681+ if (($size1257212618 == 4))
682+ then $acc41257212618
683683 else {
684- let $acc51255412600 = CurrentRewardEntry($acc41255412600, $list1255412600[4])
685- if (($size1255412600 == 5))
686- then $acc51255412600
684+ let $acc51257212618 = CurrentRewardEntry($acc41257212618, $list1257212618[4])
685+ if (($size1257212618 == 5))
686+ then $acc51257212618
687687 else {
688- let $acc61255412600 = CurrentRewardEntry($acc51255412600, $list1255412600[5])
689- if (($size1255412600 == 6))
690- then $acc61255412600
688+ let $acc61257212618 = CurrentRewardEntry($acc51257212618, $list1257212618[5])
689+ if (($size1257212618 == 6))
690+ then $acc61257212618
691691 else {
692- let $acc71255412600 = CurrentRewardEntry($acc61255412600, $list1255412600[6])
693- if (($size1255412600 == 7))
694- then $acc71255412600
692+ let $acc71257212618 = CurrentRewardEntry($acc61257212618, $list1257212618[6])
693+ if (($size1257212618 == 7))
694+ then $acc71257212618
695695 else {
696- let $acc81255412600 = CurrentRewardEntry($acc71255412600, $list1255412600[7])
697- if (($size1255412600 == 8))
698- then $acc81255412600
696+ let $acc81257212618 = CurrentRewardEntry($acc71257212618, $list1257212618[7])
697+ if (($size1257212618 == 8))
698+ then $acc81257212618
699699 else {
700- let $acc91255412600 = CurrentRewardEntry($acc81255412600, $list1255412600[8])
701- if (($size1255412600 == 9))
702- then $acc91255412600
700+ let $acc91257212618 = CurrentRewardEntry($acc81257212618, $list1257212618[8])
701+ if (($size1257212618 == 9))
702+ then $acc91257212618
703703 else {
704- let $acc101255412600 = CurrentRewardEntry($acc91255412600, $list1255412600[9])
705- if (($size1255412600 == 10))
706- then $acc101255412600
704+ let $acc101257212618 = CurrentRewardEntry($acc91257212618, $list1257212618[9])
705+ if (($size1257212618 == 10))
706+ then $acc101257212618
707707 else {
708- let $acc111255412600 = CurrentRewardEntry($acc101255412600, $list1255412600[10])
709- if (($size1255412600 == 11))
710- then $acc111255412600
708+ let $acc111257212618 = CurrentRewardEntry($acc101257212618, $list1257212618[10])
709+ if (($size1257212618 == 11))
710+ then $acc111257212618
711711 else {
712- let $acc121255412600 = CurrentRewardEntry($acc111255412600, $list1255412600[11])
713- if (($size1255412600 == 12))
714- then $acc121255412600
712+ let $acc121257212618 = CurrentRewardEntry($acc111257212618, $list1257212618[11])
713+ if (($size1257212618 == 12))
714+ then $acc121257212618
715715 else {
716- let $acc131255412600 = CurrentRewardEntry($acc121255412600, $list1255412600[12])
717- if (($size1255412600 == 13))
718- then $acc131255412600
716+ let $acc131257212618 = CurrentRewardEntry($acc121257212618, $list1257212618[12])
717+ if (($size1257212618 == 13))
718+ then $acc131257212618
719719 else {
720- let $acc141255412600 = CurrentRewardEntry($acc131255412600, $list1255412600[13])
721- if (($size1255412600 == 14))
722- then $acc141255412600
720+ let $acc141257212618 = CurrentRewardEntry($acc131257212618, $list1257212618[13])
721+ if (($size1257212618 == 14))
722+ then $acc141257212618
723723 else {
724- let $acc151255412600 = CurrentRewardEntry($acc141255412600, $list1255412600[14])
725- if (($size1255412600 == 15))
726- then $acc151255412600
724+ let $acc151257212618 = CurrentRewardEntry($acc141257212618, $list1257212618[14])
725+ if (($size1257212618 == 15))
726+ then $acc151257212618
727727 else {
728- let $acc161255412600 = CurrentRewardEntry($acc151255412600, $list1255412600[15])
729- if (($size1255412600 == 16))
730- then $acc161255412600
728+ let $acc161257212618 = CurrentRewardEntry($acc151257212618, $list1257212618[15])
729+ if (($size1257212618 == 16))
730+ then $acc161257212618
731731 else {
732- let $acc171255412600 = CurrentRewardEntry($acc161255412600, $list1255412600[16])
733- if (($size1255412600 == 17))
734- then $acc171255412600
732+ let $acc171257212618 = CurrentRewardEntry($acc161257212618, $list1257212618[16])
733+ if (($size1257212618 == 17))
734+ then $acc171257212618
735735 else {
736- let $acc181255412600 = CurrentRewardEntry($acc171255412600, $list1255412600[17])
737- if (($size1255412600 == 18))
738- then $acc181255412600
736+ let $acc181257212618 = CurrentRewardEntry($acc171257212618, $list1257212618[17])
737+ if (($size1257212618 == 18))
738+ then $acc181257212618
739739 else {
740- let $acc191255412600 = CurrentRewardEntry($acc181255412600, $list1255412600[18])
741- if (($size1255412600 == 19))
742- then $acc191255412600
740+ let $acc191257212618 = CurrentRewardEntry($acc181257212618, $list1257212618[18])
741+ if (($size1257212618 == 19))
742+ then $acc191257212618
743743 else {
744- let $acc201255412600 = CurrentRewardEntry($acc191255412600, $list1255412600[19])
745- if (($size1255412600 == 20))
746- then $acc201255412600
744+ let $acc201257212618 = CurrentRewardEntry($acc191257212618, $list1257212618[19])
745+ if (($size1257212618 == 20))
746+ then $acc201257212618
747747 else {
748- let $acc211255412600 = CurrentRewardEntry($acc201255412600, $list1255412600[20])
748+ let $acc211257212618 = CurrentRewardEntry($acc201257212618, $list1257212618[20])
749749 throw("List size exceed 20")
750750 }
751751 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
1111
1212 let adminPubKeyWallet = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw'
1313
1414 let keyActive = "active"
1515
1616 let keyCause = "shutdown_cause"
1717
1818 let keyLastInterest = "last_interest"
1919
2020 let keyUserLastInterest = "_last_interest"
2121
2222 let keyUserSWOPLocked = "_SWOP_amount"
2323
2424 let keyUserGetBackHeight = "_getBackHeight"
2525
2626 let keyTotalSWOPLocked = "total_SWOP_amount"
2727
2828 let kUserTotalVoteSWOP = "_user_total_SWOP_vote"
2929
3030 let keyUserVoteOptionAmount = "_SWOP_option_amount"
3131
3232 let keyTotalVoteOptionAmount = "total_SWOP_option_amount"
3333
3434 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3535
3636 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3737
3838 let keyVoteName = "vote_name"
3939
4040 let keyOptionName = "_option_name"
4141
4242 let keyVotingStartHeight = "_startHeight"
4343
4444 let keyVoteDuration = "_vote_duration"
4545
4646 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
4747
4848 let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
4949
5050 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
5151
5252 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
5353
5454 let keyRewardUpdateHeight = "reward_update_height"
5555
5656 let isActive = valueOrElse(getBoolean(this, keyActive), true)
5757
5858 let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC')
5959
6060 let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
6161
6262 let keySWOPid = "SWOP_id"
6363
6464 let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid))
6565
6666 let scaleValue = 100000000
6767
6868 let totalVoteShare = 10000000000
6969
7070 let kStartHeight = "start_height"
7171
7272 let kBasePeriod = "base_period"
7373
7474 let kPeriodLength = "period_length"
7575
7676 let kUserTotalStruc = "_user_total_struc"
7777
7878 let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract")
7979
8080 let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract")
8181
8282 let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract")
8383
8484 let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength))
8585
8686 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
8787
8888
8989 func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
9090
9191
9292 func getLastInterestInfo () = {
9393 let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0)
9494 lastInterest
9595 }
9696
9797
9898 func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0)
9999
100100
101101 func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0)
102102
103103
104104 func getUserInterestInfo (user,lastInterest) = {
105105 let userSWOPAmount = getUserSWOPLocked(user)
106106 let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest))
107107 let userLastInterestValue = match userLastInterest {
108108 case userLastInterest: Int =>
109109 userLastInterest
110110 case _ =>
111111 lastInterest
112112 }
113113 $Tuple2(userLastInterestValue, userSWOPAmount)
114114 }
115115
116116
117117 func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
118118
119119
120120 func getUserUnvoteAmount (user) = {
121121 let $t037794290 = if (isDefined(getString(this, (toString(user) + kUserTotalStruc))))
122122 then {
123123 let data = split(valueOrErrorMessage(getString(this, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
124124 $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
125125 }
126126 else {
127127 let uPoolTotalSWOP = valueOrElse(getInteger(this, (toString(user) + kUserTotalVoteSWOP)), 0)
128128 $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod)
129129 }
130130 let userTotalVoteSWOP = $t037794290._1
131131 let userUnvoted = $t037794290._2
132132 let userUnvotedPeriod = $t037794290._3
133133 if ((userUnvotedPeriod == currVotingPeriod))
134134 then userUnvoted
135135 else 0
136136 }
137137
138138
139139 func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0)
140140
141141
142142 func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0)
143143
144144
145145 func getVoteOptionAmount (user,voteName,option) = {
146146 let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount))
147147 let uvoa = match userVoteOptionAmount {
148148 case uvoa: Int =>
149149 uvoa
150150 case uvoa: Unit =>
151151 0
152152 case _ =>
153153 throw("Match error")
154154 }
155155 valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount))
156156 }
157157
158158
159159 func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration))
160160
161161
162162 func getTotalVoteOptionAmount (voteName,option) = {
163163 let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount))
164164 let tvoa = match totalVoteOptionAmount {
165165 case tvoa: Int =>
166166 tvoa
167167 case tvoa: Unit =>
168168 0
169169 case _ =>
170170 throw("Match error")
171171 }
172172 tvoa
173173 }
174174
175175
176176 func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = {
177177 let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight))
178178 valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key))
179179 }
180180
181181
182182 func claimCalc (caller) = {
183183 let lastInterest = getLastInterestInfo()
184184 let $t060286108 = getUserInterestInfo(caller, lastInterest)
185185 let userLastInterest = $t060286108._1
186186 let userSWOPLocked = $t060286108._2
187187 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
188188 let userNewInterest = lastInterest
189189 $Tuple2(userNewInterest, claimAmount)
190190 }
191191
192192
193193 @Callable(i)
194194 func airDrop () = if (!(isActive))
195195 then throw("DApp is inactive at this moment")
196196 else {
197197 let $t063736448 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
198198 let pmtAmount = $t063736448._1
199199 let pmtAssetId = $t063736448._2
200200 if ((pmtAssetId != SWOP))
201201 then throw("Incorrect pmtAssetId")
202202 else {
203203 let totalSWOPLocked = getTotalSWOPLocked()
204204 let lastInterest = getLastInterestInfo()
205205 let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked))
206206 [IntegerEntry(keyLastInterest, interestNew)]
207207 }
208208 }
209209
210210
211211
212212 @Callable(i)
213213 func lockSWOP () = if (!(isActive))
214214 then throw("DApp is inactive at this moment")
215215 else {
216216 let $t068866961 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
217217 let pmtAmount = $t068866961._1
218218 let pmtAssetId = $t068866961._2
219219 if ((pmtAssetId != SWOP))
220220 then throw("Incorrect pmtAssetId")
221221 else {
222222 let lastInterest = getLastInterestInfo()
223223 let $t070777159 = getUserInterestInfo(i.caller, lastInterest)
224224 let userLastInterest = $t070777159._1
225225 let userSWOPLocked = $t070777159._2
226226 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
227227 let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount)
228228 let userNewInterest = lastInterest
229229 let totalSWOPLocked = getTotalSWOPLocked()
230230 let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount)
231231 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
232232 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
233233 [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)]
234234 }
235235 }
236236
237237
238238
239239 @Callable(i)
240240 func withdrawSWOP (withdrawAmount) = if (!(isActive))
241241 then throw("DApp is inactive at this moment")
242242 else {
243243 let totalSWOPLocked = getTotalSWOPLocked()
244244 let userSWOPLocked = getUserSWOPLocked(i.caller)
245245 let $t082438298 = claimCalc(i.caller)
246246 let userNewInterest = $t082438298._1
247247 let claimAmount = $t082438298._2
248248 let userUnvoteAmount = getUserUnvoteAmount(i.caller)
249249 let availableFund = (userSWOPLocked - userUnvoteAmount)
250250 if ((withdrawAmount > availableFund))
251251 then throw("withdrawAmount > availableFund")
252252 else {
253253 let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
254254 let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
255255 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
256256 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
257257 [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPamountNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)]
258258 }
259259 }
260260
261261
262262
263263 @Callable(i)
264264 func claimAndWithdrawSWOP () = if (!(isActive))
265265 then throw("DApp is inactive at this moment")
266266 else {
267267 let lastInterest = getLastInterestInfo()
268268 let $t094119466 = claimCalc(i.caller)
269269 let userNewInterest = $t094119466._1
270270 let claimAmount = $t094119466._2
271271 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
272272 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
273273 if ((claimAmount == 0))
274274 then throw("You have 0 available SWOP")
275275 else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)]
276276 }
277277
278278
279279
280280 @Callable(i)
281281 func claimAndStakeSWOP () = if (!(isActive))
282282 then throw("DApp is inactive at this moment")
283283 else {
284284 let totalSWOPLocked = getTotalSWOPLocked()
285285 let userSWOPLocked = getUserSWOPLocked(i.caller)
286286 let lastInterest = getLastInterestInfo()
287287 let $t01024510300 = claimCalc(i.caller)
288288 let userNewInterest = $t01024510300._1
289289 let claimAmount = $t01024510300._2
290290 let userSWOPLockedNew = (userSWOPLocked + claimAmount)
291291 let totalSWOPLockedNew = (totalSWOPLocked + claimAmount)
292292 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
293293 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
294294 if ((claimAmount == 0))
295295 then throw("You have 0 available SWOP")
296296 else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)]
297297 }
298298
299299
300300
301301 @Callable(i)
302302 func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive))
303303 then throw("DApp is inactive at this moment")
304- else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
304+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey)))
305305 then throw("Only admin can call this function")
306306 else {
307307 func sum (a,b) = (a + b)
308308
309309 func PreviousRewardEntry (accumulated,pool) = {
310310 let poolIndex = value(indexOf(previousPools, pool))
311311 let poolReward = previousRewards[poolIndex]
312312 IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated
313313 }
314314
315315 func CurrentRewardEntry (accumulated,pool) = {
316316 let poolIndex = value(indexOf(currentPools, pool))
317317 let poolReward = currentRewards[poolIndex]
318318 IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated
319319 }
320320
321321 let sumRewardPrevious = {
322- let $list1206712100 = previousRewards
323- let $size1206712100 = size($list1206712100)
324- let $acc01206712100 = 0
325- if (($size1206712100 == 0))
326- then $acc01206712100
322+ let $list1208512118 = previousRewards
323+ let $size1208512118 = size($list1208512118)
324+ let $acc01208512118 = 0
325+ if (($size1208512118 == 0))
326+ then $acc01208512118
327327 else {
328- let $acc11206712100 = sum($acc01206712100, $list1206712100[0])
329- if (($size1206712100 == 1))
330- then $acc11206712100
328+ let $acc11208512118 = sum($acc01208512118, $list1208512118[0])
329+ if (($size1208512118 == 1))
330+ then $acc11208512118
331331 else {
332- let $acc21206712100 = sum($acc11206712100, $list1206712100[1])
333- if (($size1206712100 == 2))
334- then $acc21206712100
332+ let $acc21208512118 = sum($acc11208512118, $list1208512118[1])
333+ if (($size1208512118 == 2))
334+ then $acc21208512118
335335 else {
336- let $acc31206712100 = sum($acc21206712100, $list1206712100[2])
337- if (($size1206712100 == 3))
338- then $acc31206712100
336+ let $acc31208512118 = sum($acc21208512118, $list1208512118[2])
337+ if (($size1208512118 == 3))
338+ then $acc31208512118
339339 else {
340- let $acc41206712100 = sum($acc31206712100, $list1206712100[3])
341- if (($size1206712100 == 4))
342- then $acc41206712100
340+ let $acc41208512118 = sum($acc31208512118, $list1208512118[3])
341+ if (($size1208512118 == 4))
342+ then $acc41208512118
343343 else {
344- let $acc51206712100 = sum($acc41206712100, $list1206712100[4])
345- if (($size1206712100 == 5))
346- then $acc51206712100
344+ let $acc51208512118 = sum($acc41208512118, $list1208512118[4])
345+ if (($size1208512118 == 5))
346+ then $acc51208512118
347347 else {
348- let $acc61206712100 = sum($acc51206712100, $list1206712100[5])
349- if (($size1206712100 == 6))
350- then $acc61206712100
348+ let $acc61208512118 = sum($acc51208512118, $list1208512118[5])
349+ if (($size1208512118 == 6))
350+ then $acc61208512118
351351 else {
352- let $acc71206712100 = sum($acc61206712100, $list1206712100[6])
353- if (($size1206712100 == 7))
354- then $acc71206712100
352+ let $acc71208512118 = sum($acc61208512118, $list1208512118[6])
353+ if (($size1208512118 == 7))
354+ then $acc71208512118
355355 else {
356- let $acc81206712100 = sum($acc71206712100, $list1206712100[7])
357- if (($size1206712100 == 8))
358- then $acc81206712100
356+ let $acc81208512118 = sum($acc71208512118, $list1208512118[7])
357+ if (($size1208512118 == 8))
358+ then $acc81208512118
359359 else {
360- let $acc91206712100 = sum($acc81206712100, $list1206712100[8])
361- if (($size1206712100 == 9))
362- then $acc91206712100
360+ let $acc91208512118 = sum($acc81208512118, $list1208512118[8])
361+ if (($size1208512118 == 9))
362+ then $acc91208512118
363363 else {
364- let $acc101206712100 = sum($acc91206712100, $list1206712100[9])
365- if (($size1206712100 == 10))
366- then $acc101206712100
364+ let $acc101208512118 = sum($acc91208512118, $list1208512118[9])
365+ if (($size1208512118 == 10))
366+ then $acc101208512118
367367 else {
368- let $acc111206712100 = sum($acc101206712100, $list1206712100[10])
369- if (($size1206712100 == 11))
370- then $acc111206712100
368+ let $acc111208512118 = sum($acc101208512118, $list1208512118[10])
369+ if (($size1208512118 == 11))
370+ then $acc111208512118
371371 else {
372- let $acc121206712100 = sum($acc111206712100, $list1206712100[11])
373- if (($size1206712100 == 12))
374- then $acc121206712100
372+ let $acc121208512118 = sum($acc111208512118, $list1208512118[11])
373+ if (($size1208512118 == 12))
374+ then $acc121208512118
375375 else {
376- let $acc131206712100 = sum($acc121206712100, $list1206712100[12])
377- if (($size1206712100 == 13))
378- then $acc131206712100
376+ let $acc131208512118 = sum($acc121208512118, $list1208512118[12])
377+ if (($size1208512118 == 13))
378+ then $acc131208512118
379379 else {
380- let $acc141206712100 = sum($acc131206712100, $list1206712100[13])
381- if (($size1206712100 == 14))
382- then $acc141206712100
380+ let $acc141208512118 = sum($acc131208512118, $list1208512118[13])
381+ if (($size1208512118 == 14))
382+ then $acc141208512118
383383 else {
384- let $acc151206712100 = sum($acc141206712100, $list1206712100[14])
385- if (($size1206712100 == 15))
386- then $acc151206712100
384+ let $acc151208512118 = sum($acc141208512118, $list1208512118[14])
385+ if (($size1208512118 == 15))
386+ then $acc151208512118
387387 else {
388- let $acc161206712100 = sum($acc151206712100, $list1206712100[15])
389- if (($size1206712100 == 16))
390- then $acc161206712100
388+ let $acc161208512118 = sum($acc151208512118, $list1208512118[15])
389+ if (($size1208512118 == 16))
390+ then $acc161208512118
391391 else {
392- let $acc171206712100 = sum($acc161206712100, $list1206712100[16])
393- if (($size1206712100 == 17))
394- then $acc171206712100
392+ let $acc171208512118 = sum($acc161208512118, $list1208512118[16])
393+ if (($size1208512118 == 17))
394+ then $acc171208512118
395395 else {
396- let $acc181206712100 = sum($acc171206712100, $list1206712100[17])
397- if (($size1206712100 == 18))
398- then $acc181206712100
396+ let $acc181208512118 = sum($acc171208512118, $list1208512118[17])
397+ if (($size1208512118 == 18))
398+ then $acc181208512118
399399 else {
400- let $acc191206712100 = sum($acc181206712100, $list1206712100[18])
401- if (($size1206712100 == 19))
402- then $acc191206712100
400+ let $acc191208512118 = sum($acc181208512118, $list1208512118[18])
401+ if (($size1208512118 == 19))
402+ then $acc191208512118
403403 else {
404- let $acc201206712100 = sum($acc191206712100, $list1206712100[19])
405- if (($size1206712100 == 20))
406- then $acc201206712100
404+ let $acc201208512118 = sum($acc191208512118, $list1208512118[19])
405+ if (($size1208512118 == 20))
406+ then $acc201208512118
407407 else {
408- let $acc211206712100 = sum($acc201206712100, $list1206712100[20])
408+ let $acc211208512118 = sum($acc201208512118, $list1208512118[20])
409409 throw("List size exceed 20")
410410 }
411411 }
412412 }
413413 }
414414 }
415415 }
416416 }
417417 }
418418 }
419419 }
420420 }
421421 }
422422 }
423423 }
424424 }
425425 }
426426 }
427427 }
428428 }
429429 }
430430 }
431431 }
432432 let sumRewardCurrent = {
433- let $list1212912161 = currentRewards
434- let $size1212912161 = size($list1212912161)
435- let $acc01212912161 = 0
436- if (($size1212912161 == 0))
437- then $acc01212912161
433+ let $list1214712179 = currentRewards
434+ let $size1214712179 = size($list1214712179)
435+ let $acc01214712179 = 0
436+ if (($size1214712179 == 0))
437+ then $acc01214712179
438438 else {
439- let $acc11212912161 = sum($acc01212912161, $list1212912161[0])
440- if (($size1212912161 == 1))
441- then $acc11212912161
439+ let $acc11214712179 = sum($acc01214712179, $list1214712179[0])
440+ if (($size1214712179 == 1))
441+ then $acc11214712179
442442 else {
443- let $acc21212912161 = sum($acc11212912161, $list1212912161[1])
444- if (($size1212912161 == 2))
445- then $acc21212912161
443+ let $acc21214712179 = sum($acc11214712179, $list1214712179[1])
444+ if (($size1214712179 == 2))
445+ then $acc21214712179
446446 else {
447- let $acc31212912161 = sum($acc21212912161, $list1212912161[2])
448- if (($size1212912161 == 3))
449- then $acc31212912161
447+ let $acc31214712179 = sum($acc21214712179, $list1214712179[2])
448+ if (($size1214712179 == 3))
449+ then $acc31214712179
450450 else {
451- let $acc41212912161 = sum($acc31212912161, $list1212912161[3])
452- if (($size1212912161 == 4))
453- then $acc41212912161
451+ let $acc41214712179 = sum($acc31214712179, $list1214712179[3])
452+ if (($size1214712179 == 4))
453+ then $acc41214712179
454454 else {
455- let $acc51212912161 = sum($acc41212912161, $list1212912161[4])
456- if (($size1212912161 == 5))
457- then $acc51212912161
455+ let $acc51214712179 = sum($acc41214712179, $list1214712179[4])
456+ if (($size1214712179 == 5))
457+ then $acc51214712179
458458 else {
459- let $acc61212912161 = sum($acc51212912161, $list1212912161[5])
460- if (($size1212912161 == 6))
461- then $acc61212912161
459+ let $acc61214712179 = sum($acc51214712179, $list1214712179[5])
460+ if (($size1214712179 == 6))
461+ then $acc61214712179
462462 else {
463- let $acc71212912161 = sum($acc61212912161, $list1212912161[6])
464- if (($size1212912161 == 7))
465- then $acc71212912161
463+ let $acc71214712179 = sum($acc61214712179, $list1214712179[6])
464+ if (($size1214712179 == 7))
465+ then $acc71214712179
466466 else {
467- let $acc81212912161 = sum($acc71212912161, $list1212912161[7])
468- if (($size1212912161 == 8))
469- then $acc81212912161
467+ let $acc81214712179 = sum($acc71214712179, $list1214712179[7])
468+ if (($size1214712179 == 8))
469+ then $acc81214712179
470470 else {
471- let $acc91212912161 = sum($acc81212912161, $list1212912161[8])
472- if (($size1212912161 == 9))
473- then $acc91212912161
471+ let $acc91214712179 = sum($acc81214712179, $list1214712179[8])
472+ if (($size1214712179 == 9))
473+ then $acc91214712179
474474 else {
475- let $acc101212912161 = sum($acc91212912161, $list1212912161[9])
476- if (($size1212912161 == 10))
477- then $acc101212912161
475+ let $acc101214712179 = sum($acc91214712179, $list1214712179[9])
476+ if (($size1214712179 == 10))
477+ then $acc101214712179
478478 else {
479- let $acc111212912161 = sum($acc101212912161, $list1212912161[10])
480- if (($size1212912161 == 11))
481- then $acc111212912161
479+ let $acc111214712179 = sum($acc101214712179, $list1214712179[10])
480+ if (($size1214712179 == 11))
481+ then $acc111214712179
482482 else {
483- let $acc121212912161 = sum($acc111212912161, $list1212912161[11])
484- if (($size1212912161 == 12))
485- then $acc121212912161
483+ let $acc121214712179 = sum($acc111214712179, $list1214712179[11])
484+ if (($size1214712179 == 12))
485+ then $acc121214712179
486486 else {
487- let $acc131212912161 = sum($acc121212912161, $list1212912161[12])
488- if (($size1212912161 == 13))
489- then $acc131212912161
487+ let $acc131214712179 = sum($acc121214712179, $list1214712179[12])
488+ if (($size1214712179 == 13))
489+ then $acc131214712179
490490 else {
491- let $acc141212912161 = sum($acc131212912161, $list1212912161[13])
492- if (($size1212912161 == 14))
493- then $acc141212912161
491+ let $acc141214712179 = sum($acc131214712179, $list1214712179[13])
492+ if (($size1214712179 == 14))
493+ then $acc141214712179
494494 else {
495- let $acc151212912161 = sum($acc141212912161, $list1212912161[14])
496- if (($size1212912161 == 15))
497- then $acc151212912161
495+ let $acc151214712179 = sum($acc141214712179, $list1214712179[14])
496+ if (($size1214712179 == 15))
497+ then $acc151214712179
498498 else {
499- let $acc161212912161 = sum($acc151212912161, $list1212912161[15])
500- if (($size1212912161 == 16))
501- then $acc161212912161
499+ let $acc161214712179 = sum($acc151214712179, $list1214712179[15])
500+ if (($size1214712179 == 16))
501+ then $acc161214712179
502502 else {
503- let $acc171212912161 = sum($acc161212912161, $list1212912161[16])
504- if (($size1212912161 == 17))
505- then $acc171212912161
503+ let $acc171214712179 = sum($acc161214712179, $list1214712179[16])
504+ if (($size1214712179 == 17))
505+ then $acc171214712179
506506 else {
507- let $acc181212912161 = sum($acc171212912161, $list1212912161[17])
508- if (($size1212912161 == 18))
509- then $acc181212912161
507+ let $acc181214712179 = sum($acc171214712179, $list1214712179[17])
508+ if (($size1214712179 == 18))
509+ then $acc181214712179
510510 else {
511- let $acc191212912161 = sum($acc181212912161, $list1212912161[18])
512- if (($size1212912161 == 19))
513- then $acc191212912161
511+ let $acc191214712179 = sum($acc181214712179, $list1214712179[18])
512+ if (($size1214712179 == 19))
513+ then $acc191214712179
514514 else {
515- let $acc201212912161 = sum($acc191212912161, $list1212912161[19])
516- if (($size1212912161 == 20))
517- then $acc201212912161
515+ let $acc201214712179 = sum($acc191214712179, $list1214712179[19])
516+ if (($size1214712179 == 20))
517+ then $acc201214712179
518518 else {
519- let $acc211212912161 = sum($acc201212912161, $list1212912161[20])
519+ let $acc211214712179 = sum($acc201214712179, $list1214712179[20])
520520 throw("List size exceed 20")
521521 }
522522 }
523523 }
524524 }
525525 }
526526 }
527527 }
528528 }
529529 }
530530 }
531531 }
532532 }
533533 }
534534 }
535535 }
536536 }
537537 }
538538 }
539539 }
540540 }
541541 }
542542 }
543543 if ((height > rewardUpdateHeight))
544544 then throw("rewardUpdateHeight < height")
545545 else if (if ((sumRewardPrevious != totalVoteShare))
546546 then true
547547 else (sumRewardCurrent != totalVoteShare))
548548 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
549549 else {
550550 let previousRewardEntryNew = {
551- let $list1247312521 = previousPools
552- let $size1247312521 = size($list1247312521)
553- let $acc01247312521 = nil
554- if (($size1247312521 == 0))
555- then $acc01247312521
551+ let $list1249112539 = previousPools
552+ let $size1249112539 = size($list1249112539)
553+ let $acc01249112539 = nil
554+ if (($size1249112539 == 0))
555+ then $acc01249112539
556556 else {
557- let $acc11247312521 = PreviousRewardEntry($acc01247312521, $list1247312521[0])
558- if (($size1247312521 == 1))
559- then $acc11247312521
557+ let $acc11249112539 = PreviousRewardEntry($acc01249112539, $list1249112539[0])
558+ if (($size1249112539 == 1))
559+ then $acc11249112539
560560 else {
561- let $acc21247312521 = PreviousRewardEntry($acc11247312521, $list1247312521[1])
562- if (($size1247312521 == 2))
563- then $acc21247312521
561+ let $acc21249112539 = PreviousRewardEntry($acc11249112539, $list1249112539[1])
562+ if (($size1249112539 == 2))
563+ then $acc21249112539
564564 else {
565- let $acc31247312521 = PreviousRewardEntry($acc21247312521, $list1247312521[2])
566- if (($size1247312521 == 3))
567- then $acc31247312521
565+ let $acc31249112539 = PreviousRewardEntry($acc21249112539, $list1249112539[2])
566+ if (($size1249112539 == 3))
567+ then $acc31249112539
568568 else {
569- let $acc41247312521 = PreviousRewardEntry($acc31247312521, $list1247312521[3])
570- if (($size1247312521 == 4))
571- then $acc41247312521
569+ let $acc41249112539 = PreviousRewardEntry($acc31249112539, $list1249112539[3])
570+ if (($size1249112539 == 4))
571+ then $acc41249112539
572572 else {
573- let $acc51247312521 = PreviousRewardEntry($acc41247312521, $list1247312521[4])
574- if (($size1247312521 == 5))
575- then $acc51247312521
573+ let $acc51249112539 = PreviousRewardEntry($acc41249112539, $list1249112539[4])
574+ if (($size1249112539 == 5))
575+ then $acc51249112539
576576 else {
577- let $acc61247312521 = PreviousRewardEntry($acc51247312521, $list1247312521[5])
578- if (($size1247312521 == 6))
579- then $acc61247312521
577+ let $acc61249112539 = PreviousRewardEntry($acc51249112539, $list1249112539[5])
578+ if (($size1249112539 == 6))
579+ then $acc61249112539
580580 else {
581- let $acc71247312521 = PreviousRewardEntry($acc61247312521, $list1247312521[6])
582- if (($size1247312521 == 7))
583- then $acc71247312521
581+ let $acc71249112539 = PreviousRewardEntry($acc61249112539, $list1249112539[6])
582+ if (($size1249112539 == 7))
583+ then $acc71249112539
584584 else {
585- let $acc81247312521 = PreviousRewardEntry($acc71247312521, $list1247312521[7])
586- if (($size1247312521 == 8))
587- then $acc81247312521
585+ let $acc81249112539 = PreviousRewardEntry($acc71249112539, $list1249112539[7])
586+ if (($size1249112539 == 8))
587+ then $acc81249112539
588588 else {
589- let $acc91247312521 = PreviousRewardEntry($acc81247312521, $list1247312521[8])
590- if (($size1247312521 == 9))
591- then $acc91247312521
589+ let $acc91249112539 = PreviousRewardEntry($acc81249112539, $list1249112539[8])
590+ if (($size1249112539 == 9))
591+ then $acc91249112539
592592 else {
593- let $acc101247312521 = PreviousRewardEntry($acc91247312521, $list1247312521[9])
594- if (($size1247312521 == 10))
595- then $acc101247312521
593+ let $acc101249112539 = PreviousRewardEntry($acc91249112539, $list1249112539[9])
594+ if (($size1249112539 == 10))
595+ then $acc101249112539
596596 else {
597- let $acc111247312521 = PreviousRewardEntry($acc101247312521, $list1247312521[10])
598- if (($size1247312521 == 11))
599- then $acc111247312521
597+ let $acc111249112539 = PreviousRewardEntry($acc101249112539, $list1249112539[10])
598+ if (($size1249112539 == 11))
599+ then $acc111249112539
600600 else {
601- let $acc121247312521 = PreviousRewardEntry($acc111247312521, $list1247312521[11])
602- if (($size1247312521 == 12))
603- then $acc121247312521
601+ let $acc121249112539 = PreviousRewardEntry($acc111249112539, $list1249112539[11])
602+ if (($size1249112539 == 12))
603+ then $acc121249112539
604604 else {
605- let $acc131247312521 = PreviousRewardEntry($acc121247312521, $list1247312521[12])
606- if (($size1247312521 == 13))
607- then $acc131247312521
605+ let $acc131249112539 = PreviousRewardEntry($acc121249112539, $list1249112539[12])
606+ if (($size1249112539 == 13))
607+ then $acc131249112539
608608 else {
609- let $acc141247312521 = PreviousRewardEntry($acc131247312521, $list1247312521[13])
610- if (($size1247312521 == 14))
611- then $acc141247312521
609+ let $acc141249112539 = PreviousRewardEntry($acc131249112539, $list1249112539[13])
610+ if (($size1249112539 == 14))
611+ then $acc141249112539
612612 else {
613- let $acc151247312521 = PreviousRewardEntry($acc141247312521, $list1247312521[14])
614- if (($size1247312521 == 15))
615- then $acc151247312521
613+ let $acc151249112539 = PreviousRewardEntry($acc141249112539, $list1249112539[14])
614+ if (($size1249112539 == 15))
615+ then $acc151249112539
616616 else {
617- let $acc161247312521 = PreviousRewardEntry($acc151247312521, $list1247312521[15])
618- if (($size1247312521 == 16))
619- then $acc161247312521
617+ let $acc161249112539 = PreviousRewardEntry($acc151249112539, $list1249112539[15])
618+ if (($size1249112539 == 16))
619+ then $acc161249112539
620620 else {
621- let $acc171247312521 = PreviousRewardEntry($acc161247312521, $list1247312521[16])
622- if (($size1247312521 == 17))
623- then $acc171247312521
621+ let $acc171249112539 = PreviousRewardEntry($acc161249112539, $list1249112539[16])
622+ if (($size1249112539 == 17))
623+ then $acc171249112539
624624 else {
625- let $acc181247312521 = PreviousRewardEntry($acc171247312521, $list1247312521[17])
626- if (($size1247312521 == 18))
627- then $acc181247312521
625+ let $acc181249112539 = PreviousRewardEntry($acc171249112539, $list1249112539[17])
626+ if (($size1249112539 == 18))
627+ then $acc181249112539
628628 else {
629- let $acc191247312521 = PreviousRewardEntry($acc181247312521, $list1247312521[18])
630- if (($size1247312521 == 19))
631- then $acc191247312521
629+ let $acc191249112539 = PreviousRewardEntry($acc181249112539, $list1249112539[18])
630+ if (($size1249112539 == 19))
631+ then $acc191249112539
632632 else {
633- let $acc201247312521 = PreviousRewardEntry($acc191247312521, $list1247312521[19])
634- if (($size1247312521 == 20))
635- then $acc201247312521
633+ let $acc201249112539 = PreviousRewardEntry($acc191249112539, $list1249112539[19])
634+ if (($size1249112539 == 20))
635+ then $acc201249112539
636636 else {
637- let $acc211247312521 = PreviousRewardEntry($acc201247312521, $list1247312521[20])
637+ let $acc211249112539 = PreviousRewardEntry($acc201249112539, $list1249112539[20])
638638 throw("List size exceed 20")
639639 }
640640 }
641641 }
642642 }
643643 }
644644 }
645645 }
646646 }
647647 }
648648 }
649649 }
650650 }
651651 }
652652 }
653653 }
654654 }
655655 }
656656 }
657657 }
658658 }
659659 }
660660 }
661661 let currentRewardEntryNew = {
662- let $list1255412600 = currentPools
663- let $size1255412600 = size($list1255412600)
664- let $acc01255412600 = nil
665- if (($size1255412600 == 0))
666- then $acc01255412600
662+ let $list1257212618 = currentPools
663+ let $size1257212618 = size($list1257212618)
664+ let $acc01257212618 = nil
665+ if (($size1257212618 == 0))
666+ then $acc01257212618
667667 else {
668- let $acc11255412600 = CurrentRewardEntry($acc01255412600, $list1255412600[0])
669- if (($size1255412600 == 1))
670- then $acc11255412600
668+ let $acc11257212618 = CurrentRewardEntry($acc01257212618, $list1257212618[0])
669+ if (($size1257212618 == 1))
670+ then $acc11257212618
671671 else {
672- let $acc21255412600 = CurrentRewardEntry($acc11255412600, $list1255412600[1])
673- if (($size1255412600 == 2))
674- then $acc21255412600
672+ let $acc21257212618 = CurrentRewardEntry($acc11257212618, $list1257212618[1])
673+ if (($size1257212618 == 2))
674+ then $acc21257212618
675675 else {
676- let $acc31255412600 = CurrentRewardEntry($acc21255412600, $list1255412600[2])
677- if (($size1255412600 == 3))
678- then $acc31255412600
676+ let $acc31257212618 = CurrentRewardEntry($acc21257212618, $list1257212618[2])
677+ if (($size1257212618 == 3))
678+ then $acc31257212618
679679 else {
680- let $acc41255412600 = CurrentRewardEntry($acc31255412600, $list1255412600[3])
681- if (($size1255412600 == 4))
682- then $acc41255412600
680+ let $acc41257212618 = CurrentRewardEntry($acc31257212618, $list1257212618[3])
681+ if (($size1257212618 == 4))
682+ then $acc41257212618
683683 else {
684- let $acc51255412600 = CurrentRewardEntry($acc41255412600, $list1255412600[4])
685- if (($size1255412600 == 5))
686- then $acc51255412600
684+ let $acc51257212618 = CurrentRewardEntry($acc41257212618, $list1257212618[4])
685+ if (($size1257212618 == 5))
686+ then $acc51257212618
687687 else {
688- let $acc61255412600 = CurrentRewardEntry($acc51255412600, $list1255412600[5])
689- if (($size1255412600 == 6))
690- then $acc61255412600
688+ let $acc61257212618 = CurrentRewardEntry($acc51257212618, $list1257212618[5])
689+ if (($size1257212618 == 6))
690+ then $acc61257212618
691691 else {
692- let $acc71255412600 = CurrentRewardEntry($acc61255412600, $list1255412600[6])
693- if (($size1255412600 == 7))
694- then $acc71255412600
692+ let $acc71257212618 = CurrentRewardEntry($acc61257212618, $list1257212618[6])
693+ if (($size1257212618 == 7))
694+ then $acc71257212618
695695 else {
696- let $acc81255412600 = CurrentRewardEntry($acc71255412600, $list1255412600[7])
697- if (($size1255412600 == 8))
698- then $acc81255412600
696+ let $acc81257212618 = CurrentRewardEntry($acc71257212618, $list1257212618[7])
697+ if (($size1257212618 == 8))
698+ then $acc81257212618
699699 else {
700- let $acc91255412600 = CurrentRewardEntry($acc81255412600, $list1255412600[8])
701- if (($size1255412600 == 9))
702- then $acc91255412600
700+ let $acc91257212618 = CurrentRewardEntry($acc81257212618, $list1257212618[8])
701+ if (($size1257212618 == 9))
702+ then $acc91257212618
703703 else {
704- let $acc101255412600 = CurrentRewardEntry($acc91255412600, $list1255412600[9])
705- if (($size1255412600 == 10))
706- then $acc101255412600
704+ let $acc101257212618 = CurrentRewardEntry($acc91257212618, $list1257212618[9])
705+ if (($size1257212618 == 10))
706+ then $acc101257212618
707707 else {
708- let $acc111255412600 = CurrentRewardEntry($acc101255412600, $list1255412600[10])
709- if (($size1255412600 == 11))
710- then $acc111255412600
708+ let $acc111257212618 = CurrentRewardEntry($acc101257212618, $list1257212618[10])
709+ if (($size1257212618 == 11))
710+ then $acc111257212618
711711 else {
712- let $acc121255412600 = CurrentRewardEntry($acc111255412600, $list1255412600[11])
713- if (($size1255412600 == 12))
714- then $acc121255412600
712+ let $acc121257212618 = CurrentRewardEntry($acc111257212618, $list1257212618[11])
713+ if (($size1257212618 == 12))
714+ then $acc121257212618
715715 else {
716- let $acc131255412600 = CurrentRewardEntry($acc121255412600, $list1255412600[12])
717- if (($size1255412600 == 13))
718- then $acc131255412600
716+ let $acc131257212618 = CurrentRewardEntry($acc121257212618, $list1257212618[12])
717+ if (($size1257212618 == 13))
718+ then $acc131257212618
719719 else {
720- let $acc141255412600 = CurrentRewardEntry($acc131255412600, $list1255412600[13])
721- if (($size1255412600 == 14))
722- then $acc141255412600
720+ let $acc141257212618 = CurrentRewardEntry($acc131257212618, $list1257212618[13])
721+ if (($size1257212618 == 14))
722+ then $acc141257212618
723723 else {
724- let $acc151255412600 = CurrentRewardEntry($acc141255412600, $list1255412600[14])
725- if (($size1255412600 == 15))
726- then $acc151255412600
724+ let $acc151257212618 = CurrentRewardEntry($acc141257212618, $list1257212618[14])
725+ if (($size1257212618 == 15))
726+ then $acc151257212618
727727 else {
728- let $acc161255412600 = CurrentRewardEntry($acc151255412600, $list1255412600[15])
729- if (($size1255412600 == 16))
730- then $acc161255412600
728+ let $acc161257212618 = CurrentRewardEntry($acc151257212618, $list1257212618[15])
729+ if (($size1257212618 == 16))
730+ then $acc161257212618
731731 else {
732- let $acc171255412600 = CurrentRewardEntry($acc161255412600, $list1255412600[16])
733- if (($size1255412600 == 17))
734- then $acc171255412600
732+ let $acc171257212618 = CurrentRewardEntry($acc161257212618, $list1257212618[16])
733+ if (($size1257212618 == 17))
734+ then $acc171257212618
735735 else {
736- let $acc181255412600 = CurrentRewardEntry($acc171255412600, $list1255412600[17])
737- if (($size1255412600 == 18))
738- then $acc181255412600
736+ let $acc181257212618 = CurrentRewardEntry($acc171257212618, $list1257212618[17])
737+ if (($size1257212618 == 18))
738+ then $acc181257212618
739739 else {
740- let $acc191255412600 = CurrentRewardEntry($acc181255412600, $list1255412600[18])
741- if (($size1255412600 == 19))
742- then $acc191255412600
740+ let $acc191257212618 = CurrentRewardEntry($acc181257212618, $list1257212618[18])
741+ if (($size1257212618 == 19))
742+ then $acc191257212618
743743 else {
744- let $acc201255412600 = CurrentRewardEntry($acc191255412600, $list1255412600[19])
745- if (($size1255412600 == 20))
746- then $acc201255412600
744+ let $acc201257212618 = CurrentRewardEntry($acc191257212618, $list1257212618[19])
745+ if (($size1257212618 == 20))
746+ then $acc201257212618
747747 else {
748- let $acc211255412600 = CurrentRewardEntry($acc201255412600, $list1255412600[20])
748+ let $acc211257212618 = CurrentRewardEntry($acc201257212618, $list1257212618[20])
749749 throw("List size exceed 20")
750750 }
751751 }
752752 }
753753 }
754754 }
755755 }
756756 }
757757 }
758758 }
759759 }
760760 }
761761 }
762762 }
763763 }
764764 }
765765 }
766766 }
767767 }
768768 }
769769 }
770770 }
771771 }
772772 ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)])
773773 }
774774 }
775775
776776
777777
778778 @Callable(i)
779779 func shutdown () = if (!(isActive))
780780 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
781781 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
782782 then throw("Only admin can call this function")
783783 else suspend("Paused by admin")
784784
785785
786786
787787 @Callable(i)
788788 func activate () = if (isActive)
789789 then throw("DApp is already active")
790790 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
791791 then throw("Only admin can call this function")
792792 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
793793
794794
795795 @Verifier(tx)
796796 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
797797

github/deemru/w8io/169f3d6 
958.17 ms