tx · A1omNCfNVSZefTpKWSWh5xfwtdck3aRqsKMDz3Xhmi2T 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj: -0.01400000 Waves 2021.04.11 13:50 [1477703] smart account 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj > SELF 0.00000000 Waves
{ "type": 13, "id": "A1omNCfNVSZefTpKWSWh5xfwtdck3aRqsKMDz3Xhmi2T", "fee": 1400000, "feeAssetId": null, "timestamp": 1618138303548, "version": 1, "sender": "3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj", "senderPublicKey": "9G5zT9Cpjk5h2JSGhccak7GEhvBeeVYy2gPnafgTp7As", "proofs": [ "3xRLuqLoeHxECW46QKpZzvhsRgv7nr8j7ZYzsJ11n6jQ9Fyfm9HsyYUznxsEU67upy58d7dDZHAM9tbfJPk9sUTn" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50AAAAABRr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ViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAQAAAAdzdXNwZW5kAAAAAQIAAAAPUGF1c2VkIGJ5IGFkbWluAAAAAWkBAAAACGFjdGl2YXRlAAAAAAMFAAAACGlzQWN0aXZlCQAAAgAAAAECAAAAFkRBcHAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAABe+5YY", "chainId": 84, "height": 1477703, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7BRyBasdyyHqyMsXTR3oWWPjycvU1zq9PTQG1k2vcp4G Next: none Diff:
Old | New | Differences | |
---|---|---|---|
186 | 186 | then throw("Incorrect pmtAssetId") | |
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | - | let $ | |
190 | - | let userLastInterest = $ | |
191 | - | let userSWOPLocked = $ | |
189 | + | let $t060256107 = getUserInterestInfo(i.caller, lastInterest) | |
190 | + | let userLastInterest = $t060256107._1 | |
191 | + | let userSWOPLocked = $t060256107._2 | |
192 | 192 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | 193 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
194 | 194 | let userNewInterest = lastInterest | |
208 | 208 | else { | |
209 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
210 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
211 | - | let $ | |
212 | - | let userNewInterest = $ | |
213 | - | let claimAmount = $ | |
211 | + | let $t071917246 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t071917246._1 | |
213 | + | let claimAmount = $t071917246._2 | |
214 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
215 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
216 | 216 | if ((withdrawAmount > availableFund)) | |
231 | 231 | then throw("DApp is inactive at this moment") | |
232 | 232 | else { | |
233 | 233 | let lastInterest = getLastInterestInfo() | |
234 | - | let $ | |
235 | - | let userNewInterest = $ | |
236 | - | let claimAmount = $ | |
234 | + | let $t083588413 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t083588413._1 | |
236 | + | let claimAmount = $t083588413._2 | |
237 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
238 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
239 | 239 | if ((claimAmount == 0)) | |
250 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
251 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
252 | 252 | let lastInterest = getLastInterestInfo() | |
253 | - | let $ | |
254 | - | let userNewInterest = $ | |
255 | - | let claimAmount = $ | |
253 | + | let $t091929247 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t091929247._1 | |
255 | + | let claimAmount = $t091929247._2 | |
256 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
257 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
258 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | let sumRewardPrevious = { | |
286 | - | let $ | |
287 | - | let $ | |
288 | - | let $ | |
289 | - | if (($ | |
290 | - | then $ | |
286 | + | let $list1102011053 = previousRewards | |
287 | + | let $size1102011053 = size($list1102011053) | |
288 | + | let $acc01102011053 = 0 | |
289 | + | if (($size1102011053 == 0)) | |
290 | + | then $acc01102011053 | |
291 | 291 | else { | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
292 | + | let $acc11102011053 = sum($acc01102011053, $list1102011053[0]) | |
293 | + | if (($size1102011053 == 1)) | |
294 | + | then $acc11102011053 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc21102011053 = sum($acc11102011053, $list1102011053[1]) | |
297 | + | if (($size1102011053 == 2)) | |
298 | + | then $acc21102011053 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc31102011053 = sum($acc21102011053, $list1102011053[2]) | |
301 | + | if (($size1102011053 == 3)) | |
302 | + | then $acc31102011053 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc41102011053 = sum($acc31102011053, $list1102011053[3]) | |
305 | + | if (($size1102011053 == 4)) | |
306 | + | then $acc41102011053 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc51102011053 = sum($acc41102011053, $list1102011053[4]) | |
309 | + | if (($size1102011053 == 5)) | |
310 | + | then $acc51102011053 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc61102011053 = sum($acc51102011053, $list1102011053[5]) | |
313 | + | if (($size1102011053 == 6)) | |
314 | + | then $acc61102011053 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc71102011053 = sum($acc61102011053, $list1102011053[6]) | |
317 | + | if (($size1102011053 == 7)) | |
318 | + | then $acc71102011053 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc81102011053 = sum($acc71102011053, $list1102011053[7]) | |
321 | + | if (($size1102011053 == 8)) | |
322 | + | then $acc81102011053 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc91102011053 = sum($acc81102011053, $list1102011053[8]) | |
325 | + | if (($size1102011053 == 9)) | |
326 | + | then $acc91102011053 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc101102011053 = sum($acc91102011053, $list1102011053[9]) | |
329 | + | if (($size1102011053 == 10)) | |
330 | + | then $acc101102011053 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc111102011053 = sum($acc101102011053, $list1102011053[10]) | |
333 | + | if (($size1102011053 == 11)) | |
334 | + | then $acc111102011053 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc121102011053 = sum($acc111102011053, $list1102011053[11]) | |
337 | + | if (($size1102011053 == 12)) | |
338 | + | then $acc121102011053 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc131102011053 = sum($acc121102011053, $list1102011053[12]) | |
341 | + | if (($size1102011053 == 13)) | |
342 | + | then $acc131102011053 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc141102011053 = sum($acc131102011053, $list1102011053[13]) | |
345 | + | if (($size1102011053 == 14)) | |
346 | + | then $acc141102011053 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc151102011053 = sum($acc141102011053, $list1102011053[14]) | |
349 | + | if (($size1102011053 == 15)) | |
350 | + | then $acc151102011053 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc161102011053 = sum($acc151102011053, $list1102011053[15]) | |
353 | + | if (($size1102011053 == 16)) | |
354 | + | then $acc161102011053 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc171102011053 = sum($acc161102011053, $list1102011053[16]) | |
357 | + | if (($size1102011053 == 17)) | |
358 | + | then $acc171102011053 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc181102011053 = sum($acc171102011053, $list1102011053[17]) | |
361 | + | if (($size1102011053 == 18)) | |
362 | + | then $acc181102011053 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc191102011053 = sum($acc181102011053, $list1102011053[18]) | |
365 | + | if (($size1102011053 == 19)) | |
366 | + | then $acc191102011053 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc201102011053 = sum($acc191102011053, $list1102011053[19]) | |
369 | + | if (($size1102011053 == 20)) | |
370 | + | then $acc201102011053 | |
371 | 371 | else { | |
372 | - | let $ | |
372 | + | let $acc211102011053 = sum($acc201102011053, $list1102011053[20]) | |
373 | 373 | throw("List size exceed 20") | |
374 | 374 | } | |
375 | 375 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | let sumRewardCurrent = { | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list1108211114 = currentRewards | |
398 | + | let $size1108211114 = size($list1108211114) | |
399 | + | let $acc01108211114 = 0 | |
400 | + | if (($size1108211114 == 0)) | |
401 | + | then $acc01108211114 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc11108211114 = sum($acc01108211114, $list1108211114[0]) | |
404 | + | if (($size1108211114 == 1)) | |
405 | + | then $acc11108211114 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc21108211114 = sum($acc11108211114, $list1108211114[1]) | |
408 | + | if (($size1108211114 == 2)) | |
409 | + | then $acc21108211114 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc31108211114 = sum($acc21108211114, $list1108211114[2]) | |
412 | + | if (($size1108211114 == 3)) | |
413 | + | then $acc31108211114 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc41108211114 = sum($acc31108211114, $list1108211114[3]) | |
416 | + | if (($size1108211114 == 4)) | |
417 | + | then $acc41108211114 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc51108211114 = sum($acc41108211114, $list1108211114[4]) | |
420 | + | if (($size1108211114 == 5)) | |
421 | + | then $acc51108211114 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc61108211114 = sum($acc51108211114, $list1108211114[5]) | |
424 | + | if (($size1108211114 == 6)) | |
425 | + | then $acc61108211114 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc71108211114 = sum($acc61108211114, $list1108211114[6]) | |
428 | + | if (($size1108211114 == 7)) | |
429 | + | then $acc71108211114 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc81108211114 = sum($acc71108211114, $list1108211114[7]) | |
432 | + | if (($size1108211114 == 8)) | |
433 | + | then $acc81108211114 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc91108211114 = sum($acc81108211114, $list1108211114[8]) | |
436 | + | if (($size1108211114 == 9)) | |
437 | + | then $acc91108211114 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc101108211114 = sum($acc91108211114, $list1108211114[9]) | |
440 | + | if (($size1108211114 == 10)) | |
441 | + | then $acc101108211114 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc111108211114 = sum($acc101108211114, $list1108211114[10]) | |
444 | + | if (($size1108211114 == 11)) | |
445 | + | then $acc111108211114 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc121108211114 = sum($acc111108211114, $list1108211114[11]) | |
448 | + | if (($size1108211114 == 12)) | |
449 | + | then $acc121108211114 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc131108211114 = sum($acc121108211114, $list1108211114[12]) | |
452 | + | if (($size1108211114 == 13)) | |
453 | + | then $acc131108211114 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc141108211114 = sum($acc131108211114, $list1108211114[13]) | |
456 | + | if (($size1108211114 == 14)) | |
457 | + | then $acc141108211114 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc151108211114 = sum($acc141108211114, $list1108211114[14]) | |
460 | + | if (($size1108211114 == 15)) | |
461 | + | then $acc151108211114 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc161108211114 = sum($acc151108211114, $list1108211114[15]) | |
464 | + | if (($size1108211114 == 16)) | |
465 | + | then $acc161108211114 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc171108211114 = sum($acc161108211114, $list1108211114[16]) | |
468 | + | if (($size1108211114 == 17)) | |
469 | + | then $acc171108211114 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc181108211114 = sum($acc171108211114, $list1108211114[17]) | |
472 | + | if (($size1108211114 == 18)) | |
473 | + | then $acc181108211114 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc191108211114 = sum($acc181108211114, $list1108211114[18]) | |
476 | + | if (($size1108211114 == 19)) | |
477 | + | then $acc191108211114 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc201108211114 = sum($acc191108211114, $list1108211114[19]) | |
480 | + | if (($size1108211114 == 20)) | |
481 | + | then $acc201108211114 | |
482 | 482 | else { | |
483 | - | let $ | |
483 | + | let $acc211108211114 = sum($acc201108211114, $list1108211114[20]) | |
484 | 484 | throw("List size exceed 20") | |
485 | 485 | } | |
486 | 486 | } | |
512 | 512 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
513 | 513 | else { | |
514 | 514 | let previousRewardEntryNew = { | |
515 | - | let $ | |
516 | - | let $ | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
515 | + | let $list1143011478 = previousPools | |
516 | + | let $size1143011478 = size($list1143011478) | |
517 | + | let $acc01143011478 = nil | |
518 | + | if (($size1143011478 == 0)) | |
519 | + | then $acc01143011478 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc11143011478 = PreviousRewardEntry($acc01143011478, $list1143011478[0]) | |
522 | + | if (($size1143011478 == 1)) | |
523 | + | then $acc11143011478 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc21143011478 = PreviousRewardEntry($acc11143011478, $list1143011478[1]) | |
526 | + | if (($size1143011478 == 2)) | |
527 | + | then $acc21143011478 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc31143011478 = PreviousRewardEntry($acc21143011478, $list1143011478[2]) | |
530 | + | if (($size1143011478 == 3)) | |
531 | + | then $acc31143011478 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc41143011478 = PreviousRewardEntry($acc31143011478, $list1143011478[3]) | |
534 | + | if (($size1143011478 == 4)) | |
535 | + | then $acc41143011478 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc51143011478 = PreviousRewardEntry($acc41143011478, $list1143011478[4]) | |
538 | + | if (($size1143011478 == 5)) | |
539 | + | then $acc51143011478 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc61143011478 = PreviousRewardEntry($acc51143011478, $list1143011478[5]) | |
542 | + | if (($size1143011478 == 6)) | |
543 | + | then $acc61143011478 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc71143011478 = PreviousRewardEntry($acc61143011478, $list1143011478[6]) | |
546 | + | if (($size1143011478 == 7)) | |
547 | + | then $acc71143011478 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc81143011478 = PreviousRewardEntry($acc71143011478, $list1143011478[7]) | |
550 | + | if (($size1143011478 == 8)) | |
551 | + | then $acc81143011478 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc91143011478 = PreviousRewardEntry($acc81143011478, $list1143011478[8]) | |
554 | + | if (($size1143011478 == 9)) | |
555 | + | then $acc91143011478 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc101143011478 = PreviousRewardEntry($acc91143011478, $list1143011478[9]) | |
558 | + | if (($size1143011478 == 10)) | |
559 | + | then $acc101143011478 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc111143011478 = PreviousRewardEntry($acc101143011478, $list1143011478[10]) | |
562 | + | if (($size1143011478 == 11)) | |
563 | + | then $acc111143011478 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc121143011478 = PreviousRewardEntry($acc111143011478, $list1143011478[11]) | |
566 | + | if (($size1143011478 == 12)) | |
567 | + | then $acc121143011478 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc131143011478 = PreviousRewardEntry($acc121143011478, $list1143011478[12]) | |
570 | + | if (($size1143011478 == 13)) | |
571 | + | then $acc131143011478 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc141143011478 = PreviousRewardEntry($acc131143011478, $list1143011478[13]) | |
574 | + | if (($size1143011478 == 14)) | |
575 | + | then $acc141143011478 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc151143011478 = PreviousRewardEntry($acc141143011478, $list1143011478[14]) | |
578 | + | if (($size1143011478 == 15)) | |
579 | + | then $acc151143011478 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc161143011478 = PreviousRewardEntry($acc151143011478, $list1143011478[15]) | |
582 | + | if (($size1143011478 == 16)) | |
583 | + | then $acc161143011478 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc171143011478 = PreviousRewardEntry($acc161143011478, $list1143011478[16]) | |
586 | + | if (($size1143011478 == 17)) | |
587 | + | then $acc171143011478 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc181143011478 = PreviousRewardEntry($acc171143011478, $list1143011478[17]) | |
590 | + | if (($size1143011478 == 18)) | |
591 | + | then $acc181143011478 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc191143011478 = PreviousRewardEntry($acc181143011478, $list1143011478[18]) | |
594 | + | if (($size1143011478 == 19)) | |
595 | + | then $acc191143011478 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc201143011478 = PreviousRewardEntry($acc191143011478, $list1143011478[19]) | |
598 | + | if (($size1143011478 == 20)) | |
599 | + | then $acc201143011478 | |
600 | 600 | else { | |
601 | - | let $ | |
601 | + | let $acc211143011478 = PreviousRewardEntry($acc201143011478, $list1143011478[20]) | |
602 | 602 | throw("List size exceed 20") | |
603 | 603 | } | |
604 | 604 | } | |
623 | 623 | } | |
624 | 624 | } | |
625 | 625 | let currentRewardEntryNew = { | |
626 | - | let $ | |
627 | - | let $ | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
626 | + | let $list1151111557 = currentPools | |
627 | + | let $size1151111557 = size($list1151111557) | |
628 | + | let $acc01151111557 = nil | |
629 | + | if (($size1151111557 == 0)) | |
630 | + | then $acc01151111557 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc11151111557 = CurrentRewardEntry($acc01151111557, $list1151111557[0]) | |
633 | + | if (($size1151111557 == 1)) | |
634 | + | then $acc11151111557 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc21151111557 = CurrentRewardEntry($acc11151111557, $list1151111557[1]) | |
637 | + | if (($size1151111557 == 2)) | |
638 | + | then $acc21151111557 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc31151111557 = CurrentRewardEntry($acc21151111557, $list1151111557[2]) | |
641 | + | if (($size1151111557 == 3)) | |
642 | + | then $acc31151111557 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc41151111557 = CurrentRewardEntry($acc31151111557, $list1151111557[3]) | |
645 | + | if (($size1151111557 == 4)) | |
646 | + | then $acc41151111557 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc51151111557 = CurrentRewardEntry($acc41151111557, $list1151111557[4]) | |
649 | + | if (($size1151111557 == 5)) | |
650 | + | then $acc51151111557 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc61151111557 = CurrentRewardEntry($acc51151111557, $list1151111557[5]) | |
653 | + | if (($size1151111557 == 6)) | |
654 | + | then $acc61151111557 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc71151111557 = CurrentRewardEntry($acc61151111557, $list1151111557[6]) | |
657 | + | if (($size1151111557 == 7)) | |
658 | + | then $acc71151111557 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc81151111557 = CurrentRewardEntry($acc71151111557, $list1151111557[7]) | |
661 | + | if (($size1151111557 == 8)) | |
662 | + | then $acc81151111557 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc91151111557 = CurrentRewardEntry($acc81151111557, $list1151111557[8]) | |
665 | + | if (($size1151111557 == 9)) | |
666 | + | then $acc91151111557 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc101151111557 = CurrentRewardEntry($acc91151111557, $list1151111557[9]) | |
669 | + | if (($size1151111557 == 10)) | |
670 | + | then $acc101151111557 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc111151111557 = CurrentRewardEntry($acc101151111557, $list1151111557[10]) | |
673 | + | if (($size1151111557 == 11)) | |
674 | + | then $acc111151111557 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc121151111557 = CurrentRewardEntry($acc111151111557, $list1151111557[11]) | |
677 | + | if (($size1151111557 == 12)) | |
678 | + | then $acc121151111557 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc131151111557 = CurrentRewardEntry($acc121151111557, $list1151111557[12]) | |
681 | + | if (($size1151111557 == 13)) | |
682 | + | then $acc131151111557 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc141151111557 = CurrentRewardEntry($acc131151111557, $list1151111557[13]) | |
685 | + | if (($size1151111557 == 14)) | |
686 | + | then $acc141151111557 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc151151111557 = CurrentRewardEntry($acc141151111557, $list1151111557[14]) | |
689 | + | if (($size1151111557 == 15)) | |
690 | + | then $acc151151111557 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc161151111557 = CurrentRewardEntry($acc151151111557, $list1151111557[15]) | |
693 | + | if (($size1151111557 == 16)) | |
694 | + | then $acc161151111557 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc171151111557 = CurrentRewardEntry($acc161151111557, $list1151111557[16]) | |
697 | + | if (($size1151111557 == 17)) | |
698 | + | then $acc171151111557 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc181151111557 = CurrentRewardEntry($acc171151111557, $list1151111557[17]) | |
701 | + | if (($size1151111557 == 18)) | |
702 | + | then $acc181151111557 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc191151111557 = CurrentRewardEntry($acc181151111557, $list1151111557[18]) | |
705 | + | if (($size1151111557 == 19)) | |
706 | + | then $acc191151111557 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc201151111557 = CurrentRewardEntry($acc191151111557, $list1151111557[19]) | |
709 | + | if (($size1151111557 == 20)) | |
710 | + | then $acc201151111557 | |
711 | 711 | else { | |
712 | - | let $ | |
712 | + | let $acc211151111557 = CurrentRewardEntry($acc201151111557, $list1151111557[20]) | |
713 | 713 | throw("List size exceed 20") | |
714 | 714 | } | |
715 | 715 | } |
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 | - | let $ | |
190 | - | let userLastInterest = $ | |
191 | - | let userSWOPLocked = $ | |
189 | + | let $t060256107 = getUserInterestInfo(i.caller, lastInterest) | |
190 | + | let userLastInterest = $t060256107._1 | |
191 | + | let userSWOPLocked = $t060256107._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 | [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)] | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | ||
205 | 205 | @Callable(i) | |
206 | 206 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
207 | 207 | then throw("DApp is inactive at this moment") | |
208 | 208 | else { | |
209 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
210 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
211 | - | let $ | |
212 | - | let userNewInterest = $ | |
213 | - | let claimAmount = $ | |
211 | + | let $t071917246 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t071917246._1 | |
213 | + | let claimAmount = $t071917246._2 | |
214 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
215 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
216 | 216 | if ((withdrawAmount > availableFund)) | |
217 | 217 | then throw("withdrawAmount > availableFund") | |
218 | 218 | else { | |
219 | 219 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
220 | 220 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
221 | 221 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
222 | 222 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
223 | 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)] | |
224 | 224 | } | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | ||
229 | 229 | @Callable(i) | |
230 | 230 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
231 | 231 | then throw("DApp is inactive at this moment") | |
232 | 232 | else { | |
233 | 233 | let lastInterest = getLastInterestInfo() | |
234 | - | let $ | |
235 | - | let userNewInterest = $ | |
236 | - | let claimAmount = $ | |
234 | + | let $t083588413 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t083588413._1 | |
236 | + | let claimAmount = $t083588413._2 | |
237 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
238 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
239 | 239 | if ((claimAmount == 0)) | |
240 | 240 | then throw("You have 0 available SWOP") | |
241 | 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)] | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(i) | |
247 | 247 | func claimAndStakeSWOP () = if (!(isActive)) | |
248 | 248 | then throw("DApp is inactive at this moment") | |
249 | 249 | else { | |
250 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
251 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
252 | 252 | let lastInterest = getLastInterestInfo() | |
253 | - | let $ | |
254 | - | let userNewInterest = $ | |
255 | - | let claimAmount = $ | |
253 | + | let $t091929247 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t091929247._1 | |
255 | + | let claimAmount = $t091929247._2 | |
256 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
257 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
258 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
259 | 259 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
260 | 260 | if ((claimAmount == 0)) | |
261 | 261 | then throw("You have 0 available SWOP") | |
262 | 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)] | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | ||
267 | 267 | @Callable(i) | |
268 | 268 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
269 | 269 | then throw("DApp is inactive at this moment") | |
270 | 270 | else { | |
271 | 271 | func sum (a,b) = (a + b) | |
272 | 272 | ||
273 | 273 | func PreviousRewardEntry (accumulated,pool) = { | |
274 | 274 | let poolIndex = value(indexOf(previousPools, pool)) | |
275 | 275 | let poolReward = previousRewards[poolIndex] | |
276 | 276 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | func CurrentRewardEntry (accumulated,pool) = { | |
280 | 280 | let poolIndex = value(indexOf(currentPools, pool)) | |
281 | 281 | let poolReward = currentRewards[poolIndex] | |
282 | 282 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | let sumRewardPrevious = { | |
286 | - | let $ | |
287 | - | let $ | |
288 | - | let $ | |
289 | - | if (($ | |
290 | - | then $ | |
286 | + | let $list1102011053 = previousRewards | |
287 | + | let $size1102011053 = size($list1102011053) | |
288 | + | let $acc01102011053 = 0 | |
289 | + | if (($size1102011053 == 0)) | |
290 | + | then $acc01102011053 | |
291 | 291 | else { | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
292 | + | let $acc11102011053 = sum($acc01102011053, $list1102011053[0]) | |
293 | + | if (($size1102011053 == 1)) | |
294 | + | then $acc11102011053 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc21102011053 = sum($acc11102011053, $list1102011053[1]) | |
297 | + | if (($size1102011053 == 2)) | |
298 | + | then $acc21102011053 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc31102011053 = sum($acc21102011053, $list1102011053[2]) | |
301 | + | if (($size1102011053 == 3)) | |
302 | + | then $acc31102011053 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc41102011053 = sum($acc31102011053, $list1102011053[3]) | |
305 | + | if (($size1102011053 == 4)) | |
306 | + | then $acc41102011053 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc51102011053 = sum($acc41102011053, $list1102011053[4]) | |
309 | + | if (($size1102011053 == 5)) | |
310 | + | then $acc51102011053 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc61102011053 = sum($acc51102011053, $list1102011053[5]) | |
313 | + | if (($size1102011053 == 6)) | |
314 | + | then $acc61102011053 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc71102011053 = sum($acc61102011053, $list1102011053[6]) | |
317 | + | if (($size1102011053 == 7)) | |
318 | + | then $acc71102011053 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc81102011053 = sum($acc71102011053, $list1102011053[7]) | |
321 | + | if (($size1102011053 == 8)) | |
322 | + | then $acc81102011053 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc91102011053 = sum($acc81102011053, $list1102011053[8]) | |
325 | + | if (($size1102011053 == 9)) | |
326 | + | then $acc91102011053 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc101102011053 = sum($acc91102011053, $list1102011053[9]) | |
329 | + | if (($size1102011053 == 10)) | |
330 | + | then $acc101102011053 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc111102011053 = sum($acc101102011053, $list1102011053[10]) | |
333 | + | if (($size1102011053 == 11)) | |
334 | + | then $acc111102011053 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc121102011053 = sum($acc111102011053, $list1102011053[11]) | |
337 | + | if (($size1102011053 == 12)) | |
338 | + | then $acc121102011053 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc131102011053 = sum($acc121102011053, $list1102011053[12]) | |
341 | + | if (($size1102011053 == 13)) | |
342 | + | then $acc131102011053 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc141102011053 = sum($acc131102011053, $list1102011053[13]) | |
345 | + | if (($size1102011053 == 14)) | |
346 | + | then $acc141102011053 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc151102011053 = sum($acc141102011053, $list1102011053[14]) | |
349 | + | if (($size1102011053 == 15)) | |
350 | + | then $acc151102011053 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc161102011053 = sum($acc151102011053, $list1102011053[15]) | |
353 | + | if (($size1102011053 == 16)) | |
354 | + | then $acc161102011053 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc171102011053 = sum($acc161102011053, $list1102011053[16]) | |
357 | + | if (($size1102011053 == 17)) | |
358 | + | then $acc171102011053 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc181102011053 = sum($acc171102011053, $list1102011053[17]) | |
361 | + | if (($size1102011053 == 18)) | |
362 | + | then $acc181102011053 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc191102011053 = sum($acc181102011053, $list1102011053[18]) | |
365 | + | if (($size1102011053 == 19)) | |
366 | + | then $acc191102011053 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc201102011053 = sum($acc191102011053, $list1102011053[19]) | |
369 | + | if (($size1102011053 == 20)) | |
370 | + | then $acc201102011053 | |
371 | 371 | else { | |
372 | - | let $ | |
372 | + | let $acc211102011053 = sum($acc201102011053, $list1102011053[20]) | |
373 | 373 | throw("List size exceed 20") | |
374 | 374 | } | |
375 | 375 | } | |
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 | let sumRewardCurrent = { | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list1108211114 = currentRewards | |
398 | + | let $size1108211114 = size($list1108211114) | |
399 | + | let $acc01108211114 = 0 | |
400 | + | if (($size1108211114 == 0)) | |
401 | + | then $acc01108211114 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc11108211114 = sum($acc01108211114, $list1108211114[0]) | |
404 | + | if (($size1108211114 == 1)) | |
405 | + | then $acc11108211114 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc21108211114 = sum($acc11108211114, $list1108211114[1]) | |
408 | + | if (($size1108211114 == 2)) | |
409 | + | then $acc21108211114 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc31108211114 = sum($acc21108211114, $list1108211114[2]) | |
412 | + | if (($size1108211114 == 3)) | |
413 | + | then $acc31108211114 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc41108211114 = sum($acc31108211114, $list1108211114[3]) | |
416 | + | if (($size1108211114 == 4)) | |
417 | + | then $acc41108211114 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc51108211114 = sum($acc41108211114, $list1108211114[4]) | |
420 | + | if (($size1108211114 == 5)) | |
421 | + | then $acc51108211114 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc61108211114 = sum($acc51108211114, $list1108211114[5]) | |
424 | + | if (($size1108211114 == 6)) | |
425 | + | then $acc61108211114 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc71108211114 = sum($acc61108211114, $list1108211114[6]) | |
428 | + | if (($size1108211114 == 7)) | |
429 | + | then $acc71108211114 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc81108211114 = sum($acc71108211114, $list1108211114[7]) | |
432 | + | if (($size1108211114 == 8)) | |
433 | + | then $acc81108211114 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc91108211114 = sum($acc81108211114, $list1108211114[8]) | |
436 | + | if (($size1108211114 == 9)) | |
437 | + | then $acc91108211114 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc101108211114 = sum($acc91108211114, $list1108211114[9]) | |
440 | + | if (($size1108211114 == 10)) | |
441 | + | then $acc101108211114 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc111108211114 = sum($acc101108211114, $list1108211114[10]) | |
444 | + | if (($size1108211114 == 11)) | |
445 | + | then $acc111108211114 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc121108211114 = sum($acc111108211114, $list1108211114[11]) | |
448 | + | if (($size1108211114 == 12)) | |
449 | + | then $acc121108211114 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc131108211114 = sum($acc121108211114, $list1108211114[12]) | |
452 | + | if (($size1108211114 == 13)) | |
453 | + | then $acc131108211114 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc141108211114 = sum($acc131108211114, $list1108211114[13]) | |
456 | + | if (($size1108211114 == 14)) | |
457 | + | then $acc141108211114 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc151108211114 = sum($acc141108211114, $list1108211114[14]) | |
460 | + | if (($size1108211114 == 15)) | |
461 | + | then $acc151108211114 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc161108211114 = sum($acc151108211114, $list1108211114[15]) | |
464 | + | if (($size1108211114 == 16)) | |
465 | + | then $acc161108211114 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc171108211114 = sum($acc161108211114, $list1108211114[16]) | |
468 | + | if (($size1108211114 == 17)) | |
469 | + | then $acc171108211114 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc181108211114 = sum($acc171108211114, $list1108211114[17]) | |
472 | + | if (($size1108211114 == 18)) | |
473 | + | then $acc181108211114 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc191108211114 = sum($acc181108211114, $list1108211114[18]) | |
476 | + | if (($size1108211114 == 19)) | |
477 | + | then $acc191108211114 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc201108211114 = sum($acc191108211114, $list1108211114[19]) | |
480 | + | if (($size1108211114 == 20)) | |
481 | + | then $acc201108211114 | |
482 | 482 | else { | |
483 | - | let $ | |
483 | + | let $acc211108211114 = sum($acc201108211114, $list1108211114[20]) | |
484 | 484 | throw("List size exceed 20") | |
485 | 485 | } | |
486 | 486 | } | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | } | |
491 | 491 | } | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | } | |
497 | 497 | } | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | } | |
503 | 503 | } | |
504 | 504 | } | |
505 | 505 | } | |
506 | 506 | } | |
507 | 507 | if ((height > rewardUpdateHeight)) | |
508 | 508 | then throw("rewardUpdateHeight < heightthen") | |
509 | 509 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
510 | 510 | then true | |
511 | 511 | else (sumRewardCurrent != totalVoteShare)) | |
512 | 512 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
513 | 513 | else { | |
514 | 514 | let previousRewardEntryNew = { | |
515 | - | let $ | |
516 | - | let $ | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
515 | + | let $list1143011478 = previousPools | |
516 | + | let $size1143011478 = size($list1143011478) | |
517 | + | let $acc01143011478 = nil | |
518 | + | if (($size1143011478 == 0)) | |
519 | + | then $acc01143011478 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc11143011478 = PreviousRewardEntry($acc01143011478, $list1143011478[0]) | |
522 | + | if (($size1143011478 == 1)) | |
523 | + | then $acc11143011478 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc21143011478 = PreviousRewardEntry($acc11143011478, $list1143011478[1]) | |
526 | + | if (($size1143011478 == 2)) | |
527 | + | then $acc21143011478 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc31143011478 = PreviousRewardEntry($acc21143011478, $list1143011478[2]) | |
530 | + | if (($size1143011478 == 3)) | |
531 | + | then $acc31143011478 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc41143011478 = PreviousRewardEntry($acc31143011478, $list1143011478[3]) | |
534 | + | if (($size1143011478 == 4)) | |
535 | + | then $acc41143011478 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc51143011478 = PreviousRewardEntry($acc41143011478, $list1143011478[4]) | |
538 | + | if (($size1143011478 == 5)) | |
539 | + | then $acc51143011478 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc61143011478 = PreviousRewardEntry($acc51143011478, $list1143011478[5]) | |
542 | + | if (($size1143011478 == 6)) | |
543 | + | then $acc61143011478 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc71143011478 = PreviousRewardEntry($acc61143011478, $list1143011478[6]) | |
546 | + | if (($size1143011478 == 7)) | |
547 | + | then $acc71143011478 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc81143011478 = PreviousRewardEntry($acc71143011478, $list1143011478[7]) | |
550 | + | if (($size1143011478 == 8)) | |
551 | + | then $acc81143011478 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc91143011478 = PreviousRewardEntry($acc81143011478, $list1143011478[8]) | |
554 | + | if (($size1143011478 == 9)) | |
555 | + | then $acc91143011478 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc101143011478 = PreviousRewardEntry($acc91143011478, $list1143011478[9]) | |
558 | + | if (($size1143011478 == 10)) | |
559 | + | then $acc101143011478 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc111143011478 = PreviousRewardEntry($acc101143011478, $list1143011478[10]) | |
562 | + | if (($size1143011478 == 11)) | |
563 | + | then $acc111143011478 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc121143011478 = PreviousRewardEntry($acc111143011478, $list1143011478[11]) | |
566 | + | if (($size1143011478 == 12)) | |
567 | + | then $acc121143011478 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc131143011478 = PreviousRewardEntry($acc121143011478, $list1143011478[12]) | |
570 | + | if (($size1143011478 == 13)) | |
571 | + | then $acc131143011478 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc141143011478 = PreviousRewardEntry($acc131143011478, $list1143011478[13]) | |
574 | + | if (($size1143011478 == 14)) | |
575 | + | then $acc141143011478 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc151143011478 = PreviousRewardEntry($acc141143011478, $list1143011478[14]) | |
578 | + | if (($size1143011478 == 15)) | |
579 | + | then $acc151143011478 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc161143011478 = PreviousRewardEntry($acc151143011478, $list1143011478[15]) | |
582 | + | if (($size1143011478 == 16)) | |
583 | + | then $acc161143011478 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc171143011478 = PreviousRewardEntry($acc161143011478, $list1143011478[16]) | |
586 | + | if (($size1143011478 == 17)) | |
587 | + | then $acc171143011478 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc181143011478 = PreviousRewardEntry($acc171143011478, $list1143011478[17]) | |
590 | + | if (($size1143011478 == 18)) | |
591 | + | then $acc181143011478 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc191143011478 = PreviousRewardEntry($acc181143011478, $list1143011478[18]) | |
594 | + | if (($size1143011478 == 19)) | |
595 | + | then $acc191143011478 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc201143011478 = PreviousRewardEntry($acc191143011478, $list1143011478[19]) | |
598 | + | if (($size1143011478 == 20)) | |
599 | + | then $acc201143011478 | |
600 | 600 | else { | |
601 | - | let $ | |
601 | + | let $acc211143011478 = PreviousRewardEntry($acc201143011478, $list1143011478[20]) | |
602 | 602 | throw("List size exceed 20") | |
603 | 603 | } | |
604 | 604 | } | |
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 | let currentRewardEntryNew = { | |
626 | - | let $ | |
627 | - | let $ | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
626 | + | let $list1151111557 = currentPools | |
627 | + | let $size1151111557 = size($list1151111557) | |
628 | + | let $acc01151111557 = nil | |
629 | + | if (($size1151111557 == 0)) | |
630 | + | then $acc01151111557 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc11151111557 = CurrentRewardEntry($acc01151111557, $list1151111557[0]) | |
633 | + | if (($size1151111557 == 1)) | |
634 | + | then $acc11151111557 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc21151111557 = CurrentRewardEntry($acc11151111557, $list1151111557[1]) | |
637 | + | if (($size1151111557 == 2)) | |
638 | + | then $acc21151111557 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc31151111557 = CurrentRewardEntry($acc21151111557, $list1151111557[2]) | |
641 | + | if (($size1151111557 == 3)) | |
642 | + | then $acc31151111557 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc41151111557 = CurrentRewardEntry($acc31151111557, $list1151111557[3]) | |
645 | + | if (($size1151111557 == 4)) | |
646 | + | then $acc41151111557 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc51151111557 = CurrentRewardEntry($acc41151111557, $list1151111557[4]) | |
649 | + | if (($size1151111557 == 5)) | |
650 | + | then $acc51151111557 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc61151111557 = CurrentRewardEntry($acc51151111557, $list1151111557[5]) | |
653 | + | if (($size1151111557 == 6)) | |
654 | + | then $acc61151111557 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc71151111557 = CurrentRewardEntry($acc61151111557, $list1151111557[6]) | |
657 | + | if (($size1151111557 == 7)) | |
658 | + | then $acc71151111557 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc81151111557 = CurrentRewardEntry($acc71151111557, $list1151111557[7]) | |
661 | + | if (($size1151111557 == 8)) | |
662 | + | then $acc81151111557 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc91151111557 = CurrentRewardEntry($acc81151111557, $list1151111557[8]) | |
665 | + | if (($size1151111557 == 9)) | |
666 | + | then $acc91151111557 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc101151111557 = CurrentRewardEntry($acc91151111557, $list1151111557[9]) | |
669 | + | if (($size1151111557 == 10)) | |
670 | + | then $acc101151111557 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc111151111557 = CurrentRewardEntry($acc101151111557, $list1151111557[10]) | |
673 | + | if (($size1151111557 == 11)) | |
674 | + | then $acc111151111557 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc121151111557 = CurrentRewardEntry($acc111151111557, $list1151111557[11]) | |
677 | + | if (($size1151111557 == 12)) | |
678 | + | then $acc121151111557 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc131151111557 = CurrentRewardEntry($acc121151111557, $list1151111557[12]) | |
681 | + | if (($size1151111557 == 13)) | |
682 | + | then $acc131151111557 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc141151111557 = CurrentRewardEntry($acc131151111557, $list1151111557[13]) | |
685 | + | if (($size1151111557 == 14)) | |
686 | + | then $acc141151111557 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc151151111557 = CurrentRewardEntry($acc141151111557, $list1151111557[14]) | |
689 | + | if (($size1151111557 == 15)) | |
690 | + | then $acc151151111557 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc161151111557 = CurrentRewardEntry($acc151151111557, $list1151111557[15]) | |
693 | + | if (($size1151111557 == 16)) | |
694 | + | then $acc161151111557 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc171151111557 = CurrentRewardEntry($acc161151111557, $list1151111557[16]) | |
697 | + | if (($size1151111557 == 17)) | |
698 | + | then $acc171151111557 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc181151111557 = CurrentRewardEntry($acc171151111557, $list1151111557[17]) | |
701 | + | if (($size1151111557 == 18)) | |
702 | + | then $acc181151111557 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc191151111557 = CurrentRewardEntry($acc181151111557, $list1151111557[18]) | |
705 | + | if (($size1151111557 == 19)) | |
706 | + | then $acc191151111557 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc201151111557 = CurrentRewardEntry($acc191151111557, $list1151111557[19]) | |
709 | + | if (($size1151111557 == 20)) | |
710 | + | then $acc201151111557 | |
711 | 711 | else { | |
712 | - | let $ | |
712 | + | let $acc211151111557 = CurrentRewardEntry($acc201151111557, $list1151111557[20]) | |
713 | 713 | throw("List size exceed 20") | |
714 | 714 | } | |
715 | 715 | } | |
716 | 716 | } | |
717 | 717 | } | |
718 | 718 | } | |
719 | 719 | } | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | } | |
723 | 723 | } | |
724 | 724 | } | |
725 | 725 | } | |
726 | 726 | } | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | } | |
730 | 730 | } | |
731 | 731 | } | |
732 | 732 | } | |
733 | 733 | } | |
734 | 734 | } | |
735 | 735 | } | |
736 | 736 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
737 | 737 | } | |
738 | 738 | } | |
739 | 739 | ||
740 | 740 | ||
741 | 741 | ||
742 | 742 | @Callable(i) | |
743 | 743 | func shutdown () = if (!(isActive)) | |
744 | 744 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
745 | 745 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
746 | 746 | then throw("Only admin can call this function") | |
747 | 747 | else suspend("Paused by admin") | |
748 | 748 | ||
749 | 749 | ||
750 | 750 | ||
751 | 751 | @Callable(i) | |
752 | 752 | func activate () = if (isActive) | |
753 | 753 | then throw("DApp is already active") | |
754 | 754 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
755 | 755 | then throw("Only admin can call this function") | |
756 | 756 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
757 | 757 | ||
758 | 758 |
github/deemru/w8io/169f3d6 808.36 ms ◑