tx · 2xnzxxRw2P1kCpz2S2CA6RydDWHQBxJY4HQkGknnwM9o

3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS:  -0.01400000 Waves

2021.05.12 13:55 [1522362] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves

{ "type": 13, "id": "2xnzxxRw2P1kCpz2S2CA6RydDWHQBxJY4HQkGknnwM9o", "fee": 1400000, "feeAssetId": null, "timestamp": 1620816947752, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "4hjrwRRR2mGXsBKpc2UDqvfGvAKcaTUEdXxeNMLcp25gMqMhrQPqwLWWUXEi6GfqqBsqHRiFRxY4WadxBhdcUvvn" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAASwAAAAAMYWRtaW5QdWJLZXkxAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkyAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAMYWRtaW5QdWJLZXkzAQAAACAEz3XlZNDBD05nuR8TZMQaDeqEJEIxfTOQXUBYCp2TSgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIATPdeVk0MEPTme5HxNkxBoN6oQkQjF9M5BdQFgKnZNKAAAAABFhZG1pblB1YktleVdhbGxldAEAAAAgPndaZVpWyfwpVzO1vA1FLcrMp/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcm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bmlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleS+SQ1E=", "height": 1522362, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5Qh9RNdVkszT3us4S9bYN2JucFosTdS2htYcUFf2xvaX Next: GQsqsd2a6jyo3Gpt95koXrtSaP95juSmVjbVGQ4g5yMT Diff:
OldNewDifferences
6363
6464 let keyHeightOfPoolVotingForNewPool = "_height"
6565
66+let activeVoteFirst = "active_vote_first"
67+
68+let activeVoteSecond = "active_vote_second"
69+
70+let activeVoteThird = "active_vote_third"
71+
72+let activeVoteFourth = "active_vote_fourth"
73+
74+let activeVoteFifth = "active_vote_fifth"
75+
6676 let isActive = valueOrElse(getBoolean(this, keyActive), true)
6777
6878 let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC')
7888 let scaleValue = 100000000
7989
8090 let totalVoteShare = 10000000000
91+
92+let kStartHeight = "start_height"
93+
94+let kBasePeriod = "base_period"
95+
96+let kPeriodLength = "period_length"
97+
98+let kUserTotalStruc = "_user_total_struc"
99+
100+let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract")
101+
102+let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract")
103+
104+let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract")
105+
106+let firstActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFirst), "")
107+
108+let secondActiveVote = valueOrElse(getString(votingForNewPool, activeVoteSecond), "")
109+
110+let thirdActiveVote = valueOrElse(getString(votingForNewPool, activeVoteThird), "")
111+
112+let fourthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFourth), "")
113+
114+let fifthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFifth), "")
115+
116+let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength))
81117
82118 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
83119
97133 func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0)
98134
99135
136+func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
137+
138+
100139 func getUserInterestInfo (user,lastInterest) = {
101140 let userSWOPAmount = getUserSWOPLocked(user)
102141 let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest))
110149 }
111150
112151
113-func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
114-
115-
116-func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
117-
118-
119-func getUserTotalVoteAmountForOnePool (voting,user) = {
152+func getUserTotalVoteAmountForOnePool (pool,user) = {
153+ let voting = valueOrElse(getInteger(votingForNewPool, pool), -1)
120154 let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0)
121155 let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true)
122156 let currentHeight = height
131165
132166
133167 func getUserTotalVoteForNewPoolAmount (user) = {
134- let amountOfVoting = valueOrElse(getInteger(votingForNewPool, keyAmountOfVotingForNewPool), 0)
135- let listOfVoting = [getUserTotalVoteAmountForOnePool((amountOfVoting - 1), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 2), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 3), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 4), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 5), user)]
168+ let listOfVoting = [getUserTotalVoteAmountForOnePool(firstActiveVote, user), getUserTotalVoteAmountForOnePool(secondActiveVote, user), getUserTotalVoteAmountForOnePool(thirdActiveVote, user), getUserTotalVoteAmountForOnePool(fourthActiveVote, user), getUserTotalVoteAmountForOnePool(fifthActiveVote, user)]
136169 max(listOfVoting)
170+ }
171+
172+
173+func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
174+
175+
176+func getUserVoteInfo (user) = {
177+ let $t061706723 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc))))
178+ then {
179+ let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
180+ $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
181+ }
182+ else {
183+ let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
184+ $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod)
185+ }
186+ let userTotalVoteSWOP = $t061706723._1
187+ let userUnvoted = $t061706723._2
188+ let userUnvotedPeriod = $t061706723._3
189+ let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod))
190+ then userUnvoted
191+ else 0
192+ $Tuple2(userTotalVoteSWOP, userUnvotedActual)
137193 }
138194
139195
182238
183239 func claimCalc (caller) = {
184240 let lastInterest = getLastInterestInfo()
185- let $t065496629 = getUserInterestInfo(caller, lastInterest)
186- let userLastInterest = $t065496629._1
187- let userSWOPLocked = $t065496629._2
241+ let $t085158595 = getUserInterestInfo(caller, lastInterest)
242+ let userLastInterest = $t085158595._1
243+ let userSWOPLocked = $t085158595._2
188244 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
189245 let userNewInterest = lastInterest
190246 $Tuple2(userNewInterest, claimAmount)
195251 func airDrop () = if (!(isActive))
196252 then throw("DApp is inactive at this moment")
197253 else {
198- let $t068946969 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
199- let pmtAmount = $t068946969._1
200- let pmtAssetId = $t068946969._2
254+ let $t088608935 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
255+ let pmtAmount = $t088608935._1
256+ let pmtAssetId = $t088608935._2
201257 if ((pmtAssetId != SWOP))
202258 then throw("Incorrect pmtAssetId")
203259 else {
214270 func lockSWOP () = if (!(isActive))
215271 then throw("DApp is inactive at this moment")
216272 else {
217- let $t074077482 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
218- let pmtAmount = $t074077482._1
219- let pmtAssetId = $t074077482._2
273+ let $t093739448 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
274+ let pmtAmount = $t093739448._1
275+ let pmtAssetId = $t093739448._2
220276 if ((pmtAssetId != SWOP))
221277 then throw("Incorrect pmtAssetId")
222278 else {
223279 let lastInterest = getLastInterestInfo()
224- let $t075987680 = getUserInterestInfo(i.caller, lastInterest)
225- let userLastInterest = $t075987680._1
226- let userSWOPLocked = $t075987680._2
280+ let $t095649646 = getUserInterestInfo(i.caller, lastInterest)
281+ let userLastInterest = $t095649646._1
282+ let userSWOPLocked = $t095649646._2
227283 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
228284 let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount)
229285 let userNewInterest = lastInterest
240296 @Callable(i)
241297 func withdrawSWOP (withdrawAmount) = if (!(isActive))
242298 then throw("DApp is inactive at this moment")
243- else {
244- let totalSWOPLocked = getTotalSWOPLocked()
245- let userSWOPLocked = getUserSWOPLocked(i.caller)
246- let $t087648819 = claimCalc(i.caller)
247- let userNewInterest = $t087648819._1
248- let claimAmount = $t087648819._2
249- let userVoteAmount = getUserTotalVoteAmount(i.caller)
250- let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller)
251- let availableFund = ((userSWOPLocked - userVoteAmount) - userVoteAmountForNewPool)
252- if ((withdrawAmount > availableFund))
253- then throw("withdrawAmount > availableFund")
254- else {
255- let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
256- let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
257- let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
258- let userClaimedAmountNew = (userClaimedAmount + claimAmount)
299+ else if ((0 >= withdrawAmount))
300+ then throw("withdrawAmount <= 0")
301+ else {
302+ let totalSWOPLocked = getTotalSWOPLocked()
303+ let userSWOPLocked = getUserSWOPLocked(i.caller)
304+ let $t01079610851 = claimCalc(i.caller)
305+ let userNewInterest = $t01079610851._1
306+ let claimAmount = $t01079610851._2
307+ let $t01085610921 = getUserVoteInfo(i.caller)
308+ let userVoteAmount = $t01085610921._1
309+ let userUnvoteAmount = $t01085610921._2
310+ let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller)
311+ if (if (if ((0 > userUnvoteAmount))
312+ then true
313+ else (0 > userVoteAmount))
314+ then true
315+ else (0 > userVoteAmountForNewPool))
316+ then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0")
317+ else {
318+ let availableToUnstake = (((userSWOPLocked - userVoteAmount) - userUnvoteAmount) - userVoteAmountForNewPool)
319+ if ((withdrawAmount > availableToUnstake))
320+ then throw("withdrawAmount > availableToUnstake")
321+ else {
322+ let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
323+ let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
324+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
325+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
259326 [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)]
260- }
261- }
327+ }
328+ }
329+ }
262330
263331
264332
267335 then throw("DApp is inactive at this moment")
268336 else {
269337 let lastInterest = getLastInterestInfo()
270- let $t01007610131 = claimCalc(i.caller)
271- let userNewInterest = $t01007610131._1
272- let claimAmount = $t01007610131._2
338+ let $t01229112346 = claimCalc(i.caller)
339+ let userNewInterest = $t01229112346._1
340+ let claimAmount = $t01229112346._2
273341 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
274342 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
275343 if ((claimAmount == 0))
286354 let totalSWOPLocked = getTotalSWOPLocked()
287355 let userSWOPLocked = getUserSWOPLocked(i.caller)
288356 let lastInterest = getLastInterestInfo()
289- let $t01091010965 = claimCalc(i.caller)
290- let userNewInterest = $t01091010965._1
291- let claimAmount = $t01091010965._2
357+ let $t01312513180 = claimCalc(i.caller)
358+ let userNewInterest = $t01312513180._1
359+ let claimAmount = $t01312513180._2
292360 let userSWOPLockedNew = (userSWOPLocked + claimAmount)
293361 let totalSWOPLockedNew = (totalSWOPLocked + claimAmount)
294362 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
321389 }
322390
323391 let sumRewardPrevious = {
324- let $list1274512778 = previousRewards
325- let $size1274512778 = size($list1274512778)
326- let $acc01274512778 = 0
327- if (($size1274512778 == 0))
328- then $acc01274512778
392+ let $list1496614999 = previousRewards
393+ let $size1496614999 = size($list1496614999)
394+ let $acc01496614999 = 0
395+ if (($size1496614999 == 0))
396+ then $acc01496614999
329397 else {
330- let $acc11274512778 = sum($acc01274512778, $list1274512778[0])
331- if (($size1274512778 == 1))
332- then $acc11274512778
398+ let $acc11496614999 = sum($acc01496614999, $list1496614999[0])
399+ if (($size1496614999 == 1))
400+ then $acc11496614999
333401 else {
334- let $acc21274512778 = sum($acc11274512778, $list1274512778[1])
335- if (($size1274512778 == 2))
336- then $acc21274512778
402+ let $acc21496614999 = sum($acc11496614999, $list1496614999[1])
403+ if (($size1496614999 == 2))
404+ then $acc21496614999
337405 else {
338- let $acc31274512778 = sum($acc21274512778, $list1274512778[2])
339- if (($size1274512778 == 3))
340- then $acc31274512778
406+ let $acc31496614999 = sum($acc21496614999, $list1496614999[2])
407+ if (($size1496614999 == 3))
408+ then $acc31496614999
341409 else {
342- let $acc41274512778 = sum($acc31274512778, $list1274512778[3])
343- if (($size1274512778 == 4))
344- then $acc41274512778
410+ let $acc41496614999 = sum($acc31496614999, $list1496614999[3])
411+ if (($size1496614999 == 4))
412+ then $acc41496614999
345413 else {
346- let $acc51274512778 = sum($acc41274512778, $list1274512778[4])
347- if (($size1274512778 == 5))
348- then $acc51274512778
414+ let $acc51496614999 = sum($acc41496614999, $list1496614999[4])
415+ if (($size1496614999 == 5))
416+ then $acc51496614999
349417 else {
350- let $acc61274512778 = sum($acc51274512778, $list1274512778[5])
351- if (($size1274512778 == 6))
352- then $acc61274512778
418+ let $acc61496614999 = sum($acc51496614999, $list1496614999[5])
419+ if (($size1496614999 == 6))
420+ then $acc61496614999
353421 else {
354- let $acc71274512778 = sum($acc61274512778, $list1274512778[6])
355- if (($size1274512778 == 7))
356- then $acc71274512778
422+ let $acc71496614999 = sum($acc61496614999, $list1496614999[6])
423+ if (($size1496614999 == 7))
424+ then $acc71496614999
357425 else {
358- let $acc81274512778 = sum($acc71274512778, $list1274512778[7])
359- if (($size1274512778 == 8))
360- then $acc81274512778
426+ let $acc81496614999 = sum($acc71496614999, $list1496614999[7])
427+ if (($size1496614999 == 8))
428+ then $acc81496614999
361429 else {
362- let $acc91274512778 = sum($acc81274512778, $list1274512778[8])
363- if (($size1274512778 == 9))
364- then $acc91274512778
430+ let $acc91496614999 = sum($acc81496614999, $list1496614999[8])
431+ if (($size1496614999 == 9))
432+ then $acc91496614999
365433 else {
366- let $acc101274512778 = sum($acc91274512778, $list1274512778[9])
367- if (($size1274512778 == 10))
368- then $acc101274512778
434+ let $acc101496614999 = sum($acc91496614999, $list1496614999[9])
435+ if (($size1496614999 == 10))
436+ then $acc101496614999
369437 else {
370- let $acc111274512778 = sum($acc101274512778, $list1274512778[10])
371- if (($size1274512778 == 11))
372- then $acc111274512778
438+ let $acc111496614999 = sum($acc101496614999, $list1496614999[10])
439+ if (($size1496614999 == 11))
440+ then $acc111496614999
373441 else {
374- let $acc121274512778 = sum($acc111274512778, $list1274512778[11])
375- if (($size1274512778 == 12))
376- then $acc121274512778
442+ let $acc121496614999 = sum($acc111496614999, $list1496614999[11])
443+ if (($size1496614999 == 12))
444+ then $acc121496614999
377445 else {
378- let $acc131274512778 = sum($acc121274512778, $list1274512778[12])
379- if (($size1274512778 == 13))
380- then $acc131274512778
446+ let $acc131496614999 = sum($acc121496614999, $list1496614999[12])
447+ if (($size1496614999 == 13))
448+ then $acc131496614999
381449 else {
382- let $acc141274512778 = sum($acc131274512778, $list1274512778[13])
383- if (($size1274512778 == 14))
384- then $acc141274512778
450+ let $acc141496614999 = sum($acc131496614999, $list1496614999[13])
451+ if (($size1496614999 == 14))
452+ then $acc141496614999
385453 else {
386- let $acc151274512778 = sum($acc141274512778, $list1274512778[14])
387- if (($size1274512778 == 15))
388- then $acc151274512778
454+ let $acc151496614999 = sum($acc141496614999, $list1496614999[14])
455+ if (($size1496614999 == 15))
456+ then $acc151496614999
389457 else {
390- let $acc161274512778 = sum($acc151274512778, $list1274512778[15])
391- if (($size1274512778 == 16))
392- then $acc161274512778
458+ let $acc161496614999 = sum($acc151496614999, $list1496614999[15])
459+ if (($size1496614999 == 16))
460+ then $acc161496614999
393461 else {
394- let $acc171274512778 = sum($acc161274512778, $list1274512778[16])
395- if (($size1274512778 == 17))
396- then $acc171274512778
462+ let $acc171496614999 = sum($acc161496614999, $list1496614999[16])
463+ if (($size1496614999 == 17))
464+ then $acc171496614999
397465 else {
398- let $acc181274512778 = sum($acc171274512778, $list1274512778[17])
399- if (($size1274512778 == 18))
400- then $acc181274512778
466+ let $acc181496614999 = sum($acc171496614999, $list1496614999[17])
467+ if (($size1496614999 == 18))
468+ then $acc181496614999
401469 else {
402- let $acc191274512778 = sum($acc181274512778, $list1274512778[18])
403- if (($size1274512778 == 19))
404- then $acc191274512778
470+ let $acc191496614999 = sum($acc181496614999, $list1496614999[18])
471+ if (($size1496614999 == 19))
472+ then $acc191496614999
405473 else {
406- let $acc201274512778 = sum($acc191274512778, $list1274512778[19])
407- if (($size1274512778 == 20))
408- then $acc201274512778
474+ let $acc201496614999 = sum($acc191496614999, $list1496614999[19])
475+ if (($size1496614999 == 20))
476+ then $acc201496614999
409477 else {
410- let $acc211274512778 = sum($acc201274512778, $list1274512778[20])
478+ let $acc211496614999 = sum($acc201496614999, $list1496614999[20])
411479 throw("List size exceed 20")
412480 }
413481 }
432500 }
433501 }
434502 let sumRewardCurrent = {
435- let $list1280712839 = currentRewards
436- let $size1280712839 = size($list1280712839)
437- let $acc01280712839 = 0
438- if (($size1280712839 == 0))
439- then $acc01280712839
503+ let $list1502815060 = currentRewards
504+ let $size1502815060 = size($list1502815060)
505+ let $acc01502815060 = 0
506+ if (($size1502815060 == 0))
507+ then $acc01502815060
440508 else {
441- let $acc11280712839 = sum($acc01280712839, $list1280712839[0])
442- if (($size1280712839 == 1))
443- then $acc11280712839
509+ let $acc11502815060 = sum($acc01502815060, $list1502815060[0])
510+ if (($size1502815060 == 1))
511+ then $acc11502815060
444512 else {
445- let $acc21280712839 = sum($acc11280712839, $list1280712839[1])
446- if (($size1280712839 == 2))
447- then $acc21280712839
513+ let $acc21502815060 = sum($acc11502815060, $list1502815060[1])
514+ if (($size1502815060 == 2))
515+ then $acc21502815060
448516 else {
449- let $acc31280712839 = sum($acc21280712839, $list1280712839[2])
450- if (($size1280712839 == 3))
451- then $acc31280712839
517+ let $acc31502815060 = sum($acc21502815060, $list1502815060[2])
518+ if (($size1502815060 == 3))
519+ then $acc31502815060
452520 else {
453- let $acc41280712839 = sum($acc31280712839, $list1280712839[3])
454- if (($size1280712839 == 4))
455- then $acc41280712839
521+ let $acc41502815060 = sum($acc31502815060, $list1502815060[3])
522+ if (($size1502815060 == 4))
523+ then $acc41502815060
456524 else {
457- let $acc51280712839 = sum($acc41280712839, $list1280712839[4])
458- if (($size1280712839 == 5))
459- then $acc51280712839
525+ let $acc51502815060 = sum($acc41502815060, $list1502815060[4])
526+ if (($size1502815060 == 5))
527+ then $acc51502815060
460528 else {
461- let $acc61280712839 = sum($acc51280712839, $list1280712839[5])
462- if (($size1280712839 == 6))
463- then $acc61280712839
529+ let $acc61502815060 = sum($acc51502815060, $list1502815060[5])
530+ if (($size1502815060 == 6))
531+ then $acc61502815060
464532 else {
465- let $acc71280712839 = sum($acc61280712839, $list1280712839[6])
466- if (($size1280712839 == 7))
467- then $acc71280712839
533+ let $acc71502815060 = sum($acc61502815060, $list1502815060[6])
534+ if (($size1502815060 == 7))
535+ then $acc71502815060
468536 else {
469- let $acc81280712839 = sum($acc71280712839, $list1280712839[7])
470- if (($size1280712839 == 8))
471- then $acc81280712839
537+ let $acc81502815060 = sum($acc71502815060, $list1502815060[7])
538+ if (($size1502815060 == 8))
539+ then $acc81502815060
472540 else {
473- let $acc91280712839 = sum($acc81280712839, $list1280712839[8])
474- if (($size1280712839 == 9))
475- then $acc91280712839
541+ let $acc91502815060 = sum($acc81502815060, $list1502815060[8])
542+ if (($size1502815060 == 9))
543+ then $acc91502815060
476544 else {
477- let $acc101280712839 = sum($acc91280712839, $list1280712839[9])
478- if (($size1280712839 == 10))
479- then $acc101280712839
545+ let $acc101502815060 = sum($acc91502815060, $list1502815060[9])
546+ if (($size1502815060 == 10))
547+ then $acc101502815060
480548 else {
481- let $acc111280712839 = sum($acc101280712839, $list1280712839[10])
482- if (($size1280712839 == 11))
483- then $acc111280712839
549+ let $acc111502815060 = sum($acc101502815060, $list1502815060[10])
550+ if (($size1502815060 == 11))
551+ then $acc111502815060
484552 else {
485- let $acc121280712839 = sum($acc111280712839, $list1280712839[11])
486- if (($size1280712839 == 12))
487- then $acc121280712839
553+ let $acc121502815060 = sum($acc111502815060, $list1502815060[11])
554+ if (($size1502815060 == 12))
555+ then $acc121502815060
488556 else {
489- let $acc131280712839 = sum($acc121280712839, $list1280712839[12])
490- if (($size1280712839 == 13))
491- then $acc131280712839
557+ let $acc131502815060 = sum($acc121502815060, $list1502815060[12])
558+ if (($size1502815060 == 13))
559+ then $acc131502815060
492560 else {
493- let $acc141280712839 = sum($acc131280712839, $list1280712839[13])
494- if (($size1280712839 == 14))
495- then $acc141280712839
561+ let $acc141502815060 = sum($acc131502815060, $list1502815060[13])
562+ if (($size1502815060 == 14))
563+ then $acc141502815060
496564 else {
497- let $acc151280712839 = sum($acc141280712839, $list1280712839[14])
498- if (($size1280712839 == 15))
499- then $acc151280712839
565+ let $acc151502815060 = sum($acc141502815060, $list1502815060[14])
566+ if (($size1502815060 == 15))
567+ then $acc151502815060
500568 else {
501- let $acc161280712839 = sum($acc151280712839, $list1280712839[15])
502- if (($size1280712839 == 16))
503- then $acc161280712839
569+ let $acc161502815060 = sum($acc151502815060, $list1502815060[15])
570+ if (($size1502815060 == 16))
571+ then $acc161502815060
504572 else {
505- let $acc171280712839 = sum($acc161280712839, $list1280712839[16])
506- if (($size1280712839 == 17))
507- then $acc171280712839
573+ let $acc171502815060 = sum($acc161502815060, $list1502815060[16])
574+ if (($size1502815060 == 17))
575+ then $acc171502815060
508576 else {
509- let $acc181280712839 = sum($acc171280712839, $list1280712839[17])
510- if (($size1280712839 == 18))
511- then $acc181280712839
577+ let $acc181502815060 = sum($acc171502815060, $list1502815060[17])
578+ if (($size1502815060 == 18))
579+ then $acc181502815060
512580 else {
513- let $acc191280712839 = sum($acc181280712839, $list1280712839[18])
514- if (($size1280712839 == 19))
515- then $acc191280712839
581+ let $acc191502815060 = sum($acc181502815060, $list1502815060[18])
582+ if (($size1502815060 == 19))
583+ then $acc191502815060
516584 else {
517- let $acc201280712839 = sum($acc191280712839, $list1280712839[19])
518- if (($size1280712839 == 20))
519- then $acc201280712839
585+ let $acc201502815060 = sum($acc191502815060, $list1502815060[19])
586+ if (($size1502815060 == 20))
587+ then $acc201502815060
520588 else {
521- let $acc211280712839 = sum($acc201280712839, $list1280712839[20])
589+ let $acc211502815060 = sum($acc201502815060, $list1502815060[20])
522590 throw("List size exceed 20")
523591 }
524592 }
550618 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
551619 else {
552620 let previousRewardEntryNew = {
553- let $list1314813196 = previousPools
554- let $size1314813196 = size($list1314813196)
555- let $acc01314813196 = nil
556- if (($size1314813196 == 0))
557- then $acc01314813196
621+ let $list1537215420 = previousPools
622+ let $size1537215420 = size($list1537215420)
623+ let $acc01537215420 = nil
624+ if (($size1537215420 == 0))
625+ then $acc01537215420
558626 else {
559- let $acc11314813196 = PreviousRewardEntry($acc01314813196, $list1314813196[0])
560- if (($size1314813196 == 1))
561- then $acc11314813196
627+ let $acc11537215420 = PreviousRewardEntry($acc01537215420, $list1537215420[0])
628+ if (($size1537215420 == 1))
629+ then $acc11537215420
562630 else {
563- let $acc21314813196 = PreviousRewardEntry($acc11314813196, $list1314813196[1])
564- if (($size1314813196 == 2))
565- then $acc21314813196
631+ let $acc21537215420 = PreviousRewardEntry($acc11537215420, $list1537215420[1])
632+ if (($size1537215420 == 2))
633+ then $acc21537215420
566634 else {
567- let $acc31314813196 = PreviousRewardEntry($acc21314813196, $list1314813196[2])
568- if (($size1314813196 == 3))
569- then $acc31314813196
635+ let $acc31537215420 = PreviousRewardEntry($acc21537215420, $list1537215420[2])
636+ if (($size1537215420 == 3))
637+ then $acc31537215420
570638 else {
571- let $acc41314813196 = PreviousRewardEntry($acc31314813196, $list1314813196[3])
572- if (($size1314813196 == 4))
573- then $acc41314813196
639+ let $acc41537215420 = PreviousRewardEntry($acc31537215420, $list1537215420[3])
640+ if (($size1537215420 == 4))
641+ then $acc41537215420
574642 else {
575- let $acc51314813196 = PreviousRewardEntry($acc41314813196, $list1314813196[4])
576- if (($size1314813196 == 5))
577- then $acc51314813196
643+ let $acc51537215420 = PreviousRewardEntry($acc41537215420, $list1537215420[4])
644+ if (($size1537215420 == 5))
645+ then $acc51537215420
578646 else {
579- let $acc61314813196 = PreviousRewardEntry($acc51314813196, $list1314813196[5])
580- if (($size1314813196 == 6))
581- then $acc61314813196
647+ let $acc61537215420 = PreviousRewardEntry($acc51537215420, $list1537215420[5])
648+ if (($size1537215420 == 6))
649+ then $acc61537215420
582650 else {
583- let $acc71314813196 = PreviousRewardEntry($acc61314813196, $list1314813196[6])
584- if (($size1314813196 == 7))
585- then $acc71314813196
651+ let $acc71537215420 = PreviousRewardEntry($acc61537215420, $list1537215420[6])
652+ if (($size1537215420 == 7))
653+ then $acc71537215420
586654 else {
587- let $acc81314813196 = PreviousRewardEntry($acc71314813196, $list1314813196[7])
588- if (($size1314813196 == 8))
589- then $acc81314813196
655+ let $acc81537215420 = PreviousRewardEntry($acc71537215420, $list1537215420[7])
656+ if (($size1537215420 == 8))
657+ then $acc81537215420
590658 else {
591- let $acc91314813196 = PreviousRewardEntry($acc81314813196, $list1314813196[8])
592- if (($size1314813196 == 9))
593- then $acc91314813196
659+ let $acc91537215420 = PreviousRewardEntry($acc81537215420, $list1537215420[8])
660+ if (($size1537215420 == 9))
661+ then $acc91537215420
594662 else {
595- let $acc101314813196 = PreviousRewardEntry($acc91314813196, $list1314813196[9])
596- if (($size1314813196 == 10))
597- then $acc101314813196
663+ let $acc101537215420 = PreviousRewardEntry($acc91537215420, $list1537215420[9])
664+ if (($size1537215420 == 10))
665+ then $acc101537215420
598666 else {
599- let $acc111314813196 = PreviousRewardEntry($acc101314813196, $list1314813196[10])
600- if (($size1314813196 == 11))
601- then $acc111314813196
667+ let $acc111537215420 = PreviousRewardEntry($acc101537215420, $list1537215420[10])
668+ if (($size1537215420 == 11))
669+ then $acc111537215420
602670 else {
603- let $acc121314813196 = PreviousRewardEntry($acc111314813196, $list1314813196[11])
604- if (($size1314813196 == 12))
605- then $acc121314813196
671+ let $acc121537215420 = PreviousRewardEntry($acc111537215420, $list1537215420[11])
672+ if (($size1537215420 == 12))
673+ then $acc121537215420
606674 else {
607- let $acc131314813196 = PreviousRewardEntry($acc121314813196, $list1314813196[12])
608- if (($size1314813196 == 13))
609- then $acc131314813196
675+ let $acc131537215420 = PreviousRewardEntry($acc121537215420, $list1537215420[12])
676+ if (($size1537215420 == 13))
677+ then $acc131537215420
610678 else {
611- let $acc141314813196 = PreviousRewardEntry($acc131314813196, $list1314813196[13])
612- if (($size1314813196 == 14))
613- then $acc141314813196
679+ let $acc141537215420 = PreviousRewardEntry($acc131537215420, $list1537215420[13])
680+ if (($size1537215420 == 14))
681+ then $acc141537215420
614682 else {
615- let $acc151314813196 = PreviousRewardEntry($acc141314813196, $list1314813196[14])
616- if (($size1314813196 == 15))
617- then $acc151314813196
683+ let $acc151537215420 = PreviousRewardEntry($acc141537215420, $list1537215420[14])
684+ if (($size1537215420 == 15))
685+ then $acc151537215420
618686 else {
619- let $acc161314813196 = PreviousRewardEntry($acc151314813196, $list1314813196[15])
620- if (($size1314813196 == 16))
621- then $acc161314813196
687+ let $acc161537215420 = PreviousRewardEntry($acc151537215420, $list1537215420[15])
688+ if (($size1537215420 == 16))
689+ then $acc161537215420
622690 else {
623- let $acc171314813196 = PreviousRewardEntry($acc161314813196, $list1314813196[16])
624- if (($size1314813196 == 17))
625- then $acc171314813196
691+ let $acc171537215420 = PreviousRewardEntry($acc161537215420, $list1537215420[16])
692+ if (($size1537215420 == 17))
693+ then $acc171537215420
626694 else {
627- let $acc181314813196 = PreviousRewardEntry($acc171314813196, $list1314813196[17])
628- if (($size1314813196 == 18))
629- then $acc181314813196
695+ let $acc181537215420 = PreviousRewardEntry($acc171537215420, $list1537215420[17])
696+ if (($size1537215420 == 18))
697+ then $acc181537215420
630698 else {
631- let $acc191314813196 = PreviousRewardEntry($acc181314813196, $list1314813196[18])
632- if (($size1314813196 == 19))
633- then $acc191314813196
699+ let $acc191537215420 = PreviousRewardEntry($acc181537215420, $list1537215420[18])
700+ if (($size1537215420 == 19))
701+ then $acc191537215420
634702 else {
635- let $acc201314813196 = PreviousRewardEntry($acc191314813196, $list1314813196[19])
636- if (($size1314813196 == 20))
637- then $acc201314813196
703+ let $acc201537215420 = PreviousRewardEntry($acc191537215420, $list1537215420[19])
704+ if (($size1537215420 == 20))
705+ then $acc201537215420
638706 else {
639- let $acc211314813196 = PreviousRewardEntry($acc201314813196, $list1314813196[20])
707+ let $acc211537215420 = PreviousRewardEntry($acc201537215420, $list1537215420[20])
640708 throw("List size exceed 20")
641709 }
642710 }
661729 }
662730 }
663731 let currentRewardEntryNew = {
664- let $list1322913275 = currentPools
665- let $size1322913275 = size($list1322913275)
666- let $acc01322913275 = nil
667- if (($size1322913275 == 0))
668- then $acc01322913275
732+ let $list1545315499 = currentPools
733+ let $size1545315499 = size($list1545315499)
734+ let $acc01545315499 = nil
735+ if (($size1545315499 == 0))
736+ then $acc01545315499
669737 else {
670- let $acc11322913275 = CurrentRewardEntry($acc01322913275, $list1322913275[0])
671- if (($size1322913275 == 1))
672- then $acc11322913275
738+ let $acc11545315499 = CurrentRewardEntry($acc01545315499, $list1545315499[0])
739+ if (($size1545315499 == 1))
740+ then $acc11545315499
673741 else {
674- let $acc21322913275 = CurrentRewardEntry($acc11322913275, $list1322913275[1])
675- if (($size1322913275 == 2))
676- then $acc21322913275
742+ let $acc21545315499 = CurrentRewardEntry($acc11545315499, $list1545315499[1])
743+ if (($size1545315499 == 2))
744+ then $acc21545315499
677745 else {
678- let $acc31322913275 = CurrentRewardEntry($acc21322913275, $list1322913275[2])
679- if (($size1322913275 == 3))
680- then $acc31322913275
746+ let $acc31545315499 = CurrentRewardEntry($acc21545315499, $list1545315499[2])
747+ if (($size1545315499 == 3))
748+ then $acc31545315499
681749 else {
682- let $acc41322913275 = CurrentRewardEntry($acc31322913275, $list1322913275[3])
683- if (($size1322913275 == 4))
684- then $acc41322913275
750+ let $acc41545315499 = CurrentRewardEntry($acc31545315499, $list1545315499[3])
751+ if (($size1545315499 == 4))
752+ then $acc41545315499
685753 else {
686- let $acc51322913275 = CurrentRewardEntry($acc41322913275, $list1322913275[4])
687- if (($size1322913275 == 5))
688- then $acc51322913275
754+ let $acc51545315499 = CurrentRewardEntry($acc41545315499, $list1545315499[4])
755+ if (($size1545315499 == 5))
756+ then $acc51545315499
689757 else {
690- let $acc61322913275 = CurrentRewardEntry($acc51322913275, $list1322913275[5])
691- if (($size1322913275 == 6))
692- then $acc61322913275
758+ let $acc61545315499 = CurrentRewardEntry($acc51545315499, $list1545315499[5])
759+ if (($size1545315499 == 6))
760+ then $acc61545315499
693761 else {
694- let $acc71322913275 = CurrentRewardEntry($acc61322913275, $list1322913275[6])
695- if (($size1322913275 == 7))
696- then $acc71322913275
762+ let $acc71545315499 = CurrentRewardEntry($acc61545315499, $list1545315499[6])
763+ if (($size1545315499 == 7))
764+ then $acc71545315499
697765 else {
698- let $acc81322913275 = CurrentRewardEntry($acc71322913275, $list1322913275[7])
699- if (($size1322913275 == 8))
700- then $acc81322913275
766+ let $acc81545315499 = CurrentRewardEntry($acc71545315499, $list1545315499[7])
767+ if (($size1545315499 == 8))
768+ then $acc81545315499
701769 else {
702- let $acc91322913275 = CurrentRewardEntry($acc81322913275, $list1322913275[8])
703- if (($size1322913275 == 9))
704- then $acc91322913275
770+ let $acc91545315499 = CurrentRewardEntry($acc81545315499, $list1545315499[8])
771+ if (($size1545315499 == 9))
772+ then $acc91545315499
705773 else {
706- let $acc101322913275 = CurrentRewardEntry($acc91322913275, $list1322913275[9])
707- if (($size1322913275 == 10))
708- then $acc101322913275
774+ let $acc101545315499 = CurrentRewardEntry($acc91545315499, $list1545315499[9])
775+ if (($size1545315499 == 10))
776+ then $acc101545315499
709777 else {
710- let $acc111322913275 = CurrentRewardEntry($acc101322913275, $list1322913275[10])
711- if (($size1322913275 == 11))
712- then $acc111322913275
778+ let $acc111545315499 = CurrentRewardEntry($acc101545315499, $list1545315499[10])
779+ if (($size1545315499 == 11))
780+ then $acc111545315499
713781 else {
714- let $acc121322913275 = CurrentRewardEntry($acc111322913275, $list1322913275[11])
715- if (($size1322913275 == 12))
716- then $acc121322913275
782+ let $acc121545315499 = CurrentRewardEntry($acc111545315499, $list1545315499[11])
783+ if (($size1545315499 == 12))
784+ then $acc121545315499
717785 else {
718- let $acc131322913275 = CurrentRewardEntry($acc121322913275, $list1322913275[12])
719- if (($size1322913275 == 13))
720- then $acc131322913275
786+ let $acc131545315499 = CurrentRewardEntry($acc121545315499, $list1545315499[12])
787+ if (($size1545315499 == 13))
788+ then $acc131545315499
721789 else {
722- let $acc141322913275 = CurrentRewardEntry($acc131322913275, $list1322913275[13])
723- if (($size1322913275 == 14))
724- then $acc141322913275
790+ let $acc141545315499 = CurrentRewardEntry($acc131545315499, $list1545315499[13])
791+ if (($size1545315499 == 14))
792+ then $acc141545315499
725793 else {
726- let $acc151322913275 = CurrentRewardEntry($acc141322913275, $list1322913275[14])
727- if (($size1322913275 == 15))
728- then $acc151322913275
794+ let $acc151545315499 = CurrentRewardEntry($acc141545315499, $list1545315499[14])
795+ if (($size1545315499 == 15))
796+ then $acc151545315499
729797 else {
730- let $acc161322913275 = CurrentRewardEntry($acc151322913275, $list1322913275[15])
731- if (($size1322913275 == 16))
732- then $acc161322913275
798+ let $acc161545315499 = CurrentRewardEntry($acc151545315499, $list1545315499[15])
799+ if (($size1545315499 == 16))
800+ then $acc161545315499
733801 else {
734- let $acc171322913275 = CurrentRewardEntry($acc161322913275, $list1322913275[16])
735- if (($size1322913275 == 17))
736- then $acc171322913275
802+ let $acc171545315499 = CurrentRewardEntry($acc161545315499, $list1545315499[16])
803+ if (($size1545315499 == 17))
804+ then $acc171545315499
737805 else {
738- let $acc181322913275 = CurrentRewardEntry($acc171322913275, $list1322913275[17])
739- if (($size1322913275 == 18))
740- then $acc181322913275
806+ let $acc181545315499 = CurrentRewardEntry($acc171545315499, $list1545315499[17])
807+ if (($size1545315499 == 18))
808+ then $acc181545315499
741809 else {
742- let $acc191322913275 = CurrentRewardEntry($acc181322913275, $list1322913275[18])
743- if (($size1322913275 == 19))
744- then $acc191322913275
810+ let $acc191545315499 = CurrentRewardEntry($acc181545315499, $list1545315499[18])
811+ if (($size1545315499 == 19))
812+ then $acc191545315499
745813 else {
746- let $acc201322913275 = CurrentRewardEntry($acc191322913275, $list1322913275[19])
747- if (($size1322913275 == 20))
748- then $acc201322913275
814+ let $acc201545315499 = CurrentRewardEntry($acc191545315499, $list1545315499[19])
815+ if (($size1545315499 == 20))
816+ then $acc201545315499
749817 else {
750- let $acc211322913275 = CurrentRewardEntry($acc201322913275, $list1322913275[20])
818+ let $acc211545315499 = CurrentRewardEntry($acc201545315499, $list1545315499[20])
751819 throw("List size exceed 20")
752820 }
753821 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
55
66 let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
77
88 let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
99
1010 let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK'
1111
1212 let adminPubKeyWallet = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw'
1313
1414 let keyActive = "active"
1515
1616 let keyCause = "shutdown_cause"
1717
1818 let keyLastInterest = "last_interest"
1919
2020 let keyUserLastInterest = "_last_interest"
2121
2222 let keyUserSWOPLocked = "_SWOP_amount"
2323
2424 let keyUserGetBackHeight = "_getBackHeight"
2525
2626 let keyTotalSWOPLocked = "total_SWOP_amount"
2727
2828 let kUserTotalVoteSWOP = "_user_total_SWOP_vote"
2929
3030 let keyUserVoteOptionAmount = "_SWOP_option_amount"
3131
3232 let keyTotalVoteOptionAmount = "total_SWOP_option_amount"
3333
3434 let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
3535
3636 let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
3737
3838 let keyVoteName = "vote_name"
3939
4040 let keyOptionName = "_option_name"
4141
4242 let keyVotingStartHeight = "_startHeight"
4343
4444 let keyVoteDuration = "_vote_duration"
4545
4646 let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
4747
4848 let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
4949
5050 let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
5151
5252 let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
5353
5454 let keyRewardUpdateHeight = "reward_update_height"
5555
5656 let keyNoVotingForNewPool = "_no"
5757
5858 let keyYesVotingForNewPool = "_yes"
5959
6060 let keyAmountOfVotingForNewPool = "amount_voting"
6161
6262 let keyStatusOfVotingForNewPool = "_status"
6363
6464 let keyHeightOfPoolVotingForNewPool = "_height"
6565
66+let activeVoteFirst = "active_vote_first"
67+
68+let activeVoteSecond = "active_vote_second"
69+
70+let activeVoteThird = "active_vote_third"
71+
72+let activeVoteFourth = "active_vote_fourth"
73+
74+let activeVoteFifth = "active_vote_fifth"
75+
6676 let isActive = valueOrElse(getBoolean(this, keyActive), true)
6777
6878 let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC')
6979
7080 let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN')
7181
7282 let votingForNewPool = Address(base58'3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6')
7383
7484 let keySWOPid = "SWOP_id"
7585
7686 let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid))
7787
7888 let scaleValue = 100000000
7989
8090 let totalVoteShare = 10000000000
91+
92+let kStartHeight = "start_height"
93+
94+let kBasePeriod = "base_period"
95+
96+let kPeriodLength = "period_length"
97+
98+let kUserTotalStruc = "_user_total_struc"
99+
100+let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract")
101+
102+let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract")
103+
104+let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract")
105+
106+let firstActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFirst), "")
107+
108+let secondActiveVote = valueOrElse(getString(votingForNewPool, activeVoteSecond), "")
109+
110+let thirdActiveVote = valueOrElse(getString(votingForNewPool, activeVoteThird), "")
111+
112+let fourthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFourth), "")
113+
114+let fifthActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFifth), "")
115+
116+let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength))
81117
82118 func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
83119
84120
85121 func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
86122
87123
88124 func getLastInterestInfo () = {
89125 let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0)
90126 lastInterest
91127 }
92128
93129
94130 func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0)
95131
96132
97133 func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0)
98134
99135
136+func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
137+
138+
100139 func getUserInterestInfo (user,lastInterest) = {
101140 let userSWOPAmount = getUserSWOPLocked(user)
102141 let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest))
103142 let userLastInterestValue = match userLastInterest {
104143 case userLastInterest: Int =>
105144 userLastInterest
106145 case _ =>
107146 lastInterest
108147 }
109148 $Tuple2(userLastInterestValue, userSWOPAmount)
110149 }
111150
112151
113-func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
114-
115-
116-func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
117-
118-
119-func getUserTotalVoteAmountForOnePool (voting,user) = {
152+func getUserTotalVoteAmountForOnePool (pool,user) = {
153+ let voting = valueOrElse(getInteger(votingForNewPool, pool), -1)
120154 let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0)
121155 let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true)
122156 let currentHeight = height
123157 if ((0 > voting))
124158 then 0
125159 else if (!(statusOfVoting))
126160 then 0
127161 else if ((heightOfVoting > currentHeight))
128162 then (valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyNoVotingForNewPool)), 0))
129163 else 0
130164 }
131165
132166
133167 func getUserTotalVoteForNewPoolAmount (user) = {
134- let amountOfVoting = valueOrElse(getInteger(votingForNewPool, keyAmountOfVotingForNewPool), 0)
135- let listOfVoting = [getUserTotalVoteAmountForOnePool((amountOfVoting - 1), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 2), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 3), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 4), user), getUserTotalVoteAmountForOnePool((amountOfVoting - 5), user)]
168+ let listOfVoting = [getUserTotalVoteAmountForOnePool(firstActiveVote, user), getUserTotalVoteAmountForOnePool(secondActiveVote, user), getUserTotalVoteAmountForOnePool(thirdActiveVote, user), getUserTotalVoteAmountForOnePool(fourthActiveVote, user), getUserTotalVoteAmountForOnePool(fifthActiveVote, user)]
136169 max(listOfVoting)
170+ }
171+
172+
173+func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
174+
175+
176+func getUserVoteInfo (user) = {
177+ let $t061706723 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc))))
178+ then {
179+ let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
180+ $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
181+ }
182+ else {
183+ let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
184+ $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod)
185+ }
186+ let userTotalVoteSWOP = $t061706723._1
187+ let userUnvoted = $t061706723._2
188+ let userUnvotedPeriod = $t061706723._3
189+ let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod))
190+ then userUnvoted
191+ else 0
192+ $Tuple2(userTotalVoteSWOP, userUnvotedActual)
137193 }
138194
139195
140196 func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0)
141197
142198
143199 func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0)
144200
145201
146202 func getVoteOptionAmount (user,voteName,option) = {
147203 let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount))
148204 let uvoa = match userVoteOptionAmount {
149205 case uvoa: Int =>
150206 uvoa
151207 case uvoa: Unit =>
152208 0
153209 case _ =>
154210 throw("Match error")
155211 }
156212 valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount))
157213 }
158214
159215
160216 func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration))
161217
162218
163219 func getTotalVoteOptionAmount (voteName,option) = {
164220 let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount))
165221 let tvoa = match totalVoteOptionAmount {
166222 case tvoa: Int =>
167223 tvoa
168224 case tvoa: Unit =>
169225 0
170226 case _ =>
171227 throw("Match error")
172228 }
173229 tvoa
174230 }
175231
176232
177233 func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = {
178234 let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight))
179235 valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key))
180236 }
181237
182238
183239 func claimCalc (caller) = {
184240 let lastInterest = getLastInterestInfo()
185- let $t065496629 = getUserInterestInfo(caller, lastInterest)
186- let userLastInterest = $t065496629._1
187- let userSWOPLocked = $t065496629._2
241+ let $t085158595 = getUserInterestInfo(caller, lastInterest)
242+ let userLastInterest = $t085158595._1
243+ let userSWOPLocked = $t085158595._2
188244 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
189245 let userNewInterest = lastInterest
190246 $Tuple2(userNewInterest, claimAmount)
191247 }
192248
193249
194250 @Callable(i)
195251 func airDrop () = if (!(isActive))
196252 then throw("DApp is inactive at this moment")
197253 else {
198- let $t068946969 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
199- let pmtAmount = $t068946969._1
200- let pmtAssetId = $t068946969._2
254+ let $t088608935 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
255+ let pmtAmount = $t088608935._1
256+ let pmtAssetId = $t088608935._2
201257 if ((pmtAssetId != SWOP))
202258 then throw("Incorrect pmtAssetId")
203259 else {
204260 let totalSWOPLocked = getTotalSWOPLocked()
205261 let lastInterest = getLastInterestInfo()
206262 let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked))
207263 [IntegerEntry(keyLastInterest, interestNew)]
208264 }
209265 }
210266
211267
212268
213269 @Callable(i)
214270 func lockSWOP () = if (!(isActive))
215271 then throw("DApp is inactive at this moment")
216272 else {
217- let $t074077482 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
218- let pmtAmount = $t074077482._1
219- let pmtAssetId = $t074077482._2
273+ let $t093739448 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
274+ let pmtAmount = $t093739448._1
275+ let pmtAssetId = $t093739448._2
220276 if ((pmtAssetId != SWOP))
221277 then throw("Incorrect pmtAssetId")
222278 else {
223279 let lastInterest = getLastInterestInfo()
224- let $t075987680 = getUserInterestInfo(i.caller, lastInterest)
225- let userLastInterest = $t075987680._1
226- let userSWOPLocked = $t075987680._2
280+ let $t095649646 = getUserInterestInfo(i.caller, lastInterest)
281+ let userLastInterest = $t095649646._1
282+ let userSWOPLocked = $t095649646._2
227283 let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
228284 let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount)
229285 let userNewInterest = lastInterest
230286 let totalSWOPLocked = getTotalSWOPLocked()
231287 let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount)
232288 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
233289 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
234290 [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)]
235291 }
236292 }
237293
238294
239295
240296 @Callable(i)
241297 func withdrawSWOP (withdrawAmount) = if (!(isActive))
242298 then throw("DApp is inactive at this moment")
243- else {
244- let totalSWOPLocked = getTotalSWOPLocked()
245- let userSWOPLocked = getUserSWOPLocked(i.caller)
246- let $t087648819 = claimCalc(i.caller)
247- let userNewInterest = $t087648819._1
248- let claimAmount = $t087648819._2
249- let userVoteAmount = getUserTotalVoteAmount(i.caller)
250- let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller)
251- let availableFund = ((userSWOPLocked - userVoteAmount) - userVoteAmountForNewPool)
252- if ((withdrawAmount > availableFund))
253- then throw("withdrawAmount > availableFund")
254- else {
255- let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
256- let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
257- let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
258- let userClaimedAmountNew = (userClaimedAmount + claimAmount)
299+ else if ((0 >= withdrawAmount))
300+ then throw("withdrawAmount <= 0")
301+ else {
302+ let totalSWOPLocked = getTotalSWOPLocked()
303+ let userSWOPLocked = getUserSWOPLocked(i.caller)
304+ let $t01079610851 = claimCalc(i.caller)
305+ let userNewInterest = $t01079610851._1
306+ let claimAmount = $t01079610851._2
307+ let $t01085610921 = getUserVoteInfo(i.caller)
308+ let userVoteAmount = $t01085610921._1
309+ let userUnvoteAmount = $t01085610921._2
310+ let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller)
311+ if (if (if ((0 > userUnvoteAmount))
312+ then true
313+ else (0 > userVoteAmount))
314+ then true
315+ else (0 > userVoteAmountForNewPool))
316+ then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0")
317+ else {
318+ let availableToUnstake = (((userSWOPLocked - userVoteAmount) - userUnvoteAmount) - userVoteAmountForNewPool)
319+ if ((withdrawAmount > availableToUnstake))
320+ then throw("withdrawAmount > availableToUnstake")
321+ else {
322+ let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
323+ let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
324+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
325+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
259326 [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)]
260- }
261- }
327+ }
328+ }
329+ }
262330
263331
264332
265333 @Callable(i)
266334 func claimAndWithdrawSWOP () = if (!(isActive))
267335 then throw("DApp is inactive at this moment")
268336 else {
269337 let lastInterest = getLastInterestInfo()
270- let $t01007610131 = claimCalc(i.caller)
271- let userNewInterest = $t01007610131._1
272- let claimAmount = $t01007610131._2
338+ let $t01229112346 = claimCalc(i.caller)
339+ let userNewInterest = $t01229112346._1
340+ let claimAmount = $t01229112346._2
273341 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
274342 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
275343 if ((claimAmount == 0))
276344 then throw("You have 0 available SWOP")
277345 else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)]
278346 }
279347
280348
281349
282350 @Callable(i)
283351 func claimAndStakeSWOP () = if (!(isActive))
284352 then throw("DApp is inactive at this moment")
285353 else {
286354 let totalSWOPLocked = getTotalSWOPLocked()
287355 let userSWOPLocked = getUserSWOPLocked(i.caller)
288356 let lastInterest = getLastInterestInfo()
289- let $t01091010965 = claimCalc(i.caller)
290- let userNewInterest = $t01091010965._1
291- let claimAmount = $t01091010965._2
357+ let $t01312513180 = claimCalc(i.caller)
358+ let userNewInterest = $t01312513180._1
359+ let claimAmount = $t01312513180._2
292360 let userSWOPLockedNew = (userSWOPLocked + claimAmount)
293361 let totalSWOPLockedNew = (totalSWOPLocked + claimAmount)
294362 let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
295363 let userClaimedAmountNew = (userClaimedAmount + claimAmount)
296364 if ((claimAmount == 0))
297365 then throw("You have 0 available SWOP")
298366 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)]
299367 }
300368
301369
302370
303371 @Callable(i)
304372 func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive))
305373 then throw("DApp is inactive at this moment")
306374 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey)))
307375 then throw("Only admin can call this function")
308376 else {
309377 func sum (a,b) = (a + b)
310378
311379 func PreviousRewardEntry (accumulated,pool) = {
312380 let poolIndex = value(indexOf(previousPools, pool))
313381 let poolReward = previousRewards[poolIndex]
314382 IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated
315383 }
316384
317385 func CurrentRewardEntry (accumulated,pool) = {
318386 let poolIndex = value(indexOf(currentPools, pool))
319387 let poolReward = currentRewards[poolIndex]
320388 IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated
321389 }
322390
323391 let sumRewardPrevious = {
324- let $list1274512778 = previousRewards
325- let $size1274512778 = size($list1274512778)
326- let $acc01274512778 = 0
327- if (($size1274512778 == 0))
328- then $acc01274512778
392+ let $list1496614999 = previousRewards
393+ let $size1496614999 = size($list1496614999)
394+ let $acc01496614999 = 0
395+ if (($size1496614999 == 0))
396+ then $acc01496614999
329397 else {
330- let $acc11274512778 = sum($acc01274512778, $list1274512778[0])
331- if (($size1274512778 == 1))
332- then $acc11274512778
398+ let $acc11496614999 = sum($acc01496614999, $list1496614999[0])
399+ if (($size1496614999 == 1))
400+ then $acc11496614999
333401 else {
334- let $acc21274512778 = sum($acc11274512778, $list1274512778[1])
335- if (($size1274512778 == 2))
336- then $acc21274512778
402+ let $acc21496614999 = sum($acc11496614999, $list1496614999[1])
403+ if (($size1496614999 == 2))
404+ then $acc21496614999
337405 else {
338- let $acc31274512778 = sum($acc21274512778, $list1274512778[2])
339- if (($size1274512778 == 3))
340- then $acc31274512778
406+ let $acc31496614999 = sum($acc21496614999, $list1496614999[2])
407+ if (($size1496614999 == 3))
408+ then $acc31496614999
341409 else {
342- let $acc41274512778 = sum($acc31274512778, $list1274512778[3])
343- if (($size1274512778 == 4))
344- then $acc41274512778
410+ let $acc41496614999 = sum($acc31496614999, $list1496614999[3])
411+ if (($size1496614999 == 4))
412+ then $acc41496614999
345413 else {
346- let $acc51274512778 = sum($acc41274512778, $list1274512778[4])
347- if (($size1274512778 == 5))
348- then $acc51274512778
414+ let $acc51496614999 = sum($acc41496614999, $list1496614999[4])
415+ if (($size1496614999 == 5))
416+ then $acc51496614999
349417 else {
350- let $acc61274512778 = sum($acc51274512778, $list1274512778[5])
351- if (($size1274512778 == 6))
352- then $acc61274512778
418+ let $acc61496614999 = sum($acc51496614999, $list1496614999[5])
419+ if (($size1496614999 == 6))
420+ then $acc61496614999
353421 else {
354- let $acc71274512778 = sum($acc61274512778, $list1274512778[6])
355- if (($size1274512778 == 7))
356- then $acc71274512778
422+ let $acc71496614999 = sum($acc61496614999, $list1496614999[6])
423+ if (($size1496614999 == 7))
424+ then $acc71496614999
357425 else {
358- let $acc81274512778 = sum($acc71274512778, $list1274512778[7])
359- if (($size1274512778 == 8))
360- then $acc81274512778
426+ let $acc81496614999 = sum($acc71496614999, $list1496614999[7])
427+ if (($size1496614999 == 8))
428+ then $acc81496614999
361429 else {
362- let $acc91274512778 = sum($acc81274512778, $list1274512778[8])
363- if (($size1274512778 == 9))
364- then $acc91274512778
430+ let $acc91496614999 = sum($acc81496614999, $list1496614999[8])
431+ if (($size1496614999 == 9))
432+ then $acc91496614999
365433 else {
366- let $acc101274512778 = sum($acc91274512778, $list1274512778[9])
367- if (($size1274512778 == 10))
368- then $acc101274512778
434+ let $acc101496614999 = sum($acc91496614999, $list1496614999[9])
435+ if (($size1496614999 == 10))
436+ then $acc101496614999
369437 else {
370- let $acc111274512778 = sum($acc101274512778, $list1274512778[10])
371- if (($size1274512778 == 11))
372- then $acc111274512778
438+ let $acc111496614999 = sum($acc101496614999, $list1496614999[10])
439+ if (($size1496614999 == 11))
440+ then $acc111496614999
373441 else {
374- let $acc121274512778 = sum($acc111274512778, $list1274512778[11])
375- if (($size1274512778 == 12))
376- then $acc121274512778
442+ let $acc121496614999 = sum($acc111496614999, $list1496614999[11])
443+ if (($size1496614999 == 12))
444+ then $acc121496614999
377445 else {
378- let $acc131274512778 = sum($acc121274512778, $list1274512778[12])
379- if (($size1274512778 == 13))
380- then $acc131274512778
446+ let $acc131496614999 = sum($acc121496614999, $list1496614999[12])
447+ if (($size1496614999 == 13))
448+ then $acc131496614999
381449 else {
382- let $acc141274512778 = sum($acc131274512778, $list1274512778[13])
383- if (($size1274512778 == 14))
384- then $acc141274512778
450+ let $acc141496614999 = sum($acc131496614999, $list1496614999[13])
451+ if (($size1496614999 == 14))
452+ then $acc141496614999
385453 else {
386- let $acc151274512778 = sum($acc141274512778, $list1274512778[14])
387- if (($size1274512778 == 15))
388- then $acc151274512778
454+ let $acc151496614999 = sum($acc141496614999, $list1496614999[14])
455+ if (($size1496614999 == 15))
456+ then $acc151496614999
389457 else {
390- let $acc161274512778 = sum($acc151274512778, $list1274512778[15])
391- if (($size1274512778 == 16))
392- then $acc161274512778
458+ let $acc161496614999 = sum($acc151496614999, $list1496614999[15])
459+ if (($size1496614999 == 16))
460+ then $acc161496614999
393461 else {
394- let $acc171274512778 = sum($acc161274512778, $list1274512778[16])
395- if (($size1274512778 == 17))
396- then $acc171274512778
462+ let $acc171496614999 = sum($acc161496614999, $list1496614999[16])
463+ if (($size1496614999 == 17))
464+ then $acc171496614999
397465 else {
398- let $acc181274512778 = sum($acc171274512778, $list1274512778[17])
399- if (($size1274512778 == 18))
400- then $acc181274512778
466+ let $acc181496614999 = sum($acc171496614999, $list1496614999[17])
467+ if (($size1496614999 == 18))
468+ then $acc181496614999
401469 else {
402- let $acc191274512778 = sum($acc181274512778, $list1274512778[18])
403- if (($size1274512778 == 19))
404- then $acc191274512778
470+ let $acc191496614999 = sum($acc181496614999, $list1496614999[18])
471+ if (($size1496614999 == 19))
472+ then $acc191496614999
405473 else {
406- let $acc201274512778 = sum($acc191274512778, $list1274512778[19])
407- if (($size1274512778 == 20))
408- then $acc201274512778
474+ let $acc201496614999 = sum($acc191496614999, $list1496614999[19])
475+ if (($size1496614999 == 20))
476+ then $acc201496614999
409477 else {
410- let $acc211274512778 = sum($acc201274512778, $list1274512778[20])
478+ let $acc211496614999 = sum($acc201496614999, $list1496614999[20])
411479 throw("List size exceed 20")
412480 }
413481 }
414482 }
415483 }
416484 }
417485 }
418486 }
419487 }
420488 }
421489 }
422490 }
423491 }
424492 }
425493 }
426494 }
427495 }
428496 }
429497 }
430498 }
431499 }
432500 }
433501 }
434502 let sumRewardCurrent = {
435- let $list1280712839 = currentRewards
436- let $size1280712839 = size($list1280712839)
437- let $acc01280712839 = 0
438- if (($size1280712839 == 0))
439- then $acc01280712839
503+ let $list1502815060 = currentRewards
504+ let $size1502815060 = size($list1502815060)
505+ let $acc01502815060 = 0
506+ if (($size1502815060 == 0))
507+ then $acc01502815060
440508 else {
441- let $acc11280712839 = sum($acc01280712839, $list1280712839[0])
442- if (($size1280712839 == 1))
443- then $acc11280712839
509+ let $acc11502815060 = sum($acc01502815060, $list1502815060[0])
510+ if (($size1502815060 == 1))
511+ then $acc11502815060
444512 else {
445- let $acc21280712839 = sum($acc11280712839, $list1280712839[1])
446- if (($size1280712839 == 2))
447- then $acc21280712839
513+ let $acc21502815060 = sum($acc11502815060, $list1502815060[1])
514+ if (($size1502815060 == 2))
515+ then $acc21502815060
448516 else {
449- let $acc31280712839 = sum($acc21280712839, $list1280712839[2])
450- if (($size1280712839 == 3))
451- then $acc31280712839
517+ let $acc31502815060 = sum($acc21502815060, $list1502815060[2])
518+ if (($size1502815060 == 3))
519+ then $acc31502815060
452520 else {
453- let $acc41280712839 = sum($acc31280712839, $list1280712839[3])
454- if (($size1280712839 == 4))
455- then $acc41280712839
521+ let $acc41502815060 = sum($acc31502815060, $list1502815060[3])
522+ if (($size1502815060 == 4))
523+ then $acc41502815060
456524 else {
457- let $acc51280712839 = sum($acc41280712839, $list1280712839[4])
458- if (($size1280712839 == 5))
459- then $acc51280712839
525+ let $acc51502815060 = sum($acc41502815060, $list1502815060[4])
526+ if (($size1502815060 == 5))
527+ then $acc51502815060
460528 else {
461- let $acc61280712839 = sum($acc51280712839, $list1280712839[5])
462- if (($size1280712839 == 6))
463- then $acc61280712839
529+ let $acc61502815060 = sum($acc51502815060, $list1502815060[5])
530+ if (($size1502815060 == 6))
531+ then $acc61502815060
464532 else {
465- let $acc71280712839 = sum($acc61280712839, $list1280712839[6])
466- if (($size1280712839 == 7))
467- then $acc71280712839
533+ let $acc71502815060 = sum($acc61502815060, $list1502815060[6])
534+ if (($size1502815060 == 7))
535+ then $acc71502815060
468536 else {
469- let $acc81280712839 = sum($acc71280712839, $list1280712839[7])
470- if (($size1280712839 == 8))
471- then $acc81280712839
537+ let $acc81502815060 = sum($acc71502815060, $list1502815060[7])
538+ if (($size1502815060 == 8))
539+ then $acc81502815060
472540 else {
473- let $acc91280712839 = sum($acc81280712839, $list1280712839[8])
474- if (($size1280712839 == 9))
475- then $acc91280712839
541+ let $acc91502815060 = sum($acc81502815060, $list1502815060[8])
542+ if (($size1502815060 == 9))
543+ then $acc91502815060
476544 else {
477- let $acc101280712839 = sum($acc91280712839, $list1280712839[9])
478- if (($size1280712839 == 10))
479- then $acc101280712839
545+ let $acc101502815060 = sum($acc91502815060, $list1502815060[9])
546+ if (($size1502815060 == 10))
547+ then $acc101502815060
480548 else {
481- let $acc111280712839 = sum($acc101280712839, $list1280712839[10])
482- if (($size1280712839 == 11))
483- then $acc111280712839
549+ let $acc111502815060 = sum($acc101502815060, $list1502815060[10])
550+ if (($size1502815060 == 11))
551+ then $acc111502815060
484552 else {
485- let $acc121280712839 = sum($acc111280712839, $list1280712839[11])
486- if (($size1280712839 == 12))
487- then $acc121280712839
553+ let $acc121502815060 = sum($acc111502815060, $list1502815060[11])
554+ if (($size1502815060 == 12))
555+ then $acc121502815060
488556 else {
489- let $acc131280712839 = sum($acc121280712839, $list1280712839[12])
490- if (($size1280712839 == 13))
491- then $acc131280712839
557+ let $acc131502815060 = sum($acc121502815060, $list1502815060[12])
558+ if (($size1502815060 == 13))
559+ then $acc131502815060
492560 else {
493- let $acc141280712839 = sum($acc131280712839, $list1280712839[13])
494- if (($size1280712839 == 14))
495- then $acc141280712839
561+ let $acc141502815060 = sum($acc131502815060, $list1502815060[13])
562+ if (($size1502815060 == 14))
563+ then $acc141502815060
496564 else {
497- let $acc151280712839 = sum($acc141280712839, $list1280712839[14])
498- if (($size1280712839 == 15))
499- then $acc151280712839
565+ let $acc151502815060 = sum($acc141502815060, $list1502815060[14])
566+ if (($size1502815060 == 15))
567+ then $acc151502815060
500568 else {
501- let $acc161280712839 = sum($acc151280712839, $list1280712839[15])
502- if (($size1280712839 == 16))
503- then $acc161280712839
569+ let $acc161502815060 = sum($acc151502815060, $list1502815060[15])
570+ if (($size1502815060 == 16))
571+ then $acc161502815060
504572 else {
505- let $acc171280712839 = sum($acc161280712839, $list1280712839[16])
506- if (($size1280712839 == 17))
507- then $acc171280712839
573+ let $acc171502815060 = sum($acc161502815060, $list1502815060[16])
574+ if (($size1502815060 == 17))
575+ then $acc171502815060
508576 else {
509- let $acc181280712839 = sum($acc171280712839, $list1280712839[17])
510- if (($size1280712839 == 18))
511- then $acc181280712839
577+ let $acc181502815060 = sum($acc171502815060, $list1502815060[17])
578+ if (($size1502815060 == 18))
579+ then $acc181502815060
512580 else {
513- let $acc191280712839 = sum($acc181280712839, $list1280712839[18])
514- if (($size1280712839 == 19))
515- then $acc191280712839
581+ let $acc191502815060 = sum($acc181502815060, $list1502815060[18])
582+ if (($size1502815060 == 19))
583+ then $acc191502815060
516584 else {
517- let $acc201280712839 = sum($acc191280712839, $list1280712839[19])
518- if (($size1280712839 == 20))
519- then $acc201280712839
585+ let $acc201502815060 = sum($acc191502815060, $list1502815060[19])
586+ if (($size1502815060 == 20))
587+ then $acc201502815060
520588 else {
521- let $acc211280712839 = sum($acc201280712839, $list1280712839[20])
589+ let $acc211502815060 = sum($acc201502815060, $list1502815060[20])
522590 throw("List size exceed 20")
523591 }
524592 }
525593 }
526594 }
527595 }
528596 }
529597 }
530598 }
531599 }
532600 }
533601 }
534602 }
535603 }
536604 }
537605 }
538606 }
539607 }
540608 }
541609 }
542610 }
543611 }
544612 }
545613 if ((height > rewardUpdateHeight))
546614 then throw("rewardUpdateHeight < height")
547615 else if (if ((sumRewardPrevious != totalVoteShare))
548616 then true
549617 else (sumRewardCurrent != totalVoteShare))
550618 then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
551619 else {
552620 let previousRewardEntryNew = {
553- let $list1314813196 = previousPools
554- let $size1314813196 = size($list1314813196)
555- let $acc01314813196 = nil
556- if (($size1314813196 == 0))
557- then $acc01314813196
621+ let $list1537215420 = previousPools
622+ let $size1537215420 = size($list1537215420)
623+ let $acc01537215420 = nil
624+ if (($size1537215420 == 0))
625+ then $acc01537215420
558626 else {
559- let $acc11314813196 = PreviousRewardEntry($acc01314813196, $list1314813196[0])
560- if (($size1314813196 == 1))
561- then $acc11314813196
627+ let $acc11537215420 = PreviousRewardEntry($acc01537215420, $list1537215420[0])
628+ if (($size1537215420 == 1))
629+ then $acc11537215420
562630 else {
563- let $acc21314813196 = PreviousRewardEntry($acc11314813196, $list1314813196[1])
564- if (($size1314813196 == 2))
565- then $acc21314813196
631+ let $acc21537215420 = PreviousRewardEntry($acc11537215420, $list1537215420[1])
632+ if (($size1537215420 == 2))
633+ then $acc21537215420
566634 else {
567- let $acc31314813196 = PreviousRewardEntry($acc21314813196, $list1314813196[2])
568- if (($size1314813196 == 3))
569- then $acc31314813196
635+ let $acc31537215420 = PreviousRewardEntry($acc21537215420, $list1537215420[2])
636+ if (($size1537215420 == 3))
637+ then $acc31537215420
570638 else {
571- let $acc41314813196 = PreviousRewardEntry($acc31314813196, $list1314813196[3])
572- if (($size1314813196 == 4))
573- then $acc41314813196
639+ let $acc41537215420 = PreviousRewardEntry($acc31537215420, $list1537215420[3])
640+ if (($size1537215420 == 4))
641+ then $acc41537215420
574642 else {
575- let $acc51314813196 = PreviousRewardEntry($acc41314813196, $list1314813196[4])
576- if (($size1314813196 == 5))
577- then $acc51314813196
643+ let $acc51537215420 = PreviousRewardEntry($acc41537215420, $list1537215420[4])
644+ if (($size1537215420 == 5))
645+ then $acc51537215420
578646 else {
579- let $acc61314813196 = PreviousRewardEntry($acc51314813196, $list1314813196[5])
580- if (($size1314813196 == 6))
581- then $acc61314813196
647+ let $acc61537215420 = PreviousRewardEntry($acc51537215420, $list1537215420[5])
648+ if (($size1537215420 == 6))
649+ then $acc61537215420
582650 else {
583- let $acc71314813196 = PreviousRewardEntry($acc61314813196, $list1314813196[6])
584- if (($size1314813196 == 7))
585- then $acc71314813196
651+ let $acc71537215420 = PreviousRewardEntry($acc61537215420, $list1537215420[6])
652+ if (($size1537215420 == 7))
653+ then $acc71537215420
586654 else {
587- let $acc81314813196 = PreviousRewardEntry($acc71314813196, $list1314813196[7])
588- if (($size1314813196 == 8))
589- then $acc81314813196
655+ let $acc81537215420 = PreviousRewardEntry($acc71537215420, $list1537215420[7])
656+ if (($size1537215420 == 8))
657+ then $acc81537215420
590658 else {
591- let $acc91314813196 = PreviousRewardEntry($acc81314813196, $list1314813196[8])
592- if (($size1314813196 == 9))
593- then $acc91314813196
659+ let $acc91537215420 = PreviousRewardEntry($acc81537215420, $list1537215420[8])
660+ if (($size1537215420 == 9))
661+ then $acc91537215420
594662 else {
595- let $acc101314813196 = PreviousRewardEntry($acc91314813196, $list1314813196[9])
596- if (($size1314813196 == 10))
597- then $acc101314813196
663+ let $acc101537215420 = PreviousRewardEntry($acc91537215420, $list1537215420[9])
664+ if (($size1537215420 == 10))
665+ then $acc101537215420
598666 else {
599- let $acc111314813196 = PreviousRewardEntry($acc101314813196, $list1314813196[10])
600- if (($size1314813196 == 11))
601- then $acc111314813196
667+ let $acc111537215420 = PreviousRewardEntry($acc101537215420, $list1537215420[10])
668+ if (($size1537215420 == 11))
669+ then $acc111537215420
602670 else {
603- let $acc121314813196 = PreviousRewardEntry($acc111314813196, $list1314813196[11])
604- if (($size1314813196 == 12))
605- then $acc121314813196
671+ let $acc121537215420 = PreviousRewardEntry($acc111537215420, $list1537215420[11])
672+ if (($size1537215420 == 12))
673+ then $acc121537215420
606674 else {
607- let $acc131314813196 = PreviousRewardEntry($acc121314813196, $list1314813196[12])
608- if (($size1314813196 == 13))
609- then $acc131314813196
675+ let $acc131537215420 = PreviousRewardEntry($acc121537215420, $list1537215420[12])
676+ if (($size1537215420 == 13))
677+ then $acc131537215420
610678 else {
611- let $acc141314813196 = PreviousRewardEntry($acc131314813196, $list1314813196[13])
612- if (($size1314813196 == 14))
613- then $acc141314813196
679+ let $acc141537215420 = PreviousRewardEntry($acc131537215420, $list1537215420[13])
680+ if (($size1537215420 == 14))
681+ then $acc141537215420
614682 else {
615- let $acc151314813196 = PreviousRewardEntry($acc141314813196, $list1314813196[14])
616- if (($size1314813196 == 15))
617- then $acc151314813196
683+ let $acc151537215420 = PreviousRewardEntry($acc141537215420, $list1537215420[14])
684+ if (($size1537215420 == 15))
685+ then $acc151537215420
618686 else {
619- let $acc161314813196 = PreviousRewardEntry($acc151314813196, $list1314813196[15])
620- if (($size1314813196 == 16))
621- then $acc161314813196
687+ let $acc161537215420 = PreviousRewardEntry($acc151537215420, $list1537215420[15])
688+ if (($size1537215420 == 16))
689+ then $acc161537215420
622690 else {
623- let $acc171314813196 = PreviousRewardEntry($acc161314813196, $list1314813196[16])
624- if (($size1314813196 == 17))
625- then $acc171314813196
691+ let $acc171537215420 = PreviousRewardEntry($acc161537215420, $list1537215420[16])
692+ if (($size1537215420 == 17))
693+ then $acc171537215420
626694 else {
627- let $acc181314813196 = PreviousRewardEntry($acc171314813196, $list1314813196[17])
628- if (($size1314813196 == 18))
629- then $acc181314813196
695+ let $acc181537215420 = PreviousRewardEntry($acc171537215420, $list1537215420[17])
696+ if (($size1537215420 == 18))
697+ then $acc181537215420
630698 else {
631- let $acc191314813196 = PreviousRewardEntry($acc181314813196, $list1314813196[18])
632- if (($size1314813196 == 19))
633- then $acc191314813196
699+ let $acc191537215420 = PreviousRewardEntry($acc181537215420, $list1537215420[18])
700+ if (($size1537215420 == 19))
701+ then $acc191537215420
634702 else {
635- let $acc201314813196 = PreviousRewardEntry($acc191314813196, $list1314813196[19])
636- if (($size1314813196 == 20))
637- then $acc201314813196
703+ let $acc201537215420 = PreviousRewardEntry($acc191537215420, $list1537215420[19])
704+ if (($size1537215420 == 20))
705+ then $acc201537215420
638706 else {
639- let $acc211314813196 = PreviousRewardEntry($acc201314813196, $list1314813196[20])
707+ let $acc211537215420 = PreviousRewardEntry($acc201537215420, $list1537215420[20])
640708 throw("List size exceed 20")
641709 }
642710 }
643711 }
644712 }
645713 }
646714 }
647715 }
648716 }
649717 }
650718 }
651719 }
652720 }
653721 }
654722 }
655723 }
656724 }
657725 }
658726 }
659727 }
660728 }
661729 }
662730 }
663731 let currentRewardEntryNew = {
664- let $list1322913275 = currentPools
665- let $size1322913275 = size($list1322913275)
666- let $acc01322913275 = nil
667- if (($size1322913275 == 0))
668- then $acc01322913275
732+ let $list1545315499 = currentPools
733+ let $size1545315499 = size($list1545315499)
734+ let $acc01545315499 = nil
735+ if (($size1545315499 == 0))
736+ then $acc01545315499
669737 else {
670- let $acc11322913275 = CurrentRewardEntry($acc01322913275, $list1322913275[0])
671- if (($size1322913275 == 1))
672- then $acc11322913275
738+ let $acc11545315499 = CurrentRewardEntry($acc01545315499, $list1545315499[0])
739+ if (($size1545315499 == 1))
740+ then $acc11545315499
673741 else {
674- let $acc21322913275 = CurrentRewardEntry($acc11322913275, $list1322913275[1])
675- if (($size1322913275 == 2))
676- then $acc21322913275
742+ let $acc21545315499 = CurrentRewardEntry($acc11545315499, $list1545315499[1])
743+ if (($size1545315499 == 2))
744+ then $acc21545315499
677745 else {
678- let $acc31322913275 = CurrentRewardEntry($acc21322913275, $list1322913275[2])
679- if (($size1322913275 == 3))
680- then $acc31322913275
746+ let $acc31545315499 = CurrentRewardEntry($acc21545315499, $list1545315499[2])
747+ if (($size1545315499 == 3))
748+ then $acc31545315499
681749 else {
682- let $acc41322913275 = CurrentRewardEntry($acc31322913275, $list1322913275[3])
683- if (($size1322913275 == 4))
684- then $acc41322913275
750+ let $acc41545315499 = CurrentRewardEntry($acc31545315499, $list1545315499[3])
751+ if (($size1545315499 == 4))
752+ then $acc41545315499
685753 else {
686- let $acc51322913275 = CurrentRewardEntry($acc41322913275, $list1322913275[4])
687- if (($size1322913275 == 5))
688- then $acc51322913275
754+ let $acc51545315499 = CurrentRewardEntry($acc41545315499, $list1545315499[4])
755+ if (($size1545315499 == 5))
756+ then $acc51545315499
689757 else {
690- let $acc61322913275 = CurrentRewardEntry($acc51322913275, $list1322913275[5])
691- if (($size1322913275 == 6))
692- then $acc61322913275
758+ let $acc61545315499 = CurrentRewardEntry($acc51545315499, $list1545315499[5])
759+ if (($size1545315499 == 6))
760+ then $acc61545315499
693761 else {
694- let $acc71322913275 = CurrentRewardEntry($acc61322913275, $list1322913275[6])
695- if (($size1322913275 == 7))
696- then $acc71322913275
762+ let $acc71545315499 = CurrentRewardEntry($acc61545315499, $list1545315499[6])
763+ if (($size1545315499 == 7))
764+ then $acc71545315499
697765 else {
698- let $acc81322913275 = CurrentRewardEntry($acc71322913275, $list1322913275[7])
699- if (($size1322913275 == 8))
700- then $acc81322913275
766+ let $acc81545315499 = CurrentRewardEntry($acc71545315499, $list1545315499[7])
767+ if (($size1545315499 == 8))
768+ then $acc81545315499
701769 else {
702- let $acc91322913275 = CurrentRewardEntry($acc81322913275, $list1322913275[8])
703- if (($size1322913275 == 9))
704- then $acc91322913275
770+ let $acc91545315499 = CurrentRewardEntry($acc81545315499, $list1545315499[8])
771+ if (($size1545315499 == 9))
772+ then $acc91545315499
705773 else {
706- let $acc101322913275 = CurrentRewardEntry($acc91322913275, $list1322913275[9])
707- if (($size1322913275 == 10))
708- then $acc101322913275
774+ let $acc101545315499 = CurrentRewardEntry($acc91545315499, $list1545315499[9])
775+ if (($size1545315499 == 10))
776+ then $acc101545315499
709777 else {
710- let $acc111322913275 = CurrentRewardEntry($acc101322913275, $list1322913275[10])
711- if (($size1322913275 == 11))
712- then $acc111322913275
778+ let $acc111545315499 = CurrentRewardEntry($acc101545315499, $list1545315499[10])
779+ if (($size1545315499 == 11))
780+ then $acc111545315499
713781 else {
714- let $acc121322913275 = CurrentRewardEntry($acc111322913275, $list1322913275[11])
715- if (($size1322913275 == 12))
716- then $acc121322913275
782+ let $acc121545315499 = CurrentRewardEntry($acc111545315499, $list1545315499[11])
783+ if (($size1545315499 == 12))
784+ then $acc121545315499
717785 else {
718- let $acc131322913275 = CurrentRewardEntry($acc121322913275, $list1322913275[12])
719- if (($size1322913275 == 13))
720- then $acc131322913275
786+ let $acc131545315499 = CurrentRewardEntry($acc121545315499, $list1545315499[12])
787+ if (($size1545315499 == 13))
788+ then $acc131545315499
721789 else {
722- let $acc141322913275 = CurrentRewardEntry($acc131322913275, $list1322913275[13])
723- if (($size1322913275 == 14))
724- then $acc141322913275
790+ let $acc141545315499 = CurrentRewardEntry($acc131545315499, $list1545315499[13])
791+ if (($size1545315499 == 14))
792+ then $acc141545315499
725793 else {
726- let $acc151322913275 = CurrentRewardEntry($acc141322913275, $list1322913275[14])
727- if (($size1322913275 == 15))
728- then $acc151322913275
794+ let $acc151545315499 = CurrentRewardEntry($acc141545315499, $list1545315499[14])
795+ if (($size1545315499 == 15))
796+ then $acc151545315499
729797 else {
730- let $acc161322913275 = CurrentRewardEntry($acc151322913275, $list1322913275[15])
731- if (($size1322913275 == 16))
732- then $acc161322913275
798+ let $acc161545315499 = CurrentRewardEntry($acc151545315499, $list1545315499[15])
799+ if (($size1545315499 == 16))
800+ then $acc161545315499
733801 else {
734- let $acc171322913275 = CurrentRewardEntry($acc161322913275, $list1322913275[16])
735- if (($size1322913275 == 17))
736- then $acc171322913275
802+ let $acc171545315499 = CurrentRewardEntry($acc161545315499, $list1545315499[16])
803+ if (($size1545315499 == 17))
804+ then $acc171545315499
737805 else {
738- let $acc181322913275 = CurrentRewardEntry($acc171322913275, $list1322913275[17])
739- if (($size1322913275 == 18))
740- then $acc181322913275
806+ let $acc181545315499 = CurrentRewardEntry($acc171545315499, $list1545315499[17])
807+ if (($size1545315499 == 18))
808+ then $acc181545315499
741809 else {
742- let $acc191322913275 = CurrentRewardEntry($acc181322913275, $list1322913275[18])
743- if (($size1322913275 == 19))
744- then $acc191322913275
810+ let $acc191545315499 = CurrentRewardEntry($acc181545315499, $list1545315499[18])
811+ if (($size1545315499 == 19))
812+ then $acc191545315499
745813 else {
746- let $acc201322913275 = CurrentRewardEntry($acc191322913275, $list1322913275[19])
747- if (($size1322913275 == 20))
748- then $acc201322913275
814+ let $acc201545315499 = CurrentRewardEntry($acc191545315499, $list1545315499[19])
815+ if (($size1545315499 == 20))
816+ then $acc201545315499
749817 else {
750- let $acc211322913275 = CurrentRewardEntry($acc201322913275, $list1322913275[20])
818+ let $acc211545315499 = CurrentRewardEntry($acc201545315499, $list1545315499[20])
751819 throw("List size exceed 20")
752820 }
753821 }
754822 }
755823 }
756824 }
757825 }
758826 }
759827 }
760828 }
761829 }
762830 }
763831 }
764832 }
765833 }
766834 }
767835 }
768836 }
769837 }
770838 }
771839 }
772840 }
773841 }
774842 ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)])
775843 }
776844 }
777845
778846
779847
780848 @Callable(i)
781849 func shutdown () = if (!(isActive))
782850 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
783851 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
784852 then throw("Only admin can call this function")
785853 else suspend("Paused by admin")
786854
787855
788856
789857 @Callable(i)
790858 func activate () = if (isActive)
791859 then throw("DApp is already active")
792860 else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
793861 then throw("Only admin can call this function")
794862 else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
795863
796864
797865 @Verifier(tx)
798866 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
799867

github/deemru/w8io/026f985 
872.71 ms