tx · AbEihX2FzJ5ZujcZNiAzjfTEfuPvx9BxVCAvwbgZkArn

3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg:  -0.01000000 Waves

2022.03.28 10:46 [1983477] smart account 3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg > SELF 0.00000000 Waves

{ "type": 13, "id": "AbEihX2FzJ5ZujcZNiAzjfTEfuPvx9BxVCAvwbgZkArn", "fee": 1000000, "feeAssetId": null, "timestamp": 1648453628818, "version": 2, "chainId": 84, "sender": "3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg", "senderPublicKey": "C2aAS9D6FqfbrkCuCQCtPWAiopjyagvitFLjRuLcRPYt", "proofs": [ "5dpvYKBx8tdRrKuXD3FvExGs536uT1e16hkKfCQbyqzpRYLuUHuZi82PfpYZEQMKYyQSJgoRBYTsk3RLcC8qrSSQ" ], "script": "base64:AAIFAAAAAAAAAEgIAhIMCgoICAgBCAEBAQEBEgQKAggIEgQKAggEEgMKAQgSBAoCCAESABIDCgEBEgASABIDCgEBEgASAwoBARIDCgEBEgMKAQgAAAA6AAAAAAlzZXBhcmF0b3ICAAAAAl9fAAAAAA9tYXhEZXB0aERlZmF1bHQAAAAAAAAAAAoBAAAABWFzSW50AAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAZ2YWxJbnQFAAAAByRtYXRjaDAFAAAABnZhbEludAkAAAIAAAABAgAAABtGYWlsZWQgdG8gY2FzdCBpbnRvIEludGVnZXIBAAAABmFzQm9vbAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAB3ZhbEJvb2wFAAAAByRtYXRjaDAFAAAAB3ZhbEJvb2wJAAACAAAAAQIAAAAbRmFpbGVkIHRvIGNhc3QgaW50byBCb29sZWFuAAAAAAxrZXl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ev: F4pAAvH83rQBNzq6Zpq9dPz6biTGyoXjEL3bdAdKvN6W Next: BY146xhWWtTYG49SsmYyq9ffEyqVGYP1QwX9vqnsypzt Diff:
OldNewDifferences
8787 let verifiedIdx = 3
8888 let totalYes = parseIntValue(parts[totalYesIdx])
8989 let totalNo = parseIntValue(parts[totalNoIdx])
90- let verified = if ((size(parts) == 3))
90+ let verified = if ((size(parts) == 4))
9191 then (parts[verifiedIdx] == "true")
9292 else false
9393 $Tuple3(totalYes, totalNo, verified)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "__"
55
66 let maxDepthDefault = 10
77
88 func asInt (val) = match val {
99 case valInt: Int =>
1010 valInt
1111 case _ =>
1212 throw("Failed to cast into Integer")
1313 }
1414
1515
1616 func asBool (val) = match val {
1717 case valBool: Boolean =>
1818 valBool
1919 case _ =>
2020 throw("Failed to cast into Boolean")
2121 }
2222
2323
2424 let keyFeeAmount = makeString(["%s", "fee"], separator)
2525
2626 let keyWxAssetId = makeString(["%s", "wxAssetId"], separator)
2727
2828 let keyVotingThreshold = makeString(["%s", "votingThreshold"], separator)
2929
3030 let keyVotingDuration = makeString(["%s", "epochLength"], separator)
3131
3232 let keyVoteBeforeElimination = makeString(["%s", "voteBeforeElimination"], separator)
3333
3434 let keyStartHeight = makeString(["%s", "currentVotingHeightStart"], separator)
3535
3636 let keyCurrentPeriod = makeString(["%s", "currentEpoch"], separator)
3737
3838 let keyBoostingContract = makeString(["%s", "boostingContract"], separator)
3939
4040 let keyEmissionContract = makeString(["%s", "emissionContract"], separator)
4141
4242 let keyAssetsStoreContract = makeString(["%s", "assetsStoreContract"], separator)
4343
4444 let keyLatestProcessedAsset = makeString(["%s", "latestProcessedAsset"], separator)
4545
4646 let keyLatestProcessedUser = makeString(["%s", "latestProcessedUser"], separator)
4747
4848 let keyLatestProcessedAssetTransfer = makeString(["%s", "latestProcessedAssetTransfer"], separator)
4949
5050 let keyLatestProcessedUserTransfer = makeString(["%s", "latestProcessedUserTransfer"], separator)
5151
5252 let keyMaxDepth = makeString(["%s", "maxDepth"], separator)
5353
5454 func keyVotesTransferFinishedByPeriod (period) = makeString(["%s", "votesTransferFinished", toString(period)], separator)
5555
5656
5757 let assetsListName = "__assets"
5858
5959 func getVotesListName (assetId) = ("%s__votes__" + assetId)
6060
6161
6262 func keyListHead (listName) = makeString([("%s%s" + listName), "head"], separator)
6363
6464
6565 func keyListSize (listName) = makeString([("%s%s" + listName), "size"], separator)
6666
6767
6868 func keyListPrev (listName,id) = makeString([("%s%s%s" + listName), id, "prev"], separator)
6969
7070
7171 func keyListNext (listName,id) = makeString([("%s%s%s" + listName), id, "next"], separator)
7272
7373
7474 func keyAssetVerifiedByPeriod (assetId,period) = makeString(["%s%d%s", "verifiedAt", toString(period), assetId], separator)
7575
7676
7777 func keyVoteResultByPeriod (assetId,period) = makeString(["%s%d%s", "votingResultAtAsset", toString(period), assetId], separator)
7878
7979
8080 func formatVoteResult (totalYes,totalNo,verified) = makeString(["%d%d%s", toString(totalYes), toString(totalNo), toString(verified)], separator)
8181
8282
8383 func parseVoteResult (input) = {
8484 let parts = split(input, separator)
8585 let totalYesIdx = 1
8686 let totalNoIdx = 2
8787 let verifiedIdx = 3
8888 let totalYes = parseIntValue(parts[totalYesIdx])
8989 let totalNo = parseIntValue(parts[totalNoIdx])
90- let verified = if ((size(parts) == 3))
90+ let verified = if ((size(parts) == 4))
9191 then (parts[verifiedIdx] == "true")
9292 else false
9393 $Tuple3(totalYes, totalNo, verified)
9494 }
9595
9696
9797 func keyUserVoteByPeriod (userAddress,assetId,period) = makeString(["%s%d%s%s", "vru", toString(period), assetId, userAddress], separator)
9898
9999
100100 func formatUserVote (total,inFavor) = {
101101 let totalYes = if (inFavor)
102102 then total
103103 else 0
104104 let totalNo = if (inFavor)
105105 then 0
106106 else total
107107 makeString(["%d%d", toString(totalYes), toString(totalNo)], separator)
108108 }
109109
110110
111111 func parseUserVote (input) = {
112112 let parts = split(input, separator)
113113 let totalYesIdx = 1
114114 let totalNoIdx = 2
115115 let totalYes = parseIntValue(parts[totalYesIdx])
116116 let totalNo = parseIntValue(parts[totalNoIdx])
117117 let inFavor = if ((totalYes > 0))
118118 then (totalNo == 0)
119119 else false
120120 let against = if ((totalYes == 0))
121121 then (totalNo > 0)
122122 else false
123123 let checkTotals = if (if (inFavor)
124124 then true
125125 else against)
126126 then true
127127 else throw("Invalid user vote value")
128128 if ((checkTotals == checkTotals))
129129 then {
130130 let total = if (inFavor)
131131 then totalYes
132132 else totalNo
133133 $Tuple2(total, inFavor)
134134 }
135135 else throw("Strict value is not equal to itself.")
136136 }
137137
138138
139139 func keyUserVoteHistory (type,userAddress,assetId,txId,period) = makeString(["%s%s%s%s%s%d", "history", type, assetId, userAddress, txId, toString(period)], separator)
140140
141141
142142 func thisOnly (i) = if ((i.caller == this))
143143 then true
144144 else throw("Permission denied")
145145
146146
147147 func getIntegerOrZero (key) = valueOrElse(getInteger(this, key), 0)
148148
149149
150150 func getIntegerOrFail (key) = valueOrErrorMessage(getInteger(this, key), (key + " is not defined"))
151151
152152
153153 func getStringOrEmpty (key) = valueOrElse(getString(this, key), "")
154154
155155
156156 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), (key + " is not defined"))
157157
158158
159159 let feeAmount = getIntegerOrFail(keyFeeAmount)
160160
161161 let wxAssetId = fromBase58String(getStringOrFail(keyWxAssetId))
162162
163163 let votingThreshold = getIntegerOrFail(keyVotingThreshold)
164164
165165 let votingDuration = getIntegerOrFail(keyVotingDuration)
166166
167167 let voteBeforeElimination = getIntegerOrFail(keyVoteBeforeElimination)
168168
169169 let startHeight = getIntegerOrFail(keyStartHeight)
170170
171171 let currentPeriod = getIntegerOrFail(keyCurrentPeriod)
172172
173173 let boostingContract = addressFromStringValue(getStringOrFail(keyBoostingContract))
174174
175175 let emissionContract = addressFromStringValue(getStringOrFail(keyEmissionContract))
176176
177177 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract))
178178
179179 let maxDepth = valueOrElse(getInteger(keyMaxDepth), maxDepthDefault)
180180
181181 func getUserGwxAmountAtHeight (userAddress,targetHeight) = {
182182 let gwxAmount = invoke(boostingContract, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)
183183 asInt(gwxAmount)
184184 }
185185
186186
187187 func getVoteResultAction (assetId,total,inFavor,period,verified) = {
188188 let voteResultKey = keyVoteResultByPeriod(assetId, period)
189189 let $t056885991 = match getString(voteResultKey) {
190190 case s: String =>
191191 parseVoteResult(s)
192192 case _: Unit =>
193193 match getString(keyVoteResultByPeriod(assetId, (period - 1))) {
194194 case s: String =>
195195 $Tuple3(0, 0, parseVoteResult(s)._3)
196196 case _: Unit =>
197197 $Tuple3(0, 0, false)
198198 case _ =>
199199 throw("Match error")
200200 }
201201 case _ =>
202202 throw("Match error")
203203 }
204204 let oldTotalYes = $t056885991._1
205205 let oldTotalNo = $t056885991._2
206206 let oldVerified = $t056885991._3
207207 StringEntry(voteResultKey, formatVoteResult((oldTotalYes + (if (inFavor)
208208 then total
209209 else 0)), (oldTotalNo + (if (inFavor)
210210 then 0
211211 else total)), if ((verified == unit))
212212 then oldVerified
213213 else value(verified)))
214214 }
215215
216216
217217 func containsNode (listName,id) = {
218218 let head = getString(this, keyListHead(listName))
219219 let prev = getString(this, keyListPrev(listName, id))
220220 let next = getString(this, keyListNext(listName, id))
221221 if (if ((id == head))
222222 then true
223223 else (prev != unit))
224224 then true
225225 else (next != unit)
226226 }
227227
228228
229229 func insertNode (listName,id) = {
230230 let head = getString(this, keyListHead(listName))
231231 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
232232 let checkNode = if (!(containsNode(listName, id)))
233233 then true
234234 else throw("Node exists")
235235 if ((checkNode == checkNode))
236236 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if (isDefined(head))
237237 then [StringEntry(keyListNext(listName, id), value(head)), StringEntry(keyListPrev(listName, value(head)), id)]
238238 else nil)) ++ [StringEntry(keyListHead(listName), id)])
239239 else throw("Strict value is not equal to itself.")
240240 }
241241
242242
243243 func deleteNode (listName,id) = {
244244 let head = getString(this, keyListHead(listName))
245245 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
246246 let prev = getString(this, keyListPrev(listName, id))
247247 let next = getString(this, keyListNext(listName, id))
248248 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if (isDefined(prev))
249249 then isDefined(next)
250250 else false)
251251 then [StringEntry(keyListNext(listName, value(prev)), value(next)), StringEntry(keyListPrev(listName, value(next)), value(prev)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
252252 else if (isDefined(next))
253253 then [StringEntry(keyListHead(listName), value(next)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(next)))]
254254 else if (isDefined(prev))
255255 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prev)))]
256256 else if ((id == head))
257257 then [DeleteEntry(keyListHead(listName))]
258258 else throw("Invalid node")))
259259 }
260260
261261
262262 func processVote (assetId,userAddressOrUnit,latestProcessedAssetKey,latestProcessedUserKey) = {
263263 let updateLatestProcessedAssetAction = StringEntry(latestProcessedAssetKey, assetId)
264264 let deleteLatestProcessedUserAction = DeleteEntry(latestProcessedUserKey)
265265 if ((userAddressOrUnit == unit))
266266 then [updateLatestProcessedAssetAction, deleteLatestProcessedUserAction]
267267 else {
268268 let endHeight = (startHeight + votingDuration)
269269 let userAddress = value(userAddressOrUnit)
270270 let updateLatestProcessedUserAction = StringEntry(latestProcessedUserKey, userAddress)
271271 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
272272 let userVoteOrUnit = getString(userVoteKey)
273273 let userGwxAmountAtEndHeight = getUserGwxAmountAtHeight(userAddress, endHeight)
274274 let voteActions = if ((userGwxAmountAtEndHeight == 0))
275275 then {
276276 let votesListName = getVotesListName(assetId)
277277 deleteNode(votesListName, userAddress)
278278 }
279279 else if ((userVoteOrUnit == unit))
280280 then {
281281 let userPreviousVoteOrUnit = getString(keyUserVoteByPeriod(userAddress, assetId, (currentPeriod - 1)))
282282 if ((userPreviousVoteOrUnit == unit))
283283 then nil
284284 else {
285285 let $t098859958 = parseUserVote(value(userPreviousVoteOrUnit))
286286 let prevTotal = $t098859958._1
287287 let inFavor = $t098859958._2
288288 let total = min([prevTotal, userGwxAmountAtEndHeight])
289289 [StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod, unit)]
290290 }
291291 }
292292 else nil
293293 ((voteActions :+ updateLatestProcessedAssetAction) :+ updateLatestProcessedUserAction)
294294 }
295295 }
296296
297297
298298 func assetShouldBeEliminated (assetId,period) = !(valueOrElse(getBoolean(keyAssetVerifiedByPeriod(assetId, period)), true))
299299
300300
301301 func eliminationCheck (assetId) = if (if (assetShouldBeEliminated(assetId, (currentPeriod - 1)))
302302 then assetShouldBeEliminated(assetId, (currentPeriod - 2))
303303 else false)
304304 then assetShouldBeEliminated(assetId, (currentPeriod - 3))
305305 else false
306306
307307
308308 @Callable(i)
309309 func constructor (boostingContractPrm,emissionContractPrm,assetsStoreContractPrm,feeAmountPrm,wxAssetIdPrm,votingThresholdPrm,votingDurationPrm,voteBeforeEliminationPrm,startHeightPrm,maxDepthPrm) = {
310310 let checks = [thisOnly(i), if (isDefined(addressFromString(boostingContractPrm)))
311311 then true
312312 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(emissionContractPrm)))
313313 then true
314314 else throw("Invalid emission contract address"), if (isDefined(addressFromString(assetsStoreContractPrm)))
315315 then true
316316 else throw("Invalid asset_store contract address"), if ((feeAmountPrm >= 0))
317317 then true
318318 else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String(wxAssetIdPrm))))
319319 then true
320320 else throw("Invalid WX asset ID"), if ((votingThresholdPrm >= 0))
321321 then true
322322 else throw("Invalid voting threshold"), if ((votingDurationPrm > 0))
323323 then true
324324 else throw("Invalid voting duration"), if (((startHeightPrm + votingDurationPrm) > height))
325325 then true
326326 else throw("Invalid start height")]
327327 if ((checks == checks))
328328 then $Tuple2([StringEntry(keyBoostingContract, boostingContractPrm), StringEntry(keyEmissionContract, emissionContractPrm), StringEntry(keyAssetsStoreContract, assetsStoreContractPrm), IntegerEntry(keyFeeAmount, feeAmountPrm), StringEntry(keyWxAssetId, wxAssetIdPrm), IntegerEntry(keyVotingThreshold, votingThresholdPrm), IntegerEntry(keyVotingDuration, votingDurationPrm), IntegerEntry(keyVoteBeforeElimination, voteBeforeEliminationPrm), IntegerEntry(keyStartHeight, startHeightPrm), IntegerEntry(keyCurrentPeriod, 0), IntegerEntry(keyMaxDepth, maxDepthPrm)], unit)
329329 else throw("Strict value is not equal to itself.")
330330 }
331331
332332
333333
334334 @Callable(i)
335335 func suggest (assetId,assetImage) = {
336336 let info = valueOrErrorMessage(assetInfo(fromBase58String(assetId)), "Invalid asset ID")
337337 let payment = value(i.payments[0])
338338 let checks = [if ((info.issuer == i.caller))
339339 then true
340340 else throw("Asset can only be suggested by its issuer"), if ((value(payment.assetId) == wxAssetId))
341341 then true
342342 else throw("Invalid fee asset"), if ((payment.amount == feeAmount))
343343 then true
344344 else throw("Invalid fee amount")]
345345 if ((checks == checks))
346346 then {
347347 let assetsStoreCreateOrUpdateInv = invoke(assetsStoreContract, "createOrUpdate", [assetId, "", assetImage, false], nil)
348348 if ((assetsStoreCreateOrUpdateInv == assetsStoreCreateOrUpdateInv))
349349 then {
350350 let burnFeeInv = invoke(emissionContract, "burn", nil, [AttachedPayment(payment.assetId, payment.amount)])
351351 if ((burnFeeInv == burnFeeInv))
352352 then {
353353 let addAssetActions = insertNode(assetsListName, assetId)
354354 $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod, false)), unit)
355355 }
356356 else throw("Strict value is not equal to itself.")
357357 }
358358 else throw("Strict value is not equal to itself.")
359359 }
360360 else throw("Strict value is not equal to itself.")
361361 }
362362
363363
364364
365365 @Callable(i)
366366 func vote (assetId,inFavor) = {
367367 let endHeight = (startHeight + votingDuration)
368368 let checkAsset = if (containsNode(assetsListName, assetId))
369369 then true
370370 else throw("Invalid asset")
371371 if ((checkAsset == checkAsset))
372372 then {
373373 let checkHeight = if ((endHeight > height))
374374 then true
375375 else throw("Current voting is over but results are not finalized")
376376 if ((checkHeight == checkHeight))
377377 then {
378378 let userAddress = toString(i.caller)
379379 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
380380 let checkGwxAmountAtEnd = if ((gwxAmountAtEnd > 0))
381381 then true
382382 else throw("You'll not have gWX at the end of voting")
383383 if ((checkGwxAmountAtEnd == checkGwxAmountAtEnd))
384384 then {
385385 let votesListName = getVotesListName(assetId)
386386 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
387387 let userVoteActions = [StringEntry(userVoteKey, formatUserVote(gwxAmountAtEnd, inFavor)), StringEntry(keyUserVoteHistory("vote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(gwxAmountAtEnd, inFavor)), getVoteResultAction(assetId, gwxAmountAtEnd, inFavor, currentPeriod, unit)]
388388 let votesListActions = if (containsNode(votesListName, userAddress))
389389 then nil
390390 else insertNode(votesListName, userAddress)
391391 $Tuple2((votesListActions ++ userVoteActions), unit)
392392 }
393393 else throw("Strict value is not equal to itself.")
394394 }
395395 else throw("Strict value is not equal to itself.")
396396 }
397397 else throw("Strict value is not equal to itself.")
398398 }
399399
400400
401401
402402 @Callable(i)
403403 func cancelVote (assetId) = {
404404 let userAddress = toString(i.caller)
405405 let votesListName = getVotesListName(assetId)
406406 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
407407 let userVoteOrUnit = getString(userVoteKey)
408408 let checkVote = valueOrElse(getString(userVoteKey), "Nothing to cancel")
409409 if ((checkVote == checkVote))
410410 then {
411411 let $t01507415135 = parseUserVote(value(userVoteOrUnit))
412412 let total = $t01507415135._1
413413 let inFavor = $t01507415135._2
414414 let votesListActions = deleteNode(votesListName, userAddress)
415415 let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod, unit)]
416416 $Tuple2((votesListActions ++ userVoteActions), unit)
417417 }
418418 else throw("Strict value is not equal to itself.")
419419 }
420420
421421
422422
423423 @Callable(i)
424424 func finalizeAssetINTERNAL (assetId,period) = {
425425 let checkCaller = thisOnly(i)
426426 if ((checkCaller == checkCaller))
427427 then {
428428 let voteResultKey = keyVoteResultByPeriod(assetId, period)
429429 let $t01579515968 = match getString(voteResultKey) {
430430 case s: String =>
431431 let r = parseVoteResult(s)
432432 $Tuple2(r._1, r._2)
433433 case _: Unit =>
434434 $Tuple2(0, 0)
435435 case _ =>
436436 throw("Match error")
437437 }
438438 let totalYes = $t01579515968._1
439439 let totalNo = $t01579515968._2
440440 let total = (totalYes + totalNo)
441441 let verified = if ((total >= votingThreshold))
442442 then (totalYes > totalNo)
443443 else false
444444 let assetVerifiedAction = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified)]
445445 let assetsStoreSetVerifiedInv = invoke(assetsStoreContract, "setVerified", [assetId, verified], nil)
446446 if ((assetsStoreSetVerifiedInv == assetsStoreSetVerifiedInv))
447447 then {
448448 let eliminate = if (verified)
449449 then false
450450 else eliminationCheck(assetId)
451451 let voteResultActions = if (eliminate)
452452 then nil
453453 else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1), verified)]
454454 let votesListActions = if (eliminate)
455455 then deleteNode(assetsListName, assetId)
456456 else nil
457457 $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedAction), unit)
458458 }
459459 else throw("Strict value is not equal to itself.")
460460 }
461461 else throw("Strict value is not equal to itself.")
462462 }
463463
464464
465465
466466 @Callable(i)
467467 func finalizeVotingHelper () = {
468468 let endHeight = (startHeight + votingDuration)
469469 if ((endHeight > height))
470470 then $Tuple2(nil, false)
471471 else {
472472 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAsset)
473473 let latestProcessedUserOrUnit = getString(keyLatestProcessedUser)
474474 let nextPeriodDelay = 0
475475 let finish = $Tuple2([IntegerEntry(keyStartHeight, (height + nextPeriodDelay)), IntegerEntry(keyCurrentPeriod, (currentPeriod + 1)), DeleteEntry(keyLatestProcessedAsset), DeleteEntry(keyLatestProcessedUser), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
476476 if ((latestProcessedAssetOrUnit == unit))
477477 then {
478478 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
479479 if ((assetsHeadOrUnit == unit))
480480 then finish
481481 else {
482482 let asset = value(assetsHeadOrUnit)
483483 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
484484 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
485485 $Tuple2(processVoteActions, true)
486486 }
487487 }
488488 else {
489489 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
490490 if ((latestProcessedUserOrUnit == unit))
491491 then {
492492 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
493493 if ((assetOrUnit == assetOrUnit))
494494 then {
495495 let finalizeAssetInv = invoke(this, "finalizeAssetINTERNAL", [latestProcessedAsset, currentPeriod], nil)
496496 if ((finalizeAssetInv == finalizeAssetInv))
497497 then if ((assetOrUnit == unit))
498498 then finish
499499 else {
500500 let asset = value(assetOrUnit)
501501 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
502502 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
503503 $Tuple2(processVoteActions, true)
504504 }
505505 else throw("Strict value is not equal to itself.")
506506 }
507507 else throw("Strict value is not equal to itself.")
508508 }
509509 else {
510510 let latestProcessedUser = value(latestProcessedUserOrUnit)
511511 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
512512 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
513513 $Tuple2(processVoteActions, true)
514514 }
515515 }
516516 }
517517 }
518518
519519
520520
521521 @Callable(i)
522522 func finalizeVotingWrapper (counter) = {
523523 let result = asBool(invoke(this, "finalizeVotingHelper", nil, nil))
524524 if ((result == result))
525525 then if (!(result))
526526 then if ((counter == 0))
527527 then throw("Current voting is not over yet")
528528 else $Tuple2(nil, unit)
529529 else if ((maxDepth > counter))
530530 then {
531531 let inv = invoke(this, "finalizeVotingWrapper", [(counter + 1)], nil)
532532 if ((inv == inv))
533533 then $Tuple2(nil, unit)
534534 else throw("Strict value is not equal to itself.")
535535 }
536536 else $Tuple2(nil, unit)
537537 else throw("Strict value is not equal to itself.")
538538 }
539539
540540
541541
542542 @Callable(i)
543543 func finalizeVoting () = {
544544 let inv = invoke(this, "finalizeVotingWrapper", [0], nil)
545545 if ((inv == inv))
546546 then $Tuple2(nil, unit)
547547 else throw("Strict value is not equal to itself.")
548548 }
549549
550550
551551
552552 @Callable(i)
553553 func transferVotesHelper () = {
554554 let votesTransferFinishedKey = keyVotesTransferFinishedByPeriod(currentPeriod)
555555 let votesTransferFinished = valueOrElse(getBoolean(votesTransferFinishedKey), false)
556556 let endHeight = (startHeight + votingDuration)
557557 if (if (if ((startHeight > height))
558558 then true
559559 else (height >= endHeight))
560560 then true
561561 else votesTransferFinished)
562562 then $Tuple2(nil, false)
563563 else {
564564 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAssetTransfer)
565565 let latestProcessedUserOrUnit = getString(keyLatestProcessedUserTransfer)
566566 let finish = $Tuple2([BooleanEntry(votesTransferFinishedKey, true), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
567567 if ((latestProcessedAssetOrUnit == unit))
568568 then {
569569 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
570570 if ((assetsHeadOrUnit == unit))
571571 then finish
572572 else {
573573 let asset = value(assetsHeadOrUnit)
574574 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
575575 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
576576 $Tuple2(processVoteActions, true)
577577 }
578578 }
579579 else {
580580 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
581581 if ((latestProcessedUserOrUnit == unit))
582582 then {
583583 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
584584 if ((assetOrUnit == unit))
585585 then finish
586586 else {
587587 let asset = value(assetOrUnit)
588588 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
589589 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
590590 $Tuple2(processVoteActions, true)
591591 }
592592 }
593593 else {
594594 let latestProcessedUser = value(latestProcessedUserOrUnit)
595595 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
596596 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
597597 $Tuple2(processVoteActions, true)
598598 }
599599 }
600600 }
601601 }
602602
603603
604604
605605 @Callable(i)
606606 func transferVotesWrapper (counter) = {
607607 let result = asBool(invoke(this, "transferVotesHelper", nil, nil))
608608 if ((result == result))
609609 then if (!(result))
610610 then if ((counter == 0))
611611 then throw("Voting is not started yet")
612612 else $Tuple2(nil, unit)
613613 else if ((maxDepth > counter))
614614 then {
615615 let inv = invoke(this, "transferVotesWrapper", [(counter + 1)], nil)
616616 if ((inv == inv))
617617 then $Tuple2(nil, unit)
618618 else throw("Strict value is not equal to itself.")
619619 }
620620 else $Tuple2(nil, unit)
621621 else throw("Strict value is not equal to itself.")
622622 }
623623
624624
625625
626626 @Callable(i)
627627 func transferVotes () = {
628628 let inv = invoke(this, "transferVotesWrapper", [0], nil)
629629 if ((inv == inv))
630630 then $Tuple2(nil, unit)
631631 else throw("Strict value is not equal to itself.")
632632 }
633633
634634
635635
636636 @Callable(i)
637637 func setVotingThreshold (newThreshold) = {
638638 let checkCaller = thisOnly(i)
639639 if ((checkCaller == checkCaller))
640640 then $Tuple2([IntegerEntry(keyVotingThreshold, newThreshold)], unit)
641641 else throw("Strict value is not equal to itself.")
642642 }
643643
644644
645645
646646 @Callable(i)
647647 func setFee (newFee) = {
648648 let checkCaller = thisOnly(i)
649649 if ((checkCaller == checkCaller))
650650 then $Tuple2([IntegerEntry(keyFeeAmount, newFee)], unit)
651651 else throw("Strict value is not equal to itself.")
652652 }
653653
654654
655655
656656 @Callable(i)
657657 func gwxAvailableForVoteREADONLY (userAddress) = {
658658 let endHeight = (startHeight + votingDuration)
659659 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
660660 $Tuple2(nil, gwxAmountAtEnd)
661661 }
662662
663663

github/deemru/w8io/026f985 
61.92 ms