tx · 6y5Fh9uB2Dgp3pxQvmF5Kc78KNLYtabeY9sY8hUEvPcq 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj: -0.01400000 Waves 2021.04.11 12:59 [1477648] smart account 3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj > SELF 0.00000000 Waves
{ "type": 13, "id": "6y5Fh9uB2Dgp3pxQvmF5Kc78KNLYtabeY9sY8hUEvPcq", "fee": 1400000, "feeAssetId": null, "timestamp": 1618135183233, "version": 1, "sender": "3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj", "senderPublicKey": "9G5zT9Cpjk5h2JSGhccak7GEhvBeeVYy2gPnafgTp7As", "proofs": [ "5KERqfWHFsf1bu418nu52VvoivhYJBYHTbcFvLKPvbBGznkkr3nKTxKKP9AYQEbQvLzJP2DAukWzJoCANriY6pLE" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50AAAAABR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AACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAQAAAAdzdXNwZW5kAAAAAQIAAAAPUGF1c2VkIGJ5IGFkbWluAAAAAWkBAAAACGFjdGl2YXRlAAAAAAMFAAAACGlzQWN0aXZlCQAAAgAAAAECAAAAFkRBcHAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAAB5GlZ", "chainId": 84, "height": 1477648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2NJsigEwozQfwG2SdzMg67GATPyA9RwYj6x1UJx8cFPR Next: 5McmD9FjpQXKvmArDi2wP6hPooV9Wnf2No1VAF8hYfxZ Diff:
Old | New | Differences | |
---|---|---|---|
190 | 190 | let userLastInterest = $t060266108._1 | |
191 | 191 | let userSWOPLocked = $t060266108._2 | |
192 | 192 | if (true) | |
193 | - | then throw(toString( | |
193 | + | then throw(toString(userLastInterest)) | |
194 | 194 | else { | |
195 | 195 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
196 | 196 | let userSWOPLockedNew = ((userSWOPLocked + 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 $t072487303 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072487303._1 | |
217 | + | let claimAmount = $t072487303._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 $t084158470 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084158470._1 | |
240 | + | let claimAmount = $t084158470._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 $t092499304 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092499304._1 | |
259 | + | let claimAmount = $t092499304._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 $list1107711110 = previousRewards | |
291 | + | let $size1107711110 = size($list1107711110) | |
292 | + | let $acc01107711110 = 0 | |
293 | + | if (($size1107711110 == 0)) | |
294 | + | then $acc01107711110 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107711110 = sum($acc01107711110, $list1107711110[0]) | |
297 | + | if (($size1107711110 == 1)) | |
298 | + | then $acc11107711110 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107711110 = sum($acc11107711110, $list1107711110[1]) | |
301 | + | if (($size1107711110 == 2)) | |
302 | + | then $acc21107711110 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107711110 = sum($acc21107711110, $list1107711110[2]) | |
305 | + | if (($size1107711110 == 3)) | |
306 | + | then $acc31107711110 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107711110 = sum($acc31107711110, $list1107711110[3]) | |
309 | + | if (($size1107711110 == 4)) | |
310 | + | then $acc41107711110 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107711110 = sum($acc41107711110, $list1107711110[4]) | |
313 | + | if (($size1107711110 == 5)) | |
314 | + | then $acc51107711110 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107711110 = sum($acc51107711110, $list1107711110[5]) | |
317 | + | if (($size1107711110 == 6)) | |
318 | + | then $acc61107711110 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107711110 = sum($acc61107711110, $list1107711110[6]) | |
321 | + | if (($size1107711110 == 7)) | |
322 | + | then $acc71107711110 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107711110 = sum($acc71107711110, $list1107711110[7]) | |
325 | + | if (($size1107711110 == 8)) | |
326 | + | then $acc81107711110 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107711110 = sum($acc81107711110, $list1107711110[8]) | |
329 | + | if (($size1107711110 == 9)) | |
330 | + | then $acc91107711110 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107711110 = sum($acc91107711110, $list1107711110[9]) | |
333 | + | if (($size1107711110 == 10)) | |
334 | + | then $acc101107711110 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107711110 = sum($acc101107711110, $list1107711110[10]) | |
337 | + | if (($size1107711110 == 11)) | |
338 | + | then $acc111107711110 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107711110 = sum($acc111107711110, $list1107711110[11]) | |
341 | + | if (($size1107711110 == 12)) | |
342 | + | then $acc121107711110 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107711110 = sum($acc121107711110, $list1107711110[12]) | |
345 | + | if (($size1107711110 == 13)) | |
346 | + | then $acc131107711110 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107711110 = sum($acc131107711110, $list1107711110[13]) | |
349 | + | if (($size1107711110 == 14)) | |
350 | + | then $acc141107711110 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107711110 = sum($acc141107711110, $list1107711110[14]) | |
353 | + | if (($size1107711110 == 15)) | |
354 | + | then $acc151107711110 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107711110 = sum($acc151107711110, $list1107711110[15]) | |
357 | + | if (($size1107711110 == 16)) | |
358 | + | then $acc161107711110 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107711110 = sum($acc161107711110, $list1107711110[16]) | |
361 | + | if (($size1107711110 == 17)) | |
362 | + | then $acc171107711110 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107711110 = sum($acc171107711110, $list1107711110[17]) | |
365 | + | if (($size1107711110 == 18)) | |
366 | + | then $acc181107711110 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107711110 = sum($acc181107711110, $list1107711110[18]) | |
369 | + | if (($size1107711110 == 19)) | |
370 | + | then $acc191107711110 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107711110 = sum($acc191107711110, $list1107711110[19]) | |
373 | + | if (($size1107711110 == 20)) | |
374 | + | then $acc201107711110 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107711110 = sum($acc201107711110, $list1107711110[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 $list1113911171 = currentRewards | |
402 | + | let $size1113911171 = size($list1113911171) | |
403 | + | let $acc01113911171 = 0 | |
404 | + | if (($size1113911171 == 0)) | |
405 | + | then $acc01113911171 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113911171 = sum($acc01113911171, $list1113911171[0]) | |
408 | + | if (($size1113911171 == 1)) | |
409 | + | then $acc11113911171 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113911171 = sum($acc11113911171, $list1113911171[1]) | |
412 | + | if (($size1113911171 == 2)) | |
413 | + | then $acc21113911171 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113911171 = sum($acc21113911171, $list1113911171[2]) | |
416 | + | if (($size1113911171 == 3)) | |
417 | + | then $acc31113911171 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113911171 = sum($acc31113911171, $list1113911171[3]) | |
420 | + | if (($size1113911171 == 4)) | |
421 | + | then $acc41113911171 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113911171 = sum($acc41113911171, $list1113911171[4]) | |
424 | + | if (($size1113911171 == 5)) | |
425 | + | then $acc51113911171 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113911171 = sum($acc51113911171, $list1113911171[5]) | |
428 | + | if (($size1113911171 == 6)) | |
429 | + | then $acc61113911171 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113911171 = sum($acc61113911171, $list1113911171[6]) | |
432 | + | if (($size1113911171 == 7)) | |
433 | + | then $acc71113911171 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113911171 = sum($acc71113911171, $list1113911171[7]) | |
436 | + | if (($size1113911171 == 8)) | |
437 | + | then $acc81113911171 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113911171 = sum($acc81113911171, $list1113911171[8]) | |
440 | + | if (($size1113911171 == 9)) | |
441 | + | then $acc91113911171 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113911171 = sum($acc91113911171, $list1113911171[9]) | |
444 | + | if (($size1113911171 == 10)) | |
445 | + | then $acc101113911171 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113911171 = sum($acc101113911171, $list1113911171[10]) | |
448 | + | if (($size1113911171 == 11)) | |
449 | + | then $acc111113911171 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113911171 = sum($acc111113911171, $list1113911171[11]) | |
452 | + | if (($size1113911171 == 12)) | |
453 | + | then $acc121113911171 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113911171 = sum($acc121113911171, $list1113911171[12]) | |
456 | + | if (($size1113911171 == 13)) | |
457 | + | then $acc131113911171 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113911171 = sum($acc131113911171, $list1113911171[13]) | |
460 | + | if (($size1113911171 == 14)) | |
461 | + | then $acc141113911171 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113911171 = sum($acc141113911171, $list1113911171[14]) | |
464 | + | if (($size1113911171 == 15)) | |
465 | + | then $acc151113911171 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113911171 = sum($acc151113911171, $list1113911171[15]) | |
468 | + | if (($size1113911171 == 16)) | |
469 | + | then $acc161113911171 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113911171 = sum($acc161113911171, $list1113911171[16]) | |
472 | + | if (($size1113911171 == 17)) | |
473 | + | then $acc171113911171 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113911171 = sum($acc171113911171, $list1113911171[17]) | |
476 | + | if (($size1113911171 == 18)) | |
477 | + | then $acc181113911171 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113911171 = sum($acc181113911171, $list1113911171[18]) | |
480 | + | if (($size1113911171 == 19)) | |
481 | + | then $acc191113911171 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113911171 = sum($acc191113911171, $list1113911171[19]) | |
484 | + | if (($size1113911171 == 20)) | |
485 | + | then $acc201113911171 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113911171 = sum($acc201113911171, $list1113911171[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 $list1148711535 = previousPools | |
520 | + | let $size1148711535 = size($list1148711535) | |
521 | + | let $acc01148711535 = nil | |
522 | + | if (($size1148711535 == 0)) | |
523 | + | then $acc01148711535 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148711535 = PreviousRewardEntry($acc01148711535, $list1148711535[0]) | |
526 | + | if (($size1148711535 == 1)) | |
527 | + | then $acc11148711535 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148711535 = PreviousRewardEntry($acc11148711535, $list1148711535[1]) | |
530 | + | if (($size1148711535 == 2)) | |
531 | + | then $acc21148711535 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148711535 = PreviousRewardEntry($acc21148711535, $list1148711535[2]) | |
534 | + | if (($size1148711535 == 3)) | |
535 | + | then $acc31148711535 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148711535 = PreviousRewardEntry($acc31148711535, $list1148711535[3]) | |
538 | + | if (($size1148711535 == 4)) | |
539 | + | then $acc41148711535 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148711535 = PreviousRewardEntry($acc41148711535, $list1148711535[4]) | |
542 | + | if (($size1148711535 == 5)) | |
543 | + | then $acc51148711535 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148711535 = PreviousRewardEntry($acc51148711535, $list1148711535[5]) | |
546 | + | if (($size1148711535 == 6)) | |
547 | + | then $acc61148711535 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148711535 = PreviousRewardEntry($acc61148711535, $list1148711535[6]) | |
550 | + | if (($size1148711535 == 7)) | |
551 | + | then $acc71148711535 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148711535 = PreviousRewardEntry($acc71148711535, $list1148711535[7]) | |
554 | + | if (($size1148711535 == 8)) | |
555 | + | then $acc81148711535 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148711535 = PreviousRewardEntry($acc81148711535, $list1148711535[8]) | |
558 | + | if (($size1148711535 == 9)) | |
559 | + | then $acc91148711535 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148711535 = PreviousRewardEntry($acc91148711535, $list1148711535[9]) | |
562 | + | if (($size1148711535 == 10)) | |
563 | + | then $acc101148711535 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148711535 = PreviousRewardEntry($acc101148711535, $list1148711535[10]) | |
566 | + | if (($size1148711535 == 11)) | |
567 | + | then $acc111148711535 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148711535 = PreviousRewardEntry($acc111148711535, $list1148711535[11]) | |
570 | + | if (($size1148711535 == 12)) | |
571 | + | then $acc121148711535 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148711535 = PreviousRewardEntry($acc121148711535, $list1148711535[12]) | |
574 | + | if (($size1148711535 == 13)) | |
575 | + | then $acc131148711535 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148711535 = PreviousRewardEntry($acc131148711535, $list1148711535[13]) | |
578 | + | if (($size1148711535 == 14)) | |
579 | + | then $acc141148711535 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148711535 = PreviousRewardEntry($acc141148711535, $list1148711535[14]) | |
582 | + | if (($size1148711535 == 15)) | |
583 | + | then $acc151148711535 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148711535 = PreviousRewardEntry($acc151148711535, $list1148711535[15]) | |
586 | + | if (($size1148711535 == 16)) | |
587 | + | then $acc161148711535 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148711535 = PreviousRewardEntry($acc161148711535, $list1148711535[16]) | |
590 | + | if (($size1148711535 == 17)) | |
591 | + | then $acc171148711535 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148711535 = PreviousRewardEntry($acc171148711535, $list1148711535[17]) | |
594 | + | if (($size1148711535 == 18)) | |
595 | + | then $acc181148711535 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148711535 = PreviousRewardEntry($acc181148711535, $list1148711535[18]) | |
598 | + | if (($size1148711535 == 19)) | |
599 | + | then $acc191148711535 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148711535 = PreviousRewardEntry($acc191148711535, $list1148711535[19]) | |
602 | + | if (($size1148711535 == 20)) | |
603 | + | then $acc201148711535 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148711535 = PreviousRewardEntry($acc201148711535, $list1148711535[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 $list1156811614 = currentPools | |
631 | + | let $size1156811614 = size($list1156811614) | |
632 | + | let $acc01156811614 = nil | |
633 | + | if (($size1156811614 == 0)) | |
634 | + | then $acc01156811614 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11156811614 = CurrentRewardEntry($acc01156811614, $list1156811614[0]) | |
637 | + | if (($size1156811614 == 1)) | |
638 | + | then $acc11156811614 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21156811614 = CurrentRewardEntry($acc11156811614, $list1156811614[1]) | |
641 | + | if (($size1156811614 == 2)) | |
642 | + | then $acc21156811614 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31156811614 = CurrentRewardEntry($acc21156811614, $list1156811614[2]) | |
645 | + | if (($size1156811614 == 3)) | |
646 | + | then $acc31156811614 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41156811614 = CurrentRewardEntry($acc31156811614, $list1156811614[3]) | |
649 | + | if (($size1156811614 == 4)) | |
650 | + | then $acc41156811614 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51156811614 = CurrentRewardEntry($acc41156811614, $list1156811614[4]) | |
653 | + | if (($size1156811614 == 5)) | |
654 | + | then $acc51156811614 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61156811614 = CurrentRewardEntry($acc51156811614, $list1156811614[5]) | |
657 | + | if (($size1156811614 == 6)) | |
658 | + | then $acc61156811614 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71156811614 = CurrentRewardEntry($acc61156811614, $list1156811614[6]) | |
661 | + | if (($size1156811614 == 7)) | |
662 | + | then $acc71156811614 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81156811614 = CurrentRewardEntry($acc71156811614, $list1156811614[7]) | |
665 | + | if (($size1156811614 == 8)) | |
666 | + | then $acc81156811614 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91156811614 = CurrentRewardEntry($acc81156811614, $list1156811614[8]) | |
669 | + | if (($size1156811614 == 9)) | |
670 | + | then $acc91156811614 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101156811614 = CurrentRewardEntry($acc91156811614, $list1156811614[9]) | |
673 | + | if (($size1156811614 == 10)) | |
674 | + | then $acc101156811614 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111156811614 = CurrentRewardEntry($acc101156811614, $list1156811614[10]) | |
677 | + | if (($size1156811614 == 11)) | |
678 | + | then $acc111156811614 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121156811614 = CurrentRewardEntry($acc111156811614, $list1156811614[11]) | |
681 | + | if (($size1156811614 == 12)) | |
682 | + | then $acc121156811614 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131156811614 = CurrentRewardEntry($acc121156811614, $list1156811614[12]) | |
685 | + | if (($size1156811614 == 13)) | |
686 | + | then $acc131156811614 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141156811614 = CurrentRewardEntry($acc131156811614, $list1156811614[13]) | |
689 | + | if (($size1156811614 == 14)) | |
690 | + | then $acc141156811614 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151156811614 = CurrentRewardEntry($acc141156811614, $list1156811614[14]) | |
693 | + | if (($size1156811614 == 15)) | |
694 | + | then $acc151156811614 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161156811614 = CurrentRewardEntry($acc151156811614, $list1156811614[15]) | |
697 | + | if (($size1156811614 == 16)) | |
698 | + | then $acc161156811614 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171156811614 = CurrentRewardEntry($acc161156811614, $list1156811614[16]) | |
701 | + | if (($size1156811614 == 17)) | |
702 | + | then $acc171156811614 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181156811614 = CurrentRewardEntry($acc171156811614, $list1156811614[17]) | |
705 | + | if (($size1156811614 == 18)) | |
706 | + | then $acc181156811614 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191156811614 = CurrentRewardEntry($acc181156811614, $list1156811614[18]) | |
709 | + | if (($size1156811614 == 19)) | |
710 | + | then $acc191156811614 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201156811614 = CurrentRewardEntry($acc191156811614, $list1156811614[19]) | |
713 | + | if (($size1156811614 == 20)) | |
714 | + | then $acc201156811614 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211156811614 = CurrentRewardEntry($acc201156811614, $list1156811614[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 | if (true) | |
193 | - | then throw(toString( | |
193 | + | then throw(toString(userLastInterest)) | |
194 | 194 | else { | |
195 | 195 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
196 | 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 $t072487303 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072487303._1 | |
217 | + | let claimAmount = $t072487303._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 $t084158470 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084158470._1 | |
240 | + | let claimAmount = $t084158470._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 $t092499304 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092499304._1 | |
259 | + | let claimAmount = $t092499304._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 $list1107711110 = previousRewards | |
291 | + | let $size1107711110 = size($list1107711110) | |
292 | + | let $acc01107711110 = 0 | |
293 | + | if (($size1107711110 == 0)) | |
294 | + | then $acc01107711110 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107711110 = sum($acc01107711110, $list1107711110[0]) | |
297 | + | if (($size1107711110 == 1)) | |
298 | + | then $acc11107711110 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107711110 = sum($acc11107711110, $list1107711110[1]) | |
301 | + | if (($size1107711110 == 2)) | |
302 | + | then $acc21107711110 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107711110 = sum($acc21107711110, $list1107711110[2]) | |
305 | + | if (($size1107711110 == 3)) | |
306 | + | then $acc31107711110 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107711110 = sum($acc31107711110, $list1107711110[3]) | |
309 | + | if (($size1107711110 == 4)) | |
310 | + | then $acc41107711110 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107711110 = sum($acc41107711110, $list1107711110[4]) | |
313 | + | if (($size1107711110 == 5)) | |
314 | + | then $acc51107711110 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107711110 = sum($acc51107711110, $list1107711110[5]) | |
317 | + | if (($size1107711110 == 6)) | |
318 | + | then $acc61107711110 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107711110 = sum($acc61107711110, $list1107711110[6]) | |
321 | + | if (($size1107711110 == 7)) | |
322 | + | then $acc71107711110 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107711110 = sum($acc71107711110, $list1107711110[7]) | |
325 | + | if (($size1107711110 == 8)) | |
326 | + | then $acc81107711110 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107711110 = sum($acc81107711110, $list1107711110[8]) | |
329 | + | if (($size1107711110 == 9)) | |
330 | + | then $acc91107711110 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107711110 = sum($acc91107711110, $list1107711110[9]) | |
333 | + | if (($size1107711110 == 10)) | |
334 | + | then $acc101107711110 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107711110 = sum($acc101107711110, $list1107711110[10]) | |
337 | + | if (($size1107711110 == 11)) | |
338 | + | then $acc111107711110 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107711110 = sum($acc111107711110, $list1107711110[11]) | |
341 | + | if (($size1107711110 == 12)) | |
342 | + | then $acc121107711110 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107711110 = sum($acc121107711110, $list1107711110[12]) | |
345 | + | if (($size1107711110 == 13)) | |
346 | + | then $acc131107711110 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107711110 = sum($acc131107711110, $list1107711110[13]) | |
349 | + | if (($size1107711110 == 14)) | |
350 | + | then $acc141107711110 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107711110 = sum($acc141107711110, $list1107711110[14]) | |
353 | + | if (($size1107711110 == 15)) | |
354 | + | then $acc151107711110 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107711110 = sum($acc151107711110, $list1107711110[15]) | |
357 | + | if (($size1107711110 == 16)) | |
358 | + | then $acc161107711110 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107711110 = sum($acc161107711110, $list1107711110[16]) | |
361 | + | if (($size1107711110 == 17)) | |
362 | + | then $acc171107711110 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107711110 = sum($acc171107711110, $list1107711110[17]) | |
365 | + | if (($size1107711110 == 18)) | |
366 | + | then $acc181107711110 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107711110 = sum($acc181107711110, $list1107711110[18]) | |
369 | + | if (($size1107711110 == 19)) | |
370 | + | then $acc191107711110 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107711110 = sum($acc191107711110, $list1107711110[19]) | |
373 | + | if (($size1107711110 == 20)) | |
374 | + | then $acc201107711110 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107711110 = sum($acc201107711110, $list1107711110[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 $list1113911171 = currentRewards | |
402 | + | let $size1113911171 = size($list1113911171) | |
403 | + | let $acc01113911171 = 0 | |
404 | + | if (($size1113911171 == 0)) | |
405 | + | then $acc01113911171 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113911171 = sum($acc01113911171, $list1113911171[0]) | |
408 | + | if (($size1113911171 == 1)) | |
409 | + | then $acc11113911171 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113911171 = sum($acc11113911171, $list1113911171[1]) | |
412 | + | if (($size1113911171 == 2)) | |
413 | + | then $acc21113911171 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113911171 = sum($acc21113911171, $list1113911171[2]) | |
416 | + | if (($size1113911171 == 3)) | |
417 | + | then $acc31113911171 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113911171 = sum($acc31113911171, $list1113911171[3]) | |
420 | + | if (($size1113911171 == 4)) | |
421 | + | then $acc41113911171 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113911171 = sum($acc41113911171, $list1113911171[4]) | |
424 | + | if (($size1113911171 == 5)) | |
425 | + | then $acc51113911171 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113911171 = sum($acc51113911171, $list1113911171[5]) | |
428 | + | if (($size1113911171 == 6)) | |
429 | + | then $acc61113911171 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113911171 = sum($acc61113911171, $list1113911171[6]) | |
432 | + | if (($size1113911171 == 7)) | |
433 | + | then $acc71113911171 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113911171 = sum($acc71113911171, $list1113911171[7]) | |
436 | + | if (($size1113911171 == 8)) | |
437 | + | then $acc81113911171 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113911171 = sum($acc81113911171, $list1113911171[8]) | |
440 | + | if (($size1113911171 == 9)) | |
441 | + | then $acc91113911171 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113911171 = sum($acc91113911171, $list1113911171[9]) | |
444 | + | if (($size1113911171 == 10)) | |
445 | + | then $acc101113911171 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113911171 = sum($acc101113911171, $list1113911171[10]) | |
448 | + | if (($size1113911171 == 11)) | |
449 | + | then $acc111113911171 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113911171 = sum($acc111113911171, $list1113911171[11]) | |
452 | + | if (($size1113911171 == 12)) | |
453 | + | then $acc121113911171 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113911171 = sum($acc121113911171, $list1113911171[12]) | |
456 | + | if (($size1113911171 == 13)) | |
457 | + | then $acc131113911171 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113911171 = sum($acc131113911171, $list1113911171[13]) | |
460 | + | if (($size1113911171 == 14)) | |
461 | + | then $acc141113911171 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113911171 = sum($acc141113911171, $list1113911171[14]) | |
464 | + | if (($size1113911171 == 15)) | |
465 | + | then $acc151113911171 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113911171 = sum($acc151113911171, $list1113911171[15]) | |
468 | + | if (($size1113911171 == 16)) | |
469 | + | then $acc161113911171 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113911171 = sum($acc161113911171, $list1113911171[16]) | |
472 | + | if (($size1113911171 == 17)) | |
473 | + | then $acc171113911171 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113911171 = sum($acc171113911171, $list1113911171[17]) | |
476 | + | if (($size1113911171 == 18)) | |
477 | + | then $acc181113911171 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113911171 = sum($acc181113911171, $list1113911171[18]) | |
480 | + | if (($size1113911171 == 19)) | |
481 | + | then $acc191113911171 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113911171 = sum($acc191113911171, $list1113911171[19]) | |
484 | + | if (($size1113911171 == 20)) | |
485 | + | then $acc201113911171 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113911171 = sum($acc201113911171, $list1113911171[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 $list1148711535 = previousPools | |
520 | + | let $size1148711535 = size($list1148711535) | |
521 | + | let $acc01148711535 = nil | |
522 | + | if (($size1148711535 == 0)) | |
523 | + | then $acc01148711535 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148711535 = PreviousRewardEntry($acc01148711535, $list1148711535[0]) | |
526 | + | if (($size1148711535 == 1)) | |
527 | + | then $acc11148711535 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148711535 = PreviousRewardEntry($acc11148711535, $list1148711535[1]) | |
530 | + | if (($size1148711535 == 2)) | |
531 | + | then $acc21148711535 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148711535 = PreviousRewardEntry($acc21148711535, $list1148711535[2]) | |
534 | + | if (($size1148711535 == 3)) | |
535 | + | then $acc31148711535 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148711535 = PreviousRewardEntry($acc31148711535, $list1148711535[3]) | |
538 | + | if (($size1148711535 == 4)) | |
539 | + | then $acc41148711535 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148711535 = PreviousRewardEntry($acc41148711535, $list1148711535[4]) | |
542 | + | if (($size1148711535 == 5)) | |
543 | + | then $acc51148711535 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148711535 = PreviousRewardEntry($acc51148711535, $list1148711535[5]) | |
546 | + | if (($size1148711535 == 6)) | |
547 | + | then $acc61148711535 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148711535 = PreviousRewardEntry($acc61148711535, $list1148711535[6]) | |
550 | + | if (($size1148711535 == 7)) | |
551 | + | then $acc71148711535 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148711535 = PreviousRewardEntry($acc71148711535, $list1148711535[7]) | |
554 | + | if (($size1148711535 == 8)) | |
555 | + | then $acc81148711535 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148711535 = PreviousRewardEntry($acc81148711535, $list1148711535[8]) | |
558 | + | if (($size1148711535 == 9)) | |
559 | + | then $acc91148711535 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148711535 = PreviousRewardEntry($acc91148711535, $list1148711535[9]) | |
562 | + | if (($size1148711535 == 10)) | |
563 | + | then $acc101148711535 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148711535 = PreviousRewardEntry($acc101148711535, $list1148711535[10]) | |
566 | + | if (($size1148711535 == 11)) | |
567 | + | then $acc111148711535 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148711535 = PreviousRewardEntry($acc111148711535, $list1148711535[11]) | |
570 | + | if (($size1148711535 == 12)) | |
571 | + | then $acc121148711535 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148711535 = PreviousRewardEntry($acc121148711535, $list1148711535[12]) | |
574 | + | if (($size1148711535 == 13)) | |
575 | + | then $acc131148711535 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148711535 = PreviousRewardEntry($acc131148711535, $list1148711535[13]) | |
578 | + | if (($size1148711535 == 14)) | |
579 | + | then $acc141148711535 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148711535 = PreviousRewardEntry($acc141148711535, $list1148711535[14]) | |
582 | + | if (($size1148711535 == 15)) | |
583 | + | then $acc151148711535 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148711535 = PreviousRewardEntry($acc151148711535, $list1148711535[15]) | |
586 | + | if (($size1148711535 == 16)) | |
587 | + | then $acc161148711535 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148711535 = PreviousRewardEntry($acc161148711535, $list1148711535[16]) | |
590 | + | if (($size1148711535 == 17)) | |
591 | + | then $acc171148711535 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148711535 = PreviousRewardEntry($acc171148711535, $list1148711535[17]) | |
594 | + | if (($size1148711535 == 18)) | |
595 | + | then $acc181148711535 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148711535 = PreviousRewardEntry($acc181148711535, $list1148711535[18]) | |
598 | + | if (($size1148711535 == 19)) | |
599 | + | then $acc191148711535 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148711535 = PreviousRewardEntry($acc191148711535, $list1148711535[19]) | |
602 | + | if (($size1148711535 == 20)) | |
603 | + | then $acc201148711535 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148711535 = PreviousRewardEntry($acc201148711535, $list1148711535[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 $list1156811614 = currentPools | |
631 | + | let $size1156811614 = size($list1156811614) | |
632 | + | let $acc01156811614 = nil | |
633 | + | if (($size1156811614 == 0)) | |
634 | + | then $acc01156811614 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11156811614 = CurrentRewardEntry($acc01156811614, $list1156811614[0]) | |
637 | + | if (($size1156811614 == 1)) | |
638 | + | then $acc11156811614 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21156811614 = CurrentRewardEntry($acc11156811614, $list1156811614[1]) | |
641 | + | if (($size1156811614 == 2)) | |
642 | + | then $acc21156811614 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31156811614 = CurrentRewardEntry($acc21156811614, $list1156811614[2]) | |
645 | + | if (($size1156811614 == 3)) | |
646 | + | then $acc31156811614 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41156811614 = CurrentRewardEntry($acc31156811614, $list1156811614[3]) | |
649 | + | if (($size1156811614 == 4)) | |
650 | + | then $acc41156811614 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51156811614 = CurrentRewardEntry($acc41156811614, $list1156811614[4]) | |
653 | + | if (($size1156811614 == 5)) | |
654 | + | then $acc51156811614 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61156811614 = CurrentRewardEntry($acc51156811614, $list1156811614[5]) | |
657 | + | if (($size1156811614 == 6)) | |
658 | + | then $acc61156811614 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71156811614 = CurrentRewardEntry($acc61156811614, $list1156811614[6]) | |
661 | + | if (($size1156811614 == 7)) | |
662 | + | then $acc71156811614 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81156811614 = CurrentRewardEntry($acc71156811614, $list1156811614[7]) | |
665 | + | if (($size1156811614 == 8)) | |
666 | + | then $acc81156811614 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91156811614 = CurrentRewardEntry($acc81156811614, $list1156811614[8]) | |
669 | + | if (($size1156811614 == 9)) | |
670 | + | then $acc91156811614 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101156811614 = CurrentRewardEntry($acc91156811614, $list1156811614[9]) | |
673 | + | if (($size1156811614 == 10)) | |
674 | + | then $acc101156811614 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111156811614 = CurrentRewardEntry($acc101156811614, $list1156811614[10]) | |
677 | + | if (($size1156811614 == 11)) | |
678 | + | then $acc111156811614 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121156811614 = CurrentRewardEntry($acc111156811614, $list1156811614[11]) | |
681 | + | if (($size1156811614 == 12)) | |
682 | + | then $acc121156811614 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131156811614 = CurrentRewardEntry($acc121156811614, $list1156811614[12]) | |
685 | + | if (($size1156811614 == 13)) | |
686 | + | then $acc131156811614 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141156811614 = CurrentRewardEntry($acc131156811614, $list1156811614[13]) | |
689 | + | if (($size1156811614 == 14)) | |
690 | + | then $acc141156811614 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151156811614 = CurrentRewardEntry($acc141156811614, $list1156811614[14]) | |
693 | + | if (($size1156811614 == 15)) | |
694 | + | then $acc151156811614 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161156811614 = CurrentRewardEntry($acc151156811614, $list1156811614[15]) | |
697 | + | if (($size1156811614 == 16)) | |
698 | + | then $acc161156811614 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171156811614 = CurrentRewardEntry($acc161156811614, $list1156811614[16]) | |
701 | + | if (($size1156811614 == 17)) | |
702 | + | then $acc171156811614 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181156811614 = CurrentRewardEntry($acc171156811614, $list1156811614[17]) | |
705 | + | if (($size1156811614 == 18)) | |
706 | + | then $acc181156811614 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191156811614 = CurrentRewardEntry($acc181156811614, $list1156811614[18]) | |
709 | + | if (($size1156811614 == 19)) | |
710 | + | then $acc191156811614 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201156811614 = CurrentRewardEntry($acc191156811614, $list1156811614[19]) | |
713 | + | if (($size1156811614 == 20)) | |
714 | + | then $acc201156811614 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211156811614 = CurrentRewardEntry($acc201156811614, $list1156811614[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 831.59 ms ◑