tx · Eioh8koR9ekEBgqi1BXfNjTKXd9eFWB9sBfgPbfo9DL3 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.04.20 16:14 [1490819] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "Eioh8koR9ekEBgqi1BXfNjTKXd9eFWB9sBfgPbfo9DL3", "fee": 1400000, "feeAssetId": null, "timestamp": 1618924436848, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "2ApPdtR6L6bXoX7rYqyhGvzMi7iTBGwYHFNZTfiipqFcgjKKUpsrqdFr5oyq2kLM55aVfZceT3BzKQ4xfQQwUtja" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAOAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcm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AAAAgUAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3AFAAAAA25pbAgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5CQAAAgAAAAECAAAAIU9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbgkBAAAAB3N1c3BlbmQAAAABAgAAAA9QYXVzZWQgYnkgYWRtaW4AAAABaQEAAAAIYWN0aXZhdGUAAAAAAwUAAAAIaXNBY3RpdmUJAAACAAAAAQIAAAAWREFwcCBpcyBhbHJlYWR5IGFjdGl2ZQMJAQAAAAEhAAAAAQkBAAAAD2NvbnRhaW5zRWxlbWVudAAAAAIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkxCQAETAAAAAIFAAAADGFkbWluUHViS2V5MgkABEwAAAACBQAAAAxhZG1pblB1YktleTMJAARMAAAAAgUAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3AFAAAAA25pbAgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5CQAAAgAAAAECAAAAIU9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbgkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgUAAAAJa2V5QWN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmzvkr5", "height": 1490819, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9roLuGLHRYPLWrbSqgWWGa3hZMjVUipUZpuCYEzpHmma Next: 3kNEX129deSZ3iBrEaTodR7Ey8thaXUr5pjmcUj1VN7H Diff:
Old | New | Differences | |
---|---|---|---|
240 | 240 | @Callable(i) | |
241 | 241 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 242 | then throw("DApp is inactive at this moment") | |
243 | - | else if ((0 > withdrawAmount)) | |
244 | - | then throw("withdrawAmount < 0") | |
243 | + | else if ((0 >= withdrawAmount)) | |
244 | + | then throw("withdrawAmount <= 0") | |
245 | 245 | else { | |
246 | 246 | let totalSWOPLocked = getTotalSWOPLocked() | |
247 | 247 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
248 | - | let $ | |
249 | - | let userNewInterest = $ | |
250 | - | let claimAmount = $ | |
251 | - | let $ | |
252 | - | let userVoteAmount = $ | |
253 | - | let userUnvoteAmount = $ | |
248 | + | let $t084198474 = claimCalc(i.caller) | |
249 | + | let userNewInterest = $t084198474._1 | |
250 | + | let claimAmount = $t084198474._2 | |
251 | + | let $t084798544 = getUserVoteInfo(i.caller) | |
252 | + | let userVoteAmount = $t084798544._1 | |
253 | + | let userUnvoteAmount = $t084798544._2 | |
254 | 254 | if (if ((0 > userUnvoteAmount)) | |
255 | 255 | then true | |
256 | 256 | else (0 > userVoteAmount)) | |
276 | 276 | then throw("DApp is inactive at this moment") | |
277 | 277 | else { | |
278 | 278 | let lastInterest = getLastInterestInfo() | |
279 | - | let $ | |
280 | - | let userNewInterest = $ | |
281 | - | let claimAmount = $ | |
279 | + | let $t097459800 = claimCalc(i.caller) | |
280 | + | let userNewInterest = $t097459800._1 | |
281 | + | let claimAmount = $t097459800._2 | |
282 | 282 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
283 | 283 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
284 | 284 | if ((claimAmount == 0)) | |
295 | 295 | let totalSWOPLocked = getTotalSWOPLocked() | |
296 | 296 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
297 | 297 | let lastInterest = getLastInterestInfo() | |
298 | - | let $ | |
299 | - | let userNewInterest = $ | |
300 | - | let claimAmount = $ | |
298 | + | let $t01057910634 = claimCalc(i.caller) | |
299 | + | let userNewInterest = $t01057910634._1 | |
300 | + | let claimAmount = $t01057910634._2 | |
301 | 301 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
302 | 302 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
303 | 303 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | let sumRewardPrevious = { | |
333 | - | let $ | |
334 | - | let $ | |
335 | - | let $ | |
336 | - | if (($ | |
337 | - | then $ | |
333 | + | let $list1242012453 = previousRewards | |
334 | + | let $size1242012453 = size($list1242012453) | |
335 | + | let $acc01242012453 = 0 | |
336 | + | if (($size1242012453 == 0)) | |
337 | + | then $acc01242012453 | |
338 | 338 | else { | |
339 | - | let $ | |
340 | - | if (($ | |
341 | - | then $ | |
339 | + | let $acc11242012453 = sum($acc01242012453, $list1242012453[0]) | |
340 | + | if (($size1242012453 == 1)) | |
341 | + | then $acc11242012453 | |
342 | 342 | else { | |
343 | - | let $ | |
344 | - | if (($ | |
345 | - | then $ | |
343 | + | let $acc21242012453 = sum($acc11242012453, $list1242012453[1]) | |
344 | + | if (($size1242012453 == 2)) | |
345 | + | then $acc21242012453 | |
346 | 346 | else { | |
347 | - | let $ | |
348 | - | if (($ | |
349 | - | then $ | |
347 | + | let $acc31242012453 = sum($acc21242012453, $list1242012453[2]) | |
348 | + | if (($size1242012453 == 3)) | |
349 | + | then $acc31242012453 | |
350 | 350 | else { | |
351 | - | let $ | |
352 | - | if (($ | |
353 | - | then $ | |
351 | + | let $acc41242012453 = sum($acc31242012453, $list1242012453[3]) | |
352 | + | if (($size1242012453 == 4)) | |
353 | + | then $acc41242012453 | |
354 | 354 | else { | |
355 | - | let $ | |
356 | - | if (($ | |
357 | - | then $ | |
355 | + | let $acc51242012453 = sum($acc41242012453, $list1242012453[4]) | |
356 | + | if (($size1242012453 == 5)) | |
357 | + | then $acc51242012453 | |
358 | 358 | else { | |
359 | - | let $ | |
360 | - | if (($ | |
361 | - | then $ | |
359 | + | let $acc61242012453 = sum($acc51242012453, $list1242012453[5]) | |
360 | + | if (($size1242012453 == 6)) | |
361 | + | then $acc61242012453 | |
362 | 362 | else { | |
363 | - | let $ | |
364 | - | if (($ | |
365 | - | then $ | |
363 | + | let $acc71242012453 = sum($acc61242012453, $list1242012453[6]) | |
364 | + | if (($size1242012453 == 7)) | |
365 | + | then $acc71242012453 | |
366 | 366 | else { | |
367 | - | let $ | |
368 | - | if (($ | |
369 | - | then $ | |
367 | + | let $acc81242012453 = sum($acc71242012453, $list1242012453[7]) | |
368 | + | if (($size1242012453 == 8)) | |
369 | + | then $acc81242012453 | |
370 | 370 | else { | |
371 | - | let $ | |
372 | - | if (($ | |
373 | - | then $ | |
371 | + | let $acc91242012453 = sum($acc81242012453, $list1242012453[8]) | |
372 | + | if (($size1242012453 == 9)) | |
373 | + | then $acc91242012453 | |
374 | 374 | else { | |
375 | - | let $ | |
376 | - | if (($ | |
377 | - | then $ | |
375 | + | let $acc101242012453 = sum($acc91242012453, $list1242012453[9]) | |
376 | + | if (($size1242012453 == 10)) | |
377 | + | then $acc101242012453 | |
378 | 378 | else { | |
379 | - | let $ | |
380 | - | if (($ | |
381 | - | then $ | |
379 | + | let $acc111242012453 = sum($acc101242012453, $list1242012453[10]) | |
380 | + | if (($size1242012453 == 11)) | |
381 | + | then $acc111242012453 | |
382 | 382 | else { | |
383 | - | let $ | |
384 | - | if (($ | |
385 | - | then $ | |
383 | + | let $acc121242012453 = sum($acc111242012453, $list1242012453[11]) | |
384 | + | if (($size1242012453 == 12)) | |
385 | + | then $acc121242012453 | |
386 | 386 | else { | |
387 | - | let $ | |
388 | - | if (($ | |
389 | - | then $ | |
387 | + | let $acc131242012453 = sum($acc121242012453, $list1242012453[12]) | |
388 | + | if (($size1242012453 == 13)) | |
389 | + | then $acc131242012453 | |
390 | 390 | else { | |
391 | - | let $ | |
392 | - | if (($ | |
393 | - | then $ | |
391 | + | let $acc141242012453 = sum($acc131242012453, $list1242012453[13]) | |
392 | + | if (($size1242012453 == 14)) | |
393 | + | then $acc141242012453 | |
394 | 394 | else { | |
395 | - | let $ | |
396 | - | if (($ | |
397 | - | then $ | |
395 | + | let $acc151242012453 = sum($acc141242012453, $list1242012453[14]) | |
396 | + | if (($size1242012453 == 15)) | |
397 | + | then $acc151242012453 | |
398 | 398 | else { | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
399 | + | let $acc161242012453 = sum($acc151242012453, $list1242012453[15]) | |
400 | + | if (($size1242012453 == 16)) | |
401 | + | then $acc161242012453 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc171242012453 = sum($acc161242012453, $list1242012453[16]) | |
404 | + | if (($size1242012453 == 17)) | |
405 | + | then $acc171242012453 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc181242012453 = sum($acc171242012453, $list1242012453[17]) | |
408 | + | if (($size1242012453 == 18)) | |
409 | + | then $acc181242012453 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc191242012453 = sum($acc181242012453, $list1242012453[18]) | |
412 | + | if (($size1242012453 == 19)) | |
413 | + | then $acc191242012453 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc201242012453 = sum($acc191242012453, $list1242012453[19]) | |
416 | + | if (($size1242012453 == 20)) | |
417 | + | then $acc201242012453 | |
418 | 418 | else { | |
419 | - | let $ | |
419 | + | let $acc211242012453 = sum($acc201242012453, $list1242012453[20]) | |
420 | 420 | throw("List size exceed 20") | |
421 | 421 | } | |
422 | 422 | } | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | let sumRewardCurrent = { | |
444 | - | let $ | |
445 | - | let $ | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
444 | + | let $list1248212514 = currentRewards | |
445 | + | let $size1248212514 = size($list1248212514) | |
446 | + | let $acc01248212514 = 0 | |
447 | + | if (($size1248212514 == 0)) | |
448 | + | then $acc01248212514 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc11248212514 = sum($acc01248212514, $list1248212514[0]) | |
451 | + | if (($size1248212514 == 1)) | |
452 | + | then $acc11248212514 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc21248212514 = sum($acc11248212514, $list1248212514[1]) | |
455 | + | if (($size1248212514 == 2)) | |
456 | + | then $acc21248212514 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc31248212514 = sum($acc21248212514, $list1248212514[2]) | |
459 | + | if (($size1248212514 == 3)) | |
460 | + | then $acc31248212514 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc41248212514 = sum($acc31248212514, $list1248212514[3]) | |
463 | + | if (($size1248212514 == 4)) | |
464 | + | then $acc41248212514 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc51248212514 = sum($acc41248212514, $list1248212514[4]) | |
467 | + | if (($size1248212514 == 5)) | |
468 | + | then $acc51248212514 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc61248212514 = sum($acc51248212514, $list1248212514[5]) | |
471 | + | if (($size1248212514 == 6)) | |
472 | + | then $acc61248212514 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc71248212514 = sum($acc61248212514, $list1248212514[6]) | |
475 | + | if (($size1248212514 == 7)) | |
476 | + | then $acc71248212514 | |
477 | 477 | else { | |
478 | - | let $ | |
479 | - | if (($ | |
480 | - | then $ | |
478 | + | let $acc81248212514 = sum($acc71248212514, $list1248212514[7]) | |
479 | + | if (($size1248212514 == 8)) | |
480 | + | then $acc81248212514 | |
481 | 481 | else { | |
482 | - | let $ | |
483 | - | if (($ | |
484 | - | then $ | |
482 | + | let $acc91248212514 = sum($acc81248212514, $list1248212514[8]) | |
483 | + | if (($size1248212514 == 9)) | |
484 | + | then $acc91248212514 | |
485 | 485 | else { | |
486 | - | let $ | |
487 | - | if (($ | |
488 | - | then $ | |
486 | + | let $acc101248212514 = sum($acc91248212514, $list1248212514[9]) | |
487 | + | if (($size1248212514 == 10)) | |
488 | + | then $acc101248212514 | |
489 | 489 | else { | |
490 | - | let $ | |
491 | - | if (($ | |
492 | - | then $ | |
490 | + | let $acc111248212514 = sum($acc101248212514, $list1248212514[10]) | |
491 | + | if (($size1248212514 == 11)) | |
492 | + | then $acc111248212514 | |
493 | 493 | else { | |
494 | - | let $ | |
495 | - | if (($ | |
496 | - | then $ | |
494 | + | let $acc121248212514 = sum($acc111248212514, $list1248212514[11]) | |
495 | + | if (($size1248212514 == 12)) | |
496 | + | then $acc121248212514 | |
497 | 497 | else { | |
498 | - | let $ | |
499 | - | if (($ | |
500 | - | then $ | |
498 | + | let $acc131248212514 = sum($acc121248212514, $list1248212514[12]) | |
499 | + | if (($size1248212514 == 13)) | |
500 | + | then $acc131248212514 | |
501 | 501 | else { | |
502 | - | let $ | |
503 | - | if (($ | |
504 | - | then $ | |
502 | + | let $acc141248212514 = sum($acc131248212514, $list1248212514[13]) | |
503 | + | if (($size1248212514 == 14)) | |
504 | + | then $acc141248212514 | |
505 | 505 | else { | |
506 | - | let $ | |
507 | - | if (($ | |
508 | - | then $ | |
506 | + | let $acc151248212514 = sum($acc141248212514, $list1248212514[14]) | |
507 | + | if (($size1248212514 == 15)) | |
508 | + | then $acc151248212514 | |
509 | 509 | else { | |
510 | - | let $ | |
511 | - | if (($ | |
512 | - | then $ | |
510 | + | let $acc161248212514 = sum($acc151248212514, $list1248212514[15]) | |
511 | + | if (($size1248212514 == 16)) | |
512 | + | then $acc161248212514 | |
513 | 513 | else { | |
514 | - | let $ | |
515 | - | if (($ | |
516 | - | then $ | |
514 | + | let $acc171248212514 = sum($acc161248212514, $list1248212514[16]) | |
515 | + | if (($size1248212514 == 17)) | |
516 | + | then $acc171248212514 | |
517 | 517 | else { | |
518 | - | let $ | |
519 | - | if (($ | |
520 | - | then $ | |
518 | + | let $acc181248212514 = sum($acc171248212514, $list1248212514[17]) | |
519 | + | if (($size1248212514 == 18)) | |
520 | + | then $acc181248212514 | |
521 | 521 | else { | |
522 | - | let $ | |
523 | - | if (($ | |
524 | - | then $ | |
522 | + | let $acc191248212514 = sum($acc181248212514, $list1248212514[18]) | |
523 | + | if (($size1248212514 == 19)) | |
524 | + | then $acc191248212514 | |
525 | 525 | else { | |
526 | - | let $ | |
527 | - | if (($ | |
528 | - | then $ | |
526 | + | let $acc201248212514 = sum($acc191248212514, $list1248212514[19]) | |
527 | + | if (($size1248212514 == 20)) | |
528 | + | then $acc201248212514 | |
529 | 529 | else { | |
530 | - | let $ | |
530 | + | let $acc211248212514 = sum($acc201248212514, $list1248212514[20]) | |
531 | 531 | throw("List size exceed 20") | |
532 | 532 | } | |
533 | 533 | } | |
559 | 559 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
560 | 560 | else { | |
561 | 561 | let previousRewardEntryNew = { | |
562 | - | let $ | |
563 | - | let $ | |
564 | - | let $ | |
565 | - | if (($ | |
566 | - | then $ | |
562 | + | let $list1282612874 = previousPools | |
563 | + | let $size1282612874 = size($list1282612874) | |
564 | + | let $acc01282612874 = nil | |
565 | + | if (($size1282612874 == 0)) | |
566 | + | then $acc01282612874 | |
567 | 567 | else { | |
568 | - | let $ | |
569 | - | if (($ | |
570 | - | then $ | |
568 | + | let $acc11282612874 = PreviousRewardEntry($acc01282612874, $list1282612874[0]) | |
569 | + | if (($size1282612874 == 1)) | |
570 | + | then $acc11282612874 | |
571 | 571 | else { | |
572 | - | let $ | |
573 | - | if (($ | |
574 | - | then $ | |
572 | + | let $acc21282612874 = PreviousRewardEntry($acc11282612874, $list1282612874[1]) | |
573 | + | if (($size1282612874 == 2)) | |
574 | + | then $acc21282612874 | |
575 | 575 | else { | |
576 | - | let $ | |
577 | - | if (($ | |
578 | - | then $ | |
576 | + | let $acc31282612874 = PreviousRewardEntry($acc21282612874, $list1282612874[2]) | |
577 | + | if (($size1282612874 == 3)) | |
578 | + | then $acc31282612874 | |
579 | 579 | else { | |
580 | - | let $ | |
581 | - | if (($ | |
582 | - | then $ | |
580 | + | let $acc41282612874 = PreviousRewardEntry($acc31282612874, $list1282612874[3]) | |
581 | + | if (($size1282612874 == 4)) | |
582 | + | then $acc41282612874 | |
583 | 583 | else { | |
584 | - | let $ | |
585 | - | if (($ | |
586 | - | then $ | |
584 | + | let $acc51282612874 = PreviousRewardEntry($acc41282612874, $list1282612874[4]) | |
585 | + | if (($size1282612874 == 5)) | |
586 | + | then $acc51282612874 | |
587 | 587 | else { | |
588 | - | let $ | |
589 | - | if (($ | |
590 | - | then $ | |
588 | + | let $acc61282612874 = PreviousRewardEntry($acc51282612874, $list1282612874[5]) | |
589 | + | if (($size1282612874 == 6)) | |
590 | + | then $acc61282612874 | |
591 | 591 | else { | |
592 | - | let $ | |
593 | - | if (($ | |
594 | - | then $ | |
592 | + | let $acc71282612874 = PreviousRewardEntry($acc61282612874, $list1282612874[6]) | |
593 | + | if (($size1282612874 == 7)) | |
594 | + | then $acc71282612874 | |
595 | 595 | else { | |
596 | - | let $ | |
597 | - | if (($ | |
598 | - | then $ | |
596 | + | let $acc81282612874 = PreviousRewardEntry($acc71282612874, $list1282612874[7]) | |
597 | + | if (($size1282612874 == 8)) | |
598 | + | then $acc81282612874 | |
599 | 599 | else { | |
600 | - | let $ | |
601 | - | if (($ | |
602 | - | then $ | |
600 | + | let $acc91282612874 = PreviousRewardEntry($acc81282612874, $list1282612874[8]) | |
601 | + | if (($size1282612874 == 9)) | |
602 | + | then $acc91282612874 | |
603 | 603 | else { | |
604 | - | let $ | |
605 | - | if (($ | |
606 | - | then $ | |
604 | + | let $acc101282612874 = PreviousRewardEntry($acc91282612874, $list1282612874[9]) | |
605 | + | if (($size1282612874 == 10)) | |
606 | + | then $acc101282612874 | |
607 | 607 | else { | |
608 | - | let $ | |
609 | - | if (($ | |
610 | - | then $ | |
608 | + | let $acc111282612874 = PreviousRewardEntry($acc101282612874, $list1282612874[10]) | |
609 | + | if (($size1282612874 == 11)) | |
610 | + | then $acc111282612874 | |
611 | 611 | else { | |
612 | - | let $ | |
613 | - | if (($ | |
614 | - | then $ | |
612 | + | let $acc121282612874 = PreviousRewardEntry($acc111282612874, $list1282612874[11]) | |
613 | + | if (($size1282612874 == 12)) | |
614 | + | then $acc121282612874 | |
615 | 615 | else { | |
616 | - | let $ | |
617 | - | if (($ | |
618 | - | then $ | |
616 | + | let $acc131282612874 = PreviousRewardEntry($acc121282612874, $list1282612874[12]) | |
617 | + | if (($size1282612874 == 13)) | |
618 | + | then $acc131282612874 | |
619 | 619 | else { | |
620 | - | let $ | |
621 | - | if (($ | |
622 | - | then $ | |
620 | + | let $acc141282612874 = PreviousRewardEntry($acc131282612874, $list1282612874[13]) | |
621 | + | if (($size1282612874 == 14)) | |
622 | + | then $acc141282612874 | |
623 | 623 | else { | |
624 | - | let $ | |
625 | - | if (($ | |
626 | - | then $ | |
624 | + | let $acc151282612874 = PreviousRewardEntry($acc141282612874, $list1282612874[14]) | |
625 | + | if (($size1282612874 == 15)) | |
626 | + | then $acc151282612874 | |
627 | 627 | else { | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
628 | + | let $acc161282612874 = PreviousRewardEntry($acc151282612874, $list1282612874[15]) | |
629 | + | if (($size1282612874 == 16)) | |
630 | + | then $acc161282612874 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc171282612874 = PreviousRewardEntry($acc161282612874, $list1282612874[16]) | |
633 | + | if (($size1282612874 == 17)) | |
634 | + | then $acc171282612874 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc181282612874 = PreviousRewardEntry($acc171282612874, $list1282612874[17]) | |
637 | + | if (($size1282612874 == 18)) | |
638 | + | then $acc181282612874 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc191282612874 = PreviousRewardEntry($acc181282612874, $list1282612874[18]) | |
641 | + | if (($size1282612874 == 19)) | |
642 | + | then $acc191282612874 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc201282612874 = PreviousRewardEntry($acc191282612874, $list1282612874[19]) | |
645 | + | if (($size1282612874 == 20)) | |
646 | + | then $acc201282612874 | |
647 | 647 | else { | |
648 | - | let $ | |
648 | + | let $acc211282612874 = PreviousRewardEntry($acc201282612874, $list1282612874[20]) | |
649 | 649 | throw("List size exceed 20") | |
650 | 650 | } | |
651 | 651 | } | |
670 | 670 | } | |
671 | 671 | } | |
672 | 672 | let currentRewardEntryNew = { | |
673 | - | let $ | |
674 | - | let $ | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
673 | + | let $list1290712953 = currentPools | |
674 | + | let $size1290712953 = size($list1290712953) | |
675 | + | let $acc01290712953 = nil | |
676 | + | if (($size1290712953 == 0)) | |
677 | + | then $acc01290712953 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc11290712953 = CurrentRewardEntry($acc01290712953, $list1290712953[0]) | |
680 | + | if (($size1290712953 == 1)) | |
681 | + | then $acc11290712953 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc21290712953 = CurrentRewardEntry($acc11290712953, $list1290712953[1]) | |
684 | + | if (($size1290712953 == 2)) | |
685 | + | then $acc21290712953 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc31290712953 = CurrentRewardEntry($acc21290712953, $list1290712953[2]) | |
688 | + | if (($size1290712953 == 3)) | |
689 | + | then $acc31290712953 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc41290712953 = CurrentRewardEntry($acc31290712953, $list1290712953[3]) | |
692 | + | if (($size1290712953 == 4)) | |
693 | + | then $acc41290712953 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc51290712953 = CurrentRewardEntry($acc41290712953, $list1290712953[4]) | |
696 | + | if (($size1290712953 == 5)) | |
697 | + | then $acc51290712953 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc61290712953 = CurrentRewardEntry($acc51290712953, $list1290712953[5]) | |
700 | + | if (($size1290712953 == 6)) | |
701 | + | then $acc61290712953 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc71290712953 = CurrentRewardEntry($acc61290712953, $list1290712953[6]) | |
704 | + | if (($size1290712953 == 7)) | |
705 | + | then $acc71290712953 | |
706 | 706 | else { | |
707 | - | let $ | |
708 | - | if (($ | |
709 | - | then $ | |
707 | + | let $acc81290712953 = CurrentRewardEntry($acc71290712953, $list1290712953[7]) | |
708 | + | if (($size1290712953 == 8)) | |
709 | + | then $acc81290712953 | |
710 | 710 | else { | |
711 | - | let $ | |
712 | - | if (($ | |
713 | - | then $ | |
711 | + | let $acc91290712953 = CurrentRewardEntry($acc81290712953, $list1290712953[8]) | |
712 | + | if (($size1290712953 == 9)) | |
713 | + | then $acc91290712953 | |
714 | 714 | else { | |
715 | - | let $ | |
716 | - | if (($ | |
717 | - | then $ | |
715 | + | let $acc101290712953 = CurrentRewardEntry($acc91290712953, $list1290712953[9]) | |
716 | + | if (($size1290712953 == 10)) | |
717 | + | then $acc101290712953 | |
718 | 718 | else { | |
719 | - | let $ | |
720 | - | if (($ | |
721 | - | then $ | |
719 | + | let $acc111290712953 = CurrentRewardEntry($acc101290712953, $list1290712953[10]) | |
720 | + | if (($size1290712953 == 11)) | |
721 | + | then $acc111290712953 | |
722 | 722 | else { | |
723 | - | let $ | |
724 | - | if (($ | |
725 | - | then $ | |
723 | + | let $acc121290712953 = CurrentRewardEntry($acc111290712953, $list1290712953[11]) | |
724 | + | if (($size1290712953 == 12)) | |
725 | + | then $acc121290712953 | |
726 | 726 | else { | |
727 | - | let $ | |
728 | - | if (($ | |
729 | - | then $ | |
727 | + | let $acc131290712953 = CurrentRewardEntry($acc121290712953, $list1290712953[12]) | |
728 | + | if (($size1290712953 == 13)) | |
729 | + | then $acc131290712953 | |
730 | 730 | else { | |
731 | - | let $ | |
732 | - | if (($ | |
733 | - | then $ | |
731 | + | let $acc141290712953 = CurrentRewardEntry($acc131290712953, $list1290712953[13]) | |
732 | + | if (($size1290712953 == 14)) | |
733 | + | then $acc141290712953 | |
734 | 734 | else { | |
735 | - | let $ | |
736 | - | if (($ | |
737 | - | then $ | |
735 | + | let $acc151290712953 = CurrentRewardEntry($acc141290712953, $list1290712953[14]) | |
736 | + | if (($size1290712953 == 15)) | |
737 | + | then $acc151290712953 | |
738 | 738 | else { | |
739 | - | let $ | |
740 | - | if (($ | |
741 | - | then $ | |
739 | + | let $acc161290712953 = CurrentRewardEntry($acc151290712953, $list1290712953[15]) | |
740 | + | if (($size1290712953 == 16)) | |
741 | + | then $acc161290712953 | |
742 | 742 | else { | |
743 | - | let $ | |
744 | - | if (($ | |
745 | - | then $ | |
743 | + | let $acc171290712953 = CurrentRewardEntry($acc161290712953, $list1290712953[16]) | |
744 | + | if (($size1290712953 == 17)) | |
745 | + | then $acc171290712953 | |
746 | 746 | else { | |
747 | - | let $ | |
748 | - | if (($ | |
749 | - | then $ | |
747 | + | let $acc181290712953 = CurrentRewardEntry($acc171290712953, $list1290712953[17]) | |
748 | + | if (($size1290712953 == 18)) | |
749 | + | then $acc181290712953 | |
750 | 750 | else { | |
751 | - | let $ | |
752 | - | if (($ | |
753 | - | then $ | |
751 | + | let $acc191290712953 = CurrentRewardEntry($acc181290712953, $list1290712953[18]) | |
752 | + | if (($size1290712953 == 19)) | |
753 | + | then $acc191290712953 | |
754 | 754 | else { | |
755 | - | let $ | |
756 | - | if (($ | |
757 | - | then $ | |
755 | + | let $acc201290712953 = CurrentRewardEntry($acc191290712953, $list1290712953[19]) | |
756 | + | if (($size1290712953 == 20)) | |
757 | + | then $acc201290712953 | |
758 | 758 | else { | |
759 | - | let $ | |
759 | + | let $acc211290712953 = CurrentRewardEntry($acc201290712953, $list1290712953[20]) | |
760 | 760 | throw("List size exceed 20") | |
761 | 761 | } | |
762 | 762 | } |
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 isActive = valueOrElse(getBoolean(this, keyActive), true) | |
57 | 57 | ||
58 | 58 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
59 | 59 | ||
60 | 60 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
61 | 61 | ||
62 | 62 | let keySWOPid = "SWOP_id" | |
63 | 63 | ||
64 | 64 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
65 | 65 | ||
66 | 66 | let scaleValue = 100000000 | |
67 | 67 | ||
68 | 68 | let totalVoteShare = 10000000000 | |
69 | 69 | ||
70 | 70 | let kStartHeight = "start_height" | |
71 | 71 | ||
72 | 72 | let kBasePeriod = "base_period" | |
73 | 73 | ||
74 | 74 | let kPeriodLength = "period_length" | |
75 | 75 | ||
76 | 76 | let kUserTotalStruc = "_user_total_struc" | |
77 | 77 | ||
78 | 78 | let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract") | |
79 | 79 | ||
80 | 80 | let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract") | |
81 | 81 | ||
82 | 82 | let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract") | |
83 | 83 | ||
84 | 84 | let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
85 | 85 | ||
86 | 86 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getLastInterestInfo () = { | |
93 | 93 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
94 | 94 | lastInterest | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getUserInterestInfo (user,lastInterest) = { | |
105 | 105 | let userSWOPAmount = getUserSWOPLocked(user) | |
106 | 106 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
107 | 107 | let userLastInterestValue = match userLastInterest { | |
108 | 108 | case userLastInterest: Int => | |
109 | 109 | userLastInterest | |
110 | 110 | case _ => | |
111 | 111 | lastInterest | |
112 | 112 | } | |
113 | 113 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
114 | 114 | } | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func getUserVoteInfo (user) = { | |
121 | 121 | let $t037814334 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc)))) | |
122 | 122 | then { | |
123 | 123 | let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_") | |
124 | 124 | $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2])) | |
125 | 125 | } | |
126 | 126 | else { | |
127 | 127 | let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
128 | 128 | $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod) | |
129 | 129 | } | |
130 | 130 | let userTotalVoteSWOP = $t037814334._1 | |
131 | 131 | let userUnvoted = $t037814334._2 | |
132 | 132 | let userUnvotedPeriod = $t037814334._3 | |
133 | 133 | let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod)) | |
134 | 134 | then userUnvoted | |
135 | 135 | else 0 | |
136 | 136 | $Tuple2(userTotalVoteSWOP, userUnvotedActual) | |
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 $t061386218 = getUserInterestInfo(caller, lastInterest) | |
186 | 186 | let userLastInterest = $t061386218._1 | |
187 | 187 | let userSWOPLocked = $t061386218._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 $t064836558 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
199 | 199 | let pmtAmount = $t064836558._1 | |
200 | 200 | let pmtAssetId = $t064836558._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 $t069967071 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
218 | 218 | let pmtAmount = $t069967071._1 | |
219 | 219 | let pmtAssetId = $t069967071._2 | |
220 | 220 | if ((pmtAssetId != SWOP)) | |
221 | 221 | then throw("Incorrect pmtAssetId") | |
222 | 222 | else { | |
223 | 223 | let lastInterest = getLastInterestInfo() | |
224 | 224 | let $t071877269 = getUserInterestInfo(i.caller, lastInterest) | |
225 | 225 | let userLastInterest = $t071877269._1 | |
226 | 226 | let userSWOPLocked = $t071877269._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 | - | else if ((0 > withdrawAmount)) | |
244 | - | then throw("withdrawAmount < 0") | |
243 | + | else if ((0 >= withdrawAmount)) | |
244 | + | then throw("withdrawAmount <= 0") | |
245 | 245 | else { | |
246 | 246 | let totalSWOPLocked = getTotalSWOPLocked() | |
247 | 247 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
248 | - | let $ | |
249 | - | let userNewInterest = $ | |
250 | - | let claimAmount = $ | |
251 | - | let $ | |
252 | - | let userVoteAmount = $ | |
253 | - | let userUnvoteAmount = $ | |
248 | + | let $t084198474 = claimCalc(i.caller) | |
249 | + | let userNewInterest = $t084198474._1 | |
250 | + | let claimAmount = $t084198474._2 | |
251 | + | let $t084798544 = getUserVoteInfo(i.caller) | |
252 | + | let userVoteAmount = $t084798544._1 | |
253 | + | let userUnvoteAmount = $t084798544._2 | |
254 | 254 | if (if ((0 > userUnvoteAmount)) | |
255 | 255 | then true | |
256 | 256 | else (0 > userVoteAmount)) | |
257 | 257 | then throw("userUnvoteAmount < 0 || userVoteAmount < 0") | |
258 | 258 | else { | |
259 | 259 | let availableToUnstake = ((userSWOPLocked - userVoteAmount) - userUnvoteAmount) | |
260 | 260 | if ((withdrawAmount > availableToUnstake)) | |
261 | 261 | then throw("withdrawAmount > availableToUnstake") | |
262 | 262 | else { | |
263 | 263 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
264 | 264 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
265 | 265 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
266 | 266 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
267 | 267 | [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)] | |
268 | 268 | } | |
269 | 269 | } | |
270 | 270 | } | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | ||
274 | 274 | @Callable(i) | |
275 | 275 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
276 | 276 | then throw("DApp is inactive at this moment") | |
277 | 277 | else { | |
278 | 278 | let lastInterest = getLastInterestInfo() | |
279 | - | let $ | |
280 | - | let userNewInterest = $ | |
281 | - | let claimAmount = $ | |
279 | + | let $t097459800 = claimCalc(i.caller) | |
280 | + | let userNewInterest = $t097459800._1 | |
281 | + | let claimAmount = $t097459800._2 | |
282 | 282 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
283 | 283 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
284 | 284 | if ((claimAmount == 0)) | |
285 | 285 | then throw("You have 0 available SWOP") | |
286 | 286 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(i) | |
292 | 292 | func claimAndStakeSWOP () = if (!(isActive)) | |
293 | 293 | then throw("DApp is inactive at this moment") | |
294 | 294 | else { | |
295 | 295 | let totalSWOPLocked = getTotalSWOPLocked() | |
296 | 296 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
297 | 297 | let lastInterest = getLastInterestInfo() | |
298 | - | let $ | |
299 | - | let userNewInterest = $ | |
300 | - | let claimAmount = $ | |
298 | + | let $t01057910634 = claimCalc(i.caller) | |
299 | + | let userNewInterest = $t01057910634._1 | |
300 | + | let claimAmount = $t01057910634._2 | |
301 | 301 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
302 | 302 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
303 | 303 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
304 | 304 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
305 | 305 | if ((claimAmount == 0)) | |
306 | 306 | then throw("You have 0 available SWOP") | |
307 | 307 | 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)] | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(i) | |
313 | 313 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
314 | 314 | then throw("DApp is inactive at this moment") | |
315 | 315 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
316 | 316 | then throw("Only admin can call this function") | |
317 | 317 | else { | |
318 | 318 | func sum (a,b) = (a + b) | |
319 | 319 | ||
320 | 320 | func PreviousRewardEntry (accumulated,pool) = { | |
321 | 321 | let poolIndex = value(indexOf(previousPools, pool)) | |
322 | 322 | let poolReward = previousRewards[poolIndex] | |
323 | 323 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | func CurrentRewardEntry (accumulated,pool) = { | |
327 | 327 | let poolIndex = value(indexOf(currentPools, pool)) | |
328 | 328 | let poolReward = currentRewards[poolIndex] | |
329 | 329 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | let sumRewardPrevious = { | |
333 | - | let $ | |
334 | - | let $ | |
335 | - | let $ | |
336 | - | if (($ | |
337 | - | then $ | |
333 | + | let $list1242012453 = previousRewards | |
334 | + | let $size1242012453 = size($list1242012453) | |
335 | + | let $acc01242012453 = 0 | |
336 | + | if (($size1242012453 == 0)) | |
337 | + | then $acc01242012453 | |
338 | 338 | else { | |
339 | - | let $ | |
340 | - | if (($ | |
341 | - | then $ | |
339 | + | let $acc11242012453 = sum($acc01242012453, $list1242012453[0]) | |
340 | + | if (($size1242012453 == 1)) | |
341 | + | then $acc11242012453 | |
342 | 342 | else { | |
343 | - | let $ | |
344 | - | if (($ | |
345 | - | then $ | |
343 | + | let $acc21242012453 = sum($acc11242012453, $list1242012453[1]) | |
344 | + | if (($size1242012453 == 2)) | |
345 | + | then $acc21242012453 | |
346 | 346 | else { | |
347 | - | let $ | |
348 | - | if (($ | |
349 | - | then $ | |
347 | + | let $acc31242012453 = sum($acc21242012453, $list1242012453[2]) | |
348 | + | if (($size1242012453 == 3)) | |
349 | + | then $acc31242012453 | |
350 | 350 | else { | |
351 | - | let $ | |
352 | - | if (($ | |
353 | - | then $ | |
351 | + | let $acc41242012453 = sum($acc31242012453, $list1242012453[3]) | |
352 | + | if (($size1242012453 == 4)) | |
353 | + | then $acc41242012453 | |
354 | 354 | else { | |
355 | - | let $ | |
356 | - | if (($ | |
357 | - | then $ | |
355 | + | let $acc51242012453 = sum($acc41242012453, $list1242012453[4]) | |
356 | + | if (($size1242012453 == 5)) | |
357 | + | then $acc51242012453 | |
358 | 358 | else { | |
359 | - | let $ | |
360 | - | if (($ | |
361 | - | then $ | |
359 | + | let $acc61242012453 = sum($acc51242012453, $list1242012453[5]) | |
360 | + | if (($size1242012453 == 6)) | |
361 | + | then $acc61242012453 | |
362 | 362 | else { | |
363 | - | let $ | |
364 | - | if (($ | |
365 | - | then $ | |
363 | + | let $acc71242012453 = sum($acc61242012453, $list1242012453[6]) | |
364 | + | if (($size1242012453 == 7)) | |
365 | + | then $acc71242012453 | |
366 | 366 | else { | |
367 | - | let $ | |
368 | - | if (($ | |
369 | - | then $ | |
367 | + | let $acc81242012453 = sum($acc71242012453, $list1242012453[7]) | |
368 | + | if (($size1242012453 == 8)) | |
369 | + | then $acc81242012453 | |
370 | 370 | else { | |
371 | - | let $ | |
372 | - | if (($ | |
373 | - | then $ | |
371 | + | let $acc91242012453 = sum($acc81242012453, $list1242012453[8]) | |
372 | + | if (($size1242012453 == 9)) | |
373 | + | then $acc91242012453 | |
374 | 374 | else { | |
375 | - | let $ | |
376 | - | if (($ | |
377 | - | then $ | |
375 | + | let $acc101242012453 = sum($acc91242012453, $list1242012453[9]) | |
376 | + | if (($size1242012453 == 10)) | |
377 | + | then $acc101242012453 | |
378 | 378 | else { | |
379 | - | let $ | |
380 | - | if (($ | |
381 | - | then $ | |
379 | + | let $acc111242012453 = sum($acc101242012453, $list1242012453[10]) | |
380 | + | if (($size1242012453 == 11)) | |
381 | + | then $acc111242012453 | |
382 | 382 | else { | |
383 | - | let $ | |
384 | - | if (($ | |
385 | - | then $ | |
383 | + | let $acc121242012453 = sum($acc111242012453, $list1242012453[11]) | |
384 | + | if (($size1242012453 == 12)) | |
385 | + | then $acc121242012453 | |
386 | 386 | else { | |
387 | - | let $ | |
388 | - | if (($ | |
389 | - | then $ | |
387 | + | let $acc131242012453 = sum($acc121242012453, $list1242012453[12]) | |
388 | + | if (($size1242012453 == 13)) | |
389 | + | then $acc131242012453 | |
390 | 390 | else { | |
391 | - | let $ | |
392 | - | if (($ | |
393 | - | then $ | |
391 | + | let $acc141242012453 = sum($acc131242012453, $list1242012453[13]) | |
392 | + | if (($size1242012453 == 14)) | |
393 | + | then $acc141242012453 | |
394 | 394 | else { | |
395 | - | let $ | |
396 | - | if (($ | |
397 | - | then $ | |
395 | + | let $acc151242012453 = sum($acc141242012453, $list1242012453[14]) | |
396 | + | if (($size1242012453 == 15)) | |
397 | + | then $acc151242012453 | |
398 | 398 | else { | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
399 | + | let $acc161242012453 = sum($acc151242012453, $list1242012453[15]) | |
400 | + | if (($size1242012453 == 16)) | |
401 | + | then $acc161242012453 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc171242012453 = sum($acc161242012453, $list1242012453[16]) | |
404 | + | if (($size1242012453 == 17)) | |
405 | + | then $acc171242012453 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc181242012453 = sum($acc171242012453, $list1242012453[17]) | |
408 | + | if (($size1242012453 == 18)) | |
409 | + | then $acc181242012453 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc191242012453 = sum($acc181242012453, $list1242012453[18]) | |
412 | + | if (($size1242012453 == 19)) | |
413 | + | then $acc191242012453 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc201242012453 = sum($acc191242012453, $list1242012453[19]) | |
416 | + | if (($size1242012453 == 20)) | |
417 | + | then $acc201242012453 | |
418 | 418 | else { | |
419 | - | let $ | |
419 | + | let $acc211242012453 = sum($acc201242012453, $list1242012453[20]) | |
420 | 420 | throw("List size exceed 20") | |
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 | } | |
435 | 435 | } | |
436 | 436 | } | |
437 | 437 | } | |
438 | 438 | } | |
439 | 439 | } | |
440 | 440 | } | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | let sumRewardCurrent = { | |
444 | - | let $ | |
445 | - | let $ | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
444 | + | let $list1248212514 = currentRewards | |
445 | + | let $size1248212514 = size($list1248212514) | |
446 | + | let $acc01248212514 = 0 | |
447 | + | if (($size1248212514 == 0)) | |
448 | + | then $acc01248212514 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc11248212514 = sum($acc01248212514, $list1248212514[0]) | |
451 | + | if (($size1248212514 == 1)) | |
452 | + | then $acc11248212514 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc21248212514 = sum($acc11248212514, $list1248212514[1]) | |
455 | + | if (($size1248212514 == 2)) | |
456 | + | then $acc21248212514 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc31248212514 = sum($acc21248212514, $list1248212514[2]) | |
459 | + | if (($size1248212514 == 3)) | |
460 | + | then $acc31248212514 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc41248212514 = sum($acc31248212514, $list1248212514[3]) | |
463 | + | if (($size1248212514 == 4)) | |
464 | + | then $acc41248212514 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc51248212514 = sum($acc41248212514, $list1248212514[4]) | |
467 | + | if (($size1248212514 == 5)) | |
468 | + | then $acc51248212514 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc61248212514 = sum($acc51248212514, $list1248212514[5]) | |
471 | + | if (($size1248212514 == 6)) | |
472 | + | then $acc61248212514 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc71248212514 = sum($acc61248212514, $list1248212514[6]) | |
475 | + | if (($size1248212514 == 7)) | |
476 | + | then $acc71248212514 | |
477 | 477 | else { | |
478 | - | let $ | |
479 | - | if (($ | |
480 | - | then $ | |
478 | + | let $acc81248212514 = sum($acc71248212514, $list1248212514[7]) | |
479 | + | if (($size1248212514 == 8)) | |
480 | + | then $acc81248212514 | |
481 | 481 | else { | |
482 | - | let $ | |
483 | - | if (($ | |
484 | - | then $ | |
482 | + | let $acc91248212514 = sum($acc81248212514, $list1248212514[8]) | |
483 | + | if (($size1248212514 == 9)) | |
484 | + | then $acc91248212514 | |
485 | 485 | else { | |
486 | - | let $ | |
487 | - | if (($ | |
488 | - | then $ | |
486 | + | let $acc101248212514 = sum($acc91248212514, $list1248212514[9]) | |
487 | + | if (($size1248212514 == 10)) | |
488 | + | then $acc101248212514 | |
489 | 489 | else { | |
490 | - | let $ | |
491 | - | if (($ | |
492 | - | then $ | |
490 | + | let $acc111248212514 = sum($acc101248212514, $list1248212514[10]) | |
491 | + | if (($size1248212514 == 11)) | |
492 | + | then $acc111248212514 | |
493 | 493 | else { | |
494 | - | let $ | |
495 | - | if (($ | |
496 | - | then $ | |
494 | + | let $acc121248212514 = sum($acc111248212514, $list1248212514[11]) | |
495 | + | if (($size1248212514 == 12)) | |
496 | + | then $acc121248212514 | |
497 | 497 | else { | |
498 | - | let $ | |
499 | - | if (($ | |
500 | - | then $ | |
498 | + | let $acc131248212514 = sum($acc121248212514, $list1248212514[12]) | |
499 | + | if (($size1248212514 == 13)) | |
500 | + | then $acc131248212514 | |
501 | 501 | else { | |
502 | - | let $ | |
503 | - | if (($ | |
504 | - | then $ | |
502 | + | let $acc141248212514 = sum($acc131248212514, $list1248212514[13]) | |
503 | + | if (($size1248212514 == 14)) | |
504 | + | then $acc141248212514 | |
505 | 505 | else { | |
506 | - | let $ | |
507 | - | if (($ | |
508 | - | then $ | |
506 | + | let $acc151248212514 = sum($acc141248212514, $list1248212514[14]) | |
507 | + | if (($size1248212514 == 15)) | |
508 | + | then $acc151248212514 | |
509 | 509 | else { | |
510 | - | let $ | |
511 | - | if (($ | |
512 | - | then $ | |
510 | + | let $acc161248212514 = sum($acc151248212514, $list1248212514[15]) | |
511 | + | if (($size1248212514 == 16)) | |
512 | + | then $acc161248212514 | |
513 | 513 | else { | |
514 | - | let $ | |
515 | - | if (($ | |
516 | - | then $ | |
514 | + | let $acc171248212514 = sum($acc161248212514, $list1248212514[16]) | |
515 | + | if (($size1248212514 == 17)) | |
516 | + | then $acc171248212514 | |
517 | 517 | else { | |
518 | - | let $ | |
519 | - | if (($ | |
520 | - | then $ | |
518 | + | let $acc181248212514 = sum($acc171248212514, $list1248212514[17]) | |
519 | + | if (($size1248212514 == 18)) | |
520 | + | then $acc181248212514 | |
521 | 521 | else { | |
522 | - | let $ | |
523 | - | if (($ | |
524 | - | then $ | |
522 | + | let $acc191248212514 = sum($acc181248212514, $list1248212514[18]) | |
523 | + | if (($size1248212514 == 19)) | |
524 | + | then $acc191248212514 | |
525 | 525 | else { | |
526 | - | let $ | |
527 | - | if (($ | |
528 | - | then $ | |
526 | + | let $acc201248212514 = sum($acc191248212514, $list1248212514[19]) | |
527 | + | if (($size1248212514 == 20)) | |
528 | + | then $acc201248212514 | |
529 | 529 | else { | |
530 | - | let $ | |
530 | + | let $acc211248212514 = sum($acc201248212514, $list1248212514[20]) | |
531 | 531 | throw("List size exceed 20") | |
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 | } | |
546 | 546 | } | |
547 | 547 | } | |
548 | 548 | } | |
549 | 549 | } | |
550 | 550 | } | |
551 | 551 | } | |
552 | 552 | } | |
553 | 553 | } | |
554 | 554 | if ((height > rewardUpdateHeight)) | |
555 | 555 | then throw("rewardUpdateHeight < height") | |
556 | 556 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
557 | 557 | then true | |
558 | 558 | else (sumRewardCurrent != totalVoteShare)) | |
559 | 559 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
560 | 560 | else { | |
561 | 561 | let previousRewardEntryNew = { | |
562 | - | let $ | |
563 | - | let $ | |
564 | - | let $ | |
565 | - | if (($ | |
566 | - | then $ | |
562 | + | let $list1282612874 = previousPools | |
563 | + | let $size1282612874 = size($list1282612874) | |
564 | + | let $acc01282612874 = nil | |
565 | + | if (($size1282612874 == 0)) | |
566 | + | then $acc01282612874 | |
567 | 567 | else { | |
568 | - | let $ | |
569 | - | if (($ | |
570 | - | then $ | |
568 | + | let $acc11282612874 = PreviousRewardEntry($acc01282612874, $list1282612874[0]) | |
569 | + | if (($size1282612874 == 1)) | |
570 | + | then $acc11282612874 | |
571 | 571 | else { | |
572 | - | let $ | |
573 | - | if (($ | |
574 | - | then $ | |
572 | + | let $acc21282612874 = PreviousRewardEntry($acc11282612874, $list1282612874[1]) | |
573 | + | if (($size1282612874 == 2)) | |
574 | + | then $acc21282612874 | |
575 | 575 | else { | |
576 | - | let $ | |
577 | - | if (($ | |
578 | - | then $ | |
576 | + | let $acc31282612874 = PreviousRewardEntry($acc21282612874, $list1282612874[2]) | |
577 | + | if (($size1282612874 == 3)) | |
578 | + | then $acc31282612874 | |
579 | 579 | else { | |
580 | - | let $ | |
581 | - | if (($ | |
582 | - | then $ | |
580 | + | let $acc41282612874 = PreviousRewardEntry($acc31282612874, $list1282612874[3]) | |
581 | + | if (($size1282612874 == 4)) | |
582 | + | then $acc41282612874 | |
583 | 583 | else { | |
584 | - | let $ | |
585 | - | if (($ | |
586 | - | then $ | |
584 | + | let $acc51282612874 = PreviousRewardEntry($acc41282612874, $list1282612874[4]) | |
585 | + | if (($size1282612874 == 5)) | |
586 | + | then $acc51282612874 | |
587 | 587 | else { | |
588 | - | let $ | |
589 | - | if (($ | |
590 | - | then $ | |
588 | + | let $acc61282612874 = PreviousRewardEntry($acc51282612874, $list1282612874[5]) | |
589 | + | if (($size1282612874 == 6)) | |
590 | + | then $acc61282612874 | |
591 | 591 | else { | |
592 | - | let $ | |
593 | - | if (($ | |
594 | - | then $ | |
592 | + | let $acc71282612874 = PreviousRewardEntry($acc61282612874, $list1282612874[6]) | |
593 | + | if (($size1282612874 == 7)) | |
594 | + | then $acc71282612874 | |
595 | 595 | else { | |
596 | - | let $ | |
597 | - | if (($ | |
598 | - | then $ | |
596 | + | let $acc81282612874 = PreviousRewardEntry($acc71282612874, $list1282612874[7]) | |
597 | + | if (($size1282612874 == 8)) | |
598 | + | then $acc81282612874 | |
599 | 599 | else { | |
600 | - | let $ | |
601 | - | if (($ | |
602 | - | then $ | |
600 | + | let $acc91282612874 = PreviousRewardEntry($acc81282612874, $list1282612874[8]) | |
601 | + | if (($size1282612874 == 9)) | |
602 | + | then $acc91282612874 | |
603 | 603 | else { | |
604 | - | let $ | |
605 | - | if (($ | |
606 | - | then $ | |
604 | + | let $acc101282612874 = PreviousRewardEntry($acc91282612874, $list1282612874[9]) | |
605 | + | if (($size1282612874 == 10)) | |
606 | + | then $acc101282612874 | |
607 | 607 | else { | |
608 | - | let $ | |
609 | - | if (($ | |
610 | - | then $ | |
608 | + | let $acc111282612874 = PreviousRewardEntry($acc101282612874, $list1282612874[10]) | |
609 | + | if (($size1282612874 == 11)) | |
610 | + | then $acc111282612874 | |
611 | 611 | else { | |
612 | - | let $ | |
613 | - | if (($ | |
614 | - | then $ | |
612 | + | let $acc121282612874 = PreviousRewardEntry($acc111282612874, $list1282612874[11]) | |
613 | + | if (($size1282612874 == 12)) | |
614 | + | then $acc121282612874 | |
615 | 615 | else { | |
616 | - | let $ | |
617 | - | if (($ | |
618 | - | then $ | |
616 | + | let $acc131282612874 = PreviousRewardEntry($acc121282612874, $list1282612874[12]) | |
617 | + | if (($size1282612874 == 13)) | |
618 | + | then $acc131282612874 | |
619 | 619 | else { | |
620 | - | let $ | |
621 | - | if (($ | |
622 | - | then $ | |
620 | + | let $acc141282612874 = PreviousRewardEntry($acc131282612874, $list1282612874[13]) | |
621 | + | if (($size1282612874 == 14)) | |
622 | + | then $acc141282612874 | |
623 | 623 | else { | |
624 | - | let $ | |
625 | - | if (($ | |
626 | - | then $ | |
624 | + | let $acc151282612874 = PreviousRewardEntry($acc141282612874, $list1282612874[14]) | |
625 | + | if (($size1282612874 == 15)) | |
626 | + | then $acc151282612874 | |
627 | 627 | else { | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
628 | + | let $acc161282612874 = PreviousRewardEntry($acc151282612874, $list1282612874[15]) | |
629 | + | if (($size1282612874 == 16)) | |
630 | + | then $acc161282612874 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc171282612874 = PreviousRewardEntry($acc161282612874, $list1282612874[16]) | |
633 | + | if (($size1282612874 == 17)) | |
634 | + | then $acc171282612874 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc181282612874 = PreviousRewardEntry($acc171282612874, $list1282612874[17]) | |
637 | + | if (($size1282612874 == 18)) | |
638 | + | then $acc181282612874 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc191282612874 = PreviousRewardEntry($acc181282612874, $list1282612874[18]) | |
641 | + | if (($size1282612874 == 19)) | |
642 | + | then $acc191282612874 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc201282612874 = PreviousRewardEntry($acc191282612874, $list1282612874[19]) | |
645 | + | if (($size1282612874 == 20)) | |
646 | + | then $acc201282612874 | |
647 | 647 | else { | |
648 | - | let $ | |
648 | + | let $acc211282612874 = PreviousRewardEntry($acc201282612874, $list1282612874[20]) | |
649 | 649 | throw("List size exceed 20") | |
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 | } | |
664 | 664 | } | |
665 | 665 | } | |
666 | 666 | } | |
667 | 667 | } | |
668 | 668 | } | |
669 | 669 | } | |
670 | 670 | } | |
671 | 671 | } | |
672 | 672 | let currentRewardEntryNew = { | |
673 | - | let $ | |
674 | - | let $ | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
673 | + | let $list1290712953 = currentPools | |
674 | + | let $size1290712953 = size($list1290712953) | |
675 | + | let $acc01290712953 = nil | |
676 | + | if (($size1290712953 == 0)) | |
677 | + | then $acc01290712953 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc11290712953 = CurrentRewardEntry($acc01290712953, $list1290712953[0]) | |
680 | + | if (($size1290712953 == 1)) | |
681 | + | then $acc11290712953 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc21290712953 = CurrentRewardEntry($acc11290712953, $list1290712953[1]) | |
684 | + | if (($size1290712953 == 2)) | |
685 | + | then $acc21290712953 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc31290712953 = CurrentRewardEntry($acc21290712953, $list1290712953[2]) | |
688 | + | if (($size1290712953 == 3)) | |
689 | + | then $acc31290712953 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc41290712953 = CurrentRewardEntry($acc31290712953, $list1290712953[3]) | |
692 | + | if (($size1290712953 == 4)) | |
693 | + | then $acc41290712953 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc51290712953 = CurrentRewardEntry($acc41290712953, $list1290712953[4]) | |
696 | + | if (($size1290712953 == 5)) | |
697 | + | then $acc51290712953 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc61290712953 = CurrentRewardEntry($acc51290712953, $list1290712953[5]) | |
700 | + | if (($size1290712953 == 6)) | |
701 | + | then $acc61290712953 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc71290712953 = CurrentRewardEntry($acc61290712953, $list1290712953[6]) | |
704 | + | if (($size1290712953 == 7)) | |
705 | + | then $acc71290712953 | |
706 | 706 | else { | |
707 | - | let $ | |
708 | - | if (($ | |
709 | - | then $ | |
707 | + | let $acc81290712953 = CurrentRewardEntry($acc71290712953, $list1290712953[7]) | |
708 | + | if (($size1290712953 == 8)) | |
709 | + | then $acc81290712953 | |
710 | 710 | else { | |
711 | - | let $ | |
712 | - | if (($ | |
713 | - | then $ | |
711 | + | let $acc91290712953 = CurrentRewardEntry($acc81290712953, $list1290712953[8]) | |
712 | + | if (($size1290712953 == 9)) | |
713 | + | then $acc91290712953 | |
714 | 714 | else { | |
715 | - | let $ | |
716 | - | if (($ | |
717 | - | then $ | |
715 | + | let $acc101290712953 = CurrentRewardEntry($acc91290712953, $list1290712953[9]) | |
716 | + | if (($size1290712953 == 10)) | |
717 | + | then $acc101290712953 | |
718 | 718 | else { | |
719 | - | let $ | |
720 | - | if (($ | |
721 | - | then $ | |
719 | + | let $acc111290712953 = CurrentRewardEntry($acc101290712953, $list1290712953[10]) | |
720 | + | if (($size1290712953 == 11)) | |
721 | + | then $acc111290712953 | |
722 | 722 | else { | |
723 | - | let $ | |
724 | - | if (($ | |
725 | - | then $ | |
723 | + | let $acc121290712953 = CurrentRewardEntry($acc111290712953, $list1290712953[11]) | |
724 | + | if (($size1290712953 == 12)) | |
725 | + | then $acc121290712953 | |
726 | 726 | else { | |
727 | - | let $ | |
728 | - | if (($ | |
729 | - | then $ | |
727 | + | let $acc131290712953 = CurrentRewardEntry($acc121290712953, $list1290712953[12]) | |
728 | + | if (($size1290712953 == 13)) | |
729 | + | then $acc131290712953 | |
730 | 730 | else { | |
731 | - | let $ | |
732 | - | if (($ | |
733 | - | then $ | |
731 | + | let $acc141290712953 = CurrentRewardEntry($acc131290712953, $list1290712953[13]) | |
732 | + | if (($size1290712953 == 14)) | |
733 | + | then $acc141290712953 | |
734 | 734 | else { | |
735 | - | let $ | |
736 | - | if (($ | |
737 | - | then $ | |
735 | + | let $acc151290712953 = CurrentRewardEntry($acc141290712953, $list1290712953[14]) | |
736 | + | if (($size1290712953 == 15)) | |
737 | + | then $acc151290712953 | |
738 | 738 | else { | |
739 | - | let $ | |
740 | - | if (($ | |
741 | - | then $ | |
739 | + | let $acc161290712953 = CurrentRewardEntry($acc151290712953, $list1290712953[15]) | |
740 | + | if (($size1290712953 == 16)) | |
741 | + | then $acc161290712953 | |
742 | 742 | else { | |
743 | - | let $ | |
744 | - | if (($ | |
745 | - | then $ | |
743 | + | let $acc171290712953 = CurrentRewardEntry($acc161290712953, $list1290712953[16]) | |
744 | + | if (($size1290712953 == 17)) | |
745 | + | then $acc171290712953 | |
746 | 746 | else { | |
747 | - | let $ | |
748 | - | if (($ | |
749 | - | then $ | |
747 | + | let $acc181290712953 = CurrentRewardEntry($acc171290712953, $list1290712953[17]) | |
748 | + | if (($size1290712953 == 18)) | |
749 | + | then $acc181290712953 | |
750 | 750 | else { | |
751 | - | let $ | |
752 | - | if (($ | |
753 | - | then $ | |
751 | + | let $acc191290712953 = CurrentRewardEntry($acc181290712953, $list1290712953[18]) | |
752 | + | if (($size1290712953 == 19)) | |
753 | + | then $acc191290712953 | |
754 | 754 | else { | |
755 | - | let $ | |
756 | - | if (($ | |
757 | - | then $ | |
755 | + | let $acc201290712953 = CurrentRewardEntry($acc191290712953, $list1290712953[19]) | |
756 | + | if (($size1290712953 == 20)) | |
757 | + | then $acc201290712953 | |
758 | 758 | else { | |
759 | - | let $ | |
759 | + | let $acc211290712953 = CurrentRewardEntry($acc201290712953, $list1290712953[20]) | |
760 | 760 | throw("List size exceed 20") | |
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 | } | |
775 | 775 | } | |
776 | 776 | } | |
777 | 777 | } | |
778 | 778 | } | |
779 | 779 | } | |
780 | 780 | } | |
781 | 781 | } | |
782 | 782 | } | |
783 | 783 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
784 | 784 | } | |
785 | 785 | } | |
786 | 786 | ||
787 | 787 | ||
788 | 788 | ||
789 | 789 | @Callable(i) | |
790 | 790 | func shutdown () = if (!(isActive)) | |
791 | 791 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
792 | 792 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
793 | 793 | then throw("Only admin can call this function") | |
794 | 794 | else suspend("Paused by admin") | |
795 | 795 | ||
796 | 796 | ||
797 | 797 | ||
798 | 798 | @Callable(i) | |
799 | 799 | func activate () = if (isActive) | |
800 | 800 | then throw("DApp is already active") | |
801 | 801 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
802 | 802 | then throw("Only admin can call this function") | |
803 | 803 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
804 | 804 | ||
805 | 805 | ||
806 | 806 | @Verifier(tx) | |
807 | 807 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
808 | 808 |
github/deemru/w8io/026f985 927.50 ms ◑