tx · ESFYt7EvZEn4Vrs58RgZxe9s92Kuj65UTv6xkc9VFAtW 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj: -0.01400000 Waves 2021.04.11 12:59 [1477648] smart account 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj > SELF 0.00000000 Waves
{ "type": 13, "id": "ESFYt7EvZEn4Vrs58RgZxe9s92Kuj65UTv6xkc9VFAtW", "fee": 1400000, "feeAssetId": null, "timestamp": 1618135256979, "version": 1, "sender": "3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj", "senderPublicKey": "9G5zT9Cpjk5h2JSGhccak7GEhvBeeVYy2gPnafgTp7As", "proofs": [ "2Unc6Ew84sVC5bdAkqDX9Rb3LmbV8dVj4VWSjeyijF8dbyWK6vDTxSCJ8bbkFNMG3sTc4LmTxqDXwxMUuxHkZ8tL" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50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nNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQEAAAAHc3VzcGVuZAAAAAECAAAAD1BhdXNlZCBieSBhZG1pbgAAAAFpAQAAAAhhY3RpdmF0ZQAAAAADBQAAAAhpc0FjdGl2ZQkAAAIAAAABAgAAABZEQXBwIGlzIGFscmVhZHkgYWN0aXZlAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAAA5iU1jg==", "chainId": 84, "height": 1477648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8mcSDYCh1iy22pDamMvTLgPUSP4fQdzYToopVVjxtrXh Next: Bxh9Rh2sPfYDeNWvgBwxtDUcL8kKmerQQsLKuSJfWYEJ Diff:
Old | New | Differences | |
---|---|---|---|
190 | 190 | let userLastInterest = $t060266108._1 | |
191 | 191 | let userSWOPLocked = $t060266108._2 | |
192 | 192 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | + | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
193 | 194 | if (true) | |
194 | 195 | then throw(toString(claimAmount)) | |
195 | 196 | else { | |
196 | - | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userNewInterest = lastInterest | |
198 | 198 | let totalSWOPLocked = getTotalSWOPLocked() | |
199 | 199 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
212 | 212 | else { | |
213 | 213 | let totalSWOPLocked = getTotalSWOPLocked() | |
214 | 214 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
215 | - | let $ | |
216 | - | let userNewInterest = $ | |
217 | - | let claimAmount = $ | |
215 | + | let $t072447299 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072447299._1 | |
217 | + | let claimAmount = $t072447299._2 | |
218 | 218 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
219 | 219 | let availableFund = (userSWOPLocked - userVoteAmount) | |
220 | 220 | if ((withdrawAmount > availableFund)) | |
235 | 235 | then throw("DApp is inactive at this moment") | |
236 | 236 | else { | |
237 | 237 | let lastInterest = getLastInterestInfo() | |
238 | - | let $ | |
239 | - | let userNewInterest = $ | |
240 | - | let claimAmount = $ | |
238 | + | let $t084118466 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084118466._1 | |
240 | + | let claimAmount = $t084118466._2 | |
241 | 241 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
242 | 242 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
243 | 243 | if ((claimAmount == 0)) | |
254 | 254 | let totalSWOPLocked = getTotalSWOPLocked() | |
255 | 255 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
256 | 256 | let lastInterest = getLastInterestInfo() | |
257 | - | let $ | |
258 | - | let userNewInterest = $ | |
259 | - | let claimAmount = $ | |
257 | + | let $t092459300 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092459300._1 | |
259 | + | let claimAmount = $t092459300._2 | |
260 | 260 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
261 | 261 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
262 | 262 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | let sumRewardPrevious = { | |
290 | - | let $ | |
291 | - | let $ | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
290 | + | let $list1107311106 = previousRewards | |
291 | + | let $size1107311106 = size($list1107311106) | |
292 | + | let $acc01107311106 = 0 | |
293 | + | if (($size1107311106 == 0)) | |
294 | + | then $acc01107311106 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107311106 = sum($acc01107311106, $list1107311106[0]) | |
297 | + | if (($size1107311106 == 1)) | |
298 | + | then $acc11107311106 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107311106 = sum($acc11107311106, $list1107311106[1]) | |
301 | + | if (($size1107311106 == 2)) | |
302 | + | then $acc21107311106 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107311106 = sum($acc21107311106, $list1107311106[2]) | |
305 | + | if (($size1107311106 == 3)) | |
306 | + | then $acc31107311106 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107311106 = sum($acc31107311106, $list1107311106[3]) | |
309 | + | if (($size1107311106 == 4)) | |
310 | + | then $acc41107311106 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107311106 = sum($acc41107311106, $list1107311106[4]) | |
313 | + | if (($size1107311106 == 5)) | |
314 | + | then $acc51107311106 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107311106 = sum($acc51107311106, $list1107311106[5]) | |
317 | + | if (($size1107311106 == 6)) | |
318 | + | then $acc61107311106 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107311106 = sum($acc61107311106, $list1107311106[6]) | |
321 | + | if (($size1107311106 == 7)) | |
322 | + | then $acc71107311106 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107311106 = sum($acc71107311106, $list1107311106[7]) | |
325 | + | if (($size1107311106 == 8)) | |
326 | + | then $acc81107311106 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107311106 = sum($acc81107311106, $list1107311106[8]) | |
329 | + | if (($size1107311106 == 9)) | |
330 | + | then $acc91107311106 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107311106 = sum($acc91107311106, $list1107311106[9]) | |
333 | + | if (($size1107311106 == 10)) | |
334 | + | then $acc101107311106 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107311106 = sum($acc101107311106, $list1107311106[10]) | |
337 | + | if (($size1107311106 == 11)) | |
338 | + | then $acc111107311106 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107311106 = sum($acc111107311106, $list1107311106[11]) | |
341 | + | if (($size1107311106 == 12)) | |
342 | + | then $acc121107311106 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107311106 = sum($acc121107311106, $list1107311106[12]) | |
345 | + | if (($size1107311106 == 13)) | |
346 | + | then $acc131107311106 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107311106 = sum($acc131107311106, $list1107311106[13]) | |
349 | + | if (($size1107311106 == 14)) | |
350 | + | then $acc141107311106 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107311106 = sum($acc141107311106, $list1107311106[14]) | |
353 | + | if (($size1107311106 == 15)) | |
354 | + | then $acc151107311106 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107311106 = sum($acc151107311106, $list1107311106[15]) | |
357 | + | if (($size1107311106 == 16)) | |
358 | + | then $acc161107311106 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107311106 = sum($acc161107311106, $list1107311106[16]) | |
361 | + | if (($size1107311106 == 17)) | |
362 | + | then $acc171107311106 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107311106 = sum($acc171107311106, $list1107311106[17]) | |
365 | + | if (($size1107311106 == 18)) | |
366 | + | then $acc181107311106 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107311106 = sum($acc181107311106, $list1107311106[18]) | |
369 | + | if (($size1107311106 == 19)) | |
370 | + | then $acc191107311106 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107311106 = sum($acc191107311106, $list1107311106[19]) | |
373 | + | if (($size1107311106 == 20)) | |
374 | + | then $acc201107311106 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107311106 = sum($acc201107311106, $list1107311106[20]) | |
377 | 377 | throw("List size exceed 20") | |
378 | 378 | } | |
379 | 379 | } | |
398 | 398 | } | |
399 | 399 | } | |
400 | 400 | let sumRewardCurrent = { | |
401 | - | let $ | |
402 | - | let $ | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
401 | + | let $list1113511167 = currentRewards | |
402 | + | let $size1113511167 = size($list1113511167) | |
403 | + | let $acc01113511167 = 0 | |
404 | + | if (($size1113511167 == 0)) | |
405 | + | then $acc01113511167 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113511167 = sum($acc01113511167, $list1113511167[0]) | |
408 | + | if (($size1113511167 == 1)) | |
409 | + | then $acc11113511167 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113511167 = sum($acc11113511167, $list1113511167[1]) | |
412 | + | if (($size1113511167 == 2)) | |
413 | + | then $acc21113511167 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113511167 = sum($acc21113511167, $list1113511167[2]) | |
416 | + | if (($size1113511167 == 3)) | |
417 | + | then $acc31113511167 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113511167 = sum($acc31113511167, $list1113511167[3]) | |
420 | + | if (($size1113511167 == 4)) | |
421 | + | then $acc41113511167 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113511167 = sum($acc41113511167, $list1113511167[4]) | |
424 | + | if (($size1113511167 == 5)) | |
425 | + | then $acc51113511167 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113511167 = sum($acc51113511167, $list1113511167[5]) | |
428 | + | if (($size1113511167 == 6)) | |
429 | + | then $acc61113511167 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113511167 = sum($acc61113511167, $list1113511167[6]) | |
432 | + | if (($size1113511167 == 7)) | |
433 | + | then $acc71113511167 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113511167 = sum($acc71113511167, $list1113511167[7]) | |
436 | + | if (($size1113511167 == 8)) | |
437 | + | then $acc81113511167 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113511167 = sum($acc81113511167, $list1113511167[8]) | |
440 | + | if (($size1113511167 == 9)) | |
441 | + | then $acc91113511167 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113511167 = sum($acc91113511167, $list1113511167[9]) | |
444 | + | if (($size1113511167 == 10)) | |
445 | + | then $acc101113511167 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113511167 = sum($acc101113511167, $list1113511167[10]) | |
448 | + | if (($size1113511167 == 11)) | |
449 | + | then $acc111113511167 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113511167 = sum($acc111113511167, $list1113511167[11]) | |
452 | + | if (($size1113511167 == 12)) | |
453 | + | then $acc121113511167 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113511167 = sum($acc121113511167, $list1113511167[12]) | |
456 | + | if (($size1113511167 == 13)) | |
457 | + | then $acc131113511167 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113511167 = sum($acc131113511167, $list1113511167[13]) | |
460 | + | if (($size1113511167 == 14)) | |
461 | + | then $acc141113511167 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113511167 = sum($acc141113511167, $list1113511167[14]) | |
464 | + | if (($size1113511167 == 15)) | |
465 | + | then $acc151113511167 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113511167 = sum($acc151113511167, $list1113511167[15]) | |
468 | + | if (($size1113511167 == 16)) | |
469 | + | then $acc161113511167 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113511167 = sum($acc161113511167, $list1113511167[16]) | |
472 | + | if (($size1113511167 == 17)) | |
473 | + | then $acc171113511167 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113511167 = sum($acc171113511167, $list1113511167[17]) | |
476 | + | if (($size1113511167 == 18)) | |
477 | + | then $acc181113511167 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113511167 = sum($acc181113511167, $list1113511167[18]) | |
480 | + | if (($size1113511167 == 19)) | |
481 | + | then $acc191113511167 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113511167 = sum($acc191113511167, $list1113511167[19]) | |
484 | + | if (($size1113511167 == 20)) | |
485 | + | then $acc201113511167 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113511167 = sum($acc201113511167, $list1113511167[20]) | |
488 | 488 | throw("List size exceed 20") | |
489 | 489 | } | |
490 | 490 | } | |
516 | 516 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
517 | 517 | else { | |
518 | 518 | let previousRewardEntryNew = { | |
519 | - | let $ | |
520 | - | let $ | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
519 | + | let $list1148311531 = previousPools | |
520 | + | let $size1148311531 = size($list1148311531) | |
521 | + | let $acc01148311531 = nil | |
522 | + | if (($size1148311531 == 0)) | |
523 | + | then $acc01148311531 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148311531 = PreviousRewardEntry($acc01148311531, $list1148311531[0]) | |
526 | + | if (($size1148311531 == 1)) | |
527 | + | then $acc11148311531 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148311531 = PreviousRewardEntry($acc11148311531, $list1148311531[1]) | |
530 | + | if (($size1148311531 == 2)) | |
531 | + | then $acc21148311531 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148311531 = PreviousRewardEntry($acc21148311531, $list1148311531[2]) | |
534 | + | if (($size1148311531 == 3)) | |
535 | + | then $acc31148311531 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148311531 = PreviousRewardEntry($acc31148311531, $list1148311531[3]) | |
538 | + | if (($size1148311531 == 4)) | |
539 | + | then $acc41148311531 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148311531 = PreviousRewardEntry($acc41148311531, $list1148311531[4]) | |
542 | + | if (($size1148311531 == 5)) | |
543 | + | then $acc51148311531 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148311531 = PreviousRewardEntry($acc51148311531, $list1148311531[5]) | |
546 | + | if (($size1148311531 == 6)) | |
547 | + | then $acc61148311531 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148311531 = PreviousRewardEntry($acc61148311531, $list1148311531[6]) | |
550 | + | if (($size1148311531 == 7)) | |
551 | + | then $acc71148311531 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148311531 = PreviousRewardEntry($acc71148311531, $list1148311531[7]) | |
554 | + | if (($size1148311531 == 8)) | |
555 | + | then $acc81148311531 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148311531 = PreviousRewardEntry($acc81148311531, $list1148311531[8]) | |
558 | + | if (($size1148311531 == 9)) | |
559 | + | then $acc91148311531 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148311531 = PreviousRewardEntry($acc91148311531, $list1148311531[9]) | |
562 | + | if (($size1148311531 == 10)) | |
563 | + | then $acc101148311531 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148311531 = PreviousRewardEntry($acc101148311531, $list1148311531[10]) | |
566 | + | if (($size1148311531 == 11)) | |
567 | + | then $acc111148311531 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148311531 = PreviousRewardEntry($acc111148311531, $list1148311531[11]) | |
570 | + | if (($size1148311531 == 12)) | |
571 | + | then $acc121148311531 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148311531 = PreviousRewardEntry($acc121148311531, $list1148311531[12]) | |
574 | + | if (($size1148311531 == 13)) | |
575 | + | then $acc131148311531 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148311531 = PreviousRewardEntry($acc131148311531, $list1148311531[13]) | |
578 | + | if (($size1148311531 == 14)) | |
579 | + | then $acc141148311531 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148311531 = PreviousRewardEntry($acc141148311531, $list1148311531[14]) | |
582 | + | if (($size1148311531 == 15)) | |
583 | + | then $acc151148311531 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148311531 = PreviousRewardEntry($acc151148311531, $list1148311531[15]) | |
586 | + | if (($size1148311531 == 16)) | |
587 | + | then $acc161148311531 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148311531 = PreviousRewardEntry($acc161148311531, $list1148311531[16]) | |
590 | + | if (($size1148311531 == 17)) | |
591 | + | then $acc171148311531 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148311531 = PreviousRewardEntry($acc171148311531, $list1148311531[17]) | |
594 | + | if (($size1148311531 == 18)) | |
595 | + | then $acc181148311531 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148311531 = PreviousRewardEntry($acc181148311531, $list1148311531[18]) | |
598 | + | if (($size1148311531 == 19)) | |
599 | + | then $acc191148311531 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148311531 = PreviousRewardEntry($acc191148311531, $list1148311531[19]) | |
602 | + | if (($size1148311531 == 20)) | |
603 | + | then $acc201148311531 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148311531 = PreviousRewardEntry($acc201148311531, $list1148311531[20]) | |
606 | 606 | throw("List size exceed 20") | |
607 | 607 | } | |
608 | 608 | } | |
627 | 627 | } | |
628 | 628 | } | |
629 | 629 | let currentRewardEntryNew = { | |
630 | - | let $ | |
631 | - | let $ | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
630 | + | let $list1156411610 = currentPools | |
631 | + | let $size1156411610 = size($list1156411610) | |
632 | + | let $acc01156411610 = nil | |
633 | + | if (($size1156411610 == 0)) | |
634 | + | then $acc01156411610 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11156411610 = CurrentRewardEntry($acc01156411610, $list1156411610[0]) | |
637 | + | if (($size1156411610 == 1)) | |
638 | + | then $acc11156411610 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21156411610 = CurrentRewardEntry($acc11156411610, $list1156411610[1]) | |
641 | + | if (($size1156411610 == 2)) | |
642 | + | then $acc21156411610 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31156411610 = CurrentRewardEntry($acc21156411610, $list1156411610[2]) | |
645 | + | if (($size1156411610 == 3)) | |
646 | + | then $acc31156411610 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41156411610 = CurrentRewardEntry($acc31156411610, $list1156411610[3]) | |
649 | + | if (($size1156411610 == 4)) | |
650 | + | then $acc41156411610 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51156411610 = CurrentRewardEntry($acc41156411610, $list1156411610[4]) | |
653 | + | if (($size1156411610 == 5)) | |
654 | + | then $acc51156411610 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61156411610 = CurrentRewardEntry($acc51156411610, $list1156411610[5]) | |
657 | + | if (($size1156411610 == 6)) | |
658 | + | then $acc61156411610 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71156411610 = CurrentRewardEntry($acc61156411610, $list1156411610[6]) | |
661 | + | if (($size1156411610 == 7)) | |
662 | + | then $acc71156411610 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81156411610 = CurrentRewardEntry($acc71156411610, $list1156411610[7]) | |
665 | + | if (($size1156411610 == 8)) | |
666 | + | then $acc81156411610 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91156411610 = CurrentRewardEntry($acc81156411610, $list1156411610[8]) | |
669 | + | if (($size1156411610 == 9)) | |
670 | + | then $acc91156411610 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101156411610 = CurrentRewardEntry($acc91156411610, $list1156411610[9]) | |
673 | + | if (($size1156411610 == 10)) | |
674 | + | then $acc101156411610 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111156411610 = CurrentRewardEntry($acc101156411610, $list1156411610[10]) | |
677 | + | if (($size1156411610 == 11)) | |
678 | + | then $acc111156411610 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121156411610 = CurrentRewardEntry($acc111156411610, $list1156411610[11]) | |
681 | + | if (($size1156411610 == 12)) | |
682 | + | then $acc121156411610 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131156411610 = CurrentRewardEntry($acc121156411610, $list1156411610[12]) | |
685 | + | if (($size1156411610 == 13)) | |
686 | + | then $acc131156411610 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141156411610 = CurrentRewardEntry($acc131156411610, $list1156411610[13]) | |
689 | + | if (($size1156411610 == 14)) | |
690 | + | then $acc141156411610 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151156411610 = CurrentRewardEntry($acc141156411610, $list1156411610[14]) | |
693 | + | if (($size1156411610 == 15)) | |
694 | + | then $acc151156411610 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161156411610 = CurrentRewardEntry($acc151156411610, $list1156411610[15]) | |
697 | + | if (($size1156411610 == 16)) | |
698 | + | then $acc161156411610 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171156411610 = CurrentRewardEntry($acc161156411610, $list1156411610[16]) | |
701 | + | if (($size1156411610 == 17)) | |
702 | + | then $acc171156411610 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181156411610 = CurrentRewardEntry($acc171156411610, $list1156411610[17]) | |
705 | + | if (($size1156411610 == 18)) | |
706 | + | then $acc181156411610 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191156411610 = CurrentRewardEntry($acc181156411610, $list1156411610[18]) | |
709 | + | if (($size1156411610 == 19)) | |
710 | + | then $acc191156411610 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201156411610 = CurrentRewardEntry($acc191156411610, $list1156411610[19]) | |
713 | + | if (($size1156411610 == 20)) | |
714 | + | then $acc201156411610 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211156411610 = CurrentRewardEntry($acc201156411610, $list1156411610[20]) | |
717 | 717 | throw("List size exceed 20") | |
718 | 718 | } | |
719 | 719 | } |
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 | + | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
193 | 194 | if (true) | |
194 | 195 | then throw(toString(claimAmount)) | |
195 | 196 | else { | |
196 | - | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userNewInterest = lastInterest | |
198 | 198 | let totalSWOPLocked = getTotalSWOPLocked() | |
199 | 199 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
200 | 200 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
201 | 201 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
202 | 202 | [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)] | |
203 | 203 | } | |
204 | 204 | } | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | ||
209 | 209 | @Callable(i) | |
210 | 210 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
211 | 211 | then throw("DApp is inactive at this moment") | |
212 | 212 | else { | |
213 | 213 | let totalSWOPLocked = getTotalSWOPLocked() | |
214 | 214 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
215 | - | let $ | |
216 | - | let userNewInterest = $ | |
217 | - | let claimAmount = $ | |
215 | + | let $t072447299 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072447299._1 | |
217 | + | let claimAmount = $t072447299._2 | |
218 | 218 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
219 | 219 | let availableFund = (userSWOPLocked - userVoteAmount) | |
220 | 220 | if ((withdrawAmount > availableFund)) | |
221 | 221 | then throw("withdrawAmount > availableFund") | |
222 | 222 | else { | |
223 | 223 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
224 | 224 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
225 | 225 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
226 | 226 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
227 | 227 | [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)] | |
228 | 228 | } | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | ||
233 | 233 | @Callable(i) | |
234 | 234 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
235 | 235 | then throw("DApp is inactive at this moment") | |
236 | 236 | else { | |
237 | 237 | let lastInterest = getLastInterestInfo() | |
238 | - | let $ | |
239 | - | let userNewInterest = $ | |
240 | - | let claimAmount = $ | |
238 | + | let $t084118466 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084118466._1 | |
240 | + | let claimAmount = $t084118466._2 | |
241 | 241 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
242 | 242 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
243 | 243 | if ((claimAmount == 0)) | |
244 | 244 | then throw("You have 0 available SWOP") | |
245 | 245 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(i) | |
251 | 251 | func claimAndStakeSWOP () = if (!(isActive)) | |
252 | 252 | then throw("DApp is inactive at this moment") | |
253 | 253 | else { | |
254 | 254 | let totalSWOPLocked = getTotalSWOPLocked() | |
255 | 255 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
256 | 256 | let lastInterest = getLastInterestInfo() | |
257 | - | let $ | |
258 | - | let userNewInterest = $ | |
259 | - | let claimAmount = $ | |
257 | + | let $t092459300 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092459300._1 | |
259 | + | let claimAmount = $t092459300._2 | |
260 | 260 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
261 | 261 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
262 | 262 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
263 | 263 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
264 | 264 | if ((claimAmount == 0)) | |
265 | 265 | then throw("You have 0 available SWOP") | |
266 | 266 | 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)] | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | ||
271 | 271 | @Callable(i) | |
272 | 272 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
273 | 273 | then throw("DApp is inactive at this moment") | |
274 | 274 | else { | |
275 | 275 | func sum (a,b) = (a + b) | |
276 | 276 | ||
277 | 277 | func PreviousRewardEntry (accumulated,pool) = { | |
278 | 278 | let poolIndex = value(indexOf(previousPools, pool)) | |
279 | 279 | let poolReward = previousRewards[poolIndex] | |
280 | 280 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | func CurrentRewardEntry (accumulated,pool) = { | |
284 | 284 | let poolIndex = value(indexOf(currentPools, pool)) | |
285 | 285 | let poolReward = currentRewards[poolIndex] | |
286 | 286 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | let sumRewardPrevious = { | |
290 | - | let $ | |
291 | - | let $ | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
290 | + | let $list1107311106 = previousRewards | |
291 | + | let $size1107311106 = size($list1107311106) | |
292 | + | let $acc01107311106 = 0 | |
293 | + | if (($size1107311106 == 0)) | |
294 | + | then $acc01107311106 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107311106 = sum($acc01107311106, $list1107311106[0]) | |
297 | + | if (($size1107311106 == 1)) | |
298 | + | then $acc11107311106 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107311106 = sum($acc11107311106, $list1107311106[1]) | |
301 | + | if (($size1107311106 == 2)) | |
302 | + | then $acc21107311106 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107311106 = sum($acc21107311106, $list1107311106[2]) | |
305 | + | if (($size1107311106 == 3)) | |
306 | + | then $acc31107311106 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107311106 = sum($acc31107311106, $list1107311106[3]) | |
309 | + | if (($size1107311106 == 4)) | |
310 | + | then $acc41107311106 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107311106 = sum($acc41107311106, $list1107311106[4]) | |
313 | + | if (($size1107311106 == 5)) | |
314 | + | then $acc51107311106 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107311106 = sum($acc51107311106, $list1107311106[5]) | |
317 | + | if (($size1107311106 == 6)) | |
318 | + | then $acc61107311106 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107311106 = sum($acc61107311106, $list1107311106[6]) | |
321 | + | if (($size1107311106 == 7)) | |
322 | + | then $acc71107311106 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107311106 = sum($acc71107311106, $list1107311106[7]) | |
325 | + | if (($size1107311106 == 8)) | |
326 | + | then $acc81107311106 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107311106 = sum($acc81107311106, $list1107311106[8]) | |
329 | + | if (($size1107311106 == 9)) | |
330 | + | then $acc91107311106 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107311106 = sum($acc91107311106, $list1107311106[9]) | |
333 | + | if (($size1107311106 == 10)) | |
334 | + | then $acc101107311106 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107311106 = sum($acc101107311106, $list1107311106[10]) | |
337 | + | if (($size1107311106 == 11)) | |
338 | + | then $acc111107311106 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107311106 = sum($acc111107311106, $list1107311106[11]) | |
341 | + | if (($size1107311106 == 12)) | |
342 | + | then $acc121107311106 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107311106 = sum($acc121107311106, $list1107311106[12]) | |
345 | + | if (($size1107311106 == 13)) | |
346 | + | then $acc131107311106 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107311106 = sum($acc131107311106, $list1107311106[13]) | |
349 | + | if (($size1107311106 == 14)) | |
350 | + | then $acc141107311106 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107311106 = sum($acc141107311106, $list1107311106[14]) | |
353 | + | if (($size1107311106 == 15)) | |
354 | + | then $acc151107311106 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107311106 = sum($acc151107311106, $list1107311106[15]) | |
357 | + | if (($size1107311106 == 16)) | |
358 | + | then $acc161107311106 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107311106 = sum($acc161107311106, $list1107311106[16]) | |
361 | + | if (($size1107311106 == 17)) | |
362 | + | then $acc171107311106 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107311106 = sum($acc171107311106, $list1107311106[17]) | |
365 | + | if (($size1107311106 == 18)) | |
366 | + | then $acc181107311106 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107311106 = sum($acc181107311106, $list1107311106[18]) | |
369 | + | if (($size1107311106 == 19)) | |
370 | + | then $acc191107311106 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107311106 = sum($acc191107311106, $list1107311106[19]) | |
373 | + | if (($size1107311106 == 20)) | |
374 | + | then $acc201107311106 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107311106 = sum($acc201107311106, $list1107311106[20]) | |
377 | 377 | throw("List size exceed 20") | |
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 | } | |
399 | 399 | } | |
400 | 400 | let sumRewardCurrent = { | |
401 | - | let $ | |
402 | - | let $ | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
401 | + | let $list1113511167 = currentRewards | |
402 | + | let $size1113511167 = size($list1113511167) | |
403 | + | let $acc01113511167 = 0 | |
404 | + | if (($size1113511167 == 0)) | |
405 | + | then $acc01113511167 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113511167 = sum($acc01113511167, $list1113511167[0]) | |
408 | + | if (($size1113511167 == 1)) | |
409 | + | then $acc11113511167 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113511167 = sum($acc11113511167, $list1113511167[1]) | |
412 | + | if (($size1113511167 == 2)) | |
413 | + | then $acc21113511167 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113511167 = sum($acc21113511167, $list1113511167[2]) | |
416 | + | if (($size1113511167 == 3)) | |
417 | + | then $acc31113511167 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113511167 = sum($acc31113511167, $list1113511167[3]) | |
420 | + | if (($size1113511167 == 4)) | |
421 | + | then $acc41113511167 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113511167 = sum($acc41113511167, $list1113511167[4]) | |
424 | + | if (($size1113511167 == 5)) | |
425 | + | then $acc51113511167 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113511167 = sum($acc51113511167, $list1113511167[5]) | |
428 | + | if (($size1113511167 == 6)) | |
429 | + | then $acc61113511167 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113511167 = sum($acc61113511167, $list1113511167[6]) | |
432 | + | if (($size1113511167 == 7)) | |
433 | + | then $acc71113511167 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113511167 = sum($acc71113511167, $list1113511167[7]) | |
436 | + | if (($size1113511167 == 8)) | |
437 | + | then $acc81113511167 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113511167 = sum($acc81113511167, $list1113511167[8]) | |
440 | + | if (($size1113511167 == 9)) | |
441 | + | then $acc91113511167 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113511167 = sum($acc91113511167, $list1113511167[9]) | |
444 | + | if (($size1113511167 == 10)) | |
445 | + | then $acc101113511167 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113511167 = sum($acc101113511167, $list1113511167[10]) | |
448 | + | if (($size1113511167 == 11)) | |
449 | + | then $acc111113511167 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113511167 = sum($acc111113511167, $list1113511167[11]) | |
452 | + | if (($size1113511167 == 12)) | |
453 | + | then $acc121113511167 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113511167 = sum($acc121113511167, $list1113511167[12]) | |
456 | + | if (($size1113511167 == 13)) | |
457 | + | then $acc131113511167 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113511167 = sum($acc131113511167, $list1113511167[13]) | |
460 | + | if (($size1113511167 == 14)) | |
461 | + | then $acc141113511167 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113511167 = sum($acc141113511167, $list1113511167[14]) | |
464 | + | if (($size1113511167 == 15)) | |
465 | + | then $acc151113511167 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113511167 = sum($acc151113511167, $list1113511167[15]) | |
468 | + | if (($size1113511167 == 16)) | |
469 | + | then $acc161113511167 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113511167 = sum($acc161113511167, $list1113511167[16]) | |
472 | + | if (($size1113511167 == 17)) | |
473 | + | then $acc171113511167 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113511167 = sum($acc171113511167, $list1113511167[17]) | |
476 | + | if (($size1113511167 == 18)) | |
477 | + | then $acc181113511167 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113511167 = sum($acc181113511167, $list1113511167[18]) | |
480 | + | if (($size1113511167 == 19)) | |
481 | + | then $acc191113511167 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113511167 = sum($acc191113511167, $list1113511167[19]) | |
484 | + | if (($size1113511167 == 20)) | |
485 | + | then $acc201113511167 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113511167 = sum($acc201113511167, $list1113511167[20]) | |
488 | 488 | throw("List size exceed 20") | |
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 | } | |
510 | 510 | } | |
511 | 511 | if ((height > rewardUpdateHeight)) | |
512 | 512 | then throw("rewardUpdateHeight < heightthen") | |
513 | 513 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
514 | 514 | then true | |
515 | 515 | else (sumRewardCurrent != totalVoteShare)) | |
516 | 516 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
517 | 517 | else { | |
518 | 518 | let previousRewardEntryNew = { | |
519 | - | let $ | |
520 | - | let $ | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
519 | + | let $list1148311531 = previousPools | |
520 | + | let $size1148311531 = size($list1148311531) | |
521 | + | let $acc01148311531 = nil | |
522 | + | if (($size1148311531 == 0)) | |
523 | + | then $acc01148311531 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148311531 = PreviousRewardEntry($acc01148311531, $list1148311531[0]) | |
526 | + | if (($size1148311531 == 1)) | |
527 | + | then $acc11148311531 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148311531 = PreviousRewardEntry($acc11148311531, $list1148311531[1]) | |
530 | + | if (($size1148311531 == 2)) | |
531 | + | then $acc21148311531 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148311531 = PreviousRewardEntry($acc21148311531, $list1148311531[2]) | |
534 | + | if (($size1148311531 == 3)) | |
535 | + | then $acc31148311531 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148311531 = PreviousRewardEntry($acc31148311531, $list1148311531[3]) | |
538 | + | if (($size1148311531 == 4)) | |
539 | + | then $acc41148311531 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148311531 = PreviousRewardEntry($acc41148311531, $list1148311531[4]) | |
542 | + | if (($size1148311531 == 5)) | |
543 | + | then $acc51148311531 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148311531 = PreviousRewardEntry($acc51148311531, $list1148311531[5]) | |
546 | + | if (($size1148311531 == 6)) | |
547 | + | then $acc61148311531 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148311531 = PreviousRewardEntry($acc61148311531, $list1148311531[6]) | |
550 | + | if (($size1148311531 == 7)) | |
551 | + | then $acc71148311531 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148311531 = PreviousRewardEntry($acc71148311531, $list1148311531[7]) | |
554 | + | if (($size1148311531 == 8)) | |
555 | + | then $acc81148311531 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148311531 = PreviousRewardEntry($acc81148311531, $list1148311531[8]) | |
558 | + | if (($size1148311531 == 9)) | |
559 | + | then $acc91148311531 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148311531 = PreviousRewardEntry($acc91148311531, $list1148311531[9]) | |
562 | + | if (($size1148311531 == 10)) | |
563 | + | then $acc101148311531 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148311531 = PreviousRewardEntry($acc101148311531, $list1148311531[10]) | |
566 | + | if (($size1148311531 == 11)) | |
567 | + | then $acc111148311531 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148311531 = PreviousRewardEntry($acc111148311531, $list1148311531[11]) | |
570 | + | if (($size1148311531 == 12)) | |
571 | + | then $acc121148311531 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148311531 = PreviousRewardEntry($acc121148311531, $list1148311531[12]) | |
574 | + | if (($size1148311531 == 13)) | |
575 | + | then $acc131148311531 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148311531 = PreviousRewardEntry($acc131148311531, $list1148311531[13]) | |
578 | + | if (($size1148311531 == 14)) | |
579 | + | then $acc141148311531 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148311531 = PreviousRewardEntry($acc141148311531, $list1148311531[14]) | |
582 | + | if (($size1148311531 == 15)) | |
583 | + | then $acc151148311531 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148311531 = PreviousRewardEntry($acc151148311531, $list1148311531[15]) | |
586 | + | if (($size1148311531 == 16)) | |
587 | + | then $acc161148311531 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148311531 = PreviousRewardEntry($acc161148311531, $list1148311531[16]) | |
590 | + | if (($size1148311531 == 17)) | |
591 | + | then $acc171148311531 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148311531 = PreviousRewardEntry($acc171148311531, $list1148311531[17]) | |
594 | + | if (($size1148311531 == 18)) | |
595 | + | then $acc181148311531 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148311531 = PreviousRewardEntry($acc181148311531, $list1148311531[18]) | |
598 | + | if (($size1148311531 == 19)) | |
599 | + | then $acc191148311531 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148311531 = PreviousRewardEntry($acc191148311531, $list1148311531[19]) | |
602 | + | if (($size1148311531 == 20)) | |
603 | + | then $acc201148311531 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148311531 = PreviousRewardEntry($acc201148311531, $list1148311531[20]) | |
606 | 606 | throw("List size exceed 20") | |
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 | } | |
628 | 628 | } | |
629 | 629 | let currentRewardEntryNew = { | |
630 | - | let $ | |
631 | - | let $ | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
630 | + | let $list1156411610 = currentPools | |
631 | + | let $size1156411610 = size($list1156411610) | |
632 | + | let $acc01156411610 = nil | |
633 | + | if (($size1156411610 == 0)) | |
634 | + | then $acc01156411610 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11156411610 = CurrentRewardEntry($acc01156411610, $list1156411610[0]) | |
637 | + | if (($size1156411610 == 1)) | |
638 | + | then $acc11156411610 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21156411610 = CurrentRewardEntry($acc11156411610, $list1156411610[1]) | |
641 | + | if (($size1156411610 == 2)) | |
642 | + | then $acc21156411610 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31156411610 = CurrentRewardEntry($acc21156411610, $list1156411610[2]) | |
645 | + | if (($size1156411610 == 3)) | |
646 | + | then $acc31156411610 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41156411610 = CurrentRewardEntry($acc31156411610, $list1156411610[3]) | |
649 | + | if (($size1156411610 == 4)) | |
650 | + | then $acc41156411610 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51156411610 = CurrentRewardEntry($acc41156411610, $list1156411610[4]) | |
653 | + | if (($size1156411610 == 5)) | |
654 | + | then $acc51156411610 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61156411610 = CurrentRewardEntry($acc51156411610, $list1156411610[5]) | |
657 | + | if (($size1156411610 == 6)) | |
658 | + | then $acc61156411610 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71156411610 = CurrentRewardEntry($acc61156411610, $list1156411610[6]) | |
661 | + | if (($size1156411610 == 7)) | |
662 | + | then $acc71156411610 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81156411610 = CurrentRewardEntry($acc71156411610, $list1156411610[7]) | |
665 | + | if (($size1156411610 == 8)) | |
666 | + | then $acc81156411610 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91156411610 = CurrentRewardEntry($acc81156411610, $list1156411610[8]) | |
669 | + | if (($size1156411610 == 9)) | |
670 | + | then $acc91156411610 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101156411610 = CurrentRewardEntry($acc91156411610, $list1156411610[9]) | |
673 | + | if (($size1156411610 == 10)) | |
674 | + | then $acc101156411610 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111156411610 = CurrentRewardEntry($acc101156411610, $list1156411610[10]) | |
677 | + | if (($size1156411610 == 11)) | |
678 | + | then $acc111156411610 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121156411610 = CurrentRewardEntry($acc111156411610, $list1156411610[11]) | |
681 | + | if (($size1156411610 == 12)) | |
682 | + | then $acc121156411610 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131156411610 = CurrentRewardEntry($acc121156411610, $list1156411610[12]) | |
685 | + | if (($size1156411610 == 13)) | |
686 | + | then $acc131156411610 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141156411610 = CurrentRewardEntry($acc131156411610, $list1156411610[13]) | |
689 | + | if (($size1156411610 == 14)) | |
690 | + | then $acc141156411610 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151156411610 = CurrentRewardEntry($acc141156411610, $list1156411610[14]) | |
693 | + | if (($size1156411610 == 15)) | |
694 | + | then $acc151156411610 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161156411610 = CurrentRewardEntry($acc151156411610, $list1156411610[15]) | |
697 | + | if (($size1156411610 == 16)) | |
698 | + | then $acc161156411610 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171156411610 = CurrentRewardEntry($acc161156411610, $list1156411610[16]) | |
701 | + | if (($size1156411610 == 17)) | |
702 | + | then $acc171156411610 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181156411610 = CurrentRewardEntry($acc171156411610, $list1156411610[17]) | |
705 | + | if (($size1156411610 == 18)) | |
706 | + | then $acc181156411610 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191156411610 = CurrentRewardEntry($acc181156411610, $list1156411610[18]) | |
709 | + | if (($size1156411610 == 19)) | |
710 | + | then $acc191156411610 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201156411610 = CurrentRewardEntry($acc191156411610, $list1156411610[19]) | |
713 | + | if (($size1156411610 == 20)) | |
714 | + | then $acc201156411610 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211156411610 = CurrentRewardEntry($acc201156411610, $list1156411610[20]) | |
717 | 717 | throw("List size exceed 20") | |
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 | } | |
739 | 739 | } | |
740 | 740 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
741 | 741 | } | |
742 | 742 | } | |
743 | 743 | ||
744 | 744 | ||
745 | 745 | ||
746 | 746 | @Callable(i) | |
747 | 747 | func shutdown () = if (!(isActive)) | |
748 | 748 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
749 | 749 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
750 | 750 | then throw("Only admin can call this function") | |
751 | 751 | else suspend("Paused by admin") | |
752 | 752 | ||
753 | 753 | ||
754 | 754 | ||
755 | 755 | @Callable(i) | |
756 | 756 | func activate () = if (isActive) | |
757 | 757 | then throw("DApp is already active") | |
758 | 758 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
759 | 759 | then throw("Only admin can call this function") | |
760 | 760 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
761 | 761 | ||
762 | 762 |
github/deemru/w8io/026f985 805.35 ms ◑