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/iFkg43d1jzYhVSFBIAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAAD2tleUxhc3RJbnRlcmVzdAIAAAANbGFzdF9pbnRlcmVzdAAAAAATa2V5VXNlckxhc3RJbnRlcmV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mlsCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAAhT25seSBhZG1pbiBjYW4gY2FsbCB0aGlzIGZ1bmN0aW9uCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAAlrZXlBY3RpdmUGCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAACGtleUNhdXNlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleS+SQ1E=", "height": 1522362, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5Qh9RNdVkszT3us4S9bYN2JucFosTdS2htYcUFf2xvaX Next: GQsqsd2a6jyo3Gpt95koXrtSaP95juSmVjbVGQ4g5yMT Diff:
Old | New | Differences | |
---|---|---|---|
63 | 63 | ||
64 | 64 | let keyHeightOfPoolVotingForNewPool = "_height" | |
65 | 65 | ||
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 | + | ||
66 | 76 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
67 | 77 | ||
68 | 78 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
78 | 88 | let scaleValue = 100000000 | |
79 | 89 | ||
80 | 90 | 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)) | |
81 | 117 | ||
82 | 118 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
83 | 119 | ||
97 | 133 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
98 | 134 | ||
99 | 135 | ||
136 | + | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
137 | + | ||
138 | + | ||
100 | 139 | func getUserInterestInfo (user,lastInterest) = { | |
101 | 140 | let userSWOPAmount = getUserSWOPLocked(user) | |
102 | 141 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
110 | 149 | } | |
111 | 150 | ||
112 | 151 | ||
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) | |
120 | 154 | let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0) | |
121 | 155 | let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true) | |
122 | 156 | let currentHeight = height | |
131 | 165 | ||
132 | 166 | ||
133 | 167 | 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)] | |
136 | 169 | 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) | |
137 | 193 | } | |
138 | 194 | ||
139 | 195 | ||
182 | 238 | ||
183 | 239 | func claimCalc (caller) = { | |
184 | 240 | let lastInterest = getLastInterestInfo() | |
185 | - | let $ | |
186 | - | let userLastInterest = $ | |
187 | - | let userSWOPLocked = $ | |
241 | + | let $t085158595 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t085158595._1 | |
243 | + | let userSWOPLocked = $t085158595._2 | |
188 | 244 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
189 | 245 | let userNewInterest = lastInterest | |
190 | 246 | $Tuple2(userNewInterest, claimAmount) | |
195 | 251 | func airDrop () = if (!(isActive)) | |
196 | 252 | then throw("DApp is inactive at this moment") | |
197 | 253 | else { | |
198 | - | let $ | |
199 | - | let pmtAmount = $ | |
200 | - | let pmtAssetId = $ | |
254 | + | let $t088608935 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t088608935._1 | |
256 | + | let pmtAssetId = $t088608935._2 | |
201 | 257 | if ((pmtAssetId != SWOP)) | |
202 | 258 | then throw("Incorrect pmtAssetId") | |
203 | 259 | else { | |
214 | 270 | func lockSWOP () = if (!(isActive)) | |
215 | 271 | then throw("DApp is inactive at this moment") | |
216 | 272 | else { | |
217 | - | let $ | |
218 | - | let pmtAmount = $ | |
219 | - | let pmtAssetId = $ | |
273 | + | let $t093739448 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t093739448._1 | |
275 | + | let pmtAssetId = $t093739448._2 | |
220 | 276 | if ((pmtAssetId != SWOP)) | |
221 | 277 | then throw("Incorrect pmtAssetId") | |
222 | 278 | else { | |
223 | 279 | let lastInterest = getLastInterestInfo() | |
224 | - | let $ | |
225 | - | let userLastInterest = $ | |
226 | - | let userSWOPLocked = $ | |
280 | + | let $t095649646 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t095649646._1 | |
282 | + | let userSWOPLocked = $t095649646._2 | |
227 | 283 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
228 | 284 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
229 | 285 | let userNewInterest = lastInterest | |
240 | 296 | @Callable(i) | |
241 | 297 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 298 | 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) | |
259 | 326 | [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 | + | } | |
262 | 330 | ||
263 | 331 | ||
264 | 332 | ||
267 | 335 | then throw("DApp is inactive at this moment") | |
268 | 336 | else { | |
269 | 337 | let lastInterest = getLastInterestInfo() | |
270 | - | let $ | |
271 | - | let userNewInterest = $ | |
272 | - | let claimAmount = $ | |
338 | + | let $t01229112346 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01229112346._1 | |
340 | + | let claimAmount = $t01229112346._2 | |
273 | 341 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
274 | 342 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
275 | 343 | if ((claimAmount == 0)) | |
286 | 354 | let totalSWOPLocked = getTotalSWOPLocked() | |
287 | 355 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
288 | 356 | let lastInterest = getLastInterestInfo() | |
289 | - | let $ | |
290 | - | let userNewInterest = $ | |
291 | - | let claimAmount = $ | |
357 | + | let $t01312513180 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01312513180._1 | |
359 | + | let claimAmount = $t01312513180._2 | |
292 | 360 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
293 | 361 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
294 | 362 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
321 | 389 | } | |
322 | 390 | ||
323 | 391 | let sumRewardPrevious = { | |
324 | - | let $ | |
325 | - | let $ | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
392 | + | let $list1496614999 = previousRewards | |
393 | + | let $size1496614999 = size($list1496614999) | |
394 | + | let $acc01496614999 = 0 | |
395 | + | if (($size1496614999 == 0)) | |
396 | + | then $acc01496614999 | |
329 | 397 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
398 | + | let $acc11496614999 = sum($acc01496614999, $list1496614999[0]) | |
399 | + | if (($size1496614999 == 1)) | |
400 | + | then $acc11496614999 | |
333 | 401 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
402 | + | let $acc21496614999 = sum($acc11496614999, $list1496614999[1]) | |
403 | + | if (($size1496614999 == 2)) | |
404 | + | then $acc21496614999 | |
337 | 405 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
406 | + | let $acc31496614999 = sum($acc21496614999, $list1496614999[2]) | |
407 | + | if (($size1496614999 == 3)) | |
408 | + | then $acc31496614999 | |
341 | 409 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
410 | + | let $acc41496614999 = sum($acc31496614999, $list1496614999[3]) | |
411 | + | if (($size1496614999 == 4)) | |
412 | + | then $acc41496614999 | |
345 | 413 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
414 | + | let $acc51496614999 = sum($acc41496614999, $list1496614999[4]) | |
415 | + | if (($size1496614999 == 5)) | |
416 | + | then $acc51496614999 | |
349 | 417 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
418 | + | let $acc61496614999 = sum($acc51496614999, $list1496614999[5]) | |
419 | + | if (($size1496614999 == 6)) | |
420 | + | then $acc61496614999 | |
353 | 421 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
422 | + | let $acc71496614999 = sum($acc61496614999, $list1496614999[6]) | |
423 | + | if (($size1496614999 == 7)) | |
424 | + | then $acc71496614999 | |
357 | 425 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
426 | + | let $acc81496614999 = sum($acc71496614999, $list1496614999[7]) | |
427 | + | if (($size1496614999 == 8)) | |
428 | + | then $acc81496614999 | |
361 | 429 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
430 | + | let $acc91496614999 = sum($acc81496614999, $list1496614999[8]) | |
431 | + | if (($size1496614999 == 9)) | |
432 | + | then $acc91496614999 | |
365 | 433 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
434 | + | let $acc101496614999 = sum($acc91496614999, $list1496614999[9]) | |
435 | + | if (($size1496614999 == 10)) | |
436 | + | then $acc101496614999 | |
369 | 437 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
438 | + | let $acc111496614999 = sum($acc101496614999, $list1496614999[10]) | |
439 | + | if (($size1496614999 == 11)) | |
440 | + | then $acc111496614999 | |
373 | 441 | else { | |
374 | - | let $ | |
375 | - | if (($ | |
376 | - | then $ | |
442 | + | let $acc121496614999 = sum($acc111496614999, $list1496614999[11]) | |
443 | + | if (($size1496614999 == 12)) | |
444 | + | then $acc121496614999 | |
377 | 445 | else { | |
378 | - | let $ | |
379 | - | if (($ | |
380 | - | then $ | |
446 | + | let $acc131496614999 = sum($acc121496614999, $list1496614999[12]) | |
447 | + | if (($size1496614999 == 13)) | |
448 | + | then $acc131496614999 | |
381 | 449 | else { | |
382 | - | let $ | |
383 | - | if (($ | |
384 | - | then $ | |
450 | + | let $acc141496614999 = sum($acc131496614999, $list1496614999[13]) | |
451 | + | if (($size1496614999 == 14)) | |
452 | + | then $acc141496614999 | |
385 | 453 | else { | |
386 | - | let $ | |
387 | - | if (($ | |
388 | - | then $ | |
454 | + | let $acc151496614999 = sum($acc141496614999, $list1496614999[14]) | |
455 | + | if (($size1496614999 == 15)) | |
456 | + | then $acc151496614999 | |
389 | 457 | else { | |
390 | - | let $ | |
391 | - | if (($ | |
392 | - | then $ | |
458 | + | let $acc161496614999 = sum($acc151496614999, $list1496614999[15]) | |
459 | + | if (($size1496614999 == 16)) | |
460 | + | then $acc161496614999 | |
393 | 461 | else { | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
462 | + | let $acc171496614999 = sum($acc161496614999, $list1496614999[16]) | |
463 | + | if (($size1496614999 == 17)) | |
464 | + | then $acc171496614999 | |
397 | 465 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
466 | + | let $acc181496614999 = sum($acc171496614999, $list1496614999[17]) | |
467 | + | if (($size1496614999 == 18)) | |
468 | + | then $acc181496614999 | |
401 | 469 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
470 | + | let $acc191496614999 = sum($acc181496614999, $list1496614999[18]) | |
471 | + | if (($size1496614999 == 19)) | |
472 | + | then $acc191496614999 | |
405 | 473 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
474 | + | let $acc201496614999 = sum($acc191496614999, $list1496614999[19]) | |
475 | + | if (($size1496614999 == 20)) | |
476 | + | then $acc201496614999 | |
409 | 477 | else { | |
410 | - | let $ | |
478 | + | let $acc211496614999 = sum($acc201496614999, $list1496614999[20]) | |
411 | 479 | throw("List size exceed 20") | |
412 | 480 | } | |
413 | 481 | } | |
432 | 500 | } | |
433 | 501 | } | |
434 | 502 | let sumRewardCurrent = { | |
435 | - | let $ | |
436 | - | let $ | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
503 | + | let $list1502815060 = currentRewards | |
504 | + | let $size1502815060 = size($list1502815060) | |
505 | + | let $acc01502815060 = 0 | |
506 | + | if (($size1502815060 == 0)) | |
507 | + | then $acc01502815060 | |
440 | 508 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
509 | + | let $acc11502815060 = sum($acc01502815060, $list1502815060[0]) | |
510 | + | if (($size1502815060 == 1)) | |
511 | + | then $acc11502815060 | |
444 | 512 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
513 | + | let $acc21502815060 = sum($acc11502815060, $list1502815060[1]) | |
514 | + | if (($size1502815060 == 2)) | |
515 | + | then $acc21502815060 | |
448 | 516 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
517 | + | let $acc31502815060 = sum($acc21502815060, $list1502815060[2]) | |
518 | + | if (($size1502815060 == 3)) | |
519 | + | then $acc31502815060 | |
452 | 520 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
521 | + | let $acc41502815060 = sum($acc31502815060, $list1502815060[3]) | |
522 | + | if (($size1502815060 == 4)) | |
523 | + | then $acc41502815060 | |
456 | 524 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
525 | + | let $acc51502815060 = sum($acc41502815060, $list1502815060[4]) | |
526 | + | if (($size1502815060 == 5)) | |
527 | + | then $acc51502815060 | |
460 | 528 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
529 | + | let $acc61502815060 = sum($acc51502815060, $list1502815060[5]) | |
530 | + | if (($size1502815060 == 6)) | |
531 | + | then $acc61502815060 | |
464 | 532 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
533 | + | let $acc71502815060 = sum($acc61502815060, $list1502815060[6]) | |
534 | + | if (($size1502815060 == 7)) | |
535 | + | then $acc71502815060 | |
468 | 536 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
537 | + | let $acc81502815060 = sum($acc71502815060, $list1502815060[7]) | |
538 | + | if (($size1502815060 == 8)) | |
539 | + | then $acc81502815060 | |
472 | 540 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
541 | + | let $acc91502815060 = sum($acc81502815060, $list1502815060[8]) | |
542 | + | if (($size1502815060 == 9)) | |
543 | + | then $acc91502815060 | |
476 | 544 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
545 | + | let $acc101502815060 = sum($acc91502815060, $list1502815060[9]) | |
546 | + | if (($size1502815060 == 10)) | |
547 | + | then $acc101502815060 | |
480 | 548 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
549 | + | let $acc111502815060 = sum($acc101502815060, $list1502815060[10]) | |
550 | + | if (($size1502815060 == 11)) | |
551 | + | then $acc111502815060 | |
484 | 552 | else { | |
485 | - | let $ | |
486 | - | if (($ | |
487 | - | then $ | |
553 | + | let $acc121502815060 = sum($acc111502815060, $list1502815060[11]) | |
554 | + | if (($size1502815060 == 12)) | |
555 | + | then $acc121502815060 | |
488 | 556 | else { | |
489 | - | let $ | |
490 | - | if (($ | |
491 | - | then $ | |
557 | + | let $acc131502815060 = sum($acc121502815060, $list1502815060[12]) | |
558 | + | if (($size1502815060 == 13)) | |
559 | + | then $acc131502815060 | |
492 | 560 | else { | |
493 | - | let $ | |
494 | - | if (($ | |
495 | - | then $ | |
561 | + | let $acc141502815060 = sum($acc131502815060, $list1502815060[13]) | |
562 | + | if (($size1502815060 == 14)) | |
563 | + | then $acc141502815060 | |
496 | 564 | else { | |
497 | - | let $ | |
498 | - | if (($ | |
499 | - | then $ | |
565 | + | let $acc151502815060 = sum($acc141502815060, $list1502815060[14]) | |
566 | + | if (($size1502815060 == 15)) | |
567 | + | then $acc151502815060 | |
500 | 568 | else { | |
501 | - | let $ | |
502 | - | if (($ | |
503 | - | then $ | |
569 | + | let $acc161502815060 = sum($acc151502815060, $list1502815060[15]) | |
570 | + | if (($size1502815060 == 16)) | |
571 | + | then $acc161502815060 | |
504 | 572 | else { | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
573 | + | let $acc171502815060 = sum($acc161502815060, $list1502815060[16]) | |
574 | + | if (($size1502815060 == 17)) | |
575 | + | then $acc171502815060 | |
508 | 576 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
577 | + | let $acc181502815060 = sum($acc171502815060, $list1502815060[17]) | |
578 | + | if (($size1502815060 == 18)) | |
579 | + | then $acc181502815060 | |
512 | 580 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
581 | + | let $acc191502815060 = sum($acc181502815060, $list1502815060[18]) | |
582 | + | if (($size1502815060 == 19)) | |
583 | + | then $acc191502815060 | |
516 | 584 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
585 | + | let $acc201502815060 = sum($acc191502815060, $list1502815060[19]) | |
586 | + | if (($size1502815060 == 20)) | |
587 | + | then $acc201502815060 | |
520 | 588 | else { | |
521 | - | let $ | |
589 | + | let $acc211502815060 = sum($acc201502815060, $list1502815060[20]) | |
522 | 590 | throw("List size exceed 20") | |
523 | 591 | } | |
524 | 592 | } | |
550 | 618 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
551 | 619 | else { | |
552 | 620 | let previousRewardEntryNew = { | |
553 | - | let $ | |
554 | - | let $ | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
621 | + | let $list1537215420 = previousPools | |
622 | + | let $size1537215420 = size($list1537215420) | |
623 | + | let $acc01537215420 = nil | |
624 | + | if (($size1537215420 == 0)) | |
625 | + | then $acc01537215420 | |
558 | 626 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
627 | + | let $acc11537215420 = PreviousRewardEntry($acc01537215420, $list1537215420[0]) | |
628 | + | if (($size1537215420 == 1)) | |
629 | + | then $acc11537215420 | |
562 | 630 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
631 | + | let $acc21537215420 = PreviousRewardEntry($acc11537215420, $list1537215420[1]) | |
632 | + | if (($size1537215420 == 2)) | |
633 | + | then $acc21537215420 | |
566 | 634 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
635 | + | let $acc31537215420 = PreviousRewardEntry($acc21537215420, $list1537215420[2]) | |
636 | + | if (($size1537215420 == 3)) | |
637 | + | then $acc31537215420 | |
570 | 638 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
639 | + | let $acc41537215420 = PreviousRewardEntry($acc31537215420, $list1537215420[3]) | |
640 | + | if (($size1537215420 == 4)) | |
641 | + | then $acc41537215420 | |
574 | 642 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
643 | + | let $acc51537215420 = PreviousRewardEntry($acc41537215420, $list1537215420[4]) | |
644 | + | if (($size1537215420 == 5)) | |
645 | + | then $acc51537215420 | |
578 | 646 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
647 | + | let $acc61537215420 = PreviousRewardEntry($acc51537215420, $list1537215420[5]) | |
648 | + | if (($size1537215420 == 6)) | |
649 | + | then $acc61537215420 | |
582 | 650 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
651 | + | let $acc71537215420 = PreviousRewardEntry($acc61537215420, $list1537215420[6]) | |
652 | + | if (($size1537215420 == 7)) | |
653 | + | then $acc71537215420 | |
586 | 654 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
655 | + | let $acc81537215420 = PreviousRewardEntry($acc71537215420, $list1537215420[7]) | |
656 | + | if (($size1537215420 == 8)) | |
657 | + | then $acc81537215420 | |
590 | 658 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
659 | + | let $acc91537215420 = PreviousRewardEntry($acc81537215420, $list1537215420[8]) | |
660 | + | if (($size1537215420 == 9)) | |
661 | + | then $acc91537215420 | |
594 | 662 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
663 | + | let $acc101537215420 = PreviousRewardEntry($acc91537215420, $list1537215420[9]) | |
664 | + | if (($size1537215420 == 10)) | |
665 | + | then $acc101537215420 | |
598 | 666 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
667 | + | let $acc111537215420 = PreviousRewardEntry($acc101537215420, $list1537215420[10]) | |
668 | + | if (($size1537215420 == 11)) | |
669 | + | then $acc111537215420 | |
602 | 670 | else { | |
603 | - | let $ | |
604 | - | if (($ | |
605 | - | then $ | |
671 | + | let $acc121537215420 = PreviousRewardEntry($acc111537215420, $list1537215420[11]) | |
672 | + | if (($size1537215420 == 12)) | |
673 | + | then $acc121537215420 | |
606 | 674 | else { | |
607 | - | let $ | |
608 | - | if (($ | |
609 | - | then $ | |
675 | + | let $acc131537215420 = PreviousRewardEntry($acc121537215420, $list1537215420[12]) | |
676 | + | if (($size1537215420 == 13)) | |
677 | + | then $acc131537215420 | |
610 | 678 | else { | |
611 | - | let $ | |
612 | - | if (($ | |
613 | - | then $ | |
679 | + | let $acc141537215420 = PreviousRewardEntry($acc131537215420, $list1537215420[13]) | |
680 | + | if (($size1537215420 == 14)) | |
681 | + | then $acc141537215420 | |
614 | 682 | else { | |
615 | - | let $ | |
616 | - | if (($ | |
617 | - | then $ | |
683 | + | let $acc151537215420 = PreviousRewardEntry($acc141537215420, $list1537215420[14]) | |
684 | + | if (($size1537215420 == 15)) | |
685 | + | then $acc151537215420 | |
618 | 686 | else { | |
619 | - | let $ | |
620 | - | if (($ | |
621 | - | then $ | |
687 | + | let $acc161537215420 = PreviousRewardEntry($acc151537215420, $list1537215420[15]) | |
688 | + | if (($size1537215420 == 16)) | |
689 | + | then $acc161537215420 | |
622 | 690 | else { | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
691 | + | let $acc171537215420 = PreviousRewardEntry($acc161537215420, $list1537215420[16]) | |
692 | + | if (($size1537215420 == 17)) | |
693 | + | then $acc171537215420 | |
626 | 694 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
695 | + | let $acc181537215420 = PreviousRewardEntry($acc171537215420, $list1537215420[17]) | |
696 | + | if (($size1537215420 == 18)) | |
697 | + | then $acc181537215420 | |
630 | 698 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
699 | + | let $acc191537215420 = PreviousRewardEntry($acc181537215420, $list1537215420[18]) | |
700 | + | if (($size1537215420 == 19)) | |
701 | + | then $acc191537215420 | |
634 | 702 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
703 | + | let $acc201537215420 = PreviousRewardEntry($acc191537215420, $list1537215420[19]) | |
704 | + | if (($size1537215420 == 20)) | |
705 | + | then $acc201537215420 | |
638 | 706 | else { | |
639 | - | let $ | |
707 | + | let $acc211537215420 = PreviousRewardEntry($acc201537215420, $list1537215420[20]) | |
640 | 708 | throw("List size exceed 20") | |
641 | 709 | } | |
642 | 710 | } | |
661 | 729 | } | |
662 | 730 | } | |
663 | 731 | let currentRewardEntryNew = { | |
664 | - | let $ | |
665 | - | let $ | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
732 | + | let $list1545315499 = currentPools | |
733 | + | let $size1545315499 = size($list1545315499) | |
734 | + | let $acc01545315499 = nil | |
735 | + | if (($size1545315499 == 0)) | |
736 | + | then $acc01545315499 | |
669 | 737 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
738 | + | let $acc11545315499 = CurrentRewardEntry($acc01545315499, $list1545315499[0]) | |
739 | + | if (($size1545315499 == 1)) | |
740 | + | then $acc11545315499 | |
673 | 741 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
742 | + | let $acc21545315499 = CurrentRewardEntry($acc11545315499, $list1545315499[1]) | |
743 | + | if (($size1545315499 == 2)) | |
744 | + | then $acc21545315499 | |
677 | 745 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
746 | + | let $acc31545315499 = CurrentRewardEntry($acc21545315499, $list1545315499[2]) | |
747 | + | if (($size1545315499 == 3)) | |
748 | + | then $acc31545315499 | |
681 | 749 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
750 | + | let $acc41545315499 = CurrentRewardEntry($acc31545315499, $list1545315499[3]) | |
751 | + | if (($size1545315499 == 4)) | |
752 | + | then $acc41545315499 | |
685 | 753 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
754 | + | let $acc51545315499 = CurrentRewardEntry($acc41545315499, $list1545315499[4]) | |
755 | + | if (($size1545315499 == 5)) | |
756 | + | then $acc51545315499 | |
689 | 757 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
758 | + | let $acc61545315499 = CurrentRewardEntry($acc51545315499, $list1545315499[5]) | |
759 | + | if (($size1545315499 == 6)) | |
760 | + | then $acc61545315499 | |
693 | 761 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
762 | + | let $acc71545315499 = CurrentRewardEntry($acc61545315499, $list1545315499[6]) | |
763 | + | if (($size1545315499 == 7)) | |
764 | + | then $acc71545315499 | |
697 | 765 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
766 | + | let $acc81545315499 = CurrentRewardEntry($acc71545315499, $list1545315499[7]) | |
767 | + | if (($size1545315499 == 8)) | |
768 | + | then $acc81545315499 | |
701 | 769 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
770 | + | let $acc91545315499 = CurrentRewardEntry($acc81545315499, $list1545315499[8]) | |
771 | + | if (($size1545315499 == 9)) | |
772 | + | then $acc91545315499 | |
705 | 773 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
774 | + | let $acc101545315499 = CurrentRewardEntry($acc91545315499, $list1545315499[9]) | |
775 | + | if (($size1545315499 == 10)) | |
776 | + | then $acc101545315499 | |
709 | 777 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
778 | + | let $acc111545315499 = CurrentRewardEntry($acc101545315499, $list1545315499[10]) | |
779 | + | if (($size1545315499 == 11)) | |
780 | + | then $acc111545315499 | |
713 | 781 | else { | |
714 | - | let $ | |
715 | - | if (($ | |
716 | - | then $ | |
782 | + | let $acc121545315499 = CurrentRewardEntry($acc111545315499, $list1545315499[11]) | |
783 | + | if (($size1545315499 == 12)) | |
784 | + | then $acc121545315499 | |
717 | 785 | else { | |
718 | - | let $ | |
719 | - | if (($ | |
720 | - | then $ | |
786 | + | let $acc131545315499 = CurrentRewardEntry($acc121545315499, $list1545315499[12]) | |
787 | + | if (($size1545315499 == 13)) | |
788 | + | then $acc131545315499 | |
721 | 789 | else { | |
722 | - | let $ | |
723 | - | if (($ | |
724 | - | then $ | |
790 | + | let $acc141545315499 = CurrentRewardEntry($acc131545315499, $list1545315499[13]) | |
791 | + | if (($size1545315499 == 14)) | |
792 | + | then $acc141545315499 | |
725 | 793 | else { | |
726 | - | let $ | |
727 | - | if (($ | |
728 | - | then $ | |
794 | + | let $acc151545315499 = CurrentRewardEntry($acc141545315499, $list1545315499[14]) | |
795 | + | if (($size1545315499 == 15)) | |
796 | + | then $acc151545315499 | |
729 | 797 | else { | |
730 | - | let $ | |
731 | - | if (($ | |
732 | - | then $ | |
798 | + | let $acc161545315499 = CurrentRewardEntry($acc151545315499, $list1545315499[15]) | |
799 | + | if (($size1545315499 == 16)) | |
800 | + | then $acc161545315499 | |
733 | 801 | else { | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
802 | + | let $acc171545315499 = CurrentRewardEntry($acc161545315499, $list1545315499[16]) | |
803 | + | if (($size1545315499 == 17)) | |
804 | + | then $acc171545315499 | |
737 | 805 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
806 | + | let $acc181545315499 = CurrentRewardEntry($acc171545315499, $list1545315499[17]) | |
807 | + | if (($size1545315499 == 18)) | |
808 | + | then $acc181545315499 | |
741 | 809 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
810 | + | let $acc191545315499 = CurrentRewardEntry($acc181545315499, $list1545315499[18]) | |
811 | + | if (($size1545315499 == 19)) | |
812 | + | then $acc191545315499 | |
745 | 813 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
814 | + | let $acc201545315499 = CurrentRewardEntry($acc191545315499, $list1545315499[19]) | |
815 | + | if (($size1545315499 == 20)) | |
816 | + | then $acc201545315499 | |
749 | 817 | else { | |
750 | - | let $ | |
818 | + | let $acc211545315499 = CurrentRewardEntry($acc201545315499, $list1545315499[20]) | |
751 | 819 | throw("List size exceed 20") | |
752 | 820 | } | |
753 | 821 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let adminPubKey1 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let adminPubKey2 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let adminPubKey3 = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let adminPubKeyStartStop = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
11 | 11 | ||
12 | 12 | let adminPubKeyWallet = base58'5CqqMkmtXXt35KRH9LdWA3ap6TffPvTT5SHQzYrVFbBw' | |
13 | 13 | ||
14 | 14 | let keyActive = "active" | |
15 | 15 | ||
16 | 16 | let keyCause = "shutdown_cause" | |
17 | 17 | ||
18 | 18 | let keyLastInterest = "last_interest" | |
19 | 19 | ||
20 | 20 | let keyUserLastInterest = "_last_interest" | |
21 | 21 | ||
22 | 22 | let keyUserSWOPLocked = "_SWOP_amount" | |
23 | 23 | ||
24 | 24 | let keyUserGetBackHeight = "_getBackHeight" | |
25 | 25 | ||
26 | 26 | let keyTotalSWOPLocked = "total_SWOP_amount" | |
27 | 27 | ||
28 | 28 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
29 | 29 | ||
30 | 30 | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
31 | 31 | ||
32 | 32 | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
33 | 33 | ||
34 | 34 | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
35 | 35 | ||
36 | 36 | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
37 | 37 | ||
38 | 38 | let keyVoteName = "vote_name" | |
39 | 39 | ||
40 | 40 | let keyOptionName = "_option_name" | |
41 | 41 | ||
42 | 42 | let keyVotingStartHeight = "_startHeight" | |
43 | 43 | ||
44 | 44 | let keyVoteDuration = "_vote_duration" | |
45 | 45 | ||
46 | 46 | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
47 | 47 | ||
48 | 48 | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
49 | 49 | ||
50 | 50 | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
51 | 51 | ||
52 | 52 | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
53 | 53 | ||
54 | 54 | let keyRewardUpdateHeight = "reward_update_height" | |
55 | 55 | ||
56 | 56 | let keyNoVotingForNewPool = "_no" | |
57 | 57 | ||
58 | 58 | let keyYesVotingForNewPool = "_yes" | |
59 | 59 | ||
60 | 60 | let keyAmountOfVotingForNewPool = "amount_voting" | |
61 | 61 | ||
62 | 62 | let keyStatusOfVotingForNewPool = "_status" | |
63 | 63 | ||
64 | 64 | let keyHeightOfPoolVotingForNewPool = "_height" | |
65 | 65 | ||
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 | + | ||
66 | 76 | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
67 | 77 | ||
68 | 78 | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
69 | 79 | ||
70 | 80 | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
71 | 81 | ||
72 | 82 | let votingForNewPool = Address(base58'3N8DijjUMpYq512vvE9GHnCTUBUd4AZwhH6') | |
73 | 83 | ||
74 | 84 | let keySWOPid = "SWOP_id" | |
75 | 85 | ||
76 | 86 | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
77 | 87 | ||
78 | 88 | let scaleValue = 100000000 | |
79 | 89 | ||
80 | 90 | 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)) | |
81 | 117 | ||
82 | 118 | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
83 | 119 | ||
84 | 120 | ||
85 | 121 | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
86 | 122 | ||
87 | 123 | ||
88 | 124 | func getLastInterestInfo () = { | |
89 | 125 | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
90 | 126 | lastInterest | |
91 | 127 | } | |
92 | 128 | ||
93 | 129 | ||
94 | 130 | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
95 | 131 | ||
96 | 132 | ||
97 | 133 | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
98 | 134 | ||
99 | 135 | ||
136 | + | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
137 | + | ||
138 | + | ||
100 | 139 | func getUserInterestInfo (user,lastInterest) = { | |
101 | 140 | let userSWOPAmount = getUserSWOPLocked(user) | |
102 | 141 | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
103 | 142 | let userLastInterestValue = match userLastInterest { | |
104 | 143 | case userLastInterest: Int => | |
105 | 144 | userLastInterest | |
106 | 145 | case _ => | |
107 | 146 | lastInterest | |
108 | 147 | } | |
109 | 148 | $Tuple2(userLastInterestValue, userSWOPAmount) | |
110 | 149 | } | |
111 | 150 | ||
112 | 151 | ||
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) | |
120 | 154 | let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0) | |
121 | 155 | let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true) | |
122 | 156 | let currentHeight = height | |
123 | 157 | if ((0 > voting)) | |
124 | 158 | then 0 | |
125 | 159 | else if (!(statusOfVoting)) | |
126 | 160 | then 0 | |
127 | 161 | else if ((heightOfVoting > currentHeight)) | |
128 | 162 | then (valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyNoVotingForNewPool)), 0)) | |
129 | 163 | else 0 | |
130 | 164 | } | |
131 | 165 | ||
132 | 166 | ||
133 | 167 | 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)] | |
136 | 169 | 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) | |
137 | 193 | } | |
138 | 194 | ||
139 | 195 | ||
140 | 196 | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
141 | 197 | ||
142 | 198 | ||
143 | 199 | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
144 | 200 | ||
145 | 201 | ||
146 | 202 | func getVoteOptionAmount (user,voteName,option) = { | |
147 | 203 | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
148 | 204 | let uvoa = match userVoteOptionAmount { | |
149 | 205 | case uvoa: Int => | |
150 | 206 | uvoa | |
151 | 207 | case uvoa: Unit => | |
152 | 208 | 0 | |
153 | 209 | case _ => | |
154 | 210 | throw("Match error") | |
155 | 211 | } | |
156 | 212 | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
157 | 213 | } | |
158 | 214 | ||
159 | 215 | ||
160 | 216 | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
161 | 217 | ||
162 | 218 | ||
163 | 219 | func getTotalVoteOptionAmount (voteName,option) = { | |
164 | 220 | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
165 | 221 | let tvoa = match totalVoteOptionAmount { | |
166 | 222 | case tvoa: Int => | |
167 | 223 | tvoa | |
168 | 224 | case tvoa: Unit => | |
169 | 225 | 0 | |
170 | 226 | case _ => | |
171 | 227 | throw("Match error") | |
172 | 228 | } | |
173 | 229 | tvoa | |
174 | 230 | } | |
175 | 231 | ||
176 | 232 | ||
177 | 233 | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
178 | 234 | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
179 | 235 | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
180 | 236 | } | |
181 | 237 | ||
182 | 238 | ||
183 | 239 | func claimCalc (caller) = { | |
184 | 240 | let lastInterest = getLastInterestInfo() | |
185 | - | let $ | |
186 | - | let userLastInterest = $ | |
187 | - | let userSWOPLocked = $ | |
241 | + | let $t085158595 = getUserInterestInfo(caller, lastInterest) | |
242 | + | let userLastInterest = $t085158595._1 | |
243 | + | let userSWOPLocked = $t085158595._2 | |
188 | 244 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
189 | 245 | let userNewInterest = lastInterest | |
190 | 246 | $Tuple2(userNewInterest, claimAmount) | |
191 | 247 | } | |
192 | 248 | ||
193 | 249 | ||
194 | 250 | @Callable(i) | |
195 | 251 | func airDrop () = if (!(isActive)) | |
196 | 252 | then throw("DApp is inactive at this moment") | |
197 | 253 | else { | |
198 | - | let $ | |
199 | - | let pmtAmount = $ | |
200 | - | let pmtAssetId = $ | |
254 | + | let $t088608935 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
255 | + | let pmtAmount = $t088608935._1 | |
256 | + | let pmtAssetId = $t088608935._2 | |
201 | 257 | if ((pmtAssetId != SWOP)) | |
202 | 258 | then throw("Incorrect pmtAssetId") | |
203 | 259 | else { | |
204 | 260 | let totalSWOPLocked = getTotalSWOPLocked() | |
205 | 261 | let lastInterest = getLastInterestInfo() | |
206 | 262 | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
207 | 263 | [IntegerEntry(keyLastInterest, interestNew)] | |
208 | 264 | } | |
209 | 265 | } | |
210 | 266 | ||
211 | 267 | ||
212 | 268 | ||
213 | 269 | @Callable(i) | |
214 | 270 | func lockSWOP () = if (!(isActive)) | |
215 | 271 | then throw("DApp is inactive at this moment") | |
216 | 272 | else { | |
217 | - | let $ | |
218 | - | let pmtAmount = $ | |
219 | - | let pmtAssetId = $ | |
273 | + | let $t093739448 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
274 | + | let pmtAmount = $t093739448._1 | |
275 | + | let pmtAssetId = $t093739448._2 | |
220 | 276 | if ((pmtAssetId != SWOP)) | |
221 | 277 | then throw("Incorrect pmtAssetId") | |
222 | 278 | else { | |
223 | 279 | let lastInterest = getLastInterestInfo() | |
224 | - | let $ | |
225 | - | let userLastInterest = $ | |
226 | - | let userSWOPLocked = $ | |
280 | + | let $t095649646 = getUserInterestInfo(i.caller, lastInterest) | |
281 | + | let userLastInterest = $t095649646._1 | |
282 | + | let userSWOPLocked = $t095649646._2 | |
227 | 283 | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
228 | 284 | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
229 | 285 | let userNewInterest = lastInterest | |
230 | 286 | let totalSWOPLocked = getTotalSWOPLocked() | |
231 | 287 | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
232 | 288 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
233 | 289 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
234 | 290 | [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)] | |
235 | 291 | } | |
236 | 292 | } | |
237 | 293 | ||
238 | 294 | ||
239 | 295 | ||
240 | 296 | @Callable(i) | |
241 | 297 | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
242 | 298 | 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) | |
259 | 326 | [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 | + | } | |
262 | 330 | ||
263 | 331 | ||
264 | 332 | ||
265 | 333 | @Callable(i) | |
266 | 334 | func claimAndWithdrawSWOP () = if (!(isActive)) | |
267 | 335 | then throw("DApp is inactive at this moment") | |
268 | 336 | else { | |
269 | 337 | let lastInterest = getLastInterestInfo() | |
270 | - | let $ | |
271 | - | let userNewInterest = $ | |
272 | - | let claimAmount = $ | |
338 | + | let $t01229112346 = claimCalc(i.caller) | |
339 | + | let userNewInterest = $t01229112346._1 | |
340 | + | let claimAmount = $t01229112346._2 | |
273 | 341 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
274 | 342 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
275 | 343 | if ((claimAmount == 0)) | |
276 | 344 | then throw("You have 0 available SWOP") | |
277 | 345 | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
278 | 346 | } | |
279 | 347 | ||
280 | 348 | ||
281 | 349 | ||
282 | 350 | @Callable(i) | |
283 | 351 | func claimAndStakeSWOP () = if (!(isActive)) | |
284 | 352 | then throw("DApp is inactive at this moment") | |
285 | 353 | else { | |
286 | 354 | let totalSWOPLocked = getTotalSWOPLocked() | |
287 | 355 | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
288 | 356 | let lastInterest = getLastInterestInfo() | |
289 | - | let $ | |
290 | - | let userNewInterest = $ | |
291 | - | let claimAmount = $ | |
357 | + | let $t01312513180 = claimCalc(i.caller) | |
358 | + | let userNewInterest = $t01312513180._1 | |
359 | + | let claimAmount = $t01312513180._2 | |
292 | 360 | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
293 | 361 | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
294 | 362 | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
295 | 363 | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
296 | 364 | if ((claimAmount == 0)) | |
297 | 365 | then throw("You have 0 available SWOP") | |
298 | 366 | 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)] | |
299 | 367 | } | |
300 | 368 | ||
301 | 369 | ||
302 | 370 | ||
303 | 371 | @Callable(i) | |
304 | 372 | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
305 | 373 | then throw("DApp is inactive at this moment") | |
306 | 374 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey))) | |
307 | 375 | then throw("Only admin can call this function") | |
308 | 376 | else { | |
309 | 377 | func sum (a,b) = (a + b) | |
310 | 378 | ||
311 | 379 | func PreviousRewardEntry (accumulated,pool) = { | |
312 | 380 | let poolIndex = value(indexOf(previousPools, pool)) | |
313 | 381 | let poolReward = previousRewards[poolIndex] | |
314 | 382 | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
315 | 383 | } | |
316 | 384 | ||
317 | 385 | func CurrentRewardEntry (accumulated,pool) = { | |
318 | 386 | let poolIndex = value(indexOf(currentPools, pool)) | |
319 | 387 | let poolReward = currentRewards[poolIndex] | |
320 | 388 | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
321 | 389 | } | |
322 | 390 | ||
323 | 391 | let sumRewardPrevious = { | |
324 | - | let $ | |
325 | - | let $ | |
326 | - | let $ | |
327 | - | if (($ | |
328 | - | then $ | |
392 | + | let $list1496614999 = previousRewards | |
393 | + | let $size1496614999 = size($list1496614999) | |
394 | + | let $acc01496614999 = 0 | |
395 | + | if (($size1496614999 == 0)) | |
396 | + | then $acc01496614999 | |
329 | 397 | else { | |
330 | - | let $ | |
331 | - | if (($ | |
332 | - | then $ | |
398 | + | let $acc11496614999 = sum($acc01496614999, $list1496614999[0]) | |
399 | + | if (($size1496614999 == 1)) | |
400 | + | then $acc11496614999 | |
333 | 401 | else { | |
334 | - | let $ | |
335 | - | if (($ | |
336 | - | then $ | |
402 | + | let $acc21496614999 = sum($acc11496614999, $list1496614999[1]) | |
403 | + | if (($size1496614999 == 2)) | |
404 | + | then $acc21496614999 | |
337 | 405 | else { | |
338 | - | let $ | |
339 | - | if (($ | |
340 | - | then $ | |
406 | + | let $acc31496614999 = sum($acc21496614999, $list1496614999[2]) | |
407 | + | if (($size1496614999 == 3)) | |
408 | + | then $acc31496614999 | |
341 | 409 | else { | |
342 | - | let $ | |
343 | - | if (($ | |
344 | - | then $ | |
410 | + | let $acc41496614999 = sum($acc31496614999, $list1496614999[3]) | |
411 | + | if (($size1496614999 == 4)) | |
412 | + | then $acc41496614999 | |
345 | 413 | else { | |
346 | - | let $ | |
347 | - | if (($ | |
348 | - | then $ | |
414 | + | let $acc51496614999 = sum($acc41496614999, $list1496614999[4]) | |
415 | + | if (($size1496614999 == 5)) | |
416 | + | then $acc51496614999 | |
349 | 417 | else { | |
350 | - | let $ | |
351 | - | if (($ | |
352 | - | then $ | |
418 | + | let $acc61496614999 = sum($acc51496614999, $list1496614999[5]) | |
419 | + | if (($size1496614999 == 6)) | |
420 | + | then $acc61496614999 | |
353 | 421 | else { | |
354 | - | let $ | |
355 | - | if (($ | |
356 | - | then $ | |
422 | + | let $acc71496614999 = sum($acc61496614999, $list1496614999[6]) | |
423 | + | if (($size1496614999 == 7)) | |
424 | + | then $acc71496614999 | |
357 | 425 | else { | |
358 | - | let $ | |
359 | - | if (($ | |
360 | - | then $ | |
426 | + | let $acc81496614999 = sum($acc71496614999, $list1496614999[7]) | |
427 | + | if (($size1496614999 == 8)) | |
428 | + | then $acc81496614999 | |
361 | 429 | else { | |
362 | - | let $ | |
363 | - | if (($ | |
364 | - | then $ | |
430 | + | let $acc91496614999 = sum($acc81496614999, $list1496614999[8]) | |
431 | + | if (($size1496614999 == 9)) | |
432 | + | then $acc91496614999 | |
365 | 433 | else { | |
366 | - | let $ | |
367 | - | if (($ | |
368 | - | then $ | |
434 | + | let $acc101496614999 = sum($acc91496614999, $list1496614999[9]) | |
435 | + | if (($size1496614999 == 10)) | |
436 | + | then $acc101496614999 | |
369 | 437 | else { | |
370 | - | let $ | |
371 | - | if (($ | |
372 | - | then $ | |
438 | + | let $acc111496614999 = sum($acc101496614999, $list1496614999[10]) | |
439 | + | if (($size1496614999 == 11)) | |
440 | + | then $acc111496614999 | |
373 | 441 | else { | |
374 | - | let $ | |
375 | - | if (($ | |
376 | - | then $ | |
442 | + | let $acc121496614999 = sum($acc111496614999, $list1496614999[11]) | |
443 | + | if (($size1496614999 == 12)) | |
444 | + | then $acc121496614999 | |
377 | 445 | else { | |
378 | - | let $ | |
379 | - | if (($ | |
380 | - | then $ | |
446 | + | let $acc131496614999 = sum($acc121496614999, $list1496614999[12]) | |
447 | + | if (($size1496614999 == 13)) | |
448 | + | then $acc131496614999 | |
381 | 449 | else { | |
382 | - | let $ | |
383 | - | if (($ | |
384 | - | then $ | |
450 | + | let $acc141496614999 = sum($acc131496614999, $list1496614999[13]) | |
451 | + | if (($size1496614999 == 14)) | |
452 | + | then $acc141496614999 | |
385 | 453 | else { | |
386 | - | let $ | |
387 | - | if (($ | |
388 | - | then $ | |
454 | + | let $acc151496614999 = sum($acc141496614999, $list1496614999[14]) | |
455 | + | if (($size1496614999 == 15)) | |
456 | + | then $acc151496614999 | |
389 | 457 | else { | |
390 | - | let $ | |
391 | - | if (($ | |
392 | - | then $ | |
458 | + | let $acc161496614999 = sum($acc151496614999, $list1496614999[15]) | |
459 | + | if (($size1496614999 == 16)) | |
460 | + | then $acc161496614999 | |
393 | 461 | else { | |
394 | - | let $ | |
395 | - | if (($ | |
396 | - | then $ | |
462 | + | let $acc171496614999 = sum($acc161496614999, $list1496614999[16]) | |
463 | + | if (($size1496614999 == 17)) | |
464 | + | then $acc171496614999 | |
397 | 465 | else { | |
398 | - | let $ | |
399 | - | if (($ | |
400 | - | then $ | |
466 | + | let $acc181496614999 = sum($acc171496614999, $list1496614999[17]) | |
467 | + | if (($size1496614999 == 18)) | |
468 | + | then $acc181496614999 | |
401 | 469 | else { | |
402 | - | let $ | |
403 | - | if (($ | |
404 | - | then $ | |
470 | + | let $acc191496614999 = sum($acc181496614999, $list1496614999[18]) | |
471 | + | if (($size1496614999 == 19)) | |
472 | + | then $acc191496614999 | |
405 | 473 | else { | |
406 | - | let $ | |
407 | - | if (($ | |
408 | - | then $ | |
474 | + | let $acc201496614999 = sum($acc191496614999, $list1496614999[19]) | |
475 | + | if (($size1496614999 == 20)) | |
476 | + | then $acc201496614999 | |
409 | 477 | else { | |
410 | - | let $ | |
478 | + | let $acc211496614999 = sum($acc201496614999, $list1496614999[20]) | |
411 | 479 | throw("List size exceed 20") | |
412 | 480 | } | |
413 | 481 | } | |
414 | 482 | } | |
415 | 483 | } | |
416 | 484 | } | |
417 | 485 | } | |
418 | 486 | } | |
419 | 487 | } | |
420 | 488 | } | |
421 | 489 | } | |
422 | 490 | } | |
423 | 491 | } | |
424 | 492 | } | |
425 | 493 | } | |
426 | 494 | } | |
427 | 495 | } | |
428 | 496 | } | |
429 | 497 | } | |
430 | 498 | } | |
431 | 499 | } | |
432 | 500 | } | |
433 | 501 | } | |
434 | 502 | let sumRewardCurrent = { | |
435 | - | let $ | |
436 | - | let $ | |
437 | - | let $ | |
438 | - | if (($ | |
439 | - | then $ | |
503 | + | let $list1502815060 = currentRewards | |
504 | + | let $size1502815060 = size($list1502815060) | |
505 | + | let $acc01502815060 = 0 | |
506 | + | if (($size1502815060 == 0)) | |
507 | + | then $acc01502815060 | |
440 | 508 | else { | |
441 | - | let $ | |
442 | - | if (($ | |
443 | - | then $ | |
509 | + | let $acc11502815060 = sum($acc01502815060, $list1502815060[0]) | |
510 | + | if (($size1502815060 == 1)) | |
511 | + | then $acc11502815060 | |
444 | 512 | else { | |
445 | - | let $ | |
446 | - | if (($ | |
447 | - | then $ | |
513 | + | let $acc21502815060 = sum($acc11502815060, $list1502815060[1]) | |
514 | + | if (($size1502815060 == 2)) | |
515 | + | then $acc21502815060 | |
448 | 516 | else { | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
517 | + | let $acc31502815060 = sum($acc21502815060, $list1502815060[2]) | |
518 | + | if (($size1502815060 == 3)) | |
519 | + | then $acc31502815060 | |
452 | 520 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
521 | + | let $acc41502815060 = sum($acc31502815060, $list1502815060[3]) | |
522 | + | if (($size1502815060 == 4)) | |
523 | + | then $acc41502815060 | |
456 | 524 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
525 | + | let $acc51502815060 = sum($acc41502815060, $list1502815060[4]) | |
526 | + | if (($size1502815060 == 5)) | |
527 | + | then $acc51502815060 | |
460 | 528 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
529 | + | let $acc61502815060 = sum($acc51502815060, $list1502815060[5]) | |
530 | + | if (($size1502815060 == 6)) | |
531 | + | then $acc61502815060 | |
464 | 532 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
533 | + | let $acc71502815060 = sum($acc61502815060, $list1502815060[6]) | |
534 | + | if (($size1502815060 == 7)) | |
535 | + | then $acc71502815060 | |
468 | 536 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
537 | + | let $acc81502815060 = sum($acc71502815060, $list1502815060[7]) | |
538 | + | if (($size1502815060 == 8)) | |
539 | + | then $acc81502815060 | |
472 | 540 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
541 | + | let $acc91502815060 = sum($acc81502815060, $list1502815060[8]) | |
542 | + | if (($size1502815060 == 9)) | |
543 | + | then $acc91502815060 | |
476 | 544 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
545 | + | let $acc101502815060 = sum($acc91502815060, $list1502815060[9]) | |
546 | + | if (($size1502815060 == 10)) | |
547 | + | then $acc101502815060 | |
480 | 548 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
549 | + | let $acc111502815060 = sum($acc101502815060, $list1502815060[10]) | |
550 | + | if (($size1502815060 == 11)) | |
551 | + | then $acc111502815060 | |
484 | 552 | else { | |
485 | - | let $ | |
486 | - | if (($ | |
487 | - | then $ | |
553 | + | let $acc121502815060 = sum($acc111502815060, $list1502815060[11]) | |
554 | + | if (($size1502815060 == 12)) | |
555 | + | then $acc121502815060 | |
488 | 556 | else { | |
489 | - | let $ | |
490 | - | if (($ | |
491 | - | then $ | |
557 | + | let $acc131502815060 = sum($acc121502815060, $list1502815060[12]) | |
558 | + | if (($size1502815060 == 13)) | |
559 | + | then $acc131502815060 | |
492 | 560 | else { | |
493 | - | let $ | |
494 | - | if (($ | |
495 | - | then $ | |
561 | + | let $acc141502815060 = sum($acc131502815060, $list1502815060[13]) | |
562 | + | if (($size1502815060 == 14)) | |
563 | + | then $acc141502815060 | |
496 | 564 | else { | |
497 | - | let $ | |
498 | - | if (($ | |
499 | - | then $ | |
565 | + | let $acc151502815060 = sum($acc141502815060, $list1502815060[14]) | |
566 | + | if (($size1502815060 == 15)) | |
567 | + | then $acc151502815060 | |
500 | 568 | else { | |
501 | - | let $ | |
502 | - | if (($ | |
503 | - | then $ | |
569 | + | let $acc161502815060 = sum($acc151502815060, $list1502815060[15]) | |
570 | + | if (($size1502815060 == 16)) | |
571 | + | then $acc161502815060 | |
504 | 572 | else { | |
505 | - | let $ | |
506 | - | if (($ | |
507 | - | then $ | |
573 | + | let $acc171502815060 = sum($acc161502815060, $list1502815060[16]) | |
574 | + | if (($size1502815060 == 17)) | |
575 | + | then $acc171502815060 | |
508 | 576 | else { | |
509 | - | let $ | |
510 | - | if (($ | |
511 | - | then $ | |
577 | + | let $acc181502815060 = sum($acc171502815060, $list1502815060[17]) | |
578 | + | if (($size1502815060 == 18)) | |
579 | + | then $acc181502815060 | |
512 | 580 | else { | |
513 | - | let $ | |
514 | - | if (($ | |
515 | - | then $ | |
581 | + | let $acc191502815060 = sum($acc181502815060, $list1502815060[18]) | |
582 | + | if (($size1502815060 == 19)) | |
583 | + | then $acc191502815060 | |
516 | 584 | else { | |
517 | - | let $ | |
518 | - | if (($ | |
519 | - | then $ | |
585 | + | let $acc201502815060 = sum($acc191502815060, $list1502815060[19]) | |
586 | + | if (($size1502815060 == 20)) | |
587 | + | then $acc201502815060 | |
520 | 588 | else { | |
521 | - | let $ | |
589 | + | let $acc211502815060 = sum($acc201502815060, $list1502815060[20]) | |
522 | 590 | throw("List size exceed 20") | |
523 | 591 | } | |
524 | 592 | } | |
525 | 593 | } | |
526 | 594 | } | |
527 | 595 | } | |
528 | 596 | } | |
529 | 597 | } | |
530 | 598 | } | |
531 | 599 | } | |
532 | 600 | } | |
533 | 601 | } | |
534 | 602 | } | |
535 | 603 | } | |
536 | 604 | } | |
537 | 605 | } | |
538 | 606 | } | |
539 | 607 | } | |
540 | 608 | } | |
541 | 609 | } | |
542 | 610 | } | |
543 | 611 | } | |
544 | 612 | } | |
545 | 613 | if ((height > rewardUpdateHeight)) | |
546 | 614 | then throw("rewardUpdateHeight < height") | |
547 | 615 | else if (if ((sumRewardPrevious != totalVoteShare)) | |
548 | 616 | then true | |
549 | 617 | else (sumRewardCurrent != totalVoteShare)) | |
550 | 618 | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
551 | 619 | else { | |
552 | 620 | let previousRewardEntryNew = { | |
553 | - | let $ | |
554 | - | let $ | |
555 | - | let $ | |
556 | - | if (($ | |
557 | - | then $ | |
621 | + | let $list1537215420 = previousPools | |
622 | + | let $size1537215420 = size($list1537215420) | |
623 | + | let $acc01537215420 = nil | |
624 | + | if (($size1537215420 == 0)) | |
625 | + | then $acc01537215420 | |
558 | 626 | else { | |
559 | - | let $ | |
560 | - | if (($ | |
561 | - | then $ | |
627 | + | let $acc11537215420 = PreviousRewardEntry($acc01537215420, $list1537215420[0]) | |
628 | + | if (($size1537215420 == 1)) | |
629 | + | then $acc11537215420 | |
562 | 630 | else { | |
563 | - | let $ | |
564 | - | if (($ | |
565 | - | then $ | |
631 | + | let $acc21537215420 = PreviousRewardEntry($acc11537215420, $list1537215420[1]) | |
632 | + | if (($size1537215420 == 2)) | |
633 | + | then $acc21537215420 | |
566 | 634 | else { | |
567 | - | let $ | |
568 | - | if (($ | |
569 | - | then $ | |
635 | + | let $acc31537215420 = PreviousRewardEntry($acc21537215420, $list1537215420[2]) | |
636 | + | if (($size1537215420 == 3)) | |
637 | + | then $acc31537215420 | |
570 | 638 | else { | |
571 | - | let $ | |
572 | - | if (($ | |
573 | - | then $ | |
639 | + | let $acc41537215420 = PreviousRewardEntry($acc31537215420, $list1537215420[3]) | |
640 | + | if (($size1537215420 == 4)) | |
641 | + | then $acc41537215420 | |
574 | 642 | else { | |
575 | - | let $ | |
576 | - | if (($ | |
577 | - | then $ | |
643 | + | let $acc51537215420 = PreviousRewardEntry($acc41537215420, $list1537215420[4]) | |
644 | + | if (($size1537215420 == 5)) | |
645 | + | then $acc51537215420 | |
578 | 646 | else { | |
579 | - | let $ | |
580 | - | if (($ | |
581 | - | then $ | |
647 | + | let $acc61537215420 = PreviousRewardEntry($acc51537215420, $list1537215420[5]) | |
648 | + | if (($size1537215420 == 6)) | |
649 | + | then $acc61537215420 | |
582 | 650 | else { | |
583 | - | let $ | |
584 | - | if (($ | |
585 | - | then $ | |
651 | + | let $acc71537215420 = PreviousRewardEntry($acc61537215420, $list1537215420[6]) | |
652 | + | if (($size1537215420 == 7)) | |
653 | + | then $acc71537215420 | |
586 | 654 | else { | |
587 | - | let $ | |
588 | - | if (($ | |
589 | - | then $ | |
655 | + | let $acc81537215420 = PreviousRewardEntry($acc71537215420, $list1537215420[7]) | |
656 | + | if (($size1537215420 == 8)) | |
657 | + | then $acc81537215420 | |
590 | 658 | else { | |
591 | - | let $ | |
592 | - | if (($ | |
593 | - | then $ | |
659 | + | let $acc91537215420 = PreviousRewardEntry($acc81537215420, $list1537215420[8]) | |
660 | + | if (($size1537215420 == 9)) | |
661 | + | then $acc91537215420 | |
594 | 662 | else { | |
595 | - | let $ | |
596 | - | if (($ | |
597 | - | then $ | |
663 | + | let $acc101537215420 = PreviousRewardEntry($acc91537215420, $list1537215420[9]) | |
664 | + | if (($size1537215420 == 10)) | |
665 | + | then $acc101537215420 | |
598 | 666 | else { | |
599 | - | let $ | |
600 | - | if (($ | |
601 | - | then $ | |
667 | + | let $acc111537215420 = PreviousRewardEntry($acc101537215420, $list1537215420[10]) | |
668 | + | if (($size1537215420 == 11)) | |
669 | + | then $acc111537215420 | |
602 | 670 | else { | |
603 | - | let $ | |
604 | - | if (($ | |
605 | - | then $ | |
671 | + | let $acc121537215420 = PreviousRewardEntry($acc111537215420, $list1537215420[11]) | |
672 | + | if (($size1537215420 == 12)) | |
673 | + | then $acc121537215420 | |
606 | 674 | else { | |
607 | - | let $ | |
608 | - | if (($ | |
609 | - | then $ | |
675 | + | let $acc131537215420 = PreviousRewardEntry($acc121537215420, $list1537215420[12]) | |
676 | + | if (($size1537215420 == 13)) | |
677 | + | then $acc131537215420 | |
610 | 678 | else { | |
611 | - | let $ | |
612 | - | if (($ | |
613 | - | then $ | |
679 | + | let $acc141537215420 = PreviousRewardEntry($acc131537215420, $list1537215420[13]) | |
680 | + | if (($size1537215420 == 14)) | |
681 | + | then $acc141537215420 | |
614 | 682 | else { | |
615 | - | let $ | |
616 | - | if (($ | |
617 | - | then $ | |
683 | + | let $acc151537215420 = PreviousRewardEntry($acc141537215420, $list1537215420[14]) | |
684 | + | if (($size1537215420 == 15)) | |
685 | + | then $acc151537215420 | |
618 | 686 | else { | |
619 | - | let $ | |
620 | - | if (($ | |
621 | - | then $ | |
687 | + | let $acc161537215420 = PreviousRewardEntry($acc151537215420, $list1537215420[15]) | |
688 | + | if (($size1537215420 == 16)) | |
689 | + | then $acc161537215420 | |
622 | 690 | else { | |
623 | - | let $ | |
624 | - | if (($ | |
625 | - | then $ | |
691 | + | let $acc171537215420 = PreviousRewardEntry($acc161537215420, $list1537215420[16]) | |
692 | + | if (($size1537215420 == 17)) | |
693 | + | then $acc171537215420 | |
626 | 694 | else { | |
627 | - | let $ | |
628 | - | if (($ | |
629 | - | then $ | |
695 | + | let $acc181537215420 = PreviousRewardEntry($acc171537215420, $list1537215420[17]) | |
696 | + | if (($size1537215420 == 18)) | |
697 | + | then $acc181537215420 | |
630 | 698 | else { | |
631 | - | let $ | |
632 | - | if (($ | |
633 | - | then $ | |
699 | + | let $acc191537215420 = PreviousRewardEntry($acc181537215420, $list1537215420[18]) | |
700 | + | if (($size1537215420 == 19)) | |
701 | + | then $acc191537215420 | |
634 | 702 | else { | |
635 | - | let $ | |
636 | - | if (($ | |
637 | - | then $ | |
703 | + | let $acc201537215420 = PreviousRewardEntry($acc191537215420, $list1537215420[19]) | |
704 | + | if (($size1537215420 == 20)) | |
705 | + | then $acc201537215420 | |
638 | 706 | else { | |
639 | - | let $ | |
707 | + | let $acc211537215420 = PreviousRewardEntry($acc201537215420, $list1537215420[20]) | |
640 | 708 | throw("List size exceed 20") | |
641 | 709 | } | |
642 | 710 | } | |
643 | 711 | } | |
644 | 712 | } | |
645 | 713 | } | |
646 | 714 | } | |
647 | 715 | } | |
648 | 716 | } | |
649 | 717 | } | |
650 | 718 | } | |
651 | 719 | } | |
652 | 720 | } | |
653 | 721 | } | |
654 | 722 | } | |
655 | 723 | } | |
656 | 724 | } | |
657 | 725 | } | |
658 | 726 | } | |
659 | 727 | } | |
660 | 728 | } | |
661 | 729 | } | |
662 | 730 | } | |
663 | 731 | let currentRewardEntryNew = { | |
664 | - | let $ | |
665 | - | let $ | |
666 | - | let $ | |
667 | - | if (($ | |
668 | - | then $ | |
732 | + | let $list1545315499 = currentPools | |
733 | + | let $size1545315499 = size($list1545315499) | |
734 | + | let $acc01545315499 = nil | |
735 | + | if (($size1545315499 == 0)) | |
736 | + | then $acc01545315499 | |
669 | 737 | else { | |
670 | - | let $ | |
671 | - | if (($ | |
672 | - | then $ | |
738 | + | let $acc11545315499 = CurrentRewardEntry($acc01545315499, $list1545315499[0]) | |
739 | + | if (($size1545315499 == 1)) | |
740 | + | then $acc11545315499 | |
673 | 741 | else { | |
674 | - | let $ | |
675 | - | if (($ | |
676 | - | then $ | |
742 | + | let $acc21545315499 = CurrentRewardEntry($acc11545315499, $list1545315499[1]) | |
743 | + | if (($size1545315499 == 2)) | |
744 | + | then $acc21545315499 | |
677 | 745 | else { | |
678 | - | let $ | |
679 | - | if (($ | |
680 | - | then $ | |
746 | + | let $acc31545315499 = CurrentRewardEntry($acc21545315499, $list1545315499[2]) | |
747 | + | if (($size1545315499 == 3)) | |
748 | + | then $acc31545315499 | |
681 | 749 | else { | |
682 | - | let $ | |
683 | - | if (($ | |
684 | - | then $ | |
750 | + | let $acc41545315499 = CurrentRewardEntry($acc31545315499, $list1545315499[3]) | |
751 | + | if (($size1545315499 == 4)) | |
752 | + | then $acc41545315499 | |
685 | 753 | else { | |
686 | - | let $ | |
687 | - | if (($ | |
688 | - | then $ | |
754 | + | let $acc51545315499 = CurrentRewardEntry($acc41545315499, $list1545315499[4]) | |
755 | + | if (($size1545315499 == 5)) | |
756 | + | then $acc51545315499 | |
689 | 757 | else { | |
690 | - | let $ | |
691 | - | if (($ | |
692 | - | then $ | |
758 | + | let $acc61545315499 = CurrentRewardEntry($acc51545315499, $list1545315499[5]) | |
759 | + | if (($size1545315499 == 6)) | |
760 | + | then $acc61545315499 | |
693 | 761 | else { | |
694 | - | let $ | |
695 | - | if (($ | |
696 | - | then $ | |
762 | + | let $acc71545315499 = CurrentRewardEntry($acc61545315499, $list1545315499[6]) | |
763 | + | if (($size1545315499 == 7)) | |
764 | + | then $acc71545315499 | |
697 | 765 | else { | |
698 | - | let $ | |
699 | - | if (($ | |
700 | - | then $ | |
766 | + | let $acc81545315499 = CurrentRewardEntry($acc71545315499, $list1545315499[7]) | |
767 | + | if (($size1545315499 == 8)) | |
768 | + | then $acc81545315499 | |
701 | 769 | else { | |
702 | - | let $ | |
703 | - | if (($ | |
704 | - | then $ | |
770 | + | let $acc91545315499 = CurrentRewardEntry($acc81545315499, $list1545315499[8]) | |
771 | + | if (($size1545315499 == 9)) | |
772 | + | then $acc91545315499 | |
705 | 773 | else { | |
706 | - | let $ | |
707 | - | if (($ | |
708 | - | then $ | |
774 | + | let $acc101545315499 = CurrentRewardEntry($acc91545315499, $list1545315499[9]) | |
775 | + | if (($size1545315499 == 10)) | |
776 | + | then $acc101545315499 | |
709 | 777 | else { | |
710 | - | let $ | |
711 | - | if (($ | |
712 | - | then $ | |
778 | + | let $acc111545315499 = CurrentRewardEntry($acc101545315499, $list1545315499[10]) | |
779 | + | if (($size1545315499 == 11)) | |
780 | + | then $acc111545315499 | |
713 | 781 | else { | |
714 | - | let $ | |
715 | - | if (($ | |
716 | - | then $ | |
782 | + | let $acc121545315499 = CurrentRewardEntry($acc111545315499, $list1545315499[11]) | |
783 | + | if (($size1545315499 == 12)) | |
784 | + | then $acc121545315499 | |
717 | 785 | else { | |
718 | - | let $ | |
719 | - | if (($ | |
720 | - | then $ | |
786 | + | let $acc131545315499 = CurrentRewardEntry($acc121545315499, $list1545315499[12]) | |
787 | + | if (($size1545315499 == 13)) | |
788 | + | then $acc131545315499 | |
721 | 789 | else { | |
722 | - | let $ | |
723 | - | if (($ | |
724 | - | then $ | |
790 | + | let $acc141545315499 = CurrentRewardEntry($acc131545315499, $list1545315499[13]) | |
791 | + | if (($size1545315499 == 14)) | |
792 | + | then $acc141545315499 | |
725 | 793 | else { | |
726 | - | let $ | |
727 | - | if (($ | |
728 | - | then $ | |
794 | + | let $acc151545315499 = CurrentRewardEntry($acc141545315499, $list1545315499[14]) | |
795 | + | if (($size1545315499 == 15)) | |
796 | + | then $acc151545315499 | |
729 | 797 | else { | |
730 | - | let $ | |
731 | - | if (($ | |
732 | - | then $ | |
798 | + | let $acc161545315499 = CurrentRewardEntry($acc151545315499, $list1545315499[15]) | |
799 | + | if (($size1545315499 == 16)) | |
800 | + | then $acc161545315499 | |
733 | 801 | else { | |
734 | - | let $ | |
735 | - | if (($ | |
736 | - | then $ | |
802 | + | let $acc171545315499 = CurrentRewardEntry($acc161545315499, $list1545315499[16]) | |
803 | + | if (($size1545315499 == 17)) | |
804 | + | then $acc171545315499 | |
737 | 805 | else { | |
738 | - | let $ | |
739 | - | if (($ | |
740 | - | then $ | |
806 | + | let $acc181545315499 = CurrentRewardEntry($acc171545315499, $list1545315499[17]) | |
807 | + | if (($size1545315499 == 18)) | |
808 | + | then $acc181545315499 | |
741 | 809 | else { | |
742 | - | let $ | |
743 | - | if (($ | |
744 | - | then $ | |
810 | + | let $acc191545315499 = CurrentRewardEntry($acc181545315499, $list1545315499[18]) | |
811 | + | if (($size1545315499 == 19)) | |
812 | + | then $acc191545315499 | |
745 | 813 | else { | |
746 | - | let $ | |
747 | - | if (($ | |
748 | - | then $ | |
814 | + | let $acc201545315499 = CurrentRewardEntry($acc191545315499, $list1545315499[19]) | |
815 | + | if (($size1545315499 == 20)) | |
816 | + | then $acc201545315499 | |
749 | 817 | else { | |
750 | - | let $ | |
818 | + | let $acc211545315499 = CurrentRewardEntry($acc201545315499, $list1545315499[20]) | |
751 | 819 | throw("List size exceed 20") | |
752 | 820 | } | |
753 | 821 | } | |
754 | 822 | } | |
755 | 823 | } | |
756 | 824 | } | |
757 | 825 | } | |
758 | 826 | } | |
759 | 827 | } | |
760 | 828 | } | |
761 | 829 | } | |
762 | 830 | } | |
763 | 831 | } | |
764 | 832 | } | |
765 | 833 | } | |
766 | 834 | } | |
767 | 835 | } | |
768 | 836 | } | |
769 | 837 | } | |
770 | 838 | } | |
771 | 839 | } | |
772 | 840 | } | |
773 | 841 | } | |
774 | 842 | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
775 | 843 | } | |
776 | 844 | } | |
777 | 845 | ||
778 | 846 | ||
779 | 847 | ||
780 | 848 | @Callable(i) | |
781 | 849 | func shutdown () = if (!(isActive)) | |
782 | 850 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
783 | 851 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
784 | 852 | then throw("Only admin can call this function") | |
785 | 853 | else suspend("Paused by admin") | |
786 | 854 | ||
787 | 855 | ||
788 | 856 | ||
789 | 857 | @Callable(i) | |
790 | 858 | func activate () = if (isActive) | |
791 | 859 | then throw("DApp is already active") | |
792 | 860 | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
793 | 861 | then throw("Only admin can call this function") | |
794 | 862 | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
795 | 863 | ||
796 | 864 | ||
797 | 865 | @Verifier(tx) | |
798 | 866 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
799 | 867 |
github/deemru/w8io/026f985 872.71 ms ◑