tx · 6c8mAhB6ZmKW8dAiZJkDcR7K8mjbvEsfUJ8XgUwZ3Bc 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.05.14 13:14 [1525220] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "6c8mAhB6ZmKW8dAiZJkDcR7K8mjbvEsfUJ8XgUwZ3Bc", "fee": 1400000, "feeAssetId": null, "timestamp": 1620987272946, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "3PL5JypRcsGDYZH3G37BoiZAyVrujzTPiA2wJUyfwdtNRbTBSAr7aijtG6F8B1AR7Ud6m1MdxZmdrs7ryCsvcEgM" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAASwAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3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1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleW0pPJc=", "height": 1525220, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9tmmPTr9PGBwHpRDvJmyCwMnGxFakfBZhv6KHhhbsG5U Next: 9GCrdquSP4By7wZ194eJM5zGB9XgUjGWn5VZ5J6sRwP Diff:
Old | New | Differences | |
---|---|---|---|
79 | 79 | ||
80 | 80 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
81 | 81 | ||
82 | - | let votingForNewPool = Address(base58' | |
82 | + | let votingForNewPool = Address(base58'3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb') | |
83 | 83 | ||
84 | 84 | let keySWOPid = "SWOP_id" | |
85 | 85 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | func getUserVoteInfo (user) = { | |
177 | - | let $ | |
177 | + | let $t062126763 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc)))) | |
178 | 178 | then { | |
179 | 179 | let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_") | |
180 | 180 | $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2])) | |
183 | 183 | let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
184 | 184 | $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod) | |
185 | 185 | } | |
186 | - | let userTotalVoteSWOP = $ | |
187 | - | let userUnvoted = $ | |
188 | - | let userUnvotedPeriod = $ | |
186 | + | let userTotalVoteSWOP = $t062126763._1 | |
187 | + | let userUnvoted = $t062126763._2 | |
188 | + | let userUnvotedPeriod = $t062126763._3 | |
189 | 189 | let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod)) | |
190 | 190 | then userUnvoted | |
191 | 191 | else 0 | |
238 | 238 | ||
239 | 239 | func claimCalc (caller) = { | |
240 | 240 | let lastInterest = getLastInterestInfo() | |
241 | - | let $ | |
242 | - | let userLastInterest = $ | |
243 | - | let userSWOPLocked = $ | |
241 | + | let $t085558635 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t085558635._1 | |
243 | + | let userSWOPLocked = $t085558635._2 | |
244 | 244 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
245 | 245 | let userNewInterest = lastInterest | |
246 | 246 | $Tuple2(userNewInterest, claimAmount) | |
251 | 251 | func airDrop () = if (!(isActive)) | |
252 | 252 | then throw("DApp is inactive at this moment") | |
253 | 253 | else { | |
254 | - | let $ | |
255 | - | let pmtAmount = $ | |
256 | - | let pmtAssetId = $ | |
254 | + | let $t089008975 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t089008975._1 | |
256 | + | let pmtAssetId = $t089008975._2 | |
257 | 257 | if ((pmtAssetId != SWOP)) | |
258 | 258 | then throw("Incorrect pmtAssetId") | |
259 | 259 | else { | |
270 | 270 | func lockSWOP () = if (!(isActive)) | |
271 | 271 | then throw("DApp is inactive at this moment") | |
272 | 272 | else { | |
273 | - | let $ | |
274 | - | let pmtAmount = $ | |
275 | - | let pmtAssetId = $ | |
273 | + | let $t094139488 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t094139488._1 | |
275 | + | let pmtAssetId = $t094139488._2 | |
276 | 276 | if ((pmtAssetId != SWOP)) | |
277 | 277 | then throw("Incorrect pmtAssetId") | |
278 | 278 | else { | |
279 | 279 | let lastInterest = getLastInterestInfo() | |
280 | - | let $ | |
281 | - | let userLastInterest = $ | |
282 | - | let userSWOPLocked = $ | |
280 | + | let $t096049686 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t096049686._1 | |
282 | + | let userSWOPLocked = $t096049686._2 | |
283 | 283 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
284 | 284 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
285 | 285 | let userNewInterest = lastInterest | |
301 | 301 | else { | |
302 | 302 | let totalSWOPLocked = getTotalSWOPLocked() | |
303 | 303 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
304 | - | let $ | |
305 | - | let userNewInterest = $ | |
306 | - | let claimAmount = $ | |
307 | - | let $ | |
308 | - | let userVoteAmount = $ | |
309 | - | let userUnvoteAmount = $ | |
304 | + | let $t01083610891 = claimCalc(i.caller) | |
305 | + | let userNewInterest = $t01083610891._1 | |
306 | + | let claimAmount = $t01083610891._2 | |
307 | + | let $t01089610961 = getUserVoteInfo(i.caller) | |
308 | + | let userVoteAmount = $t01089610961._1 | |
309 | + | let userUnvoteAmount = $t01089610961._2 | |
310 | 310 | let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller) | |
311 | 311 | if (if (if ((0 > userUnvoteAmount)) | |
312 | 312 | then true | |
335 | 335 | then throw("DApp is inactive at this moment") | |
336 | 336 | else { | |
337 | 337 | let lastInterest = getLastInterestInfo() | |
338 | - | let $ | |
339 | - | let userNewInterest = $ | |
340 | - | let claimAmount = $ | |
338 | + | let $t01233612391 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01233612391._1 | |
340 | + | let claimAmount = $t01233612391._2 | |
341 | 341 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
342 | 342 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
343 | 343 | if ((claimAmount == 0)) | |
354 | 354 | let totalSWOPLocked = getTotalSWOPLocked() | |
355 | 355 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
356 | 356 | let lastInterest = getLastInterestInfo() | |
357 | - | let $ | |
358 | - | let userNewInterest = $ | |
359 | - | let claimAmount = $ | |
357 | + | let $t01317013225 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01317013225._1 | |
359 | + | let claimAmount = $t01317013225._2 | |
360 | 360 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
361 | 361 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
362 | 362 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | let sumRewardPrevious = { | |
392 | - | let $ | |
393 | - | let $ | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
392 | + | let $list1500615039 = previousRewards | |
393 | + | let $size1500615039 = size($list1500615039) | |
394 | + | let $acc01500615039 = 0 | |
395 | + | if (($size1500615039 == 0)) | |
396 | + | then $acc01500615039 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc11500615039 = sum($acc01500615039, $list1500615039[0]) | |
399 | + | if (($size1500615039 == 1)) | |
400 | + | then $acc11500615039 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc21500615039 = sum($acc11500615039, $list1500615039[1]) | |
403 | + | if (($size1500615039 == 2)) | |
404 | + | then $acc21500615039 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc31500615039 = sum($acc21500615039, $list1500615039[2]) | |
407 | + | if (($size1500615039 == 3)) | |
408 | + | then $acc31500615039 | |
409 | 409 | else { | |
410 | - | let $ | |
411 | - | if (($ | |
412 | - | then $ | |
410 | + | let $acc41500615039 = sum($acc31500615039, $list1500615039[3]) | |
411 | + | if (($size1500615039 == 4)) | |
412 | + | then $acc41500615039 | |
413 | 413 | else { | |
414 | - | let $ | |
415 | - | if (($ | |
416 | - | then $ | |
414 | + | let $acc51500615039 = sum($acc41500615039, $list1500615039[4]) | |
415 | + | if (($size1500615039 == 5)) | |
416 | + | then $acc51500615039 | |
417 | 417 | else { | |
418 | - | let $ | |
419 | - | if (($ | |
420 | - | then $ | |
418 | + | let $acc61500615039 = sum($acc51500615039, $list1500615039[5]) | |
419 | + | if (($size1500615039 == 6)) | |
420 | + | then $acc61500615039 | |
421 | 421 | else { | |
422 | - | let $ | |
423 | - | if (($ | |
424 | - | then $ | |
422 | + | let $acc71500615039 = sum($acc61500615039, $list1500615039[6]) | |
423 | + | if (($size1500615039 == 7)) | |
424 | + | then $acc71500615039 | |
425 | 425 | else { | |
426 | - | let $ | |
427 | - | if (($ | |
428 | - | then $ | |
426 | + | let $acc81500615039 = sum($acc71500615039, $list1500615039[7]) | |
427 | + | if (($size1500615039 == 8)) | |
428 | + | then $acc81500615039 | |
429 | 429 | else { | |
430 | - | let $ | |
431 | - | if (($ | |
432 | - | then $ | |
430 | + | let $acc91500615039 = sum($acc81500615039, $list1500615039[8]) | |
431 | + | if (($size1500615039 == 9)) | |
432 | + | then $acc91500615039 | |
433 | 433 | else { | |
434 | - | let $ | |
435 | - | if (($ | |
436 | - | then $ | |
434 | + | let $acc101500615039 = sum($acc91500615039, $list1500615039[9]) | |
435 | + | if (($size1500615039 == 10)) | |
436 | + | then $acc101500615039 | |
437 | 437 | else { | |
438 | - | let $ | |
439 | - | if (($ | |
440 | - | then $ | |
438 | + | let $acc111500615039 = sum($acc101500615039, $list1500615039[10]) | |
439 | + | if (($size1500615039 == 11)) | |
440 | + | then $acc111500615039 | |
441 | 441 | else { | |
442 | - | let $ | |
443 | - | if (($ | |
444 | - | then $ | |
442 | + | let $acc121500615039 = sum($acc111500615039, $list1500615039[11]) | |
443 | + | if (($size1500615039 == 12)) | |
444 | + | then $acc121500615039 | |
445 | 445 | else { | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
446 | + | let $acc131500615039 = sum($acc121500615039, $list1500615039[12]) | |
447 | + | if (($size1500615039 == 13)) | |
448 | + | then $acc131500615039 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc141500615039 = sum($acc131500615039, $list1500615039[13]) | |
451 | + | if (($size1500615039 == 14)) | |
452 | + | then $acc141500615039 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc151500615039 = sum($acc141500615039, $list1500615039[14]) | |
455 | + | if (($size1500615039 == 15)) | |
456 | + | then $acc151500615039 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc161500615039 = sum($acc151500615039, $list1500615039[15]) | |
459 | + | if (($size1500615039 == 16)) | |
460 | + | then $acc161500615039 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc171500615039 = sum($acc161500615039, $list1500615039[16]) | |
463 | + | if (($size1500615039 == 17)) | |
464 | + | then $acc171500615039 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc181500615039 = sum($acc171500615039, $list1500615039[17]) | |
467 | + | if (($size1500615039 == 18)) | |
468 | + | then $acc181500615039 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc191500615039 = sum($acc181500615039, $list1500615039[18]) | |
471 | + | if (($size1500615039 == 19)) | |
472 | + | then $acc191500615039 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc201500615039 = sum($acc191500615039, $list1500615039[19]) | |
475 | + | if (($size1500615039 == 20)) | |
476 | + | then $acc201500615039 | |
477 | 477 | else { | |
478 | - | let $ | |
478 | + | let $acc211500615039 = sum($acc201500615039, $list1500615039[20]) | |
479 | 479 | throw("List size exceed 20") | |
480 | 480 | } | |
481 | 481 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | let sumRewardCurrent = { | |
503 | - | let $ | |
504 | - | let $ | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
503 | + | let $list1506815100 = currentRewards | |
504 | + | let $size1506815100 = size($list1506815100) | |
505 | + | let $acc01506815100 = 0 | |
506 | + | if (($size1506815100 == 0)) | |
507 | + | then $acc01506815100 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc11506815100 = sum($acc01506815100, $list1506815100[0]) | |
510 | + | if (($size1506815100 == 1)) | |
511 | + | then $acc11506815100 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc21506815100 = sum($acc11506815100, $list1506815100[1]) | |
514 | + | if (($size1506815100 == 2)) | |
515 | + | then $acc21506815100 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc31506815100 = sum($acc21506815100, $list1506815100[2]) | |
518 | + | if (($size1506815100 == 3)) | |
519 | + | then $acc31506815100 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc41506815100 = sum($acc31506815100, $list1506815100[3]) | |
522 | + | if (($size1506815100 == 4)) | |
523 | + | then $acc41506815100 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc51506815100 = sum($acc41506815100, $list1506815100[4]) | |
526 | + | if (($size1506815100 == 5)) | |
527 | + | then $acc51506815100 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc61506815100 = sum($acc51506815100, $list1506815100[5]) | |
530 | + | if (($size1506815100 == 6)) | |
531 | + | then $acc61506815100 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc71506815100 = sum($acc61506815100, $list1506815100[6]) | |
534 | + | if (($size1506815100 == 7)) | |
535 | + | then $acc71506815100 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc81506815100 = sum($acc71506815100, $list1506815100[7]) | |
538 | + | if (($size1506815100 == 8)) | |
539 | + | then $acc81506815100 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc91506815100 = sum($acc81506815100, $list1506815100[8]) | |
542 | + | if (($size1506815100 == 9)) | |
543 | + | then $acc91506815100 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc101506815100 = sum($acc91506815100, $list1506815100[9]) | |
546 | + | if (($size1506815100 == 10)) | |
547 | + | then $acc101506815100 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc111506815100 = sum($acc101506815100, $list1506815100[10]) | |
550 | + | if (($size1506815100 == 11)) | |
551 | + | then $acc111506815100 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc121506815100 = sum($acc111506815100, $list1506815100[11]) | |
554 | + | if (($size1506815100 == 12)) | |
555 | + | then $acc121506815100 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc131506815100 = sum($acc121506815100, $list1506815100[12]) | |
558 | + | if (($size1506815100 == 13)) | |
559 | + | then $acc131506815100 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc141506815100 = sum($acc131506815100, $list1506815100[13]) | |
562 | + | if (($size1506815100 == 14)) | |
563 | + | then $acc141506815100 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc151506815100 = sum($acc141506815100, $list1506815100[14]) | |
566 | + | if (($size1506815100 == 15)) | |
567 | + | then $acc151506815100 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc161506815100 = sum($acc151506815100, $list1506815100[15]) | |
570 | + | if (($size1506815100 == 16)) | |
571 | + | then $acc161506815100 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc171506815100 = sum($acc161506815100, $list1506815100[16]) | |
574 | + | if (($size1506815100 == 17)) | |
575 | + | then $acc171506815100 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc181506815100 = sum($acc171506815100, $list1506815100[17]) | |
578 | + | if (($size1506815100 == 18)) | |
579 | + | then $acc181506815100 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc191506815100 = sum($acc181506815100, $list1506815100[18]) | |
582 | + | if (($size1506815100 == 19)) | |
583 | + | then $acc191506815100 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc201506815100 = sum($acc191506815100, $list1506815100[19]) | |
586 | + | if (($size1506815100 == 20)) | |
587 | + | then $acc201506815100 | |
588 | 588 | else { | |
589 | - | let $ | |
589 | + | let $acc211506815100 = sum($acc201506815100, $list1506815100[20]) | |
590 | 590 | throw("List size exceed 20") | |
591 | 591 | } | |
592 | 592 | } | |
618 | 618 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
619 | 619 | else { | |
620 | 620 | let previousRewardEntryNew = { | |
621 | - | let $ | |
622 | - | let $ | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
621 | + | let $list1540915457 = previousPools | |
622 | + | let $size1540915457 = size($list1540915457) | |
623 | + | let $acc01540915457 = nil | |
624 | + | if (($size1540915457 == 0)) | |
625 | + | then $acc01540915457 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc11540915457 = PreviousRewardEntry($acc01540915457, $list1540915457[0]) | |
628 | + | if (($size1540915457 == 1)) | |
629 | + | then $acc11540915457 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc21540915457 = PreviousRewardEntry($acc11540915457, $list1540915457[1]) | |
632 | + | if (($size1540915457 == 2)) | |
633 | + | then $acc21540915457 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc31540915457 = PreviousRewardEntry($acc21540915457, $list1540915457[2]) | |
636 | + | if (($size1540915457 == 3)) | |
637 | + | then $acc31540915457 | |
638 | 638 | else { | |
639 | - | let $ | |
640 | - | if (($ | |
641 | - | then $ | |
639 | + | let $acc41540915457 = PreviousRewardEntry($acc31540915457, $list1540915457[3]) | |
640 | + | if (($size1540915457 == 4)) | |
641 | + | then $acc41540915457 | |
642 | 642 | else { | |
643 | - | let $ | |
644 | - | if (($ | |
645 | - | then $ | |
643 | + | let $acc51540915457 = PreviousRewardEntry($acc41540915457, $list1540915457[4]) | |
644 | + | if (($size1540915457 == 5)) | |
645 | + | then $acc51540915457 | |
646 | 646 | else { | |
647 | - | let $ | |
648 | - | if (($ | |
649 | - | then $ | |
647 | + | let $acc61540915457 = PreviousRewardEntry($acc51540915457, $list1540915457[5]) | |
648 | + | if (($size1540915457 == 6)) | |
649 | + | then $acc61540915457 | |
650 | 650 | else { | |
651 | - | let $ | |
652 | - | if (($ | |
653 | - | then $ | |
651 | + | let $acc71540915457 = PreviousRewardEntry($acc61540915457, $list1540915457[6]) | |
652 | + | if (($size1540915457 == 7)) | |
653 | + | then $acc71540915457 | |
654 | 654 | else { | |
655 | - | let $ | |
656 | - | if (($ | |
657 | - | then $ | |
655 | + | let $acc81540915457 = PreviousRewardEntry($acc71540915457, $list1540915457[7]) | |
656 | + | if (($size1540915457 == 8)) | |
657 | + | then $acc81540915457 | |
658 | 658 | else { | |
659 | - | let $ | |
660 | - | if (($ | |
661 | - | then $ | |
659 | + | let $acc91540915457 = PreviousRewardEntry($acc81540915457, $list1540915457[8]) | |
660 | + | if (($size1540915457 == 9)) | |
661 | + | then $acc91540915457 | |
662 | 662 | else { | |
663 | - | let $ | |
664 | - | if (($ | |
665 | - | then $ | |
663 | + | let $acc101540915457 = PreviousRewardEntry($acc91540915457, $list1540915457[9]) | |
664 | + | if (($size1540915457 == 10)) | |
665 | + | then $acc101540915457 | |
666 | 666 | else { | |
667 | - | let $ | |
668 | - | if (($ | |
669 | - | then $ | |
667 | + | let $acc111540915457 = PreviousRewardEntry($acc101540915457, $list1540915457[10]) | |
668 | + | if (($size1540915457 == 11)) | |
669 | + | then $acc111540915457 | |
670 | 670 | else { | |
671 | - | let $ | |
672 | - | if (($ | |
673 | - | then $ | |
671 | + | let $acc121540915457 = PreviousRewardEntry($acc111540915457, $list1540915457[11]) | |
672 | + | if (($size1540915457 == 12)) | |
673 | + | then $acc121540915457 | |
674 | 674 | else { | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
675 | + | let $acc131540915457 = PreviousRewardEntry($acc121540915457, $list1540915457[12]) | |
676 | + | if (($size1540915457 == 13)) | |
677 | + | then $acc131540915457 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc141540915457 = PreviousRewardEntry($acc131540915457, $list1540915457[13]) | |
680 | + | if (($size1540915457 == 14)) | |
681 | + | then $acc141540915457 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc151540915457 = PreviousRewardEntry($acc141540915457, $list1540915457[14]) | |
684 | + | if (($size1540915457 == 15)) | |
685 | + | then $acc151540915457 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc161540915457 = PreviousRewardEntry($acc151540915457, $list1540915457[15]) | |
688 | + | if (($size1540915457 == 16)) | |
689 | + | then $acc161540915457 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc171540915457 = PreviousRewardEntry($acc161540915457, $list1540915457[16]) | |
692 | + | if (($size1540915457 == 17)) | |
693 | + | then $acc171540915457 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc181540915457 = PreviousRewardEntry($acc171540915457, $list1540915457[17]) | |
696 | + | if (($size1540915457 == 18)) | |
697 | + | then $acc181540915457 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc191540915457 = PreviousRewardEntry($acc181540915457, $list1540915457[18]) | |
700 | + | if (($size1540915457 == 19)) | |
701 | + | then $acc191540915457 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc201540915457 = PreviousRewardEntry($acc191540915457, $list1540915457[19]) | |
704 | + | if (($size1540915457 == 20)) | |
705 | + | then $acc201540915457 | |
706 | 706 | else { | |
707 | - | let $ | |
707 | + | let $acc211540915457 = PreviousRewardEntry($acc201540915457, $list1540915457[20]) | |
708 | 708 | throw("List size exceed 20") | |
709 | 709 | } | |
710 | 710 | } | |
729 | 729 | } | |
730 | 730 | } | |
731 | 731 | let currentRewardEntryNew = { | |
732 | - | let $ | |
733 | - | let $ | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
732 | + | let $list1549015536 = currentPools | |
733 | + | let $size1549015536 = size($list1549015536) | |
734 | + | let $acc01549015536 = nil | |
735 | + | if (($size1549015536 == 0)) | |
736 | + | then $acc01549015536 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc11549015536 = CurrentRewardEntry($acc01549015536, $list1549015536[0]) | |
739 | + | if (($size1549015536 == 1)) | |
740 | + | then $acc11549015536 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc21549015536 = CurrentRewardEntry($acc11549015536, $list1549015536[1]) | |
743 | + | if (($size1549015536 == 2)) | |
744 | + | then $acc21549015536 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc31549015536 = CurrentRewardEntry($acc21549015536, $list1549015536[2]) | |
747 | + | if (($size1549015536 == 3)) | |
748 | + | then $acc31549015536 | |
749 | 749 | else { | |
750 | - | let $ | |
751 | - | if (($ | |
752 | - | then $ | |
750 | + | let $acc41549015536 = CurrentRewardEntry($acc31549015536, $list1549015536[3]) | |
751 | + | if (($size1549015536 == 4)) | |
752 | + | then $acc41549015536 | |
753 | 753 | else { | |
754 | - | let $ | |
755 | - | if (($ | |
756 | - | then $ | |
754 | + | let $acc51549015536 = CurrentRewardEntry($acc41549015536, $list1549015536[4]) | |
755 | + | if (($size1549015536 == 5)) | |
756 | + | then $acc51549015536 | |
757 | 757 | else { | |
758 | - | let $ | |
759 | - | if (($ | |
760 | - | then $ | |
758 | + | let $acc61549015536 = CurrentRewardEntry($acc51549015536, $list1549015536[5]) | |
759 | + | if (($size1549015536 == 6)) | |
760 | + | then $acc61549015536 | |
761 | 761 | else { | |
762 | - | let $ | |
763 | - | if (($ | |
764 | - | then $ | |
762 | + | let $acc71549015536 = CurrentRewardEntry($acc61549015536, $list1549015536[6]) | |
763 | + | if (($size1549015536 == 7)) | |
764 | + | then $acc71549015536 | |
765 | 765 | else { | |
766 | - | let $ | |
767 | - | if (($ | |
768 | - | then $ | |
766 | + | let $acc81549015536 = CurrentRewardEntry($acc71549015536, $list1549015536[7]) | |
767 | + | if (($size1549015536 == 8)) | |
768 | + | then $acc81549015536 | |
769 | 769 | else { | |
770 | - | let $ | |
771 | - | if (($ | |
772 | - | then $ | |
770 | + | let $acc91549015536 = CurrentRewardEntry($acc81549015536, $list1549015536[8]) | |
771 | + | if (($size1549015536 == 9)) | |
772 | + | then $acc91549015536 | |
773 | 773 | else { | |
774 | - | let $ | |
775 | - | if (($ | |
776 | - | then $ | |
774 | + | let $acc101549015536 = CurrentRewardEntry($acc91549015536, $list1549015536[9]) | |
775 | + | if (($size1549015536 == 10)) | |
776 | + | then $acc101549015536 | |
777 | 777 | else { | |
778 | - | let $ | |
779 | - | if (($ | |
780 | - | then $ | |
778 | + | let $acc111549015536 = CurrentRewardEntry($acc101549015536, $list1549015536[10]) | |
779 | + | if (($size1549015536 == 11)) | |
780 | + | then $acc111549015536 | |
781 | 781 | else { | |
782 | - | let $ | |
783 | - | if (($ | |
784 | - | then $ | |
782 | + | let $acc121549015536 = CurrentRewardEntry($acc111549015536, $list1549015536[11]) | |
783 | + | if (($size1549015536 == 12)) | |
784 | + | then $acc121549015536 | |
785 | 785 | else { | |
786 | - | let $ | |
787 | - | if (($ | |
788 | - | then $ | |
786 | + | let $acc131549015536 = CurrentRewardEntry($acc121549015536, $list1549015536[12]) | |
787 | + | if (($size1549015536 == 13)) | |
788 | + | then $acc131549015536 | |
789 | 789 | else { | |
790 | - | let $ | |
791 | - | if (($ | |
792 | - | then $ | |
790 | + | let $acc141549015536 = CurrentRewardEntry($acc131549015536, $list1549015536[13]) | |
791 | + | if (($size1549015536 == 14)) | |
792 | + | then $acc141549015536 | |
793 | 793 | else { | |
794 | - | let $ | |
795 | - | if (($ | |
796 | - | then $ | |
794 | + | let $acc151549015536 = CurrentRewardEntry($acc141549015536, $list1549015536[14]) | |
795 | + | if (($size1549015536 == 15)) | |
796 | + | then $acc151549015536 | |
797 | 797 | else { | |
798 | - | let $ | |
799 | - | if (($ | |
800 | - | then $ | |
798 | + | let $acc161549015536 = CurrentRewardEntry($acc151549015536, $list1549015536[15]) | |
799 | + | if (($size1549015536 == 16)) | |
800 | + | then $acc161549015536 | |
801 | 801 | else { | |
802 | - | let $ | |
803 | - | if (($ | |
804 | - | then $ | |
802 | + | let $acc171549015536 = CurrentRewardEntry($acc161549015536, $list1549015536[16]) | |
803 | + | if (($size1549015536 == 17)) | |
804 | + | then $acc171549015536 | |
805 | 805 | else { | |
806 | - | let $ | |
807 | - | if (($ | |
808 | - | then $ | |
806 | + | let $acc181549015536 = CurrentRewardEntry($acc171549015536, $list1549015536[17]) | |
807 | + | if (($size1549015536 == 18)) | |
808 | + | then $acc181549015536 | |
809 | 809 | else { | |
810 | - | let $ | |
811 | - | if (($ | |
812 | - | then $ | |
810 | + | let $acc191549015536 = CurrentRewardEntry($acc181549015536, $list1549015536[18]) | |
811 | + | if (($size1549015536 == 19)) | |
812 | + | then $acc191549015536 | |
813 | 813 | else { | |
814 | - | let $ | |
815 | - | if (($ | |
816 | - | then $ | |
814 | + | let $acc201549015536 = CurrentRewardEntry($acc191549015536, $list1549015536[19]) | |
815 | + | if (($size1549015536 == 20)) | |
816 | + | then $acc201549015536 | |
817 | 817 | else { | |
818 | - | let $ | |
818 | + | let $acc211549015536 = CurrentRewardEntry($acc201549015536, $list1549015536[20]) | |
819 | 819 | throw("List size exceed 20") | |
820 | 820 | } | |
821 | 821 | } |
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 = "_vote_no" | |
57 | 57 | ||
58 | 58 | let keyYesVotingForNewPool = "_vote_yes" | |
59 | 59 | ||
60 | 60 | let keyAmountOfVotingForNewPool = "amount_voting" | |
61 | 61 | ||
62 | 62 | let keyStatusOfVotingForNewPool = "_status" | |
63 | 63 | ||
64 | 64 | let keyHeightOfPoolVotingForNewPool = "_finish_height" | |
65 | 65 | ||
66 | 66 | let activeVoteFirst = "voting_active_cell_1" | |
67 | 67 | ||
68 | 68 | let activeVoteSecond = "voting_active_cell_2" | |
69 | 69 | ||
70 | 70 | let activeVoteThird = "voting_active_cell_3" | |
71 | 71 | ||
72 | 72 | let activeVoteFourth = "voting_active_cell_4" | |
73 | 73 | ||
74 | 74 | let activeVoteFifth = "voting_active_cell_1" | |
75 | 75 | ||
76 | 76 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
77 | 77 | ||
78 | 78 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
79 | 79 | ||
80 | 80 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
81 | 81 | ||
82 | - | let votingForNewPool = Address(base58' | |
82 | + | let votingForNewPool = Address(base58'3Mzgi6deFV8CyF2nqbWSBkqba5JaD42EXyb') | |
83 | 83 | ||
84 | 84 | let keySWOPid = "SWOP_id" | |
85 | 85 | ||
86 | 86 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
87 | 87 | ||
88 | 88 | let scaleValue = 100000000 | |
89 | 89 | ||
90 | 90 | let totalVoteShare = 10000000000 | |
91 | 91 | ||
92 | 92 | let kStartHeight = "start_height" | |
93 | 93 | ||
94 | 94 | let kBasePeriod = "base_period" | |
95 | 95 | ||
96 | 96 | let kPeriodLength = "period_length" | |
97 | 97 | ||
98 | 98 | let kUserTotalStruc = "_user_total_struc" | |
99 | 99 | ||
100 | 100 | let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract") | |
101 | 101 | ||
102 | 102 | let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract") | |
103 | 103 | ||
104 | 104 | let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract") | |
105 | 105 | ||
106 | 106 | let firstActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFirst), "") | |
107 | 107 | ||
108 | 108 | let secondActiveVote = valueOrElse(getString(votingForNewPool, activeVoteSecond), "") | |
109 | 109 | ||
110 | 110 | let thirdActiveVote = valueOrElse(getString(votingForNewPool, activeVoteThird), "") | |
111 | 111 | ||
112 | 112 | let fourthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFourth), "") | |
113 | 113 | ||
114 | 114 | let fifthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFifth), "") | |
115 | 115 | ||
116 | 116 | let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
117 | 117 | ||
118 | 118 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getLastInterestInfo () = { | |
125 | 125 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
126 | 126 | lastInterest | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func getUserInterestInfo (user,lastInterest) = { | |
140 | 140 | let userSWOPAmount = getUserSWOPLocked(user) | |
141 | 141 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
142 | 142 | let userLastInterestValue = match userLastInterest { | |
143 | 143 | case userLastInterest: Int => | |
144 | 144 | userLastInterest | |
145 | 145 | case _ => | |
146 | 146 | lastInterest | |
147 | 147 | } | |
148 | 148 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func getUserTotalVoteAmountForOnePool (pool,user) = { | |
153 | 153 | let voting = valueOrElse(getInteger(votingForNewPool, pool), -1) | |
154 | 154 | let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0) | |
155 | 155 | let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true) | |
156 | 156 | let currentHeight = height | |
157 | 157 | if ((0 > voting)) | |
158 | 158 | then 0 | |
159 | 159 | else if (!(statusOfVoting)) | |
160 | 160 | then 0 | |
161 | 161 | else if ((heightOfVoting > currentHeight)) | |
162 | 162 | then (valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyNoVotingForNewPool)), 0)) | |
163 | 163 | else 0 | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func getUserTotalVoteForNewPoolAmount (user) = { | |
168 | 168 | let listOfVoting = [getUserTotalVoteAmountForOnePool(firstActiveVote, user), getUserTotalVoteAmountForOnePool(secondActiveVote, user), getUserTotalVoteAmountForOnePool(thirdActiveVote, user), getUserTotalVoteAmountForOnePool(fourthActiveVote, user), getUserTotalVoteAmountForOnePool(fifthActiveVote, user)] | |
169 | 169 | max(listOfVoting) | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func getUserVoteInfo (user) = { | |
177 | - | let $ | |
177 | + | let $t062126763 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc)))) | |
178 | 178 | then { | |
179 | 179 | let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_") | |
180 | 180 | $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2])) | |
181 | 181 | } | |
182 | 182 | else { | |
183 | 183 | let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
184 | 184 | $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod) | |
185 | 185 | } | |
186 | - | let userTotalVoteSWOP = $ | |
187 | - | let userUnvoted = $ | |
188 | - | let userUnvotedPeriod = $ | |
186 | + | let userTotalVoteSWOP = $t062126763._1 | |
187 | + | let userUnvoted = $t062126763._2 | |
188 | + | let userUnvotedPeriod = $t062126763._3 | |
189 | 189 | let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod)) | |
190 | 190 | then userUnvoted | |
191 | 191 | else 0 | |
192 | 192 | $Tuple2(userTotalVoteSWOP, userUnvotedActual) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func getVoteOptionAmount (user,voteName,option) = { | |
203 | 203 | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
204 | 204 | let uvoa = match userVoteOptionAmount { | |
205 | 205 | case uvoa: Int => | |
206 | 206 | uvoa | |
207 | 207 | case uvoa: Unit => | |
208 | 208 | 0 | |
209 | 209 | case _ => | |
210 | 210 | throw("Match error") | |
211 | 211 | } | |
212 | 212 | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func getTotalVoteOptionAmount (voteName,option) = { | |
220 | 220 | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
221 | 221 | let tvoa = match totalVoteOptionAmount { | |
222 | 222 | case tvoa: Int => | |
223 | 223 | tvoa | |
224 | 224 | case tvoa: Unit => | |
225 | 225 | 0 | |
226 | 226 | case _ => | |
227 | 227 | throw("Match error") | |
228 | 228 | } | |
229 | 229 | tvoa | |
230 | 230 | } | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
234 | 234 | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
235 | 235 | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func claimCalc (caller) = { | |
240 | 240 | let lastInterest = getLastInterestInfo() | |
241 | - | let $ | |
242 | - | let userLastInterest = $ | |
243 | - | let userSWOPLocked = $ | |
241 | + | let $t085558635 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t085558635._1 | |
243 | + | let userSWOPLocked = $t085558635._2 | |
244 | 244 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
245 | 245 | let userNewInterest = lastInterest | |
246 | 246 | $Tuple2(userNewInterest, claimAmount) | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(i) | |
251 | 251 | func airDrop () = if (!(isActive)) | |
252 | 252 | then throw("DApp is inactive at this moment") | |
253 | 253 | else { | |
254 | - | let $ | |
255 | - | let pmtAmount = $ | |
256 | - | let pmtAssetId = $ | |
254 | + | let $t089008975 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t089008975._1 | |
256 | + | let pmtAssetId = $t089008975._2 | |
257 | 257 | if ((pmtAssetId != SWOP)) | |
258 | 258 | then throw("Incorrect pmtAssetId") | |
259 | 259 | else { | |
260 | 260 | let totalSWOPLocked = getTotalSWOPLocked() | |
261 | 261 | let lastInterest = getLastInterestInfo() | |
262 | 262 | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
263 | 263 | [IntegerEntry(keyLastInterest, interestNew)] | |
264 | 264 | } | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Callable(i) | |
270 | 270 | func lockSWOP () = if (!(isActive)) | |
271 | 271 | then throw("DApp is inactive at this moment") | |
272 | 272 | else { | |
273 | - | let $ | |
274 | - | let pmtAmount = $ | |
275 | - | let pmtAssetId = $ | |
273 | + | let $t094139488 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t094139488._1 | |
275 | + | let pmtAssetId = $t094139488._2 | |
276 | 276 | if ((pmtAssetId != SWOP)) | |
277 | 277 | then throw("Incorrect pmtAssetId") | |
278 | 278 | else { | |
279 | 279 | let lastInterest = getLastInterestInfo() | |
280 | - | let $ | |
281 | - | let userLastInterest = $ | |
282 | - | let userSWOPLocked = $ | |
280 | + | let $t096049686 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t096049686._1 | |
282 | + | let userSWOPLocked = $t096049686._2 | |
283 | 283 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
284 | 284 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
285 | 285 | let userNewInterest = lastInterest | |
286 | 286 | let totalSWOPLocked = getTotalSWOPLocked() | |
287 | 287 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
288 | 288 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
289 | 289 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
290 | 290 | [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)] | |
291 | 291 | } | |
292 | 292 | } | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | ||
296 | 296 | @Callable(i) | |
297 | 297 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
298 | 298 | then throw("DApp is inactive at this moment") | |
299 | 299 | else if ((0 >= withdrawAmount)) | |
300 | 300 | then throw("withdrawAmount <= 0") | |
301 | 301 | else { | |
302 | 302 | let totalSWOPLocked = getTotalSWOPLocked() | |
303 | 303 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
304 | - | let $ | |
305 | - | let userNewInterest = $ | |
306 | - | let claimAmount = $ | |
307 | - | let $ | |
308 | - | let userVoteAmount = $ | |
309 | - | let userUnvoteAmount = $ | |
304 | + | let $t01083610891 = claimCalc(i.caller) | |
305 | + | let userNewInterest = $t01083610891._1 | |
306 | + | let claimAmount = $t01083610891._2 | |
307 | + | let $t01089610961 = getUserVoteInfo(i.caller) | |
308 | + | let userVoteAmount = $t01089610961._1 | |
309 | + | let userUnvoteAmount = $t01089610961._2 | |
310 | 310 | let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller) | |
311 | 311 | if (if (if ((0 > userUnvoteAmount)) | |
312 | 312 | then true | |
313 | 313 | else (0 > userVoteAmount)) | |
314 | 314 | then true | |
315 | 315 | else (0 > userVoteAmountForNewPool)) | |
316 | 316 | then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0") | |
317 | 317 | else { | |
318 | 318 | let availableToUnstake = ((userSWOPLocked - userUnvoteAmount) - max([userVoteAmountForNewPool, userVoteAmount])) | |
319 | 319 | if ((withdrawAmount > availableToUnstake)) | |
320 | 320 | then throw("withdrawAmount > availableToUnstake") | |
321 | 321 | else { | |
322 | 322 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
323 | 323 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
324 | 324 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
325 | 325 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
326 | 326 | [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)] | |
327 | 327 | } | |
328 | 328 | } | |
329 | 329 | } | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | ||
333 | 333 | @Callable(i) | |
334 | 334 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
335 | 335 | then throw("DApp is inactive at this moment") | |
336 | 336 | else { | |
337 | 337 | let lastInterest = getLastInterestInfo() | |
338 | - | let $ | |
339 | - | let userNewInterest = $ | |
340 | - | let claimAmount = $ | |
338 | + | let $t01233612391 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01233612391._1 | |
340 | + | let claimAmount = $t01233612391._2 | |
341 | 341 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
342 | 342 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
343 | 343 | if ((claimAmount == 0)) | |
344 | 344 | then throw("You have 0 available SWOP") | |
345 | 345 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | ||
350 | 350 | @Callable(i) | |
351 | 351 | func claimAndStakeSWOP () = if (!(isActive)) | |
352 | 352 | then throw("DApp is inactive at this moment") | |
353 | 353 | else { | |
354 | 354 | let totalSWOPLocked = getTotalSWOPLocked() | |
355 | 355 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
356 | 356 | let lastInterest = getLastInterestInfo() | |
357 | - | let $ | |
358 | - | let userNewInterest = $ | |
359 | - | let claimAmount = $ | |
357 | + | let $t01317013225 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01317013225._1 | |
359 | + | let claimAmount = $t01317013225._2 | |
360 | 360 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
361 | 361 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
362 | 362 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
363 | 363 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
364 | 364 | if ((claimAmount == 0)) | |
365 | 365 | then throw("You have 0 available SWOP") | |
366 | 366 | 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)] | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | ||
371 | 371 | @Callable(i) | |
372 | 372 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
373 | 373 | then throw("DApp is inactive at this moment") | |
374 | 374 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
375 | 375 | then throw("Only admin can call this function") | |
376 | 376 | else { | |
377 | 377 | func sum (a,b) = (a + b) | |
378 | 378 | ||
379 | 379 | func PreviousRewardEntry (accumulated,pool) = { | |
380 | 380 | let poolIndex = value(indexOf(previousPools, pool)) | |
381 | 381 | let poolReward = previousRewards[poolIndex] | |
382 | 382 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | func CurrentRewardEntry (accumulated,pool) = { | |
386 | 386 | let poolIndex = value(indexOf(currentPools, pool)) | |
387 | 387 | let poolReward = currentRewards[poolIndex] | |
388 | 388 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | let sumRewardPrevious = { | |
392 | - | let $ | |
393 | - | let $ | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
392 | + | let $list1500615039 = previousRewards | |
393 | + | let $size1500615039 = size($list1500615039) | |
394 | + | let $acc01500615039 = 0 | |
395 | + | if (($size1500615039 == 0)) | |
396 | + | then $acc01500615039 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc11500615039 = sum($acc01500615039, $list1500615039[0]) | |
399 | + | if (($size1500615039 == 1)) | |
400 | + | then $acc11500615039 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc21500615039 = sum($acc11500615039, $list1500615039[1]) | |
403 | + | if (($size1500615039 == 2)) | |
404 | + | then $acc21500615039 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc31500615039 = sum($acc21500615039, $list1500615039[2]) | |
407 | + | if (($size1500615039 == 3)) | |
408 | + | then $acc31500615039 | |
409 | 409 | else { | |
410 | - | let $ | |
411 | - | if (($ | |
412 | - | then $ | |
410 | + | let $acc41500615039 = sum($acc31500615039, $list1500615039[3]) | |
411 | + | if (($size1500615039 == 4)) | |
412 | + | then $acc41500615039 | |
413 | 413 | else { | |
414 | - | let $ | |
415 | - | if (($ | |
416 | - | then $ | |
414 | + | let $acc51500615039 = sum($acc41500615039, $list1500615039[4]) | |
415 | + | if (($size1500615039 == 5)) | |
416 | + | then $acc51500615039 | |
417 | 417 | else { | |
418 | - | let $ | |
419 | - | if (($ | |
420 | - | then $ | |
418 | + | let $acc61500615039 = sum($acc51500615039, $list1500615039[5]) | |
419 | + | if (($size1500615039 == 6)) | |
420 | + | then $acc61500615039 | |
421 | 421 | else { | |
422 | - | let $ | |
423 | - | if (($ | |
424 | - | then $ | |
422 | + | let $acc71500615039 = sum($acc61500615039, $list1500615039[6]) | |
423 | + | if (($size1500615039 == 7)) | |
424 | + | then $acc71500615039 | |
425 | 425 | else { | |
426 | - | let $ | |
427 | - | if (($ | |
428 | - | then $ | |
426 | + | let $acc81500615039 = sum($acc71500615039, $list1500615039[7]) | |
427 | + | if (($size1500615039 == 8)) | |
428 | + | then $acc81500615039 | |
429 | 429 | else { | |
430 | - | let $ | |
431 | - | if (($ | |
432 | - | then $ | |
430 | + | let $acc91500615039 = sum($acc81500615039, $list1500615039[8]) | |
431 | + | if (($size1500615039 == 9)) | |
432 | + | then $acc91500615039 | |
433 | 433 | else { | |
434 | - | let $ | |
435 | - | if (($ | |
436 | - | then $ | |
434 | + | let $acc101500615039 = sum($acc91500615039, $list1500615039[9]) | |
435 | + | if (($size1500615039 == 10)) | |
436 | + | then $acc101500615039 | |
437 | 437 | else { | |
438 | - | let $ | |
439 | - | if (($ | |
440 | - | then $ | |
438 | + | let $acc111500615039 = sum($acc101500615039, $list1500615039[10]) | |
439 | + | if (($size1500615039 == 11)) | |
440 | + | then $acc111500615039 | |
441 | 441 | else { | |
442 | - | let $ | |
443 | - | if (($ | |
444 | - | then $ | |
442 | + | let $acc121500615039 = sum($acc111500615039, $list1500615039[11]) | |
443 | + | if (($size1500615039 == 12)) | |
444 | + | then $acc121500615039 | |
445 | 445 | else { | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
446 | + | let $acc131500615039 = sum($acc121500615039, $list1500615039[12]) | |
447 | + | if (($size1500615039 == 13)) | |
448 | + | then $acc131500615039 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc141500615039 = sum($acc131500615039, $list1500615039[13]) | |
451 | + | if (($size1500615039 == 14)) | |
452 | + | then $acc141500615039 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc151500615039 = sum($acc141500615039, $list1500615039[14]) | |
455 | + | if (($size1500615039 == 15)) | |
456 | + | then $acc151500615039 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc161500615039 = sum($acc151500615039, $list1500615039[15]) | |
459 | + | if (($size1500615039 == 16)) | |
460 | + | then $acc161500615039 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc171500615039 = sum($acc161500615039, $list1500615039[16]) | |
463 | + | if (($size1500615039 == 17)) | |
464 | + | then $acc171500615039 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc181500615039 = sum($acc171500615039, $list1500615039[17]) | |
467 | + | if (($size1500615039 == 18)) | |
468 | + | then $acc181500615039 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc191500615039 = sum($acc181500615039, $list1500615039[18]) | |
471 | + | if (($size1500615039 == 19)) | |
472 | + | then $acc191500615039 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc201500615039 = sum($acc191500615039, $list1500615039[19]) | |
475 | + | if (($size1500615039 == 20)) | |
476 | + | then $acc201500615039 | |
477 | 477 | else { | |
478 | - | let $ | |
478 | + | let $acc211500615039 = sum($acc201500615039, $list1500615039[20]) | |
479 | 479 | throw("List size exceed 20") | |
480 | 480 | } | |
481 | 481 | } | |
482 | 482 | } | |
483 | 483 | } | |
484 | 484 | } | |
485 | 485 | } | |
486 | 486 | } | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | } | |
491 | 491 | } | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | } | |
497 | 497 | } | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | let sumRewardCurrent = { | |
503 | - | let $ | |
504 | - | let $ | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
503 | + | let $list1506815100 = currentRewards | |
504 | + | let $size1506815100 = size($list1506815100) | |
505 | + | let $acc01506815100 = 0 | |
506 | + | if (($size1506815100 == 0)) | |
507 | + | then $acc01506815100 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc11506815100 = sum($acc01506815100, $list1506815100[0]) | |
510 | + | if (($size1506815100 == 1)) | |
511 | + | then $acc11506815100 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc21506815100 = sum($acc11506815100, $list1506815100[1]) | |
514 | + | if (($size1506815100 == 2)) | |
515 | + | then $acc21506815100 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc31506815100 = sum($acc21506815100, $list1506815100[2]) | |
518 | + | if (($size1506815100 == 3)) | |
519 | + | then $acc31506815100 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc41506815100 = sum($acc31506815100, $list1506815100[3]) | |
522 | + | if (($size1506815100 == 4)) | |
523 | + | then $acc41506815100 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc51506815100 = sum($acc41506815100, $list1506815100[4]) | |
526 | + | if (($size1506815100 == 5)) | |
527 | + | then $acc51506815100 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc61506815100 = sum($acc51506815100, $list1506815100[5]) | |
530 | + | if (($size1506815100 == 6)) | |
531 | + | then $acc61506815100 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc71506815100 = sum($acc61506815100, $list1506815100[6]) | |
534 | + | if (($size1506815100 == 7)) | |
535 | + | then $acc71506815100 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc81506815100 = sum($acc71506815100, $list1506815100[7]) | |
538 | + | if (($size1506815100 == 8)) | |
539 | + | then $acc81506815100 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc91506815100 = sum($acc81506815100, $list1506815100[8]) | |
542 | + | if (($size1506815100 == 9)) | |
543 | + | then $acc91506815100 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc101506815100 = sum($acc91506815100, $list1506815100[9]) | |
546 | + | if (($size1506815100 == 10)) | |
547 | + | then $acc101506815100 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc111506815100 = sum($acc101506815100, $list1506815100[10]) | |
550 | + | if (($size1506815100 == 11)) | |
551 | + | then $acc111506815100 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc121506815100 = sum($acc111506815100, $list1506815100[11]) | |
554 | + | if (($size1506815100 == 12)) | |
555 | + | then $acc121506815100 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc131506815100 = sum($acc121506815100, $list1506815100[12]) | |
558 | + | if (($size1506815100 == 13)) | |
559 | + | then $acc131506815100 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc141506815100 = sum($acc131506815100, $list1506815100[13]) | |
562 | + | if (($size1506815100 == 14)) | |
563 | + | then $acc141506815100 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc151506815100 = sum($acc141506815100, $list1506815100[14]) | |
566 | + | if (($size1506815100 == 15)) | |
567 | + | then $acc151506815100 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc161506815100 = sum($acc151506815100, $list1506815100[15]) | |
570 | + | if (($size1506815100 == 16)) | |
571 | + | then $acc161506815100 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc171506815100 = sum($acc161506815100, $list1506815100[16]) | |
574 | + | if (($size1506815100 == 17)) | |
575 | + | then $acc171506815100 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc181506815100 = sum($acc171506815100, $list1506815100[17]) | |
578 | + | if (($size1506815100 == 18)) | |
579 | + | then $acc181506815100 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc191506815100 = sum($acc181506815100, $list1506815100[18]) | |
582 | + | if (($size1506815100 == 19)) | |
583 | + | then $acc191506815100 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc201506815100 = sum($acc191506815100, $list1506815100[19]) | |
586 | + | if (($size1506815100 == 20)) | |
587 | + | then $acc201506815100 | |
588 | 588 | else { | |
589 | - | let $ | |
589 | + | let $acc211506815100 = sum($acc201506815100, $list1506815100[20]) | |
590 | 590 | throw("List size exceed 20") | |
591 | 591 | } | |
592 | 592 | } | |
593 | 593 | } | |
594 | 594 | } | |
595 | 595 | } | |
596 | 596 | } | |
597 | 597 | } | |
598 | 598 | } | |
599 | 599 | } | |
600 | 600 | } | |
601 | 601 | } | |
602 | 602 | } | |
603 | 603 | } | |
604 | 604 | } | |
605 | 605 | } | |
606 | 606 | } | |
607 | 607 | } | |
608 | 608 | } | |
609 | 609 | } | |
610 | 610 | } | |
611 | 611 | } | |
612 | 612 | } | |
613 | 613 | if ((height > rewardUpdateHeight)) | |
614 | 614 | then throw("rewardUpdateHeight < height") | |
615 | 615 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
616 | 616 | then true | |
617 | 617 | else (sumRewardCurrent != totalVoteShare)) | |
618 | 618 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
619 | 619 | else { | |
620 | 620 | let previousRewardEntryNew = { | |
621 | - | let $ | |
622 | - | let $ | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
621 | + | let $list1540915457 = previousPools | |
622 | + | let $size1540915457 = size($list1540915457) | |
623 | + | let $acc01540915457 = nil | |
624 | + | if (($size1540915457 == 0)) | |
625 | + | then $acc01540915457 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc11540915457 = PreviousRewardEntry($acc01540915457, $list1540915457[0]) | |
628 | + | if (($size1540915457 == 1)) | |
629 | + | then $acc11540915457 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc21540915457 = PreviousRewardEntry($acc11540915457, $list1540915457[1]) | |
632 | + | if (($size1540915457 == 2)) | |
633 | + | then $acc21540915457 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc31540915457 = PreviousRewardEntry($acc21540915457, $list1540915457[2]) | |
636 | + | if (($size1540915457 == 3)) | |
637 | + | then $acc31540915457 | |
638 | 638 | else { | |
639 | - | let $ | |
640 | - | if (($ | |
641 | - | then $ | |
639 | + | let $acc41540915457 = PreviousRewardEntry($acc31540915457, $list1540915457[3]) | |
640 | + | if (($size1540915457 == 4)) | |
641 | + | then $acc41540915457 | |
642 | 642 | else { | |
643 | - | let $ | |
644 | - | if (($ | |
645 | - | then $ | |
643 | + | let $acc51540915457 = PreviousRewardEntry($acc41540915457, $list1540915457[4]) | |
644 | + | if (($size1540915457 == 5)) | |
645 | + | then $acc51540915457 | |
646 | 646 | else { | |
647 | - | let $ | |
648 | - | if (($ | |
649 | - | then $ | |
647 | + | let $acc61540915457 = PreviousRewardEntry($acc51540915457, $list1540915457[5]) | |
648 | + | if (($size1540915457 == 6)) | |
649 | + | then $acc61540915457 | |
650 | 650 | else { | |
651 | - | let $ | |
652 | - | if (($ | |
653 | - | then $ | |
651 | + | let $acc71540915457 = PreviousRewardEntry($acc61540915457, $list1540915457[6]) | |
652 | + | if (($size1540915457 == 7)) | |
653 | + | then $acc71540915457 | |
654 | 654 | else { | |
655 | - | let $ | |
656 | - | if (($ | |
657 | - | then $ | |
655 | + | let $acc81540915457 = PreviousRewardEntry($acc71540915457, $list1540915457[7]) | |
656 | + | if (($size1540915457 == 8)) | |
657 | + | then $acc81540915457 | |
658 | 658 | else { | |
659 | - | let $ | |
660 | - | if (($ | |
661 | - | then $ | |
659 | + | let $acc91540915457 = PreviousRewardEntry($acc81540915457, $list1540915457[8]) | |
660 | + | if (($size1540915457 == 9)) | |
661 | + | then $acc91540915457 | |
662 | 662 | else { | |
663 | - | let $ | |
664 | - | if (($ | |
665 | - | then $ | |
663 | + | let $acc101540915457 = PreviousRewardEntry($acc91540915457, $list1540915457[9]) | |
664 | + | if (($size1540915457 == 10)) | |
665 | + | then $acc101540915457 | |
666 | 666 | else { | |
667 | - | let $ | |
668 | - | if (($ | |
669 | - | then $ | |
667 | + | let $acc111540915457 = PreviousRewardEntry($acc101540915457, $list1540915457[10]) | |
668 | + | if (($size1540915457 == 11)) | |
669 | + | then $acc111540915457 | |
670 | 670 | else { | |
671 | - | let $ | |
672 | - | if (($ | |
673 | - | then $ | |
671 | + | let $acc121540915457 = PreviousRewardEntry($acc111540915457, $list1540915457[11]) | |
672 | + | if (($size1540915457 == 12)) | |
673 | + | then $acc121540915457 | |
674 | 674 | else { | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
675 | + | let $acc131540915457 = PreviousRewardEntry($acc121540915457, $list1540915457[12]) | |
676 | + | if (($size1540915457 == 13)) | |
677 | + | then $acc131540915457 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc141540915457 = PreviousRewardEntry($acc131540915457, $list1540915457[13]) | |
680 | + | if (($size1540915457 == 14)) | |
681 | + | then $acc141540915457 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc151540915457 = PreviousRewardEntry($acc141540915457, $list1540915457[14]) | |
684 | + | if (($size1540915457 == 15)) | |
685 | + | then $acc151540915457 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc161540915457 = PreviousRewardEntry($acc151540915457, $list1540915457[15]) | |
688 | + | if (($size1540915457 == 16)) | |
689 | + | then $acc161540915457 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc171540915457 = PreviousRewardEntry($acc161540915457, $list1540915457[16]) | |
692 | + | if (($size1540915457 == 17)) | |
693 | + | then $acc171540915457 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc181540915457 = PreviousRewardEntry($acc171540915457, $list1540915457[17]) | |
696 | + | if (($size1540915457 == 18)) | |
697 | + | then $acc181540915457 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc191540915457 = PreviousRewardEntry($acc181540915457, $list1540915457[18]) | |
700 | + | if (($size1540915457 == 19)) | |
701 | + | then $acc191540915457 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc201540915457 = PreviousRewardEntry($acc191540915457, $list1540915457[19]) | |
704 | + | if (($size1540915457 == 20)) | |
705 | + | then $acc201540915457 | |
706 | 706 | else { | |
707 | - | let $ | |
707 | + | let $acc211540915457 = PreviousRewardEntry($acc201540915457, $list1540915457[20]) | |
708 | 708 | throw("List size exceed 20") | |
709 | 709 | } | |
710 | 710 | } | |
711 | 711 | } | |
712 | 712 | } | |
713 | 713 | } | |
714 | 714 | } | |
715 | 715 | } | |
716 | 716 | } | |
717 | 717 | } | |
718 | 718 | } | |
719 | 719 | } | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | } | |
723 | 723 | } | |
724 | 724 | } | |
725 | 725 | } | |
726 | 726 | } | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | } | |
730 | 730 | } | |
731 | 731 | let currentRewardEntryNew = { | |
732 | - | let $ | |
733 | - | let $ | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
732 | + | let $list1549015536 = currentPools | |
733 | + | let $size1549015536 = size($list1549015536) | |
734 | + | let $acc01549015536 = nil | |
735 | + | if (($size1549015536 == 0)) | |
736 | + | then $acc01549015536 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc11549015536 = CurrentRewardEntry($acc01549015536, $list1549015536[0]) | |
739 | + | if (($size1549015536 == 1)) | |
740 | + | then $acc11549015536 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc21549015536 = CurrentRewardEntry($acc11549015536, $list1549015536[1]) | |
743 | + | if (($size1549015536 == 2)) | |
744 | + | then $acc21549015536 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc31549015536 = CurrentRewardEntry($acc21549015536, $list1549015536[2]) | |
747 | + | if (($size1549015536 == 3)) | |
748 | + | then $acc31549015536 | |
749 | 749 | else { | |
750 | - | let $ | |
751 | - | if (($ | |
752 | - | then $ | |
750 | + | let $acc41549015536 = CurrentRewardEntry($acc31549015536, $list1549015536[3]) | |
751 | + | if (($size1549015536 == 4)) | |
752 | + | then $acc41549015536 | |
753 | 753 | else { | |
754 | - | let $ | |
755 | - | if (($ | |
756 | - | then $ | |
754 | + | let $acc51549015536 = CurrentRewardEntry($acc41549015536, $list1549015536[4]) | |
755 | + | if (($size1549015536 == 5)) | |
756 | + | then $acc51549015536 | |
757 | 757 | else { | |
758 | - | let $ | |
759 | - | if (($ | |
760 | - | then $ | |
758 | + | let $acc61549015536 = CurrentRewardEntry($acc51549015536, $list1549015536[5]) | |
759 | + | if (($size1549015536 == 6)) | |
760 | + | then $acc61549015536 | |
761 | 761 | else { | |
762 | - | let $ | |
763 | - | if (($ | |
764 | - | then $ | |
762 | + | let $acc71549015536 = CurrentRewardEntry($acc61549015536, $list1549015536[6]) | |
763 | + | if (($size1549015536 == 7)) | |
764 | + | then $acc71549015536 | |
765 | 765 | else { | |
766 | - | let $ | |
767 | - | if (($ | |
768 | - | then $ | |
766 | + | let $acc81549015536 = CurrentRewardEntry($acc71549015536, $list1549015536[7]) | |
767 | + | if (($size1549015536 == 8)) | |
768 | + | then $acc81549015536 | |
769 | 769 | else { | |
770 | - | let $ | |
771 | - | if (($ | |
772 | - | then $ | |
770 | + | let $acc91549015536 = CurrentRewardEntry($acc81549015536, $list1549015536[8]) | |
771 | + | if (($size1549015536 == 9)) | |
772 | + | then $acc91549015536 | |
773 | 773 | else { | |
774 | - | let $ | |
775 | - | if (($ | |
776 | - | then $ | |
774 | + | let $acc101549015536 = CurrentRewardEntry($acc91549015536, $list1549015536[9]) | |
775 | + | if (($size1549015536 == 10)) | |
776 | + | then $acc101549015536 | |
777 | 777 | else { | |
778 | - | let $ | |
779 | - | if (($ | |
780 | - | then $ | |
778 | + | let $acc111549015536 = CurrentRewardEntry($acc101549015536, $list1549015536[10]) | |
779 | + | if (($size1549015536 == 11)) | |
780 | + | then $acc111549015536 | |
781 | 781 | else { | |
782 | - | let $ | |
783 | - | if (($ | |
784 | - | then $ | |
782 | + | let $acc121549015536 = CurrentRewardEntry($acc111549015536, $list1549015536[11]) | |
783 | + | if (($size1549015536 == 12)) | |
784 | + | then $acc121549015536 | |
785 | 785 | else { | |
786 | - | let $ | |
787 | - | if (($ | |
788 | - | then $ | |
786 | + | let $acc131549015536 = CurrentRewardEntry($acc121549015536, $list1549015536[12]) | |
787 | + | if (($size1549015536 == 13)) | |
788 | + | then $acc131549015536 | |
789 | 789 | else { | |
790 | - | let $ | |
791 | - | if (($ | |
792 | - | then $ | |
790 | + | let $acc141549015536 = CurrentRewardEntry($acc131549015536, $list1549015536[13]) | |
791 | + | if (($size1549015536 == 14)) | |
792 | + | then $acc141549015536 | |
793 | 793 | else { | |
794 | - | let $ | |
795 | - | if (($ | |
796 | - | then $ | |
794 | + | let $acc151549015536 = CurrentRewardEntry($acc141549015536, $list1549015536[14]) | |
795 | + | if (($size1549015536 == 15)) | |
796 | + | then $acc151549015536 | |
797 | 797 | else { | |
798 | - | let $ | |
799 | - | if (($ | |
800 | - | then $ | |
798 | + | let $acc161549015536 = CurrentRewardEntry($acc151549015536, $list1549015536[15]) | |
799 | + | if (($size1549015536 == 16)) | |
800 | + | then $acc161549015536 | |
801 | 801 | else { | |
802 | - | let $ | |
803 | - | if (($ | |
804 | - | then $ | |
802 | + | let $acc171549015536 = CurrentRewardEntry($acc161549015536, $list1549015536[16]) | |
803 | + | if (($size1549015536 == 17)) | |
804 | + | then $acc171549015536 | |
805 | 805 | else { | |
806 | - | let $ | |
807 | - | if (($ | |
808 | - | then $ | |
806 | + | let $acc181549015536 = CurrentRewardEntry($acc171549015536, $list1549015536[17]) | |
807 | + | if (($size1549015536 == 18)) | |
808 | + | then $acc181549015536 | |
809 | 809 | else { | |
810 | - | let $ | |
811 | - | if (($ | |
812 | - | then $ | |
810 | + | let $acc191549015536 = CurrentRewardEntry($acc181549015536, $list1549015536[18]) | |
811 | + | if (($size1549015536 == 19)) | |
812 | + | then $acc191549015536 | |
813 | 813 | else { | |
814 | - | let $ | |
815 | - | if (($ | |
816 | - | then $ | |
814 | + | let $acc201549015536 = CurrentRewardEntry($acc191549015536, $list1549015536[19]) | |
815 | + | if (($size1549015536 == 20)) | |
816 | + | then $acc201549015536 | |
817 | 817 | else { | |
818 | - | let $ | |
818 | + | let $acc211549015536 = CurrentRewardEntry($acc201549015536, $list1549015536[20]) | |
819 | 819 | throw("List size exceed 20") | |
820 | 820 | } | |
821 | 821 | } | |
822 | 822 | } | |
823 | 823 | } | |
824 | 824 | } | |
825 | 825 | } | |
826 | 826 | } | |
827 | 827 | } | |
828 | 828 | } | |
829 | 829 | } | |
830 | 830 | } | |
831 | 831 | } | |
832 | 832 | } | |
833 | 833 | } | |
834 | 834 | } | |
835 | 835 | } | |
836 | 836 | } | |
837 | 837 | } | |
838 | 838 | } | |
839 | 839 | } | |
840 | 840 | } | |
841 | 841 | } | |
842 | 842 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
843 | 843 | } | |
844 | 844 | } | |
845 | 845 | ||
846 | 846 | ||
847 | 847 | ||
848 | 848 | @Callable(i) | |
849 | 849 | func shutdown () = if (!(isActive)) | |
850 | 850 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
851 | 851 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
852 | 852 | then throw("Only admin can call this function") | |
853 | 853 | else suspend("Paused by admin") | |
854 | 854 | ||
855 | 855 | ||
856 | 856 | ||
857 | 857 | @Callable(i) | |
858 | 858 | func activate () = if (isActive) | |
859 | 859 | then throw("DApp is already active") | |
860 | 860 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
861 | 861 | then throw("Only admin can call this function") | |
862 | 862 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
863 | 863 | ||
864 | 864 | ||
865 | 865 | @Verifier(tx) | |
866 | 866 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
867 | 867 |
github/deemru/w8io/026f985 887.53 ms ◑