tx · DRHWudPxAtMdKrqEJfjfcTetAgjcgiRRKeA6VRxXcdts 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS: -0.01000000 Waves 2021.03.30 15:15 [1460486] smart account 3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS > SELF 0.00000000 Waves
{ "type": 13, "id": "DRHWudPxAtMdKrqEJfjfcTetAgjcgiRRKeA6VRxXcdts", "fee": 1000000, "feeAssetId": null, "timestamp": 1617106531932, "version": 2, "chainId": 84, "sender": "3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS", "senderPublicKey": "93SZf1TATCRxGyBuGyngpQGKcpKZirb2yXLT2RQJ3UKb", "proofs": [ "jWVRwBZuDGRcGPVvnpQiWGSBuBUh8WHouQA3sysLMve8DJkTVYztSDomLPaFJEtvGg1Le8d96iRjGXXgUDuMsZZ" ], "script": "base64:AAIEAAAAAAAAABwIAhIAEgASAwoBARIAEgASBwoFGBEYEQESABIAAAAALwAAAAAMYWRtaW5QdWJLZXkxAQAAACC6Cdc7iVmk0V2g//G7M9Cq4TlpD8vivZHWO+5PXqjgEwAAAAAMYWRtaW5QdWJLZXkyAQAAACDCkUSZs9KwtA0ipZFYvYi8oTe7CMv/3YzmlO9bFg5+QAAAAAAMYWRtaW5QdWJLZXkzAQAAACCOHhcueLEHO/RITnozKGB2KHf8meWSMKMgws+oq+kOVQAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIM5ZDtzqs16jrhv9V17n63kRNSl0RjKbPBVfPAUbKGF7AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAA9rZXlMYXN0SW50ZXJlc3QCAAAADWxhc3RfaW50ZXJlc3QAAAAAE2tleVVzZXJMYXN0SW50ZXJlc3QCAAAADl9sYXN0X2ludGVyZXN0AAAAABFrZXlVc2VyU1dPUExvY2tlZAIAAAAMX1NXT1BfYW1vdW50AAAA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AAAJa2V5QWN0aXZlBgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAhrZXlDYXVzZQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmX0DlL", "height": 1460486, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: GAmGWVHKMLyGJPH5AKcx9PpKgnpEJR9EBAdBYbM7cvSB Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
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 keyActive = "active" | |
13 | + | ||
14 | + | let keyCause = "shutdown_cause" | |
15 | + | ||
16 | + | let keyLastInterest = "last_interest" | |
17 | + | ||
18 | + | let keyUserLastInterest = "_last_interest" | |
19 | + | ||
20 | + | let keyUserSWOPLocked = "_SWOP_amount" | |
21 | + | ||
22 | + | let keyUserGetBackHeight = "_getBackHeight" | |
23 | + | ||
24 | + | let keyTotalSWOPLocked = "total_SWOP_amount" | |
25 | + | ||
26 | + | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
27 | + | ||
28 | + | let keyUserVoteOptionAmount = "_SWOP_option_amount" | |
29 | + | ||
30 | + | let keyTotalVoteOptionAmount = "total_SWOP_option_amount" | |
31 | + | ||
32 | + | let keyUserSWOPClaimedAmount = "_SWOP_claimed_amount" | |
33 | + | ||
34 | + | let keyUserSWOPLastClaimedAmount = "_SWOP_last_claimed_amount" | |
35 | + | ||
36 | + | let keyVoteName = "vote_name" | |
37 | + | ||
38 | + | let keyOptionName = "_option_name" | |
39 | + | ||
40 | + | let keyVotingStartHeight = "_startHeight" | |
41 | + | ||
42 | + | let keyVoteDuration = "_vote_duration" | |
43 | + | ||
44 | + | let keyRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
45 | + | ||
46 | + | let keyRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
47 | + | ||
48 | + | let keyTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
49 | + | ||
50 | + | let keyTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
51 | + | ||
52 | + | let keyRewardUpdateHeight = "reward_update_height" | |
53 | + | ||
54 | + | let isActive = valueOrElse(getBoolean(this, keyActive), true) | |
55 | + | ||
56 | + | let farmingSWOPAddress = Address(base58'3MsjAKkxKjxVU4gC1BpJ1jKmAZyRufUCErC') | |
57 | + | ||
58 | + | let votingLiteContract = Address(base58'3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN') | |
59 | + | ||
60 | + | let keySWOPid = "SWOP_id" | |
61 | + | ||
62 | + | let SWOP = fromBase58String(getStringValue(farmingSWOPAddress, keySWOPid)) | |
63 | + | ||
64 | + | let scaleValue = 100000000 | |
65 | + | ||
66 | + | let totalVoteShare = 10000000000 | |
67 | + | ||
68 | + | func suspend (cause) = [BooleanEntry(keyActive, false), StringEntry(keyCause, cause)] | |
69 | + | ||
70 | + | ||
71 | + | func throwNotEnoughSWOP () = throw("Not enough SWOP: userSWOPLocked - userTotalVoteAmount < voteSWOPAmount") | |
72 | + | ||
73 | + | ||
74 | + | func getLastInterestInfo () = { | |
75 | + | let lastInterest = valueOrElse(getInteger(this, keyLastInterest), 0) | |
76 | + | lastInterest | |
77 | + | } | |
78 | + | ||
79 | + | ||
80 | + | func getUserSWOPLocked (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPLocked)), 0) | |
81 | + | ||
82 | + | ||
83 | + | func getUserSWOPClaimedAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserSWOPClaimedAmount)), 0) | |
84 | + | ||
85 | + | ||
86 | + | func getUserInterestInfo (user,lastInterest) = { | |
87 | + | let userSWOPAmount = getUserSWOPLocked(user) | |
88 | + | let userLastInterest = getInteger(this, (toString(user) + keyUserLastInterest)) | |
89 | + | let userLastInterestValue = match userLastInterest { | |
90 | + | case userLastInterest: Int => | |
91 | + | userLastInterest | |
92 | + | case _ => | |
93 | + | lastInterest | |
94 | + | } | |
95 | + | $Tuple2(userLastInterestValue, userSWOPAmount) | |
96 | + | } | |
97 | + | ||
98 | + | ||
99 | + | func getTotalSWOPLocked () = valueOrElse(getInteger(this, keyTotalSWOPLocked), 0) | |
100 | + | ||
101 | + | ||
102 | + | func getUserTotalVoteAmount (user) = valueOrElse(getInteger(votingLiteContract, (toString(user) + kUserTotalVoteSWOP)), 0) | |
103 | + | ||
104 | + | ||
105 | + | func getUserVoteOptionAmount (user) = valueOrElse(getInteger(this, (toString(user) + keyUserVoteOptionAmount)), 0) | |
106 | + | ||
107 | + | ||
108 | + | func getVotingStartHeight (voteName) = valueOrElse(getInteger(this, (voteName + keyVotingStartHeight)), 0) | |
109 | + | ||
110 | + | ||
111 | + | func getVoteOptionAmount (user,voteName,option) = { | |
112 | + | let userVoteOptionAmount = getInteger(this, (((voteName + option) + toString(user)) + keyUserVoteOptionAmount)) | |
113 | + | let uvoa = match userVoteOptionAmount { | |
114 | + | case uvoa: Int => | |
115 | + | uvoa | |
116 | + | case uvoa: Unit => | |
117 | + | 0 | |
118 | + | case _ => | |
119 | + | throw("Match error") | |
120 | + | } | |
121 | + | valueOrErrorMessage(uvoa, (((("No data on the key: " + voteName) + option) + toString(user)) + keyUserVoteOptionAmount)) | |
122 | + | } | |
123 | + | ||
124 | + | ||
125 | + | func getVoteDuration (voteName) = valueOrErrorMessage(getInteger(this, (voteName + keyVoteDuration)), (("No data on the key: " + voteName) + keyVoteDuration)) | |
126 | + | ||
127 | + | ||
128 | + | func getTotalVoteOptionAmount (voteName,option) = { | |
129 | + | let totalVoteOptionAmount = getInteger(this, ((voteName + option) + keyTotalVoteOptionAmount)) | |
130 | + | let tvoa = match totalVoteOptionAmount { | |
131 | + | case tvoa: Int => | |
132 | + | tvoa | |
133 | + | case tvoa: Unit => | |
134 | + | 0 | |
135 | + | case _ => | |
136 | + | throw("Match error") | |
137 | + | } | |
138 | + | tvoa | |
139 | + | } | |
140 | + | ||
141 | + | ||
142 | + | func getUserGetBackAmount (voteName,option,user,getBackSWOPHeight) = { | |
143 | + | let key = ((((((voteName + "_") + option) + "_") + toString(user)) + "_") + toString(getBackSWOPHeight)) | |
144 | + | valueOrErrorMessage(getInteger(this, key), ("No data on the key: " + key)) | |
145 | + | } | |
146 | + | ||
147 | + | ||
148 | + | func claimCalc (caller) = { | |
149 | + | let lastInterest = getLastInterestInfo() | |
150 | + | let $t048494929 = getUserInterestInfo(caller, lastInterest) | |
151 | + | let userLastInterest = $t048494929._1 | |
152 | + | let userSWOPLocked = $t048494929._2 | |
153 | + | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
154 | + | let userNewInterest = lastInterest | |
155 | + | $Tuple2(userNewInterest, claimAmount) | |
156 | + | } | |
157 | + | ||
158 | + | ||
159 | + | @Callable(i) | |
160 | + | func airDrop () = if (!(isActive)) | |
161 | + | then throw("DApp is inactive at this moment") | |
162 | + | else { | |
163 | + | let $t051945269 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
164 | + | let pmtAmount = $t051945269._1 | |
165 | + | let pmtAssetId = $t051945269._2 | |
166 | + | if ((pmtAssetId != SWOP)) | |
167 | + | then throw("Incorrect pmtAssetId") | |
168 | + | else { | |
169 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
170 | + | let lastInterest = getLastInterestInfo() | |
171 | + | let interestNew = (lastInterest + fraction(pmtAmount, scaleValue, totalSWOPLocked)) | |
172 | + | [IntegerEntry(keyLastInterest, interestNew)] | |
173 | + | } | |
174 | + | } | |
175 | + | ||
176 | + | ||
177 | + | ||
178 | + | @Callable(i) | |
179 | + | func lockSWOP () = if (!(isActive)) | |
180 | + | then throw("DApp is inactive at this moment") | |
181 | + | else { | |
182 | + | let $t057075782 = $Tuple2(i.payments[0].amount, i.payments[0].assetId) | |
183 | + | let pmtAmount = $t057075782._1 | |
184 | + | let pmtAssetId = $t057075782._2 | |
185 | + | if ((pmtAssetId != SWOP)) | |
186 | + | then throw("Incorrect pmtAssetId") | |
187 | + | else { | |
188 | + | let lastInterest = getLastInterestInfo() | |
189 | + | let $t058985980 = getUserInterestInfo(i.caller, lastInterest) | |
190 | + | let userLastInterest = $t058985980._1 | |
191 | + | let userSWOPLocked = $t058985980._2 | |
192 | + | let claimAmount = fraction(userSWOPLocked, (lastInterest - userLastInterest), scaleValue) | |
193 | + | let userSWOPLockedNew = ((userSWOPLocked + pmtAmount) + claimAmount) | |
194 | + | let userNewInterest = lastInterest | |
195 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
196 | + | let totalSWOPLockedNew = ((totalSWOPLocked + pmtAmount) + claimAmount) | |
197 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
198 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
199 | + | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
200 | + | } | |
201 | + | } | |
202 | + | ||
203 | + | ||
204 | + | ||
205 | + | @Callable(i) | |
206 | + | func withdrawSWOP (withdrawAmount) = if (!(isActive)) | |
207 | + | then throw("DApp is inactive at this moment") | |
208 | + | else { | |
209 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
210 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
211 | + | let $t070647119 = claimCalc(i.caller) | |
212 | + | let userNewInterest = $t070647119._1 | |
213 | + | let claimAmount = $t070647119._2 | |
214 | + | let userVoteAmount = getUserTotalVoteAmount(i.caller) | |
215 | + | let availableFund = (userSWOPLocked - userVoteAmount) | |
216 | + | if ((withdrawAmount > availableFund)) | |
217 | + | then throw("withdrawAmount > availableFund") | |
218 | + | else { | |
219 | + | let totalSWOPLockedNew = ((totalSWOPLocked + claimAmount) - withdrawAmount) | |
220 | + | let userSWOPamountNew = ((userSWOPLocked + claimAmount) - withdrawAmount) | |
221 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
222 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
223 | + | [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPamountNew), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), ScriptTransfer(i.caller, withdrawAmount, SWOP), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
224 | + | } | |
225 | + | } | |
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | @Callable(i) | |
230 | + | func claimAndWithdrawSWOP () = if (!(isActive)) | |
231 | + | then throw("DApp is inactive at this moment") | |
232 | + | else { | |
233 | + | let lastInterest = getLastInterestInfo() | |
234 | + | let $t082318286 = claimCalc(i.caller) | |
235 | + | let userNewInterest = $t082318286._1 | |
236 | + | let claimAmount = $t082318286._2 | |
237 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
238 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
239 | + | if ((claimAmount == 0)) | |
240 | + | then throw("You have 0 available SWOP") | |
241 | + | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount), ScriptTransfer(i.caller, claimAmount, SWOP)] | |
242 | + | } | |
243 | + | ||
244 | + | ||
245 | + | ||
246 | + | @Callable(i) | |
247 | + | func claimAndStakeSWOP () = if (!(isActive)) | |
248 | + | then throw("DApp is inactive at this moment") | |
249 | + | else { | |
250 | + | let totalSWOPLocked = getTotalSWOPLocked() | |
251 | + | let userSWOPLocked = getUserSWOPLocked(i.caller) | |
252 | + | let lastInterest = getLastInterestInfo() | |
253 | + | let $t090659120 = claimCalc(i.caller) | |
254 | + | let userNewInterest = $t090659120._1 | |
255 | + | let claimAmount = $t090659120._2 | |
256 | + | let userSWOPLockedNew = (userSWOPLocked + claimAmount) | |
257 | + | let totalSWOPLockedNew = (totalSWOPLocked + claimAmount) | |
258 | + | let userClaimedAmount = getUserSWOPClaimedAmount(i.caller) | |
259 | + | let userClaimedAmountNew = (userClaimedAmount + claimAmount) | |
260 | + | if ((claimAmount == 0)) | |
261 | + | then throw("You have 0 available SWOP") | |
262 | + | else [IntegerEntry((toString(i.caller) + keyUserLastInterest), userNewInterest), IntegerEntry(keyTotalSWOPLocked, totalSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPLocked), userSWOPLockedNew), IntegerEntry((toString(i.caller) + keyUserSWOPClaimedAmount), userClaimedAmountNew), IntegerEntry((toString(i.caller) + keyUserSWOPLastClaimedAmount), claimAmount)] | |
263 | + | } | |
264 | + | ||
265 | + | ||
266 | + | ||
267 | + | @Callable(i) | |
268 | + | func updateWeights (previousPools,previousRewards,currentPools,currentRewards,rewardUpdateHeight) = if (!(isActive)) | |
269 | + | then throw("DApp is inactive at this moment") | |
270 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
271 | + | then throw("Only admin can call this function") | |
272 | + | else { | |
273 | + | func sum (a,b) = (a + b) | |
274 | + | ||
275 | + | func PreviousRewardEntry (accumulated,pool) = { | |
276 | + | let poolIndex = value(indexOf(previousPools, pool)) | |
277 | + | let poolReward = previousRewards[poolIndex] | |
278 | + | IntegerEntry((pool + keyRewardPoolFractionPrevious), poolReward) :: accumulated | |
279 | + | } | |
280 | + | ||
281 | + | func CurrentRewardEntry (accumulated,pool) = { | |
282 | + | let poolIndex = value(indexOf(currentPools, pool)) | |
283 | + | let poolReward = currentRewards[poolIndex] | |
284 | + | IntegerEntry((pool + keyRewardPoolFractionCurrent), poolReward) :: accumulated | |
285 | + | } | |
286 | + | ||
287 | + | let sumRewardPrevious = { | |
288 | + | let $list1088110914 = previousRewards | |
289 | + | let $size1088110914 = size($list1088110914) | |
290 | + | let $acc01088110914 = 0 | |
291 | + | if (($size1088110914 == 0)) | |
292 | + | then $acc01088110914 | |
293 | + | else { | |
294 | + | let $acc11088110914 = sum($acc01088110914, $list1088110914[0]) | |
295 | + | if (($size1088110914 == 1)) | |
296 | + | then $acc11088110914 | |
297 | + | else { | |
298 | + | let $acc21088110914 = sum($acc11088110914, $list1088110914[1]) | |
299 | + | if (($size1088110914 == 2)) | |
300 | + | then $acc21088110914 | |
301 | + | else { | |
302 | + | let $acc31088110914 = sum($acc21088110914, $list1088110914[2]) | |
303 | + | if (($size1088110914 == 3)) | |
304 | + | then $acc31088110914 | |
305 | + | else { | |
306 | + | let $acc41088110914 = sum($acc31088110914, $list1088110914[3]) | |
307 | + | if (($size1088110914 == 4)) | |
308 | + | then $acc41088110914 | |
309 | + | else { | |
310 | + | let $acc51088110914 = sum($acc41088110914, $list1088110914[4]) | |
311 | + | if (($size1088110914 == 5)) | |
312 | + | then $acc51088110914 | |
313 | + | else { | |
314 | + | let $acc61088110914 = sum($acc51088110914, $list1088110914[5]) | |
315 | + | if (($size1088110914 == 6)) | |
316 | + | then $acc61088110914 | |
317 | + | else { | |
318 | + | let $acc71088110914 = sum($acc61088110914, $list1088110914[6]) | |
319 | + | if (($size1088110914 == 7)) | |
320 | + | then $acc71088110914 | |
321 | + | else { | |
322 | + | let $acc81088110914 = sum($acc71088110914, $list1088110914[7]) | |
323 | + | if (($size1088110914 == 8)) | |
324 | + | then $acc81088110914 | |
325 | + | else { | |
326 | + | let $acc91088110914 = sum($acc81088110914, $list1088110914[8]) | |
327 | + | if (($size1088110914 == 9)) | |
328 | + | then $acc91088110914 | |
329 | + | else { | |
330 | + | let $acc101088110914 = sum($acc91088110914, $list1088110914[9]) | |
331 | + | if (($size1088110914 == 10)) | |
332 | + | then $acc101088110914 | |
333 | + | else { | |
334 | + | let $acc111088110914 = sum($acc101088110914, $list1088110914[10]) | |
335 | + | if (($size1088110914 == 11)) | |
336 | + | then $acc111088110914 | |
337 | + | else { | |
338 | + | let $acc121088110914 = sum($acc111088110914, $list1088110914[11]) | |
339 | + | if (($size1088110914 == 12)) | |
340 | + | then $acc121088110914 | |
341 | + | else { | |
342 | + | let $acc131088110914 = sum($acc121088110914, $list1088110914[12]) | |
343 | + | if (($size1088110914 == 13)) | |
344 | + | then $acc131088110914 | |
345 | + | else { | |
346 | + | let $acc141088110914 = sum($acc131088110914, $list1088110914[13]) | |
347 | + | if (($size1088110914 == 14)) | |
348 | + | then $acc141088110914 | |
349 | + | else { | |
350 | + | let $acc151088110914 = sum($acc141088110914, $list1088110914[14]) | |
351 | + | if (($size1088110914 == 15)) | |
352 | + | then $acc151088110914 | |
353 | + | else { | |
354 | + | let $acc161088110914 = sum($acc151088110914, $list1088110914[15]) | |
355 | + | if (($size1088110914 == 16)) | |
356 | + | then $acc161088110914 | |
357 | + | else { | |
358 | + | let $acc171088110914 = sum($acc161088110914, $list1088110914[16]) | |
359 | + | if (($size1088110914 == 17)) | |
360 | + | then $acc171088110914 | |
361 | + | else { | |
362 | + | let $acc181088110914 = sum($acc171088110914, $list1088110914[17]) | |
363 | + | if (($size1088110914 == 18)) | |
364 | + | then $acc181088110914 | |
365 | + | else { | |
366 | + | let $acc191088110914 = sum($acc181088110914, $list1088110914[18]) | |
367 | + | if (($size1088110914 == 19)) | |
368 | + | then $acc191088110914 | |
369 | + | else { | |
370 | + | let $acc201088110914 = sum($acc191088110914, $list1088110914[19]) | |
371 | + | if (($size1088110914 == 20)) | |
372 | + | then $acc201088110914 | |
373 | + | else { | |
374 | + | let $acc211088110914 = sum($acc201088110914, $list1088110914[20]) | |
375 | + | throw("List size exceed 20") | |
376 | + | } | |
377 | + | } | |
378 | + | } | |
379 | + | } | |
380 | + | } | |
381 | + | } | |
382 | + | } | |
383 | + | } | |
384 | + | } | |
385 | + | } | |
386 | + | } | |
387 | + | } | |
388 | + | } | |
389 | + | } | |
390 | + | } | |
391 | + | } | |
392 | + | } | |
393 | + | } | |
394 | + | } | |
395 | + | } | |
396 | + | } | |
397 | + | } | |
398 | + | let sumRewardCurrent = { | |
399 | + | let $list1094310975 = currentRewards | |
400 | + | let $size1094310975 = size($list1094310975) | |
401 | + | let $acc01094310975 = 0 | |
402 | + | if (($size1094310975 == 0)) | |
403 | + | then $acc01094310975 | |
404 | + | else { | |
405 | + | let $acc11094310975 = sum($acc01094310975, $list1094310975[0]) | |
406 | + | if (($size1094310975 == 1)) | |
407 | + | then $acc11094310975 | |
408 | + | else { | |
409 | + | let $acc21094310975 = sum($acc11094310975, $list1094310975[1]) | |
410 | + | if (($size1094310975 == 2)) | |
411 | + | then $acc21094310975 | |
412 | + | else { | |
413 | + | let $acc31094310975 = sum($acc21094310975, $list1094310975[2]) | |
414 | + | if (($size1094310975 == 3)) | |
415 | + | then $acc31094310975 | |
416 | + | else { | |
417 | + | let $acc41094310975 = sum($acc31094310975, $list1094310975[3]) | |
418 | + | if (($size1094310975 == 4)) | |
419 | + | then $acc41094310975 | |
420 | + | else { | |
421 | + | let $acc51094310975 = sum($acc41094310975, $list1094310975[4]) | |
422 | + | if (($size1094310975 == 5)) | |
423 | + | then $acc51094310975 | |
424 | + | else { | |
425 | + | let $acc61094310975 = sum($acc51094310975, $list1094310975[5]) | |
426 | + | if (($size1094310975 == 6)) | |
427 | + | then $acc61094310975 | |
428 | + | else { | |
429 | + | let $acc71094310975 = sum($acc61094310975, $list1094310975[6]) | |
430 | + | if (($size1094310975 == 7)) | |
431 | + | then $acc71094310975 | |
432 | + | else { | |
433 | + | let $acc81094310975 = sum($acc71094310975, $list1094310975[7]) | |
434 | + | if (($size1094310975 == 8)) | |
435 | + | then $acc81094310975 | |
436 | + | else { | |
437 | + | let $acc91094310975 = sum($acc81094310975, $list1094310975[8]) | |
438 | + | if (($size1094310975 == 9)) | |
439 | + | then $acc91094310975 | |
440 | + | else { | |
441 | + | let $acc101094310975 = sum($acc91094310975, $list1094310975[9]) | |
442 | + | if (($size1094310975 == 10)) | |
443 | + | then $acc101094310975 | |
444 | + | else { | |
445 | + | let $acc111094310975 = sum($acc101094310975, $list1094310975[10]) | |
446 | + | if (($size1094310975 == 11)) | |
447 | + | then $acc111094310975 | |
448 | + | else { | |
449 | + | let $acc121094310975 = sum($acc111094310975, $list1094310975[11]) | |
450 | + | if (($size1094310975 == 12)) | |
451 | + | then $acc121094310975 | |
452 | + | else { | |
453 | + | let $acc131094310975 = sum($acc121094310975, $list1094310975[12]) | |
454 | + | if (($size1094310975 == 13)) | |
455 | + | then $acc131094310975 | |
456 | + | else { | |
457 | + | let $acc141094310975 = sum($acc131094310975, $list1094310975[13]) | |
458 | + | if (($size1094310975 == 14)) | |
459 | + | then $acc141094310975 | |
460 | + | else { | |
461 | + | let $acc151094310975 = sum($acc141094310975, $list1094310975[14]) | |
462 | + | if (($size1094310975 == 15)) | |
463 | + | then $acc151094310975 | |
464 | + | else { | |
465 | + | let $acc161094310975 = sum($acc151094310975, $list1094310975[15]) | |
466 | + | if (($size1094310975 == 16)) | |
467 | + | then $acc161094310975 | |
468 | + | else { | |
469 | + | let $acc171094310975 = sum($acc161094310975, $list1094310975[16]) | |
470 | + | if (($size1094310975 == 17)) | |
471 | + | then $acc171094310975 | |
472 | + | else { | |
473 | + | let $acc181094310975 = sum($acc171094310975, $list1094310975[17]) | |
474 | + | if (($size1094310975 == 18)) | |
475 | + | then $acc181094310975 | |
476 | + | else { | |
477 | + | let $acc191094310975 = sum($acc181094310975, $list1094310975[18]) | |
478 | + | if (($size1094310975 == 19)) | |
479 | + | then $acc191094310975 | |
480 | + | else { | |
481 | + | let $acc201094310975 = sum($acc191094310975, $list1094310975[19]) | |
482 | + | if (($size1094310975 == 20)) | |
483 | + | then $acc201094310975 | |
484 | + | else { | |
485 | + | let $acc211094310975 = sum($acc201094310975, $list1094310975[20]) | |
486 | + | throw("List size exceed 20") | |
487 | + | } | |
488 | + | } | |
489 | + | } | |
490 | + | } | |
491 | + | } | |
492 | + | } | |
493 | + | } | |
494 | + | } | |
495 | + | } | |
496 | + | } | |
497 | + | } | |
498 | + | } | |
499 | + | } | |
500 | + | } | |
501 | + | } | |
502 | + | } | |
503 | + | } | |
504 | + | } | |
505 | + | } | |
506 | + | } | |
507 | + | } | |
508 | + | } | |
509 | + | if ((height > rewardUpdateHeight)) | |
510 | + | then throw("rewardUpdateHeight < height") | |
511 | + | else if (if ((sumRewardPrevious != totalVoteShare)) | |
512 | + | then true | |
513 | + | else (sumRewardCurrent != totalVoteShare)) | |
514 | + | then throw("sumRewardPrevious != totalVoteShare or sumRewardCurrent != totalVoteShare") | |
515 | + | else { | |
516 | + | let previousRewardEntryNew = { | |
517 | + | let $list1128411332 = previousPools | |
518 | + | let $size1128411332 = size($list1128411332) | |
519 | + | let $acc01128411332 = nil | |
520 | + | if (($size1128411332 == 0)) | |
521 | + | then $acc01128411332 | |
522 | + | else { | |
523 | + | let $acc11128411332 = PreviousRewardEntry($acc01128411332, $list1128411332[0]) | |
524 | + | if (($size1128411332 == 1)) | |
525 | + | then $acc11128411332 | |
526 | + | else { | |
527 | + | let $acc21128411332 = PreviousRewardEntry($acc11128411332, $list1128411332[1]) | |
528 | + | if (($size1128411332 == 2)) | |
529 | + | then $acc21128411332 | |
530 | + | else { | |
531 | + | let $acc31128411332 = PreviousRewardEntry($acc21128411332, $list1128411332[2]) | |
532 | + | if (($size1128411332 == 3)) | |
533 | + | then $acc31128411332 | |
534 | + | else { | |
535 | + | let $acc41128411332 = PreviousRewardEntry($acc31128411332, $list1128411332[3]) | |
536 | + | if (($size1128411332 == 4)) | |
537 | + | then $acc41128411332 | |
538 | + | else { | |
539 | + | let $acc51128411332 = PreviousRewardEntry($acc41128411332, $list1128411332[4]) | |
540 | + | if (($size1128411332 == 5)) | |
541 | + | then $acc51128411332 | |
542 | + | else { | |
543 | + | let $acc61128411332 = PreviousRewardEntry($acc51128411332, $list1128411332[5]) | |
544 | + | if (($size1128411332 == 6)) | |
545 | + | then $acc61128411332 | |
546 | + | else { | |
547 | + | let $acc71128411332 = PreviousRewardEntry($acc61128411332, $list1128411332[6]) | |
548 | + | if (($size1128411332 == 7)) | |
549 | + | then $acc71128411332 | |
550 | + | else { | |
551 | + | let $acc81128411332 = PreviousRewardEntry($acc71128411332, $list1128411332[7]) | |
552 | + | if (($size1128411332 == 8)) | |
553 | + | then $acc81128411332 | |
554 | + | else { | |
555 | + | let $acc91128411332 = PreviousRewardEntry($acc81128411332, $list1128411332[8]) | |
556 | + | if (($size1128411332 == 9)) | |
557 | + | then $acc91128411332 | |
558 | + | else { | |
559 | + | let $acc101128411332 = PreviousRewardEntry($acc91128411332, $list1128411332[9]) | |
560 | + | if (($size1128411332 == 10)) | |
561 | + | then $acc101128411332 | |
562 | + | else { | |
563 | + | let $acc111128411332 = PreviousRewardEntry($acc101128411332, $list1128411332[10]) | |
564 | + | if (($size1128411332 == 11)) | |
565 | + | then $acc111128411332 | |
566 | + | else { | |
567 | + | let $acc121128411332 = PreviousRewardEntry($acc111128411332, $list1128411332[11]) | |
568 | + | if (($size1128411332 == 12)) | |
569 | + | then $acc121128411332 | |
570 | + | else { | |
571 | + | let $acc131128411332 = PreviousRewardEntry($acc121128411332, $list1128411332[12]) | |
572 | + | if (($size1128411332 == 13)) | |
573 | + | then $acc131128411332 | |
574 | + | else { | |
575 | + | let $acc141128411332 = PreviousRewardEntry($acc131128411332, $list1128411332[13]) | |
576 | + | if (($size1128411332 == 14)) | |
577 | + | then $acc141128411332 | |
578 | + | else { | |
579 | + | let $acc151128411332 = PreviousRewardEntry($acc141128411332, $list1128411332[14]) | |
580 | + | if (($size1128411332 == 15)) | |
581 | + | then $acc151128411332 | |
582 | + | else { | |
583 | + | let $acc161128411332 = PreviousRewardEntry($acc151128411332, $list1128411332[15]) | |
584 | + | if (($size1128411332 == 16)) | |
585 | + | then $acc161128411332 | |
586 | + | else { | |
587 | + | let $acc171128411332 = PreviousRewardEntry($acc161128411332, $list1128411332[16]) | |
588 | + | if (($size1128411332 == 17)) | |
589 | + | then $acc171128411332 | |
590 | + | else { | |
591 | + | let $acc181128411332 = PreviousRewardEntry($acc171128411332, $list1128411332[17]) | |
592 | + | if (($size1128411332 == 18)) | |
593 | + | then $acc181128411332 | |
594 | + | else { | |
595 | + | let $acc191128411332 = PreviousRewardEntry($acc181128411332, $list1128411332[18]) | |
596 | + | if (($size1128411332 == 19)) | |
597 | + | then $acc191128411332 | |
598 | + | else { | |
599 | + | let $acc201128411332 = PreviousRewardEntry($acc191128411332, $list1128411332[19]) | |
600 | + | if (($size1128411332 == 20)) | |
601 | + | then $acc201128411332 | |
602 | + | else { | |
603 | + | let $acc211128411332 = PreviousRewardEntry($acc201128411332, $list1128411332[20]) | |
604 | + | throw("List size exceed 20") | |
605 | + | } | |
606 | + | } | |
607 | + | } | |
608 | + | } | |
609 | + | } | |
610 | + | } | |
611 | + | } | |
612 | + | } | |
613 | + | } | |
614 | + | } | |
615 | + | } | |
616 | + | } | |
617 | + | } | |
618 | + | } | |
619 | + | } | |
620 | + | } | |
621 | + | } | |
622 | + | } | |
623 | + | } | |
624 | + | } | |
625 | + | } | |
626 | + | } | |
627 | + | let currentRewardEntryNew = { | |
628 | + | let $list1136511411 = currentPools | |
629 | + | let $size1136511411 = size($list1136511411) | |
630 | + | let $acc01136511411 = nil | |
631 | + | if (($size1136511411 == 0)) | |
632 | + | then $acc01136511411 | |
633 | + | else { | |
634 | + | let $acc11136511411 = CurrentRewardEntry($acc01136511411, $list1136511411[0]) | |
635 | + | if (($size1136511411 == 1)) | |
636 | + | then $acc11136511411 | |
637 | + | else { | |
638 | + | let $acc21136511411 = CurrentRewardEntry($acc11136511411, $list1136511411[1]) | |
639 | + | if (($size1136511411 == 2)) | |
640 | + | then $acc21136511411 | |
641 | + | else { | |
642 | + | let $acc31136511411 = CurrentRewardEntry($acc21136511411, $list1136511411[2]) | |
643 | + | if (($size1136511411 == 3)) | |
644 | + | then $acc31136511411 | |
645 | + | else { | |
646 | + | let $acc41136511411 = CurrentRewardEntry($acc31136511411, $list1136511411[3]) | |
647 | + | if (($size1136511411 == 4)) | |
648 | + | then $acc41136511411 | |
649 | + | else { | |
650 | + | let $acc51136511411 = CurrentRewardEntry($acc41136511411, $list1136511411[4]) | |
651 | + | if (($size1136511411 == 5)) | |
652 | + | then $acc51136511411 | |
653 | + | else { | |
654 | + | let $acc61136511411 = CurrentRewardEntry($acc51136511411, $list1136511411[5]) | |
655 | + | if (($size1136511411 == 6)) | |
656 | + | then $acc61136511411 | |
657 | + | else { | |
658 | + | let $acc71136511411 = CurrentRewardEntry($acc61136511411, $list1136511411[6]) | |
659 | + | if (($size1136511411 == 7)) | |
660 | + | then $acc71136511411 | |
661 | + | else { | |
662 | + | let $acc81136511411 = CurrentRewardEntry($acc71136511411, $list1136511411[7]) | |
663 | + | if (($size1136511411 == 8)) | |
664 | + | then $acc81136511411 | |
665 | + | else { | |
666 | + | let $acc91136511411 = CurrentRewardEntry($acc81136511411, $list1136511411[8]) | |
667 | + | if (($size1136511411 == 9)) | |
668 | + | then $acc91136511411 | |
669 | + | else { | |
670 | + | let $acc101136511411 = CurrentRewardEntry($acc91136511411, $list1136511411[9]) | |
671 | + | if (($size1136511411 == 10)) | |
672 | + | then $acc101136511411 | |
673 | + | else { | |
674 | + | let $acc111136511411 = CurrentRewardEntry($acc101136511411, $list1136511411[10]) | |
675 | + | if (($size1136511411 == 11)) | |
676 | + | then $acc111136511411 | |
677 | + | else { | |
678 | + | let $acc121136511411 = CurrentRewardEntry($acc111136511411, $list1136511411[11]) | |
679 | + | if (($size1136511411 == 12)) | |
680 | + | then $acc121136511411 | |
681 | + | else { | |
682 | + | let $acc131136511411 = CurrentRewardEntry($acc121136511411, $list1136511411[12]) | |
683 | + | if (($size1136511411 == 13)) | |
684 | + | then $acc131136511411 | |
685 | + | else { | |
686 | + | let $acc141136511411 = CurrentRewardEntry($acc131136511411, $list1136511411[13]) | |
687 | + | if (($size1136511411 == 14)) | |
688 | + | then $acc141136511411 | |
689 | + | else { | |
690 | + | let $acc151136511411 = CurrentRewardEntry($acc141136511411, $list1136511411[14]) | |
691 | + | if (($size1136511411 == 15)) | |
692 | + | then $acc151136511411 | |
693 | + | else { | |
694 | + | let $acc161136511411 = CurrentRewardEntry($acc151136511411, $list1136511411[15]) | |
695 | + | if (($size1136511411 == 16)) | |
696 | + | then $acc161136511411 | |
697 | + | else { | |
698 | + | let $acc171136511411 = CurrentRewardEntry($acc161136511411, $list1136511411[16]) | |
699 | + | if (($size1136511411 == 17)) | |
700 | + | then $acc171136511411 | |
701 | + | else { | |
702 | + | let $acc181136511411 = CurrentRewardEntry($acc171136511411, $list1136511411[17]) | |
703 | + | if (($size1136511411 == 18)) | |
704 | + | then $acc181136511411 | |
705 | + | else { | |
706 | + | let $acc191136511411 = CurrentRewardEntry($acc181136511411, $list1136511411[18]) | |
707 | + | if (($size1136511411 == 19)) | |
708 | + | then $acc191136511411 | |
709 | + | else { | |
710 | + | let $acc201136511411 = CurrentRewardEntry($acc191136511411, $list1136511411[19]) | |
711 | + | if (($size1136511411 == 20)) | |
712 | + | then $acc201136511411 | |
713 | + | else { | |
714 | + | let $acc211136511411 = CurrentRewardEntry($acc201136511411, $list1136511411[20]) | |
715 | + | throw("List size exceed 20") | |
716 | + | } | |
717 | + | } | |
718 | + | } | |
719 | + | } | |
720 | + | } | |
721 | + | } | |
722 | + | } | |
723 | + | } | |
724 | + | } | |
725 | + | } | |
726 | + | } | |
727 | + | } | |
728 | + | } | |
729 | + | } | |
730 | + | } | |
731 | + | } | |
732 | + | } | |
733 | + | } | |
734 | + | } | |
735 | + | } | |
736 | + | } | |
737 | + | } | |
738 | + | ((previousRewardEntryNew ++ currentRewardEntryNew) ++ [IntegerEntry(keyRewardUpdateHeight, rewardUpdateHeight)]) | |
739 | + | } | |
740 | + | } | |
741 | + | ||
742 | + | ||
743 | + | ||
744 | + | @Callable(i) | |
745 | + | func shutdown () = if (!(isActive)) | |
746 | + | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, keyCause), "the cause wasn't specified"))) | |
747 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
748 | + | then throw("Only admin can call this function") | |
749 | + | else suspend("Paused by admin") | |
750 | + | ||
751 | + | ||
752 | + | ||
753 | + | @Callable(i) | |
754 | + | func activate () = if (isActive) | |
755 | + | then throw("DApp is already active") | |
756 | + | else if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminPubKeyStartStop], i.callerPublicKey))) | |
757 | + | then throw("Only admin can call this function") | |
758 | + | else [BooleanEntry(keyActive, true), DeleteEntry(keyCause)] | |
759 | + | ||
760 | + | ||
761 | + | @Verifier(tx) | |
762 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
763 | + |
github/deemru/w8io/026f985 56.59 ms ◑