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