tx · H3jv6q1SyuJhFe8Vkm9rSt3NNjKtoZAew2reeQ7PMcBF 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.04.29 17:31 [1503864] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "H3jv6q1SyuJhFe8Vkm9rSt3NNjKtoZAew2reeQ7PMcBF", "fee": 1400000, "feeAssetId": null, "timestamp": 1619706685755, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "4sgEdNqfE2P473jJSDM2vy6GkyrshrbhZbdtK8Fh4jePmHzHuCHebzMVoT7JA5XnXYjUVNzoWnmbkoThitRKuN1P" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAOAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmV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us": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3kNEX129deSZ3iBrEaTodR7Ey8thaXUr5pjmcUj1VN7H Next: 5Qh9RNdVkszT3us4S9bYN2JucFosTdS2htYcUFf2xvaX Diff:
Old | New | Differences | |
---|---|---|---|
303 | 303 | @Callable(i) | |
304 | 304 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
305 | 305 | then throw("DApp is inactive at this moment") | |
306 | - | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
306 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
307 | 307 | then throw("Only admin can call this function") | |
308 | 308 | else { | |
309 | 309 | func sum (a,b) = (a + b) | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | let sumRewardPrevious = { | |
324 | - | let $ | |
325 | - | let $ | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
324 | + | let $list1271512748 = previousRewards | |
325 | + | let $size1271512748 = size($list1271512748) | |
326 | + | let $acc01271512748 = 0 | |
327 | + | if (($size1271512748 == 0)) | |
328 | + | then $acc01271512748 | |
329 | 329 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
330 | + | let $acc11271512748 = sum($acc01271512748, $list1271512748[0]) | |
331 | + | if (($size1271512748 == 1)) | |
332 | + | then $acc11271512748 | |
333 | 333 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
334 | + | let $acc21271512748 = sum($acc11271512748, $list1271512748[1]) | |
335 | + | if (($size1271512748 == 2)) | |
336 | + | then $acc21271512748 | |
337 | 337 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
338 | + | let $acc31271512748 = sum($acc21271512748, $list1271512748[2]) | |
339 | + | if (($size1271512748 == 3)) | |
340 | + | then $acc31271512748 | |
341 | 341 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
342 | + | let $acc41271512748 = sum($acc31271512748, $list1271512748[3]) | |
343 | + | if (($size1271512748 == 4)) | |
344 | + | then $acc41271512748 | |
345 | 345 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
346 | + | let $acc51271512748 = sum($acc41271512748, $list1271512748[4]) | |
347 | + | if (($size1271512748 == 5)) | |
348 | + | then $acc51271512748 | |
349 | 349 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
350 | + | let $acc61271512748 = sum($acc51271512748, $list1271512748[5]) | |
351 | + | if (($size1271512748 == 6)) | |
352 | + | then $acc61271512748 | |
353 | 353 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
354 | + | let $acc71271512748 = sum($acc61271512748, $list1271512748[6]) | |
355 | + | if (($size1271512748 == 7)) | |
356 | + | then $acc71271512748 | |
357 | 357 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
358 | + | let $acc81271512748 = sum($acc71271512748, $list1271512748[7]) | |
359 | + | if (($size1271512748 == 8)) | |
360 | + | then $acc81271512748 | |
361 | 361 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
362 | + | let $acc91271512748 = sum($acc81271512748, $list1271512748[8]) | |
363 | + | if (($size1271512748 == 9)) | |
364 | + | then $acc91271512748 | |
365 | 365 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
366 | + | let $acc101271512748 = sum($acc91271512748, $list1271512748[9]) | |
367 | + | if (($size1271512748 == 10)) | |
368 | + | then $acc101271512748 | |
369 | 369 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
370 | + | let $acc111271512748 = sum($acc101271512748, $list1271512748[10]) | |
371 | + | if (($size1271512748 == 11)) | |
372 | + | then $acc111271512748 | |
373 | 373 | else { | |
374 | - | let $ | |
375 | - | if (($ | |
376 | - | then $ | |
374 | + | let $acc121271512748 = sum($acc111271512748, $list1271512748[11]) | |
375 | + | if (($size1271512748 == 12)) | |
376 | + | then $acc121271512748 | |
377 | 377 | else { | |
378 | - | let $ | |
379 | - | if (($ | |
380 | - | then $ | |
378 | + | let $acc131271512748 = sum($acc121271512748, $list1271512748[12]) | |
379 | + | if (($size1271512748 == 13)) | |
380 | + | then $acc131271512748 | |
381 | 381 | else { | |
382 | - | let $ | |
383 | - | if (($ | |
384 | - | then $ | |
382 | + | let $acc141271512748 = sum($acc131271512748, $list1271512748[13]) | |
383 | + | if (($size1271512748 == 14)) | |
384 | + | then $acc141271512748 | |
385 | 385 | else { | |
386 | - | let $ | |
387 | - | if (($ | |
388 | - | then $ | |
386 | + | let $acc151271512748 = sum($acc141271512748, $list1271512748[14]) | |
387 | + | if (($size1271512748 == 15)) | |
388 | + | then $acc151271512748 | |
389 | 389 | else { | |
390 | - | let $ | |
391 | - | if (($ | |
392 | - | then $ | |
390 | + | let $acc161271512748 = sum($acc151271512748, $list1271512748[15]) | |
391 | + | if (($size1271512748 == 16)) | |
392 | + | then $acc161271512748 | |
393 | 393 | else { | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
394 | + | let $acc171271512748 = sum($acc161271512748, $list1271512748[16]) | |
395 | + | if (($size1271512748 == 17)) | |
396 | + | then $acc171271512748 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc181271512748 = sum($acc171271512748, $list1271512748[17]) | |
399 | + | if (($size1271512748 == 18)) | |
400 | + | then $acc181271512748 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc191271512748 = sum($acc181271512748, $list1271512748[18]) | |
403 | + | if (($size1271512748 == 19)) | |
404 | + | then $acc191271512748 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc201271512748 = sum($acc191271512748, $list1271512748[19]) | |
407 | + | if (($size1271512748 == 20)) | |
408 | + | then $acc201271512748 | |
409 | 409 | else { | |
410 | - | let $ | |
410 | + | let $acc211271512748 = sum($acc201271512748, $list1271512748[20]) | |
411 | 411 | throw("List size exceed 20") | |
412 | 412 | } | |
413 | 413 | } | |
432 | 432 | } | |
433 | 433 | } | |
434 | 434 | let sumRewardCurrent = { | |
435 | - | let $ | |
436 | - | let $ | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
435 | + | let $list1277712809 = currentRewards | |
436 | + | let $size1277712809 = size($list1277712809) | |
437 | + | let $acc01277712809 = 0 | |
438 | + | if (($size1277712809 == 0)) | |
439 | + | then $acc01277712809 | |
440 | 440 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
441 | + | let $acc11277712809 = sum($acc01277712809, $list1277712809[0]) | |
442 | + | if (($size1277712809 == 1)) | |
443 | + | then $acc11277712809 | |
444 | 444 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
445 | + | let $acc21277712809 = sum($acc11277712809, $list1277712809[1]) | |
446 | + | if (($size1277712809 == 2)) | |
447 | + | then $acc21277712809 | |
448 | 448 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
449 | + | let $acc31277712809 = sum($acc21277712809, $list1277712809[2]) | |
450 | + | if (($size1277712809 == 3)) | |
451 | + | then $acc31277712809 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc41277712809 = sum($acc31277712809, $list1277712809[3]) | |
454 | + | if (($size1277712809 == 4)) | |
455 | + | then $acc41277712809 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc51277712809 = sum($acc41277712809, $list1277712809[4]) | |
458 | + | if (($size1277712809 == 5)) | |
459 | + | then $acc51277712809 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc61277712809 = sum($acc51277712809, $list1277712809[5]) | |
462 | + | if (($size1277712809 == 6)) | |
463 | + | then $acc61277712809 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc71277712809 = sum($acc61277712809, $list1277712809[6]) | |
466 | + | if (($size1277712809 == 7)) | |
467 | + | then $acc71277712809 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc81277712809 = sum($acc71277712809, $list1277712809[7]) | |
470 | + | if (($size1277712809 == 8)) | |
471 | + | then $acc81277712809 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc91277712809 = sum($acc81277712809, $list1277712809[8]) | |
474 | + | if (($size1277712809 == 9)) | |
475 | + | then $acc91277712809 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc101277712809 = sum($acc91277712809, $list1277712809[9]) | |
478 | + | if (($size1277712809 == 10)) | |
479 | + | then $acc101277712809 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc111277712809 = sum($acc101277712809, $list1277712809[10]) | |
482 | + | if (($size1277712809 == 11)) | |
483 | + | then $acc111277712809 | |
484 | 484 | else { | |
485 | - | let $ | |
486 | - | if (($ | |
487 | - | then $ | |
485 | + | let $acc121277712809 = sum($acc111277712809, $list1277712809[11]) | |
486 | + | if (($size1277712809 == 12)) | |
487 | + | then $acc121277712809 | |
488 | 488 | else { | |
489 | - | let $ | |
490 | - | if (($ | |
491 | - | then $ | |
489 | + | let $acc131277712809 = sum($acc121277712809, $list1277712809[12]) | |
490 | + | if (($size1277712809 == 13)) | |
491 | + | then $acc131277712809 | |
492 | 492 | else { | |
493 | - | let $ | |
494 | - | if (($ | |
495 | - | then $ | |
493 | + | let $acc141277712809 = sum($acc131277712809, $list1277712809[13]) | |
494 | + | if (($size1277712809 == 14)) | |
495 | + | then $acc141277712809 | |
496 | 496 | else { | |
497 | - | let $ | |
498 | - | if (($ | |
499 | - | then $ | |
497 | + | let $acc151277712809 = sum($acc141277712809, $list1277712809[14]) | |
498 | + | if (($size1277712809 == 15)) | |
499 | + | then $acc151277712809 | |
500 | 500 | else { | |
501 | - | let $ | |
502 | - | if (($ | |
503 | - | then $ | |
501 | + | let $acc161277712809 = sum($acc151277712809, $list1277712809[15]) | |
502 | + | if (($size1277712809 == 16)) | |
503 | + | then $acc161277712809 | |
504 | 504 | else { | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
505 | + | let $acc171277712809 = sum($acc161277712809, $list1277712809[16]) | |
506 | + | if (($size1277712809 == 17)) | |
507 | + | then $acc171277712809 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc181277712809 = sum($acc171277712809, $list1277712809[17]) | |
510 | + | if (($size1277712809 == 18)) | |
511 | + | then $acc181277712809 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc191277712809 = sum($acc181277712809, $list1277712809[18]) | |
514 | + | if (($size1277712809 == 19)) | |
515 | + | then $acc191277712809 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc201277712809 = sum($acc191277712809, $list1277712809[19]) | |
518 | + | if (($size1277712809 == 20)) | |
519 | + | then $acc201277712809 | |
520 | 520 | else { | |
521 | - | let $ | |
521 | + | let $acc211277712809 = sum($acc201277712809, $list1277712809[20]) | |
522 | 522 | throw("List size exceed 20") | |
523 | 523 | } | |
524 | 524 | } | |
550 | 550 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
551 | 551 | else { | |
552 | 552 | let previousRewardEntryNew = { | |
553 | - | let $ | |
554 | - | let $ | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
553 | + | let $list1311813166 = previousPools | |
554 | + | let $size1311813166 = size($list1311813166) | |
555 | + | let $acc01311813166 = nil | |
556 | + | if (($size1311813166 == 0)) | |
557 | + | then $acc01311813166 | |
558 | 558 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
559 | + | let $acc11311813166 = PreviousRewardEntry($acc01311813166, $list1311813166[0]) | |
560 | + | if (($size1311813166 == 1)) | |
561 | + | then $acc11311813166 | |
562 | 562 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
563 | + | let $acc21311813166 = PreviousRewardEntry($acc11311813166, $list1311813166[1]) | |
564 | + | if (($size1311813166 == 2)) | |
565 | + | then $acc21311813166 | |
566 | 566 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
567 | + | let $acc31311813166 = PreviousRewardEntry($acc21311813166, $list1311813166[2]) | |
568 | + | if (($size1311813166 == 3)) | |
569 | + | then $acc31311813166 | |
570 | 570 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
571 | + | let $acc41311813166 = PreviousRewardEntry($acc31311813166, $list1311813166[3]) | |
572 | + | if (($size1311813166 == 4)) | |
573 | + | then $acc41311813166 | |
574 | 574 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
575 | + | let $acc51311813166 = PreviousRewardEntry($acc41311813166, $list1311813166[4]) | |
576 | + | if (($size1311813166 == 5)) | |
577 | + | then $acc51311813166 | |
578 | 578 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
579 | + | let $acc61311813166 = PreviousRewardEntry($acc51311813166, $list1311813166[5]) | |
580 | + | if (($size1311813166 == 6)) | |
581 | + | then $acc61311813166 | |
582 | 582 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
583 | + | let $acc71311813166 = PreviousRewardEntry($acc61311813166, $list1311813166[6]) | |
584 | + | if (($size1311813166 == 7)) | |
585 | + | then $acc71311813166 | |
586 | 586 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
587 | + | let $acc81311813166 = PreviousRewardEntry($acc71311813166, $list1311813166[7]) | |
588 | + | if (($size1311813166 == 8)) | |
589 | + | then $acc81311813166 | |
590 | 590 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
591 | + | let $acc91311813166 = PreviousRewardEntry($acc81311813166, $list1311813166[8]) | |
592 | + | if (($size1311813166 == 9)) | |
593 | + | then $acc91311813166 | |
594 | 594 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
595 | + | let $acc101311813166 = PreviousRewardEntry($acc91311813166, $list1311813166[9]) | |
596 | + | if (($size1311813166 == 10)) | |
597 | + | then $acc101311813166 | |
598 | 598 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
599 | + | let $acc111311813166 = PreviousRewardEntry($acc101311813166, $list1311813166[10]) | |
600 | + | if (($size1311813166 == 11)) | |
601 | + | then $acc111311813166 | |
602 | 602 | else { | |
603 | - | let $ | |
604 | - | if (($ | |
605 | - | then $ | |
603 | + | let $acc121311813166 = PreviousRewardEntry($acc111311813166, $list1311813166[11]) | |
604 | + | if (($size1311813166 == 12)) | |
605 | + | then $acc121311813166 | |
606 | 606 | else { | |
607 | - | let $ | |
608 | - | if (($ | |
609 | - | then $ | |
607 | + | let $acc131311813166 = PreviousRewardEntry($acc121311813166, $list1311813166[12]) | |
608 | + | if (($size1311813166 == 13)) | |
609 | + | then $acc131311813166 | |
610 | 610 | else { | |
611 | - | let $ | |
612 | - | if (($ | |
613 | - | then $ | |
611 | + | let $acc141311813166 = PreviousRewardEntry($acc131311813166, $list1311813166[13]) | |
612 | + | if (($size1311813166 == 14)) | |
613 | + | then $acc141311813166 | |
614 | 614 | else { | |
615 | - | let $ | |
616 | - | if (($ | |
617 | - | then $ | |
615 | + | let $acc151311813166 = PreviousRewardEntry($acc141311813166, $list1311813166[14]) | |
616 | + | if (($size1311813166 == 15)) | |
617 | + | then $acc151311813166 | |
618 | 618 | else { | |
619 | - | let $ | |
620 | - | if (($ | |
621 | - | then $ | |
619 | + | let $acc161311813166 = PreviousRewardEntry($acc151311813166, $list1311813166[15]) | |
620 | + | if (($size1311813166 == 16)) | |
621 | + | then $acc161311813166 | |
622 | 622 | else { | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
623 | + | let $acc171311813166 = PreviousRewardEntry($acc161311813166, $list1311813166[16]) | |
624 | + | if (($size1311813166 == 17)) | |
625 | + | then $acc171311813166 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc181311813166 = PreviousRewardEntry($acc171311813166, $list1311813166[17]) | |
628 | + | if (($size1311813166 == 18)) | |
629 | + | then $acc181311813166 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc191311813166 = PreviousRewardEntry($acc181311813166, $list1311813166[18]) | |
632 | + | if (($size1311813166 == 19)) | |
633 | + | then $acc191311813166 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc201311813166 = PreviousRewardEntry($acc191311813166, $list1311813166[19]) | |
636 | + | if (($size1311813166 == 20)) | |
637 | + | then $acc201311813166 | |
638 | 638 | else { | |
639 | - | let $ | |
639 | + | let $acc211311813166 = PreviousRewardEntry($acc201311813166, $list1311813166[20]) | |
640 | 640 | throw("List size exceed 20") | |
641 | 641 | } | |
642 | 642 | } | |
661 | 661 | } | |
662 | 662 | } | |
663 | 663 | let currentRewardEntryNew = { | |
664 | - | let $ | |
665 | - | let $ | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
664 | + | let $list1319913245 = currentPools | |
665 | + | let $size1319913245 = size($list1319913245) | |
666 | + | let $acc01319913245 = nil | |
667 | + | if (($size1319913245 == 0)) | |
668 | + | then $acc01319913245 | |
669 | 669 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
670 | + | let $acc11319913245 = CurrentRewardEntry($acc01319913245, $list1319913245[0]) | |
671 | + | if (($size1319913245 == 1)) | |
672 | + | then $acc11319913245 | |
673 | 673 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
674 | + | let $acc21319913245 = CurrentRewardEntry($acc11319913245, $list1319913245[1]) | |
675 | + | if (($size1319913245 == 2)) | |
676 | + | then $acc21319913245 | |
677 | 677 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
678 | + | let $acc31319913245 = CurrentRewardEntry($acc21319913245, $list1319913245[2]) | |
679 | + | if (($size1319913245 == 3)) | |
680 | + | then $acc31319913245 | |
681 | 681 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
682 | + | let $acc41319913245 = CurrentRewardEntry($acc31319913245, $list1319913245[3]) | |
683 | + | if (($size1319913245 == 4)) | |
684 | + | then $acc41319913245 | |
685 | 685 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
686 | + | let $acc51319913245 = CurrentRewardEntry($acc41319913245, $list1319913245[4]) | |
687 | + | if (($size1319913245 == 5)) | |
688 | + | then $acc51319913245 | |
689 | 689 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
690 | + | let $acc61319913245 = CurrentRewardEntry($acc51319913245, $list1319913245[5]) | |
691 | + | if (($size1319913245 == 6)) | |
692 | + | then $acc61319913245 | |
693 | 693 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
694 | + | let $acc71319913245 = CurrentRewardEntry($acc61319913245, $list1319913245[6]) | |
695 | + | if (($size1319913245 == 7)) | |
696 | + | then $acc71319913245 | |
697 | 697 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
698 | + | let $acc81319913245 = CurrentRewardEntry($acc71319913245, $list1319913245[7]) | |
699 | + | if (($size1319913245 == 8)) | |
700 | + | then $acc81319913245 | |
701 | 701 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
702 | + | let $acc91319913245 = CurrentRewardEntry($acc81319913245, $list1319913245[8]) | |
703 | + | if (($size1319913245 == 9)) | |
704 | + | then $acc91319913245 | |
705 | 705 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
706 | + | let $acc101319913245 = CurrentRewardEntry($acc91319913245, $list1319913245[9]) | |
707 | + | if (($size1319913245 == 10)) | |
708 | + | then $acc101319913245 | |
709 | 709 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
710 | + | let $acc111319913245 = CurrentRewardEntry($acc101319913245, $list1319913245[10]) | |
711 | + | if (($size1319913245 == 11)) | |
712 | + | then $acc111319913245 | |
713 | 713 | else { | |
714 | - | let $ | |
715 | - | if (($ | |
716 | - | then $ | |
714 | + | let $acc121319913245 = CurrentRewardEntry($acc111319913245, $list1319913245[11]) | |
715 | + | if (($size1319913245 == 12)) | |
716 | + | then $acc121319913245 | |
717 | 717 | else { | |
718 | - | let $ | |
719 | - | if (($ | |
720 | - | then $ | |
718 | + | let $acc131319913245 = CurrentRewardEntry($acc121319913245, $list1319913245[12]) | |
719 | + | if (($size1319913245 == 13)) | |
720 | + | then $acc131319913245 | |
721 | 721 | else { | |
722 | - | let $ | |
723 | - | if (($ | |
724 | - | then $ | |
722 | + | let $acc141319913245 = CurrentRewardEntry($acc131319913245, $list1319913245[13]) | |
723 | + | if (($size1319913245 == 14)) | |
724 | + | then $acc141319913245 | |
725 | 725 | else { | |
726 | - | let $ | |
727 | - | if (($ | |
728 | - | then $ | |
726 | + | let $acc151319913245 = CurrentRewardEntry($acc141319913245, $list1319913245[14]) | |
727 | + | if (($size1319913245 == 15)) | |
728 | + | then $acc151319913245 | |
729 | 729 | else { | |
730 | - | let $ | |
731 | - | if (($ | |
732 | - | then $ | |
730 | + | let $acc161319913245 = CurrentRewardEntry($acc151319913245, $list1319913245[15]) | |
731 | + | if (($size1319913245 == 16)) | |
732 | + | then $acc161319913245 | |
733 | 733 | else { | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
734 | + | let $acc171319913245 = CurrentRewardEntry($acc161319913245, $list1319913245[16]) | |
735 | + | if (($size1319913245 == 17)) | |
736 | + | then $acc171319913245 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc181319913245 = CurrentRewardEntry($acc171319913245, $list1319913245[17]) | |
739 | + | if (($size1319913245 == 18)) | |
740 | + | then $acc181319913245 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc191319913245 = CurrentRewardEntry($acc181319913245, $list1319913245[18]) | |
743 | + | if (($size1319913245 == 19)) | |
744 | + | then $acc191319913245 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc201319913245 = CurrentRewardEntry($acc191319913245, $list1319913245[19]) | |
747 | + | if (($size1319913245 == 20)) | |
748 | + | then $acc201319913245 | |
749 | 749 | else { | |
750 | - | let $ | |
750 | + | let $acc211319913245 = CurrentRewardEntry($acc201319913245, $list1319913245[20]) | |
751 | 751 | throw("List size exceed 20") | |
752 | 752 | } | |
753 | 753 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
11 | 11 | ||
12 | 12 | let adminPubKeyWallet = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw' | |
13 | 13 | ||
14 | 14 | let keyActive = "active" | |
15 | 15 | ||
16 | 16 | let keyCause = "shutdown_cause" | |
17 | 17 | ||
18 | 18 | let keyLastInterest = "last_interest" | |
19 | 19 | ||
20 | 20 | let keyUserLastInterest = "_last_interest" | |
21 | 21 | ||
22 | 22 | let keyUserSWOPLocked = "_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let keyUserGetBackHeight = "_getBackHeight" | |
25 | 25 | ||
26 | 26 | let keyTotalSWOPLocked = "total_SWOP_amount" | |
27 | 27 | ||
28 | 28 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
29 | 29 | ||
30 | 30 | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let keyVoteName = "vote_name" | |
39 | 39 | ||
40 | 40 | let keyOptionName = "_option_name" | |
41 | 41 | ||
42 | 42 | let keyVotingStartHeight = "_startHeight" | |
43 | 43 | ||
44 | 44 | let keyVoteDuration = "_vote_duration" | |
45 | 45 | ||
46 | 46 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
49 | 49 | ||
50 | 50 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
51 | 51 | ||
52 | 52 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
53 | 53 | ||
54 | 54 | let keyRewardUpdateHeight = "reward_update_height" | |
55 | 55 | ||
56 | 56 | let keyNoVotingForNewPool = "_no" | |
57 | 57 | ||
58 | 58 | let keyYesVotingForNewPool = "_yes" | |
59 | 59 | ||
60 | 60 | let keyAmountOfVotingForNewPool = "amount_voting" | |
61 | 61 | ||
62 | 62 | let keyStatusOfVotingForNewPool = "_status" | |
63 | 63 | ||
64 | 64 | let keyHeightOfPoolVotingForNewPool = "_height" | |
65 | 65 | ||
66 | 66 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
67 | 67 | ||
68 | 68 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
69 | 69 | ||
70 | 70 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
71 | 71 | ||
72 | 72 | let votingForNewPool = Address(base58'3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6') | |
73 | 73 | ||
74 | 74 | let keySWOPid = "SWOP_id" | |
75 | 75 | ||
76 | 76 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
77 | 77 | ||
78 | 78 | let scaleValue = 100000000 | |
79 | 79 | ||
80 | 80 | let totalVoteShare = 10000000000 | |
81 | 81 | ||
82 | 82 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func getLastInterestInfo () = { | |
89 | 89 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
90 | 90 | lastInterest | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func getUserInterestInfo (user,lastInterest) = { | |
101 | 101 | let userSWOPAmount = getUserSWOPLocked(user) | |
102 | 102 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
103 | 103 | let userLastInterestValue = match userLastInterest { | |
104 | 104 | case userLastInterest: Int => | |
105 | 105 | userLastInterest | |
106 | 106 | case _ => | |
107 | 107 | lastInterest | |
108 | 108 | } | |
109 | 109 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getUserTotalVoteAmountForOnePool (voting,user) = { | |
120 | 120 | let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0) | |
121 | 121 | let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true) | |
122 | 122 | let currentHeight = height | |
123 | 123 | if ((0 > voting)) | |
124 | 124 | then 0 | |
125 | 125 | else if (!(statusOfVoting)) | |
126 | 126 | then 0 | |
127 | 127 | else if ((heightOfVoting > currentHeight)) | |
128 | 128 | then (valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyNoVotingForNewPool)), 0)) | |
129 | 129 | else 0 | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func getUserTotalVoteForNewPoolAmount (user) = { | |
134 | 134 | let amountOfVoting = valueOrElse(getInteger(votingForNewPool, keyAmountOfVotingForNewPool), 0) | |
135 | 135 | let listOfVoting = [getUserTotalVoteAmountForOnePool((amountOfVoting - 1), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 2), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 3), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 4), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 5), user)] | |
136 | 136 | max(listOfVoting) | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func getVoteOptionAmount (user,voteName,option) = { | |
147 | 147 | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
148 | 148 | let uvoa = match userVoteOptionAmount { | |
149 | 149 | case uvoa: Int => | |
150 | 150 | uvoa | |
151 | 151 | case uvoa: Unit => | |
152 | 152 | 0 | |
153 | 153 | case _ => | |
154 | 154 | throw("Match error") | |
155 | 155 | } | |
156 | 156 | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func getTotalVoteOptionAmount (voteName,option) = { | |
164 | 164 | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
165 | 165 | let tvoa = match totalVoteOptionAmount { | |
166 | 166 | case tvoa: Int => | |
167 | 167 | tvoa | |
168 | 168 | case tvoa: Unit => | |
169 | 169 | 0 | |
170 | 170 | case _ => | |
171 | 171 | throw("Match error") | |
172 | 172 | } | |
173 | 173 | tvoa | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
178 | 178 | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
179 | 179 | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func claimCalc (caller) = { | |
184 | 184 | let lastInterest = getLastInterestInfo() | |
185 | 185 | let $t065186598 = getUserInterestInfo(caller, lastInterest) | |
186 | 186 | let userLastInterest = $t065186598._1 | |
187 | 187 | let userSWOPLocked = $t065186598._2 | |
188 | 188 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
189 | 189 | let userNewInterest = lastInterest | |
190 | 190 | $Tuple2(userNewInterest, claimAmount) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(i) | |
195 | 195 | func airDrop () = if (!(isActive)) | |
196 | 196 | then throw("DApp is inactive at this moment") | |
197 | 197 | else { | |
198 | 198 | let $t068636938 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
199 | 199 | let pmtAmount = $t068636938._1 | |
200 | 200 | let pmtAssetId = $t068636938._2 | |
201 | 201 | if ((pmtAssetId != SWOP)) | |
202 | 202 | then throw("Incorrect pmtAssetId") | |
203 | 203 | else { | |
204 | 204 | let totalSWOPLocked = getTotalSWOPLocked() | |
205 | 205 | let lastInterest = getLastInterestInfo() | |
206 | 206 | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
207 | 207 | [IntegerEntry(keyLastInterest, interestNew)] | |
208 | 208 | } | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | ||
213 | 213 | @Callable(i) | |
214 | 214 | func lockSWOP () = if (!(isActive)) | |
215 | 215 | then throw("DApp is inactive at this moment") | |
216 | 216 | else { | |
217 | 217 | let $t073767451 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
218 | 218 | let pmtAmount = $t073767451._1 | |
219 | 219 | let pmtAssetId = $t073767451._2 | |
220 | 220 | if ((pmtAssetId != SWOP)) | |
221 | 221 | then throw("Incorrect pmtAssetId") | |
222 | 222 | else { | |
223 | 223 | let lastInterest = getLastInterestInfo() | |
224 | 224 | let $t075677649 = getUserInterestInfo(i.caller, lastInterest) | |
225 | 225 | let userLastInterest = $t075677649._1 | |
226 | 226 | let userSWOPLocked = $t075677649._2 | |
227 | 227 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
228 | 228 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
229 | 229 | let userNewInterest = lastInterest | |
230 | 230 | let totalSWOPLocked = getTotalSWOPLocked() | |
231 | 231 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
232 | 232 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
233 | 233 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
234 | 234 | [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)] | |
235 | 235 | } | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(i) | |
241 | 241 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 242 | then throw("DApp is inactive at this moment") | |
243 | 243 | else { | |
244 | 244 | let totalSWOPLocked = getTotalSWOPLocked() | |
245 | 245 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
246 | 246 | let $t087338788 = claimCalc(i.caller) | |
247 | 247 | let userNewInterest = $t087338788._1 | |
248 | 248 | let claimAmount = $t087338788._2 | |
249 | 249 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
250 | 250 | let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller) | |
251 | 251 | let availableFund = ((userSWOPLocked - userVoteAmount) - userVoteAmountForNewPool) | |
252 | 252 | if ((withdrawAmount > availableFund)) | |
253 | 253 | then throw("withdrawAmount > availableFund") | |
254 | 254 | else { | |
255 | 255 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
256 | 256 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
257 | 257 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
258 | 258 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
259 | 259 | [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)] | |
260 | 260 | } | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | ||
265 | 265 | @Callable(i) | |
266 | 266 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
267 | 267 | then throw("DApp is inactive at this moment") | |
268 | 268 | else { | |
269 | 269 | let lastInterest = getLastInterestInfo() | |
270 | 270 | let $t01004610101 = claimCalc(i.caller) | |
271 | 271 | let userNewInterest = $t01004610101._1 | |
272 | 272 | let claimAmount = $t01004610101._2 | |
273 | 273 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
274 | 274 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
275 | 275 | if ((claimAmount == 0)) | |
276 | 276 | then throw("You have 0 available SWOP") | |
277 | 277 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | ||
282 | 282 | @Callable(i) | |
283 | 283 | func claimAndStakeSWOP () = if (!(isActive)) | |
284 | 284 | then throw("DApp is inactive at this moment") | |
285 | 285 | else { | |
286 | 286 | let totalSWOPLocked = getTotalSWOPLocked() | |
287 | 287 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
288 | 288 | let lastInterest = getLastInterestInfo() | |
289 | 289 | let $t01088010935 = claimCalc(i.caller) | |
290 | 290 | let userNewInterest = $t01088010935._1 | |
291 | 291 | let claimAmount = $t01088010935._2 | |
292 | 292 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
293 | 293 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
294 | 294 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
295 | 295 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
296 | 296 | if ((claimAmount == 0)) | |
297 | 297 | then throw("You have 0 available SWOP") | |
298 | 298 | 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)] | |
299 | 299 | } | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | ||
303 | 303 | @Callable(i) | |
304 | 304 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
305 | 305 | then throw("DApp is inactive at this moment") | |
306 | - | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
306 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
307 | 307 | then throw("Only admin can call this function") | |
308 | 308 | else { | |
309 | 309 | func sum (a,b) = (a + b) | |
310 | 310 | ||
311 | 311 | func PreviousRewardEntry (accumulated,pool) = { | |
312 | 312 | let poolIndex = value(indexOf(previousPools, pool)) | |
313 | 313 | let poolReward = previousRewards[poolIndex] | |
314 | 314 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | func CurrentRewardEntry (accumulated,pool) = { | |
318 | 318 | let poolIndex = value(indexOf(currentPools, pool)) | |
319 | 319 | let poolReward = currentRewards[poolIndex] | |
320 | 320 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | let sumRewardPrevious = { | |
324 | - | let $ | |
325 | - | let $ | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
324 | + | let $list1271512748 = previousRewards | |
325 | + | let $size1271512748 = size($list1271512748) | |
326 | + | let $acc01271512748 = 0 | |
327 | + | if (($size1271512748 == 0)) | |
328 | + | then $acc01271512748 | |
329 | 329 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
330 | + | let $acc11271512748 = sum($acc01271512748, $list1271512748[0]) | |
331 | + | if (($size1271512748 == 1)) | |
332 | + | then $acc11271512748 | |
333 | 333 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
334 | + | let $acc21271512748 = sum($acc11271512748, $list1271512748[1]) | |
335 | + | if (($size1271512748 == 2)) | |
336 | + | then $acc21271512748 | |
337 | 337 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
338 | + | let $acc31271512748 = sum($acc21271512748, $list1271512748[2]) | |
339 | + | if (($size1271512748 == 3)) | |
340 | + | then $acc31271512748 | |
341 | 341 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
342 | + | let $acc41271512748 = sum($acc31271512748, $list1271512748[3]) | |
343 | + | if (($size1271512748 == 4)) | |
344 | + | then $acc41271512748 | |
345 | 345 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
346 | + | let $acc51271512748 = sum($acc41271512748, $list1271512748[4]) | |
347 | + | if (($size1271512748 == 5)) | |
348 | + | then $acc51271512748 | |
349 | 349 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
350 | + | let $acc61271512748 = sum($acc51271512748, $list1271512748[5]) | |
351 | + | if (($size1271512748 == 6)) | |
352 | + | then $acc61271512748 | |
353 | 353 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
354 | + | let $acc71271512748 = sum($acc61271512748, $list1271512748[6]) | |
355 | + | if (($size1271512748 == 7)) | |
356 | + | then $acc71271512748 | |
357 | 357 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
358 | + | let $acc81271512748 = sum($acc71271512748, $list1271512748[7]) | |
359 | + | if (($size1271512748 == 8)) | |
360 | + | then $acc81271512748 | |
361 | 361 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
362 | + | let $acc91271512748 = sum($acc81271512748, $list1271512748[8]) | |
363 | + | if (($size1271512748 == 9)) | |
364 | + | then $acc91271512748 | |
365 | 365 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
366 | + | let $acc101271512748 = sum($acc91271512748, $list1271512748[9]) | |
367 | + | if (($size1271512748 == 10)) | |
368 | + | then $acc101271512748 | |
369 | 369 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
370 | + | let $acc111271512748 = sum($acc101271512748, $list1271512748[10]) | |
371 | + | if (($size1271512748 == 11)) | |
372 | + | then $acc111271512748 | |
373 | 373 | else { | |
374 | - | let $ | |
375 | - | if (($ | |
376 | - | then $ | |
374 | + | let $acc121271512748 = sum($acc111271512748, $list1271512748[11]) | |
375 | + | if (($size1271512748 == 12)) | |
376 | + | then $acc121271512748 | |
377 | 377 | else { | |
378 | - | let $ | |
379 | - | if (($ | |
380 | - | then $ | |
378 | + | let $acc131271512748 = sum($acc121271512748, $list1271512748[12]) | |
379 | + | if (($size1271512748 == 13)) | |
380 | + | then $acc131271512748 | |
381 | 381 | else { | |
382 | - | let $ | |
383 | - | if (($ | |
384 | - | then $ | |
382 | + | let $acc141271512748 = sum($acc131271512748, $list1271512748[13]) | |
383 | + | if (($size1271512748 == 14)) | |
384 | + | then $acc141271512748 | |
385 | 385 | else { | |
386 | - | let $ | |
387 | - | if (($ | |
388 | - | then $ | |
386 | + | let $acc151271512748 = sum($acc141271512748, $list1271512748[14]) | |
387 | + | if (($size1271512748 == 15)) | |
388 | + | then $acc151271512748 | |
389 | 389 | else { | |
390 | - | let $ | |
391 | - | if (($ | |
392 | - | then $ | |
390 | + | let $acc161271512748 = sum($acc151271512748, $list1271512748[15]) | |
391 | + | if (($size1271512748 == 16)) | |
392 | + | then $acc161271512748 | |
393 | 393 | else { | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
394 | + | let $acc171271512748 = sum($acc161271512748, $list1271512748[16]) | |
395 | + | if (($size1271512748 == 17)) | |
396 | + | then $acc171271512748 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc181271512748 = sum($acc171271512748, $list1271512748[17]) | |
399 | + | if (($size1271512748 == 18)) | |
400 | + | then $acc181271512748 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc191271512748 = sum($acc181271512748, $list1271512748[18]) | |
403 | + | if (($size1271512748 == 19)) | |
404 | + | then $acc191271512748 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc201271512748 = sum($acc191271512748, $list1271512748[19]) | |
407 | + | if (($size1271512748 == 20)) | |
408 | + | then $acc201271512748 | |
409 | 409 | else { | |
410 | - | let $ | |
410 | + | let $acc211271512748 = sum($acc201271512748, $list1271512748[20]) | |
411 | 411 | throw("List size exceed 20") | |
412 | 412 | } | |
413 | 413 | } | |
414 | 414 | } | |
415 | 415 | } | |
416 | 416 | } | |
417 | 417 | } | |
418 | 418 | } | |
419 | 419 | } | |
420 | 420 | } | |
421 | 421 | } | |
422 | 422 | } | |
423 | 423 | } | |
424 | 424 | } | |
425 | 425 | } | |
426 | 426 | } | |
427 | 427 | } | |
428 | 428 | } | |
429 | 429 | } | |
430 | 430 | } | |
431 | 431 | } | |
432 | 432 | } | |
433 | 433 | } | |
434 | 434 | let sumRewardCurrent = { | |
435 | - | let $ | |
436 | - | let $ | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
435 | + | let $list1277712809 = currentRewards | |
436 | + | let $size1277712809 = size($list1277712809) | |
437 | + | let $acc01277712809 = 0 | |
438 | + | if (($size1277712809 == 0)) | |
439 | + | then $acc01277712809 | |
440 | 440 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
441 | + | let $acc11277712809 = sum($acc01277712809, $list1277712809[0]) | |
442 | + | if (($size1277712809 == 1)) | |
443 | + | then $acc11277712809 | |
444 | 444 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
445 | + | let $acc21277712809 = sum($acc11277712809, $list1277712809[1]) | |
446 | + | if (($size1277712809 == 2)) | |
447 | + | then $acc21277712809 | |
448 | 448 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
449 | + | let $acc31277712809 = sum($acc21277712809, $list1277712809[2]) | |
450 | + | if (($size1277712809 == 3)) | |
451 | + | then $acc31277712809 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc41277712809 = sum($acc31277712809, $list1277712809[3]) | |
454 | + | if (($size1277712809 == 4)) | |
455 | + | then $acc41277712809 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc51277712809 = sum($acc41277712809, $list1277712809[4]) | |
458 | + | if (($size1277712809 == 5)) | |
459 | + | then $acc51277712809 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc61277712809 = sum($acc51277712809, $list1277712809[5]) | |
462 | + | if (($size1277712809 == 6)) | |
463 | + | then $acc61277712809 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc71277712809 = sum($acc61277712809, $list1277712809[6]) | |
466 | + | if (($size1277712809 == 7)) | |
467 | + | then $acc71277712809 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc81277712809 = sum($acc71277712809, $list1277712809[7]) | |
470 | + | if (($size1277712809 == 8)) | |
471 | + | then $acc81277712809 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc91277712809 = sum($acc81277712809, $list1277712809[8]) | |
474 | + | if (($size1277712809 == 9)) | |
475 | + | then $acc91277712809 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc101277712809 = sum($acc91277712809, $list1277712809[9]) | |
478 | + | if (($size1277712809 == 10)) | |
479 | + | then $acc101277712809 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc111277712809 = sum($acc101277712809, $list1277712809[10]) | |
482 | + | if (($size1277712809 == 11)) | |
483 | + | then $acc111277712809 | |
484 | 484 | else { | |
485 | - | let $ | |
486 | - | if (($ | |
487 | - | then $ | |
485 | + | let $acc121277712809 = sum($acc111277712809, $list1277712809[11]) | |
486 | + | if (($size1277712809 == 12)) | |
487 | + | then $acc121277712809 | |
488 | 488 | else { | |
489 | - | let $ | |
490 | - | if (($ | |
491 | - | then $ | |
489 | + | let $acc131277712809 = sum($acc121277712809, $list1277712809[12]) | |
490 | + | if (($size1277712809 == 13)) | |
491 | + | then $acc131277712809 | |
492 | 492 | else { | |
493 | - | let $ | |
494 | - | if (($ | |
495 | - | then $ | |
493 | + | let $acc141277712809 = sum($acc131277712809, $list1277712809[13]) | |
494 | + | if (($size1277712809 == 14)) | |
495 | + | then $acc141277712809 | |
496 | 496 | else { | |
497 | - | let $ | |
498 | - | if (($ | |
499 | - | then $ | |
497 | + | let $acc151277712809 = sum($acc141277712809, $list1277712809[14]) | |
498 | + | if (($size1277712809 == 15)) | |
499 | + | then $acc151277712809 | |
500 | 500 | else { | |
501 | - | let $ | |
502 | - | if (($ | |
503 | - | then $ | |
501 | + | let $acc161277712809 = sum($acc151277712809, $list1277712809[15]) | |
502 | + | if (($size1277712809 == 16)) | |
503 | + | then $acc161277712809 | |
504 | 504 | else { | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
505 | + | let $acc171277712809 = sum($acc161277712809, $list1277712809[16]) | |
506 | + | if (($size1277712809 == 17)) | |
507 | + | then $acc171277712809 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc181277712809 = sum($acc171277712809, $list1277712809[17]) | |
510 | + | if (($size1277712809 == 18)) | |
511 | + | then $acc181277712809 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc191277712809 = sum($acc181277712809, $list1277712809[18]) | |
514 | + | if (($size1277712809 == 19)) | |
515 | + | then $acc191277712809 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc201277712809 = sum($acc191277712809, $list1277712809[19]) | |
518 | + | if (($size1277712809 == 20)) | |
519 | + | then $acc201277712809 | |
520 | 520 | else { | |
521 | - | let $ | |
521 | + | let $acc211277712809 = sum($acc201277712809, $list1277712809[20]) | |
522 | 522 | throw("List size exceed 20") | |
523 | 523 | } | |
524 | 524 | } | |
525 | 525 | } | |
526 | 526 | } | |
527 | 527 | } | |
528 | 528 | } | |
529 | 529 | } | |
530 | 530 | } | |
531 | 531 | } | |
532 | 532 | } | |
533 | 533 | } | |
534 | 534 | } | |
535 | 535 | } | |
536 | 536 | } | |
537 | 537 | } | |
538 | 538 | } | |
539 | 539 | } | |
540 | 540 | } | |
541 | 541 | } | |
542 | 542 | } | |
543 | 543 | } | |
544 | 544 | } | |
545 | 545 | if ((height > rewardUpdateHeight)) | |
546 | 546 | then throw("rewardUpdateHeight < height") | |
547 | 547 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
548 | 548 | then true | |
549 | 549 | else (sumRewardCurrent != totalVoteShare)) | |
550 | 550 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
551 | 551 | else { | |
552 | 552 | let previousRewardEntryNew = { | |
553 | - | let $ | |
554 | - | let $ | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
553 | + | let $list1311813166 = previousPools | |
554 | + | let $size1311813166 = size($list1311813166) | |
555 | + | let $acc01311813166 = nil | |
556 | + | if (($size1311813166 == 0)) | |
557 | + | then $acc01311813166 | |
558 | 558 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
559 | + | let $acc11311813166 = PreviousRewardEntry($acc01311813166, $list1311813166[0]) | |
560 | + | if (($size1311813166 == 1)) | |
561 | + | then $acc11311813166 | |
562 | 562 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
563 | + | let $acc21311813166 = PreviousRewardEntry($acc11311813166, $list1311813166[1]) | |
564 | + | if (($size1311813166 == 2)) | |
565 | + | then $acc21311813166 | |
566 | 566 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
567 | + | let $acc31311813166 = PreviousRewardEntry($acc21311813166, $list1311813166[2]) | |
568 | + | if (($size1311813166 == 3)) | |
569 | + | then $acc31311813166 | |
570 | 570 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
571 | + | let $acc41311813166 = PreviousRewardEntry($acc31311813166, $list1311813166[3]) | |
572 | + | if (($size1311813166 == 4)) | |
573 | + | then $acc41311813166 | |
574 | 574 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
575 | + | let $acc51311813166 = PreviousRewardEntry($acc41311813166, $list1311813166[4]) | |
576 | + | if (($size1311813166 == 5)) | |
577 | + | then $acc51311813166 | |
578 | 578 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
579 | + | let $acc61311813166 = PreviousRewardEntry($acc51311813166, $list1311813166[5]) | |
580 | + | if (($size1311813166 == 6)) | |
581 | + | then $acc61311813166 | |
582 | 582 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
583 | + | let $acc71311813166 = PreviousRewardEntry($acc61311813166, $list1311813166[6]) | |
584 | + | if (($size1311813166 == 7)) | |
585 | + | then $acc71311813166 | |
586 | 586 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
587 | + | let $acc81311813166 = PreviousRewardEntry($acc71311813166, $list1311813166[7]) | |
588 | + | if (($size1311813166 == 8)) | |
589 | + | then $acc81311813166 | |
590 | 590 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
591 | + | let $acc91311813166 = PreviousRewardEntry($acc81311813166, $list1311813166[8]) | |
592 | + | if (($size1311813166 == 9)) | |
593 | + | then $acc91311813166 | |
594 | 594 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
595 | + | let $acc101311813166 = PreviousRewardEntry($acc91311813166, $list1311813166[9]) | |
596 | + | if (($size1311813166 == 10)) | |
597 | + | then $acc101311813166 | |
598 | 598 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
599 | + | let $acc111311813166 = PreviousRewardEntry($acc101311813166, $list1311813166[10]) | |
600 | + | if (($size1311813166 == 11)) | |
601 | + | then $acc111311813166 | |
602 | 602 | else { | |
603 | - | let $ | |
604 | - | if (($ | |
605 | - | then $ | |
603 | + | let $acc121311813166 = PreviousRewardEntry($acc111311813166, $list1311813166[11]) | |
604 | + | if (($size1311813166 == 12)) | |
605 | + | then $acc121311813166 | |
606 | 606 | else { | |
607 | - | let $ | |
608 | - | if (($ | |
609 | - | then $ | |
607 | + | let $acc131311813166 = PreviousRewardEntry($acc121311813166, $list1311813166[12]) | |
608 | + | if (($size1311813166 == 13)) | |
609 | + | then $acc131311813166 | |
610 | 610 | else { | |
611 | - | let $ | |
612 | - | if (($ | |
613 | - | then $ | |
611 | + | let $acc141311813166 = PreviousRewardEntry($acc131311813166, $list1311813166[13]) | |
612 | + | if (($size1311813166 == 14)) | |
613 | + | then $acc141311813166 | |
614 | 614 | else { | |
615 | - | let $ | |
616 | - | if (($ | |
617 | - | then $ | |
615 | + | let $acc151311813166 = PreviousRewardEntry($acc141311813166, $list1311813166[14]) | |
616 | + | if (($size1311813166 == 15)) | |
617 | + | then $acc151311813166 | |
618 | 618 | else { | |
619 | - | let $ | |
620 | - | if (($ | |
621 | - | then $ | |
619 | + | let $acc161311813166 = PreviousRewardEntry($acc151311813166, $list1311813166[15]) | |
620 | + | if (($size1311813166 == 16)) | |
621 | + | then $acc161311813166 | |
622 | 622 | else { | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
623 | + | let $acc171311813166 = PreviousRewardEntry($acc161311813166, $list1311813166[16]) | |
624 | + | if (($size1311813166 == 17)) | |
625 | + | then $acc171311813166 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc181311813166 = PreviousRewardEntry($acc171311813166, $list1311813166[17]) | |
628 | + | if (($size1311813166 == 18)) | |
629 | + | then $acc181311813166 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc191311813166 = PreviousRewardEntry($acc181311813166, $list1311813166[18]) | |
632 | + | if (($size1311813166 == 19)) | |
633 | + | then $acc191311813166 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc201311813166 = PreviousRewardEntry($acc191311813166, $list1311813166[19]) | |
636 | + | if (($size1311813166 == 20)) | |
637 | + | then $acc201311813166 | |
638 | 638 | else { | |
639 | - | let $ | |
639 | + | let $acc211311813166 = PreviousRewardEntry($acc201311813166, $list1311813166[20]) | |
640 | 640 | throw("List size exceed 20") | |
641 | 641 | } | |
642 | 642 | } | |
643 | 643 | } | |
644 | 644 | } | |
645 | 645 | } | |
646 | 646 | } | |
647 | 647 | } | |
648 | 648 | } | |
649 | 649 | } | |
650 | 650 | } | |
651 | 651 | } | |
652 | 652 | } | |
653 | 653 | } | |
654 | 654 | } | |
655 | 655 | } | |
656 | 656 | } | |
657 | 657 | } | |
658 | 658 | } | |
659 | 659 | } | |
660 | 660 | } | |
661 | 661 | } | |
662 | 662 | } | |
663 | 663 | let currentRewardEntryNew = { | |
664 | - | let $ | |
665 | - | let $ | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
664 | + | let $list1319913245 = currentPools | |
665 | + | let $size1319913245 = size($list1319913245) | |
666 | + | let $acc01319913245 = nil | |
667 | + | if (($size1319913245 == 0)) | |
668 | + | then $acc01319913245 | |
669 | 669 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
670 | + | let $acc11319913245 = CurrentRewardEntry($acc01319913245, $list1319913245[0]) | |
671 | + | if (($size1319913245 == 1)) | |
672 | + | then $acc11319913245 | |
673 | 673 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
674 | + | let $acc21319913245 = CurrentRewardEntry($acc11319913245, $list1319913245[1]) | |
675 | + | if (($size1319913245 == 2)) | |
676 | + | then $acc21319913245 | |
677 | 677 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
678 | + | let $acc31319913245 = CurrentRewardEntry($acc21319913245, $list1319913245[2]) | |
679 | + | if (($size1319913245 == 3)) | |
680 | + | then $acc31319913245 | |
681 | 681 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
682 | + | let $acc41319913245 = CurrentRewardEntry($acc31319913245, $list1319913245[3]) | |
683 | + | if (($size1319913245 == 4)) | |
684 | + | then $acc41319913245 | |
685 | 685 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
686 | + | let $acc51319913245 = CurrentRewardEntry($acc41319913245, $list1319913245[4]) | |
687 | + | if (($size1319913245 == 5)) | |
688 | + | then $acc51319913245 | |
689 | 689 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
690 | + | let $acc61319913245 = CurrentRewardEntry($acc51319913245, $list1319913245[5]) | |
691 | + | if (($size1319913245 == 6)) | |
692 | + | then $acc61319913245 | |
693 | 693 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
694 | + | let $acc71319913245 = CurrentRewardEntry($acc61319913245, $list1319913245[6]) | |
695 | + | if (($size1319913245 == 7)) | |
696 | + | then $acc71319913245 | |
697 | 697 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
698 | + | let $acc81319913245 = CurrentRewardEntry($acc71319913245, $list1319913245[7]) | |
699 | + | if (($size1319913245 == 8)) | |
700 | + | then $acc81319913245 | |
701 | 701 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
702 | + | let $acc91319913245 = CurrentRewardEntry($acc81319913245, $list1319913245[8]) | |
703 | + | if (($size1319913245 == 9)) | |
704 | + | then $acc91319913245 | |
705 | 705 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
706 | + | let $acc101319913245 = CurrentRewardEntry($acc91319913245, $list1319913245[9]) | |
707 | + | if (($size1319913245 == 10)) | |
708 | + | then $acc101319913245 | |
709 | 709 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
710 | + | let $acc111319913245 = CurrentRewardEntry($acc101319913245, $list1319913245[10]) | |
711 | + | if (($size1319913245 == 11)) | |
712 | + | then $acc111319913245 | |
713 | 713 | else { | |
714 | - | let $ | |
715 | - | if (($ | |
716 | - | then $ | |
714 | + | let $acc121319913245 = CurrentRewardEntry($acc111319913245, $list1319913245[11]) | |
715 | + | if (($size1319913245 == 12)) | |
716 | + | then $acc121319913245 | |
717 | 717 | else { | |
718 | - | let $ | |
719 | - | if (($ | |
720 | - | then $ | |
718 | + | let $acc131319913245 = CurrentRewardEntry($acc121319913245, $list1319913245[12]) | |
719 | + | if (($size1319913245 == 13)) | |
720 | + | then $acc131319913245 | |
721 | 721 | else { | |
722 | - | let $ | |
723 | - | if (($ | |
724 | - | then $ | |
722 | + | let $acc141319913245 = CurrentRewardEntry($acc131319913245, $list1319913245[13]) | |
723 | + | if (($size1319913245 == 14)) | |
724 | + | then $acc141319913245 | |
725 | 725 | else { | |
726 | - | let $ | |
727 | - | if (($ | |
728 | - | then $ | |
726 | + | let $acc151319913245 = CurrentRewardEntry($acc141319913245, $list1319913245[14]) | |
727 | + | if (($size1319913245 == 15)) | |
728 | + | then $acc151319913245 | |
729 | 729 | else { | |
730 | - | let $ | |
731 | - | if (($ | |
732 | - | then $ | |
730 | + | let $acc161319913245 = CurrentRewardEntry($acc151319913245, $list1319913245[15]) | |
731 | + | if (($size1319913245 == 16)) | |
732 | + | then $acc161319913245 | |
733 | 733 | else { | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
734 | + | let $acc171319913245 = CurrentRewardEntry($acc161319913245, $list1319913245[16]) | |
735 | + | if (($size1319913245 == 17)) | |
736 | + | then $acc171319913245 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc181319913245 = CurrentRewardEntry($acc171319913245, $list1319913245[17]) | |
739 | + | if (($size1319913245 == 18)) | |
740 | + | then $acc181319913245 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc191319913245 = CurrentRewardEntry($acc181319913245, $list1319913245[18]) | |
743 | + | if (($size1319913245 == 19)) | |
744 | + | then $acc191319913245 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc201319913245 = CurrentRewardEntry($acc191319913245, $list1319913245[19]) | |
747 | + | if (($size1319913245 == 20)) | |
748 | + | then $acc201319913245 | |
749 | 749 | else { | |
750 | - | let $ | |
750 | + | let $acc211319913245 = CurrentRewardEntry($acc201319913245, $list1319913245[20]) | |
751 | 751 | throw("List size exceed 20") | |
752 | 752 | } | |
753 | 753 | } | |
754 | 754 | } | |
755 | 755 | } | |
756 | 756 | } | |
757 | 757 | } | |
758 | 758 | } | |
759 | 759 | } | |
760 | 760 | } | |
761 | 761 | } | |
762 | 762 | } | |
763 | 763 | } | |
764 | 764 | } | |
765 | 765 | } | |
766 | 766 | } | |
767 | 767 | } | |
768 | 768 | } | |
769 | 769 | } | |
770 | 770 | } | |
771 | 771 | } | |
772 | 772 | } | |
773 | 773 | } | |
774 | 774 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
775 | 775 | } | |
776 | 776 | } | |
777 | 777 | ||
778 | 778 | ||
779 | 779 | ||
780 | 780 | @Callable(i) | |
781 | 781 | func shutdown () = if (!(isActive)) | |
782 | 782 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
783 | 783 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
784 | 784 | then throw("Only admin can call this function") | |
785 | 785 | else suspend("Paused by admin") | |
786 | 786 | ||
787 | 787 | ||
788 | 788 | ||
789 | 789 | @Callable(i) | |
790 | 790 | func activate () = if (isActive) | |
791 | 791 | then throw("DApp is already active") | |
792 | 792 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
793 | 793 | then throw("Only admin can call this function") | |
794 | 794 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
795 | 795 | ||
796 | 796 | ||
797 | 797 | @Verifier(tx) | |
798 | 798 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
799 | 799 |
github/deemru/w8io/026f985 917.25 ms ◑