tx · 9roLuGLHRYPLWrbSqgWWGa3hZMjVUipUZpuCYEzpHmma 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01400000 Waves 2021.04.20 16:12 [1490817] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "9roLuGLHRYPLWrbSqgWWGa3hZMjVUipUZpuCYEzpHmma", "fee": 1400000, "feeAssetId": null, "timestamp": 1618924349443, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "2t2FPuzCF9A4sc5LDKniErrAw3UGNZyWY57X6N1eH7KjNvcng2B2rYTED4KtG7c9BVvMBSatMAbXrN5g5r2wWWS2" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAAOAAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzdAIA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A9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQEAAAAHc3VzcGVuZAAAAAECAAAAD1BhdXNlZCBieSBhZG1pbgAAAAFpAQAAAAhhY3RpdmF0ZQAAAAADBQAAAAhpc0FjdGl2ZQkAAAIAAAABAgAAABZEQXBwIGlzIGFscmVhZHkgYWN0aXZlAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleX76Ksg=", "height": 1490817, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6i3fW7Tn2X4RDKyanEGobtax7HSLGRdKMLZq54zpE8Wx Next: Eioh8koR9ekEBgqi1BXfNjTKXd9eFWB9sBfgPbfo9DL3 Diff:
Old | New | Differences | |
---|---|---|---|
240 | 240 | @Callable(i) | |
241 | 241 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 242 | then throw("DApp is inactive at this moment") | |
243 | - | else { | |
244 | - | let totalSWOPLocked = getTotalSWOPLocked() | |
245 | - | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
246 | - | let $t083538408 = claimCalc(i.caller) | |
247 | - | let userNewInterest = $t083538408._1 | |
248 | - | let claimAmount = $t083538408._2 | |
249 | - | let $t084138478 = getUserVoteInfo(i.caller) | |
250 | - | let userVoteAmount = $t084138478._1 | |
251 | - | let userUnvoteAmount = $t084138478._2 | |
252 | - | if (if ((0 > userUnvoteAmount)) | |
253 | - | then true | |
254 | - | else (0 > userVoteAmount)) | |
255 | - | then throw("userUnvoteAmount < 0 || userVoteAmount < 0") | |
256 | - | else { | |
257 | - | let availableToUnstake = ((userSWOPLocked - userVoteAmount) - userUnvoteAmount) | |
258 | - | if ((withdrawAmount > availableToUnstake)) | |
259 | - | then throw("withdrawAmount > availableToUnstake") | |
260 | - | else { | |
261 | - | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
262 | - | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
263 | - | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
264 | - | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
243 | + | else if ((0 > withdrawAmount)) | |
244 | + | then throw("withdrawAmount < 0") | |
245 | + | else { | |
246 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
247 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
248 | + | let $t084178472 = claimCalc(i.caller) | |
249 | + | let userNewInterest = $t084178472._1 | |
250 | + | let claimAmount = $t084178472._2 | |
251 | + | let $t084778542 = getUserVoteInfo(i.caller) | |
252 | + | let userVoteAmount = $t084778542._1 | |
253 | + | let userUnvoteAmount = $t084778542._2 | |
254 | + | if (if ((0 > userUnvoteAmount)) | |
255 | + | then true | |
256 | + | else (0 > userVoteAmount)) | |
257 | + | then throw("userUnvoteAmount < 0 || userVoteAmount < 0") | |
258 | + | else { | |
259 | + | let availableToUnstake = ((userSWOPLocked - userVoteAmount) - userUnvoteAmount) | |
260 | + | if ((withdrawAmount > availableToUnstake)) | |
261 | + | then throw("withdrawAmount > availableToUnstake") | |
262 | + | else { | |
263 | + | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
264 | + | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
265 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
266 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
265 | 267 | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPamountNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
266 | - | } | |
267 | - | } | |
268 | - | } | |
268 | + | } | |
269 | + | } | |
270 | + | } | |
269 | 271 | ||
270 | 272 | ||
271 | 273 | ||
274 | 276 | then throw("DApp is inactive at this moment") | |
275 | 277 | else { | |
276 | 278 | let lastInterest = getLastInterestInfo() | |
277 | - | let $ | |
278 | - | let userNewInterest = $ | |
279 | - | let claimAmount = $ | |
279 | + | let $t097439798 = claimCalc(i.caller) | |
280 | + | let userNewInterest = $t097439798._1 | |
281 | + | let claimAmount = $t097439798._2 | |
280 | 282 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
281 | 283 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
282 | 284 | if ((claimAmount == 0)) | |
293 | 295 | let totalSWOPLocked = getTotalSWOPLocked() | |
294 | 296 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
295 | 297 | let lastInterest = getLastInterestInfo() | |
296 | - | let $ | |
297 | - | let userNewInterest = $ | |
298 | - | let claimAmount = $ | |
298 | + | let $t01057710632 = claimCalc(i.caller) | |
299 | + | let userNewInterest = $t01057710632._1 | |
300 | + | let claimAmount = $t01057710632._2 | |
299 | 301 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
300 | 302 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
301 | 303 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
328 | 330 | } | |
329 | 331 | ||
330 | 332 | let sumRewardPrevious = { | |
331 | - | let $ | |
332 | - | let $ | |
333 | - | let $ | |
334 | - | if (($ | |
335 | - | then $ | |
333 | + | let $list1241812451 = previousRewards | |
334 | + | let $size1241812451 = size($list1241812451) | |
335 | + | let $acc01241812451 = 0 | |
336 | + | if (($size1241812451 == 0)) | |
337 | + | then $acc01241812451 | |
336 | 338 | else { | |
337 | - | let $ | |
338 | - | if (($ | |
339 | - | then $ | |
339 | + | let $acc11241812451 = sum($acc01241812451, $list1241812451[0]) | |
340 | + | if (($size1241812451 == 1)) | |
341 | + | then $acc11241812451 | |
340 | 342 | else { | |
341 | - | let $ | |
342 | - | if (($ | |
343 | - | then $ | |
343 | + | let $acc21241812451 = sum($acc11241812451, $list1241812451[1]) | |
344 | + | if (($size1241812451 == 2)) | |
345 | + | then $acc21241812451 | |
344 | 346 | else { | |
345 | - | let $ | |
346 | - | if (($ | |
347 | - | then $ | |
347 | + | let $acc31241812451 = sum($acc21241812451, $list1241812451[2]) | |
348 | + | if (($size1241812451 == 3)) | |
349 | + | then $acc31241812451 | |
348 | 350 | else { | |
349 | - | let $ | |
350 | - | if (($ | |
351 | - | then $ | |
351 | + | let $acc41241812451 = sum($acc31241812451, $list1241812451[3]) | |
352 | + | if (($size1241812451 == 4)) | |
353 | + | then $acc41241812451 | |
352 | 354 | else { | |
353 | - | let $ | |
354 | - | if (($ | |
355 | - | then $ | |
355 | + | let $acc51241812451 = sum($acc41241812451, $list1241812451[4]) | |
356 | + | if (($size1241812451 == 5)) | |
357 | + | then $acc51241812451 | |
356 | 358 | else { | |
357 | - | let $ | |
358 | - | if (($ | |
359 | - | then $ | |
359 | + | let $acc61241812451 = sum($acc51241812451, $list1241812451[5]) | |
360 | + | if (($size1241812451 == 6)) | |
361 | + | then $acc61241812451 | |
360 | 362 | else { | |
361 | - | let $ | |
362 | - | if (($ | |
363 | - | then $ | |
363 | + | let $acc71241812451 = sum($acc61241812451, $list1241812451[6]) | |
364 | + | if (($size1241812451 == 7)) | |
365 | + | then $acc71241812451 | |
364 | 366 | else { | |
365 | - | let $ | |
366 | - | if (($ | |
367 | - | then $ | |
367 | + | let $acc81241812451 = sum($acc71241812451, $list1241812451[7]) | |
368 | + | if (($size1241812451 == 8)) | |
369 | + | then $acc81241812451 | |
368 | 370 | else { | |
369 | - | let $ | |
370 | - | if (($ | |
371 | - | then $ | |
371 | + | let $acc91241812451 = sum($acc81241812451, $list1241812451[8]) | |
372 | + | if (($size1241812451 == 9)) | |
373 | + | then $acc91241812451 | |
372 | 374 | else { | |
373 | - | let $ | |
374 | - | if (($ | |
375 | - | then $ | |
375 | + | let $acc101241812451 = sum($acc91241812451, $list1241812451[9]) | |
376 | + | if (($size1241812451 == 10)) | |
377 | + | then $acc101241812451 | |
376 | 378 | else { | |
377 | - | let $ | |
378 | - | if (($ | |
379 | - | then $ | |
379 | + | let $acc111241812451 = sum($acc101241812451, $list1241812451[10]) | |
380 | + | if (($size1241812451 == 11)) | |
381 | + | then $acc111241812451 | |
380 | 382 | else { | |
381 | - | let $ | |
382 | - | if (($ | |
383 | - | then $ | |
383 | + | let $acc121241812451 = sum($acc111241812451, $list1241812451[11]) | |
384 | + | if (($size1241812451 == 12)) | |
385 | + | then $acc121241812451 | |
384 | 386 | else { | |
385 | - | let $ | |
386 | - | if (($ | |
387 | - | then $ | |
387 | + | let $acc131241812451 = sum($acc121241812451, $list1241812451[12]) | |
388 | + | if (($size1241812451 == 13)) | |
389 | + | then $acc131241812451 | |
388 | 390 | else { | |
389 | - | let $ | |
390 | - | if (($ | |
391 | - | then $ | |
391 | + | let $acc141241812451 = sum($acc131241812451, $list1241812451[13]) | |
392 | + | if (($size1241812451 == 14)) | |
393 | + | then $acc141241812451 | |
392 | 394 | else { | |
393 | - | let $ | |
394 | - | if (($ | |
395 | - | then $ | |
395 | + | let $acc151241812451 = sum($acc141241812451, $list1241812451[14]) | |
396 | + | if (($size1241812451 == 15)) | |
397 | + | then $acc151241812451 | |
396 | 398 | else { | |
397 | - | let $ | |
398 | - | if (($ | |
399 | - | then $ | |
399 | + | let $acc161241812451 = sum($acc151241812451, $list1241812451[15]) | |
400 | + | if (($size1241812451 == 16)) | |
401 | + | then $acc161241812451 | |
400 | 402 | else { | |
401 | - | let $ | |
402 | - | if (($ | |
403 | - | then $ | |
403 | + | let $acc171241812451 = sum($acc161241812451, $list1241812451[16]) | |
404 | + | if (($size1241812451 == 17)) | |
405 | + | then $acc171241812451 | |
404 | 406 | else { | |
405 | - | let $ | |
406 | - | if (($ | |
407 | - | then $ | |
407 | + | let $acc181241812451 = sum($acc171241812451, $list1241812451[17]) | |
408 | + | if (($size1241812451 == 18)) | |
409 | + | then $acc181241812451 | |
408 | 410 | else { | |
409 | - | let $ | |
410 | - | if (($ | |
411 | - | then $ | |
411 | + | let $acc191241812451 = sum($acc181241812451, $list1241812451[18]) | |
412 | + | if (($size1241812451 == 19)) | |
413 | + | then $acc191241812451 | |
412 | 414 | else { | |
413 | - | let $ | |
414 | - | if (($ | |
415 | - | then $ | |
415 | + | let $acc201241812451 = sum($acc191241812451, $list1241812451[19]) | |
416 | + | if (($size1241812451 == 20)) | |
417 | + | then $acc201241812451 | |
416 | 418 | else { | |
417 | - | let $ | |
419 | + | let $acc211241812451 = sum($acc201241812451, $list1241812451[20]) | |
418 | 420 | throw("List size exceed 20") | |
419 | 421 | } | |
420 | 422 | } | |
439 | 441 | } | |
440 | 442 | } | |
441 | 443 | let sumRewardCurrent = { | |
442 | - | let $ | |
443 | - | let $ | |
444 | - | let $ | |
445 | - | if (($ | |
446 | - | then $ | |
444 | + | let $list1248012512 = currentRewards | |
445 | + | let $size1248012512 = size($list1248012512) | |
446 | + | let $acc01248012512 = 0 | |
447 | + | if (($size1248012512 == 0)) | |
448 | + | then $acc01248012512 | |
447 | 449 | else { | |
448 | - | let $ | |
449 | - | if (($ | |
450 | - | then $ | |
450 | + | let $acc11248012512 = sum($acc01248012512, $list1248012512[0]) | |
451 | + | if (($size1248012512 == 1)) | |
452 | + | then $acc11248012512 | |
451 | 453 | else { | |
452 | - | let $ | |
453 | - | if (($ | |
454 | - | then $ | |
454 | + | let $acc21248012512 = sum($acc11248012512, $list1248012512[1]) | |
455 | + | if (($size1248012512 == 2)) | |
456 | + | then $acc21248012512 | |
455 | 457 | else { | |
456 | - | let $ | |
457 | - | if (($ | |
458 | - | then $ | |
458 | + | let $acc31248012512 = sum($acc21248012512, $list1248012512[2]) | |
459 | + | if (($size1248012512 == 3)) | |
460 | + | then $acc31248012512 | |
459 | 461 | else { | |
460 | - | let $ | |
461 | - | if (($ | |
462 | - | then $ | |
462 | + | let $acc41248012512 = sum($acc31248012512, $list1248012512[3]) | |
463 | + | if (($size1248012512 == 4)) | |
464 | + | then $acc41248012512 | |
463 | 465 | else { | |
464 | - | let $ | |
465 | - | if (($ | |
466 | - | then $ | |
466 | + | let $acc51248012512 = sum($acc41248012512, $list1248012512[4]) | |
467 | + | if (($size1248012512 == 5)) | |
468 | + | then $acc51248012512 | |
467 | 469 | else { | |
468 | - | let $ | |
469 | - | if (($ | |
470 | - | then $ | |
470 | + | let $acc61248012512 = sum($acc51248012512, $list1248012512[5]) | |
471 | + | if (($size1248012512 == 6)) | |
472 | + | then $acc61248012512 | |
471 | 473 | else { | |
472 | - | let $ | |
473 | - | if (($ | |
474 | - | then $ | |
474 | + | let $acc71248012512 = sum($acc61248012512, $list1248012512[6]) | |
475 | + | if (($size1248012512 == 7)) | |
476 | + | then $acc71248012512 | |
475 | 477 | else { | |
476 | - | let $ | |
477 | - | if (($ | |
478 | - | then $ | |
478 | + | let $acc81248012512 = sum($acc71248012512, $list1248012512[7]) | |
479 | + | if (($size1248012512 == 8)) | |
480 | + | then $acc81248012512 | |
479 | 481 | else { | |
480 | - | let $ | |
481 | - | if (($ | |
482 | - | then $ | |
482 | + | let $acc91248012512 = sum($acc81248012512, $list1248012512[8]) | |
483 | + | if (($size1248012512 == 9)) | |
484 | + | then $acc91248012512 | |
483 | 485 | else { | |
484 | - | let $ | |
485 | - | if (($ | |
486 | - | then $ | |
486 | + | let $acc101248012512 = sum($acc91248012512, $list1248012512[9]) | |
487 | + | if (($size1248012512 == 10)) | |
488 | + | then $acc101248012512 | |
487 | 489 | else { | |
488 | - | let $ | |
489 | - | if (($ | |
490 | - | then $ | |
490 | + | let $acc111248012512 = sum($acc101248012512, $list1248012512[10]) | |
491 | + | if (($size1248012512 == 11)) | |
492 | + | then $acc111248012512 | |
491 | 493 | else { | |
492 | - | let $ | |
493 | - | if (($ | |
494 | - | then $ | |
494 | + | let $acc121248012512 = sum($acc111248012512, $list1248012512[11]) | |
495 | + | if (($size1248012512 == 12)) | |
496 | + | then $acc121248012512 | |
495 | 497 | else { | |
496 | - | let $ | |
497 | - | if (($ | |
498 | - | then $ | |
498 | + | let $acc131248012512 = sum($acc121248012512, $list1248012512[12]) | |
499 | + | if (($size1248012512 == 13)) | |
500 | + | then $acc131248012512 | |
499 | 501 | else { | |
500 | - | let $ | |
501 | - | if (($ | |
502 | - | then $ | |
502 | + | let $acc141248012512 = sum($acc131248012512, $list1248012512[13]) | |
503 | + | if (($size1248012512 == 14)) | |
504 | + | then $acc141248012512 | |
503 | 505 | else { | |
504 | - | let $ | |
505 | - | if (($ | |
506 | - | then $ | |
506 | + | let $acc151248012512 = sum($acc141248012512, $list1248012512[14]) | |
507 | + | if (($size1248012512 == 15)) | |
508 | + | then $acc151248012512 | |
507 | 509 | else { | |
508 | - | let $ | |
509 | - | if (($ | |
510 | - | then $ | |
510 | + | let $acc161248012512 = sum($acc151248012512, $list1248012512[15]) | |
511 | + | if (($size1248012512 == 16)) | |
512 | + | then $acc161248012512 | |
511 | 513 | else { | |
512 | - | let $ | |
513 | - | if (($ | |
514 | - | then $ | |
514 | + | let $acc171248012512 = sum($acc161248012512, $list1248012512[16]) | |
515 | + | if (($size1248012512 == 17)) | |
516 | + | then $acc171248012512 | |
515 | 517 | else { | |
516 | - | let $ | |
517 | - | if (($ | |
518 | - | then $ | |
518 | + | let $acc181248012512 = sum($acc171248012512, $list1248012512[17]) | |
519 | + | if (($size1248012512 == 18)) | |
520 | + | then $acc181248012512 | |
519 | 521 | else { | |
520 | - | let $ | |
521 | - | if (($ | |
522 | - | then $ | |
522 | + | let $acc191248012512 = sum($acc181248012512, $list1248012512[18]) | |
523 | + | if (($size1248012512 == 19)) | |
524 | + | then $acc191248012512 | |
523 | 525 | else { | |
524 | - | let $ | |
525 | - | if (($ | |
526 | - | then $ | |
526 | + | let $acc201248012512 = sum($acc191248012512, $list1248012512[19]) | |
527 | + | if (($size1248012512 == 20)) | |
528 | + | then $acc201248012512 | |
527 | 529 | else { | |
528 | - | let $ | |
530 | + | let $acc211248012512 = sum($acc201248012512, $list1248012512[20]) | |
529 | 531 | throw("List size exceed 20") | |
530 | 532 | } | |
531 | 533 | } | |
557 | 559 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
558 | 560 | else { | |
559 | 561 | let previousRewardEntryNew = { | |
560 | - | let $ | |
561 | - | let $ | |
562 | - | let $ | |
563 | - | if (($ | |
564 | - | then $ | |
562 | + | let $list1282412872 = previousPools | |
563 | + | let $size1282412872 = size($list1282412872) | |
564 | + | let $acc01282412872 = nil | |
565 | + | if (($size1282412872 == 0)) | |
566 | + | then $acc01282412872 | |
565 | 567 | else { | |
566 | - | let $ | |
567 | - | if (($ | |
568 | - | then $ | |
568 | + | let $acc11282412872 = PreviousRewardEntry($acc01282412872, $list1282412872[0]) | |
569 | + | if (($size1282412872 == 1)) | |
570 | + | then $acc11282412872 | |
569 | 571 | else { | |
570 | - | let $ | |
571 | - | if (($ | |
572 | - | then $ | |
572 | + | let $acc21282412872 = PreviousRewardEntry($acc11282412872, $list1282412872[1]) | |
573 | + | if (($size1282412872 == 2)) | |
574 | + | then $acc21282412872 | |
573 | 575 | else { | |
574 | - | let $ | |
575 | - | if (($ | |
576 | - | then $ | |
576 | + | let $acc31282412872 = PreviousRewardEntry($acc21282412872, $list1282412872[2]) | |
577 | + | if (($size1282412872 == 3)) | |
578 | + | then $acc31282412872 | |
577 | 579 | else { | |
578 | - | let $ | |
579 | - | if (($ | |
580 | - | then $ | |
580 | + | let $acc41282412872 = PreviousRewardEntry($acc31282412872, $list1282412872[3]) | |
581 | + | if (($size1282412872 == 4)) | |
582 | + | then $acc41282412872 | |
581 | 583 | else { | |
582 | - | let $ | |
583 | - | if (($ | |
584 | - | then $ | |
584 | + | let $acc51282412872 = PreviousRewardEntry($acc41282412872, $list1282412872[4]) | |
585 | + | if (($size1282412872 == 5)) | |
586 | + | then $acc51282412872 | |
585 | 587 | else { | |
586 | - | let $ | |
587 | - | if (($ | |
588 | - | then $ | |
588 | + | let $acc61282412872 = PreviousRewardEntry($acc51282412872, $list1282412872[5]) | |
589 | + | if (($size1282412872 == 6)) | |
590 | + | then $acc61282412872 | |
589 | 591 | else { | |
590 | - | let $ | |
591 | - | if (($ | |
592 | - | then $ | |
592 | + | let $acc71282412872 = PreviousRewardEntry($acc61282412872, $list1282412872[6]) | |
593 | + | if (($size1282412872 == 7)) | |
594 | + | then $acc71282412872 | |
593 | 595 | else { | |
594 | - | let $ | |
595 | - | if (($ | |
596 | - | then $ | |
596 | + | let $acc81282412872 = PreviousRewardEntry($acc71282412872, $list1282412872[7]) | |
597 | + | if (($size1282412872 == 8)) | |
598 | + | then $acc81282412872 | |
597 | 599 | else { | |
598 | - | let $ | |
599 | - | if (($ | |
600 | - | then $ | |
600 | + | let $acc91282412872 = PreviousRewardEntry($acc81282412872, $list1282412872[8]) | |
601 | + | if (($size1282412872 == 9)) | |
602 | + | then $acc91282412872 | |
601 | 603 | else { | |
602 | - | let $ | |
603 | - | if (($ | |
604 | - | then $ | |
604 | + | let $acc101282412872 = PreviousRewardEntry($acc91282412872, $list1282412872[9]) | |
605 | + | if (($size1282412872 == 10)) | |
606 | + | then $acc101282412872 | |
605 | 607 | else { | |
606 | - | let $ | |
607 | - | if (($ | |
608 | - | then $ | |
608 | + | let $acc111282412872 = PreviousRewardEntry($acc101282412872, $list1282412872[10]) | |
609 | + | if (($size1282412872 == 11)) | |
610 | + | then $acc111282412872 | |
609 | 611 | else { | |
610 | - | let $ | |
611 | - | if (($ | |
612 | - | then $ | |
612 | + | let $acc121282412872 = PreviousRewardEntry($acc111282412872, $list1282412872[11]) | |
613 | + | if (($size1282412872 == 12)) | |
614 | + | then $acc121282412872 | |
613 | 615 | else { | |
614 | - | let $ | |
615 | - | if (($ | |
616 | - | then $ | |
616 | + | let $acc131282412872 = PreviousRewardEntry($acc121282412872, $list1282412872[12]) | |
617 | + | if (($size1282412872 == 13)) | |
618 | + | then $acc131282412872 | |
617 | 619 | else { | |
618 | - | let $ | |
619 | - | if (($ | |
620 | - | then $ | |
620 | + | let $acc141282412872 = PreviousRewardEntry($acc131282412872, $list1282412872[13]) | |
621 | + | if (($size1282412872 == 14)) | |
622 | + | then $acc141282412872 | |
621 | 623 | else { | |
622 | - | let $ | |
623 | - | if (($ | |
624 | - | then $ | |
624 | + | let $acc151282412872 = PreviousRewardEntry($acc141282412872, $list1282412872[14]) | |
625 | + | if (($size1282412872 == 15)) | |
626 | + | then $acc151282412872 | |
625 | 627 | else { | |
626 | - | let $ | |
627 | - | if (($ | |
628 | - | then $ | |
628 | + | let $acc161282412872 = PreviousRewardEntry($acc151282412872, $list1282412872[15]) | |
629 | + | if (($size1282412872 == 16)) | |
630 | + | then $acc161282412872 | |
629 | 631 | else { | |
630 | - | let $ | |
631 | - | if (($ | |
632 | - | then $ | |
632 | + | let $acc171282412872 = PreviousRewardEntry($acc161282412872, $list1282412872[16]) | |
633 | + | if (($size1282412872 == 17)) | |
634 | + | then $acc171282412872 | |
633 | 635 | else { | |
634 | - | let $ | |
635 | - | if (($ | |
636 | - | then $ | |
636 | + | let $acc181282412872 = PreviousRewardEntry($acc171282412872, $list1282412872[17]) | |
637 | + | if (($size1282412872 == 18)) | |
638 | + | then $acc181282412872 | |
637 | 639 | else { | |
638 | - | let $ | |
639 | - | if (($ | |
640 | - | then $ | |
640 | + | let $acc191282412872 = PreviousRewardEntry($acc181282412872, $list1282412872[18]) | |
641 | + | if (($size1282412872 == 19)) | |
642 | + | then $acc191282412872 | |
641 | 643 | else { | |
642 | - | let $ | |
643 | - | if (($ | |
644 | - | then $ | |
644 | + | let $acc201282412872 = PreviousRewardEntry($acc191282412872, $list1282412872[19]) | |
645 | + | if (($size1282412872 == 20)) | |
646 | + | then $acc201282412872 | |
645 | 647 | else { | |
646 | - | let $ | |
648 | + | let $acc211282412872 = PreviousRewardEntry($acc201282412872, $list1282412872[20]) | |
647 | 649 | throw("List size exceed 20") | |
648 | 650 | } | |
649 | 651 | } | |
668 | 670 | } | |
669 | 671 | } | |
670 | 672 | let currentRewardEntryNew = { | |
671 | - | let $ | |
672 | - | let $ | |
673 | - | let $ | |
674 | - | if (($ | |
675 | - | then $ | |
673 | + | let $list1290512951 = currentPools | |
674 | + | let $size1290512951 = size($list1290512951) | |
675 | + | let $acc01290512951 = nil | |
676 | + | if (($size1290512951 == 0)) | |
677 | + | then $acc01290512951 | |
676 | 678 | else { | |
677 | - | let $ | |
678 | - | if (($ | |
679 | - | then $ | |
679 | + | let $acc11290512951 = CurrentRewardEntry($acc01290512951, $list1290512951[0]) | |
680 | + | if (($size1290512951 == 1)) | |
681 | + | then $acc11290512951 | |
680 | 682 | else { | |
681 | - | let $ | |
682 | - | if (($ | |
683 | - | then $ | |
683 | + | let $acc21290512951 = CurrentRewardEntry($acc11290512951, $list1290512951[1]) | |
684 | + | if (($size1290512951 == 2)) | |
685 | + | then $acc21290512951 | |
684 | 686 | else { | |
685 | - | let $ | |
686 | - | if (($ | |
687 | - | then $ | |
687 | + | let $acc31290512951 = CurrentRewardEntry($acc21290512951, $list1290512951[2]) | |
688 | + | if (($size1290512951 == 3)) | |
689 | + | then $acc31290512951 | |
688 | 690 | else { | |
689 | - | let $ | |
690 | - | if (($ | |
691 | - | then $ | |
691 | + | let $acc41290512951 = CurrentRewardEntry($acc31290512951, $list1290512951[3]) | |
692 | + | if (($size1290512951 == 4)) | |
693 | + | then $acc41290512951 | |
692 | 694 | else { | |
693 | - | let $ | |
694 | - | if (($ | |
695 | - | then $ | |
695 | + | let $acc51290512951 = CurrentRewardEntry($acc41290512951, $list1290512951[4]) | |
696 | + | if (($size1290512951 == 5)) | |
697 | + | then $acc51290512951 | |
696 | 698 | else { | |
697 | - | let $ | |
698 | - | if (($ | |
699 | - | then $ | |
699 | + | let $acc61290512951 = CurrentRewardEntry($acc51290512951, $list1290512951[5]) | |
700 | + | if (($size1290512951 == 6)) | |
701 | + | then $acc61290512951 | |
700 | 702 | else { | |
701 | - | let $ | |
702 | - | if (($ | |
703 | - | then $ | |
703 | + | let $acc71290512951 = CurrentRewardEntry($acc61290512951, $list1290512951[6]) | |
704 | + | if (($size1290512951 == 7)) | |
705 | + | then $acc71290512951 | |
704 | 706 | else { | |
705 | - | let $ | |
706 | - | if (($ | |
707 | - | then $ | |
707 | + | let $acc81290512951 = CurrentRewardEntry($acc71290512951, $list1290512951[7]) | |
708 | + | if (($size1290512951 == 8)) | |
709 | + | then $acc81290512951 | |
708 | 710 | else { | |
709 | - | let $ | |
710 | - | if (($ | |
711 | - | then $ | |
711 | + | let $acc91290512951 = CurrentRewardEntry($acc81290512951, $list1290512951[8]) | |
712 | + | if (($size1290512951 == 9)) | |
713 | + | then $acc91290512951 | |
712 | 714 | else { | |
713 | - | let $ | |
714 | - | if (($ | |
715 | - | then $ | |
715 | + | let $acc101290512951 = CurrentRewardEntry($acc91290512951, $list1290512951[9]) | |
716 | + | if (($size1290512951 == 10)) | |
717 | + | then $acc101290512951 | |
716 | 718 | else { | |
717 | - | let $ | |
718 | - | if (($ | |
719 | - | then $ | |
719 | + | let $acc111290512951 = CurrentRewardEntry($acc101290512951, $list1290512951[10]) | |
720 | + | if (($size1290512951 == 11)) | |
721 | + | then $acc111290512951 | |
720 | 722 | else { | |
721 | - | let $ | |
722 | - | if (($ | |
723 | - | then $ | |
723 | + | let $acc121290512951 = CurrentRewardEntry($acc111290512951, $list1290512951[11]) | |
724 | + | if (($size1290512951 == 12)) | |
725 | + | then $acc121290512951 | |
724 | 726 | else { | |
725 | - | let $ | |
726 | - | if (($ | |
727 | - | then $ | |
727 | + | let $acc131290512951 = CurrentRewardEntry($acc121290512951, $list1290512951[12]) | |
728 | + | if (($size1290512951 == 13)) | |
729 | + | then $acc131290512951 | |
728 | 730 | else { | |
729 | - | let $ | |
730 | - | if (($ | |
731 | - | then $ | |
731 | + | let $acc141290512951 = CurrentRewardEntry($acc131290512951, $list1290512951[13]) | |
732 | + | if (($size1290512951 == 14)) | |
733 | + | then $acc141290512951 | |
732 | 734 | else { | |
733 | - | let $ | |
734 | - | if (($ | |
735 | - | then $ | |
735 | + | let $acc151290512951 = CurrentRewardEntry($acc141290512951, $list1290512951[14]) | |
736 | + | if (($size1290512951 == 15)) | |
737 | + | then $acc151290512951 | |
736 | 738 | else { | |
737 | - | let $ | |
738 | - | if (($ | |
739 | - | then $ | |
739 | + | let $acc161290512951 = CurrentRewardEntry($acc151290512951, $list1290512951[15]) | |
740 | + | if (($size1290512951 == 16)) | |
741 | + | then $acc161290512951 | |
740 | 742 | else { | |
741 | - | let $ | |
742 | - | if (($ | |
743 | - | then $ | |
743 | + | let $acc171290512951 = CurrentRewardEntry($acc161290512951, $list1290512951[16]) | |
744 | + | if (($size1290512951 == 17)) | |
745 | + | then $acc171290512951 | |
744 | 746 | else { | |
745 | - | let $ | |
746 | - | if (($ | |
747 | - | then $ | |
747 | + | let $acc181290512951 = CurrentRewardEntry($acc171290512951, $list1290512951[17]) | |
748 | + | if (($size1290512951 == 18)) | |
749 | + | then $acc181290512951 | |
748 | 750 | else { | |
749 | - | let $ | |
750 | - | if (($ | |
751 | - | then $ | |
751 | + | let $acc191290512951 = CurrentRewardEntry($acc181290512951, $list1290512951[18]) | |
752 | + | if (($size1290512951 == 19)) | |
753 | + | then $acc191290512951 | |
752 | 754 | else { | |
753 | - | let $ | |
754 | - | if (($ | |
755 | - | then $ | |
755 | + | let $acc201290512951 = CurrentRewardEntry($acc191290512951, $list1290512951[19]) | |
756 | + | if (($size1290512951 == 20)) | |
757 | + | then $acc201290512951 | |
756 | 758 | else { | |
757 | - | let $ | |
759 | + | let $acc211290512951 = CurrentRewardEntry($acc201290512951, $list1290512951[20]) | |
758 | 760 | throw("List size exceed 20") | |
759 | 761 | } | |
760 | 762 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
11 | 11 | ||
12 | 12 | let adminPubKeyWallet = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw' | |
13 | 13 | ||
14 | 14 | let keyActive = "active" | |
15 | 15 | ||
16 | 16 | let keyCause = "shutdown_cause" | |
17 | 17 | ||
18 | 18 | let keyLastInterest = "last_interest" | |
19 | 19 | ||
20 | 20 | let keyUserLastInterest = "_last_interest" | |
21 | 21 | ||
22 | 22 | let keyUserSWOPLocked = "_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let keyUserGetBackHeight = "_getBackHeight" | |
25 | 25 | ||
26 | 26 | let keyTotalSWOPLocked = "total_SWOP_amount" | |
27 | 27 | ||
28 | 28 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
29 | 29 | ||
30 | 30 | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let keyVoteName = "vote_name" | |
39 | 39 | ||
40 | 40 | let keyOptionName = "_option_name" | |
41 | 41 | ||
42 | 42 | let keyVotingStartHeight = "_startHeight" | |
43 | 43 | ||
44 | 44 | let keyVoteDuration = "_vote_duration" | |
45 | 45 | ||
46 | 46 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
49 | 49 | ||
50 | 50 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
51 | 51 | ||
52 | 52 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
53 | 53 | ||
54 | 54 | let keyRewardUpdateHeight = "reward_update_height" | |
55 | 55 | ||
56 | 56 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
57 | 57 | ||
58 | 58 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
59 | 59 | ||
60 | 60 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
61 | 61 | ||
62 | 62 | let keySWOPid = "SWOP_id" | |
63 | 63 | ||
64 | 64 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
65 | 65 | ||
66 | 66 | let scaleValue = 100000000 | |
67 | 67 | ||
68 | 68 | let totalVoteShare = 10000000000 | |
69 | 69 | ||
70 | 70 | let kStartHeight = "start_height" | |
71 | 71 | ||
72 | 72 | let kBasePeriod = "base_period" | |
73 | 73 | ||
74 | 74 | let kPeriodLength = "period_length" | |
75 | 75 | ||
76 | 76 | let kUserTotalStruc = "_user_total_struc" | |
77 | 77 | ||
78 | 78 | let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract") | |
79 | 79 | ||
80 | 80 | let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract") | |
81 | 81 | ||
82 | 82 | let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract") | |
83 | 83 | ||
84 | 84 | let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
85 | 85 | ||
86 | 86 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getLastInterestInfo () = { | |
93 | 93 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
94 | 94 | lastInterest | |
95 | 95 | } | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getUserInterestInfo (user,lastInterest) = { | |
105 | 105 | let userSWOPAmount = getUserSWOPLocked(user) | |
106 | 106 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
107 | 107 | let userLastInterestValue = match userLastInterest { | |
108 | 108 | case userLastInterest: Int => | |
109 | 109 | userLastInterest | |
110 | 110 | case _ => | |
111 | 111 | lastInterest | |
112 | 112 | } | |
113 | 113 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
114 | 114 | } | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func getUserVoteInfo (user) = { | |
121 | 121 | let $t037814334 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc)))) | |
122 | 122 | then { | |
123 | 123 | let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_") | |
124 | 124 | $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2])) | |
125 | 125 | } | |
126 | 126 | else { | |
127 | 127 | let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
128 | 128 | $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod) | |
129 | 129 | } | |
130 | 130 | let userTotalVoteSWOP = $t037814334._1 | |
131 | 131 | let userUnvoted = $t037814334._2 | |
132 | 132 | let userUnvotedPeriod = $t037814334._3 | |
133 | 133 | let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod)) | |
134 | 134 | then userUnvoted | |
135 | 135 | else 0 | |
136 | 136 | $Tuple2(userTotalVoteSWOP, userUnvotedActual) | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func getVoteOptionAmount (user,voteName,option) = { | |
147 | 147 | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
148 | 148 | let uvoa = match userVoteOptionAmount { | |
149 | 149 | case uvoa: Int => | |
150 | 150 | uvoa | |
151 | 151 | case uvoa: Unit => | |
152 | 152 | 0 | |
153 | 153 | case _ => | |
154 | 154 | throw("Match error") | |
155 | 155 | } | |
156 | 156 | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func getTotalVoteOptionAmount (voteName,option) = { | |
164 | 164 | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
165 | 165 | let tvoa = match totalVoteOptionAmount { | |
166 | 166 | case tvoa: Int => | |
167 | 167 | tvoa | |
168 | 168 | case tvoa: Unit => | |
169 | 169 | 0 | |
170 | 170 | case _ => | |
171 | 171 | throw("Match error") | |
172 | 172 | } | |
173 | 173 | tvoa | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
178 | 178 | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
179 | 179 | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func claimCalc (caller) = { | |
184 | 184 | let lastInterest = getLastInterestInfo() | |
185 | 185 | let $t061386218 = getUserInterestInfo(caller, lastInterest) | |
186 | 186 | let userLastInterest = $t061386218._1 | |
187 | 187 | let userSWOPLocked = $t061386218._2 | |
188 | 188 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
189 | 189 | let userNewInterest = lastInterest | |
190 | 190 | $Tuple2(userNewInterest, claimAmount) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Callable(i) | |
195 | 195 | func airDrop () = if (!(isActive)) | |
196 | 196 | then throw("DApp is inactive at this moment") | |
197 | 197 | else { | |
198 | 198 | let $t064836558 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
199 | 199 | let pmtAmount = $t064836558._1 | |
200 | 200 | let pmtAssetId = $t064836558._2 | |
201 | 201 | if ((pmtAssetId != SWOP)) | |
202 | 202 | then throw("Incorrect pmtAssetId") | |
203 | 203 | else { | |
204 | 204 | let totalSWOPLocked = getTotalSWOPLocked() | |
205 | 205 | let lastInterest = getLastInterestInfo() | |
206 | 206 | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
207 | 207 | [IntegerEntry(keyLastInterest, interestNew)] | |
208 | 208 | } | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | ||
213 | 213 | @Callable(i) | |
214 | 214 | func lockSWOP () = if (!(isActive)) | |
215 | 215 | then throw("DApp is inactive at this moment") | |
216 | 216 | else { | |
217 | 217 | let $t069967071 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
218 | 218 | let pmtAmount = $t069967071._1 | |
219 | 219 | let pmtAssetId = $t069967071._2 | |
220 | 220 | if ((pmtAssetId != SWOP)) | |
221 | 221 | then throw("Incorrect pmtAssetId") | |
222 | 222 | else { | |
223 | 223 | let lastInterest = getLastInterestInfo() | |
224 | 224 | let $t071877269 = getUserInterestInfo(i.caller, lastInterest) | |
225 | 225 | let userLastInterest = $t071877269._1 | |
226 | 226 | let userSWOPLocked = $t071877269._2 | |
227 | 227 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
228 | 228 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
229 | 229 | let userNewInterest = lastInterest | |
230 | 230 | let totalSWOPLocked = getTotalSWOPLocked() | |
231 | 231 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
232 | 232 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
233 | 233 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
234 | 234 | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
235 | 235 | } | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(i) | |
241 | 241 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 242 | then throw("DApp is inactive at this moment") | |
243 | - | else { | |
244 | - | let totalSWOPLocked = getTotalSWOPLocked() | |
245 | - | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
246 | - | let $t083538408 = claimCalc(i.caller) | |
247 | - | let userNewInterest = $t083538408._1 | |
248 | - | let claimAmount = $t083538408._2 | |
249 | - | let $t084138478 = getUserVoteInfo(i.caller) | |
250 | - | let userVoteAmount = $t084138478._1 | |
251 | - | let userUnvoteAmount = $t084138478._2 | |
252 | - | if (if ((0 > userUnvoteAmount)) | |
253 | - | then true | |
254 | - | else (0 > userVoteAmount)) | |
255 | - | then throw("userUnvoteAmount < 0 || userVoteAmount < 0") | |
256 | - | else { | |
257 | - | let availableToUnstake = ((userSWOPLocked - userVoteAmount) - userUnvoteAmount) | |
258 | - | if ((withdrawAmount > availableToUnstake)) | |
259 | - | then throw("withdrawAmount > availableToUnstake") | |
260 | - | else { | |
261 | - | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
262 | - | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
263 | - | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
264 | - | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
243 | + | else if ((0 > withdrawAmount)) | |
244 | + | then throw("withdrawAmount < 0") | |
245 | + | else { | |
246 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
247 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
248 | + | let $t084178472 = claimCalc(i.caller) | |
249 | + | let userNewInterest = $t084178472._1 | |
250 | + | let claimAmount = $t084178472._2 | |
251 | + | let $t084778542 = getUserVoteInfo(i.caller) | |
252 | + | let userVoteAmount = $t084778542._1 | |
253 | + | let userUnvoteAmount = $t084778542._2 | |
254 | + | if (if ((0 > userUnvoteAmount)) | |
255 | + | then true | |
256 | + | else (0 > userVoteAmount)) | |
257 | + | then throw("userUnvoteAmount < 0 || userVoteAmount < 0") | |
258 | + | else { | |
259 | + | let availableToUnstake = ((userSWOPLocked - userVoteAmount) - userUnvoteAmount) | |
260 | + | if ((withdrawAmount > availableToUnstake)) | |
261 | + | then throw("withdrawAmount > availableToUnstake") | |
262 | + | else { | |
263 | + | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
264 | + | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
265 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
266 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
265 | 267 | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPamountNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
266 | - | } | |
267 | - | } | |
268 | - | } | |
268 | + | } | |
269 | + | } | |
270 | + | } | |
269 | 271 | ||
270 | 272 | ||
271 | 273 | ||
272 | 274 | @Callable(i) | |
273 | 275 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
274 | 276 | then throw("DApp is inactive at this moment") | |
275 | 277 | else { | |
276 | 278 | let lastInterest = getLastInterestInfo() | |
277 | - | let $ | |
278 | - | let userNewInterest = $ | |
279 | - | let claimAmount = $ | |
279 | + | let $t097439798 = claimCalc(i.caller) | |
280 | + | let userNewInterest = $t097439798._1 | |
281 | + | let claimAmount = $t097439798._2 | |
280 | 282 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
281 | 283 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
282 | 284 | if ((claimAmount == 0)) | |
283 | 285 | then throw("You have 0 available SWOP") | |
284 | 286 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
285 | 287 | } | |
286 | 288 | ||
287 | 289 | ||
288 | 290 | ||
289 | 291 | @Callable(i) | |
290 | 292 | func claimAndStakeSWOP () = if (!(isActive)) | |
291 | 293 | then throw("DApp is inactive at this moment") | |
292 | 294 | else { | |
293 | 295 | let totalSWOPLocked = getTotalSWOPLocked() | |
294 | 296 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
295 | 297 | let lastInterest = getLastInterestInfo() | |
296 | - | let $ | |
297 | - | let userNewInterest = $ | |
298 | - | let claimAmount = $ | |
298 | + | let $t01057710632 = claimCalc(i.caller) | |
299 | + | let userNewInterest = $t01057710632._1 | |
300 | + | let claimAmount = $t01057710632._2 | |
299 | 301 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
300 | 302 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
301 | 303 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
302 | 304 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
303 | 305 | if ((claimAmount == 0)) | |
304 | 306 | then throw("You have 0 available SWOP") | |
305 | 307 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
306 | 308 | } | |
307 | 309 | ||
308 | 310 | ||
309 | 311 | ||
310 | 312 | @Callable(i) | |
311 | 313 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
312 | 314 | then throw("DApp is inactive at this moment") | |
313 | 315 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
314 | 316 | then throw("Only admin can call this function") | |
315 | 317 | else { | |
316 | 318 | func sum (a,b) = (a + b) | |
317 | 319 | ||
318 | 320 | func PreviousRewardEntry (accumulated,pool) = { | |
319 | 321 | let poolIndex = value(indexOf(previousPools, pool)) | |
320 | 322 | let poolReward = previousRewards[poolIndex] | |
321 | 323 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
322 | 324 | } | |
323 | 325 | ||
324 | 326 | func CurrentRewardEntry (accumulated,pool) = { | |
325 | 327 | let poolIndex = value(indexOf(currentPools, pool)) | |
326 | 328 | let poolReward = currentRewards[poolIndex] | |
327 | 329 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
328 | 330 | } | |
329 | 331 | ||
330 | 332 | let sumRewardPrevious = { | |
331 | - | let $ | |
332 | - | let $ | |
333 | - | let $ | |
334 | - | if (($ | |
335 | - | then $ | |
333 | + | let $list1241812451 = previousRewards | |
334 | + | let $size1241812451 = size($list1241812451) | |
335 | + | let $acc01241812451 = 0 | |
336 | + | if (($size1241812451 == 0)) | |
337 | + | then $acc01241812451 | |
336 | 338 | else { | |
337 | - | let $ | |
338 | - | if (($ | |
339 | - | then $ | |
339 | + | let $acc11241812451 = sum($acc01241812451, $list1241812451[0]) | |
340 | + | if (($size1241812451 == 1)) | |
341 | + | then $acc11241812451 | |
340 | 342 | else { | |
341 | - | let $ | |
342 | - | if (($ | |
343 | - | then $ | |
343 | + | let $acc21241812451 = sum($acc11241812451, $list1241812451[1]) | |
344 | + | if (($size1241812451 == 2)) | |
345 | + | then $acc21241812451 | |
344 | 346 | else { | |
345 | - | let $ | |
346 | - | if (($ | |
347 | - | then $ | |
347 | + | let $acc31241812451 = sum($acc21241812451, $list1241812451[2]) | |
348 | + | if (($size1241812451 == 3)) | |
349 | + | then $acc31241812451 | |
348 | 350 | else { | |
349 | - | let $ | |
350 | - | if (($ | |
351 | - | then $ | |
351 | + | let $acc41241812451 = sum($acc31241812451, $list1241812451[3]) | |
352 | + | if (($size1241812451 == 4)) | |
353 | + | then $acc41241812451 | |
352 | 354 | else { | |
353 | - | let $ | |
354 | - | if (($ | |
355 | - | then $ | |
355 | + | let $acc51241812451 = sum($acc41241812451, $list1241812451[4]) | |
356 | + | if (($size1241812451 == 5)) | |
357 | + | then $acc51241812451 | |
356 | 358 | else { | |
357 | - | let $ | |
358 | - | if (($ | |
359 | - | then $ | |
359 | + | let $acc61241812451 = sum($acc51241812451, $list1241812451[5]) | |
360 | + | if (($size1241812451 == 6)) | |
361 | + | then $acc61241812451 | |
360 | 362 | else { | |
361 | - | let $ | |
362 | - | if (($ | |
363 | - | then $ | |
363 | + | let $acc71241812451 = sum($acc61241812451, $list1241812451[6]) | |
364 | + | if (($size1241812451 == 7)) | |
365 | + | then $acc71241812451 | |
364 | 366 | else { | |
365 | - | let $ | |
366 | - | if (($ | |
367 | - | then $ | |
367 | + | let $acc81241812451 = sum($acc71241812451, $list1241812451[7]) | |
368 | + | if (($size1241812451 == 8)) | |
369 | + | then $acc81241812451 | |
368 | 370 | else { | |
369 | - | let $ | |
370 | - | if (($ | |
371 | - | then $ | |
371 | + | let $acc91241812451 = sum($acc81241812451, $list1241812451[8]) | |
372 | + | if (($size1241812451 == 9)) | |
373 | + | then $acc91241812451 | |
372 | 374 | else { | |
373 | - | let $ | |
374 | - | if (($ | |
375 | - | then $ | |
375 | + | let $acc101241812451 = sum($acc91241812451, $list1241812451[9]) | |
376 | + | if (($size1241812451 == 10)) | |
377 | + | then $acc101241812451 | |
376 | 378 | else { | |
377 | - | let $ | |
378 | - | if (($ | |
379 | - | then $ | |
379 | + | let $acc111241812451 = sum($acc101241812451, $list1241812451[10]) | |
380 | + | if (($size1241812451 == 11)) | |
381 | + | then $acc111241812451 | |
380 | 382 | else { | |
381 | - | let $ | |
382 | - | if (($ | |
383 | - | then $ | |
383 | + | let $acc121241812451 = sum($acc111241812451, $list1241812451[11]) | |
384 | + | if (($size1241812451 == 12)) | |
385 | + | then $acc121241812451 | |
384 | 386 | else { | |
385 | - | let $ | |
386 | - | if (($ | |
387 | - | then $ | |
387 | + | let $acc131241812451 = sum($acc121241812451, $list1241812451[12]) | |
388 | + | if (($size1241812451 == 13)) | |
389 | + | then $acc131241812451 | |
388 | 390 | else { | |
389 | - | let $ | |
390 | - | if (($ | |
391 | - | then $ | |
391 | + | let $acc141241812451 = sum($acc131241812451, $list1241812451[13]) | |
392 | + | if (($size1241812451 == 14)) | |
393 | + | then $acc141241812451 | |
392 | 394 | else { | |
393 | - | let $ | |
394 | - | if (($ | |
395 | - | then $ | |
395 | + | let $acc151241812451 = sum($acc141241812451, $list1241812451[14]) | |
396 | + | if (($size1241812451 == 15)) | |
397 | + | then $acc151241812451 | |
396 | 398 | else { | |
397 | - | let $ | |
398 | - | if (($ | |
399 | - | then $ | |
399 | + | let $acc161241812451 = sum($acc151241812451, $list1241812451[15]) | |
400 | + | if (($size1241812451 == 16)) | |
401 | + | then $acc161241812451 | |
400 | 402 | else { | |
401 | - | let $ | |
402 | - | if (($ | |
403 | - | then $ | |
403 | + | let $acc171241812451 = sum($acc161241812451, $list1241812451[16]) | |
404 | + | if (($size1241812451 == 17)) | |
405 | + | then $acc171241812451 | |
404 | 406 | else { | |
405 | - | let $ | |
406 | - | if (($ | |
407 | - | then $ | |
407 | + | let $acc181241812451 = sum($acc171241812451, $list1241812451[17]) | |
408 | + | if (($size1241812451 == 18)) | |
409 | + | then $acc181241812451 | |
408 | 410 | else { | |
409 | - | let $ | |
410 | - | if (($ | |
411 | - | then $ | |
411 | + | let $acc191241812451 = sum($acc181241812451, $list1241812451[18]) | |
412 | + | if (($size1241812451 == 19)) | |
413 | + | then $acc191241812451 | |
412 | 414 | else { | |
413 | - | let $ | |
414 | - | if (($ | |
415 | - | then $ | |
415 | + | let $acc201241812451 = sum($acc191241812451, $list1241812451[19]) | |
416 | + | if (($size1241812451 == 20)) | |
417 | + | then $acc201241812451 | |
416 | 418 | else { | |
417 | - | let $ | |
419 | + | let $acc211241812451 = sum($acc201241812451, $list1241812451[20]) | |
418 | 420 | throw("List size exceed 20") | |
419 | 421 | } | |
420 | 422 | } | |
421 | 423 | } | |
422 | 424 | } | |
423 | 425 | } | |
424 | 426 | } | |
425 | 427 | } | |
426 | 428 | } | |
427 | 429 | } | |
428 | 430 | } | |
429 | 431 | } | |
430 | 432 | } | |
431 | 433 | } | |
432 | 434 | } | |
433 | 435 | } | |
434 | 436 | } | |
435 | 437 | } | |
436 | 438 | } | |
437 | 439 | } | |
438 | 440 | } | |
439 | 441 | } | |
440 | 442 | } | |
441 | 443 | let sumRewardCurrent = { | |
442 | - | let $ | |
443 | - | let $ | |
444 | - | let $ | |
445 | - | if (($ | |
446 | - | then $ | |
444 | + | let $list1248012512 = currentRewards | |
445 | + | let $size1248012512 = size($list1248012512) | |
446 | + | let $acc01248012512 = 0 | |
447 | + | if (($size1248012512 == 0)) | |
448 | + | then $acc01248012512 | |
447 | 449 | else { | |
448 | - | let $ | |
449 | - | if (($ | |
450 | - | then $ | |
450 | + | let $acc11248012512 = sum($acc01248012512, $list1248012512[0]) | |
451 | + | if (($size1248012512 == 1)) | |
452 | + | then $acc11248012512 | |
451 | 453 | else { | |
452 | - | let $ | |
453 | - | if (($ | |
454 | - | then $ | |
454 | + | let $acc21248012512 = sum($acc11248012512, $list1248012512[1]) | |
455 | + | if (($size1248012512 == 2)) | |
456 | + | then $acc21248012512 | |
455 | 457 | else { | |
456 | - | let $ | |
457 | - | if (($ | |
458 | - | then $ | |
458 | + | let $acc31248012512 = sum($acc21248012512, $list1248012512[2]) | |
459 | + | if (($size1248012512 == 3)) | |
460 | + | then $acc31248012512 | |
459 | 461 | else { | |
460 | - | let $ | |
461 | - | if (($ | |
462 | - | then $ | |
462 | + | let $acc41248012512 = sum($acc31248012512, $list1248012512[3]) | |
463 | + | if (($size1248012512 == 4)) | |
464 | + | then $acc41248012512 | |
463 | 465 | else { | |
464 | - | let $ | |
465 | - | if (($ | |
466 | - | then $ | |
466 | + | let $acc51248012512 = sum($acc41248012512, $list1248012512[4]) | |
467 | + | if (($size1248012512 == 5)) | |
468 | + | then $acc51248012512 | |
467 | 469 | else { | |
468 | - | let $ | |
469 | - | if (($ | |
470 | - | then $ | |
470 | + | let $acc61248012512 = sum($acc51248012512, $list1248012512[5]) | |
471 | + | if (($size1248012512 == 6)) | |
472 | + | then $acc61248012512 | |
471 | 473 | else { | |
472 | - | let $ | |
473 | - | if (($ | |
474 | - | then $ | |
474 | + | let $acc71248012512 = sum($acc61248012512, $list1248012512[6]) | |
475 | + | if (($size1248012512 == 7)) | |
476 | + | then $acc71248012512 | |
475 | 477 | else { | |
476 | - | let $ | |
477 | - | if (($ | |
478 | - | then $ | |
478 | + | let $acc81248012512 = sum($acc71248012512, $list1248012512[7]) | |
479 | + | if (($size1248012512 == 8)) | |
480 | + | then $acc81248012512 | |
479 | 481 | else { | |
480 | - | let $ | |
481 | - | if (($ | |
482 | - | then $ | |
482 | + | let $acc91248012512 = sum($acc81248012512, $list1248012512[8]) | |
483 | + | if (($size1248012512 == 9)) | |
484 | + | then $acc91248012512 | |
483 | 485 | else { | |
484 | - | let $ | |
485 | - | if (($ | |
486 | - | then $ | |
486 | + | let $acc101248012512 = sum($acc91248012512, $list1248012512[9]) | |
487 | + | if (($size1248012512 == 10)) | |
488 | + | then $acc101248012512 | |
487 | 489 | else { | |
488 | - | let $ | |
489 | - | if (($ | |
490 | - | then $ | |
490 | + | let $acc111248012512 = sum($acc101248012512, $list1248012512[10]) | |
491 | + | if (($size1248012512 == 11)) | |
492 | + | then $acc111248012512 | |
491 | 493 | else { | |
492 | - | let $ | |
493 | - | if (($ | |
494 | - | then $ | |
494 | + | let $acc121248012512 = sum($acc111248012512, $list1248012512[11]) | |
495 | + | if (($size1248012512 == 12)) | |
496 | + | then $acc121248012512 | |
495 | 497 | else { | |
496 | - | let $ | |
497 | - | if (($ | |
498 | - | then $ | |
498 | + | let $acc131248012512 = sum($acc121248012512, $list1248012512[12]) | |
499 | + | if (($size1248012512 == 13)) | |
500 | + | then $acc131248012512 | |
499 | 501 | else { | |
500 | - | let $ | |
501 | - | if (($ | |
502 | - | then $ | |
502 | + | let $acc141248012512 = sum($acc131248012512, $list1248012512[13]) | |
503 | + | if (($size1248012512 == 14)) | |
504 | + | then $acc141248012512 | |
503 | 505 | else { | |
504 | - | let $ | |
505 | - | if (($ | |
506 | - | then $ | |
506 | + | let $acc151248012512 = sum($acc141248012512, $list1248012512[14]) | |
507 | + | if (($size1248012512 == 15)) | |
508 | + | then $acc151248012512 | |
507 | 509 | else { | |
508 | - | let $ | |
509 | - | if (($ | |
510 | - | then $ | |
510 | + | let $acc161248012512 = sum($acc151248012512, $list1248012512[15]) | |
511 | + | if (($size1248012512 == 16)) | |
512 | + | then $acc161248012512 | |
511 | 513 | else { | |
512 | - | let $ | |
513 | - | if (($ | |
514 | - | then $ | |
514 | + | let $acc171248012512 = sum($acc161248012512, $list1248012512[16]) | |
515 | + | if (($size1248012512 == 17)) | |
516 | + | then $acc171248012512 | |
515 | 517 | else { | |
516 | - | let $ | |
517 | - | if (($ | |
518 | - | then $ | |
518 | + | let $acc181248012512 = sum($acc171248012512, $list1248012512[17]) | |
519 | + | if (($size1248012512 == 18)) | |
520 | + | then $acc181248012512 | |
519 | 521 | else { | |
520 | - | let $ | |
521 | - | if (($ | |
522 | - | then $ | |
522 | + | let $acc191248012512 = sum($acc181248012512, $list1248012512[18]) | |
523 | + | if (($size1248012512 == 19)) | |
524 | + | then $acc191248012512 | |
523 | 525 | else { | |
524 | - | let $ | |
525 | - | if (($ | |
526 | - | then $ | |
526 | + | let $acc201248012512 = sum($acc191248012512, $list1248012512[19]) | |
527 | + | if (($size1248012512 == 20)) | |
528 | + | then $acc201248012512 | |
527 | 529 | else { | |
528 | - | let $ | |
530 | + | let $acc211248012512 = sum($acc201248012512, $list1248012512[20]) | |
529 | 531 | throw("List size exceed 20") | |
530 | 532 | } | |
531 | 533 | } | |
532 | 534 | } | |
533 | 535 | } | |
534 | 536 | } | |
535 | 537 | } | |
536 | 538 | } | |
537 | 539 | } | |
538 | 540 | } | |
539 | 541 | } | |
540 | 542 | } | |
541 | 543 | } | |
542 | 544 | } | |
543 | 545 | } | |
544 | 546 | } | |
545 | 547 | } | |
546 | 548 | } | |
547 | 549 | } | |
548 | 550 | } | |
549 | 551 | } | |
550 | 552 | } | |
551 | 553 | } | |
552 | 554 | if ((height > rewardUpdateHeight)) | |
553 | 555 | then throw("rewardUpdateHeight < height") | |
554 | 556 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
555 | 557 | then true | |
556 | 558 | else (sumRewardCurrent != totalVoteShare)) | |
557 | 559 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
558 | 560 | else { | |
559 | 561 | let previousRewardEntryNew = { | |
560 | - | let $ | |
561 | - | let $ | |
562 | - | let $ | |
563 | - | if (($ | |
564 | - | then $ | |
562 | + | let $list1282412872 = previousPools | |
563 | + | let $size1282412872 = size($list1282412872) | |
564 | + | let $acc01282412872 = nil | |
565 | + | if (($size1282412872 == 0)) | |
566 | + | then $acc01282412872 | |
565 | 567 | else { | |
566 | - | let $ | |
567 | - | if (($ | |
568 | - | then $ | |
568 | + | let $acc11282412872 = PreviousRewardEntry($acc01282412872, $list1282412872[0]) | |
569 | + | if (($size1282412872 == 1)) | |
570 | + | then $acc11282412872 | |
569 | 571 | else { | |
570 | - | let $ | |
571 | - | if (($ | |
572 | - | then $ | |
572 | + | let $acc21282412872 = PreviousRewardEntry($acc11282412872, $list1282412872[1]) | |
573 | + | if (($size1282412872 == 2)) | |
574 | + | then $acc21282412872 | |
573 | 575 | else { | |
574 | - | let $ | |
575 | - | if (($ | |
576 | - | then $ | |
576 | + | let $acc31282412872 = PreviousRewardEntry($acc21282412872, $list1282412872[2]) | |
577 | + | if (($size1282412872 == 3)) | |
578 | + | then $acc31282412872 | |
577 | 579 | else { | |
578 | - | let $ | |
579 | - | if (($ | |
580 | - | then $ | |
580 | + | let $acc41282412872 = PreviousRewardEntry($acc31282412872, $list1282412872[3]) | |
581 | + | if (($size1282412872 == 4)) | |
582 | + | then $acc41282412872 | |
581 | 583 | else { | |
582 | - | let $ | |
583 | - | if (($ | |
584 | - | then $ | |
584 | + | let $acc51282412872 = PreviousRewardEntry($acc41282412872, $list1282412872[4]) | |
585 | + | if (($size1282412872 == 5)) | |
586 | + | then $acc51282412872 | |
585 | 587 | else { | |
586 | - | let $ | |
587 | - | if (($ | |
588 | - | then $ | |
588 | + | let $acc61282412872 = PreviousRewardEntry($acc51282412872, $list1282412872[5]) | |
589 | + | if (($size1282412872 == 6)) | |
590 | + | then $acc61282412872 | |
589 | 591 | else { | |
590 | - | let $ | |
591 | - | if (($ | |
592 | - | then $ | |
592 | + | let $acc71282412872 = PreviousRewardEntry($acc61282412872, $list1282412872[6]) | |
593 | + | if (($size1282412872 == 7)) | |
594 | + | then $acc71282412872 | |
593 | 595 | else { | |
594 | - | let $ | |
595 | - | if (($ | |
596 | - | then $ | |
596 | + | let $acc81282412872 = PreviousRewardEntry($acc71282412872, $list1282412872[7]) | |
597 | + | if (($size1282412872 == 8)) | |
598 | + | then $acc81282412872 | |
597 | 599 | else { | |
598 | - | let $ | |
599 | - | if (($ | |
600 | - | then $ | |
600 | + | let $acc91282412872 = PreviousRewardEntry($acc81282412872, $list1282412872[8]) | |
601 | + | if (($size1282412872 == 9)) | |
602 | + | then $acc91282412872 | |
601 | 603 | else { | |
602 | - | let $ | |
603 | - | if (($ | |
604 | - | then $ | |
604 | + | let $acc101282412872 = PreviousRewardEntry($acc91282412872, $list1282412872[9]) | |
605 | + | if (($size1282412872 == 10)) | |
606 | + | then $acc101282412872 | |
605 | 607 | else { | |
606 | - | let $ | |
607 | - | if (($ | |
608 | - | then $ | |
608 | + | let $acc111282412872 = PreviousRewardEntry($acc101282412872, $list1282412872[10]) | |
609 | + | if (($size1282412872 == 11)) | |
610 | + | then $acc111282412872 | |
609 | 611 | else { | |
610 | - | let $ | |
611 | - | if (($ | |
612 | - | then $ | |
612 | + | let $acc121282412872 = PreviousRewardEntry($acc111282412872, $list1282412872[11]) | |
613 | + | if (($size1282412872 == 12)) | |
614 | + | then $acc121282412872 | |
613 | 615 | else { | |
614 | - | let $ | |
615 | - | if (($ | |
616 | - | then $ | |
616 | + | let $acc131282412872 = PreviousRewardEntry($acc121282412872, $list1282412872[12]) | |
617 | + | if (($size1282412872 == 13)) | |
618 | + | then $acc131282412872 | |
617 | 619 | else { | |
618 | - | let $ | |
619 | - | if (($ | |
620 | - | then $ | |
620 | + | let $acc141282412872 = PreviousRewardEntry($acc131282412872, $list1282412872[13]) | |
621 | + | if (($size1282412872 == 14)) | |
622 | + | then $acc141282412872 | |
621 | 623 | else { | |
622 | - | let $ | |
623 | - | if (($ | |
624 | - | then $ | |
624 | + | let $acc151282412872 = PreviousRewardEntry($acc141282412872, $list1282412872[14]) | |
625 | + | if (($size1282412872 == 15)) | |
626 | + | then $acc151282412872 | |
625 | 627 | else { | |
626 | - | let $ | |
627 | - | if (($ | |
628 | - | then $ | |
628 | + | let $acc161282412872 = PreviousRewardEntry($acc151282412872, $list1282412872[15]) | |
629 | + | if (($size1282412872 == 16)) | |
630 | + | then $acc161282412872 | |
629 | 631 | else { | |
630 | - | let $ | |
631 | - | if (($ | |
632 | - | then $ | |
632 | + | let $acc171282412872 = PreviousRewardEntry($acc161282412872, $list1282412872[16]) | |
633 | + | if (($size1282412872 == 17)) | |
634 | + | then $acc171282412872 | |
633 | 635 | else { | |
634 | - | let $ | |
635 | - | if (($ | |
636 | - | then $ | |
636 | + | let $acc181282412872 = PreviousRewardEntry($acc171282412872, $list1282412872[17]) | |
637 | + | if (($size1282412872 == 18)) | |
638 | + | then $acc181282412872 | |
637 | 639 | else { | |
638 | - | let $ | |
639 | - | if (($ | |
640 | - | then $ | |
640 | + | let $acc191282412872 = PreviousRewardEntry($acc181282412872, $list1282412872[18]) | |
641 | + | if (($size1282412872 == 19)) | |
642 | + | then $acc191282412872 | |
641 | 643 | else { | |
642 | - | let $ | |
643 | - | if (($ | |
644 | - | then $ | |
644 | + | let $acc201282412872 = PreviousRewardEntry($acc191282412872, $list1282412872[19]) | |
645 | + | if (($size1282412872 == 20)) | |
646 | + | then $acc201282412872 | |
645 | 647 | else { | |
646 | - | let $ | |
648 | + | let $acc211282412872 = PreviousRewardEntry($acc201282412872, $list1282412872[20]) | |
647 | 649 | throw("List size exceed 20") | |
648 | 650 | } | |
649 | 651 | } | |
650 | 652 | } | |
651 | 653 | } | |
652 | 654 | } | |
653 | 655 | } | |
654 | 656 | } | |
655 | 657 | } | |
656 | 658 | } | |
657 | 659 | } | |
658 | 660 | } | |
659 | 661 | } | |
660 | 662 | } | |
661 | 663 | } | |
662 | 664 | } | |
663 | 665 | } | |
664 | 666 | } | |
665 | 667 | } | |
666 | 668 | } | |
667 | 669 | } | |
668 | 670 | } | |
669 | 671 | } | |
670 | 672 | let currentRewardEntryNew = { | |
671 | - | let $ | |
672 | - | let $ | |
673 | - | let $ | |
674 | - | if (($ | |
675 | - | then $ | |
673 | + | let $list1290512951 = currentPools | |
674 | + | let $size1290512951 = size($list1290512951) | |
675 | + | let $acc01290512951 = nil | |
676 | + | if (($size1290512951 == 0)) | |
677 | + | then $acc01290512951 | |
676 | 678 | else { | |
677 | - | let $ | |
678 | - | if (($ | |
679 | - | then $ | |
679 | + | let $acc11290512951 = CurrentRewardEntry($acc01290512951, $list1290512951[0]) | |
680 | + | if (($size1290512951 == 1)) | |
681 | + | then $acc11290512951 | |
680 | 682 | else { | |
681 | - | let $ | |
682 | - | if (($ | |
683 | - | then $ | |
683 | + | let $acc21290512951 = CurrentRewardEntry($acc11290512951, $list1290512951[1]) | |
684 | + | if (($size1290512951 == 2)) | |
685 | + | then $acc21290512951 | |
684 | 686 | else { | |
685 | - | let $ | |
686 | - | if (($ | |
687 | - | then $ | |
687 | + | let $acc31290512951 = CurrentRewardEntry($acc21290512951, $list1290512951[2]) | |
688 | + | if (($size1290512951 == 3)) | |
689 | + | then $acc31290512951 | |
688 | 690 | else { | |
689 | - | let $ | |
690 | - | if (($ | |
691 | - | then $ | |
691 | + | let $acc41290512951 = CurrentRewardEntry($acc31290512951, $list1290512951[3]) | |
692 | + | if (($size1290512951 == 4)) | |
693 | + | then $acc41290512951 | |
692 | 694 | else { | |
693 | - | let $ | |
694 | - | if (($ | |
695 | - | then $ | |
695 | + | let $acc51290512951 = CurrentRewardEntry($acc41290512951, $list1290512951[4]) | |
696 | + | if (($size1290512951 == 5)) | |
697 | + | then $acc51290512951 | |
696 | 698 | else { | |
697 | - | let $ | |
698 | - | if (($ | |
699 | - | then $ | |
699 | + | let $acc61290512951 = CurrentRewardEntry($acc51290512951, $list1290512951[5]) | |
700 | + | if (($size1290512951 == 6)) | |
701 | + | then $acc61290512951 | |
700 | 702 | else { | |
701 | - | let $ | |
702 | - | if (($ | |
703 | - | then $ | |
703 | + | let $acc71290512951 = CurrentRewardEntry($acc61290512951, $list1290512951[6]) | |
704 | + | if (($size1290512951 == 7)) | |
705 | + | then $acc71290512951 | |
704 | 706 | else { | |
705 | - | let $ | |
706 | - | if (($ | |
707 | - | then $ | |
707 | + | let $acc81290512951 = CurrentRewardEntry($acc71290512951, $list1290512951[7]) | |
708 | + | if (($size1290512951 == 8)) | |
709 | + | then $acc81290512951 | |
708 | 710 | else { | |
709 | - | let $ | |
710 | - | if (($ | |
711 | - | then $ | |
711 | + | let $acc91290512951 = CurrentRewardEntry($acc81290512951, $list1290512951[8]) | |
712 | + | if (($size1290512951 == 9)) | |
713 | + | then $acc91290512951 | |
712 | 714 | else { | |
713 | - | let $ | |
714 | - | if (($ | |
715 | - | then $ | |
715 | + | let $acc101290512951 = CurrentRewardEntry($acc91290512951, $list1290512951[9]) | |
716 | + | if (($size1290512951 == 10)) | |
717 | + | then $acc101290512951 | |
716 | 718 | else { | |
717 | - | let $ | |
718 | - | if (($ | |
719 | - | then $ | |
719 | + | let $acc111290512951 = CurrentRewardEntry($acc101290512951, $list1290512951[10]) | |
720 | + | if (($size1290512951 == 11)) | |
721 | + | then $acc111290512951 | |
720 | 722 | else { | |
721 | - | let $ | |
722 | - | if (($ | |
723 | - | then $ | |
723 | + | let $acc121290512951 = CurrentRewardEntry($acc111290512951, $list1290512951[11]) | |
724 | + | if (($size1290512951 == 12)) | |
725 | + | then $acc121290512951 | |
724 | 726 | else { | |
725 | - | let $ | |
726 | - | if (($ | |
727 | - | then $ | |
727 | + | let $acc131290512951 = CurrentRewardEntry($acc121290512951, $list1290512951[12]) | |
728 | + | if (($size1290512951 == 13)) | |
729 | + | then $acc131290512951 | |
728 | 730 | else { | |
729 | - | let $ | |
730 | - | if (($ | |
731 | - | then $ | |
731 | + | let $acc141290512951 = CurrentRewardEntry($acc131290512951, $list1290512951[13]) | |
732 | + | if (($size1290512951 == 14)) | |
733 | + | then $acc141290512951 | |
732 | 734 | else { | |
733 | - | let $ | |
734 | - | if (($ | |
735 | - | then $ | |
735 | + | let $acc151290512951 = CurrentRewardEntry($acc141290512951, $list1290512951[14]) | |
736 | + | if (($size1290512951 == 15)) | |
737 | + | then $acc151290512951 | |
736 | 738 | else { | |
737 | - | let $ | |
738 | - | if (($ | |
739 | - | then $ | |
739 | + | let $acc161290512951 = CurrentRewardEntry($acc151290512951, $list1290512951[15]) | |
740 | + | if (($size1290512951 == 16)) | |
741 | + | then $acc161290512951 | |
740 | 742 | else { | |
741 | - | let $ | |
742 | - | if (($ | |
743 | - | then $ | |
743 | + | let $acc171290512951 = CurrentRewardEntry($acc161290512951, $list1290512951[16]) | |
744 | + | if (($size1290512951 == 17)) | |
745 | + | then $acc171290512951 | |
744 | 746 | else { | |
745 | - | let $ | |
746 | - | if (($ | |
747 | - | then $ | |
747 | + | let $acc181290512951 = CurrentRewardEntry($acc171290512951, $list1290512951[17]) | |
748 | + | if (($size1290512951 == 18)) | |
749 | + | then $acc181290512951 | |
748 | 750 | else { | |
749 | - | let $ | |
750 | - | if (($ | |
751 | - | then $ | |
751 | + | let $acc191290512951 = CurrentRewardEntry($acc181290512951, $list1290512951[18]) | |
752 | + | if (($size1290512951 == 19)) | |
753 | + | then $acc191290512951 | |
752 | 754 | else { | |
753 | - | let $ | |
754 | - | if (($ | |
755 | - | then $ | |
755 | + | let $acc201290512951 = CurrentRewardEntry($acc191290512951, $list1290512951[19]) | |
756 | + | if (($size1290512951 == 20)) | |
757 | + | then $acc201290512951 | |
756 | 758 | else { | |
757 | - | let $ | |
759 | + | let $acc211290512951 = CurrentRewardEntry($acc201290512951, $list1290512951[20]) | |
758 | 760 | throw("List size exceed 20") | |
759 | 761 | } | |
760 | 762 | } | |
761 | 763 | } | |
762 | 764 | } | |
763 | 765 | } | |
764 | 766 | } | |
765 | 767 | } | |
766 | 768 | } | |
767 | 769 | } | |
768 | 770 | } | |
769 | 771 | } | |
770 | 772 | } | |
771 | 773 | } | |
772 | 774 | } | |
773 | 775 | } | |
774 | 776 | } | |
775 | 777 | } | |
776 | 778 | } | |
777 | 779 | } | |
778 | 780 | } | |
779 | 781 | } | |
780 | 782 | } | |
781 | 783 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
782 | 784 | } | |
783 | 785 | } | |
784 | 786 | ||
785 | 787 | ||
786 | 788 | ||
787 | 789 | @Callable(i) | |
788 | 790 | func shutdown () = if (!(isActive)) | |
789 | 791 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
790 | 792 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
791 | 793 | then throw("Only admin can call this function") | |
792 | 794 | else suspend("Paused by admin") | |
793 | 795 | ||
794 | 796 | ||
795 | 797 | ||
796 | 798 | @Callable(i) | |
797 | 799 | func activate () = if (isActive) | |
798 | 800 | then throw("DApp is already active") | |
799 | 801 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
800 | 802 | then throw("Only admin can call this function") | |
801 | 803 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
802 | 804 | ||
803 | 805 | ||
804 | 806 | @Verifier(tx) | |
805 | 807 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
806 | 808 |
github/deemru/w8io/026f985 873.31 ms ◑