tx · DwZd7KhKMU7H7fApbGNiMNoLAn9Cw9vPMpZyfQz8SUgw 3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE: -0.01400000 Waves 2021.03.13 12:29 [1435736] smart account 3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE > SELF 0.00000000 Waves
{ "type": 13, "id": "DwZd7KhKMU7H7fApbGNiMNoLAn9Cw9vPMpZyfQz8SUgw", "fee": 1400000, "feeAssetId": null, "timestamp": 1615627774465, "version": 1, "sender": "3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE", "senderPublicKey": "CaPerVhC3un3tdRvvVTPfHiZXN2ygZ5MvD48qeUxb3wA", "proofs": [ "3F9R1L3CYWi28dmLU3ZbMhgZepRrJG13mg3Lmfpu8kNeRY8hxGaj2x1tLLefUB2sjzFC8KmmBYYFYi5tuGAPa8Gw" ], "script": "base64:AAIEAAAAAAAAACEIAhIAEgASAwoBARIAEgASBwoFGBEYEQESAwoBARIAEgAAAAAvAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRhZG1pblB1YktleVN0YXJ0U3RvcAEAAAAgzlkO3OqzXqOuG/1XXufreRE1KXRGMps8FV88BRsoYXsAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmVzdAIAAAAOX2xhc3RfaW50ZXJlc3QAAAAAEWtleVVzZXJTV09QTG9ja2VkAgAAAAxfU1dPUF9hbW91bnQAAAAAFGtleVVzZ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QEAAAAHc3VzcGVuZAAAAAECAAAAD1BhdXNlZCBieSBhZG1pbgAAAAFpAQAAAAhhY3RpdmF0ZQAAAAADBQAAAAhpc0FjdGl2ZQkAAAIAAAABAgAAABZEQXBwIGlzIGFscmVhZHkgYWN0aXZlAwkBAAAAASEAAAABCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAxhZG1pblB1YktleTEJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkyCQAETAAAAAIFAAAADGFkbWluUHViS2V5MwkABEwAAAACBQAAABRhZG1pblB1YktleVN0YXJ0U3RvcAUAAAADbmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAAABJ9z4Q==", "chainId": 84, "height": 1435736, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8JpWQgdqZ8Re2mvC6d7AaHhKXx2nTFprECmtXG7YMHYi Next: CKuiPBEiydMsdCJih5QQEFgs87D21tMLNaqBfNgEGPHH Diff:
Old | New | Differences | |
---|---|---|---|
53 | 53 | ||
54 | 54 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
55 | 55 | ||
56 | - | let farmingSWOPAddress = Address(base58' | |
56 | + | let farmingSWOPAddress = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE') | |
57 | 57 | ||
58 | - | let votingLiteContract = Address(base58'') | |
58 | + | let votingLiteContract = Address(base58'3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp') | |
59 | 59 | ||
60 | 60 | let keySWOPid = "SWOP_id" | |
61 | 61 | ||
147 | 147 | ||
148 | 148 | func claimCalc (caller) = { | |
149 | 149 | let lastInterest = getLastInterestInfo() | |
150 | - | let $ | |
151 | - | let userLastInterest = $ | |
152 | - | let userSWOPLocked = $ | |
150 | + | let $t049765056 = getUserInterestInfo(caller, lastInterest) | |
151 | + | let userLastInterest = $t049765056._1 | |
152 | + | let userSWOPLocked = $t049765056._2 | |
153 | 153 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
154 | 154 | let userNewInterest = lastInterest | |
155 | 155 | $Tuple2(userNewInterest, claimAmount) | |
160 | 160 | func airDrop () = if (!(isActive)) | |
161 | 161 | then throw("DApp is inactive at this moment") | |
162 | 162 | else { | |
163 | - | let $ | |
164 | - | let pmtAmount = $ | |
165 | - | let pmtAssetId = $ | |
163 | + | let $t053215396 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
164 | + | let pmtAmount = $t053215396._1 | |
165 | + | let pmtAssetId = $t053215396._2 | |
166 | 166 | if ((pmtAssetId != SWOP)) | |
167 | 167 | then throw("Incorrect pmtAssetId") | |
168 | 168 | else { | |
179 | 179 | func lockSWOP () = if (!(isActive)) | |
180 | 180 | then throw("DApp is inactive at this moment") | |
181 | 181 | else { | |
182 | - | let $ | |
183 | - | let pmtAmount = $ | |
184 | - | let pmtAssetId = $ | |
182 | + | let $t058345909 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
183 | + | let pmtAmount = $t058345909._1 | |
184 | + | let pmtAssetId = $t058345909._2 | |
185 | 185 | if ((pmtAssetId != SWOP)) | |
186 | 186 | then throw("Incorrect pmtAssetId") | |
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | - | let $ | |
190 | - | let userLastInterest = $ | |
191 | - | let userSWOPLocked = $ | |
189 | + | let $t060256107 = getUserInterestInfo(i.caller, lastInterest) | |
190 | + | let userLastInterest = $t060256107._1 | |
191 | + | let userSWOPLocked = $t060256107._2 | |
192 | 192 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | 193 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
194 | 194 | let userNewInterest = lastInterest | |
208 | 208 | else { | |
209 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
210 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
211 | - | let $ | |
212 | - | let userNewInterest = $ | |
213 | - | let claimAmount = $ | |
211 | + | let $t071917246 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t071917246._1 | |
213 | + | let claimAmount = $t071917246._2 | |
214 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
215 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
216 | 216 | if ((withdrawAmount > availableFund)) | |
231 | 231 | then throw("DApp is inactive at this moment") | |
232 | 232 | else { | |
233 | 233 | let lastInterest = getLastInterestInfo() | |
234 | - | let $ | |
235 | - | let userNewInterest = $ | |
236 | - | let claimAmount = $ | |
234 | + | let $t083588413 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t083588413._1 | |
236 | + | let claimAmount = $t083588413._2 | |
237 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
238 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
239 | 239 | if ((claimAmount == 0)) | |
250 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
251 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
252 | 252 | let lastInterest = getLastInterestInfo() | |
253 | - | let $ | |
254 | - | let userNewInterest = $ | |
255 | - | let claimAmount = $ | |
253 | + | let $t091929247 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t091929247._1 | |
255 | + | let claimAmount = $t091929247._2 | |
256 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
257 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
258 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | let sumRewardPrevious = { | |
286 | - | let $ | |
287 | - | let $ | |
288 | - | let $ | |
289 | - | if (($ | |
290 | - | then $ | |
286 | + | let $list1102211055 = previousRewards | |
287 | + | let $size1102211055 = size($list1102211055) | |
288 | + | let $acc01102211055 = 0 | |
289 | + | if (($size1102211055 == 0)) | |
290 | + | then $acc01102211055 | |
291 | 291 | else { | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
292 | + | let $acc11102211055 = sum($acc01102211055, $list1102211055[0]) | |
293 | + | if (($size1102211055 == 1)) | |
294 | + | then $acc11102211055 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc21102211055 = sum($acc11102211055, $list1102211055[1]) | |
297 | + | if (($size1102211055 == 2)) | |
298 | + | then $acc21102211055 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc31102211055 = sum($acc21102211055, $list1102211055[2]) | |
301 | + | if (($size1102211055 == 3)) | |
302 | + | then $acc31102211055 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc41102211055 = sum($acc31102211055, $list1102211055[3]) | |
305 | + | if (($size1102211055 == 4)) | |
306 | + | then $acc41102211055 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc51102211055 = sum($acc41102211055, $list1102211055[4]) | |
309 | + | if (($size1102211055 == 5)) | |
310 | + | then $acc51102211055 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc61102211055 = sum($acc51102211055, $list1102211055[5]) | |
313 | + | if (($size1102211055 == 6)) | |
314 | + | then $acc61102211055 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc71102211055 = sum($acc61102211055, $list1102211055[6]) | |
317 | + | if (($size1102211055 == 7)) | |
318 | + | then $acc71102211055 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc81102211055 = sum($acc71102211055, $list1102211055[7]) | |
321 | + | if (($size1102211055 == 8)) | |
322 | + | then $acc81102211055 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc91102211055 = sum($acc81102211055, $list1102211055[8]) | |
325 | + | if (($size1102211055 == 9)) | |
326 | + | then $acc91102211055 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc101102211055 = sum($acc91102211055, $list1102211055[9]) | |
329 | + | if (($size1102211055 == 10)) | |
330 | + | then $acc101102211055 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc111102211055 = sum($acc101102211055, $list1102211055[10]) | |
333 | + | if (($size1102211055 == 11)) | |
334 | + | then $acc111102211055 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc121102211055 = sum($acc111102211055, $list1102211055[11]) | |
337 | + | if (($size1102211055 == 12)) | |
338 | + | then $acc121102211055 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc131102211055 = sum($acc121102211055, $list1102211055[12]) | |
341 | + | if (($size1102211055 == 13)) | |
342 | + | then $acc131102211055 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc141102211055 = sum($acc131102211055, $list1102211055[13]) | |
345 | + | if (($size1102211055 == 14)) | |
346 | + | then $acc141102211055 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc151102211055 = sum($acc141102211055, $list1102211055[14]) | |
349 | + | if (($size1102211055 == 15)) | |
350 | + | then $acc151102211055 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc161102211055 = sum($acc151102211055, $list1102211055[15]) | |
353 | + | if (($size1102211055 == 16)) | |
354 | + | then $acc161102211055 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc171102211055 = sum($acc161102211055, $list1102211055[16]) | |
357 | + | if (($size1102211055 == 17)) | |
358 | + | then $acc171102211055 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc181102211055 = sum($acc171102211055, $list1102211055[17]) | |
361 | + | if (($size1102211055 == 18)) | |
362 | + | then $acc181102211055 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc191102211055 = sum($acc181102211055, $list1102211055[18]) | |
365 | + | if (($size1102211055 == 19)) | |
366 | + | then $acc191102211055 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc201102211055 = sum($acc191102211055, $list1102211055[19]) | |
369 | + | if (($size1102211055 == 20)) | |
370 | + | then $acc201102211055 | |
371 | 371 | else { | |
372 | - | let $ | |
372 | + | let $acc211102211055 = sum($acc201102211055, $list1102211055[20]) | |
373 | 373 | throw("List size exceed 20") | |
374 | 374 | } | |
375 | 375 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | let sumRewardCurrent = { | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list1108411116 = currentRewards | |
398 | + | let $size1108411116 = size($list1108411116) | |
399 | + | let $acc01108411116 = 0 | |
400 | + | if (($size1108411116 == 0)) | |
401 | + | then $acc01108411116 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc11108411116 = sum($acc01108411116, $list1108411116[0]) | |
404 | + | if (($size1108411116 == 1)) | |
405 | + | then $acc11108411116 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc21108411116 = sum($acc11108411116, $list1108411116[1]) | |
408 | + | if (($size1108411116 == 2)) | |
409 | + | then $acc21108411116 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc31108411116 = sum($acc21108411116, $list1108411116[2]) | |
412 | + | if (($size1108411116 == 3)) | |
413 | + | then $acc31108411116 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc41108411116 = sum($acc31108411116, $list1108411116[3]) | |
416 | + | if (($size1108411116 == 4)) | |
417 | + | then $acc41108411116 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc51108411116 = sum($acc41108411116, $list1108411116[4]) | |
420 | + | if (($size1108411116 == 5)) | |
421 | + | then $acc51108411116 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc61108411116 = sum($acc51108411116, $list1108411116[5]) | |
424 | + | if (($size1108411116 == 6)) | |
425 | + | then $acc61108411116 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc71108411116 = sum($acc61108411116, $list1108411116[6]) | |
428 | + | if (($size1108411116 == 7)) | |
429 | + | then $acc71108411116 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc81108411116 = sum($acc71108411116, $list1108411116[7]) | |
432 | + | if (($size1108411116 == 8)) | |
433 | + | then $acc81108411116 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc91108411116 = sum($acc81108411116, $list1108411116[8]) | |
436 | + | if (($size1108411116 == 9)) | |
437 | + | then $acc91108411116 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc101108411116 = sum($acc91108411116, $list1108411116[9]) | |
440 | + | if (($size1108411116 == 10)) | |
441 | + | then $acc101108411116 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc111108411116 = sum($acc101108411116, $list1108411116[10]) | |
444 | + | if (($size1108411116 == 11)) | |
445 | + | then $acc111108411116 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc121108411116 = sum($acc111108411116, $list1108411116[11]) | |
448 | + | if (($size1108411116 == 12)) | |
449 | + | then $acc121108411116 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc131108411116 = sum($acc121108411116, $list1108411116[12]) | |
452 | + | if (($size1108411116 == 13)) | |
453 | + | then $acc131108411116 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc141108411116 = sum($acc131108411116, $list1108411116[13]) | |
456 | + | if (($size1108411116 == 14)) | |
457 | + | then $acc141108411116 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc151108411116 = sum($acc141108411116, $list1108411116[14]) | |
460 | + | if (($size1108411116 == 15)) | |
461 | + | then $acc151108411116 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc161108411116 = sum($acc151108411116, $list1108411116[15]) | |
464 | + | if (($size1108411116 == 16)) | |
465 | + | then $acc161108411116 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc171108411116 = sum($acc161108411116, $list1108411116[16]) | |
468 | + | if (($size1108411116 == 17)) | |
469 | + | then $acc171108411116 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc181108411116 = sum($acc171108411116, $list1108411116[17]) | |
472 | + | if (($size1108411116 == 18)) | |
473 | + | then $acc181108411116 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc191108411116 = sum($acc181108411116, $list1108411116[18]) | |
476 | + | if (($size1108411116 == 19)) | |
477 | + | then $acc191108411116 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc201108411116 = sum($acc191108411116, $list1108411116[19]) | |
480 | + | if (($size1108411116 == 20)) | |
481 | + | then $acc201108411116 | |
482 | 482 | else { | |
483 | - | let $ | |
483 | + | let $acc211108411116 = sum($acc201108411116, $list1108411116[20]) | |
484 | 484 | throw("List size exceed 20") | |
485 | 485 | } | |
486 | 486 | } | |
512 | 512 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
513 | 513 | else { | |
514 | 514 | let previousRewardEntryNew = { | |
515 | - | let $ | |
516 | - | let $ | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
515 | + | let $list1143711485 = previousPools | |
516 | + | let $size1143711485 = size($list1143711485) | |
517 | + | let $acc01143711485 = nil | |
518 | + | if (($size1143711485 == 0)) | |
519 | + | then $acc01143711485 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc11143711485 = PreviousRewardEntry($acc01143711485, $list1143711485[0]) | |
522 | + | if (($size1143711485 == 1)) | |
523 | + | then $acc11143711485 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc21143711485 = PreviousRewardEntry($acc11143711485, $list1143711485[1]) | |
526 | + | if (($size1143711485 == 2)) | |
527 | + | then $acc21143711485 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc31143711485 = PreviousRewardEntry($acc21143711485, $list1143711485[2]) | |
530 | + | if (($size1143711485 == 3)) | |
531 | + | then $acc31143711485 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc41143711485 = PreviousRewardEntry($acc31143711485, $list1143711485[3]) | |
534 | + | if (($size1143711485 == 4)) | |
535 | + | then $acc41143711485 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc51143711485 = PreviousRewardEntry($acc41143711485, $list1143711485[4]) | |
538 | + | if (($size1143711485 == 5)) | |
539 | + | then $acc51143711485 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc61143711485 = PreviousRewardEntry($acc51143711485, $list1143711485[5]) | |
542 | + | if (($size1143711485 == 6)) | |
543 | + | then $acc61143711485 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc71143711485 = PreviousRewardEntry($acc61143711485, $list1143711485[6]) | |
546 | + | if (($size1143711485 == 7)) | |
547 | + | then $acc71143711485 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc81143711485 = PreviousRewardEntry($acc71143711485, $list1143711485[7]) | |
550 | + | if (($size1143711485 == 8)) | |
551 | + | then $acc81143711485 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc91143711485 = PreviousRewardEntry($acc81143711485, $list1143711485[8]) | |
554 | + | if (($size1143711485 == 9)) | |
555 | + | then $acc91143711485 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc101143711485 = PreviousRewardEntry($acc91143711485, $list1143711485[9]) | |
558 | + | if (($size1143711485 == 10)) | |
559 | + | then $acc101143711485 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc111143711485 = PreviousRewardEntry($acc101143711485, $list1143711485[10]) | |
562 | + | if (($size1143711485 == 11)) | |
563 | + | then $acc111143711485 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc121143711485 = PreviousRewardEntry($acc111143711485, $list1143711485[11]) | |
566 | + | if (($size1143711485 == 12)) | |
567 | + | then $acc121143711485 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc131143711485 = PreviousRewardEntry($acc121143711485, $list1143711485[12]) | |
570 | + | if (($size1143711485 == 13)) | |
571 | + | then $acc131143711485 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc141143711485 = PreviousRewardEntry($acc131143711485, $list1143711485[13]) | |
574 | + | if (($size1143711485 == 14)) | |
575 | + | then $acc141143711485 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc151143711485 = PreviousRewardEntry($acc141143711485, $list1143711485[14]) | |
578 | + | if (($size1143711485 == 15)) | |
579 | + | then $acc151143711485 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc161143711485 = PreviousRewardEntry($acc151143711485, $list1143711485[15]) | |
582 | + | if (($size1143711485 == 16)) | |
583 | + | then $acc161143711485 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc171143711485 = PreviousRewardEntry($acc161143711485, $list1143711485[16]) | |
586 | + | if (($size1143711485 == 17)) | |
587 | + | then $acc171143711485 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc181143711485 = PreviousRewardEntry($acc171143711485, $list1143711485[17]) | |
590 | + | if (($size1143711485 == 18)) | |
591 | + | then $acc181143711485 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc191143711485 = PreviousRewardEntry($acc181143711485, $list1143711485[18]) | |
594 | + | if (($size1143711485 == 19)) | |
595 | + | then $acc191143711485 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc201143711485 = PreviousRewardEntry($acc191143711485, $list1143711485[19]) | |
598 | + | if (($size1143711485 == 20)) | |
599 | + | then $acc201143711485 | |
600 | 600 | else { | |
601 | - | let $ | |
601 | + | let $acc211143711485 = PreviousRewardEntry($acc201143711485, $list1143711485[20]) | |
602 | 602 | throw("List size exceed 20") | |
603 | 603 | } | |
604 | 604 | } | |
623 | 623 | } | |
624 | 624 | } | |
625 | 625 | let currentRewardEntryNew = { | |
626 | - | let $ | |
627 | - | let $ | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
626 | + | let $list1151811564 = currentPools | |
627 | + | let $size1151811564 = size($list1151811564) | |
628 | + | let $acc01151811564 = nil | |
629 | + | if (($size1151811564 == 0)) | |
630 | + | then $acc01151811564 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc11151811564 = CurrentRewardEntry($acc01151811564, $list1151811564[0]) | |
633 | + | if (($size1151811564 == 1)) | |
634 | + | then $acc11151811564 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc21151811564 = CurrentRewardEntry($acc11151811564, $list1151811564[1]) | |
637 | + | if (($size1151811564 == 2)) | |
638 | + | then $acc21151811564 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc31151811564 = CurrentRewardEntry($acc21151811564, $list1151811564[2]) | |
641 | + | if (($size1151811564 == 3)) | |
642 | + | then $acc31151811564 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc41151811564 = CurrentRewardEntry($acc31151811564, $list1151811564[3]) | |
645 | + | if (($size1151811564 == 4)) | |
646 | + | then $acc41151811564 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc51151811564 = CurrentRewardEntry($acc41151811564, $list1151811564[4]) | |
649 | + | if (($size1151811564 == 5)) | |
650 | + | then $acc51151811564 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc61151811564 = CurrentRewardEntry($acc51151811564, $list1151811564[5]) | |
653 | + | if (($size1151811564 == 6)) | |
654 | + | then $acc61151811564 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc71151811564 = CurrentRewardEntry($acc61151811564, $list1151811564[6]) | |
657 | + | if (($size1151811564 == 7)) | |
658 | + | then $acc71151811564 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc81151811564 = CurrentRewardEntry($acc71151811564, $list1151811564[7]) | |
661 | + | if (($size1151811564 == 8)) | |
662 | + | then $acc81151811564 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc91151811564 = CurrentRewardEntry($acc81151811564, $list1151811564[8]) | |
665 | + | if (($size1151811564 == 9)) | |
666 | + | then $acc91151811564 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc101151811564 = CurrentRewardEntry($acc91151811564, $list1151811564[9]) | |
669 | + | if (($size1151811564 == 10)) | |
670 | + | then $acc101151811564 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc111151811564 = CurrentRewardEntry($acc101151811564, $list1151811564[10]) | |
673 | + | if (($size1151811564 == 11)) | |
674 | + | then $acc111151811564 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc121151811564 = CurrentRewardEntry($acc111151811564, $list1151811564[11]) | |
677 | + | if (($size1151811564 == 12)) | |
678 | + | then $acc121151811564 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc131151811564 = CurrentRewardEntry($acc121151811564, $list1151811564[12]) | |
681 | + | if (($size1151811564 == 13)) | |
682 | + | then $acc131151811564 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc141151811564 = CurrentRewardEntry($acc131151811564, $list1151811564[13]) | |
685 | + | if (($size1151811564 == 14)) | |
686 | + | then $acc141151811564 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc151151811564 = CurrentRewardEntry($acc141151811564, $list1151811564[14]) | |
689 | + | if (($size1151811564 == 15)) | |
690 | + | then $acc151151811564 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc161151811564 = CurrentRewardEntry($acc151151811564, $list1151811564[15]) | |
693 | + | if (($size1151811564 == 16)) | |
694 | + | then $acc161151811564 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc171151811564 = CurrentRewardEntry($acc161151811564, $list1151811564[16]) | |
697 | + | if (($size1151811564 == 17)) | |
698 | + | then $acc171151811564 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc181151811564 = CurrentRewardEntry($acc171151811564, $list1151811564[17]) | |
701 | + | if (($size1151811564 == 18)) | |
702 | + | then $acc181151811564 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc191151811564 = CurrentRewardEntry($acc181151811564, $list1151811564[18]) | |
705 | + | if (($size1151811564 == 19)) | |
706 | + | then $acc191151811564 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc201151811564 = CurrentRewardEntry($acc191151811564, $list1151811564[19]) | |
709 | + | if (($size1151811564 == 20)) | |
710 | + | then $acc201151811564 | |
711 | 711 | else { | |
712 | - | let $ | |
712 | + | let $acc211151811564 = CurrentRewardEntry($acc201151811564, $list1151811564[20]) | |
713 | 713 | throw("List size exceed 20") | |
714 | 714 | } | |
715 | 715 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | 9 | ||
10 | 10 | let adminPubKeyStartStop = base58'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg' | |
11 | 11 | ||
12 | 12 | let keyActive = "active" | |
13 | 13 | ||
14 | 14 | let keyCause = "shutdown_cause" | |
15 | 15 | ||
16 | 16 | let keyLastInterest = "last_interest" | |
17 | 17 | ||
18 | 18 | let keyUserLastInterest = "_last_interest" | |
19 | 19 | ||
20 | 20 | let keyUserSWOPLocked = "_SWOP_amount" | |
21 | 21 | ||
22 | 22 | let keyUserGetBackHeight = "_getBackHeight" | |
23 | 23 | ||
24 | 24 | let keyTotalSWOPLocked = "total_SWOP_amount" | |
25 | 25 | ||
26 | 26 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
27 | 27 | ||
28 | 28 | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
29 | 29 | ||
30 | 30 | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyVoteName = "vote_name" | |
37 | 37 | ||
38 | 38 | let keyOptionName = "_option_name" | |
39 | 39 | ||
40 | 40 | let keyVotingStartHeight = "_startHeight" | |
41 | 41 | ||
42 | 42 | let keyVoteDuration = "_vote_duration" | |
43 | 43 | ||
44 | 44 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
45 | 45 | ||
46 | 46 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
49 | 49 | ||
50 | 50 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
51 | 51 | ||
52 | 52 | let keyRewardUpdateHeight = "reward_update_height" | |
53 | 53 | ||
54 | 54 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
55 | 55 | ||
56 | - | let farmingSWOPAddress = Address(base58' | |
56 | + | let farmingSWOPAddress = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE') | |
57 | 57 | ||
58 | - | let votingLiteContract = Address(base58'') | |
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 | - | let $ | |
151 | - | let userLastInterest = $ | |
152 | - | let userSWOPLocked = $ | |
150 | + | let $t049765056 = getUserInterestInfo(caller, lastInterest) | |
151 | + | let userLastInterest = $t049765056._1 | |
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 | - | let $ | |
164 | - | let pmtAmount = $ | |
165 | - | let pmtAssetId = $ | |
163 | + | let $t053215396 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
164 | + | let pmtAmount = $t053215396._1 | |
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 | - | let $ | |
183 | - | let pmtAmount = $ | |
184 | - | let pmtAssetId = $ | |
182 | + | let $t058345909 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
183 | + | let pmtAmount = $t058345909._1 | |
184 | + | let pmtAssetId = $t058345909._2 | |
185 | 185 | if ((pmtAssetId != SWOP)) | |
186 | 186 | then throw("Incorrect pmtAssetId") | |
187 | 187 | else { | |
188 | 188 | let lastInterest = getLastInterestInfo() | |
189 | - | let $ | |
190 | - | let userLastInterest = $ | |
191 | - | let userSWOPLocked = $ | |
189 | + | let $t060256107 = getUserInterestInfo(i.caller, lastInterest) | |
190 | + | let userLastInterest = $t060256107._1 | |
191 | + | let userSWOPLocked = $t060256107._2 | |
192 | 192 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | 193 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
194 | 194 | let userNewInterest = lastInterest | |
195 | 195 | let totalSWOPLocked = getTotalSWOPLocked() | |
196 | 196 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
197 | 197 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
198 | 198 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
199 | 199 | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | ||
205 | 205 | @Callable(i) | |
206 | 206 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
207 | 207 | then throw("DApp is inactive at this moment") | |
208 | 208 | else { | |
209 | 209 | let totalSWOPLocked = getTotalSWOPLocked() | |
210 | 210 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
211 | - | let $ | |
212 | - | let userNewInterest = $ | |
213 | - | let claimAmount = $ | |
211 | + | let $t071917246 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t071917246._1 | |
213 | + | let claimAmount = $t071917246._2 | |
214 | 214 | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
215 | 215 | let availableFund = (userSWOPLocked - userVoteAmount) | |
216 | 216 | if ((withdrawAmount > availableFund)) | |
217 | 217 | then throw("withdrawAmount > availableFund") | |
218 | 218 | else { | |
219 | 219 | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
220 | 220 | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
221 | 221 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
222 | 222 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
223 | 223 | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPamountNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
224 | 224 | } | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | ||
229 | 229 | @Callable(i) | |
230 | 230 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
231 | 231 | then throw("DApp is inactive at this moment") | |
232 | 232 | else { | |
233 | 233 | let lastInterest = getLastInterestInfo() | |
234 | - | let $ | |
235 | - | let userNewInterest = $ | |
236 | - | let claimAmount = $ | |
234 | + | let $t083588413 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t083588413._1 | |
236 | + | let claimAmount = $t083588413._2 | |
237 | 237 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
238 | 238 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
239 | 239 | if ((claimAmount == 0)) | |
240 | 240 | then throw("You have 0 available SWOP") | |
241 | 241 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(i) | |
247 | 247 | func claimAndStakeSWOP () = if (!(isActive)) | |
248 | 248 | then throw("DApp is inactive at this moment") | |
249 | 249 | else { | |
250 | 250 | let totalSWOPLocked = getTotalSWOPLocked() | |
251 | 251 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
252 | 252 | let lastInterest = getLastInterestInfo() | |
253 | - | let $ | |
254 | - | let userNewInterest = $ | |
255 | - | let claimAmount = $ | |
253 | + | let $t091929247 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t091929247._1 | |
255 | + | let claimAmount = $t091929247._2 | |
256 | 256 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
257 | 257 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
258 | 258 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
259 | 259 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
260 | 260 | if ((claimAmount == 0)) | |
261 | 261 | then throw("You have 0 available SWOP") | |
262 | 262 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | ||
267 | 267 | @Callable(i) | |
268 | 268 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
269 | 269 | then throw("DApp is inactive at this moment") | |
270 | 270 | else { | |
271 | 271 | func sum (a,b) = (a + b) | |
272 | 272 | ||
273 | 273 | func PreviousRewardEntry (accumulated,pool) = { | |
274 | 274 | let poolIndex = value(indexOf(previousPools, pool)) | |
275 | 275 | let poolReward = previousRewards[poolIndex] | |
276 | 276 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | func CurrentRewardEntry (accumulated,pool) = { | |
280 | 280 | let poolIndex = value(indexOf(previousPools, pool)) | |
281 | 281 | let poolReward = previousRewards[poolIndex] | |
282 | 282 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | let sumRewardPrevious = { | |
286 | - | let $ | |
287 | - | let $ | |
288 | - | let $ | |
289 | - | if (($ | |
290 | - | then $ | |
286 | + | let $list1102211055 = previousRewards | |
287 | + | let $size1102211055 = size($list1102211055) | |
288 | + | let $acc01102211055 = 0 | |
289 | + | if (($size1102211055 == 0)) | |
290 | + | then $acc01102211055 | |
291 | 291 | else { | |
292 | - | let $ | |
293 | - | if (($ | |
294 | - | then $ | |
292 | + | let $acc11102211055 = sum($acc01102211055, $list1102211055[0]) | |
293 | + | if (($size1102211055 == 1)) | |
294 | + | then $acc11102211055 | |
295 | 295 | else { | |
296 | - | let $ | |
297 | - | if (($ | |
298 | - | then $ | |
296 | + | let $acc21102211055 = sum($acc11102211055, $list1102211055[1]) | |
297 | + | if (($size1102211055 == 2)) | |
298 | + | then $acc21102211055 | |
299 | 299 | else { | |
300 | - | let $ | |
301 | - | if (($ | |
302 | - | then $ | |
300 | + | let $acc31102211055 = sum($acc21102211055, $list1102211055[2]) | |
301 | + | if (($size1102211055 == 3)) | |
302 | + | then $acc31102211055 | |
303 | 303 | else { | |
304 | - | let $ | |
305 | - | if (($ | |
306 | - | then $ | |
304 | + | let $acc41102211055 = sum($acc31102211055, $list1102211055[3]) | |
305 | + | if (($size1102211055 == 4)) | |
306 | + | then $acc41102211055 | |
307 | 307 | else { | |
308 | - | let $ | |
309 | - | if (($ | |
310 | - | then $ | |
308 | + | let $acc51102211055 = sum($acc41102211055, $list1102211055[4]) | |
309 | + | if (($size1102211055 == 5)) | |
310 | + | then $acc51102211055 | |
311 | 311 | else { | |
312 | - | let $ | |
313 | - | if (($ | |
314 | - | then $ | |
312 | + | let $acc61102211055 = sum($acc51102211055, $list1102211055[5]) | |
313 | + | if (($size1102211055 == 6)) | |
314 | + | then $acc61102211055 | |
315 | 315 | else { | |
316 | - | let $ | |
317 | - | if (($ | |
318 | - | then $ | |
316 | + | let $acc71102211055 = sum($acc61102211055, $list1102211055[6]) | |
317 | + | if (($size1102211055 == 7)) | |
318 | + | then $acc71102211055 | |
319 | 319 | else { | |
320 | - | let $ | |
321 | - | if (($ | |
322 | - | then $ | |
320 | + | let $acc81102211055 = sum($acc71102211055, $list1102211055[7]) | |
321 | + | if (($size1102211055 == 8)) | |
322 | + | then $acc81102211055 | |
323 | 323 | else { | |
324 | - | let $ | |
325 | - | if (($ | |
326 | - | then $ | |
324 | + | let $acc91102211055 = sum($acc81102211055, $list1102211055[8]) | |
325 | + | if (($size1102211055 == 9)) | |
326 | + | then $acc91102211055 | |
327 | 327 | else { | |
328 | - | let $ | |
329 | - | if (($ | |
330 | - | then $ | |
328 | + | let $acc101102211055 = sum($acc91102211055, $list1102211055[9]) | |
329 | + | if (($size1102211055 == 10)) | |
330 | + | then $acc101102211055 | |
331 | 331 | else { | |
332 | - | let $ | |
333 | - | if (($ | |
334 | - | then $ | |
332 | + | let $acc111102211055 = sum($acc101102211055, $list1102211055[10]) | |
333 | + | if (($size1102211055 == 11)) | |
334 | + | then $acc111102211055 | |
335 | 335 | else { | |
336 | - | let $ | |
337 | - | if (($ | |
338 | - | then $ | |
336 | + | let $acc121102211055 = sum($acc111102211055, $list1102211055[11]) | |
337 | + | if (($size1102211055 == 12)) | |
338 | + | then $acc121102211055 | |
339 | 339 | else { | |
340 | - | let $ | |
341 | - | if (($ | |
342 | - | then $ | |
340 | + | let $acc131102211055 = sum($acc121102211055, $list1102211055[12]) | |
341 | + | if (($size1102211055 == 13)) | |
342 | + | then $acc131102211055 | |
343 | 343 | else { | |
344 | - | let $ | |
345 | - | if (($ | |
346 | - | then $ | |
344 | + | let $acc141102211055 = sum($acc131102211055, $list1102211055[13]) | |
345 | + | if (($size1102211055 == 14)) | |
346 | + | then $acc141102211055 | |
347 | 347 | else { | |
348 | - | let $ | |
349 | - | if (($ | |
350 | - | then $ | |
348 | + | let $acc151102211055 = sum($acc141102211055, $list1102211055[14]) | |
349 | + | if (($size1102211055 == 15)) | |
350 | + | then $acc151102211055 | |
351 | 351 | else { | |
352 | - | let $ | |
353 | - | if (($ | |
354 | - | then $ | |
352 | + | let $acc161102211055 = sum($acc151102211055, $list1102211055[15]) | |
353 | + | if (($size1102211055 == 16)) | |
354 | + | then $acc161102211055 | |
355 | 355 | else { | |
356 | - | let $ | |
357 | - | if (($ | |
358 | - | then $ | |
356 | + | let $acc171102211055 = sum($acc161102211055, $list1102211055[16]) | |
357 | + | if (($size1102211055 == 17)) | |
358 | + | then $acc171102211055 | |
359 | 359 | else { | |
360 | - | let $ | |
361 | - | if (($ | |
362 | - | then $ | |
360 | + | let $acc181102211055 = sum($acc171102211055, $list1102211055[17]) | |
361 | + | if (($size1102211055 == 18)) | |
362 | + | then $acc181102211055 | |
363 | 363 | else { | |
364 | - | let $ | |
365 | - | if (($ | |
366 | - | then $ | |
364 | + | let $acc191102211055 = sum($acc181102211055, $list1102211055[18]) | |
365 | + | if (($size1102211055 == 19)) | |
366 | + | then $acc191102211055 | |
367 | 367 | else { | |
368 | - | let $ | |
369 | - | if (($ | |
370 | - | then $ | |
368 | + | let $acc201102211055 = sum($acc191102211055, $list1102211055[19]) | |
369 | + | if (($size1102211055 == 20)) | |
370 | + | then $acc201102211055 | |
371 | 371 | else { | |
372 | - | let $ | |
372 | + | let $acc211102211055 = sum($acc201102211055, $list1102211055[20]) | |
373 | 373 | throw("List size exceed 20") | |
374 | 374 | } | |
375 | 375 | } | |
376 | 376 | } | |
377 | 377 | } | |
378 | 378 | } | |
379 | 379 | } | |
380 | 380 | } | |
381 | 381 | } | |
382 | 382 | } | |
383 | 383 | } | |
384 | 384 | } | |
385 | 385 | } | |
386 | 386 | } | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | } | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | let sumRewardCurrent = { | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list1108411116 = currentRewards | |
398 | + | let $size1108411116 = size($list1108411116) | |
399 | + | let $acc01108411116 = 0 | |
400 | + | if (($size1108411116 == 0)) | |
401 | + | then $acc01108411116 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc11108411116 = sum($acc01108411116, $list1108411116[0]) | |
404 | + | if (($size1108411116 == 1)) | |
405 | + | then $acc11108411116 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc21108411116 = sum($acc11108411116, $list1108411116[1]) | |
408 | + | if (($size1108411116 == 2)) | |
409 | + | then $acc21108411116 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc31108411116 = sum($acc21108411116, $list1108411116[2]) | |
412 | + | if (($size1108411116 == 3)) | |
413 | + | then $acc31108411116 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc41108411116 = sum($acc31108411116, $list1108411116[3]) | |
416 | + | if (($size1108411116 == 4)) | |
417 | + | then $acc41108411116 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc51108411116 = sum($acc41108411116, $list1108411116[4]) | |
420 | + | if (($size1108411116 == 5)) | |
421 | + | then $acc51108411116 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc61108411116 = sum($acc51108411116, $list1108411116[5]) | |
424 | + | if (($size1108411116 == 6)) | |
425 | + | then $acc61108411116 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc71108411116 = sum($acc61108411116, $list1108411116[6]) | |
428 | + | if (($size1108411116 == 7)) | |
429 | + | then $acc71108411116 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc81108411116 = sum($acc71108411116, $list1108411116[7]) | |
432 | + | if (($size1108411116 == 8)) | |
433 | + | then $acc81108411116 | |
434 | 434 | else { | |
435 | - | let $ | |
436 | - | if (($ | |
437 | - | then $ | |
435 | + | let $acc91108411116 = sum($acc81108411116, $list1108411116[8]) | |
436 | + | if (($size1108411116 == 9)) | |
437 | + | then $acc91108411116 | |
438 | 438 | else { | |
439 | - | let $ | |
440 | - | if (($ | |
441 | - | then $ | |
439 | + | let $acc101108411116 = sum($acc91108411116, $list1108411116[9]) | |
440 | + | if (($size1108411116 == 10)) | |
441 | + | then $acc101108411116 | |
442 | 442 | else { | |
443 | - | let $ | |
444 | - | if (($ | |
445 | - | then $ | |
443 | + | let $acc111108411116 = sum($acc101108411116, $list1108411116[10]) | |
444 | + | if (($size1108411116 == 11)) | |
445 | + | then $acc111108411116 | |
446 | 446 | else { | |
447 | - | let $ | |
448 | - | if (($ | |
449 | - | then $ | |
447 | + | let $acc121108411116 = sum($acc111108411116, $list1108411116[11]) | |
448 | + | if (($size1108411116 == 12)) | |
449 | + | then $acc121108411116 | |
450 | 450 | else { | |
451 | - | let $ | |
452 | - | if (($ | |
453 | - | then $ | |
451 | + | let $acc131108411116 = sum($acc121108411116, $list1108411116[12]) | |
452 | + | if (($size1108411116 == 13)) | |
453 | + | then $acc131108411116 | |
454 | 454 | else { | |
455 | - | let $ | |
456 | - | if (($ | |
457 | - | then $ | |
455 | + | let $acc141108411116 = sum($acc131108411116, $list1108411116[13]) | |
456 | + | if (($size1108411116 == 14)) | |
457 | + | then $acc141108411116 | |
458 | 458 | else { | |
459 | - | let $ | |
460 | - | if (($ | |
461 | - | then $ | |
459 | + | let $acc151108411116 = sum($acc141108411116, $list1108411116[14]) | |
460 | + | if (($size1108411116 == 15)) | |
461 | + | then $acc151108411116 | |
462 | 462 | else { | |
463 | - | let $ | |
464 | - | if (($ | |
465 | - | then $ | |
463 | + | let $acc161108411116 = sum($acc151108411116, $list1108411116[15]) | |
464 | + | if (($size1108411116 == 16)) | |
465 | + | then $acc161108411116 | |
466 | 466 | else { | |
467 | - | let $ | |
468 | - | if (($ | |
469 | - | then $ | |
467 | + | let $acc171108411116 = sum($acc161108411116, $list1108411116[16]) | |
468 | + | if (($size1108411116 == 17)) | |
469 | + | then $acc171108411116 | |
470 | 470 | else { | |
471 | - | let $ | |
472 | - | if (($ | |
473 | - | then $ | |
471 | + | let $acc181108411116 = sum($acc171108411116, $list1108411116[17]) | |
472 | + | if (($size1108411116 == 18)) | |
473 | + | then $acc181108411116 | |
474 | 474 | else { | |
475 | - | let $ | |
476 | - | if (($ | |
477 | - | then $ | |
475 | + | let $acc191108411116 = sum($acc181108411116, $list1108411116[18]) | |
476 | + | if (($size1108411116 == 19)) | |
477 | + | then $acc191108411116 | |
478 | 478 | else { | |
479 | - | let $ | |
480 | - | if (($ | |
481 | - | then $ | |
479 | + | let $acc201108411116 = sum($acc191108411116, $list1108411116[19]) | |
480 | + | if (($size1108411116 == 20)) | |
481 | + | then $acc201108411116 | |
482 | 482 | else { | |
483 | - | let $ | |
483 | + | let $acc211108411116 = sum($acc201108411116, $list1108411116[20]) | |
484 | 484 | throw("List size exceed 20") | |
485 | 485 | } | |
486 | 486 | } | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | } | |
491 | 491 | } | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | } | |
497 | 497 | } | |
498 | 498 | } | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | } | |
503 | 503 | } | |
504 | 504 | } | |
505 | 505 | } | |
506 | 506 | } | |
507 | 507 | if ((height > rewardUpdateHeight)) | |
508 | 508 | then throw("rewardUpdateHeight < heightthen") | |
509 | 509 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
510 | 510 | then true | |
511 | 511 | else (sumRewardCurrent != totalVoteShare)) | |
512 | 512 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
513 | 513 | else { | |
514 | 514 | let previousRewardEntryNew = { | |
515 | - | let $ | |
516 | - | let $ | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
515 | + | let $list1143711485 = previousPools | |
516 | + | let $size1143711485 = size($list1143711485) | |
517 | + | let $acc01143711485 = nil | |
518 | + | if (($size1143711485 == 0)) | |
519 | + | then $acc01143711485 | |
520 | 520 | else { | |
521 | - | let $ | |
522 | - | if (($ | |
523 | - | then $ | |
521 | + | let $acc11143711485 = PreviousRewardEntry($acc01143711485, $list1143711485[0]) | |
522 | + | if (($size1143711485 == 1)) | |
523 | + | then $acc11143711485 | |
524 | 524 | else { | |
525 | - | let $ | |
526 | - | if (($ | |
527 | - | then $ | |
525 | + | let $acc21143711485 = PreviousRewardEntry($acc11143711485, $list1143711485[1]) | |
526 | + | if (($size1143711485 == 2)) | |
527 | + | then $acc21143711485 | |
528 | 528 | else { | |
529 | - | let $ | |
530 | - | if (($ | |
531 | - | then $ | |
529 | + | let $acc31143711485 = PreviousRewardEntry($acc21143711485, $list1143711485[2]) | |
530 | + | if (($size1143711485 == 3)) | |
531 | + | then $acc31143711485 | |
532 | 532 | else { | |
533 | - | let $ | |
534 | - | if (($ | |
535 | - | then $ | |
533 | + | let $acc41143711485 = PreviousRewardEntry($acc31143711485, $list1143711485[3]) | |
534 | + | if (($size1143711485 == 4)) | |
535 | + | then $acc41143711485 | |
536 | 536 | else { | |
537 | - | let $ | |
538 | - | if (($ | |
539 | - | then $ | |
537 | + | let $acc51143711485 = PreviousRewardEntry($acc41143711485, $list1143711485[4]) | |
538 | + | if (($size1143711485 == 5)) | |
539 | + | then $acc51143711485 | |
540 | 540 | else { | |
541 | - | let $ | |
542 | - | if (($ | |
543 | - | then $ | |
541 | + | let $acc61143711485 = PreviousRewardEntry($acc51143711485, $list1143711485[5]) | |
542 | + | if (($size1143711485 == 6)) | |
543 | + | then $acc61143711485 | |
544 | 544 | else { | |
545 | - | let $ | |
546 | - | if (($ | |
547 | - | then $ | |
545 | + | let $acc71143711485 = PreviousRewardEntry($acc61143711485, $list1143711485[6]) | |
546 | + | if (($size1143711485 == 7)) | |
547 | + | then $acc71143711485 | |
548 | 548 | else { | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
549 | + | let $acc81143711485 = PreviousRewardEntry($acc71143711485, $list1143711485[7]) | |
550 | + | if (($size1143711485 == 8)) | |
551 | + | then $acc81143711485 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc91143711485 = PreviousRewardEntry($acc81143711485, $list1143711485[8]) | |
554 | + | if (($size1143711485 == 9)) | |
555 | + | then $acc91143711485 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc101143711485 = PreviousRewardEntry($acc91143711485, $list1143711485[9]) | |
558 | + | if (($size1143711485 == 10)) | |
559 | + | then $acc101143711485 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc111143711485 = PreviousRewardEntry($acc101143711485, $list1143711485[10]) | |
562 | + | if (($size1143711485 == 11)) | |
563 | + | then $acc111143711485 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc121143711485 = PreviousRewardEntry($acc111143711485, $list1143711485[11]) | |
566 | + | if (($size1143711485 == 12)) | |
567 | + | then $acc121143711485 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc131143711485 = PreviousRewardEntry($acc121143711485, $list1143711485[12]) | |
570 | + | if (($size1143711485 == 13)) | |
571 | + | then $acc131143711485 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc141143711485 = PreviousRewardEntry($acc131143711485, $list1143711485[13]) | |
574 | + | if (($size1143711485 == 14)) | |
575 | + | then $acc141143711485 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc151143711485 = PreviousRewardEntry($acc141143711485, $list1143711485[14]) | |
578 | + | if (($size1143711485 == 15)) | |
579 | + | then $acc151143711485 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc161143711485 = PreviousRewardEntry($acc151143711485, $list1143711485[15]) | |
582 | + | if (($size1143711485 == 16)) | |
583 | + | then $acc161143711485 | |
584 | 584 | else { | |
585 | - | let $ | |
586 | - | if (($ | |
587 | - | then $ | |
585 | + | let $acc171143711485 = PreviousRewardEntry($acc161143711485, $list1143711485[16]) | |
586 | + | if (($size1143711485 == 17)) | |
587 | + | then $acc171143711485 | |
588 | 588 | else { | |
589 | - | let $ | |
590 | - | if (($ | |
591 | - | then $ | |
589 | + | let $acc181143711485 = PreviousRewardEntry($acc171143711485, $list1143711485[17]) | |
590 | + | if (($size1143711485 == 18)) | |
591 | + | then $acc181143711485 | |
592 | 592 | else { | |
593 | - | let $ | |
594 | - | if (($ | |
595 | - | then $ | |
593 | + | let $acc191143711485 = PreviousRewardEntry($acc181143711485, $list1143711485[18]) | |
594 | + | if (($size1143711485 == 19)) | |
595 | + | then $acc191143711485 | |
596 | 596 | else { | |
597 | - | let $ | |
598 | - | if (($ | |
599 | - | then $ | |
597 | + | let $acc201143711485 = PreviousRewardEntry($acc191143711485, $list1143711485[19]) | |
598 | + | if (($size1143711485 == 20)) | |
599 | + | then $acc201143711485 | |
600 | 600 | else { | |
601 | - | let $ | |
601 | + | let $acc211143711485 = PreviousRewardEntry($acc201143711485, $list1143711485[20]) | |
602 | 602 | throw("List size exceed 20") | |
603 | 603 | } | |
604 | 604 | } | |
605 | 605 | } | |
606 | 606 | } | |
607 | 607 | } | |
608 | 608 | } | |
609 | 609 | } | |
610 | 610 | } | |
611 | 611 | } | |
612 | 612 | } | |
613 | 613 | } | |
614 | 614 | } | |
615 | 615 | } | |
616 | 616 | } | |
617 | 617 | } | |
618 | 618 | } | |
619 | 619 | } | |
620 | 620 | } | |
621 | 621 | } | |
622 | 622 | } | |
623 | 623 | } | |
624 | 624 | } | |
625 | 625 | let currentRewardEntryNew = { | |
626 | - | let $ | |
627 | - | let $ | |
628 | - | let $ | |
629 | - | if (($ | |
630 | - | then $ | |
626 | + | let $list1151811564 = currentPools | |
627 | + | let $size1151811564 = size($list1151811564) | |
628 | + | let $acc01151811564 = nil | |
629 | + | if (($size1151811564 == 0)) | |
630 | + | then $acc01151811564 | |
631 | 631 | else { | |
632 | - | let $ | |
633 | - | if (($ | |
634 | - | then $ | |
632 | + | let $acc11151811564 = CurrentRewardEntry($acc01151811564, $list1151811564[0]) | |
633 | + | if (($size1151811564 == 1)) | |
634 | + | then $acc11151811564 | |
635 | 635 | else { | |
636 | - | let $ | |
637 | - | if (($ | |
638 | - | then $ | |
636 | + | let $acc21151811564 = CurrentRewardEntry($acc11151811564, $list1151811564[1]) | |
637 | + | if (($size1151811564 == 2)) | |
638 | + | then $acc21151811564 | |
639 | 639 | else { | |
640 | - | let $ | |
641 | - | if (($ | |
642 | - | then $ | |
640 | + | let $acc31151811564 = CurrentRewardEntry($acc21151811564, $list1151811564[2]) | |
641 | + | if (($size1151811564 == 3)) | |
642 | + | then $acc31151811564 | |
643 | 643 | else { | |
644 | - | let $ | |
645 | - | if (($ | |
646 | - | then $ | |
644 | + | let $acc41151811564 = CurrentRewardEntry($acc31151811564, $list1151811564[3]) | |
645 | + | if (($size1151811564 == 4)) | |
646 | + | then $acc41151811564 | |
647 | 647 | else { | |
648 | - | let $ | |
649 | - | if (($ | |
650 | - | then $ | |
648 | + | let $acc51151811564 = CurrentRewardEntry($acc41151811564, $list1151811564[4]) | |
649 | + | if (($size1151811564 == 5)) | |
650 | + | then $acc51151811564 | |
651 | 651 | else { | |
652 | - | let $ | |
653 | - | if (($ | |
654 | - | then $ | |
652 | + | let $acc61151811564 = CurrentRewardEntry($acc51151811564, $list1151811564[5]) | |
653 | + | if (($size1151811564 == 6)) | |
654 | + | then $acc61151811564 | |
655 | 655 | else { | |
656 | - | let $ | |
657 | - | if (($ | |
658 | - | then $ | |
656 | + | let $acc71151811564 = CurrentRewardEntry($acc61151811564, $list1151811564[6]) | |
657 | + | if (($size1151811564 == 7)) | |
658 | + | then $acc71151811564 | |
659 | 659 | else { | |
660 | - | let $ | |
661 | - | if (($ | |
662 | - | then $ | |
660 | + | let $acc81151811564 = CurrentRewardEntry($acc71151811564, $list1151811564[7]) | |
661 | + | if (($size1151811564 == 8)) | |
662 | + | then $acc81151811564 | |
663 | 663 | else { | |
664 | - | let $ | |
665 | - | if (($ | |
666 | - | then $ | |
664 | + | let $acc91151811564 = CurrentRewardEntry($acc81151811564, $list1151811564[8]) | |
665 | + | if (($size1151811564 == 9)) | |
666 | + | then $acc91151811564 | |
667 | 667 | else { | |
668 | - | let $ | |
669 | - | if (($ | |
670 | - | then $ | |
668 | + | let $acc101151811564 = CurrentRewardEntry($acc91151811564, $list1151811564[9]) | |
669 | + | if (($size1151811564 == 10)) | |
670 | + | then $acc101151811564 | |
671 | 671 | else { | |
672 | - | let $ | |
673 | - | if (($ | |
674 | - | then $ | |
672 | + | let $acc111151811564 = CurrentRewardEntry($acc101151811564, $list1151811564[10]) | |
673 | + | if (($size1151811564 == 11)) | |
674 | + | then $acc111151811564 | |
675 | 675 | else { | |
676 | - | let $ | |
677 | - | if (($ | |
678 | - | then $ | |
676 | + | let $acc121151811564 = CurrentRewardEntry($acc111151811564, $list1151811564[11]) | |
677 | + | if (($size1151811564 == 12)) | |
678 | + | then $acc121151811564 | |
679 | 679 | else { | |
680 | - | let $ | |
681 | - | if (($ | |
682 | - | then $ | |
680 | + | let $acc131151811564 = CurrentRewardEntry($acc121151811564, $list1151811564[12]) | |
681 | + | if (($size1151811564 == 13)) | |
682 | + | then $acc131151811564 | |
683 | 683 | else { | |
684 | - | let $ | |
685 | - | if (($ | |
686 | - | then $ | |
684 | + | let $acc141151811564 = CurrentRewardEntry($acc131151811564, $list1151811564[13]) | |
685 | + | if (($size1151811564 == 14)) | |
686 | + | then $acc141151811564 | |
687 | 687 | else { | |
688 | - | let $ | |
689 | - | if (($ | |
690 | - | then $ | |
688 | + | let $acc151151811564 = CurrentRewardEntry($acc141151811564, $list1151811564[14]) | |
689 | + | if (($size1151811564 == 15)) | |
690 | + | then $acc151151811564 | |
691 | 691 | else { | |
692 | - | let $ | |
693 | - | if (($ | |
694 | - | then $ | |
692 | + | let $acc161151811564 = CurrentRewardEntry($acc151151811564, $list1151811564[15]) | |
693 | + | if (($size1151811564 == 16)) | |
694 | + | then $acc161151811564 | |
695 | 695 | else { | |
696 | - | let $ | |
697 | - | if (($ | |
698 | - | then $ | |
696 | + | let $acc171151811564 = CurrentRewardEntry($acc161151811564, $list1151811564[16]) | |
697 | + | if (($size1151811564 == 17)) | |
698 | + | then $acc171151811564 | |
699 | 699 | else { | |
700 | - | let $ | |
701 | - | if (($ | |
702 | - | then $ | |
700 | + | let $acc181151811564 = CurrentRewardEntry($acc171151811564, $list1151811564[17]) | |
701 | + | if (($size1151811564 == 18)) | |
702 | + | then $acc181151811564 | |
703 | 703 | else { | |
704 | - | let $ | |
705 | - | if (($ | |
706 | - | then $ | |
704 | + | let $acc191151811564 = CurrentRewardEntry($acc181151811564, $list1151811564[18]) | |
705 | + | if (($size1151811564 == 19)) | |
706 | + | then $acc191151811564 | |
707 | 707 | else { | |
708 | - | let $ | |
709 | - | if (($ | |
710 | - | then $ | |
708 | + | let $acc201151811564 = CurrentRewardEntry($acc191151811564, $list1151811564[19]) | |
709 | + | if (($size1151811564 == 20)) | |
710 | + | then $acc201151811564 | |
711 | 711 | else { | |
712 | - | let $ | |
712 | + | let $acc211151811564 = CurrentRewardEntry($acc201151811564, $list1151811564[20]) | |
713 | 713 | throw("List size exceed 20") | |
714 | 714 | } | |
715 | 715 | } | |
716 | 716 | } | |
717 | 717 | } | |
718 | 718 | } | |
719 | 719 | } | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | } | |
723 | 723 | } | |
724 | 724 | } | |
725 | 725 | } | |
726 | 726 | } | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | } | |
730 | 730 | } | |
731 | 731 | } | |
732 | 732 | } | |
733 | 733 | } | |
734 | 734 | } | |
735 | 735 | } | |
736 | 736 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
737 | 737 | } | |
738 | 738 | } | |
739 | 739 | ||
740 | 740 | ||
741 | 741 | ||
742 | 742 | @Callable(i) | |
743 | 743 | func setTotalRewardPerBlock (totalRewardPerBlockNew) = if (!(isActive)) | |
744 | 744 | then throw("DApp is inactive at this moment") | |
745 | 745 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
746 | 746 | then throw("Only admin can call this function") | |
747 | 747 | else { | |
748 | 748 | let totalRewardPerBlockPrevious = getIntegerValue(this, keyTotalRewardPerBlockCurrent) | |
749 | 749 | [IntegerEntry(keyTotalRewardPerBlockCurrent, totalRewardPerBlockNew), IntegerEntry(keyTotalRewardPerBlockPrevious, totalRewardPerBlockPrevious)] | |
750 | 750 | } | |
751 | 751 | ||
752 | 752 | ||
753 | 753 | ||
754 | 754 | @Callable(i) | |
755 | 755 | func shutdown () = if (!(isActive)) | |
756 | 756 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
757 | 757 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
758 | 758 | then throw("Only admin can call this function") | |
759 | 759 | else suspend("Paused by admin") | |
760 | 760 | ||
761 | 761 | ||
762 | 762 | ||
763 | 763 | @Callable(i) | |
764 | 764 | func activate () = if (isActive) | |
765 | 765 | then throw("DApp is already active") | |
766 | 766 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
767 | 767 | then throw("Only admin can call this function") | |
768 | 768 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
769 | 769 | ||
770 | 770 |
github/deemru/w8io/169f3d6 845.61 ms ◑