tx · 9GCrdquSP4By7wZ194eJM5zGB9XgUjGWn5VZ5J6sRwP 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.05.14 13:15 [1525221] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "9GCrdquSP4By7wZ194eJM5zGB9XgUjGWn5VZ5J6sRwP", "fee": 1400000, "feeAssetId": null, "timestamp": 1620987361493, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "4Kbm2Trhbo5w75pVjkxsAxUpmDoDYbsKdDAThtpQv93iWtXAo2jRDDXcBtBwdCjX2pxmGqxg6Xb71yPo2uCBHvW6" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAASwAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzd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1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWWHgVI=", "height": 1525221, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6c8mAhB6ZmKW8dAiZJkDcR7K8mjbvEsfUJ8XgUwZ3Bc Next: zHwwtKtXyAmCc4ZTivrPQdeRr82XaimTWbR86GbTM1u 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'3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6') | |
83 | 83 | ||
84 | 84 | let keySWOPid = "SWOP_id" | |
85 | 85 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | func getUserVoteInfo (user) = { | |
177 | - | let $ | |
177 | + | let $t062596810 = 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 = $t062596810._1 | |
187 | + | let userUnvoted = $t062596810._2 | |
188 | + | let userUnvotedPeriod = $t062596810._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 $t086028682 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t086028682._1 | |
243 | + | let userSWOPLocked = $t086028682._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 $t089479022 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t089479022._1 | |
256 | + | let pmtAssetId = $t089479022._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 $t094609535 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t094609535._1 | |
275 | + | let pmtAssetId = $t094609535._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 $t096519733 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t096519733._1 | |
282 | + | let userSWOPLocked = $t096519733._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 $t01088310938 = claimCalc(i.caller) | |
305 | + | let userNewInterest = $t01088310938._1 | |
306 | + | let claimAmount = $t01088310938._2 | |
307 | + | let $t01094311008 = getUserVoteInfo(i.caller) | |
308 | + | let userVoteAmount = $t01094311008._1 | |
309 | + | let userUnvoteAmount = $t01094311008._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 $t01238312438 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01238312438._1 | |
340 | + | let claimAmount = $t01238312438._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 $t01321713272 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01321713272._1 | |
359 | + | let claimAmount = $t01321713272._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 $list1505315086 = previousRewards | |
393 | + | let $size1505315086 = size($list1505315086) | |
394 | + | let $acc01505315086 = 0 | |
395 | + | if (($size1505315086 == 0)) | |
396 | + | then $acc01505315086 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc11505315086 = sum($acc01505315086, $list1505315086[0]) | |
399 | + | if (($size1505315086 == 1)) | |
400 | + | then $acc11505315086 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc21505315086 = sum($acc11505315086, $list1505315086[1]) | |
403 | + | if (($size1505315086 == 2)) | |
404 | + | then $acc21505315086 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc31505315086 = sum($acc21505315086, $list1505315086[2]) | |
407 | + | if (($size1505315086 == 3)) | |
408 | + | then $acc31505315086 | |
409 | 409 | else { | |
410 | - | let $ | |
411 | - | if (($ | |
412 | - | then $ | |
410 | + | let $acc41505315086 = sum($acc31505315086, $list1505315086[3]) | |
411 | + | if (($size1505315086 == 4)) | |
412 | + | then $acc41505315086 | |
413 | 413 | else { | |
414 | - | let $ | |
415 | - | if (($ | |
416 | - | then $ | |
414 | + | let $acc51505315086 = sum($acc41505315086, $list1505315086[4]) | |
415 | + | if (($size1505315086 == 5)) | |
416 | + | then $acc51505315086 | |
417 | 417 | else { | |
418 | - | let $ | |
419 | - | if (($ | |
420 | - | then $ | |
418 | + | let $acc61505315086 = sum($acc51505315086, $list1505315086[5]) | |
419 | + | if (($size1505315086 == 6)) | |
420 | + | then $acc61505315086 | |
421 | 421 | else { | |
422 | - | let $ | |
423 | - | if (($ | |
424 | - | then $ | |
422 | + | let $acc71505315086 = sum($acc61505315086, $list1505315086[6]) | |
423 | + | if (($size1505315086 == 7)) | |
424 | + | then $acc71505315086 | |
425 | 425 | else { | |
426 | - | let $ | |
427 | - | if (($ | |
428 | - | then $ | |
426 | + | let $acc81505315086 = sum($acc71505315086, $list1505315086[7]) | |
427 | + | if (($size1505315086 == 8)) | |
428 | + | then $acc81505315086 | |
429 | 429 | else { | |
430 | - | let $ | |
431 | - | if (($ | |
432 | - | then $ | |
430 | + | let $acc91505315086 = sum($acc81505315086, $list1505315086[8]) | |
431 | + | if (($size1505315086 == 9)) | |
432 | + | then $acc91505315086 | |
433 | 433 | else { | |
434 | - | let $ | |
435 | - | if (($ | |
436 | - | then $ | |
434 | + | let $acc101505315086 = sum($acc91505315086, $list1505315086[9]) | |
435 | + | if (($size1505315086 == 10)) | |
436 | + | then $acc101505315086 | |
437 | 437 | else { | |
438 | - | let $ | |
439 | - | if (($ | |
440 | - | then $ | |
438 | + | let $acc111505315086 = sum($acc101505315086, $list1505315086[10]) | |
439 | + | if (($size1505315086 == 11)) | |
440 | + | then $acc111505315086 | |
441 | 441 | else { | |
442 | - | let $ | |
443 | - | if (($ | |
444 | - | then $ | |
442 | + | let $acc121505315086 = sum($acc111505315086, $list1505315086[11]) | |
443 | + | if (($size1505315086 == 12)) | |
444 | + | then $acc121505315086 | |
445 | 445 | else { | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
446 | + | let $acc131505315086 = sum($acc121505315086, $list1505315086[12]) | |
447 | + | if (($size1505315086 == 13)) | |
448 | + | then $acc131505315086 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc141505315086 = sum($acc131505315086, $list1505315086[13]) | |
451 | + | if (($size1505315086 == 14)) | |
452 | + | then $acc141505315086 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc151505315086 = sum($acc141505315086, $list1505315086[14]) | |
455 | + | if (($size1505315086 == 15)) | |
456 | + | then $acc151505315086 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc161505315086 = sum($acc151505315086, $list1505315086[15]) | |
459 | + | if (($size1505315086 == 16)) | |
460 | + | then $acc161505315086 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc171505315086 = sum($acc161505315086, $list1505315086[16]) | |
463 | + | if (($size1505315086 == 17)) | |
464 | + | then $acc171505315086 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc181505315086 = sum($acc171505315086, $list1505315086[17]) | |
467 | + | if (($size1505315086 == 18)) | |
468 | + | then $acc181505315086 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc191505315086 = sum($acc181505315086, $list1505315086[18]) | |
471 | + | if (($size1505315086 == 19)) | |
472 | + | then $acc191505315086 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc201505315086 = sum($acc191505315086, $list1505315086[19]) | |
475 | + | if (($size1505315086 == 20)) | |
476 | + | then $acc201505315086 | |
477 | 477 | else { | |
478 | - | let $ | |
478 | + | let $acc211505315086 = sum($acc201505315086, $list1505315086[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 $list1511515147 = currentRewards | |
504 | + | let $size1511515147 = size($list1511515147) | |
505 | + | let $acc01511515147 = 0 | |
506 | + | if (($size1511515147 == 0)) | |
507 | + | then $acc01511515147 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc11511515147 = sum($acc01511515147, $list1511515147[0]) | |
510 | + | if (($size1511515147 == 1)) | |
511 | + | then $acc11511515147 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc21511515147 = sum($acc11511515147, $list1511515147[1]) | |
514 | + | if (($size1511515147 == 2)) | |
515 | + | then $acc21511515147 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc31511515147 = sum($acc21511515147, $list1511515147[2]) | |
518 | + | if (($size1511515147 == 3)) | |
519 | + | then $acc31511515147 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc41511515147 = sum($acc31511515147, $list1511515147[3]) | |
522 | + | if (($size1511515147 == 4)) | |
523 | + | then $acc41511515147 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc51511515147 = sum($acc41511515147, $list1511515147[4]) | |
526 | + | if (($size1511515147 == 5)) | |
527 | + | then $acc51511515147 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc61511515147 = sum($acc51511515147, $list1511515147[5]) | |
530 | + | if (($size1511515147 == 6)) | |
531 | + | then $acc61511515147 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc71511515147 = sum($acc61511515147, $list1511515147[6]) | |
534 | + | if (($size1511515147 == 7)) | |
535 | + | then $acc71511515147 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc81511515147 = sum($acc71511515147, $list1511515147[7]) | |
538 | + | if (($size1511515147 == 8)) | |
539 | + | then $acc81511515147 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc91511515147 = sum($acc81511515147, $list1511515147[8]) | |
542 | + | if (($size1511515147 == 9)) | |
543 | + | then $acc91511515147 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc101511515147 = sum($acc91511515147, $list1511515147[9]) | |
546 | + | if (($size1511515147 == 10)) | |
547 | + | then $acc101511515147 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc111511515147 = sum($acc101511515147, $list1511515147[10]) | |
550 | + | if (($size1511515147 == 11)) | |
551 | + | then $acc111511515147 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc121511515147 = sum($acc111511515147, $list1511515147[11]) | |
554 | + | if (($size1511515147 == 12)) | |
555 | + | then $acc121511515147 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc131511515147 = sum($acc121511515147, $list1511515147[12]) | |
558 | + | if (($size1511515147 == 13)) | |
559 | + | then $acc131511515147 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc141511515147 = sum($acc131511515147, $list1511515147[13]) | |
562 | + | if (($size1511515147 == 14)) | |
563 | + | then $acc141511515147 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc151511515147 = sum($acc141511515147, $list1511515147[14]) | |
566 | + | if (($size1511515147 == 15)) | |
567 | + | then $acc151511515147 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc161511515147 = sum($acc151511515147, $list1511515147[15]) | |
570 | + | if (($size1511515147 == 16)) | |
571 | + | then $acc161511515147 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc171511515147 = sum($acc161511515147, $list1511515147[16]) | |
574 | + | if (($size1511515147 == 17)) | |
575 | + | then $acc171511515147 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc181511515147 = sum($acc171511515147, $list1511515147[17]) | |
578 | + | if (($size1511515147 == 18)) | |
579 | + | then $acc181511515147 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc191511515147 = sum($acc181511515147, $list1511515147[18]) | |
582 | + | if (($size1511515147 == 19)) | |
583 | + | then $acc191511515147 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc201511515147 = sum($acc191511515147, $list1511515147[19]) | |
586 | + | if (($size1511515147 == 20)) | |
587 | + | then $acc201511515147 | |
588 | 588 | else { | |
589 | - | let $ | |
589 | + | let $acc211511515147 = sum($acc201511515147, $list1511515147[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 $list1545615504 = previousPools | |
622 | + | let $size1545615504 = size($list1545615504) | |
623 | + | let $acc01545615504 = nil | |
624 | + | if (($size1545615504 == 0)) | |
625 | + | then $acc01545615504 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc11545615504 = PreviousRewardEntry($acc01545615504, $list1545615504[0]) | |
628 | + | if (($size1545615504 == 1)) | |
629 | + | then $acc11545615504 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc21545615504 = PreviousRewardEntry($acc11545615504, $list1545615504[1]) | |
632 | + | if (($size1545615504 == 2)) | |
633 | + | then $acc21545615504 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc31545615504 = PreviousRewardEntry($acc21545615504, $list1545615504[2]) | |
636 | + | if (($size1545615504 == 3)) | |
637 | + | then $acc31545615504 | |
638 | 638 | else { | |
639 | - | let $ | |
640 | - | if (($ | |
641 | - | then $ | |
639 | + | let $acc41545615504 = PreviousRewardEntry($acc31545615504, $list1545615504[3]) | |
640 | + | if (($size1545615504 == 4)) | |
641 | + | then $acc41545615504 | |
642 | 642 | else { | |
643 | - | let $ | |
644 | - | if (($ | |
645 | - | then $ | |
643 | + | let $acc51545615504 = PreviousRewardEntry($acc41545615504, $list1545615504[4]) | |
644 | + | if (($size1545615504 == 5)) | |
645 | + | then $acc51545615504 | |
646 | 646 | else { | |
647 | - | let $ | |
648 | - | if (($ | |
649 | - | then $ | |
647 | + | let $acc61545615504 = PreviousRewardEntry($acc51545615504, $list1545615504[5]) | |
648 | + | if (($size1545615504 == 6)) | |
649 | + | then $acc61545615504 | |
650 | 650 | else { | |
651 | - | let $ | |
652 | - | if (($ | |
653 | - | then $ | |
651 | + | let $acc71545615504 = PreviousRewardEntry($acc61545615504, $list1545615504[6]) | |
652 | + | if (($size1545615504 == 7)) | |
653 | + | then $acc71545615504 | |
654 | 654 | else { | |
655 | - | let $ | |
656 | - | if (($ | |
657 | - | then $ | |
655 | + | let $acc81545615504 = PreviousRewardEntry($acc71545615504, $list1545615504[7]) | |
656 | + | if (($size1545615504 == 8)) | |
657 | + | then $acc81545615504 | |
658 | 658 | else { | |
659 | - | let $ | |
660 | - | if (($ | |
661 | - | then $ | |
659 | + | let $acc91545615504 = PreviousRewardEntry($acc81545615504, $list1545615504[8]) | |
660 | + | if (($size1545615504 == 9)) | |
661 | + | then $acc91545615504 | |
662 | 662 | else { | |
663 | - | let $ | |
664 | - | if (($ | |
665 | - | then $ | |
663 | + | let $acc101545615504 = PreviousRewardEntry($acc91545615504, $list1545615504[9]) | |
664 | + | if (($size1545615504 == 10)) | |
665 | + | then $acc101545615504 | |
666 | 666 | else { | |
667 | - | let $ | |
668 | - | if (($ | |
669 | - | then $ | |
667 | + | let $acc111545615504 = PreviousRewardEntry($acc101545615504, $list1545615504[10]) | |
668 | + | if (($size1545615504 == 11)) | |
669 | + | then $acc111545615504 | |
670 | 670 | else { | |
671 | - | let $ | |
672 | - | if (($ | |
673 | - | then $ | |
671 | + | let $acc121545615504 = PreviousRewardEntry($acc111545615504, $list1545615504[11]) | |
672 | + | if (($size1545615504 == 12)) | |
673 | + | then $acc121545615504 | |
674 | 674 | else { | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
675 | + | let $acc131545615504 = PreviousRewardEntry($acc121545615504, $list1545615504[12]) | |
676 | + | if (($size1545615504 == 13)) | |
677 | + | then $acc131545615504 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc141545615504 = PreviousRewardEntry($acc131545615504, $list1545615504[13]) | |
680 | + | if (($size1545615504 == 14)) | |
681 | + | then $acc141545615504 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc151545615504 = PreviousRewardEntry($acc141545615504, $list1545615504[14]) | |
684 | + | if (($size1545615504 == 15)) | |
685 | + | then $acc151545615504 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc161545615504 = PreviousRewardEntry($acc151545615504, $list1545615504[15]) | |
688 | + | if (($size1545615504 == 16)) | |
689 | + | then $acc161545615504 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc171545615504 = PreviousRewardEntry($acc161545615504, $list1545615504[16]) | |
692 | + | if (($size1545615504 == 17)) | |
693 | + | then $acc171545615504 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc181545615504 = PreviousRewardEntry($acc171545615504, $list1545615504[17]) | |
696 | + | if (($size1545615504 == 18)) | |
697 | + | then $acc181545615504 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc191545615504 = PreviousRewardEntry($acc181545615504, $list1545615504[18]) | |
700 | + | if (($size1545615504 == 19)) | |
701 | + | then $acc191545615504 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc201545615504 = PreviousRewardEntry($acc191545615504, $list1545615504[19]) | |
704 | + | if (($size1545615504 == 20)) | |
705 | + | then $acc201545615504 | |
706 | 706 | else { | |
707 | - | let $ | |
707 | + | let $acc211545615504 = PreviousRewardEntry($acc201545615504, $list1545615504[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 $list1553715583 = currentPools | |
733 | + | let $size1553715583 = size($list1553715583) | |
734 | + | let $acc01553715583 = nil | |
735 | + | if (($size1553715583 == 0)) | |
736 | + | then $acc01553715583 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc11553715583 = CurrentRewardEntry($acc01553715583, $list1553715583[0]) | |
739 | + | if (($size1553715583 == 1)) | |
740 | + | then $acc11553715583 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc21553715583 = CurrentRewardEntry($acc11553715583, $list1553715583[1]) | |
743 | + | if (($size1553715583 == 2)) | |
744 | + | then $acc21553715583 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc31553715583 = CurrentRewardEntry($acc21553715583, $list1553715583[2]) | |
747 | + | if (($size1553715583 == 3)) | |
748 | + | then $acc31553715583 | |
749 | 749 | else { | |
750 | - | let $ | |
751 | - | if (($ | |
752 | - | then $ | |
750 | + | let $acc41553715583 = CurrentRewardEntry($acc31553715583, $list1553715583[3]) | |
751 | + | if (($size1553715583 == 4)) | |
752 | + | then $acc41553715583 | |
753 | 753 | else { | |
754 | - | let $ | |
755 | - | if (($ | |
756 | - | then $ | |
754 | + | let $acc51553715583 = CurrentRewardEntry($acc41553715583, $list1553715583[4]) | |
755 | + | if (($size1553715583 == 5)) | |
756 | + | then $acc51553715583 | |
757 | 757 | else { | |
758 | - | let $ | |
759 | - | if (($ | |
760 | - | then $ | |
758 | + | let $acc61553715583 = CurrentRewardEntry($acc51553715583, $list1553715583[5]) | |
759 | + | if (($size1553715583 == 6)) | |
760 | + | then $acc61553715583 | |
761 | 761 | else { | |
762 | - | let $ | |
763 | - | if (($ | |
764 | - | then $ | |
762 | + | let $acc71553715583 = CurrentRewardEntry($acc61553715583, $list1553715583[6]) | |
763 | + | if (($size1553715583 == 7)) | |
764 | + | then $acc71553715583 | |
765 | 765 | else { | |
766 | - | let $ | |
767 | - | if (($ | |
768 | - | then $ | |
766 | + | let $acc81553715583 = CurrentRewardEntry($acc71553715583, $list1553715583[7]) | |
767 | + | if (($size1553715583 == 8)) | |
768 | + | then $acc81553715583 | |
769 | 769 | else { | |
770 | - | let $ | |
771 | - | if (($ | |
772 | - | then $ | |
770 | + | let $acc91553715583 = CurrentRewardEntry($acc81553715583, $list1553715583[8]) | |
771 | + | if (($size1553715583 == 9)) | |
772 | + | then $acc91553715583 | |
773 | 773 | else { | |
774 | - | let $ | |
775 | - | if (($ | |
776 | - | then $ | |
774 | + | let $acc101553715583 = CurrentRewardEntry($acc91553715583, $list1553715583[9]) | |
775 | + | if (($size1553715583 == 10)) | |
776 | + | then $acc101553715583 | |
777 | 777 | else { | |
778 | - | let $ | |
779 | - | if (($ | |
780 | - | then $ | |
778 | + | let $acc111553715583 = CurrentRewardEntry($acc101553715583, $list1553715583[10]) | |
779 | + | if (($size1553715583 == 11)) | |
780 | + | then $acc111553715583 | |
781 | 781 | else { | |
782 | - | let $ | |
783 | - | if (($ | |
784 | - | then $ | |
782 | + | let $acc121553715583 = CurrentRewardEntry($acc111553715583, $list1553715583[11]) | |
783 | + | if (($size1553715583 == 12)) | |
784 | + | then $acc121553715583 | |
785 | 785 | else { | |
786 | - | let $ | |
787 | - | if (($ | |
788 | - | then $ | |
786 | + | let $acc131553715583 = CurrentRewardEntry($acc121553715583, $list1553715583[12]) | |
787 | + | if (($size1553715583 == 13)) | |
788 | + | then $acc131553715583 | |
789 | 789 | else { | |
790 | - | let $ | |
791 | - | if (($ | |
792 | - | then $ | |
790 | + | let $acc141553715583 = CurrentRewardEntry($acc131553715583, $list1553715583[13]) | |
791 | + | if (($size1553715583 == 14)) | |
792 | + | then $acc141553715583 | |
793 | 793 | else { | |
794 | - | let $ | |
795 | - | if (($ | |
796 | - | then $ | |
794 | + | let $acc151553715583 = CurrentRewardEntry($acc141553715583, $list1553715583[14]) | |
795 | + | if (($size1553715583 == 15)) | |
796 | + | then $acc151553715583 | |
797 | 797 | else { | |
798 | - | let $ | |
799 | - | if (($ | |
800 | - | then $ | |
798 | + | let $acc161553715583 = CurrentRewardEntry($acc151553715583, $list1553715583[15]) | |
799 | + | if (($size1553715583 == 16)) | |
800 | + | then $acc161553715583 | |
801 | 801 | else { | |
802 | - | let $ | |
803 | - | if (($ | |
804 | - | then $ | |
802 | + | let $acc171553715583 = CurrentRewardEntry($acc161553715583, $list1553715583[16]) | |
803 | + | if (($size1553715583 == 17)) | |
804 | + | then $acc171553715583 | |
805 | 805 | else { | |
806 | - | let $ | |
807 | - | if (($ | |
808 | - | then $ | |
806 | + | let $acc181553715583 = CurrentRewardEntry($acc171553715583, $list1553715583[17]) | |
807 | + | if (($size1553715583 == 18)) | |
808 | + | then $acc181553715583 | |
809 | 809 | else { | |
810 | - | let $ | |
811 | - | if (($ | |
812 | - | then $ | |
810 | + | let $acc191553715583 = CurrentRewardEntry($acc181553715583, $list1553715583[18]) | |
811 | + | if (($size1553715583 == 19)) | |
812 | + | then $acc191553715583 | |
813 | 813 | else { | |
814 | - | let $ | |
815 | - | if (($ | |
816 | - | then $ | |
814 | + | let $acc201553715583 = CurrentRewardEntry($acc191553715583, $list1553715583[19]) | |
815 | + | if (($size1553715583 == 20)) | |
816 | + | then $acc201553715583 | |
817 | 817 | else { | |
818 | - | let $ | |
818 | + | let $acc211553715583 = CurrentRewardEntry($acc201553715583, $list1553715583[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'3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6') | |
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 $t062596810 = 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 = $t062596810._1 | |
187 | + | let userUnvoted = $t062596810._2 | |
188 | + | let userUnvotedPeriod = $t062596810._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 $t086028682 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t086028682._1 | |
243 | + | let userSWOPLocked = $t086028682._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 $t089479022 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t089479022._1 | |
256 | + | let pmtAssetId = $t089479022._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 $t094609535 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t094609535._1 | |
275 | + | let pmtAssetId = $t094609535._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 $t096519733 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t096519733._1 | |
282 | + | let userSWOPLocked = $t096519733._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 $t01088310938 = claimCalc(i.caller) | |
305 | + | let userNewInterest = $t01088310938._1 | |
306 | + | let claimAmount = $t01088310938._2 | |
307 | + | let $t01094311008 = getUserVoteInfo(i.caller) | |
308 | + | let userVoteAmount = $t01094311008._1 | |
309 | + | let userUnvoteAmount = $t01094311008._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 $t01238312438 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01238312438._1 | |
340 | + | let claimAmount = $t01238312438._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 $t01321713272 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01321713272._1 | |
359 | + | let claimAmount = $t01321713272._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 $list1505315086 = previousRewards | |
393 | + | let $size1505315086 = size($list1505315086) | |
394 | + | let $acc01505315086 = 0 | |
395 | + | if (($size1505315086 == 0)) | |
396 | + | then $acc01505315086 | |
397 | 397 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
398 | + | let $acc11505315086 = sum($acc01505315086, $list1505315086[0]) | |
399 | + | if (($size1505315086 == 1)) | |
400 | + | then $acc11505315086 | |
401 | 401 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
402 | + | let $acc21505315086 = sum($acc11505315086, $list1505315086[1]) | |
403 | + | if (($size1505315086 == 2)) | |
404 | + | then $acc21505315086 | |
405 | 405 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
406 | + | let $acc31505315086 = sum($acc21505315086, $list1505315086[2]) | |
407 | + | if (($size1505315086 == 3)) | |
408 | + | then $acc31505315086 | |
409 | 409 | else { | |
410 | - | let $ | |
411 | - | if (($ | |
412 | - | then $ | |
410 | + | let $acc41505315086 = sum($acc31505315086, $list1505315086[3]) | |
411 | + | if (($size1505315086 == 4)) | |
412 | + | then $acc41505315086 | |
413 | 413 | else { | |
414 | - | let $ | |
415 | - | if (($ | |
416 | - | then $ | |
414 | + | let $acc51505315086 = sum($acc41505315086, $list1505315086[4]) | |
415 | + | if (($size1505315086 == 5)) | |
416 | + | then $acc51505315086 | |
417 | 417 | else { | |
418 | - | let $ | |
419 | - | if (($ | |
420 | - | then $ | |
418 | + | let $acc61505315086 = sum($acc51505315086, $list1505315086[5]) | |
419 | + | if (($size1505315086 == 6)) | |
420 | + | then $acc61505315086 | |
421 | 421 | else { | |
422 | - | let $ | |
423 | - | if (($ | |
424 | - | then $ | |
422 | + | let $acc71505315086 = sum($acc61505315086, $list1505315086[6]) | |
423 | + | if (($size1505315086 == 7)) | |
424 | + | then $acc71505315086 | |
425 | 425 | else { | |
426 | - | let $ | |
427 | - | if (($ | |
428 | - | then $ | |
426 | + | let $acc81505315086 = sum($acc71505315086, $list1505315086[7]) | |
427 | + | if (($size1505315086 == 8)) | |
428 | + | then $acc81505315086 | |
429 | 429 | else { | |
430 | - | let $ | |
431 | - | if (($ | |
432 | - | then $ | |
430 | + | let $acc91505315086 = sum($acc81505315086, $list1505315086[8]) | |
431 | + | if (($size1505315086 == 9)) | |
432 | + | then $acc91505315086 | |
433 | 433 | else { | |
434 | - | let $ | |
435 | - | if (($ | |
436 | - | then $ | |
434 | + | let $acc101505315086 = sum($acc91505315086, $list1505315086[9]) | |
435 | + | if (($size1505315086 == 10)) | |
436 | + | then $acc101505315086 | |
437 | 437 | else { | |
438 | - | let $ | |
439 | - | if (($ | |
440 | - | then $ | |
438 | + | let $acc111505315086 = sum($acc101505315086, $list1505315086[10]) | |
439 | + | if (($size1505315086 == 11)) | |
440 | + | then $acc111505315086 | |
441 | 441 | else { | |
442 | - | let $ | |
443 | - | if (($ | |
444 | - | then $ | |
442 | + | let $acc121505315086 = sum($acc111505315086, $list1505315086[11]) | |
443 | + | if (($size1505315086 == 12)) | |
444 | + | then $acc121505315086 | |
445 | 445 | else { | |
446 | - | let $ | |
447 | - | if (($ | |
448 | - | then $ | |
446 | + | let $acc131505315086 = sum($acc121505315086, $list1505315086[12]) | |
447 | + | if (($size1505315086 == 13)) | |
448 | + | then $acc131505315086 | |
449 | 449 | else { | |
450 | - | let $ | |
451 | - | if (($ | |
452 | - | then $ | |
450 | + | let $acc141505315086 = sum($acc131505315086, $list1505315086[13]) | |
451 | + | if (($size1505315086 == 14)) | |
452 | + | then $acc141505315086 | |
453 | 453 | else { | |
454 | - | let $ | |
455 | - | if (($ | |
456 | - | then $ | |
454 | + | let $acc151505315086 = sum($acc141505315086, $list1505315086[14]) | |
455 | + | if (($size1505315086 == 15)) | |
456 | + | then $acc151505315086 | |
457 | 457 | else { | |
458 | - | let $ | |
459 | - | if (($ | |
460 | - | then $ | |
458 | + | let $acc161505315086 = sum($acc151505315086, $list1505315086[15]) | |
459 | + | if (($size1505315086 == 16)) | |
460 | + | then $acc161505315086 | |
461 | 461 | else { | |
462 | - | let $ | |
463 | - | if (($ | |
464 | - | then $ | |
462 | + | let $acc171505315086 = sum($acc161505315086, $list1505315086[16]) | |
463 | + | if (($size1505315086 == 17)) | |
464 | + | then $acc171505315086 | |
465 | 465 | else { | |
466 | - | let $ | |
467 | - | if (($ | |
468 | - | then $ | |
466 | + | let $acc181505315086 = sum($acc171505315086, $list1505315086[17]) | |
467 | + | if (($size1505315086 == 18)) | |
468 | + | then $acc181505315086 | |
469 | 469 | else { | |
470 | - | let $ | |
471 | - | if (($ | |
472 | - | then $ | |
470 | + | let $acc191505315086 = sum($acc181505315086, $list1505315086[18]) | |
471 | + | if (($size1505315086 == 19)) | |
472 | + | then $acc191505315086 | |
473 | 473 | else { | |
474 | - | let $ | |
475 | - | if (($ | |
476 | - | then $ | |
474 | + | let $acc201505315086 = sum($acc191505315086, $list1505315086[19]) | |
475 | + | if (($size1505315086 == 20)) | |
476 | + | then $acc201505315086 | |
477 | 477 | else { | |
478 | - | let $ | |
478 | + | let $acc211505315086 = sum($acc201505315086, $list1505315086[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 $list1511515147 = currentRewards | |
504 | + | let $size1511515147 = size($list1511515147) | |
505 | + | let $acc01511515147 = 0 | |
506 | + | if (($size1511515147 == 0)) | |
507 | + | then $acc01511515147 | |
508 | 508 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
509 | + | let $acc11511515147 = sum($acc01511515147, $list1511515147[0]) | |
510 | + | if (($size1511515147 == 1)) | |
511 | + | then $acc11511515147 | |
512 | 512 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
513 | + | let $acc21511515147 = sum($acc11511515147, $list1511515147[1]) | |
514 | + | if (($size1511515147 == 2)) | |
515 | + | then $acc21511515147 | |
516 | 516 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
517 | + | let $acc31511515147 = sum($acc21511515147, $list1511515147[2]) | |
518 | + | if (($size1511515147 == 3)) | |
519 | + | then $acc31511515147 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc41511515147 = sum($acc31511515147, $list1511515147[3]) | |
522 | + | if (($size1511515147 == 4)) | |
523 | + | then $acc41511515147 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc51511515147 = sum($acc41511515147, $list1511515147[4]) | |
526 | + | if (($size1511515147 == 5)) | |
527 | + | then $acc51511515147 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc61511515147 = sum($acc51511515147, $list1511515147[5]) | |
530 | + | if (($size1511515147 == 6)) | |
531 | + | then $acc61511515147 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc71511515147 = sum($acc61511515147, $list1511515147[6]) | |
534 | + | if (($size1511515147 == 7)) | |
535 | + | then $acc71511515147 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc81511515147 = sum($acc71511515147, $list1511515147[7]) | |
538 | + | if (($size1511515147 == 8)) | |
539 | + | then $acc81511515147 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc91511515147 = sum($acc81511515147, $list1511515147[8]) | |
542 | + | if (($size1511515147 == 9)) | |
543 | + | then $acc91511515147 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc101511515147 = sum($acc91511515147, $list1511515147[9]) | |
546 | + | if (($size1511515147 == 10)) | |
547 | + | then $acc101511515147 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc111511515147 = sum($acc101511515147, $list1511515147[10]) | |
550 | + | if (($size1511515147 == 11)) | |
551 | + | then $acc111511515147 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc121511515147 = sum($acc111511515147, $list1511515147[11]) | |
554 | + | if (($size1511515147 == 12)) | |
555 | + | then $acc121511515147 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc131511515147 = sum($acc121511515147, $list1511515147[12]) | |
558 | + | if (($size1511515147 == 13)) | |
559 | + | then $acc131511515147 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc141511515147 = sum($acc131511515147, $list1511515147[13]) | |
562 | + | if (($size1511515147 == 14)) | |
563 | + | then $acc141511515147 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc151511515147 = sum($acc141511515147, $list1511515147[14]) | |
566 | + | if (($size1511515147 == 15)) | |
567 | + | then $acc151511515147 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc161511515147 = sum($acc151511515147, $list1511515147[15]) | |
570 | + | if (($size1511515147 == 16)) | |
571 | + | then $acc161511515147 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc171511515147 = sum($acc161511515147, $list1511515147[16]) | |
574 | + | if (($size1511515147 == 17)) | |
575 | + | then $acc171511515147 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc181511515147 = sum($acc171511515147, $list1511515147[17]) | |
578 | + | if (($size1511515147 == 18)) | |
579 | + | then $acc181511515147 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc191511515147 = sum($acc181511515147, $list1511515147[18]) | |
582 | + | if (($size1511515147 == 19)) | |
583 | + | then $acc191511515147 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc201511515147 = sum($acc191511515147, $list1511515147[19]) | |
586 | + | if (($size1511515147 == 20)) | |
587 | + | then $acc201511515147 | |
588 | 588 | else { | |
589 | - | let $ | |
589 | + | let $acc211511515147 = sum($acc201511515147, $list1511515147[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 $list1545615504 = previousPools | |
622 | + | let $size1545615504 = size($list1545615504) | |
623 | + | let $acc01545615504 = nil | |
624 | + | if (($size1545615504 == 0)) | |
625 | + | then $acc01545615504 | |
626 | 626 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
627 | + | let $acc11545615504 = PreviousRewardEntry($acc01545615504, $list1545615504[0]) | |
628 | + | if (($size1545615504 == 1)) | |
629 | + | then $acc11545615504 | |
630 | 630 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
631 | + | let $acc21545615504 = PreviousRewardEntry($acc11545615504, $list1545615504[1]) | |
632 | + | if (($size1545615504 == 2)) | |
633 | + | then $acc21545615504 | |
634 | 634 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
635 | + | let $acc31545615504 = PreviousRewardEntry($acc21545615504, $list1545615504[2]) | |
636 | + | if (($size1545615504 == 3)) | |
637 | + | then $acc31545615504 | |
638 | 638 | else { | |
639 | - | let $ | |
640 | - | if (($ | |
641 | - | then $ | |
639 | + | let $acc41545615504 = PreviousRewardEntry($acc31545615504, $list1545615504[3]) | |
640 | + | if (($size1545615504 == 4)) | |
641 | + | then $acc41545615504 | |
642 | 642 | else { | |
643 | - | let $ | |
644 | - | if (($ | |
645 | - | then $ | |
643 | + | let $acc51545615504 = PreviousRewardEntry($acc41545615504, $list1545615504[4]) | |
644 | + | if (($size1545615504 == 5)) | |
645 | + | then $acc51545615504 | |
646 | 646 | else { | |
647 | - | let $ | |
648 | - | if (($ | |
649 | - | then $ | |
647 | + | let $acc61545615504 = PreviousRewardEntry($acc51545615504, $list1545615504[5]) | |
648 | + | if (($size1545615504 == 6)) | |
649 | + | then $acc61545615504 | |
650 | 650 | else { | |
651 | - | let $ | |
652 | - | if (($ | |
653 | - | then $ | |
651 | + | let $acc71545615504 = PreviousRewardEntry($acc61545615504, $list1545615504[6]) | |
652 | + | if (($size1545615504 == 7)) | |
653 | + | then $acc71545615504 | |
654 | 654 | else { | |
655 | - | let $ | |
656 | - | if (($ | |
657 | - | then $ | |
655 | + | let $acc81545615504 = PreviousRewardEntry($acc71545615504, $list1545615504[7]) | |
656 | + | if (($size1545615504 == 8)) | |
657 | + | then $acc81545615504 | |
658 | 658 | else { | |
659 | - | let $ | |
660 | - | if (($ | |
661 | - | then $ | |
659 | + | let $acc91545615504 = PreviousRewardEntry($acc81545615504, $list1545615504[8]) | |
660 | + | if (($size1545615504 == 9)) | |
661 | + | then $acc91545615504 | |
662 | 662 | else { | |
663 | - | let $ | |
664 | - | if (($ | |
665 | - | then $ | |
663 | + | let $acc101545615504 = PreviousRewardEntry($acc91545615504, $list1545615504[9]) | |
664 | + | if (($size1545615504 == 10)) | |
665 | + | then $acc101545615504 | |
666 | 666 | else { | |
667 | - | let $ | |
668 | - | if (($ | |
669 | - | then $ | |
667 | + | let $acc111545615504 = PreviousRewardEntry($acc101545615504, $list1545615504[10]) | |
668 | + | if (($size1545615504 == 11)) | |
669 | + | then $acc111545615504 | |
670 | 670 | else { | |
671 | - | let $ | |
672 | - | if (($ | |
673 | - | then $ | |
671 | + | let $acc121545615504 = PreviousRewardEntry($acc111545615504, $list1545615504[11]) | |
672 | + | if (($size1545615504 == 12)) | |
673 | + | then $acc121545615504 | |
674 | 674 | else { | |
675 | - | let $ | |
676 | - | if (($ | |
677 | - | then $ | |
675 | + | let $acc131545615504 = PreviousRewardEntry($acc121545615504, $list1545615504[12]) | |
676 | + | if (($size1545615504 == 13)) | |
677 | + | then $acc131545615504 | |
678 | 678 | else { | |
679 | - | let $ | |
680 | - | if (($ | |
681 | - | then $ | |
679 | + | let $acc141545615504 = PreviousRewardEntry($acc131545615504, $list1545615504[13]) | |
680 | + | if (($size1545615504 == 14)) | |
681 | + | then $acc141545615504 | |
682 | 682 | else { | |
683 | - | let $ | |
684 | - | if (($ | |
685 | - | then $ | |
683 | + | let $acc151545615504 = PreviousRewardEntry($acc141545615504, $list1545615504[14]) | |
684 | + | if (($size1545615504 == 15)) | |
685 | + | then $acc151545615504 | |
686 | 686 | else { | |
687 | - | let $ | |
688 | - | if (($ | |
689 | - | then $ | |
687 | + | let $acc161545615504 = PreviousRewardEntry($acc151545615504, $list1545615504[15]) | |
688 | + | if (($size1545615504 == 16)) | |
689 | + | then $acc161545615504 | |
690 | 690 | else { | |
691 | - | let $ | |
692 | - | if (($ | |
693 | - | then $ | |
691 | + | let $acc171545615504 = PreviousRewardEntry($acc161545615504, $list1545615504[16]) | |
692 | + | if (($size1545615504 == 17)) | |
693 | + | then $acc171545615504 | |
694 | 694 | else { | |
695 | - | let $ | |
696 | - | if (($ | |
697 | - | then $ | |
695 | + | let $acc181545615504 = PreviousRewardEntry($acc171545615504, $list1545615504[17]) | |
696 | + | if (($size1545615504 == 18)) | |
697 | + | then $acc181545615504 | |
698 | 698 | else { | |
699 | - | let $ | |
700 | - | if (($ | |
701 | - | then $ | |
699 | + | let $acc191545615504 = PreviousRewardEntry($acc181545615504, $list1545615504[18]) | |
700 | + | if (($size1545615504 == 19)) | |
701 | + | then $acc191545615504 | |
702 | 702 | else { | |
703 | - | let $ | |
704 | - | if (($ | |
705 | - | then $ | |
703 | + | let $acc201545615504 = PreviousRewardEntry($acc191545615504, $list1545615504[19]) | |
704 | + | if (($size1545615504 == 20)) | |
705 | + | then $acc201545615504 | |
706 | 706 | else { | |
707 | - | let $ | |
707 | + | let $acc211545615504 = PreviousRewardEntry($acc201545615504, $list1545615504[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 $list1553715583 = currentPools | |
733 | + | let $size1553715583 = size($list1553715583) | |
734 | + | let $acc01553715583 = nil | |
735 | + | if (($size1553715583 == 0)) | |
736 | + | then $acc01553715583 | |
737 | 737 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
738 | + | let $acc11553715583 = CurrentRewardEntry($acc01553715583, $list1553715583[0]) | |
739 | + | if (($size1553715583 == 1)) | |
740 | + | then $acc11553715583 | |
741 | 741 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
742 | + | let $acc21553715583 = CurrentRewardEntry($acc11553715583, $list1553715583[1]) | |
743 | + | if (($size1553715583 == 2)) | |
744 | + | then $acc21553715583 | |
745 | 745 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
746 | + | let $acc31553715583 = CurrentRewardEntry($acc21553715583, $list1553715583[2]) | |
747 | + | if (($size1553715583 == 3)) | |
748 | + | then $acc31553715583 | |
749 | 749 | else { | |
750 | - | let $ | |
751 | - | if (($ | |
752 | - | then $ | |
750 | + | let $acc41553715583 = CurrentRewardEntry($acc31553715583, $list1553715583[3]) | |
751 | + | if (($size1553715583 == 4)) | |
752 | + | then $acc41553715583 | |
753 | 753 | else { | |
754 | - | let $ | |
755 | - | if (($ | |
756 | - | then $ | |
754 | + | let $acc51553715583 = CurrentRewardEntry($acc41553715583, $list1553715583[4]) | |
755 | + | if (($size1553715583 == 5)) | |
756 | + | then $acc51553715583 | |
757 | 757 | else { | |
758 | - | let $ | |
759 | - | if (($ | |
760 | - | then $ | |
758 | + | let $acc61553715583 = CurrentRewardEntry($acc51553715583, $list1553715583[5]) | |
759 | + | if (($size1553715583 == 6)) | |
760 | + | then $acc61553715583 | |
761 | 761 | else { | |
762 | - | let $ | |
763 | - | if (($ | |
764 | - | then $ | |
762 | + | let $acc71553715583 = CurrentRewardEntry($acc61553715583, $list1553715583[6]) | |
763 | + | if (($size1553715583 == 7)) | |
764 | + | then $acc71553715583 | |
765 | 765 | else { | |
766 | - | let $ | |
767 | - | if (($ | |
768 | - | then $ | |
766 | + | let $acc81553715583 = CurrentRewardEntry($acc71553715583, $list1553715583[7]) | |
767 | + | if (($size1553715583 == 8)) | |
768 | + | then $acc81553715583 | |
769 | 769 | else { | |
770 | - | let $ | |
771 | - | if (($ | |
772 | - | then $ | |
770 | + | let $acc91553715583 = CurrentRewardEntry($acc81553715583, $list1553715583[8]) | |
771 | + | if (($size1553715583 == 9)) | |
772 | + | then $acc91553715583 | |
773 | 773 | else { | |
774 | - | let $ | |
775 | - | if (($ | |
776 | - | then $ | |
774 | + | let $acc101553715583 = CurrentRewardEntry($acc91553715583, $list1553715583[9]) | |
775 | + | if (($size1553715583 == 10)) | |
776 | + | then $acc101553715583 | |
777 | 777 | else { | |
778 | - | let $ | |
779 | - | if (($ | |
780 | - | then $ | |
778 | + | let $acc111553715583 = CurrentRewardEntry($acc101553715583, $list1553715583[10]) | |
779 | + | if (($size1553715583 == 11)) | |
780 | + | then $acc111553715583 | |
781 | 781 | else { | |
782 | - | let $ | |
783 | - | if (($ | |
784 | - | then $ | |
782 | + | let $acc121553715583 = CurrentRewardEntry($acc111553715583, $list1553715583[11]) | |
783 | + | if (($size1553715583 == 12)) | |
784 | + | then $acc121553715583 | |
785 | 785 | else { | |
786 | - | let $ | |
787 | - | if (($ | |
788 | - | then $ | |
786 | + | let $acc131553715583 = CurrentRewardEntry($acc121553715583, $list1553715583[12]) | |
787 | + | if (($size1553715583 == 13)) | |
788 | + | then $acc131553715583 | |
789 | 789 | else { | |
790 | - | let $ | |
791 | - | if (($ | |
792 | - | then $ | |
790 | + | let $acc141553715583 = CurrentRewardEntry($acc131553715583, $list1553715583[13]) | |
791 | + | if (($size1553715583 == 14)) | |
792 | + | then $acc141553715583 | |
793 | 793 | else { | |
794 | - | let $ | |
795 | - | if (($ | |
796 | - | then $ | |
794 | + | let $acc151553715583 = CurrentRewardEntry($acc141553715583, $list1553715583[14]) | |
795 | + | if (($size1553715583 == 15)) | |
796 | + | then $acc151553715583 | |
797 | 797 | else { | |
798 | - | let $ | |
799 | - | if (($ | |
800 | - | then $ | |
798 | + | let $acc161553715583 = CurrentRewardEntry($acc151553715583, $list1553715583[15]) | |
799 | + | if (($size1553715583 == 16)) | |
800 | + | then $acc161553715583 | |
801 | 801 | else { | |
802 | - | let $ | |
803 | - | if (($ | |
804 | - | then $ | |
802 | + | let $acc171553715583 = CurrentRewardEntry($acc161553715583, $list1553715583[16]) | |
803 | + | if (($size1553715583 == 17)) | |
804 | + | then $acc171553715583 | |
805 | 805 | else { | |
806 | - | let $ | |
807 | - | if (($ | |
808 | - | then $ | |
806 | + | let $acc181553715583 = CurrentRewardEntry($acc171553715583, $list1553715583[17]) | |
807 | + | if (($size1553715583 == 18)) | |
808 | + | then $acc181553715583 | |
809 | 809 | else { | |
810 | - | let $ | |
811 | - | if (($ | |
812 | - | then $ | |
810 | + | let $acc191553715583 = CurrentRewardEntry($acc181553715583, $list1553715583[18]) | |
811 | + | if (($size1553715583 == 19)) | |
812 | + | then $acc191553715583 | |
813 | 813 | else { | |
814 | - | let $ | |
815 | - | if (($ | |
816 | - | then $ | |
814 | + | let $acc201553715583 = CurrentRewardEntry($acc191553715583, $list1553715583[19]) | |
815 | + | if (($size1553715583 == 20)) | |
816 | + | then $acc201553715583 | |
817 | 817 | else { | |
818 | - | let $ | |
818 | + | let $acc211553715583 = CurrentRewardEntry($acc201553715583, $list1553715583[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 893.07 ms ◑