tx · 9pGGupLcQQAi7RBGQuj3js9yVQRY6eHPora2u3DxMEpY 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj: -0.01400000 Waves 2021.04.11 12:59 [1477648] smart account 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj > SELF 0.00000000 Waves
{ "type": 13, "id": "9pGGupLcQQAi7RBGQuj3js9yVQRY6eHPora2u3DxMEpY", "fee": 1400000, "feeAssetId": null, "timestamp": 1618135289606, "version": 1, "sender": "3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj", "senderPublicKey": "9G5zT9Cpjk5h2JSGhccak7GEhvBeeVYy2gPnafgTp7As", "proofs": [ "3s3bLAzLyKrz5G1q1x9QcM5jFSRUwq3ASA1nUvPf5qt91eMZKqrXGUxbab89jJthnetxoVXYWke11VweEyq9kqt6" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50AAAAABRrZXlVc2Vy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kxCQAETAAAAAIFAAAADGFkbWluUHViS2V5MgkABEwAAAACBQAAAAxhZG1pblB1YktleTMJAARMAAAAAgUAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3AFAAAAA25pbAgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5CQAAAgAAAAECAAAAIU9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbgkBAAAAB3N1c3BlbmQAAAABAgAAAA9QYXVzZWQgYnkgYWRtaW4AAAABaQEAAAAIYWN0aXZhdGUAAAAAAwUAAAAIaXNBY3RpdmUJAAACAAAAAQIAAAAWREFwcCBpcyBhbHJlYWR5IGFjdGl2ZQMJAQAAAAEhAAAAAQkBAAAAD2NvbnRhaW5zRWxlbWVudAAAAAIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkxCQAETAAAAAIFAAAADGFkbWluUHViS2V5MgkABEwAAAACBQAAAAxhZG1pblB1YktleTMJAARMAAAAAgUAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3AFAAAAA25pbAgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5CQAAAgAAAAECAAAAIU9ubHkgYWRtaW4gY2FuIGNhbGwgdGhpcyBmdW5jdGlvbgkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgUAAAAJa2V5QWN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAAu+VRA=", "chainId": 84, "height": 1477648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bxh9Rh2sPfYDeNWvgBwxtDUcL8kKmerQQsLKuSJfWYEJ Next: 7BRyBasdyyHqyMsXTR3oWWPjycvU1zq9PTQG1k2vcp4G Diff:
Old | New | Differences | |
---|---|---|---|
197 | 197 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
198 | 198 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
199 | 199 | if (true) | |
200 | - | then throw(toString( | |
200 | + | then throw(toString(userNewInterest)) | |
201 | 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)] | |
202 | 202 | } | |
203 | 203 | } | |
210 | 210 | else { | |
211 | 211 | let totalSWOPLocked = getTotalSWOPLocked() | |
212 | 212 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
213 | - | let $ | |
214 | - | let userNewInterest = $ | |
215 | - | let claimAmount = $ | |
213 | + | let $t072487303 = claimCalc(i.caller) | |
214 | + | let userNewInterest = $t072487303._1 | |
215 | + | let claimAmount = $t072487303._2 | |
216 | 216 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
217 | 217 | let availableFund = (userSWOPLocked - userVoteAmount) | |
218 | 218 | if ((withdrawAmount > availableFund)) | |
233 | 233 | then throw("DApp is inactive at this moment") | |
234 | 234 | else { | |
235 | 235 | let lastInterest = getLastInterestInfo() | |
236 | - | let $ | |
237 | - | let userNewInterest = $ | |
238 | - | let claimAmount = $ | |
236 | + | let $t084158470 = claimCalc(i.caller) | |
237 | + | let userNewInterest = $t084158470._1 | |
238 | + | let claimAmount = $t084158470._2 | |
239 | 239 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
240 | 240 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
241 | 241 | if ((claimAmount == 0)) | |
252 | 252 | let totalSWOPLocked = getTotalSWOPLocked() | |
253 | 253 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
254 | 254 | let lastInterest = getLastInterestInfo() | |
255 | - | let $ | |
256 | - | let userNewInterest = $ | |
257 | - | let claimAmount = $ | |
255 | + | let $t092499304 = claimCalc(i.caller) | |
256 | + | let userNewInterest = $t092499304._1 | |
257 | + | let claimAmount = $t092499304._2 | |
258 | 258 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
259 | 259 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
260 | 260 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
285 | 285 | } | |
286 | 286 | ||
287 | 287 | let sumRewardPrevious = { | |
288 | - | let $ | |
289 | - | let $ | |
290 | - | let $ | |
291 | - | if (($ | |
292 | - | then $ | |
288 | + | let $list1107711110 = previousRewards | |
289 | + | let $size1107711110 = size($list1107711110) | |
290 | + | let $acc01107711110 = 0 | |
291 | + | if (($size1107711110 == 0)) | |
292 | + | then $acc01107711110 | |
293 | 293 | else { | |
294 | - | let $ | |
295 | - | if (($ | |
296 | - | then $ | |
294 | + | let $acc11107711110 = sum($acc01107711110, $list1107711110[0]) | |
295 | + | if (($size1107711110 == 1)) | |
296 | + | then $acc11107711110 | |
297 | 297 | else { | |
298 | - | let $ | |
299 | - | if (($ | |
300 | - | then $ | |
298 | + | let $acc21107711110 = sum($acc11107711110, $list1107711110[1]) | |
299 | + | if (($size1107711110 == 2)) | |
300 | + | then $acc21107711110 | |
301 | 301 | else { | |
302 | - | let $ | |
303 | - | if (($ | |
304 | - | then $ | |
302 | + | let $acc31107711110 = sum($acc21107711110, $list1107711110[2]) | |
303 | + | if (($size1107711110 == 3)) | |
304 | + | then $acc31107711110 | |
305 | 305 | else { | |
306 | - | let $ | |
307 | - | if (($ | |
308 | - | then $ | |
306 | + | let $acc41107711110 = sum($acc31107711110, $list1107711110[3]) | |
307 | + | if (($size1107711110 == 4)) | |
308 | + | then $acc41107711110 | |
309 | 309 | else { | |
310 | - | let $ | |
311 | - | if (($ | |
312 | - | then $ | |
310 | + | let $acc51107711110 = sum($acc41107711110, $list1107711110[4]) | |
311 | + | if (($size1107711110 == 5)) | |
312 | + | then $acc51107711110 | |
313 | 313 | else { | |
314 | - | let $ | |
315 | - | if (($ | |
316 | - | then $ | |
314 | + | let $acc61107711110 = sum($acc51107711110, $list1107711110[5]) | |
315 | + | if (($size1107711110 == 6)) | |
316 | + | then $acc61107711110 | |
317 | 317 | else { | |
318 | - | let $ | |
319 | - | if (($ | |
320 | - | then $ | |
318 | + | let $acc71107711110 = sum($acc61107711110, $list1107711110[6]) | |
319 | + | if (($size1107711110 == 7)) | |
320 | + | then $acc71107711110 | |
321 | 321 | else { | |
322 | - | let $ | |
323 | - | if (($ | |
324 | - | then $ | |
322 | + | let $acc81107711110 = sum($acc71107711110, $list1107711110[7]) | |
323 | + | if (($size1107711110 == 8)) | |
324 | + | then $acc81107711110 | |
325 | 325 | else { | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
326 | + | let $acc91107711110 = sum($acc81107711110, $list1107711110[8]) | |
327 | + | if (($size1107711110 == 9)) | |
328 | + | then $acc91107711110 | |
329 | 329 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
330 | + | let $acc101107711110 = sum($acc91107711110, $list1107711110[9]) | |
331 | + | if (($size1107711110 == 10)) | |
332 | + | then $acc101107711110 | |
333 | 333 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
334 | + | let $acc111107711110 = sum($acc101107711110, $list1107711110[10]) | |
335 | + | if (($size1107711110 == 11)) | |
336 | + | then $acc111107711110 | |
337 | 337 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
338 | + | let $acc121107711110 = sum($acc111107711110, $list1107711110[11]) | |
339 | + | if (($size1107711110 == 12)) | |
340 | + | then $acc121107711110 | |
341 | 341 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
342 | + | let $acc131107711110 = sum($acc121107711110, $list1107711110[12]) | |
343 | + | if (($size1107711110 == 13)) | |
344 | + | then $acc131107711110 | |
345 | 345 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
346 | + | let $acc141107711110 = sum($acc131107711110, $list1107711110[13]) | |
347 | + | if (($size1107711110 == 14)) | |
348 | + | then $acc141107711110 | |
349 | 349 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
350 | + | let $acc151107711110 = sum($acc141107711110, $list1107711110[14]) | |
351 | + | if (($size1107711110 == 15)) | |
352 | + | then $acc151107711110 | |
353 | 353 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
354 | + | let $acc161107711110 = sum($acc151107711110, $list1107711110[15]) | |
355 | + | if (($size1107711110 == 16)) | |
356 | + | then $acc161107711110 | |
357 | 357 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
358 | + | let $acc171107711110 = sum($acc161107711110, $list1107711110[16]) | |
359 | + | if (($size1107711110 == 17)) | |
360 | + | then $acc171107711110 | |
361 | 361 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
362 | + | let $acc181107711110 = sum($acc171107711110, $list1107711110[17]) | |
363 | + | if (($size1107711110 == 18)) | |
364 | + | then $acc181107711110 | |
365 | 365 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
366 | + | let $acc191107711110 = sum($acc181107711110, $list1107711110[18]) | |
367 | + | if (($size1107711110 == 19)) | |
368 | + | then $acc191107711110 | |
369 | 369 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
370 | + | let $acc201107711110 = sum($acc191107711110, $list1107711110[19]) | |
371 | + | if (($size1107711110 == 20)) | |
372 | + | then $acc201107711110 | |
373 | 373 | else { | |
374 | - | let $ | |
374 | + | let $acc211107711110 = sum($acc201107711110, $list1107711110[20]) | |
375 | 375 | throw("List size exceed 20") | |
376 | 376 | } | |
377 | 377 | } | |
396 | 396 | } | |
397 | 397 | } | |
398 | 398 | let sumRewardCurrent = { | |
399 | - | let $ | |
400 | - | let $ | |
401 | - | let $ | |
402 | - | if (($ | |
403 | - | then $ | |
399 | + | let $list1113911171 = currentRewards | |
400 | + | let $size1113911171 = size($list1113911171) | |
401 | + | let $acc01113911171 = 0 | |
402 | + | if (($size1113911171 == 0)) | |
403 | + | then $acc01113911171 | |
404 | 404 | else { | |
405 | - | let $ | |
406 | - | if (($ | |
407 | - | then $ | |
405 | + | let $acc11113911171 = sum($acc01113911171, $list1113911171[0]) | |
406 | + | if (($size1113911171 == 1)) | |
407 | + | then $acc11113911171 | |
408 | 408 | else { | |
409 | - | let $ | |
410 | - | if (($ | |
411 | - | then $ | |
409 | + | let $acc21113911171 = sum($acc11113911171, $list1113911171[1]) | |
410 | + | if (($size1113911171 == 2)) | |
411 | + | then $acc21113911171 | |
412 | 412 | else { | |
413 | - | let $ | |
414 | - | if (($ | |
415 | - | then $ | |
413 | + | let $acc31113911171 = sum($acc21113911171, $list1113911171[2]) | |
414 | + | if (($size1113911171 == 3)) | |
415 | + | then $acc31113911171 | |
416 | 416 | else { | |
417 | - | let $ | |
418 | - | if (($ | |
419 | - | then $ | |
417 | + | let $acc41113911171 = sum($acc31113911171, $list1113911171[3]) | |
418 | + | if (($size1113911171 == 4)) | |
419 | + | then $acc41113911171 | |
420 | 420 | else { | |
421 | - | let $ | |
422 | - | if (($ | |
423 | - | then $ | |
421 | + | let $acc51113911171 = sum($acc41113911171, $list1113911171[4]) | |
422 | + | if (($size1113911171 == 5)) | |
423 | + | then $acc51113911171 | |
424 | 424 | else { | |
425 | - | let $ | |
426 | - | if (($ | |
427 | - | then $ | |
425 | + | let $acc61113911171 = sum($acc51113911171, $list1113911171[5]) | |
426 | + | if (($size1113911171 == 6)) | |
427 | + | then $acc61113911171 | |
428 | 428 | else { | |
429 | - | let $ | |
430 | - | if (($ | |
431 | - | then $ | |
429 | + | let $acc71113911171 = sum($acc61113911171, $list1113911171[6]) | |
430 | + | if (($size1113911171 == 7)) | |
431 | + | then $acc71113911171 | |
432 | 432 | else { | |
433 | - | let $ | |
434 | - | if (($ | |
435 | - | then $ | |
433 | + | let $acc81113911171 = sum($acc71113911171, $list1113911171[7]) | |
434 | + | if (($size1113911171 == 8)) | |
435 | + | then $acc81113911171 | |
436 | 436 | else { | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
437 | + | let $acc91113911171 = sum($acc81113911171, $list1113911171[8]) | |
438 | + | if (($size1113911171 == 9)) | |
439 | + | then $acc91113911171 | |
440 | 440 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
441 | + | let $acc101113911171 = sum($acc91113911171, $list1113911171[9]) | |
442 | + | if (($size1113911171 == 10)) | |
443 | + | then $acc101113911171 | |
444 | 444 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
445 | + | let $acc111113911171 = sum($acc101113911171, $list1113911171[10]) | |
446 | + | if (($size1113911171 == 11)) | |
447 | + | then $acc111113911171 | |
448 | 448 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
449 | + | let $acc121113911171 = sum($acc111113911171, $list1113911171[11]) | |
450 | + | if (($size1113911171 == 12)) | |
451 | + | then $acc121113911171 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc131113911171 = sum($acc121113911171, $list1113911171[12]) | |
454 | + | if (($size1113911171 == 13)) | |
455 | + | then $acc131113911171 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc141113911171 = sum($acc131113911171, $list1113911171[13]) | |
458 | + | if (($size1113911171 == 14)) | |
459 | + | then $acc141113911171 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc151113911171 = sum($acc141113911171, $list1113911171[14]) | |
462 | + | if (($size1113911171 == 15)) | |
463 | + | then $acc151113911171 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc161113911171 = sum($acc151113911171, $list1113911171[15]) | |
466 | + | if (($size1113911171 == 16)) | |
467 | + | then $acc161113911171 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc171113911171 = sum($acc161113911171, $list1113911171[16]) | |
470 | + | if (($size1113911171 == 17)) | |
471 | + | then $acc171113911171 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc181113911171 = sum($acc171113911171, $list1113911171[17]) | |
474 | + | if (($size1113911171 == 18)) | |
475 | + | then $acc181113911171 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc191113911171 = sum($acc181113911171, $list1113911171[18]) | |
478 | + | if (($size1113911171 == 19)) | |
479 | + | then $acc191113911171 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc201113911171 = sum($acc191113911171, $list1113911171[19]) | |
482 | + | if (($size1113911171 == 20)) | |
483 | + | then $acc201113911171 | |
484 | 484 | else { | |
485 | - | let $ | |
485 | + | let $acc211113911171 = sum($acc201113911171, $list1113911171[20]) | |
486 | 486 | throw("List size exceed 20") | |
487 | 487 | } | |
488 | 488 | } | |
514 | 514 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
515 | 515 | else { | |
516 | 516 | let previousRewardEntryNew = { | |
517 | - | let $ | |
518 | - | let $ | |
519 | - | let $ | |
520 | - | if (($ | |
521 | - | then $ | |
517 | + | let $list1148711535 = previousPools | |
518 | + | let $size1148711535 = size($list1148711535) | |
519 | + | let $acc01148711535 = nil | |
520 | + | if (($size1148711535 == 0)) | |
521 | + | then $acc01148711535 | |
522 | 522 | else { | |
523 | - | let $ | |
524 | - | if (($ | |
525 | - | then $ | |
523 | + | let $acc11148711535 = PreviousRewardEntry($acc01148711535, $list1148711535[0]) | |
524 | + | if (($size1148711535 == 1)) | |
525 | + | then $acc11148711535 | |
526 | 526 | else { | |
527 | - | let $ | |
528 | - | if (($ | |
529 | - | then $ | |
527 | + | let $acc21148711535 = PreviousRewardEntry($acc11148711535, $list1148711535[1]) | |
528 | + | if (($size1148711535 == 2)) | |
529 | + | then $acc21148711535 | |
530 | 530 | else { | |
531 | - | let $ | |
532 | - | if (($ | |
533 | - | then $ | |
531 | + | let $acc31148711535 = PreviousRewardEntry($acc21148711535, $list1148711535[2]) | |
532 | + | if (($size1148711535 == 3)) | |
533 | + | then $acc31148711535 | |
534 | 534 | else { | |
535 | - | let $ | |
536 | - | if (($ | |
537 | - | then $ | |
535 | + | let $acc41148711535 = PreviousRewardEntry($acc31148711535, $list1148711535[3]) | |
536 | + | if (($size1148711535 == 4)) | |
537 | + | then $acc41148711535 | |
538 | 538 | else { | |
539 | - | let $ | |
540 | - | if (($ | |
541 | - | then $ | |
539 | + | let $acc51148711535 = PreviousRewardEntry($acc41148711535, $list1148711535[4]) | |
540 | + | if (($size1148711535 == 5)) | |
541 | + | then $acc51148711535 | |
542 | 542 | else { | |
543 | - | let $ | |
544 | - | if (($ | |
545 | - | then $ | |
543 | + | let $acc61148711535 = PreviousRewardEntry($acc51148711535, $list1148711535[5]) | |
544 | + | if (($size1148711535 == 6)) | |
545 | + | then $acc61148711535 | |
546 | 546 | else { | |
547 | - | let $ | |
548 | - | if (($ | |
549 | - | then $ | |
547 | + | let $acc71148711535 = PreviousRewardEntry($acc61148711535, $list1148711535[6]) | |
548 | + | if (($size1148711535 == 7)) | |
549 | + | then $acc71148711535 | |
550 | 550 | else { | |
551 | - | let $ | |
552 | - | if (($ | |
553 | - | then $ | |
551 | + | let $acc81148711535 = PreviousRewardEntry($acc71148711535, $list1148711535[7]) | |
552 | + | if (($size1148711535 == 8)) | |
553 | + | then $acc81148711535 | |
554 | 554 | else { | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
555 | + | let $acc91148711535 = PreviousRewardEntry($acc81148711535, $list1148711535[8]) | |
556 | + | if (($size1148711535 == 9)) | |
557 | + | then $acc91148711535 | |
558 | 558 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
559 | + | let $acc101148711535 = PreviousRewardEntry($acc91148711535, $list1148711535[9]) | |
560 | + | if (($size1148711535 == 10)) | |
561 | + | then $acc101148711535 | |
562 | 562 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
563 | + | let $acc111148711535 = PreviousRewardEntry($acc101148711535, $list1148711535[10]) | |
564 | + | if (($size1148711535 == 11)) | |
565 | + | then $acc111148711535 | |
566 | 566 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
567 | + | let $acc121148711535 = PreviousRewardEntry($acc111148711535, $list1148711535[11]) | |
568 | + | if (($size1148711535 == 12)) | |
569 | + | then $acc121148711535 | |
570 | 570 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
571 | + | let $acc131148711535 = PreviousRewardEntry($acc121148711535, $list1148711535[12]) | |
572 | + | if (($size1148711535 == 13)) | |
573 | + | then $acc131148711535 | |
574 | 574 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
575 | + | let $acc141148711535 = PreviousRewardEntry($acc131148711535, $list1148711535[13]) | |
576 | + | if (($size1148711535 == 14)) | |
577 | + | then $acc141148711535 | |
578 | 578 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
579 | + | let $acc151148711535 = PreviousRewardEntry($acc141148711535, $list1148711535[14]) | |
580 | + | if (($size1148711535 == 15)) | |
581 | + | then $acc151148711535 | |
582 | 582 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
583 | + | let $acc161148711535 = PreviousRewardEntry($acc151148711535, $list1148711535[15]) | |
584 | + | if (($size1148711535 == 16)) | |
585 | + | then $acc161148711535 | |
586 | 586 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
587 | + | let $acc171148711535 = PreviousRewardEntry($acc161148711535, $list1148711535[16]) | |
588 | + | if (($size1148711535 == 17)) | |
589 | + | then $acc171148711535 | |
590 | 590 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
591 | + | let $acc181148711535 = PreviousRewardEntry($acc171148711535, $list1148711535[17]) | |
592 | + | if (($size1148711535 == 18)) | |
593 | + | then $acc181148711535 | |
594 | 594 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
595 | + | let $acc191148711535 = PreviousRewardEntry($acc181148711535, $list1148711535[18]) | |
596 | + | if (($size1148711535 == 19)) | |
597 | + | then $acc191148711535 | |
598 | 598 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
599 | + | let $acc201148711535 = PreviousRewardEntry($acc191148711535, $list1148711535[19]) | |
600 | + | if (($size1148711535 == 20)) | |
601 | + | then $acc201148711535 | |
602 | 602 | else { | |
603 | - | let $ | |
603 | + | let $acc211148711535 = PreviousRewardEntry($acc201148711535, $list1148711535[20]) | |
604 | 604 | throw("List size exceed 20") | |
605 | 605 | } | |
606 | 606 | } | |
625 | 625 | } | |
626 | 626 | } | |
627 | 627 | let currentRewardEntryNew = { | |
628 | - | let $ | |
629 | - | let $ | |
630 | - | let $ | |
631 | - | if (($ | |
632 | - | then $ | |
628 | + | let $list1156811614 = currentPools | |
629 | + | let $size1156811614 = size($list1156811614) | |
630 | + | let $acc01156811614 = nil | |
631 | + | if (($size1156811614 == 0)) | |
632 | + | then $acc01156811614 | |
633 | 633 | else { | |
634 | - | let $ | |
635 | - | if (($ | |
636 | - | then $ | |
634 | + | let $acc11156811614 = CurrentRewardEntry($acc01156811614, $list1156811614[0]) | |
635 | + | if (($size1156811614 == 1)) | |
636 | + | then $acc11156811614 | |
637 | 637 | else { | |
638 | - | let $ | |
639 | - | if (($ | |
640 | - | then $ | |
638 | + | let $acc21156811614 = CurrentRewardEntry($acc11156811614, $list1156811614[1]) | |
639 | + | if (($size1156811614 == 2)) | |
640 | + | then $acc21156811614 | |
641 | 641 | else { | |
642 | - | let $ | |
643 | - | if (($ | |
644 | - | then $ | |
642 | + | let $acc31156811614 = CurrentRewardEntry($acc21156811614, $list1156811614[2]) | |
643 | + | if (($size1156811614 == 3)) | |
644 | + | then $acc31156811614 | |
645 | 645 | else { | |
646 | - | let $ | |
647 | - | if (($ | |
648 | - | then $ | |
646 | + | let $acc41156811614 = CurrentRewardEntry($acc31156811614, $list1156811614[3]) | |
647 | + | if (($size1156811614 == 4)) | |
648 | + | then $acc41156811614 | |
649 | 649 | else { | |
650 | - | let $ | |
651 | - | if (($ | |
652 | - | then $ | |
650 | + | let $acc51156811614 = CurrentRewardEntry($acc41156811614, $list1156811614[4]) | |
651 | + | if (($size1156811614 == 5)) | |
652 | + | then $acc51156811614 | |
653 | 653 | else { | |
654 | - | let $ | |
655 | - | if (($ | |
656 | - | then $ | |
654 | + | let $acc61156811614 = CurrentRewardEntry($acc51156811614, $list1156811614[5]) | |
655 | + | if (($size1156811614 == 6)) | |
656 | + | then $acc61156811614 | |
657 | 657 | else { | |
658 | - | let $ | |
659 | - | if (($ | |
660 | - | then $ | |
658 | + | let $acc71156811614 = CurrentRewardEntry($acc61156811614, $list1156811614[6]) | |
659 | + | if (($size1156811614 == 7)) | |
660 | + | then $acc71156811614 | |
661 | 661 | else { | |
662 | - | let $ | |
663 | - | if (($ | |
664 | - | then $ | |
662 | + | let $acc81156811614 = CurrentRewardEntry($acc71156811614, $list1156811614[7]) | |
663 | + | if (($size1156811614 == 8)) | |
664 | + | then $acc81156811614 | |
665 | 665 | else { | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
666 | + | let $acc91156811614 = CurrentRewardEntry($acc81156811614, $list1156811614[8]) | |
667 | + | if (($size1156811614 == 9)) | |
668 | + | then $acc91156811614 | |
669 | 669 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
670 | + | let $acc101156811614 = CurrentRewardEntry($acc91156811614, $list1156811614[9]) | |
671 | + | if (($size1156811614 == 10)) | |
672 | + | then $acc101156811614 | |
673 | 673 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
674 | + | let $acc111156811614 = CurrentRewardEntry($acc101156811614, $list1156811614[10]) | |
675 | + | if (($size1156811614 == 11)) | |
676 | + | then $acc111156811614 | |
677 | 677 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
678 | + | let $acc121156811614 = CurrentRewardEntry($acc111156811614, $list1156811614[11]) | |
679 | + | if (($size1156811614 == 12)) | |
680 | + | then $acc121156811614 | |
681 | 681 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
682 | + | let $acc131156811614 = CurrentRewardEntry($acc121156811614, $list1156811614[12]) | |
683 | + | if (($size1156811614 == 13)) | |
684 | + | then $acc131156811614 | |
685 | 685 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
686 | + | let $acc141156811614 = CurrentRewardEntry($acc131156811614, $list1156811614[13]) | |
687 | + | if (($size1156811614 == 14)) | |
688 | + | then $acc141156811614 | |
689 | 689 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
690 | + | let $acc151156811614 = CurrentRewardEntry($acc141156811614, $list1156811614[14]) | |
691 | + | if (($size1156811614 == 15)) | |
692 | + | then $acc151156811614 | |
693 | 693 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
694 | + | let $acc161156811614 = CurrentRewardEntry($acc151156811614, $list1156811614[15]) | |
695 | + | if (($size1156811614 == 16)) | |
696 | + | then $acc161156811614 | |
697 | 697 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
698 | + | let $acc171156811614 = CurrentRewardEntry($acc161156811614, $list1156811614[16]) | |
699 | + | if (($size1156811614 == 17)) | |
700 | + | then $acc171156811614 | |
701 | 701 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
702 | + | let $acc181156811614 = CurrentRewardEntry($acc171156811614, $list1156811614[17]) | |
703 | + | if (($size1156811614 == 18)) | |
704 | + | then $acc181156811614 | |
705 | 705 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
706 | + | let $acc191156811614 = CurrentRewardEntry($acc181156811614, $list1156811614[18]) | |
707 | + | if (($size1156811614 == 19)) | |
708 | + | then $acc191156811614 | |
709 | 709 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
710 | + | let $acc201156811614 = CurrentRewardEntry($acc191156811614, $list1156811614[19]) | |
711 | + | if (($size1156811614 == 20)) | |
712 | + | then $acc201156811614 | |
713 | 713 | else { | |
714 | - | let $ | |
714 | + | let $acc211156811614 = CurrentRewardEntry($acc201156811614, $list1156811614[20]) | |
715 | 715 | throw("List size exceed 20") | |
716 | 716 | } | |
717 | 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'3N8DpPzjqS5qQkKRL5kmbTt3c4MdxefVhc5') | |
57 | 57 | ||
58 | 58 | let votingLiteContract = Address(base58'3MzESVPKwN6LKK5J6RFLcZ4yYhDsCFCEShP') | |
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 $t049765056 = getUserInterestInfo(caller, lastInterest) | |
151 | 151 | let userLastInterest = $t049765056._1 | |
152 | 152 | let userSWOPLocked = $t049765056._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 $t053215396 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
164 | 164 | let pmtAmount = $t053215396._1 | |
165 | 165 | let pmtAssetId = $t053215396._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 $t058345909 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
183 | 183 | let pmtAmount = $t058345909._1 | |
184 | 184 | let pmtAssetId = $t058345909._2 | |
185 | 185 | if ((pmtAssetId != SWOP)) | |
186 | 186 | then throw("Incorrect pmtAssetId") | |
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | 189 | let $t060266108 = getUserInterestInfo(i.caller, lastInterest) | |
190 | 190 | let userLastInterest = $t060266108._1 | |
191 | 191 | let userSWOPLocked = $t060266108._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 | 199 | if (true) | |
200 | - | then throw(toString( | |
200 | + | then throw(toString(userNewInterest)) | |
201 | 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)] | |
202 | 202 | } | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | ||
207 | 207 | @Callable(i) | |
208 | 208 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
209 | 209 | then throw("DApp is inactive at this moment") | |
210 | 210 | else { | |
211 | 211 | let totalSWOPLocked = getTotalSWOPLocked() | |
212 | 212 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
213 | - | let $ | |
214 | - | let userNewInterest = $ | |
215 | - | let claimAmount = $ | |
213 | + | let $t072487303 = claimCalc(i.caller) | |
214 | + | let userNewInterest = $t072487303._1 | |
215 | + | let claimAmount = $t072487303._2 | |
216 | 216 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
217 | 217 | let availableFund = (userSWOPLocked - userVoteAmount) | |
218 | 218 | if ((withdrawAmount > availableFund)) | |
219 | 219 | then throw("withdrawAmount > availableFund") | |
220 | 220 | else { | |
221 | 221 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
222 | 222 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
223 | 223 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
224 | 224 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
225 | 225 | [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 | 226 | } | |
227 | 227 | } | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | ||
231 | 231 | @Callable(i) | |
232 | 232 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
233 | 233 | then throw("DApp is inactive at this moment") | |
234 | 234 | else { | |
235 | 235 | let lastInterest = getLastInterestInfo() | |
236 | - | let $ | |
237 | - | let userNewInterest = $ | |
238 | - | let claimAmount = $ | |
236 | + | let $t084158470 = claimCalc(i.caller) | |
237 | + | let userNewInterest = $t084158470._1 | |
238 | + | let claimAmount = $t084158470._2 | |
239 | 239 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
240 | 240 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
241 | 241 | if ((claimAmount == 0)) | |
242 | 242 | then throw("You have 0 available SWOP") | |
243 | 243 | 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 | 244 | } | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | ||
248 | 248 | @Callable(i) | |
249 | 249 | func claimAndStakeSWOP () = if (!(isActive)) | |
250 | 250 | then throw("DApp is inactive at this moment") | |
251 | 251 | else { | |
252 | 252 | let totalSWOPLocked = getTotalSWOPLocked() | |
253 | 253 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
254 | 254 | let lastInterest = getLastInterestInfo() | |
255 | - | let $ | |
256 | - | let userNewInterest = $ | |
257 | - | let claimAmount = $ | |
255 | + | let $t092499304 = claimCalc(i.caller) | |
256 | + | let userNewInterest = $t092499304._1 | |
257 | + | let claimAmount = $t092499304._2 | |
258 | 258 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
259 | 259 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
260 | 260 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
261 | 261 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
262 | 262 | if ((claimAmount == 0)) | |
263 | 263 | then throw("You have 0 available SWOP") | |
264 | 264 | 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 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Callable(i) | |
270 | 270 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
271 | 271 | then throw("DApp is inactive at this moment") | |
272 | 272 | else { | |
273 | 273 | func sum (a,b) = (a + b) | |
274 | 274 | ||
275 | 275 | func PreviousRewardEntry (accumulated,pool) = { | |
276 | 276 | let poolIndex = value(indexOf(previousPools, pool)) | |
277 | 277 | let poolReward = previousRewards[poolIndex] | |
278 | 278 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | func CurrentRewardEntry (accumulated,pool) = { | |
282 | 282 | let poolIndex = value(indexOf(currentPools, pool)) | |
283 | 283 | let poolReward = currentRewards[poolIndex] | |
284 | 284 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
285 | 285 | } | |
286 | 286 | ||
287 | 287 | let sumRewardPrevious = { | |
288 | - | let $ | |
289 | - | let $ | |
290 | - | let $ | |
291 | - | if (($ | |
292 | - | then $ | |
288 | + | let $list1107711110 = previousRewards | |
289 | + | let $size1107711110 = size($list1107711110) | |
290 | + | let $acc01107711110 = 0 | |
291 | + | if (($size1107711110 == 0)) | |
292 | + | then $acc01107711110 | |
293 | 293 | else { | |
294 | - | let $ | |
295 | - | if (($ | |
296 | - | then $ | |
294 | + | let $acc11107711110 = sum($acc01107711110, $list1107711110[0]) | |
295 | + | if (($size1107711110 == 1)) | |
296 | + | then $acc11107711110 | |
297 | 297 | else { | |
298 | - | let $ | |
299 | - | if (($ | |
300 | - | then $ | |
298 | + | let $acc21107711110 = sum($acc11107711110, $list1107711110[1]) | |
299 | + | if (($size1107711110 == 2)) | |
300 | + | then $acc21107711110 | |
301 | 301 | else { | |
302 | - | let $ | |
303 | - | if (($ | |
304 | - | then $ | |
302 | + | let $acc31107711110 = sum($acc21107711110, $list1107711110[2]) | |
303 | + | if (($size1107711110 == 3)) | |
304 | + | then $acc31107711110 | |
305 | 305 | else { | |
306 | - | let $ | |
307 | - | if (($ | |
308 | - | then $ | |
306 | + | let $acc41107711110 = sum($acc31107711110, $list1107711110[3]) | |
307 | + | if (($size1107711110 == 4)) | |
308 | + | then $acc41107711110 | |
309 | 309 | else { | |
310 | - | let $ | |
311 | - | if (($ | |
312 | - | then $ | |
310 | + | let $acc51107711110 = sum($acc41107711110, $list1107711110[4]) | |
311 | + | if (($size1107711110 == 5)) | |
312 | + | then $acc51107711110 | |
313 | 313 | else { | |
314 | - | let $ | |
315 | - | if (($ | |
316 | - | then $ | |
314 | + | let $acc61107711110 = sum($acc51107711110, $list1107711110[5]) | |
315 | + | if (($size1107711110 == 6)) | |
316 | + | then $acc61107711110 | |
317 | 317 | else { | |
318 | - | let $ | |
319 | - | if (($ | |
320 | - | then $ | |
318 | + | let $acc71107711110 = sum($acc61107711110, $list1107711110[6]) | |
319 | + | if (($size1107711110 == 7)) | |
320 | + | then $acc71107711110 | |
321 | 321 | else { | |
322 | - | let $ | |
323 | - | if (($ | |
324 | - | then $ | |
322 | + | let $acc81107711110 = sum($acc71107711110, $list1107711110[7]) | |
323 | + | if (($size1107711110 == 8)) | |
324 | + | then $acc81107711110 | |
325 | 325 | else { | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
326 | + | let $acc91107711110 = sum($acc81107711110, $list1107711110[8]) | |
327 | + | if (($size1107711110 == 9)) | |
328 | + | then $acc91107711110 | |
329 | 329 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
330 | + | let $acc101107711110 = sum($acc91107711110, $list1107711110[9]) | |
331 | + | if (($size1107711110 == 10)) | |
332 | + | then $acc101107711110 | |
333 | 333 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
334 | + | let $acc111107711110 = sum($acc101107711110, $list1107711110[10]) | |
335 | + | if (($size1107711110 == 11)) | |
336 | + | then $acc111107711110 | |
337 | 337 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
338 | + | let $acc121107711110 = sum($acc111107711110, $list1107711110[11]) | |
339 | + | if (($size1107711110 == 12)) | |
340 | + | then $acc121107711110 | |
341 | 341 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
342 | + | let $acc131107711110 = sum($acc121107711110, $list1107711110[12]) | |
343 | + | if (($size1107711110 == 13)) | |
344 | + | then $acc131107711110 | |
345 | 345 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
346 | + | let $acc141107711110 = sum($acc131107711110, $list1107711110[13]) | |
347 | + | if (($size1107711110 == 14)) | |
348 | + | then $acc141107711110 | |
349 | 349 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
350 | + | let $acc151107711110 = sum($acc141107711110, $list1107711110[14]) | |
351 | + | if (($size1107711110 == 15)) | |
352 | + | then $acc151107711110 | |
353 | 353 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
354 | + | let $acc161107711110 = sum($acc151107711110, $list1107711110[15]) | |
355 | + | if (($size1107711110 == 16)) | |
356 | + | then $acc161107711110 | |
357 | 357 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
358 | + | let $acc171107711110 = sum($acc161107711110, $list1107711110[16]) | |
359 | + | if (($size1107711110 == 17)) | |
360 | + | then $acc171107711110 | |
361 | 361 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
362 | + | let $acc181107711110 = sum($acc171107711110, $list1107711110[17]) | |
363 | + | if (($size1107711110 == 18)) | |
364 | + | then $acc181107711110 | |
365 | 365 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
366 | + | let $acc191107711110 = sum($acc181107711110, $list1107711110[18]) | |
367 | + | if (($size1107711110 == 19)) | |
368 | + | then $acc191107711110 | |
369 | 369 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
370 | + | let $acc201107711110 = sum($acc191107711110, $list1107711110[19]) | |
371 | + | if (($size1107711110 == 20)) | |
372 | + | then $acc201107711110 | |
373 | 373 | else { | |
374 | - | let $ | |
374 | + | let $acc211107711110 = sum($acc201107711110, $list1107711110[20]) | |
375 | 375 | throw("List size exceed 20") | |
376 | 376 | } | |
377 | 377 | } | |
378 | 378 | } | |
379 | 379 | } | |
380 | 380 | } | |
381 | 381 | } | |
382 | 382 | } | |
383 | 383 | } | |
384 | 384 | } | |
385 | 385 | } | |
386 | 386 | } | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | } | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | } | |
397 | 397 | } | |
398 | 398 | let sumRewardCurrent = { | |
399 | - | let $ | |
400 | - | let $ | |
401 | - | let $ | |
402 | - | if (($ | |
403 | - | then $ | |
399 | + | let $list1113911171 = currentRewards | |
400 | + | let $size1113911171 = size($list1113911171) | |
401 | + | let $acc01113911171 = 0 | |
402 | + | if (($size1113911171 == 0)) | |
403 | + | then $acc01113911171 | |
404 | 404 | else { | |
405 | - | let $ | |
406 | - | if (($ | |
407 | - | then $ | |
405 | + | let $acc11113911171 = sum($acc01113911171, $list1113911171[0]) | |
406 | + | if (($size1113911171 == 1)) | |
407 | + | then $acc11113911171 | |
408 | 408 | else { | |
409 | - | let $ | |
410 | - | if (($ | |
411 | - | then $ | |
409 | + | let $acc21113911171 = sum($acc11113911171, $list1113911171[1]) | |
410 | + | if (($size1113911171 == 2)) | |
411 | + | then $acc21113911171 | |
412 | 412 | else { | |
413 | - | let $ | |
414 | - | if (($ | |
415 | - | then $ | |
413 | + | let $acc31113911171 = sum($acc21113911171, $list1113911171[2]) | |
414 | + | if (($size1113911171 == 3)) | |
415 | + | then $acc31113911171 | |
416 | 416 | else { | |
417 | - | let $ | |
418 | - | if (($ | |
419 | - | then $ | |
417 | + | let $acc41113911171 = sum($acc31113911171, $list1113911171[3]) | |
418 | + | if (($size1113911171 == 4)) | |
419 | + | then $acc41113911171 | |
420 | 420 | else { | |
421 | - | let $ | |
422 | - | if (($ | |
423 | - | then $ | |
421 | + | let $acc51113911171 = sum($acc41113911171, $list1113911171[4]) | |
422 | + | if (($size1113911171 == 5)) | |
423 | + | then $acc51113911171 | |
424 | 424 | else { | |
425 | - | let $ | |
426 | - | if (($ | |
427 | - | then $ | |
425 | + | let $acc61113911171 = sum($acc51113911171, $list1113911171[5]) | |
426 | + | if (($size1113911171 == 6)) | |
427 | + | then $acc61113911171 | |
428 | 428 | else { | |
429 | - | let $ | |
430 | - | if (($ | |
431 | - | then $ | |
429 | + | let $acc71113911171 = sum($acc61113911171, $list1113911171[6]) | |
430 | + | if (($size1113911171 == 7)) | |
431 | + | then $acc71113911171 | |
432 | 432 | else { | |
433 | - | let $ | |
434 | - | if (($ | |
435 | - | then $ | |
433 | + | let $acc81113911171 = sum($acc71113911171, $list1113911171[7]) | |
434 | + | if (($size1113911171 == 8)) | |
435 | + | then $acc81113911171 | |
436 | 436 | else { | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
437 | + | let $acc91113911171 = sum($acc81113911171, $list1113911171[8]) | |
438 | + | if (($size1113911171 == 9)) | |
439 | + | then $acc91113911171 | |
440 | 440 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
441 | + | let $acc101113911171 = sum($acc91113911171, $list1113911171[9]) | |
442 | + | if (($size1113911171 == 10)) | |
443 | + | then $acc101113911171 | |
444 | 444 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
445 | + | let $acc111113911171 = sum($acc101113911171, $list1113911171[10]) | |
446 | + | if (($size1113911171 == 11)) | |
447 | + | then $acc111113911171 | |
448 | 448 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
449 | + | let $acc121113911171 = sum($acc111113911171, $list1113911171[11]) | |
450 | + | if (($size1113911171 == 12)) | |
451 | + | then $acc121113911171 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc131113911171 = sum($acc121113911171, $list1113911171[12]) | |
454 | + | if (($size1113911171 == 13)) | |
455 | + | then $acc131113911171 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc141113911171 = sum($acc131113911171, $list1113911171[13]) | |
458 | + | if (($size1113911171 == 14)) | |
459 | + | then $acc141113911171 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc151113911171 = sum($acc141113911171, $list1113911171[14]) | |
462 | + | if (($size1113911171 == 15)) | |
463 | + | then $acc151113911171 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc161113911171 = sum($acc151113911171, $list1113911171[15]) | |
466 | + | if (($size1113911171 == 16)) | |
467 | + | then $acc161113911171 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc171113911171 = sum($acc161113911171, $list1113911171[16]) | |
470 | + | if (($size1113911171 == 17)) | |
471 | + | then $acc171113911171 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc181113911171 = sum($acc171113911171, $list1113911171[17]) | |
474 | + | if (($size1113911171 == 18)) | |
475 | + | then $acc181113911171 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc191113911171 = sum($acc181113911171, $list1113911171[18]) | |
478 | + | if (($size1113911171 == 19)) | |
479 | + | then $acc191113911171 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc201113911171 = sum($acc191113911171, $list1113911171[19]) | |
482 | + | if (($size1113911171 == 20)) | |
483 | + | then $acc201113911171 | |
484 | 484 | else { | |
485 | - | let $ | |
485 | + | let $acc211113911171 = sum($acc201113911171, $list1113911171[20]) | |
486 | 486 | throw("List size exceed 20") | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | } | |
491 | 491 | } | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | } | |
497 | 497 | } | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | } | |
503 | 503 | } | |
504 | 504 | } | |
505 | 505 | } | |
506 | 506 | } | |
507 | 507 | } | |
508 | 508 | } | |
509 | 509 | if ((height > rewardUpdateHeight)) | |
510 | 510 | then throw("rewardUpdateHeight < heightthen") | |
511 | 511 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
512 | 512 | then true | |
513 | 513 | else (sumRewardCurrent != totalVoteShare)) | |
514 | 514 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
515 | 515 | else { | |
516 | 516 | let previousRewardEntryNew = { | |
517 | - | let $ | |
518 | - | let $ | |
519 | - | let $ | |
520 | - | if (($ | |
521 | - | then $ | |
517 | + | let $list1148711535 = previousPools | |
518 | + | let $size1148711535 = size($list1148711535) | |
519 | + | let $acc01148711535 = nil | |
520 | + | if (($size1148711535 == 0)) | |
521 | + | then $acc01148711535 | |
522 | 522 | else { | |
523 | - | let $ | |
524 | - | if (($ | |
525 | - | then $ | |
523 | + | let $acc11148711535 = PreviousRewardEntry($acc01148711535, $list1148711535[0]) | |
524 | + | if (($size1148711535 == 1)) | |
525 | + | then $acc11148711535 | |
526 | 526 | else { | |
527 | - | let $ | |
528 | - | if (($ | |
529 | - | then $ | |
527 | + | let $acc21148711535 = PreviousRewardEntry($acc11148711535, $list1148711535[1]) | |
528 | + | if (($size1148711535 == 2)) | |
529 | + | then $acc21148711535 | |
530 | 530 | else { | |
531 | - | let $ | |
532 | - | if (($ | |
533 | - | then $ | |
531 | + | let $acc31148711535 = PreviousRewardEntry($acc21148711535, $list1148711535[2]) | |
532 | + | if (($size1148711535 == 3)) | |
533 | + | then $acc31148711535 | |
534 | 534 | else { | |
535 | - | let $ | |
536 | - | if (($ | |
537 | - | then $ | |
535 | + | let $acc41148711535 = PreviousRewardEntry($acc31148711535, $list1148711535[3]) | |
536 | + | if (($size1148711535 == 4)) | |
537 | + | then $acc41148711535 | |
538 | 538 | else { | |
539 | - | let $ | |
540 | - | if (($ | |
541 | - | then $ | |
539 | + | let $acc51148711535 = PreviousRewardEntry($acc41148711535, $list1148711535[4]) | |
540 | + | if (($size1148711535 == 5)) | |
541 | + | then $acc51148711535 | |
542 | 542 | else { | |
543 | - | let $ | |
544 | - | if (($ | |
545 | - | then $ | |
543 | + | let $acc61148711535 = PreviousRewardEntry($acc51148711535, $list1148711535[5]) | |
544 | + | if (($size1148711535 == 6)) | |
545 | + | then $acc61148711535 | |
546 | 546 | else { | |
547 | - | let $ | |
548 | - | if (($ | |
549 | - | then $ | |
547 | + | let $acc71148711535 = PreviousRewardEntry($acc61148711535, $list1148711535[6]) | |
548 | + | if (($size1148711535 == 7)) | |
549 | + | then $acc71148711535 | |
550 | 550 | else { | |
551 | - | let $ | |
552 | - | if (($ | |
553 | - | then $ | |
551 | + | let $acc81148711535 = PreviousRewardEntry($acc71148711535, $list1148711535[7]) | |
552 | + | if (($size1148711535 == 8)) | |
553 | + | then $acc81148711535 | |
554 | 554 | else { | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
555 | + | let $acc91148711535 = PreviousRewardEntry($acc81148711535, $list1148711535[8]) | |
556 | + | if (($size1148711535 == 9)) | |
557 | + | then $acc91148711535 | |
558 | 558 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
559 | + | let $acc101148711535 = PreviousRewardEntry($acc91148711535, $list1148711535[9]) | |
560 | + | if (($size1148711535 == 10)) | |
561 | + | then $acc101148711535 | |
562 | 562 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
563 | + | let $acc111148711535 = PreviousRewardEntry($acc101148711535, $list1148711535[10]) | |
564 | + | if (($size1148711535 == 11)) | |
565 | + | then $acc111148711535 | |
566 | 566 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
567 | + | let $acc121148711535 = PreviousRewardEntry($acc111148711535, $list1148711535[11]) | |
568 | + | if (($size1148711535 == 12)) | |
569 | + | then $acc121148711535 | |
570 | 570 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
571 | + | let $acc131148711535 = PreviousRewardEntry($acc121148711535, $list1148711535[12]) | |
572 | + | if (($size1148711535 == 13)) | |
573 | + | then $acc131148711535 | |
574 | 574 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
575 | + | let $acc141148711535 = PreviousRewardEntry($acc131148711535, $list1148711535[13]) | |
576 | + | if (($size1148711535 == 14)) | |
577 | + | then $acc141148711535 | |
578 | 578 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
579 | + | let $acc151148711535 = PreviousRewardEntry($acc141148711535, $list1148711535[14]) | |
580 | + | if (($size1148711535 == 15)) | |
581 | + | then $acc151148711535 | |
582 | 582 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
583 | + | let $acc161148711535 = PreviousRewardEntry($acc151148711535, $list1148711535[15]) | |
584 | + | if (($size1148711535 == 16)) | |
585 | + | then $acc161148711535 | |
586 | 586 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
587 | + | let $acc171148711535 = PreviousRewardEntry($acc161148711535, $list1148711535[16]) | |
588 | + | if (($size1148711535 == 17)) | |
589 | + | then $acc171148711535 | |
590 | 590 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
591 | + | let $acc181148711535 = PreviousRewardEntry($acc171148711535, $list1148711535[17]) | |
592 | + | if (($size1148711535 == 18)) | |
593 | + | then $acc181148711535 | |
594 | 594 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
595 | + | let $acc191148711535 = PreviousRewardEntry($acc181148711535, $list1148711535[18]) | |
596 | + | if (($size1148711535 == 19)) | |
597 | + | then $acc191148711535 | |
598 | 598 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
599 | + | let $acc201148711535 = PreviousRewardEntry($acc191148711535, $list1148711535[19]) | |
600 | + | if (($size1148711535 == 20)) | |
601 | + | then $acc201148711535 | |
602 | 602 | else { | |
603 | - | let $ | |
603 | + | let $acc211148711535 = PreviousRewardEntry($acc201148711535, $list1148711535[20]) | |
604 | 604 | throw("List size exceed 20") | |
605 | 605 | } | |
606 | 606 | } | |
607 | 607 | } | |
608 | 608 | } | |
609 | 609 | } | |
610 | 610 | } | |
611 | 611 | } | |
612 | 612 | } | |
613 | 613 | } | |
614 | 614 | } | |
615 | 615 | } | |
616 | 616 | } | |
617 | 617 | } | |
618 | 618 | } | |
619 | 619 | } | |
620 | 620 | } | |
621 | 621 | } | |
622 | 622 | } | |
623 | 623 | } | |
624 | 624 | } | |
625 | 625 | } | |
626 | 626 | } | |
627 | 627 | let currentRewardEntryNew = { | |
628 | - | let $ | |
629 | - | let $ | |
630 | - | let $ | |
631 | - | if (($ | |
632 | - | then $ | |
628 | + | let $list1156811614 = currentPools | |
629 | + | let $size1156811614 = size($list1156811614) | |
630 | + | let $acc01156811614 = nil | |
631 | + | if (($size1156811614 == 0)) | |
632 | + | then $acc01156811614 | |
633 | 633 | else { | |
634 | - | let $ | |
635 | - | if (($ | |
636 | - | then $ | |
634 | + | let $acc11156811614 = CurrentRewardEntry($acc01156811614, $list1156811614[0]) | |
635 | + | if (($size1156811614 == 1)) | |
636 | + | then $acc11156811614 | |
637 | 637 | else { | |
638 | - | let $ | |
639 | - | if (($ | |
640 | - | then $ | |
638 | + | let $acc21156811614 = CurrentRewardEntry($acc11156811614, $list1156811614[1]) | |
639 | + | if (($size1156811614 == 2)) | |
640 | + | then $acc21156811614 | |
641 | 641 | else { | |
642 | - | let $ | |
643 | - | if (($ | |
644 | - | then $ | |
642 | + | let $acc31156811614 = CurrentRewardEntry($acc21156811614, $list1156811614[2]) | |
643 | + | if (($size1156811614 == 3)) | |
644 | + | then $acc31156811614 | |
645 | 645 | else { | |
646 | - | let $ | |
647 | - | if (($ | |
648 | - | then $ | |
646 | + | let $acc41156811614 = CurrentRewardEntry($acc31156811614, $list1156811614[3]) | |
647 | + | if (($size1156811614 == 4)) | |
648 | + | then $acc41156811614 | |
649 | 649 | else { | |
650 | - | let $ | |
651 | - | if (($ | |
652 | - | then $ | |
650 | + | let $acc51156811614 = CurrentRewardEntry($acc41156811614, $list1156811614[4]) | |
651 | + | if (($size1156811614 == 5)) | |
652 | + | then $acc51156811614 | |
653 | 653 | else { | |
654 | - | let $ | |
655 | - | if (($ | |
656 | - | then $ | |
654 | + | let $acc61156811614 = CurrentRewardEntry($acc51156811614, $list1156811614[5]) | |
655 | + | if (($size1156811614 == 6)) | |
656 | + | then $acc61156811614 | |
657 | 657 | else { | |
658 | - | let $ | |
659 | - | if (($ | |
660 | - | then $ | |
658 | + | let $acc71156811614 = CurrentRewardEntry($acc61156811614, $list1156811614[6]) | |
659 | + | if (($size1156811614 == 7)) | |
660 | + | then $acc71156811614 | |
661 | 661 | else { | |
662 | - | let $ | |
663 | - | if (($ | |
664 | - | then $ | |
662 | + | let $acc81156811614 = CurrentRewardEntry($acc71156811614, $list1156811614[7]) | |
663 | + | if (($size1156811614 == 8)) | |
664 | + | then $acc81156811614 | |
665 | 665 | else { | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
666 | + | let $acc91156811614 = CurrentRewardEntry($acc81156811614, $list1156811614[8]) | |
667 | + | if (($size1156811614 == 9)) | |
668 | + | then $acc91156811614 | |
669 | 669 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
670 | + | let $acc101156811614 = CurrentRewardEntry($acc91156811614, $list1156811614[9]) | |
671 | + | if (($size1156811614 == 10)) | |
672 | + | then $acc101156811614 | |
673 | 673 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
674 | + | let $acc111156811614 = CurrentRewardEntry($acc101156811614, $list1156811614[10]) | |
675 | + | if (($size1156811614 == 11)) | |
676 | + | then $acc111156811614 | |
677 | 677 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
678 | + | let $acc121156811614 = CurrentRewardEntry($acc111156811614, $list1156811614[11]) | |
679 | + | if (($size1156811614 == 12)) | |
680 | + | then $acc121156811614 | |
681 | 681 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
682 | + | let $acc131156811614 = CurrentRewardEntry($acc121156811614, $list1156811614[12]) | |
683 | + | if (($size1156811614 == 13)) | |
684 | + | then $acc131156811614 | |
685 | 685 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
686 | + | let $acc141156811614 = CurrentRewardEntry($acc131156811614, $list1156811614[13]) | |
687 | + | if (($size1156811614 == 14)) | |
688 | + | then $acc141156811614 | |
689 | 689 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
690 | + | let $acc151156811614 = CurrentRewardEntry($acc141156811614, $list1156811614[14]) | |
691 | + | if (($size1156811614 == 15)) | |
692 | + | then $acc151156811614 | |
693 | 693 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
694 | + | let $acc161156811614 = CurrentRewardEntry($acc151156811614, $list1156811614[15]) | |
695 | + | if (($size1156811614 == 16)) | |
696 | + | then $acc161156811614 | |
697 | 697 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
698 | + | let $acc171156811614 = CurrentRewardEntry($acc161156811614, $list1156811614[16]) | |
699 | + | if (($size1156811614 == 17)) | |
700 | + | then $acc171156811614 | |
701 | 701 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
702 | + | let $acc181156811614 = CurrentRewardEntry($acc171156811614, $list1156811614[17]) | |
703 | + | if (($size1156811614 == 18)) | |
704 | + | then $acc181156811614 | |
705 | 705 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
706 | + | let $acc191156811614 = CurrentRewardEntry($acc181156811614, $list1156811614[18]) | |
707 | + | if (($size1156811614 == 19)) | |
708 | + | then $acc191156811614 | |
709 | 709 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
710 | + | let $acc201156811614 = CurrentRewardEntry($acc191156811614, $list1156811614[19]) | |
711 | + | if (($size1156811614 == 20)) | |
712 | + | then $acc201156811614 | |
713 | 713 | else { | |
714 | - | let $ | |
714 | + | let $acc211156811614 = CurrentRewardEntry($acc201156811614, $list1156811614[20]) | |
715 | 715 | throw("List size exceed 20") | |
716 | 716 | } | |
717 | 717 | } | |
718 | 718 | } | |
719 | 719 | } | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | } | |
723 | 723 | } | |
724 | 724 | } | |
725 | 725 | } | |
726 | 726 | } | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | } | |
730 | 730 | } | |
731 | 731 | } | |
732 | 732 | } | |
733 | 733 | } | |
734 | 734 | } | |
735 | 735 | } | |
736 | 736 | } | |
737 | 737 | } | |
738 | 738 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
739 | 739 | } | |
740 | 740 | } | |
741 | 741 | ||
742 | 742 | ||
743 | 743 | ||
744 | 744 | @Callable(i) | |
745 | 745 | func shutdown () = if (!(isActive)) | |
746 | 746 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
747 | 747 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
748 | 748 | then throw("Only admin can call this function") | |
749 | 749 | else suspend("Paused by admin") | |
750 | 750 | ||
751 | 751 | ||
752 | 752 | ||
753 | 753 | @Callable(i) | |
754 | 754 | func activate () = if (isActive) | |
755 | 755 | then throw("DApp is already active") | |
756 | 756 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
757 | 757 | then throw("Only admin can call this function") | |
758 | 758 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
759 | 759 | ||
760 | 760 |
github/deemru/w8io/169f3d6 849.91 ms ◑