tx · G8QMFvXZ1DAD1yzPk67u7gseGQFDfy8BzyrUgLsrXfa 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj: -0.01400000 Waves 2021.04.11 12:52 [1477642] smart account 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj > SELF 0.00000000 Waves
{ "type": 13, "id": "G8QMFvXZ1DAD1yzPk67u7gseGQFDfy8BzyrUgLsrXfa", "fee": 1400000, "feeAssetId": null, "timestamp": 1618134774116, "version": 1, "sender": "3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj", "senderPublicKey": "9G5zT9Cpjk5h2JSGhccak7GEhvBeeVYy2gPnafgTp7As", "proofs": [ "57eXKQKKcssFjfmqv518ZcY9NPh9yU4czauX9fLKVPiQsoquZ7zvinirk5cbWN42sSnomxpgs3xEo2aSZYPkB2mj" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50AAAAABRrZXlVc2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WN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAB4Y+O4=", "chainId": 84, "height": 1477642, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AHbKwXsQtZE2Pu33ybM6z25KNmx4SnKmXLzL8sAafgen Next: DWPeup6KbF7w2mqtNrFBDyL7XXZDth6f9nqSvX8phXqF Diff:
Old | New | Differences | |
---|---|---|---|
196 | 196 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
198 | 198 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
199 | - | if (true) | |
200 | - | then throw(toString(userNewInterest)) | |
201 | - | else [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)] | |
199 | + | [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)] | |
202 | 200 | } | |
203 | 201 | } | |
204 | 202 | ||
210 | 208 | else { | |
211 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
212 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
213 | - | let $ | |
214 | - | let userNewInterest = $ | |
215 | - | let claimAmount = $ | |
211 | + | let $t070647119 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t070647119._1 | |
213 | + | let claimAmount = $t070647119._2 | |
216 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
217 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
218 | 216 | if ((withdrawAmount > availableFund)) | |
233 | 231 | then throw("DApp is inactive at this moment") | |
234 | 232 | else { | |
235 | 233 | let lastInterest = getLastInterestInfo() | |
236 | - | let $ | |
237 | - | let userNewInterest = $ | |
238 | - | let claimAmount = $ | |
234 | + | let $t082318286 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t082318286._1 | |
236 | + | let claimAmount = $t082318286._2 | |
239 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
240 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
241 | 239 | if ((claimAmount == 0)) | |
252 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
253 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
254 | 252 | let lastInterest = getLastInterestInfo() | |
255 | - | let $ | |
256 | - | let userNewInterest = $ | |
257 | - | let claimAmount = $ | |
253 | + | let $t090659120 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t090659120._1 | |
255 | + | let claimAmount = $t090659120._2 | |
258 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
259 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
260 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
287 | 285 | } | |
288 | 286 | ||
289 | 287 | let sumRewardPrevious = { | |
290 | - | let $ | |
291 | - | let $ | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
288 | + | let $list1088110914 = previousRewards | |
289 | + | let $size1088110914 = size($list1088110914) | |
290 | + | let $acc01088110914 = 0 | |
291 | + | if (($size1088110914 == 0)) | |
292 | + | then $acc01088110914 | |
295 | 293 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
294 | + | let $acc11088110914 = sum($acc01088110914, $list1088110914[0]) | |
295 | + | if (($size1088110914 == 1)) | |
296 | + | then $acc11088110914 | |
299 | 297 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
298 | + | let $acc21088110914 = sum($acc11088110914, $list1088110914[1]) | |
299 | + | if (($size1088110914 == 2)) | |
300 | + | then $acc21088110914 | |
303 | 301 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
302 | + | let $acc31088110914 = sum($acc21088110914, $list1088110914[2]) | |
303 | + | if (($size1088110914 == 3)) | |
304 | + | then $acc31088110914 | |
307 | 305 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
306 | + | let $acc41088110914 = sum($acc31088110914, $list1088110914[3]) | |
307 | + | if (($size1088110914 == 4)) | |
308 | + | then $acc41088110914 | |
311 | 309 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
310 | + | let $acc51088110914 = sum($acc41088110914, $list1088110914[4]) | |
311 | + | if (($size1088110914 == 5)) | |
312 | + | then $acc51088110914 | |
315 | 313 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
314 | + | let $acc61088110914 = sum($acc51088110914, $list1088110914[5]) | |
315 | + | if (($size1088110914 == 6)) | |
316 | + | then $acc61088110914 | |
319 | 317 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
318 | + | let $acc71088110914 = sum($acc61088110914, $list1088110914[6]) | |
319 | + | if (($size1088110914 == 7)) | |
320 | + | then $acc71088110914 | |
323 | 321 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
322 | + | let $acc81088110914 = sum($acc71088110914, $list1088110914[7]) | |
323 | + | if (($size1088110914 == 8)) | |
324 | + | then $acc81088110914 | |
327 | 325 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
326 | + | let $acc91088110914 = sum($acc81088110914, $list1088110914[8]) | |
327 | + | if (($size1088110914 == 9)) | |
328 | + | then $acc91088110914 | |
331 | 329 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
330 | + | let $acc101088110914 = sum($acc91088110914, $list1088110914[9]) | |
331 | + | if (($size1088110914 == 10)) | |
332 | + | then $acc101088110914 | |
335 | 333 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
334 | + | let $acc111088110914 = sum($acc101088110914, $list1088110914[10]) | |
335 | + | if (($size1088110914 == 11)) | |
336 | + | then $acc111088110914 | |
339 | 337 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
338 | + | let $acc121088110914 = sum($acc111088110914, $list1088110914[11]) | |
339 | + | if (($size1088110914 == 12)) | |
340 | + | then $acc121088110914 | |
343 | 341 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
342 | + | let $acc131088110914 = sum($acc121088110914, $list1088110914[12]) | |
343 | + | if (($size1088110914 == 13)) | |
344 | + | then $acc131088110914 | |
347 | 345 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
346 | + | let $acc141088110914 = sum($acc131088110914, $list1088110914[13]) | |
347 | + | if (($size1088110914 == 14)) | |
348 | + | then $acc141088110914 | |
351 | 349 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
350 | + | let $acc151088110914 = sum($acc141088110914, $list1088110914[14]) | |
351 | + | if (($size1088110914 == 15)) | |
352 | + | then $acc151088110914 | |
355 | 353 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
354 | + | let $acc161088110914 = sum($acc151088110914, $list1088110914[15]) | |
355 | + | if (($size1088110914 == 16)) | |
356 | + | then $acc161088110914 | |
359 | 357 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
358 | + | let $acc171088110914 = sum($acc161088110914, $list1088110914[16]) | |
359 | + | if (($size1088110914 == 17)) | |
360 | + | then $acc171088110914 | |
363 | 361 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
362 | + | let $acc181088110914 = sum($acc171088110914, $list1088110914[17]) | |
363 | + | if (($size1088110914 == 18)) | |
364 | + | then $acc181088110914 | |
367 | 365 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
366 | + | let $acc191088110914 = sum($acc181088110914, $list1088110914[18]) | |
367 | + | if (($size1088110914 == 19)) | |
368 | + | then $acc191088110914 | |
371 | 369 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
370 | + | let $acc201088110914 = sum($acc191088110914, $list1088110914[19]) | |
371 | + | if (($size1088110914 == 20)) | |
372 | + | then $acc201088110914 | |
375 | 373 | else { | |
376 | - | let $ | |
374 | + | let $acc211088110914 = sum($acc201088110914, $list1088110914[20]) | |
377 | 375 | throw("List size exceed 20") | |
378 | 376 | } | |
379 | 377 | } | |
398 | 396 | } | |
399 | 397 | } | |
400 | 398 | let sumRewardCurrent = { | |
401 | - | let $ | |
402 | - | let $ | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
399 | + | let $list1094310975 = currentRewards | |
400 | + | let $size1094310975 = size($list1094310975) | |
401 | + | let $acc01094310975 = 0 | |
402 | + | if (($size1094310975 == 0)) | |
403 | + | then $acc01094310975 | |
406 | 404 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
405 | + | let $acc11094310975 = sum($acc01094310975, $list1094310975[0]) | |
406 | + | if (($size1094310975 == 1)) | |
407 | + | then $acc11094310975 | |
410 | 408 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
409 | + | let $acc21094310975 = sum($acc11094310975, $list1094310975[1]) | |
410 | + | if (($size1094310975 == 2)) | |
411 | + | then $acc21094310975 | |
414 | 412 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
413 | + | let $acc31094310975 = sum($acc21094310975, $list1094310975[2]) | |
414 | + | if (($size1094310975 == 3)) | |
415 | + | then $acc31094310975 | |
418 | 416 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
417 | + | let $acc41094310975 = sum($acc31094310975, $list1094310975[3]) | |
418 | + | if (($size1094310975 == 4)) | |
419 | + | then $acc41094310975 | |
422 | 420 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
421 | + | let $acc51094310975 = sum($acc41094310975, $list1094310975[4]) | |
422 | + | if (($size1094310975 == 5)) | |
423 | + | then $acc51094310975 | |
426 | 424 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
425 | + | let $acc61094310975 = sum($acc51094310975, $list1094310975[5]) | |
426 | + | if (($size1094310975 == 6)) | |
427 | + | then $acc61094310975 | |
430 | 428 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
429 | + | let $acc71094310975 = sum($acc61094310975, $list1094310975[6]) | |
430 | + | if (($size1094310975 == 7)) | |
431 | + | then $acc71094310975 | |
434 | 432 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
433 | + | let $acc81094310975 = sum($acc71094310975, $list1094310975[7]) | |
434 | + | if (($size1094310975 == 8)) | |
435 | + | then $acc81094310975 | |
438 | 436 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
437 | + | let $acc91094310975 = sum($acc81094310975, $list1094310975[8]) | |
438 | + | if (($size1094310975 == 9)) | |
439 | + | then $acc91094310975 | |
442 | 440 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
441 | + | let $acc101094310975 = sum($acc91094310975, $list1094310975[9]) | |
442 | + | if (($size1094310975 == 10)) | |
443 | + | then $acc101094310975 | |
446 | 444 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
445 | + | let $acc111094310975 = sum($acc101094310975, $list1094310975[10]) | |
446 | + | if (($size1094310975 == 11)) | |
447 | + | then $acc111094310975 | |
450 | 448 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
449 | + | let $acc121094310975 = sum($acc111094310975, $list1094310975[11]) | |
450 | + | if (($size1094310975 == 12)) | |
451 | + | then $acc121094310975 | |
454 | 452 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
453 | + | let $acc131094310975 = sum($acc121094310975, $list1094310975[12]) | |
454 | + | if (($size1094310975 == 13)) | |
455 | + | then $acc131094310975 | |
458 | 456 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
457 | + | let $acc141094310975 = sum($acc131094310975, $list1094310975[13]) | |
458 | + | if (($size1094310975 == 14)) | |
459 | + | then $acc141094310975 | |
462 | 460 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
461 | + | let $acc151094310975 = sum($acc141094310975, $list1094310975[14]) | |
462 | + | if (($size1094310975 == 15)) | |
463 | + | then $acc151094310975 | |
466 | 464 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
465 | + | let $acc161094310975 = sum($acc151094310975, $list1094310975[15]) | |
466 | + | if (($size1094310975 == 16)) | |
467 | + | then $acc161094310975 | |
470 | 468 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
469 | + | let $acc171094310975 = sum($acc161094310975, $list1094310975[16]) | |
470 | + | if (($size1094310975 == 17)) | |
471 | + | then $acc171094310975 | |
474 | 472 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
473 | + | let $acc181094310975 = sum($acc171094310975, $list1094310975[17]) | |
474 | + | if (($size1094310975 == 18)) | |
475 | + | then $acc181094310975 | |
478 | 476 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
477 | + | let $acc191094310975 = sum($acc181094310975, $list1094310975[18]) | |
478 | + | if (($size1094310975 == 19)) | |
479 | + | then $acc191094310975 | |
482 | 480 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
481 | + | let $acc201094310975 = sum($acc191094310975, $list1094310975[19]) | |
482 | + | if (($size1094310975 == 20)) | |
483 | + | then $acc201094310975 | |
486 | 484 | else { | |
487 | - | let $ | |
485 | + | let $acc211094310975 = sum($acc201094310975, $list1094310975[20]) | |
488 | 486 | throw("List size exceed 20") | |
489 | 487 | } | |
490 | 488 | } | |
516 | 514 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
517 | 515 | else { | |
518 | 516 | let previousRewardEntryNew = { | |
519 | - | let $ | |
520 | - | let $ | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
517 | + | let $list1128411332 = previousPools | |
518 | + | let $size1128411332 = size($list1128411332) | |
519 | + | let $acc01128411332 = nil | |
520 | + | if (($size1128411332 == 0)) | |
521 | + | then $acc01128411332 | |
524 | 522 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
523 | + | let $acc11128411332 = PreviousRewardEntry($acc01128411332, $list1128411332[0]) | |
524 | + | if (($size1128411332 == 1)) | |
525 | + | then $acc11128411332 | |
528 | 526 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
527 | + | let $acc21128411332 = PreviousRewardEntry($acc11128411332, $list1128411332[1]) | |
528 | + | if (($size1128411332 == 2)) | |
529 | + | then $acc21128411332 | |
532 | 530 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
531 | + | let $acc31128411332 = PreviousRewardEntry($acc21128411332, $list1128411332[2]) | |
532 | + | if (($size1128411332 == 3)) | |
533 | + | then $acc31128411332 | |
536 | 534 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
535 | + | let $acc41128411332 = PreviousRewardEntry($acc31128411332, $list1128411332[3]) | |
536 | + | if (($size1128411332 == 4)) | |
537 | + | then $acc41128411332 | |
540 | 538 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
539 | + | let $acc51128411332 = PreviousRewardEntry($acc41128411332, $list1128411332[4]) | |
540 | + | if (($size1128411332 == 5)) | |
541 | + | then $acc51128411332 | |
544 | 542 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
543 | + | let $acc61128411332 = PreviousRewardEntry($acc51128411332, $list1128411332[5]) | |
544 | + | if (($size1128411332 == 6)) | |
545 | + | then $acc61128411332 | |
548 | 546 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
547 | + | let $acc71128411332 = PreviousRewardEntry($acc61128411332, $list1128411332[6]) | |
548 | + | if (($size1128411332 == 7)) | |
549 | + | then $acc71128411332 | |
552 | 550 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
551 | + | let $acc81128411332 = PreviousRewardEntry($acc71128411332, $list1128411332[7]) | |
552 | + | if (($size1128411332 == 8)) | |
553 | + | then $acc81128411332 | |
556 | 554 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
555 | + | let $acc91128411332 = PreviousRewardEntry($acc81128411332, $list1128411332[8]) | |
556 | + | if (($size1128411332 == 9)) | |
557 | + | then $acc91128411332 | |
560 | 558 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
559 | + | let $acc101128411332 = PreviousRewardEntry($acc91128411332, $list1128411332[9]) | |
560 | + | if (($size1128411332 == 10)) | |
561 | + | then $acc101128411332 | |
564 | 562 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
563 | + | let $acc111128411332 = PreviousRewardEntry($acc101128411332, $list1128411332[10]) | |
564 | + | if (($size1128411332 == 11)) | |
565 | + | then $acc111128411332 | |
568 | 566 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
567 | + | let $acc121128411332 = PreviousRewardEntry($acc111128411332, $list1128411332[11]) | |
568 | + | if (($size1128411332 == 12)) | |
569 | + | then $acc121128411332 | |
572 | 570 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
571 | + | let $acc131128411332 = PreviousRewardEntry($acc121128411332, $list1128411332[12]) | |
572 | + | if (($size1128411332 == 13)) | |
573 | + | then $acc131128411332 | |
576 | 574 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
575 | + | let $acc141128411332 = PreviousRewardEntry($acc131128411332, $list1128411332[13]) | |
576 | + | if (($size1128411332 == 14)) | |
577 | + | then $acc141128411332 | |
580 | 578 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
579 | + | let $acc151128411332 = PreviousRewardEntry($acc141128411332, $list1128411332[14]) | |
580 | + | if (($size1128411332 == 15)) | |
581 | + | then $acc151128411332 | |
584 | 582 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
583 | + | let $acc161128411332 = PreviousRewardEntry($acc151128411332, $list1128411332[15]) | |
584 | + | if (($size1128411332 == 16)) | |
585 | + | then $acc161128411332 | |
588 | 586 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
587 | + | let $acc171128411332 = PreviousRewardEntry($acc161128411332, $list1128411332[16]) | |
588 | + | if (($size1128411332 == 17)) | |
589 | + | then $acc171128411332 | |
592 | 590 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
591 | + | let $acc181128411332 = PreviousRewardEntry($acc171128411332, $list1128411332[17]) | |
592 | + | if (($size1128411332 == 18)) | |
593 | + | then $acc181128411332 | |
596 | 594 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
595 | + | let $acc191128411332 = PreviousRewardEntry($acc181128411332, $list1128411332[18]) | |
596 | + | if (($size1128411332 == 19)) | |
597 | + | then $acc191128411332 | |
600 | 598 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
599 | + | let $acc201128411332 = PreviousRewardEntry($acc191128411332, $list1128411332[19]) | |
600 | + | if (($size1128411332 == 20)) | |
601 | + | then $acc201128411332 | |
604 | 602 | else { | |
605 | - | let $ | |
603 | + | let $acc211128411332 = PreviousRewardEntry($acc201128411332, $list1128411332[20]) | |
606 | 604 | throw("List size exceed 20") | |
607 | 605 | } | |
608 | 606 | } | |
627 | 625 | } | |
628 | 626 | } | |
629 | 627 | let currentRewardEntryNew = { | |
630 | - | let $ | |
631 | - | let $ | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
628 | + | let $list1136511411 = currentPools | |
629 | + | let $size1136511411 = size($list1136511411) | |
630 | + | let $acc01136511411 = nil | |
631 | + | if (($size1136511411 == 0)) | |
632 | + | then $acc01136511411 | |
635 | 633 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
634 | + | let $acc11136511411 = CurrentRewardEntry($acc01136511411, $list1136511411[0]) | |
635 | + | if (($size1136511411 == 1)) | |
636 | + | then $acc11136511411 | |
639 | 637 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
638 | + | let $acc21136511411 = CurrentRewardEntry($acc11136511411, $list1136511411[1]) | |
639 | + | if (($size1136511411 == 2)) | |
640 | + | then $acc21136511411 | |
643 | 641 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
642 | + | let $acc31136511411 = CurrentRewardEntry($acc21136511411, $list1136511411[2]) | |
643 | + | if (($size1136511411 == 3)) | |
644 | + | then $acc31136511411 | |
647 | 645 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
646 | + | let $acc41136511411 = CurrentRewardEntry($acc31136511411, $list1136511411[3]) | |
647 | + | if (($size1136511411 == 4)) | |
648 | + | then $acc41136511411 | |
651 | 649 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
650 | + | let $acc51136511411 = CurrentRewardEntry($acc41136511411, $list1136511411[4]) | |
651 | + | if (($size1136511411 == 5)) | |
652 | + | then $acc51136511411 | |
655 | 653 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
654 | + | let $acc61136511411 = CurrentRewardEntry($acc51136511411, $list1136511411[5]) | |
655 | + | if (($size1136511411 == 6)) | |
656 | + | then $acc61136511411 | |
659 | 657 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
658 | + | let $acc71136511411 = CurrentRewardEntry($acc61136511411, $list1136511411[6]) | |
659 | + | if (($size1136511411 == 7)) | |
660 | + | then $acc71136511411 | |
663 | 661 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
662 | + | let $acc81136511411 = CurrentRewardEntry($acc71136511411, $list1136511411[7]) | |
663 | + | if (($size1136511411 == 8)) | |
664 | + | then $acc81136511411 | |
667 | 665 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
666 | + | let $acc91136511411 = CurrentRewardEntry($acc81136511411, $list1136511411[8]) | |
667 | + | if (($size1136511411 == 9)) | |
668 | + | then $acc91136511411 | |
671 | 669 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
670 | + | let $acc101136511411 = CurrentRewardEntry($acc91136511411, $list1136511411[9]) | |
671 | + | if (($size1136511411 == 10)) | |
672 | + | then $acc101136511411 | |
675 | 673 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
674 | + | let $acc111136511411 = CurrentRewardEntry($acc101136511411, $list1136511411[10]) | |
675 | + | if (($size1136511411 == 11)) | |
676 | + | then $acc111136511411 | |
679 | 677 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
678 | + | let $acc121136511411 = CurrentRewardEntry($acc111136511411, $list1136511411[11]) | |
679 | + | if (($size1136511411 == 12)) | |
680 | + | then $acc121136511411 | |
683 | 681 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
682 | + | let $acc131136511411 = CurrentRewardEntry($acc121136511411, $list1136511411[12]) | |
683 | + | if (($size1136511411 == 13)) | |
684 | + | then $acc131136511411 | |
687 | 685 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
686 | + | let $acc141136511411 = CurrentRewardEntry($acc131136511411, $list1136511411[13]) | |
687 | + | if (($size1136511411 == 14)) | |
688 | + | then $acc141136511411 | |
691 | 689 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
690 | + | let $acc151136511411 = CurrentRewardEntry($acc141136511411, $list1136511411[14]) | |
691 | + | if (($size1136511411 == 15)) | |
692 | + | then $acc151136511411 | |
695 | 693 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
694 | + | let $acc161136511411 = CurrentRewardEntry($acc151136511411, $list1136511411[15]) | |
695 | + | if (($size1136511411 == 16)) | |
696 | + | then $acc161136511411 | |
699 | 697 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
698 | + | let $acc171136511411 = CurrentRewardEntry($acc161136511411, $list1136511411[16]) | |
699 | + | if (($size1136511411 == 17)) | |
700 | + | then $acc171136511411 | |
703 | 701 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
702 | + | let $acc181136511411 = CurrentRewardEntry($acc171136511411, $list1136511411[17]) | |
703 | + | if (($size1136511411 == 18)) | |
704 | + | then $acc181136511411 | |
707 | 705 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
706 | + | let $acc191136511411 = CurrentRewardEntry($acc181136511411, $list1136511411[18]) | |
707 | + | if (($size1136511411 == 19)) | |
708 | + | then $acc191136511411 | |
711 | 709 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
710 | + | let $acc201136511411 = CurrentRewardEntry($acc191136511411, $list1136511411[19]) | |
711 | + | if (($size1136511411 == 20)) | |
712 | + | then $acc201136511411 | |
715 | 713 | else { | |
716 | - | let $ | |
714 | + | let $acc211136511411 = CurrentRewardEntry($acc201136511411, $list1136511411[20]) | |
717 | 715 | throw("List size exceed 20") | |
718 | 716 | } | |
719 | 717 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | 9 | ||
10 | 10 | let adminPubKeyStartStop = base58'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg' | |
11 | 11 | ||
12 | 12 | let keyActive = "active" | |
13 | 13 | ||
14 | 14 | let keyCause = "shutdown_cause" | |
15 | 15 | ||
16 | 16 | let keyLastInterest = "last_interest" | |
17 | 17 | ||
18 | 18 | let keyUserLastInterest = "_last_interest" | |
19 | 19 | ||
20 | 20 | let keyUserSWOPLocked = "_SWOP_amount" | |
21 | 21 | ||
22 | 22 | let keyUserGetBackHeight = "_getBackHeight" | |
23 | 23 | ||
24 | 24 | let keyTotalSWOPLocked = "total_SWOP_amount" | |
25 | 25 | ||
26 | 26 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
27 | 27 | ||
28 | 28 | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
29 | 29 | ||
30 | 30 | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyVoteName = "vote_name" | |
37 | 37 | ||
38 | 38 | let keyOptionName = "_option_name" | |
39 | 39 | ||
40 | 40 | let keyVotingStartHeight = "_startHeight" | |
41 | 41 | ||
42 | 42 | let keyVoteDuration = "_vote_duration" | |
43 | 43 | ||
44 | 44 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
45 | 45 | ||
46 | 46 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
49 | 49 | ||
50 | 50 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
51 | 51 | ||
52 | 52 | let keyRewardUpdateHeight = "reward_update_height" | |
53 | 53 | ||
54 | 54 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
55 | 55 | ||
56 | 56 | let farmingSWOPAddress = Address(base58'3P73HDkPqG15nLXevjCbmXtazHYTZbpPoPw') | |
57 | 57 | ||
58 | 58 | let votingLiteContract = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg') | |
59 | 59 | ||
60 | 60 | let keySWOPid = "SWOP_id" | |
61 | 61 | ||
62 | 62 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
63 | 63 | ||
64 | 64 | let scaleValue = 100000000 | |
65 | 65 | ||
66 | 66 | let totalVoteShare = 10000000000 | |
67 | 67 | ||
68 | 68 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getLastInterestInfo () = { | |
75 | 75 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
76 | 76 | lastInterest | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getUserInterestInfo (user,lastInterest) = { | |
87 | 87 | let userSWOPAmount = getUserSWOPLocked(user) | |
88 | 88 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
89 | 89 | let userLastInterestValue = match userLastInterest { | |
90 | 90 | case userLastInterest: Int => | |
91 | 91 | userLastInterest | |
92 | 92 | case _ => | |
93 | 93 | lastInterest | |
94 | 94 | } | |
95 | 95 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func getVoteOptionAmount (user,voteName,option) = { | |
112 | 112 | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
113 | 113 | let uvoa = match userVoteOptionAmount { | |
114 | 114 | case uvoa: Int => | |
115 | 115 | uvoa | |
116 | 116 | case uvoa: Unit => | |
117 | 117 | 0 | |
118 | 118 | case _ => | |
119 | 119 | throw("Match error") | |
120 | 120 | } | |
121 | 121 | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func getTotalVoteOptionAmount (voteName,option) = { | |
129 | 129 | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
130 | 130 | let tvoa = match totalVoteOptionAmount { | |
131 | 131 | case tvoa: Int => | |
132 | 132 | tvoa | |
133 | 133 | case tvoa: Unit => | |
134 | 134 | 0 | |
135 | 135 | case _ => | |
136 | 136 | throw("Match error") | |
137 | 137 | } | |
138 | 138 | tvoa | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
143 | 143 | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
144 | 144 | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func claimCalc (caller) = { | |
149 | 149 | let lastInterest = getLastInterestInfo() | |
150 | 150 | let $t048494929 = getUserInterestInfo(caller, lastInterest) | |
151 | 151 | let userLastInterest = $t048494929._1 | |
152 | 152 | let userSWOPLocked = $t048494929._2 | |
153 | 153 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
154 | 154 | let userNewInterest = lastInterest | |
155 | 155 | $Tuple2(userNewInterest, claimAmount) | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | @Callable(i) | |
160 | 160 | func airDrop () = if (!(isActive)) | |
161 | 161 | then throw("DApp is inactive at this moment") | |
162 | 162 | else { | |
163 | 163 | let $t051945269 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
164 | 164 | let pmtAmount = $t051945269._1 | |
165 | 165 | let pmtAssetId = $t051945269._2 | |
166 | 166 | if ((pmtAssetId != SWOP)) | |
167 | 167 | then throw("Incorrect pmtAssetId") | |
168 | 168 | else { | |
169 | 169 | let totalSWOPLocked = getTotalSWOPLocked() | |
170 | 170 | let lastInterest = getLastInterestInfo() | |
171 | 171 | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
172 | 172 | [IntegerEntry(keyLastInterest, interestNew)] | |
173 | 173 | } | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | ||
178 | 178 | @Callable(i) | |
179 | 179 | func lockSWOP () = if (!(isActive)) | |
180 | 180 | then throw("DApp is inactive at this moment") | |
181 | 181 | else { | |
182 | 182 | let $t057075782 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
183 | 183 | let pmtAmount = $t057075782._1 | |
184 | 184 | let pmtAssetId = $t057075782._2 | |
185 | 185 | if ((pmtAssetId != SWOP)) | |
186 | 186 | then throw("Incorrect pmtAssetId") | |
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | 189 | let $t058985980 = getUserInterestInfo(i.caller, lastInterest) | |
190 | 190 | let userLastInterest = $t058985980._1 | |
191 | 191 | let userSWOPLocked = $t058985980._2 | |
192 | 192 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | 193 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
194 | 194 | let userNewInterest = lastInterest | |
195 | 195 | let totalSWOPLocked = getTotalSWOPLocked() | |
196 | 196 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
198 | 198 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
199 | - | if (true) | |
200 | - | then throw(toString(userNewInterest)) | |
201 | - | else [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)] | |
199 | + | [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)] | |
202 | 200 | } | |
203 | 201 | } | |
204 | 202 | ||
205 | 203 | ||
206 | 204 | ||
207 | 205 | @Callable(i) | |
208 | 206 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
209 | 207 | then throw("DApp is inactive at this moment") | |
210 | 208 | else { | |
211 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
212 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
213 | - | let $ | |
214 | - | let userNewInterest = $ | |
215 | - | let claimAmount = $ | |
211 | + | let $t070647119 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t070647119._1 | |
213 | + | let claimAmount = $t070647119._2 | |
216 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
217 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
218 | 216 | if ((withdrawAmount > availableFund)) | |
219 | 217 | then throw("withdrawAmount > availableFund") | |
220 | 218 | else { | |
221 | 219 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
222 | 220 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
223 | 221 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
224 | 222 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
225 | 223 | [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)] | |
226 | 224 | } | |
227 | 225 | } | |
228 | 226 | ||
229 | 227 | ||
230 | 228 | ||
231 | 229 | @Callable(i) | |
232 | 230 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
233 | 231 | then throw("DApp is inactive at this moment") | |
234 | 232 | else { | |
235 | 233 | let lastInterest = getLastInterestInfo() | |
236 | - | let $ | |
237 | - | let userNewInterest = $ | |
238 | - | let claimAmount = $ | |
234 | + | let $t082318286 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t082318286._1 | |
236 | + | let claimAmount = $t082318286._2 | |
239 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
240 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
241 | 239 | if ((claimAmount == 0)) | |
242 | 240 | then throw("You have 0 available SWOP") | |
243 | 241 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
244 | 242 | } | |
245 | 243 | ||
246 | 244 | ||
247 | 245 | ||
248 | 246 | @Callable(i) | |
249 | 247 | func claimAndStakeSWOP () = if (!(isActive)) | |
250 | 248 | then throw("DApp is inactive at this moment") | |
251 | 249 | else { | |
252 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
253 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
254 | 252 | let lastInterest = getLastInterestInfo() | |
255 | - | let $ | |
256 | - | let userNewInterest = $ | |
257 | - | let claimAmount = $ | |
253 | + | let $t090659120 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t090659120._1 | |
255 | + | let claimAmount = $t090659120._2 | |
258 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
259 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
260 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
261 | 259 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
262 | 260 | if ((claimAmount == 0)) | |
263 | 261 | then throw("You have 0 available SWOP") | |
264 | 262 | 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)] | |
265 | 263 | } | |
266 | 264 | ||
267 | 265 | ||
268 | 266 | ||
269 | 267 | @Callable(i) | |
270 | 268 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
271 | 269 | then throw("DApp is inactive at this moment") | |
272 | 270 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
273 | 271 | then throw("Only admin can call this function") | |
274 | 272 | else { | |
275 | 273 | func sum (a,b) = (a + b) | |
276 | 274 | ||
277 | 275 | func PreviousRewardEntry (accumulated,pool) = { | |
278 | 276 | let poolIndex = value(indexOf(previousPools, pool)) | |
279 | 277 | let poolReward = previousRewards[poolIndex] | |
280 | 278 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
281 | 279 | } | |
282 | 280 | ||
283 | 281 | func CurrentRewardEntry (accumulated,pool) = { | |
284 | 282 | let poolIndex = value(indexOf(currentPools, pool)) | |
285 | 283 | let poolReward = currentRewards[poolIndex] | |
286 | 284 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
287 | 285 | } | |
288 | 286 | ||
289 | 287 | let sumRewardPrevious = { | |
290 | - | let $ | |
291 | - | let $ | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
288 | + | let $list1088110914 = previousRewards | |
289 | + | let $size1088110914 = size($list1088110914) | |
290 | + | let $acc01088110914 = 0 | |
291 | + | if (($size1088110914 == 0)) | |
292 | + | then $acc01088110914 | |
295 | 293 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
294 | + | let $acc11088110914 = sum($acc01088110914, $list1088110914[0]) | |
295 | + | if (($size1088110914 == 1)) | |
296 | + | then $acc11088110914 | |
299 | 297 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
298 | + | let $acc21088110914 = sum($acc11088110914, $list1088110914[1]) | |
299 | + | if (($size1088110914 == 2)) | |
300 | + | then $acc21088110914 | |
303 | 301 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
302 | + | let $acc31088110914 = sum($acc21088110914, $list1088110914[2]) | |
303 | + | if (($size1088110914 == 3)) | |
304 | + | then $acc31088110914 | |
307 | 305 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
306 | + | let $acc41088110914 = sum($acc31088110914, $list1088110914[3]) | |
307 | + | if (($size1088110914 == 4)) | |
308 | + | then $acc41088110914 | |
311 | 309 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
310 | + | let $acc51088110914 = sum($acc41088110914, $list1088110914[4]) | |
311 | + | if (($size1088110914 == 5)) | |
312 | + | then $acc51088110914 | |
315 | 313 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
314 | + | let $acc61088110914 = sum($acc51088110914, $list1088110914[5]) | |
315 | + | if (($size1088110914 == 6)) | |
316 | + | then $acc61088110914 | |
319 | 317 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
318 | + | let $acc71088110914 = sum($acc61088110914, $list1088110914[6]) | |
319 | + | if (($size1088110914 == 7)) | |
320 | + | then $acc71088110914 | |
323 | 321 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
322 | + | let $acc81088110914 = sum($acc71088110914, $list1088110914[7]) | |
323 | + | if (($size1088110914 == 8)) | |
324 | + | then $acc81088110914 | |
327 | 325 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
326 | + | let $acc91088110914 = sum($acc81088110914, $list1088110914[8]) | |
327 | + | if (($size1088110914 == 9)) | |
328 | + | then $acc91088110914 | |
331 | 329 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
330 | + | let $acc101088110914 = sum($acc91088110914, $list1088110914[9]) | |
331 | + | if (($size1088110914 == 10)) | |
332 | + | then $acc101088110914 | |
335 | 333 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
334 | + | let $acc111088110914 = sum($acc101088110914, $list1088110914[10]) | |
335 | + | if (($size1088110914 == 11)) | |
336 | + | then $acc111088110914 | |
339 | 337 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
338 | + | let $acc121088110914 = sum($acc111088110914, $list1088110914[11]) | |
339 | + | if (($size1088110914 == 12)) | |
340 | + | then $acc121088110914 | |
343 | 341 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
342 | + | let $acc131088110914 = sum($acc121088110914, $list1088110914[12]) | |
343 | + | if (($size1088110914 == 13)) | |
344 | + | then $acc131088110914 | |
347 | 345 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
346 | + | let $acc141088110914 = sum($acc131088110914, $list1088110914[13]) | |
347 | + | if (($size1088110914 == 14)) | |
348 | + | then $acc141088110914 | |
351 | 349 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
350 | + | let $acc151088110914 = sum($acc141088110914, $list1088110914[14]) | |
351 | + | if (($size1088110914 == 15)) | |
352 | + | then $acc151088110914 | |
355 | 353 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
354 | + | let $acc161088110914 = sum($acc151088110914, $list1088110914[15]) | |
355 | + | if (($size1088110914 == 16)) | |
356 | + | then $acc161088110914 | |
359 | 357 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
358 | + | let $acc171088110914 = sum($acc161088110914, $list1088110914[16]) | |
359 | + | if (($size1088110914 == 17)) | |
360 | + | then $acc171088110914 | |
363 | 361 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
362 | + | let $acc181088110914 = sum($acc171088110914, $list1088110914[17]) | |
363 | + | if (($size1088110914 == 18)) | |
364 | + | then $acc181088110914 | |
367 | 365 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
366 | + | let $acc191088110914 = sum($acc181088110914, $list1088110914[18]) | |
367 | + | if (($size1088110914 == 19)) | |
368 | + | then $acc191088110914 | |
371 | 369 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
370 | + | let $acc201088110914 = sum($acc191088110914, $list1088110914[19]) | |
371 | + | if (($size1088110914 == 20)) | |
372 | + | then $acc201088110914 | |
375 | 373 | else { | |
376 | - | let $ | |
374 | + | let $acc211088110914 = sum($acc201088110914, $list1088110914[20]) | |
377 | 375 | throw("List size exceed 20") | |
378 | 376 | } | |
379 | 377 | } | |
380 | 378 | } | |
381 | 379 | } | |
382 | 380 | } | |
383 | 381 | } | |
384 | 382 | } | |
385 | 383 | } | |
386 | 384 | } | |
387 | 385 | } | |
388 | 386 | } | |
389 | 387 | } | |
390 | 388 | } | |
391 | 389 | } | |
392 | 390 | } | |
393 | 391 | } | |
394 | 392 | } | |
395 | 393 | } | |
396 | 394 | } | |
397 | 395 | } | |
398 | 396 | } | |
399 | 397 | } | |
400 | 398 | let sumRewardCurrent = { | |
401 | - | let $ | |
402 | - | let $ | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
399 | + | let $list1094310975 = currentRewards | |
400 | + | let $size1094310975 = size($list1094310975) | |
401 | + | let $acc01094310975 = 0 | |
402 | + | if (($size1094310975 == 0)) | |
403 | + | then $acc01094310975 | |
406 | 404 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
405 | + | let $acc11094310975 = sum($acc01094310975, $list1094310975[0]) | |
406 | + | if (($size1094310975 == 1)) | |
407 | + | then $acc11094310975 | |
410 | 408 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
409 | + | let $acc21094310975 = sum($acc11094310975, $list1094310975[1]) | |
410 | + | if (($size1094310975 == 2)) | |
411 | + | then $acc21094310975 | |
414 | 412 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
413 | + | let $acc31094310975 = sum($acc21094310975, $list1094310975[2]) | |
414 | + | if (($size1094310975 == 3)) | |
415 | + | then $acc31094310975 | |
418 | 416 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
417 | + | let $acc41094310975 = sum($acc31094310975, $list1094310975[3]) | |
418 | + | if (($size1094310975 == 4)) | |
419 | + | then $acc41094310975 | |
422 | 420 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
421 | + | let $acc51094310975 = sum($acc41094310975, $list1094310975[4]) | |
422 | + | if (($size1094310975 == 5)) | |
423 | + | then $acc51094310975 | |
426 | 424 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
425 | + | let $acc61094310975 = sum($acc51094310975, $list1094310975[5]) | |
426 | + | if (($size1094310975 == 6)) | |
427 | + | then $acc61094310975 | |
430 | 428 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
429 | + | let $acc71094310975 = sum($acc61094310975, $list1094310975[6]) | |
430 | + | if (($size1094310975 == 7)) | |
431 | + | then $acc71094310975 | |
434 | 432 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
433 | + | let $acc81094310975 = sum($acc71094310975, $list1094310975[7]) | |
434 | + | if (($size1094310975 == 8)) | |
435 | + | then $acc81094310975 | |
438 | 436 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
437 | + | let $acc91094310975 = sum($acc81094310975, $list1094310975[8]) | |
438 | + | if (($size1094310975 == 9)) | |
439 | + | then $acc91094310975 | |
442 | 440 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
441 | + | let $acc101094310975 = sum($acc91094310975, $list1094310975[9]) | |
442 | + | if (($size1094310975 == 10)) | |
443 | + | then $acc101094310975 | |
446 | 444 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
445 | + | let $acc111094310975 = sum($acc101094310975, $list1094310975[10]) | |
446 | + | if (($size1094310975 == 11)) | |
447 | + | then $acc111094310975 | |
450 | 448 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
449 | + | let $acc121094310975 = sum($acc111094310975, $list1094310975[11]) | |
450 | + | if (($size1094310975 == 12)) | |
451 | + | then $acc121094310975 | |
454 | 452 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
453 | + | let $acc131094310975 = sum($acc121094310975, $list1094310975[12]) | |
454 | + | if (($size1094310975 == 13)) | |
455 | + | then $acc131094310975 | |
458 | 456 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
457 | + | let $acc141094310975 = sum($acc131094310975, $list1094310975[13]) | |
458 | + | if (($size1094310975 == 14)) | |
459 | + | then $acc141094310975 | |
462 | 460 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
461 | + | let $acc151094310975 = sum($acc141094310975, $list1094310975[14]) | |
462 | + | if (($size1094310975 == 15)) | |
463 | + | then $acc151094310975 | |
466 | 464 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
465 | + | let $acc161094310975 = sum($acc151094310975, $list1094310975[15]) | |
466 | + | if (($size1094310975 == 16)) | |
467 | + | then $acc161094310975 | |
470 | 468 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
469 | + | let $acc171094310975 = sum($acc161094310975, $list1094310975[16]) | |
470 | + | if (($size1094310975 == 17)) | |
471 | + | then $acc171094310975 | |
474 | 472 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
473 | + | let $acc181094310975 = sum($acc171094310975, $list1094310975[17]) | |
474 | + | if (($size1094310975 == 18)) | |
475 | + | then $acc181094310975 | |
478 | 476 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
477 | + | let $acc191094310975 = sum($acc181094310975, $list1094310975[18]) | |
478 | + | if (($size1094310975 == 19)) | |
479 | + | then $acc191094310975 | |
482 | 480 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
481 | + | let $acc201094310975 = sum($acc191094310975, $list1094310975[19]) | |
482 | + | if (($size1094310975 == 20)) | |
483 | + | then $acc201094310975 | |
486 | 484 | else { | |
487 | - | let $ | |
485 | + | let $acc211094310975 = sum($acc201094310975, $list1094310975[20]) | |
488 | 486 | throw("List size exceed 20") | |
489 | 487 | } | |
490 | 488 | } | |
491 | 489 | } | |
492 | 490 | } | |
493 | 491 | } | |
494 | 492 | } | |
495 | 493 | } | |
496 | 494 | } | |
497 | 495 | } | |
498 | 496 | } | |
499 | 497 | } | |
500 | 498 | } | |
501 | 499 | } | |
502 | 500 | } | |
503 | 501 | } | |
504 | 502 | } | |
505 | 503 | } | |
506 | 504 | } | |
507 | 505 | } | |
508 | 506 | } | |
509 | 507 | } | |
510 | 508 | } | |
511 | 509 | if ((height > rewardUpdateHeight)) | |
512 | 510 | then throw("rewardUpdateHeight < height") | |
513 | 511 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
514 | 512 | then true | |
515 | 513 | else (sumRewardCurrent != totalVoteShare)) | |
516 | 514 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
517 | 515 | else { | |
518 | 516 | let previousRewardEntryNew = { | |
519 | - | let $ | |
520 | - | let $ | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
517 | + | let $list1128411332 = previousPools | |
518 | + | let $size1128411332 = size($list1128411332) | |
519 | + | let $acc01128411332 = nil | |
520 | + | if (($size1128411332 == 0)) | |
521 | + | then $acc01128411332 | |
524 | 522 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
523 | + | let $acc11128411332 = PreviousRewardEntry($acc01128411332, $list1128411332[0]) | |
524 | + | if (($size1128411332 == 1)) | |
525 | + | then $acc11128411332 | |
528 | 526 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
527 | + | let $acc21128411332 = PreviousRewardEntry($acc11128411332, $list1128411332[1]) | |
528 | + | if (($size1128411332 == 2)) | |
529 | + | then $acc21128411332 | |
532 | 530 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
531 | + | let $acc31128411332 = PreviousRewardEntry($acc21128411332, $list1128411332[2]) | |
532 | + | if (($size1128411332 == 3)) | |
533 | + | then $acc31128411332 | |
536 | 534 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
535 | + | let $acc41128411332 = PreviousRewardEntry($acc31128411332, $list1128411332[3]) | |
536 | + | if (($size1128411332 == 4)) | |
537 | + | then $acc41128411332 | |
540 | 538 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
539 | + | let $acc51128411332 = PreviousRewardEntry($acc41128411332, $list1128411332[4]) | |
540 | + | if (($size1128411332 == 5)) | |
541 | + | then $acc51128411332 | |
544 | 542 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
543 | + | let $acc61128411332 = PreviousRewardEntry($acc51128411332, $list1128411332[5]) | |
544 | + | if (($size1128411332 == 6)) | |
545 | + | then $acc61128411332 | |
548 | 546 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
547 | + | let $acc71128411332 = PreviousRewardEntry($acc61128411332, $list1128411332[6]) | |
548 | + | if (($size1128411332 == 7)) | |
549 | + | then $acc71128411332 | |
552 | 550 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
551 | + | let $acc81128411332 = PreviousRewardEntry($acc71128411332, $list1128411332[7]) | |
552 | + | if (($size1128411332 == 8)) | |
553 | + | then $acc81128411332 | |
556 | 554 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
555 | + | let $acc91128411332 = PreviousRewardEntry($acc81128411332, $list1128411332[8]) | |
556 | + | if (($size1128411332 == 9)) | |
557 | + | then $acc91128411332 | |
560 | 558 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
559 | + | let $acc101128411332 = PreviousRewardEntry($acc91128411332, $list1128411332[9]) | |
560 | + | if (($size1128411332 == 10)) | |
561 | + | then $acc101128411332 | |
564 | 562 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
563 | + | let $acc111128411332 = PreviousRewardEntry($acc101128411332, $list1128411332[10]) | |
564 | + | if (($size1128411332 == 11)) | |
565 | + | then $acc111128411332 | |
568 | 566 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
567 | + | let $acc121128411332 = PreviousRewardEntry($acc111128411332, $list1128411332[11]) | |
568 | + | if (($size1128411332 == 12)) | |
569 | + | then $acc121128411332 | |
572 | 570 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
571 | + | let $acc131128411332 = PreviousRewardEntry($acc121128411332, $list1128411332[12]) | |
572 | + | if (($size1128411332 == 13)) | |
573 | + | then $acc131128411332 | |
576 | 574 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
575 | + | let $acc141128411332 = PreviousRewardEntry($acc131128411332, $list1128411332[13]) | |
576 | + | if (($size1128411332 == 14)) | |
577 | + | then $acc141128411332 | |
580 | 578 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
579 | + | let $acc151128411332 = PreviousRewardEntry($acc141128411332, $list1128411332[14]) | |
580 | + | if (($size1128411332 == 15)) | |
581 | + | then $acc151128411332 | |
584 | 582 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
583 | + | let $acc161128411332 = PreviousRewardEntry($acc151128411332, $list1128411332[15]) | |
584 | + | if (($size1128411332 == 16)) | |
585 | + | then $acc161128411332 | |
588 | 586 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
587 | + | let $acc171128411332 = PreviousRewardEntry($acc161128411332, $list1128411332[16]) | |
588 | + | if (($size1128411332 == 17)) | |
589 | + | then $acc171128411332 | |
592 | 590 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
591 | + | let $acc181128411332 = PreviousRewardEntry($acc171128411332, $list1128411332[17]) | |
592 | + | if (($size1128411332 == 18)) | |
593 | + | then $acc181128411332 | |
596 | 594 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
595 | + | let $acc191128411332 = PreviousRewardEntry($acc181128411332, $list1128411332[18]) | |
596 | + | if (($size1128411332 == 19)) | |
597 | + | then $acc191128411332 | |
600 | 598 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
599 | + | let $acc201128411332 = PreviousRewardEntry($acc191128411332, $list1128411332[19]) | |
600 | + | if (($size1128411332 == 20)) | |
601 | + | then $acc201128411332 | |
604 | 602 | else { | |
605 | - | let $ | |
603 | + | let $acc211128411332 = PreviousRewardEntry($acc201128411332, $list1128411332[20]) | |
606 | 604 | throw("List size exceed 20") | |
607 | 605 | } | |
608 | 606 | } | |
609 | 607 | } | |
610 | 608 | } | |
611 | 609 | } | |
612 | 610 | } | |
613 | 611 | } | |
614 | 612 | } | |
615 | 613 | } | |
616 | 614 | } | |
617 | 615 | } | |
618 | 616 | } | |
619 | 617 | } | |
620 | 618 | } | |
621 | 619 | } | |
622 | 620 | } | |
623 | 621 | } | |
624 | 622 | } | |
625 | 623 | } | |
626 | 624 | } | |
627 | 625 | } | |
628 | 626 | } | |
629 | 627 | let currentRewardEntryNew = { | |
630 | - | let $ | |
631 | - | let $ | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
628 | + | let $list1136511411 = currentPools | |
629 | + | let $size1136511411 = size($list1136511411) | |
630 | + | let $acc01136511411 = nil | |
631 | + | if (($size1136511411 == 0)) | |
632 | + | then $acc01136511411 | |
635 | 633 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
634 | + | let $acc11136511411 = CurrentRewardEntry($acc01136511411, $list1136511411[0]) | |
635 | + | if (($size1136511411 == 1)) | |
636 | + | then $acc11136511411 | |
639 | 637 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
638 | + | let $acc21136511411 = CurrentRewardEntry($acc11136511411, $list1136511411[1]) | |
639 | + | if (($size1136511411 == 2)) | |
640 | + | then $acc21136511411 | |
643 | 641 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
642 | + | let $acc31136511411 = CurrentRewardEntry($acc21136511411, $list1136511411[2]) | |
643 | + | if (($size1136511411 == 3)) | |
644 | + | then $acc31136511411 | |
647 | 645 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
646 | + | let $acc41136511411 = CurrentRewardEntry($acc31136511411, $list1136511411[3]) | |
647 | + | if (($size1136511411 == 4)) | |
648 | + | then $acc41136511411 | |
651 | 649 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
650 | + | let $acc51136511411 = CurrentRewardEntry($acc41136511411, $list1136511411[4]) | |
651 | + | if (($size1136511411 == 5)) | |
652 | + | then $acc51136511411 | |
655 | 653 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
654 | + | let $acc61136511411 = CurrentRewardEntry($acc51136511411, $list1136511411[5]) | |
655 | + | if (($size1136511411 == 6)) | |
656 | + | then $acc61136511411 | |
659 | 657 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
658 | + | let $acc71136511411 = CurrentRewardEntry($acc61136511411, $list1136511411[6]) | |
659 | + | if (($size1136511411 == 7)) | |
660 | + | then $acc71136511411 | |
663 | 661 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
662 | + | let $acc81136511411 = CurrentRewardEntry($acc71136511411, $list1136511411[7]) | |
663 | + | if (($size1136511411 == 8)) | |
664 | + | then $acc81136511411 | |
667 | 665 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
666 | + | let $acc91136511411 = CurrentRewardEntry($acc81136511411, $list1136511411[8]) | |
667 | + | if (($size1136511411 == 9)) | |
668 | + | then $acc91136511411 | |
671 | 669 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
670 | + | let $acc101136511411 = CurrentRewardEntry($acc91136511411, $list1136511411[9]) | |
671 | + | if (($size1136511411 == 10)) | |
672 | + | then $acc101136511411 | |
675 | 673 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
674 | + | let $acc111136511411 = CurrentRewardEntry($acc101136511411, $list1136511411[10]) | |
675 | + | if (($size1136511411 == 11)) | |
676 | + | then $acc111136511411 | |
679 | 677 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
678 | + | let $acc121136511411 = CurrentRewardEntry($acc111136511411, $list1136511411[11]) | |
679 | + | if (($size1136511411 == 12)) | |
680 | + | then $acc121136511411 | |
683 | 681 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
682 | + | let $acc131136511411 = CurrentRewardEntry($acc121136511411, $list1136511411[12]) | |
683 | + | if (($size1136511411 == 13)) | |
684 | + | then $acc131136511411 | |
687 | 685 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
686 | + | let $acc141136511411 = CurrentRewardEntry($acc131136511411, $list1136511411[13]) | |
687 | + | if (($size1136511411 == 14)) | |
688 | + | then $acc141136511411 | |
691 | 689 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
690 | + | let $acc151136511411 = CurrentRewardEntry($acc141136511411, $list1136511411[14]) | |
691 | + | if (($size1136511411 == 15)) | |
692 | + | then $acc151136511411 | |
695 | 693 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
694 | + | let $acc161136511411 = CurrentRewardEntry($acc151136511411, $list1136511411[15]) | |
695 | + | if (($size1136511411 == 16)) | |
696 | + | then $acc161136511411 | |
699 | 697 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
698 | + | let $acc171136511411 = CurrentRewardEntry($acc161136511411, $list1136511411[16]) | |
699 | + | if (($size1136511411 == 17)) | |
700 | + | then $acc171136511411 | |
703 | 701 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
702 | + | let $acc181136511411 = CurrentRewardEntry($acc171136511411, $list1136511411[17]) | |
703 | + | if (($size1136511411 == 18)) | |
704 | + | then $acc181136511411 | |
707 | 705 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
706 | + | let $acc191136511411 = CurrentRewardEntry($acc181136511411, $list1136511411[18]) | |
707 | + | if (($size1136511411 == 19)) | |
708 | + | then $acc191136511411 | |
711 | 709 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
710 | + | let $acc201136511411 = CurrentRewardEntry($acc191136511411, $list1136511411[19]) | |
711 | + | if (($size1136511411 == 20)) | |
712 | + | then $acc201136511411 | |
715 | 713 | else { | |
716 | - | let $ | |
714 | + | let $acc211136511411 = CurrentRewardEntry($acc201136511411, $list1136511411[20]) | |
717 | 715 | throw("List size exceed 20") | |
718 | 716 | } | |
719 | 717 | } | |
720 | 718 | } | |
721 | 719 | } | |
722 | 720 | } | |
723 | 721 | } | |
724 | 722 | } | |
725 | 723 | } | |
726 | 724 | } | |
727 | 725 | } | |
728 | 726 | } | |
729 | 727 | } | |
730 | 728 | } | |
731 | 729 | } | |
732 | 730 | } | |
733 | 731 | } | |
734 | 732 | } | |
735 | 733 | } | |
736 | 734 | } | |
737 | 735 | } | |
738 | 736 | } | |
739 | 737 | } | |
740 | 738 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
741 | 739 | } | |
742 | 740 | } | |
743 | 741 | ||
744 | 742 | ||
745 | 743 | ||
746 | 744 | @Callable(i) | |
747 | 745 | func shutdown () = if (!(isActive)) | |
748 | 746 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
749 | 747 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
750 | 748 | then throw("Only admin can call this function") | |
751 | 749 | else suspend("Paused by admin") | |
752 | 750 | ||
753 | 751 | ||
754 | 752 | ||
755 | 753 | @Callable(i) | |
756 | 754 | func activate () = if (isActive) | |
757 | 755 | then throw("DApp is already active") | |
758 | 756 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
759 | 757 | then throw("Only admin can call this function") | |
760 | 758 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
761 | 759 | ||
762 | 760 |
github/deemru/w8io/169f3d6 902.38 ms ◑