tx · AwiT9qY4hF8KeP3tWeD9PZSkazrzmTBzunK1pxyZttzF 3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE: -0.01400000 Waves 2021.03.13 12:38 [1435745] smart account 3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE > SELF 0.00000000 Waves
{ "type": 13, "id": "AwiT9qY4hF8KeP3tWeD9PZSkazrzmTBzunK1pxyZttzF", "fee": 1400000, "feeAssetId": null, "timestamp": 1615628323463, "version": 1, "sender": "3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE", "senderPublicKey": "CaPerVhC3un3tdRvvVTPfHiZXN2ygZ5MvD48qeUxb3wA", "proofs": [ "43TfBn7q7PK8Ns4qm9fNLAT4FKxRNABrPbXyTdJ39zr7KUqVTd5EPTTf1AjHFMfUt7myW5FiAhF9gV2vHe7PsQmi" ], "script": "base64:AAIEAAAAAAAAACEIAhIAEgASAwoBARIAEgASBwoFGBEYEQESAwoBARIAEgAAAAAvAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRhZG1pblB1YktleVN0YXJ0U3RvcAEAAAAgzlkO3OqzXqOuG/1XXufreRE1KXRGMps8FV88BRsoYXsAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzdAIAAAAOX2xhc3RfaW50ZXJlc3QAAAAAEWtleVVzZXJTV09QTG9ja2VkAgAAAAxfU1dPUF9hbW91bnQAAAAAFGtleVVzZXJHZXRC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JQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQEAAAAHc3VzcGVuZAAAAAECAAAAD1BhdXNlZCBieSBhZG1pbgAAAAFpAQAAAAhhY3RpdmF0ZQAAAAADBQAAAAhpc0FjdGl2ZQkAAAIAAAABAgAAABZEQXBwIGlzIGFscmVhZHkgYWN0aXZlAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAAA88DinA==", "chainId": 84, "height": 1435745, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CKuiPBEiydMsdCJih5QQEFgs87D21tMLNaqBfNgEGPHH Next: 9iLa19WKvNFKKtNaXdzm6JKK5zvZBiWxsPn8Dxau52W7 Diff:
Old | New | Differences | |
---|---|---|---|
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | 189 | if (true) | |
190 | - | then throw( | |
190 | + | then throw(toBase58String(SWOP)) | |
191 | 191 | else { | |
192 | - | let $ | |
193 | - | let userLastInterest = $ | |
194 | - | let userSWOPLocked = $ | |
192 | + | let $t060776159 = getUserInterestInfo(i.caller, lastInterest) | |
193 | + | let userLastInterest = $t060776159._1 | |
194 | + | let userSWOPLocked = $t060776159._2 | |
195 | 195 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
196 | 196 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userNewInterest = lastInterest | |
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 $t072437298 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072437298._1 | |
217 | + | let claimAmount = $t072437298._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 $t084108465 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084108465._1 | |
240 | + | let claimAmount = $t084108465._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 $t092449299 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092449299._1 | |
259 | + | let claimAmount = $t092449299._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 $list1107411107 = previousRewards | |
291 | + | let $size1107411107 = size($list1107411107) | |
292 | + | let $acc01107411107 = 0 | |
293 | + | if (($size1107411107 == 0)) | |
294 | + | then $acc01107411107 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107411107 = sum($acc01107411107, $list1107411107[0]) | |
297 | + | if (($size1107411107 == 1)) | |
298 | + | then $acc11107411107 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107411107 = sum($acc11107411107, $list1107411107[1]) | |
301 | + | if (($size1107411107 == 2)) | |
302 | + | then $acc21107411107 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107411107 = sum($acc21107411107, $list1107411107[2]) | |
305 | + | if (($size1107411107 == 3)) | |
306 | + | then $acc31107411107 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107411107 = sum($acc31107411107, $list1107411107[3]) | |
309 | + | if (($size1107411107 == 4)) | |
310 | + | then $acc41107411107 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107411107 = sum($acc41107411107, $list1107411107[4]) | |
313 | + | if (($size1107411107 == 5)) | |
314 | + | then $acc51107411107 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107411107 = sum($acc51107411107, $list1107411107[5]) | |
317 | + | if (($size1107411107 == 6)) | |
318 | + | then $acc61107411107 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107411107 = sum($acc61107411107, $list1107411107[6]) | |
321 | + | if (($size1107411107 == 7)) | |
322 | + | then $acc71107411107 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107411107 = sum($acc71107411107, $list1107411107[7]) | |
325 | + | if (($size1107411107 == 8)) | |
326 | + | then $acc81107411107 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107411107 = sum($acc81107411107, $list1107411107[8]) | |
329 | + | if (($size1107411107 == 9)) | |
330 | + | then $acc91107411107 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107411107 = sum($acc91107411107, $list1107411107[9]) | |
333 | + | if (($size1107411107 == 10)) | |
334 | + | then $acc101107411107 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107411107 = sum($acc101107411107, $list1107411107[10]) | |
337 | + | if (($size1107411107 == 11)) | |
338 | + | then $acc111107411107 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107411107 = sum($acc111107411107, $list1107411107[11]) | |
341 | + | if (($size1107411107 == 12)) | |
342 | + | then $acc121107411107 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107411107 = sum($acc121107411107, $list1107411107[12]) | |
345 | + | if (($size1107411107 == 13)) | |
346 | + | then $acc131107411107 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107411107 = sum($acc131107411107, $list1107411107[13]) | |
349 | + | if (($size1107411107 == 14)) | |
350 | + | then $acc141107411107 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107411107 = sum($acc141107411107, $list1107411107[14]) | |
353 | + | if (($size1107411107 == 15)) | |
354 | + | then $acc151107411107 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107411107 = sum($acc151107411107, $list1107411107[15]) | |
357 | + | if (($size1107411107 == 16)) | |
358 | + | then $acc161107411107 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107411107 = sum($acc161107411107, $list1107411107[16]) | |
361 | + | if (($size1107411107 == 17)) | |
362 | + | then $acc171107411107 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107411107 = sum($acc171107411107, $list1107411107[17]) | |
365 | + | if (($size1107411107 == 18)) | |
366 | + | then $acc181107411107 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107411107 = sum($acc181107411107, $list1107411107[18]) | |
369 | + | if (($size1107411107 == 19)) | |
370 | + | then $acc191107411107 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107411107 = sum($acc191107411107, $list1107411107[19]) | |
373 | + | if (($size1107411107 == 20)) | |
374 | + | then $acc201107411107 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107411107 = sum($acc201107411107, $list1107411107[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 $list1113611168 = currentRewards | |
402 | + | let $size1113611168 = size($list1113611168) | |
403 | + | let $acc01113611168 = 0 | |
404 | + | if (($size1113611168 == 0)) | |
405 | + | then $acc01113611168 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113611168 = sum($acc01113611168, $list1113611168[0]) | |
408 | + | if (($size1113611168 == 1)) | |
409 | + | then $acc11113611168 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113611168 = sum($acc11113611168, $list1113611168[1]) | |
412 | + | if (($size1113611168 == 2)) | |
413 | + | then $acc21113611168 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113611168 = sum($acc21113611168, $list1113611168[2]) | |
416 | + | if (($size1113611168 == 3)) | |
417 | + | then $acc31113611168 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113611168 = sum($acc31113611168, $list1113611168[3]) | |
420 | + | if (($size1113611168 == 4)) | |
421 | + | then $acc41113611168 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113611168 = sum($acc41113611168, $list1113611168[4]) | |
424 | + | if (($size1113611168 == 5)) | |
425 | + | then $acc51113611168 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113611168 = sum($acc51113611168, $list1113611168[5]) | |
428 | + | if (($size1113611168 == 6)) | |
429 | + | then $acc61113611168 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113611168 = sum($acc61113611168, $list1113611168[6]) | |
432 | + | if (($size1113611168 == 7)) | |
433 | + | then $acc71113611168 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113611168 = sum($acc71113611168, $list1113611168[7]) | |
436 | + | if (($size1113611168 == 8)) | |
437 | + | then $acc81113611168 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113611168 = sum($acc81113611168, $list1113611168[8]) | |
440 | + | if (($size1113611168 == 9)) | |
441 | + | then $acc91113611168 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113611168 = sum($acc91113611168, $list1113611168[9]) | |
444 | + | if (($size1113611168 == 10)) | |
445 | + | then $acc101113611168 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113611168 = sum($acc101113611168, $list1113611168[10]) | |
448 | + | if (($size1113611168 == 11)) | |
449 | + | then $acc111113611168 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113611168 = sum($acc111113611168, $list1113611168[11]) | |
452 | + | if (($size1113611168 == 12)) | |
453 | + | then $acc121113611168 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113611168 = sum($acc121113611168, $list1113611168[12]) | |
456 | + | if (($size1113611168 == 13)) | |
457 | + | then $acc131113611168 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113611168 = sum($acc131113611168, $list1113611168[13]) | |
460 | + | if (($size1113611168 == 14)) | |
461 | + | then $acc141113611168 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113611168 = sum($acc141113611168, $list1113611168[14]) | |
464 | + | if (($size1113611168 == 15)) | |
465 | + | then $acc151113611168 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113611168 = sum($acc151113611168, $list1113611168[15]) | |
468 | + | if (($size1113611168 == 16)) | |
469 | + | then $acc161113611168 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113611168 = sum($acc161113611168, $list1113611168[16]) | |
472 | + | if (($size1113611168 == 17)) | |
473 | + | then $acc171113611168 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113611168 = sum($acc171113611168, $list1113611168[17]) | |
476 | + | if (($size1113611168 == 18)) | |
477 | + | then $acc181113611168 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113611168 = sum($acc181113611168, $list1113611168[18]) | |
480 | + | if (($size1113611168 == 19)) | |
481 | + | then $acc191113611168 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113611168 = sum($acc191113611168, $list1113611168[19]) | |
484 | + | if (($size1113611168 == 20)) | |
485 | + | then $acc201113611168 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113611168 = sum($acc201113611168, $list1113611168[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 $list1148911537 = previousPools | |
520 | + | let $size1148911537 = size($list1148911537) | |
521 | + | let $acc01148911537 = nil | |
522 | + | if (($size1148911537 == 0)) | |
523 | + | then $acc01148911537 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148911537 = PreviousRewardEntry($acc01148911537, $list1148911537[0]) | |
526 | + | if (($size1148911537 == 1)) | |
527 | + | then $acc11148911537 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148911537 = PreviousRewardEntry($acc11148911537, $list1148911537[1]) | |
530 | + | if (($size1148911537 == 2)) | |
531 | + | then $acc21148911537 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148911537 = PreviousRewardEntry($acc21148911537, $list1148911537[2]) | |
534 | + | if (($size1148911537 == 3)) | |
535 | + | then $acc31148911537 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148911537 = PreviousRewardEntry($acc31148911537, $list1148911537[3]) | |
538 | + | if (($size1148911537 == 4)) | |
539 | + | then $acc41148911537 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148911537 = PreviousRewardEntry($acc41148911537, $list1148911537[4]) | |
542 | + | if (($size1148911537 == 5)) | |
543 | + | then $acc51148911537 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148911537 = PreviousRewardEntry($acc51148911537, $list1148911537[5]) | |
546 | + | if (($size1148911537 == 6)) | |
547 | + | then $acc61148911537 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148911537 = PreviousRewardEntry($acc61148911537, $list1148911537[6]) | |
550 | + | if (($size1148911537 == 7)) | |
551 | + | then $acc71148911537 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148911537 = PreviousRewardEntry($acc71148911537, $list1148911537[7]) | |
554 | + | if (($size1148911537 == 8)) | |
555 | + | then $acc81148911537 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148911537 = PreviousRewardEntry($acc81148911537, $list1148911537[8]) | |
558 | + | if (($size1148911537 == 9)) | |
559 | + | then $acc91148911537 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148911537 = PreviousRewardEntry($acc91148911537, $list1148911537[9]) | |
562 | + | if (($size1148911537 == 10)) | |
563 | + | then $acc101148911537 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148911537 = PreviousRewardEntry($acc101148911537, $list1148911537[10]) | |
566 | + | if (($size1148911537 == 11)) | |
567 | + | then $acc111148911537 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148911537 = PreviousRewardEntry($acc111148911537, $list1148911537[11]) | |
570 | + | if (($size1148911537 == 12)) | |
571 | + | then $acc121148911537 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148911537 = PreviousRewardEntry($acc121148911537, $list1148911537[12]) | |
574 | + | if (($size1148911537 == 13)) | |
575 | + | then $acc131148911537 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148911537 = PreviousRewardEntry($acc131148911537, $list1148911537[13]) | |
578 | + | if (($size1148911537 == 14)) | |
579 | + | then $acc141148911537 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148911537 = PreviousRewardEntry($acc141148911537, $list1148911537[14]) | |
582 | + | if (($size1148911537 == 15)) | |
583 | + | then $acc151148911537 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148911537 = PreviousRewardEntry($acc151148911537, $list1148911537[15]) | |
586 | + | if (($size1148911537 == 16)) | |
587 | + | then $acc161148911537 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148911537 = PreviousRewardEntry($acc161148911537, $list1148911537[16]) | |
590 | + | if (($size1148911537 == 17)) | |
591 | + | then $acc171148911537 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148911537 = PreviousRewardEntry($acc171148911537, $list1148911537[17]) | |
594 | + | if (($size1148911537 == 18)) | |
595 | + | then $acc181148911537 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148911537 = PreviousRewardEntry($acc181148911537, $list1148911537[18]) | |
598 | + | if (($size1148911537 == 19)) | |
599 | + | then $acc191148911537 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148911537 = PreviousRewardEntry($acc191148911537, $list1148911537[19]) | |
602 | + | if (($size1148911537 == 20)) | |
603 | + | then $acc201148911537 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148911537 = PreviousRewardEntry($acc201148911537, $list1148911537[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 $list1157011616 = currentPools | |
631 | + | let $size1157011616 = size($list1157011616) | |
632 | + | let $acc01157011616 = nil | |
633 | + | if (($size1157011616 == 0)) | |
634 | + | then $acc01157011616 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11157011616 = CurrentRewardEntry($acc01157011616, $list1157011616[0]) | |
637 | + | if (($size1157011616 == 1)) | |
638 | + | then $acc11157011616 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21157011616 = CurrentRewardEntry($acc11157011616, $list1157011616[1]) | |
641 | + | if (($size1157011616 == 2)) | |
642 | + | then $acc21157011616 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31157011616 = CurrentRewardEntry($acc21157011616, $list1157011616[2]) | |
645 | + | if (($size1157011616 == 3)) | |
646 | + | then $acc31157011616 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41157011616 = CurrentRewardEntry($acc31157011616, $list1157011616[3]) | |
649 | + | if (($size1157011616 == 4)) | |
650 | + | then $acc41157011616 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51157011616 = CurrentRewardEntry($acc41157011616, $list1157011616[4]) | |
653 | + | if (($size1157011616 == 5)) | |
654 | + | then $acc51157011616 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61157011616 = CurrentRewardEntry($acc51157011616, $list1157011616[5]) | |
657 | + | if (($size1157011616 == 6)) | |
658 | + | then $acc61157011616 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71157011616 = CurrentRewardEntry($acc61157011616, $list1157011616[6]) | |
661 | + | if (($size1157011616 == 7)) | |
662 | + | then $acc71157011616 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81157011616 = CurrentRewardEntry($acc71157011616, $list1157011616[7]) | |
665 | + | if (($size1157011616 == 8)) | |
666 | + | then $acc81157011616 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91157011616 = CurrentRewardEntry($acc81157011616, $list1157011616[8]) | |
669 | + | if (($size1157011616 == 9)) | |
670 | + | then $acc91157011616 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101157011616 = CurrentRewardEntry($acc91157011616, $list1157011616[9]) | |
673 | + | if (($size1157011616 == 10)) | |
674 | + | then $acc101157011616 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111157011616 = CurrentRewardEntry($acc101157011616, $list1157011616[10]) | |
677 | + | if (($size1157011616 == 11)) | |
678 | + | then $acc111157011616 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121157011616 = CurrentRewardEntry($acc111157011616, $list1157011616[11]) | |
681 | + | if (($size1157011616 == 12)) | |
682 | + | then $acc121157011616 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131157011616 = CurrentRewardEntry($acc121157011616, $list1157011616[12]) | |
685 | + | if (($size1157011616 == 13)) | |
686 | + | then $acc131157011616 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141157011616 = CurrentRewardEntry($acc131157011616, $list1157011616[13]) | |
689 | + | if (($size1157011616 == 14)) | |
690 | + | then $acc141157011616 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151157011616 = CurrentRewardEntry($acc141157011616, $list1157011616[14]) | |
693 | + | if (($size1157011616 == 15)) | |
694 | + | then $acc151157011616 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161157011616 = CurrentRewardEntry($acc151157011616, $list1157011616[15]) | |
697 | + | if (($size1157011616 == 16)) | |
698 | + | then $acc161157011616 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171157011616 = CurrentRewardEntry($acc161157011616, $list1157011616[16]) | |
701 | + | if (($size1157011616 == 17)) | |
702 | + | then $acc171157011616 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181157011616 = CurrentRewardEntry($acc171157011616, $list1157011616[17]) | |
705 | + | if (($size1157011616 == 18)) | |
706 | + | then $acc181157011616 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191157011616 = CurrentRewardEntry($acc181157011616, $list1157011616[18]) | |
709 | + | if (($size1157011616 == 19)) | |
710 | + | then $acc191157011616 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201157011616 = CurrentRewardEntry($acc191157011616, $list1157011616[19]) | |
713 | + | if (($size1157011616 == 20)) | |
714 | + | then $acc201157011616 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211157011616 = CurrentRewardEntry($acc201157011616, $list1157011616[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'3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp') | |
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 | if (true) | |
190 | - | then throw( | |
190 | + | then throw(toBase58String(SWOP)) | |
191 | 191 | else { | |
192 | - | let $ | |
193 | - | let userLastInterest = $ | |
194 | - | let userSWOPLocked = $ | |
192 | + | let $t060776159 = getUserInterestInfo(i.caller, lastInterest) | |
193 | + | let userLastInterest = $t060776159._1 | |
194 | + | let userSWOPLocked = $t060776159._2 | |
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 $t072437298 = claimCalc(i.caller) | |
216 | + | let userNewInterest = $t072437298._1 | |
217 | + | let claimAmount = $t072437298._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 $t084108465 = claimCalc(i.caller) | |
239 | + | let userNewInterest = $t084108465._1 | |
240 | + | let claimAmount = $t084108465._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 $t092449299 = claimCalc(i.caller) | |
258 | + | let userNewInterest = $t092449299._1 | |
259 | + | let claimAmount = $t092449299._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(previousPools, pool)) | |
285 | 285 | let poolReward = previousRewards[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 $list1107411107 = previousRewards | |
291 | + | let $size1107411107 = size($list1107411107) | |
292 | + | let $acc01107411107 = 0 | |
293 | + | if (($size1107411107 == 0)) | |
294 | + | then $acc01107411107 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc11107411107 = sum($acc01107411107, $list1107411107[0]) | |
297 | + | if (($size1107411107 == 1)) | |
298 | + | then $acc11107411107 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc21107411107 = sum($acc11107411107, $list1107411107[1]) | |
301 | + | if (($size1107411107 == 2)) | |
302 | + | then $acc21107411107 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc31107411107 = sum($acc21107411107, $list1107411107[2]) | |
305 | + | if (($size1107411107 == 3)) | |
306 | + | then $acc31107411107 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc41107411107 = sum($acc31107411107, $list1107411107[3]) | |
309 | + | if (($size1107411107 == 4)) | |
310 | + | then $acc41107411107 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc51107411107 = sum($acc41107411107, $list1107411107[4]) | |
313 | + | if (($size1107411107 == 5)) | |
314 | + | then $acc51107411107 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc61107411107 = sum($acc51107411107, $list1107411107[5]) | |
317 | + | if (($size1107411107 == 6)) | |
318 | + | then $acc61107411107 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc71107411107 = sum($acc61107411107, $list1107411107[6]) | |
321 | + | if (($size1107411107 == 7)) | |
322 | + | then $acc71107411107 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc81107411107 = sum($acc71107411107, $list1107411107[7]) | |
325 | + | if (($size1107411107 == 8)) | |
326 | + | then $acc81107411107 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc91107411107 = sum($acc81107411107, $list1107411107[8]) | |
329 | + | if (($size1107411107 == 9)) | |
330 | + | then $acc91107411107 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc101107411107 = sum($acc91107411107, $list1107411107[9]) | |
333 | + | if (($size1107411107 == 10)) | |
334 | + | then $acc101107411107 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc111107411107 = sum($acc101107411107, $list1107411107[10]) | |
337 | + | if (($size1107411107 == 11)) | |
338 | + | then $acc111107411107 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc121107411107 = sum($acc111107411107, $list1107411107[11]) | |
341 | + | if (($size1107411107 == 12)) | |
342 | + | then $acc121107411107 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc131107411107 = sum($acc121107411107, $list1107411107[12]) | |
345 | + | if (($size1107411107 == 13)) | |
346 | + | then $acc131107411107 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc141107411107 = sum($acc131107411107, $list1107411107[13]) | |
349 | + | if (($size1107411107 == 14)) | |
350 | + | then $acc141107411107 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc151107411107 = sum($acc141107411107, $list1107411107[14]) | |
353 | + | if (($size1107411107 == 15)) | |
354 | + | then $acc151107411107 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc161107411107 = sum($acc151107411107, $list1107411107[15]) | |
357 | + | if (($size1107411107 == 16)) | |
358 | + | then $acc161107411107 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc171107411107 = sum($acc161107411107, $list1107411107[16]) | |
361 | + | if (($size1107411107 == 17)) | |
362 | + | then $acc171107411107 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc181107411107 = sum($acc171107411107, $list1107411107[17]) | |
365 | + | if (($size1107411107 == 18)) | |
366 | + | then $acc181107411107 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc191107411107 = sum($acc181107411107, $list1107411107[18]) | |
369 | + | if (($size1107411107 == 19)) | |
370 | + | then $acc191107411107 | |
371 | 371 | else { | |
372 | - | let $ | |
373 | - | if (($ | |
374 | - | then $ | |
372 | + | let $acc201107411107 = sum($acc191107411107, $list1107411107[19]) | |
373 | + | if (($size1107411107 == 20)) | |
374 | + | then $acc201107411107 | |
375 | 375 | else { | |
376 | - | let $ | |
376 | + | let $acc211107411107 = sum($acc201107411107, $list1107411107[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 $list1113611168 = currentRewards | |
402 | + | let $size1113611168 = size($list1113611168) | |
403 | + | let $acc01113611168 = 0 | |
404 | + | if (($size1113611168 == 0)) | |
405 | + | then $acc01113611168 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc11113611168 = sum($acc01113611168, $list1113611168[0]) | |
408 | + | if (($size1113611168 == 1)) | |
409 | + | then $acc11113611168 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc21113611168 = sum($acc11113611168, $list1113611168[1]) | |
412 | + | if (($size1113611168 == 2)) | |
413 | + | then $acc21113611168 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc31113611168 = sum($acc21113611168, $list1113611168[2]) | |
416 | + | if (($size1113611168 == 3)) | |
417 | + | then $acc31113611168 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc41113611168 = sum($acc31113611168, $list1113611168[3]) | |
420 | + | if (($size1113611168 == 4)) | |
421 | + | then $acc41113611168 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc51113611168 = sum($acc41113611168, $list1113611168[4]) | |
424 | + | if (($size1113611168 == 5)) | |
425 | + | then $acc51113611168 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc61113611168 = sum($acc51113611168, $list1113611168[5]) | |
428 | + | if (($size1113611168 == 6)) | |
429 | + | then $acc61113611168 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc71113611168 = sum($acc61113611168, $list1113611168[6]) | |
432 | + | if (($size1113611168 == 7)) | |
433 | + | then $acc71113611168 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc81113611168 = sum($acc71113611168, $list1113611168[7]) | |
436 | + | if (($size1113611168 == 8)) | |
437 | + | then $acc81113611168 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc91113611168 = sum($acc81113611168, $list1113611168[8]) | |
440 | + | if (($size1113611168 == 9)) | |
441 | + | then $acc91113611168 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc101113611168 = sum($acc91113611168, $list1113611168[9]) | |
444 | + | if (($size1113611168 == 10)) | |
445 | + | then $acc101113611168 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc111113611168 = sum($acc101113611168, $list1113611168[10]) | |
448 | + | if (($size1113611168 == 11)) | |
449 | + | then $acc111113611168 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc121113611168 = sum($acc111113611168, $list1113611168[11]) | |
452 | + | if (($size1113611168 == 12)) | |
453 | + | then $acc121113611168 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc131113611168 = sum($acc121113611168, $list1113611168[12]) | |
456 | + | if (($size1113611168 == 13)) | |
457 | + | then $acc131113611168 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc141113611168 = sum($acc131113611168, $list1113611168[13]) | |
460 | + | if (($size1113611168 == 14)) | |
461 | + | then $acc141113611168 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc151113611168 = sum($acc141113611168, $list1113611168[14]) | |
464 | + | if (($size1113611168 == 15)) | |
465 | + | then $acc151113611168 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc161113611168 = sum($acc151113611168, $list1113611168[15]) | |
468 | + | if (($size1113611168 == 16)) | |
469 | + | then $acc161113611168 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc171113611168 = sum($acc161113611168, $list1113611168[16]) | |
472 | + | if (($size1113611168 == 17)) | |
473 | + | then $acc171113611168 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc181113611168 = sum($acc171113611168, $list1113611168[17]) | |
476 | + | if (($size1113611168 == 18)) | |
477 | + | then $acc181113611168 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc191113611168 = sum($acc181113611168, $list1113611168[18]) | |
480 | + | if (($size1113611168 == 19)) | |
481 | + | then $acc191113611168 | |
482 | 482 | else { | |
483 | - | let $ | |
484 | - | if (($ | |
485 | - | then $ | |
483 | + | let $acc201113611168 = sum($acc191113611168, $list1113611168[19]) | |
484 | + | if (($size1113611168 == 20)) | |
485 | + | then $acc201113611168 | |
486 | 486 | else { | |
487 | - | let $ | |
487 | + | let $acc211113611168 = sum($acc201113611168, $list1113611168[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 $list1148911537 = previousPools | |
520 | + | let $size1148911537 = size($list1148911537) | |
521 | + | let $acc01148911537 = nil | |
522 | + | if (($size1148911537 == 0)) | |
523 | + | then $acc01148911537 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc11148911537 = PreviousRewardEntry($acc01148911537, $list1148911537[0]) | |
526 | + | if (($size1148911537 == 1)) | |
527 | + | then $acc11148911537 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc21148911537 = PreviousRewardEntry($acc11148911537, $list1148911537[1]) | |
530 | + | if (($size1148911537 == 2)) | |
531 | + | then $acc21148911537 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc31148911537 = PreviousRewardEntry($acc21148911537, $list1148911537[2]) | |
534 | + | if (($size1148911537 == 3)) | |
535 | + | then $acc31148911537 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc41148911537 = PreviousRewardEntry($acc31148911537, $list1148911537[3]) | |
538 | + | if (($size1148911537 == 4)) | |
539 | + | then $acc41148911537 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc51148911537 = PreviousRewardEntry($acc41148911537, $list1148911537[4]) | |
542 | + | if (($size1148911537 == 5)) | |
543 | + | then $acc51148911537 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc61148911537 = PreviousRewardEntry($acc51148911537, $list1148911537[5]) | |
546 | + | if (($size1148911537 == 6)) | |
547 | + | then $acc61148911537 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc71148911537 = PreviousRewardEntry($acc61148911537, $list1148911537[6]) | |
550 | + | if (($size1148911537 == 7)) | |
551 | + | then $acc71148911537 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc81148911537 = PreviousRewardEntry($acc71148911537, $list1148911537[7]) | |
554 | + | if (($size1148911537 == 8)) | |
555 | + | then $acc81148911537 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc91148911537 = PreviousRewardEntry($acc81148911537, $list1148911537[8]) | |
558 | + | if (($size1148911537 == 9)) | |
559 | + | then $acc91148911537 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc101148911537 = PreviousRewardEntry($acc91148911537, $list1148911537[9]) | |
562 | + | if (($size1148911537 == 10)) | |
563 | + | then $acc101148911537 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc111148911537 = PreviousRewardEntry($acc101148911537, $list1148911537[10]) | |
566 | + | if (($size1148911537 == 11)) | |
567 | + | then $acc111148911537 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc121148911537 = PreviousRewardEntry($acc111148911537, $list1148911537[11]) | |
570 | + | if (($size1148911537 == 12)) | |
571 | + | then $acc121148911537 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc131148911537 = PreviousRewardEntry($acc121148911537, $list1148911537[12]) | |
574 | + | if (($size1148911537 == 13)) | |
575 | + | then $acc131148911537 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc141148911537 = PreviousRewardEntry($acc131148911537, $list1148911537[13]) | |
578 | + | if (($size1148911537 == 14)) | |
579 | + | then $acc141148911537 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc151148911537 = PreviousRewardEntry($acc141148911537, $list1148911537[14]) | |
582 | + | if (($size1148911537 == 15)) | |
583 | + | then $acc151148911537 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc161148911537 = PreviousRewardEntry($acc151148911537, $list1148911537[15]) | |
586 | + | if (($size1148911537 == 16)) | |
587 | + | then $acc161148911537 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc171148911537 = PreviousRewardEntry($acc161148911537, $list1148911537[16]) | |
590 | + | if (($size1148911537 == 17)) | |
591 | + | then $acc171148911537 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc181148911537 = PreviousRewardEntry($acc171148911537, $list1148911537[17]) | |
594 | + | if (($size1148911537 == 18)) | |
595 | + | then $acc181148911537 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc191148911537 = PreviousRewardEntry($acc181148911537, $list1148911537[18]) | |
598 | + | if (($size1148911537 == 19)) | |
599 | + | then $acc191148911537 | |
600 | 600 | else { | |
601 | - | let $ | |
602 | - | if (($ | |
603 | - | then $ | |
601 | + | let $acc201148911537 = PreviousRewardEntry($acc191148911537, $list1148911537[19]) | |
602 | + | if (($size1148911537 == 20)) | |
603 | + | then $acc201148911537 | |
604 | 604 | else { | |
605 | - | let $ | |
605 | + | let $acc211148911537 = PreviousRewardEntry($acc201148911537, $list1148911537[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 $list1157011616 = currentPools | |
631 | + | let $size1157011616 = size($list1157011616) | |
632 | + | let $acc01157011616 = nil | |
633 | + | if (($size1157011616 == 0)) | |
634 | + | then $acc01157011616 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc11157011616 = CurrentRewardEntry($acc01157011616, $list1157011616[0]) | |
637 | + | if (($size1157011616 == 1)) | |
638 | + | then $acc11157011616 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc21157011616 = CurrentRewardEntry($acc11157011616, $list1157011616[1]) | |
641 | + | if (($size1157011616 == 2)) | |
642 | + | then $acc21157011616 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc31157011616 = CurrentRewardEntry($acc21157011616, $list1157011616[2]) | |
645 | + | if (($size1157011616 == 3)) | |
646 | + | then $acc31157011616 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc41157011616 = CurrentRewardEntry($acc31157011616, $list1157011616[3]) | |
649 | + | if (($size1157011616 == 4)) | |
650 | + | then $acc41157011616 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc51157011616 = CurrentRewardEntry($acc41157011616, $list1157011616[4]) | |
653 | + | if (($size1157011616 == 5)) | |
654 | + | then $acc51157011616 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc61157011616 = CurrentRewardEntry($acc51157011616, $list1157011616[5]) | |
657 | + | if (($size1157011616 == 6)) | |
658 | + | then $acc61157011616 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc71157011616 = CurrentRewardEntry($acc61157011616, $list1157011616[6]) | |
661 | + | if (($size1157011616 == 7)) | |
662 | + | then $acc71157011616 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc81157011616 = CurrentRewardEntry($acc71157011616, $list1157011616[7]) | |
665 | + | if (($size1157011616 == 8)) | |
666 | + | then $acc81157011616 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc91157011616 = CurrentRewardEntry($acc81157011616, $list1157011616[8]) | |
669 | + | if (($size1157011616 == 9)) | |
670 | + | then $acc91157011616 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc101157011616 = CurrentRewardEntry($acc91157011616, $list1157011616[9]) | |
673 | + | if (($size1157011616 == 10)) | |
674 | + | then $acc101157011616 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc111157011616 = CurrentRewardEntry($acc101157011616, $list1157011616[10]) | |
677 | + | if (($size1157011616 == 11)) | |
678 | + | then $acc111157011616 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc121157011616 = CurrentRewardEntry($acc111157011616, $list1157011616[11]) | |
681 | + | if (($size1157011616 == 12)) | |
682 | + | then $acc121157011616 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc131157011616 = CurrentRewardEntry($acc121157011616, $list1157011616[12]) | |
685 | + | if (($size1157011616 == 13)) | |
686 | + | then $acc131157011616 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc141157011616 = CurrentRewardEntry($acc131157011616, $list1157011616[13]) | |
689 | + | if (($size1157011616 == 14)) | |
690 | + | then $acc141157011616 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc151157011616 = CurrentRewardEntry($acc141157011616, $list1157011616[14]) | |
693 | + | if (($size1157011616 == 15)) | |
694 | + | then $acc151157011616 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc161157011616 = CurrentRewardEntry($acc151157011616, $list1157011616[15]) | |
697 | + | if (($size1157011616 == 16)) | |
698 | + | then $acc161157011616 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc171157011616 = CurrentRewardEntry($acc161157011616, $list1157011616[16]) | |
701 | + | if (($size1157011616 == 17)) | |
702 | + | then $acc171157011616 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc181157011616 = CurrentRewardEntry($acc171157011616, $list1157011616[17]) | |
705 | + | if (($size1157011616 == 18)) | |
706 | + | then $acc181157011616 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc191157011616 = CurrentRewardEntry($acc181157011616, $list1157011616[18]) | |
709 | + | if (($size1157011616 == 19)) | |
710 | + | then $acc191157011616 | |
711 | 711 | else { | |
712 | - | let $ | |
713 | - | if (($ | |
714 | - | then $ | |
712 | + | let $acc201157011616 = CurrentRewardEntry($acc191157011616, $list1157011616[19]) | |
713 | + | if (($size1157011616 == 20)) | |
714 | + | then $acc201157011616 | |
715 | 715 | else { | |
716 | - | let $ | |
716 | + | let $acc211157011616 = CurrentRewardEntry($acc201157011616, $list1157011616[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 setTotalRewardPerBlock (totalRewardPerBlockNew) = if (!(isActive)) | |
748 | 748 | then throw("DApp is inactive at this moment") | |
749 | 749 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
750 | 750 | then throw("Only admin can call this function") | |
751 | 751 | else { | |
752 | 752 | let totalRewardPerBlockPrevious = getIntegerValue(this, keyTotalRewardPerBlockCurrent) | |
753 | 753 | [IntegerEntry(keyTotalRewardPerBlockCurrent, totalRewardPerBlockNew), IntegerEntry(keyTotalRewardPerBlockPrevious, totalRewardPerBlockPrevious)] | |
754 | 754 | } | |
755 | 755 | ||
756 | 756 | ||
757 | 757 | ||
758 | 758 | @Callable(i) | |
759 | 759 | func shutdown () = if (!(isActive)) | |
760 | 760 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
761 | 761 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
762 | 762 | then throw("Only admin can call this function") | |
763 | 763 | else suspend("Paused by admin") | |
764 | 764 | ||
765 | 765 | ||
766 | 766 | ||
767 | 767 | @Callable(i) | |
768 | 768 | func activate () = if (isActive) | |
769 | 769 | then throw("DApp is already active") | |
770 | 770 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
771 | 771 | then throw("Only admin can call this function") | |
772 | 772 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
773 | 773 | ||
774 | 774 |
github/deemru/w8io/169f3d6 896.55 ms ◑