tx · 5sdX2AZpGn9x7b6C4KiFmkFS9PRaQ32ehD6S3qwJ8wdH

3N2PsBtpAFjcCmnY4ug9fCnP9uAf92BRNqa:  -0.01400000 Waves

2021.10.31 12:58 [1770335] smart account 3N2PsBtpAFjcCmnY4ug9fCnP9uAf92BRNqa > SELF 0.00000000 Waves

{ "type": 13, "id": "5sdX2AZpGn9x7b6C4KiFmkFS9PRaQ32ehD6S3qwJ8wdH", "fee": 1400000, "feeAssetId": null, "timestamp": 1635674358480, "version": 1, "sender": "3N2PsBtpAFjcCmnY4ug9fCnP9uAf92BRNqa", "senderPublicKey": "4m1T5M5UjpJzJ2maGzy7zPqfqqKpAF5gWpLPF7VFe1ed", "proofs": [ "ckBSpwreYq7MDWeuSkQzMf9GtNKeonoYbjwkuY63vSG51jer2h57wSpcA46gMP4sWLS3kw2tiJmecu21TWTug8Q" ], "script": "base64:AAIFAAAAAAAAABsIAhIAEgASAwoBARIAEgASBgoEGBEBARIAEgAAAABOAAAAAAxhZG1pblB1YktleTEBAAAAILoJ1zuJWaTRXaD/8bsz0KrhOWkPy+K9kdY77k9eqOATAAAAAAxhZG1pblB1YktleTIBAAAAIMKRRJmz0rC0DSKlkVi9iLyhN7sIy//djOaU71sWDn5AAAAAAAxhZG1pblB1YktleTMBAAAAII4eFy54sQc79EhOejMoYHYod/yZ5ZIwoyDCz6ir6Q5VAAAAABRhZG1pblB1YktleVN0YXJ0U3RvcAEAAAAgzlkO3OqzXqOuG/1XXufreRE1KXRGMps8FV88BRsoYXsAAAAAEWFkbWluUHViS2V5V2FsbGV0AQAAACDlq5yzCbXuMxTezUwhJrkFBGEjGqw4ZaqMUbXFoZ/PHAAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAACGtleUNhdXNlAgAAAA5zaHV0ZG93bl9jYXVzZQAAAAAPa2V5TGFzdEludGVyZXN0AgAAAA1sYXN0X2ludGVyZXN0AAAAABNrZXlVc2VyTGFzdEludGVyZXN0AgAAAA5fbGFzdF9pbn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AAAAWkBAAAACGFjdGl2YXRlAAAAAAMFAAAACGlzQWN0aXZlCQAAAgAAAAECAAAAFkRBcHAgaXMgYWxyZWFkeSBhY3RpdmUDCQEAAAABIQAAAAEJAQAAAA9jb250YWluc0VsZW1lbnQAAAACCQAETAAAAAIFAAAADGFkbWluUHViS2V5MQkABEwAAAACBQAAAAxhZG1pblB1YktleTIJAARMAAAAAgUAAAAMYWRtaW5QdWJLZXkzCQAETAAAAAIFAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wBQAAAANuaWwIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAACFPbmx5IGFkbWluIGNhbiBjYWxsIHRoaXMgZnVuY3Rpb24JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAACWtleUFjdGl2ZQYJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAIa2V5Q2F1c2UFAAAAA25pbAAAAAC5L5xf", "chainId": 84, "height": 1770335, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 7sM8MbhXGUrLLCGCE5ooFmQdiatLq99UAjNJFvttcZAD Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let adminPubKey1 = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA'
5+
6+let adminPubKey2 = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7'
7+
8+let adminPubKey3 = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ'
9+
10+let adminPubKeyStartStop = base58'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg'
11+
12+let adminPubKeyWallet = base58'GTY8yEJ2S4heRompxyvbJoBN1Td5BM5Pp4JgVbj9tmCw'
13+
14+let keyActive = "active"
15+
16+let keyCause = "shutdown_cause"
17+
18+let keyLastInterest = "last_interest"
19+
20+let keyUserLastInterest = "_last_interest"
21+
22+let keyUserSWOPLocked = "_SWOP_amount"
23+
24+let keyUserGetBackHeight = "_getBackHeight"
25+
26+let keyTotalSWOPLocked = "total_SWOP_amount"
27+
28+let kUserTotalVoteSWOP = "_user_total_SWOP_vote"
29+
30+let keyUserVoteOptionAmount = "_SWOP_option_amount"
31+
32+let keyTotalVoteOptionAmount = "total_SWOP_option_amount"
33+
34+let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount"
35+
36+let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount"
37+
38+let keyVoteName = "vote_name"
39+
40+let keyOptionName = "_option_name"
41+
42+let keyVotingStartHeight = "_startHeight"
43+
44+let keyVoteDuration = "_vote_duration"
45+
46+let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward"
47+
48+let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
49+
50+let keyHeightPoolFraction = "_pool_reward_update_height"
51+
52+let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current"
53+
54+let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
55+
56+let keyRewardUpdateHeight = "reward_update_height"
57+
58+let keyRewardUpdateFirstPaginationHeight = "reward_update_height_first_pagination"
59+
60+let keyNoVotingForNewPool = "_vote_no"
61+
62+let keyYesVotingForNewPool = "_vote_yes"
63+
64+let keyAmountOfVotingForNewPool = "max_amount_voting"
65+
66+let keyStatusOfVotingForNewPool = "_status"
67+
68+let keyHeightOfPoolVotingForNewPool = "_finish_height"
69+
70+let activeVoteFirst = "voting_active_cell_1"
71+
72+let activeVoteSecond = "voting_active_cell_2"
73+
74+let activeVoteThird = "voting_active_cell_3"
75+
76+let keyTempCurSum = "sum_reward_current"
77+
78+let isActive = valueOrElse(getBoolean(this, keyActive), true)
79+
80+let farmingSWOPAddress = Address(base58'3P73HDkPqG15nLXevjCbmXtazHYTZbpPoPw')
81+
82+let votingLiteContract = Address(base58'3PQZWxShKGRgBN1qoJw6B4s9YWS9FneZTPg')
83+
84+let votingForNewPool = Address(base58'3PHgHf5C4WvHJucSHrjoVnMFsP1EhWffVLt')
85+
86+let keySWOPid = "SWOP_id"
87+
88+let SWOP = fromBase58String("Ccgesc9iWMSg1f8CqFP5nZwgF6xsGirReDhpvNp1JAWW")
89+
90+let scaleValue = 100000000
91+
92+let totalVoteShare = 10000000000
93+
94+let kStartHeight = "start_height"
95+
96+let kBasePeriod = "base_period"
97+
98+let kPeriodLength = "period_length"
99+
100+let kUserTotalStruc = "_user_total_struc"
101+
102+let basePeriod = valueOrErrorMessage(getInteger(votingLiteContract, kBasePeriod), "Empty kBasePeriod at voting contract")
103+
104+let startHeight = valueOrErrorMessage(getInteger(votingLiteContract, kStartHeight), "Empty kStartHeight at voting contract")
105+
106+let periodLength = valueOrErrorMessage(getInteger(votingLiteContract, kPeriodLength), "Empty kPeriodLength at voting contract")
107+
108+let firstActiveVote = valueOrElse(getString(votingForNewPool, activeVoteFirst), "")
109+
110+let secondActiveVote = valueOrElse(getString(votingForNewPool, activeVoteSecond), "")
111+
112+let thirdActiveVote = valueOrElse(getString(votingForNewPool, activeVoteThird), "")
113+
114+let currVotingPeriod = (basePeriod + ((height - startHeight) / periodLength))
115+
116+func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)]
117+
118+
119+func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount")
120+
121+
122+func getLastInterestInfo () = {
123+ let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0)
124+ lastInterest
125+ }
126+
127+
128+func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0)
129+
130+
131+func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0)
132+
133+
134+func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
135+
136+
137+func getUserInterestInfo (user,lastInterest) = {
138+ let userSWOPAmount = getUserSWOPLocked(user)
139+ let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest))
140+ let userLastInterestValue = match userLastInterest {
141+ case userLastInterest: Int =>
142+ userLastInterest
143+ case _ =>
144+ lastInterest
145+ }
146+ $Tuple2(userLastInterestValue, userSWOPAmount)
147+ }
148+
149+
150+func getUserTotalVoteAmountForOnePool (pool,user) = {
151+ let voting = valueOrElse(getInteger(votingForNewPool, pool), -1)
152+ let heightOfVoting = valueOrElse(getInteger(votingForNewPool, (toString(voting) + keyHeightOfPoolVotingForNewPool)), 0)
153+ let statusOfVoting = valueOrElse(getBoolean(votingForNewPool, (toString(voting) + keyStatusOfVotingForNewPool)), true)
154+ let currentHeight = height
155+ if ((0 > voting))
156+ then 0
157+ else if (!(statusOfVoting))
158+ then 0
159+ else if ((heightOfVoting > currentHeight))
160+ then (valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyYesVotingForNewPool)), 0) + valueOrElse(getInteger(votingForNewPool, (((toString(user) + "_") + toString(voting)) + keyNoVotingForNewPool)), 0))
161+ else 0
162+ }
163+
164+
165+func getUserTotalVoteForNewPoolAmount (user) = {
166+ let listOfVoting = [getUserTotalVoteAmountForOnePool(firstActiveVote, user), getUserTotalVoteAmountForOnePool(secondActiveVote, user), getUserTotalVoteAmountForOnePool(thirdActiveVote, user)]
167+ max(listOfVoting)
168+ }
169+
170+
171+func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0)
172+
173+
174+func getUserVoteInfo (user) = {
175+ let $t059936544 = if (isDefined(getString(votingLiteContract, (toString(user) + kUserTotalStruc))))
176+ then {
177+ let data = split(valueOrErrorMessage(getString(votingLiteContract, (toString(user) + kUserTotalStruc)), "Empty kUserTotalStruc"), "_")
178+ $Tuple3(parseIntValue(data[0]), parseIntValue(data[1]), parseIntValue(data[2]))
179+ }
180+ else {
181+ let uPoolTotalSWOP = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0)
182+ $Tuple3(uPoolTotalSWOP, 0, currVotingPeriod)
183+ }
184+ let userTotalVoteSWOP = $t059936544._1
185+ let userUnvoted = $t059936544._2
186+ let userUnvotedPeriod = $t059936544._3
187+ let userUnvotedActual = if ((userUnvotedPeriod == currVotingPeriod))
188+ then userUnvoted
189+ else 0
190+ $Tuple2(userTotalVoteSWOP, userUnvotedActual)
191+ }
192+
193+
194+func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0)
195+
196+
197+func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0)
198+
199+
200+func getPoolUpdateHeight (pool) = valueOrElse(getInteger(this, (pool + keyHeightPoolFraction)), 0)
201+
202+
203+func isDefinePoolUpdateHeight (pool) = isDefined(getInteger(this, (pool + keyHeightPoolFraction)))
204+
205+
206+func getCurPoolWeight (pool) = valueOrElse(getInteger(this, (pool + keyRewardPoolFractionCurrent)), 0)
207+
208+
209+func getPrevPoolWeight (pool) = valueOrElse(getInteger(this, (pool + keyRewardPoolFractionPrevious)), 0)
210+
211+
212+func getVoteOptionAmount (user,voteName,option) = {
213+ let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount))
214+ let uvoa = match userVoteOptionAmount {
215+ case uvoa: Int =>
216+ uvoa
217+ case uvoa: Unit =>
218+ 0
219+ case _ =>
220+ throw("Match error")
221+ }
222+ valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount))
223+ }
224+
225+
226+func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration))
227+
228+
229+func getTotalVoteOptionAmount (voteName,option) = {
230+ let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount))
231+ let tvoa = match totalVoteOptionAmount {
232+ case tvoa: Int =>
233+ tvoa
234+ case tvoa: Unit =>
235+ 0
236+ case _ =>
237+ throw("Match error")
238+ }
239+ tvoa
240+ }
241+
242+
243+func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = {
244+ let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight))
245+ valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key))
246+ }
247+
248+
249+func claimCalc (caller) = {
250+ let lastInterest = getLastInterestInfo()
251+ let $t089489028 = getUserInterestInfo(caller, lastInterest)
252+ let userLastInterest = $t089489028._1
253+ let userSWOPLocked = $t089489028._2
254+ let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
255+ let userNewInterest = lastInterest
256+ $Tuple2(userNewInterest, claimAmount)
257+ }
258+
259+
260+@Callable(i)
261+func airDrop () = if (!(isActive))
262+ then throw("DApp is inactive at this moment")
263+ else {
264+ let $t092939368 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
265+ let pmtAmount = $t092939368._1
266+ let pmtAssetId = $t092939368._2
267+ if ((pmtAssetId != SWOP))
268+ then throw("Incorrect pmtAssetId")
269+ else {
270+ let totalSWOPLocked = getTotalSWOPLocked()
271+ let lastInterest = getLastInterestInfo()
272+ if (true)
273+ then throw(toString(totalSWOPLocked))
274+ else {
275+ let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked))
276+[IntegerEntry(keyLastInterest, interestNew)]
277+ }
278+ }
279+ }
280+
281+
282+
283+@Callable(i)
284+func lockSWOP () = if (!(isActive))
285+ then throw("DApp is inactive at this moment")
286+ else {
287+ let $t098669941 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
288+ let pmtAmount = $t098669941._1
289+ let pmtAssetId = $t098669941._2
290+ if ((pmtAssetId != SWOP))
291+ then throw("Incorrect pmtAssetId")
292+ else {
293+ let lastInterest = getLastInterestInfo()
294+ let $t01005710139 = getUserInterestInfo(i.caller, lastInterest)
295+ let userLastInterest = $t01005710139._1
296+ let userSWOPLocked = $t01005710139._2
297+ let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue)
298+ let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount)
299+ let userNewInterest = lastInterest
300+ let totalSWOPLocked = getTotalSWOPLocked()
301+ let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount)
302+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
303+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
304+[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)]
305+ }
306+ }
307+
308+
309+
310+@Callable(i)
311+func withdrawSWOP (withdrawAmount) = if (!(isActive))
312+ then throw("DApp is inactive at this moment")
313+ else if ((0 >= withdrawAmount))
314+ then throw("withdrawAmount <= 0")
315+ else {
316+ let totalSWOPLocked = getTotalSWOPLocked()
317+ let userSWOPLocked = getUserSWOPLocked(i.caller)
318+ let $t01128911344 = claimCalc(i.caller)
319+ let userNewInterest = $t01128911344._1
320+ let claimAmount = $t01128911344._2
321+ let $t01134911438 = $Tuple2(0, 0)
322+ let userVoteAmount = $t01134911438._1
323+ let userUnvoteAmount = $t01134911438._2
324+ let userVoteAmountForNewPool = getUserTotalVoteForNewPoolAmount(i.caller)
325+ if (if (if ((0 > userUnvoteAmount))
326+ then true
327+ else (0 > userVoteAmount))
328+ then true
329+ else (0 > userVoteAmountForNewPool))
330+ then throw("userUnvoteAmount < 0 || userVoteAmount < 0 || userVoteAmountForNewPool < 0")
331+ else {
332+ let availableToUnstake = (userSWOPLocked - max([userVoteAmountForNewPool, (userVoteAmount + userUnvoteAmount)]))
333+ if ((withdrawAmount > availableToUnstake))
334+ then throw("withdrawAmount > availableToUnstake")
335+ else {
336+ let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount)
337+ let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount)
338+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
339+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
340+[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)]
341+ }
342+ }
343+ }
344+
345+
346+
347+@Callable(i)
348+func claimAndWithdrawSWOP () = if (!(isActive))
349+ then throw("DApp is inactive at this moment")
350+ else {
351+ let lastInterest = getLastInterestInfo()
352+ let $t01281812873 = claimCalc(i.caller)
353+ let userNewInterest = $t01281812873._1
354+ let claimAmount = $t01281812873._2
355+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
356+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
357+ if ((claimAmount == 0))
358+ then throw("You have 0 available SWOP")
359+ else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)]
360+ }
361+
362+
363+
364+@Callable(i)
365+func claimAndStakeSWOP () = if (!(isActive))
366+ then throw("DApp is inactive at this moment")
367+ else {
368+ let totalSWOPLocked = getTotalSWOPLocked()
369+ let userSWOPLocked = getUserSWOPLocked(i.caller)
370+ let lastInterest = getLastInterestInfo()
371+ let $t01365213707 = claimCalc(i.caller)
372+ let userNewInterest = $t01365213707._1
373+ let claimAmount = $t01365213707._2
374+ let userSWOPLockedNew = (userSWOPLocked + claimAmount)
375+ let totalSWOPLockedNew = (totalSWOPLocked + claimAmount)
376+ let userClaimedAmount = getUserSWOPClaimedAmount(i.caller)
377+ let userClaimedAmountNew = (userClaimedAmount + claimAmount)
378+ if ((claimAmount == 0))
379+ then throw("You have 0 available SWOP")
380+ 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)]
381+ }
382+
383+
384+
385+@Callable(i)
386+func updateWeights (currentPools,currentRewards,rewardUpdateHeight,pagination) = if (!(isActive))
387+ then throw("DApp is inactive at this moment")
388+ else {
389+ let amountPools = 10
390+ let totalRewardUpdateHeight = valueOrElse(getInteger(this, keyRewardUpdateHeight), 0)
391+ if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop, adminPubKeyWallet], i.callerPublicKey)))
392+ then throw("Only admin can call this function")
393+ else if ((size(currentPools) > amountPools))
394+ then throw(("Max amount of pool is " + toString(amountPools)))
395+ else if ((totalRewardUpdateHeight >= rewardUpdateHeight))
396+ then throw("rewardUpdateHeight <= totalRewardUpdateHeight")
397+ else if ((height >= rewardUpdateHeight))
398+ then throw("height >= rewardUpdateHeight")
399+ else if ((0 >= rewardUpdateHeight))
400+ then throw("0 >= rewardUpdateHeight ")
401+ else {
402+ func sum (a,b) = (a + b)
403+
404+ func changePreviousRewardEntry (accumulated,pool) = {
405+ let poolRewardUpdateHeight = getPoolUpdateHeight(pool)
406+ if (if (!(isDefinePoolUpdateHeight(pool)))
407+ then true
408+ else if ((rewardUpdateHeight != poolRewardUpdateHeight))
409+ then (poolRewardUpdateHeight == totalRewardUpdateHeight)
410+ else false)
411+ then {
412+ let poolReward = getCurPoolWeight(pool)
413+IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated
414+ }
415+ else {
416+ let poolReward = getPrevPoolWeight(pool)
417+IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated
418+ }
419+ }
420+
421+ func changeCurrentRewardEntry (accumulated,pool) = {
422+ let poolIndex = value(indexOf(currentPools, pool))
423+ let poolReward = currentRewards[poolIndex]
424+ if ((0 > poolReward))
425+ then throw("PoolReward < 0")
426+ else IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated
427+ }
428+
429+ func changeHeightEntry (accumulated,pool) = {
430+ let poolHeight = rewardUpdateHeight
431+IntegerEntry((pool + keyHeightPoolFraction), poolHeight) :: accumulated
432+ }
433+
434+ func getSumReward (curTempSum,pagination) = if ((pagination == 0))
435+ then if ((curTempSum > totalVoteShare))
436+ then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(pagination)) + " ") + toString(curTempSum)))
437+ else $Tuple2([IntegerEntry(keyTempCurSum, curTempSum)], [IntegerEntry(keyRewardUpdateFirstPaginationHeight, rewardUpdateHeight)])
438+ else if ((pagination == 1))
439+ then {
440+ let curTempSumFromKey = valueOrElse(getInteger(this, keyTempCurSum), 0)
441+ let rewardUpdateHeightFirstPaginationEntry = valueOrElse(getInteger(this, keyRewardUpdateFirstPaginationHeight), 0)
442+ if (((curTempSum + curTempSumFromKey) > totalVoteShare))
443+ then throw(((("sumRewardPrevious > totalVoteShare or sumRewardCurrent > totalVoteShare - " + toString(pagination)) + " ") + toString((curTempSum + curTempSumFromKey))))
444+ else if ((rewardUpdateHeightFirstPaginationEntry != rewardUpdateHeight))
445+ then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry")
446+ else $Tuple2([IntegerEntry(keyTempCurSum, (curTempSum + curTempSumFromKey))], nil)
447+ }
448+ else if ((pagination == 2))
449+ then {
450+ let curSum = (valueOrElse(getInteger(this, keyTempCurSum), 0) + curTempSum)
451+ let rewardUpdateHeightFirstPaginationEntry = valueOrElse(getInteger(this, keyRewardUpdateFirstPaginationHeight), 0)
452+ if ((curSum != totalVoteShare))
453+ then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare")
454+ else if ((rewardUpdateHeightFirstPaginationEntry != rewardUpdateHeight))
455+ then throw("current rewardUpdateHeight != rewardUpdateHeightFirstPaginationEntry")
456+ else $Tuple2([IntegerEntry(keyTempCurSum, curSum)], nil)
457+ }
458+ else throw("Incorrect pagination")
459+
460+ let previousRewardEntryNew = {
461+ let $l = currentPools
462+ let $s = size($l)
463+ let $acc0 = nil
464+ func 1 ($a,$i) = if (($i >= $s))
465+ then $a
466+ else changePreviousRewardEntry($a, $l[$i])
467+
468+ func 2 ($a,$i) = if (($i >= $s))
469+ then $a
470+ else throw("List size exceeds 10")
471+
472+ 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
473+ }
474+ let currentRewardEntryNew = {
475+ let $l = currentPools
476+ let $s = size($l)
477+ let $acc0 = nil
478+ func 1 ($a,$i) = if (($i >= $s))
479+ then $a
480+ else changeCurrentRewardEntry($a, $l[$i])
481+
482+ func 2 ($a,$i) = if (($i >= $s))
483+ then $a
484+ else throw("List size exceeds 10")
485+
486+ 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
487+ }
488+ let heightEntryNewCur = {
489+ let $l = currentPools
490+ let $s = size($l)
491+ let $acc0 = nil
492+ func 1 ($a,$i) = if (($i >= $s))
493+ then $a
494+ else changeHeightEntry($a, $l[$i])
495+
496+ func 2 ($a,$i) = if (($i >= $s))
497+ then $a
498+ else throw("List size exceeds 10")
499+
500+ 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
501+ }
502+ let sumRewardCurrentTemp = {
503+ let $l = currentRewards
504+ let $s = size($l)
505+ let $acc0 = 0
506+ func 1 ($a,$i) = if (($i >= $s))
507+ then $a
508+ else sum($a, $l[$i])
509+
510+ func 2 ($a,$i) = if (($i >= $s))
511+ then $a
512+ else throw("List size exceeds 10")
513+
514+ 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
515+ }
516+ let $t01885118962 = getSumReward(sumRewardCurrentTemp, pagination)
517+ let sumRewardCurrent = $t01885118962._1
518+ let rewardUpdateHeightFirstPaginationEntry = $t01885118962._2
519+ let rewardUpdateHeightEntry = if ((pagination == 2))
520+ then [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]
521+ else nil
522+ if ((height > rewardUpdateHeight))
523+ then throw("rewardUpdateHeight < height")
524+ else (((((previousRewardEntryNew ++ currentRewardEntryNew) ++ heightEntryNewCur) ++ sumRewardCurrent) ++ rewardUpdateHeightEntry) ++ rewardUpdateHeightFirstPaginationEntry)
525+ }
526+ }
527+
528+
529+
530+@Callable(i)
531+func shutdown () = if (!(isActive))
532+ then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified")))
533+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
534+ then throw("Only admin can call this function")
535+ else suspend("Paused by admin")
536+
537+
538+
539+@Callable(i)
540+func activate () = if (isActive)
541+ then throw("DApp is already active")
542+ else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey)))
543+ then throw("Only admin can call this function")
544+ else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)]
545+
546+

github/deemru/w8io/026f985 
32.64 ms