tx · BY146xhWWtTYG49SsmYyq9ffEyqVGYP1QwX9vqnsypzt

3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg:  -0.01000000 Waves

2022.03.28 17:00 [1983856] smart account 3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg > SELF 0.00000000 Waves

{ "type": 13, "id": "BY146xhWWtTYG49SsmYyq9ffEyqVGYP1QwX9vqnsypzt", "fee": 1000000, "feeAssetId": null, "timestamp": 1648476037412, "version": 2, "chainId": 84, "sender": "3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg", "senderPublicKey": "C2aAS9D6FqfbrkCuCQCtPWAiopjyagvitFLjRuLcRPYt", "proofs": [ "2iKPqKDRFujzX6bopPwDj8WihJpE3j2kWcxkYLCm2vLS9YXbdeENqdFbBcFmeexaDcuK37ZDRchUxfJK8WN3zd3Y" ], "script": "base64:AAIFAAAAAAAAAEgIAhIMCgoICAgBCAEBAQEBEgQKAggIEgQKAggEEgMKAQgSBAoCCAESABIDCgEBEgASABIDCgEBEgASAwoBARIDCgEBEgMKAQgAAAA7AAAAAAlzZXBhcmF0b3ICAAAAAl9fAAAAAA9tYXhEZXB0aERlZmF1bHQAAAAAAAAAAAoBAAAABWFzSW50AAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAZ2YWxJbnQFAAAAByRtYXRjaDAFAAAABnZhbEludAkAAAIAAAABAgAAABtGYWlsZWQgdG8gY2FzdCBpbnRvIEludGVnZXIBAAAABmFzQm9vbAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAB3ZhbEJvb2wFAAAAByRtYXRjaDAFAAAAB3ZhbEJvb2wJAAACAAAAAQIAAAAbRmFpbGVkIHRvIGNhc3QgaW50byBCb29sZWFuAAAAAAxrZXlGZWVBbW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HJlc3MEAAAACWVuZEhlaWdodAkAAGQAAAACBQAAAAtzdGFydEhlaWdodAUAAAAOdm90aW5nRHVyYXRpb24EAAAADmd3eEFtb3VudEF0RW5kCQEAAAAYZ2V0VXNlckd3eEFtb3VudEF0SGVpZ2h0AAAAAgUAAAALdXNlckFkZHJlc3MFAAAACWVuZEhlaWdodAkABRQAAAACBQAAAANuaWwFAAAADmd3eEFtb3VudEF0RW5kAAAAAKgxuTs=", "height": 1983856, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AbEihX2FzJ5ZujcZNiAzjfTEfuPvx9BxVCAvwbgZkArn Next: 2fqZeGUFW1X65W89qWZx58HK6GSyzzfPimoVSMVzVR42 Diff:
OldNewDifferences
7272
7373
7474 func keyAssetVerifiedByPeriod (assetId,period) = makeString(["%s%d%s", "verifiedAt", toString(period), assetId], separator)
75+
76+
77+func keyAssetVerified (assetId) = makeString(["%s%s", "verified", assetId], separator)
7578
7679
7780 func keyVoteResultByPeriod (assetId,period) = makeString(["%s%d%s", "votingResultAtAsset", toString(period), assetId], separator)
186189
187190 func getVoteResultAction (assetId,total,inFavor,period,verified) = {
188191 let voteResultKey = keyVoteResultByPeriod(assetId, period)
189- let $t056885991 = match getString(voteResultKey) {
192+ let $t057816084 = match getString(voteResultKey) {
190193 case s: String =>
191194 parseVoteResult(s)
192195 case _: Unit =>
201204 case _ =>
202205 throw("Match error")
203206 }
204- let oldTotalYes = $t056885991._1
205- let oldTotalNo = $t056885991._2
206- let oldVerified = $t056885991._3
207+ let oldTotalYes = $t057816084._1
208+ let oldTotalNo = $t057816084._2
209+ let oldVerified = $t057816084._3
207210 StringEntry(voteResultKey, formatVoteResult((oldTotalYes + (if (inFavor)
208211 then total
209212 else 0)), (oldTotalNo + (if (inFavor)
282285 if ((userPreviousVoteOrUnit == unit))
283286 then nil
284287 else {
285- let $t098859958 = parseUserVote(value(userPreviousVoteOrUnit))
286- let prevTotal = $t098859958._1
287- let inFavor = $t098859958._2
288+ let $t0997810051 = parseUserVote(value(userPreviousVoteOrUnit))
289+ let prevTotal = $t0997810051._1
290+ let inFavor = $t0997810051._2
288291 let total = min([prevTotal, userGwxAmountAtEndHeight])
289292 [StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod, unit)]
290293 }
408411 let checkVote = valueOrElse(getString(userVoteKey), "Nothing to cancel")
409412 if ((checkVote == checkVote))
410413 then {
411- let $t01507415135 = parseUserVote(value(userVoteOrUnit))
412- let total = $t01507415135._1
413- let inFavor = $t01507415135._2
414+ let $t01516715228 = parseUserVote(value(userVoteOrUnit))
415+ let total = $t01516715228._1
416+ let inFavor = $t01516715228._2
414417 let votesListActions = deleteNode(votesListName, userAddress)
415418 let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod, unit)]
416419 $Tuple2((votesListActions ++ userVoteActions), unit)
426429 if ((checkCaller == checkCaller))
427430 then {
428431 let voteResultKey = keyVoteResultByPeriod(assetId, period)
429- let $t01579515968 = match getString(voteResultKey) {
432+ let $t01588816061 = match getString(voteResultKey) {
430433 case s: String =>
431434 let r = parseVoteResult(s)
432435 $Tuple2(r._1, r._2)
435438 case _ =>
436439 throw("Match error")
437440 }
438- let totalYes = $t01579515968._1
439- let totalNo = $t01579515968._2
441+ let totalYes = $t01588816061._1
442+ let totalNo = $t01588816061._2
440443 let total = (totalYes + totalNo)
441444 let verified = if ((total >= votingThreshold))
442445 then (totalYes > totalNo)
443446 else false
444- let assetVerifiedAction = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified)]
447+ let assetVerifiedActions = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified), if (verified)
448+ then BooleanEntry(keyAssetVerified(assetId), true)
449+ else DeleteEntry(keyAssetVerified(assetId))]
445450 let assetsStoreSetVerifiedInv = invoke(assetsStoreContract, "setVerified", [assetId, verified], nil)
446451 if ((assetsStoreSetVerifiedInv == assetsStoreSetVerifiedInv))
447452 then {
454459 let votesListActions = if (eliminate)
455460 then deleteNode(assetsListName, assetId)
456461 else nil
457- $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedAction), unit)
462+ $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedActions), unit)
458463 }
459464 else throw("Strict value is not equal to itself.")
460465 }
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)
75+
76+
77+func keyAssetVerified (assetId) = makeString(["%s%s", "verified", assetId], separator)
7578
7679
7780 func keyVoteResultByPeriod (assetId,period) = makeString(["%s%d%s", "votingResultAtAsset", toString(period), assetId], separator)
7881
7982
8083 func formatVoteResult (totalYes,totalNo,verified) = makeString(["%d%d%s", toString(totalYes), toString(totalNo), toString(verified)], separator)
8184
8285
8386 func parseVoteResult (input) = {
8487 let parts = split(input, separator)
8588 let totalYesIdx = 1
8689 let totalNoIdx = 2
8790 let verifiedIdx = 3
8891 let totalYes = parseIntValue(parts[totalYesIdx])
8992 let totalNo = parseIntValue(parts[totalNoIdx])
9093 let verified = if ((size(parts) == 4))
9194 then (parts[verifiedIdx] == "true")
9295 else false
9396 $Tuple3(totalYes, totalNo, verified)
9497 }
9598
9699
97100 func keyUserVoteByPeriod (userAddress,assetId,period) = makeString(["%s%d%s%s", "vru", toString(period), assetId, userAddress], separator)
98101
99102
100103 func formatUserVote (total,inFavor) = {
101104 let totalYes = if (inFavor)
102105 then total
103106 else 0
104107 let totalNo = if (inFavor)
105108 then 0
106109 else total
107110 makeString(["%d%d", toString(totalYes), toString(totalNo)], separator)
108111 }
109112
110113
111114 func parseUserVote (input) = {
112115 let parts = split(input, separator)
113116 let totalYesIdx = 1
114117 let totalNoIdx = 2
115118 let totalYes = parseIntValue(parts[totalYesIdx])
116119 let totalNo = parseIntValue(parts[totalNoIdx])
117120 let inFavor = if ((totalYes > 0))
118121 then (totalNo == 0)
119122 else false
120123 let against = if ((totalYes == 0))
121124 then (totalNo > 0)
122125 else false
123126 let checkTotals = if (if (inFavor)
124127 then true
125128 else against)
126129 then true
127130 else throw("Invalid user vote value")
128131 if ((checkTotals == checkTotals))
129132 then {
130133 let total = if (inFavor)
131134 then totalYes
132135 else totalNo
133136 $Tuple2(total, inFavor)
134137 }
135138 else throw("Strict value is not equal to itself.")
136139 }
137140
138141
139142 func keyUserVoteHistory (type,userAddress,assetId,txId,period) = makeString(["%s%s%s%s%s%d", "history", type, assetId, userAddress, txId, toString(period)], separator)
140143
141144
142145 func thisOnly (i) = if ((i.caller == this))
143146 then true
144147 else throw("Permission denied")
145148
146149
147150 func getIntegerOrZero (key) = valueOrElse(getInteger(this, key), 0)
148151
149152
150153 func getIntegerOrFail (key) = valueOrErrorMessage(getInteger(this, key), (key + " is not defined"))
151154
152155
153156 func getStringOrEmpty (key) = valueOrElse(getString(this, key), "")
154157
155158
156159 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), (key + " is not defined"))
157160
158161
159162 let feeAmount = getIntegerOrFail(keyFeeAmount)
160163
161164 let wxAssetId = fromBase58String(getStringOrFail(keyWxAssetId))
162165
163166 let votingThreshold = getIntegerOrFail(keyVotingThreshold)
164167
165168 let votingDuration = getIntegerOrFail(keyVotingDuration)
166169
167170 let voteBeforeElimination = getIntegerOrFail(keyVoteBeforeElimination)
168171
169172 let startHeight = getIntegerOrFail(keyStartHeight)
170173
171174 let currentPeriod = getIntegerOrFail(keyCurrentPeriod)
172175
173176 let boostingContract = addressFromStringValue(getStringOrFail(keyBoostingContract))
174177
175178 let emissionContract = addressFromStringValue(getStringOrFail(keyEmissionContract))
176179
177180 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract))
178181
179182 let maxDepth = valueOrElse(getInteger(keyMaxDepth), maxDepthDefault)
180183
181184 func getUserGwxAmountAtHeight (userAddress,targetHeight) = {
182185 let gwxAmount = invoke(boostingContract, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)
183186 asInt(gwxAmount)
184187 }
185188
186189
187190 func getVoteResultAction (assetId,total,inFavor,period,verified) = {
188191 let voteResultKey = keyVoteResultByPeriod(assetId, period)
189- let $t056885991 = match getString(voteResultKey) {
192+ let $t057816084 = match getString(voteResultKey) {
190193 case s: String =>
191194 parseVoteResult(s)
192195 case _: Unit =>
193196 match getString(keyVoteResultByPeriod(assetId, (period - 1))) {
194197 case s: String =>
195198 $Tuple3(0, 0, parseVoteResult(s)._3)
196199 case _: Unit =>
197200 $Tuple3(0, 0, false)
198201 case _ =>
199202 throw("Match error")
200203 }
201204 case _ =>
202205 throw("Match error")
203206 }
204- let oldTotalYes = $t056885991._1
205- let oldTotalNo = $t056885991._2
206- let oldVerified = $t056885991._3
207+ let oldTotalYes = $t057816084._1
208+ let oldTotalNo = $t057816084._2
209+ let oldVerified = $t057816084._3
207210 StringEntry(voteResultKey, formatVoteResult((oldTotalYes + (if (inFavor)
208211 then total
209212 else 0)), (oldTotalNo + (if (inFavor)
210213 then 0
211214 else total)), if ((verified == unit))
212215 then oldVerified
213216 else value(verified)))
214217 }
215218
216219
217220 func containsNode (listName,id) = {
218221 let head = getString(this, keyListHead(listName))
219222 let prev = getString(this, keyListPrev(listName, id))
220223 let next = getString(this, keyListNext(listName, id))
221224 if (if ((id == head))
222225 then true
223226 else (prev != unit))
224227 then true
225228 else (next != unit)
226229 }
227230
228231
229232 func insertNode (listName,id) = {
230233 let head = getString(this, keyListHead(listName))
231234 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
232235 let checkNode = if (!(containsNode(listName, id)))
233236 then true
234237 else throw("Node exists")
235238 if ((checkNode == checkNode))
236239 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if (isDefined(head))
237240 then [StringEntry(keyListNext(listName, id), value(head)), StringEntry(keyListPrev(listName, value(head)), id)]
238241 else nil)) ++ [StringEntry(keyListHead(listName), id)])
239242 else throw("Strict value is not equal to itself.")
240243 }
241244
242245
243246 func deleteNode (listName,id) = {
244247 let head = getString(this, keyListHead(listName))
245248 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
246249 let prev = getString(this, keyListPrev(listName, id))
247250 let next = getString(this, keyListNext(listName, id))
248251 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if (isDefined(prev))
249252 then isDefined(next)
250253 else false)
251254 then [StringEntry(keyListNext(listName, value(prev)), value(next)), StringEntry(keyListPrev(listName, value(next)), value(prev)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
252255 else if (isDefined(next))
253256 then [StringEntry(keyListHead(listName), value(next)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(next)))]
254257 else if (isDefined(prev))
255258 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prev)))]
256259 else if ((id == head))
257260 then [DeleteEntry(keyListHead(listName))]
258261 else throw("Invalid node")))
259262 }
260263
261264
262265 func processVote (assetId,userAddressOrUnit,latestProcessedAssetKey,latestProcessedUserKey) = {
263266 let updateLatestProcessedAssetAction = StringEntry(latestProcessedAssetKey, assetId)
264267 let deleteLatestProcessedUserAction = DeleteEntry(latestProcessedUserKey)
265268 if ((userAddressOrUnit == unit))
266269 then [updateLatestProcessedAssetAction, deleteLatestProcessedUserAction]
267270 else {
268271 let endHeight = (startHeight + votingDuration)
269272 let userAddress = value(userAddressOrUnit)
270273 let updateLatestProcessedUserAction = StringEntry(latestProcessedUserKey, userAddress)
271274 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
272275 let userVoteOrUnit = getString(userVoteKey)
273276 let userGwxAmountAtEndHeight = getUserGwxAmountAtHeight(userAddress, endHeight)
274277 let voteActions = if ((userGwxAmountAtEndHeight == 0))
275278 then {
276279 let votesListName = getVotesListName(assetId)
277280 deleteNode(votesListName, userAddress)
278281 }
279282 else if ((userVoteOrUnit == unit))
280283 then {
281284 let userPreviousVoteOrUnit = getString(keyUserVoteByPeriod(userAddress, assetId, (currentPeriod - 1)))
282285 if ((userPreviousVoteOrUnit == unit))
283286 then nil
284287 else {
285- let $t098859958 = parseUserVote(value(userPreviousVoteOrUnit))
286- let prevTotal = $t098859958._1
287- let inFavor = $t098859958._2
288+ let $t0997810051 = parseUserVote(value(userPreviousVoteOrUnit))
289+ let prevTotal = $t0997810051._1
290+ let inFavor = $t0997810051._2
288291 let total = min([prevTotal, userGwxAmountAtEndHeight])
289292 [StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod, unit)]
290293 }
291294 }
292295 else nil
293296 ((voteActions :+ updateLatestProcessedAssetAction) :+ updateLatestProcessedUserAction)
294297 }
295298 }
296299
297300
298301 func assetShouldBeEliminated (assetId,period) = !(valueOrElse(getBoolean(keyAssetVerifiedByPeriod(assetId, period)), true))
299302
300303
301304 func eliminationCheck (assetId) = if (if (assetShouldBeEliminated(assetId, (currentPeriod - 1)))
302305 then assetShouldBeEliminated(assetId, (currentPeriod - 2))
303306 else false)
304307 then assetShouldBeEliminated(assetId, (currentPeriod - 3))
305308 else false
306309
307310
308311 @Callable(i)
309312 func constructor (boostingContractPrm,emissionContractPrm,assetsStoreContractPrm,feeAmountPrm,wxAssetIdPrm,votingThresholdPrm,votingDurationPrm,voteBeforeEliminationPrm,startHeightPrm,maxDepthPrm) = {
310313 let checks = [thisOnly(i), if (isDefined(addressFromString(boostingContractPrm)))
311314 then true
312315 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(emissionContractPrm)))
313316 then true
314317 else throw("Invalid emission contract address"), if (isDefined(addressFromString(assetsStoreContractPrm)))
315318 then true
316319 else throw("Invalid asset_store contract address"), if ((feeAmountPrm >= 0))
317320 then true
318321 else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String(wxAssetIdPrm))))
319322 then true
320323 else throw("Invalid WX asset ID"), if ((votingThresholdPrm >= 0))
321324 then true
322325 else throw("Invalid voting threshold"), if ((votingDurationPrm > 0))
323326 then true
324327 else throw("Invalid voting duration"), if (((startHeightPrm + votingDurationPrm) > height))
325328 then true
326329 else throw("Invalid start height")]
327330 if ((checks == checks))
328331 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)
329332 else throw("Strict value is not equal to itself.")
330333 }
331334
332335
333336
334337 @Callable(i)
335338 func suggest (assetId,assetImage) = {
336339 let info = valueOrErrorMessage(assetInfo(fromBase58String(assetId)), "Invalid asset ID")
337340 let payment = value(i.payments[0])
338341 let checks = [if ((info.issuer == i.caller))
339342 then true
340343 else throw("Asset can only be suggested by its issuer"), if ((value(payment.assetId) == wxAssetId))
341344 then true
342345 else throw("Invalid fee asset"), if ((payment.amount == feeAmount))
343346 then true
344347 else throw("Invalid fee amount")]
345348 if ((checks == checks))
346349 then {
347350 let assetsStoreCreateOrUpdateInv = invoke(assetsStoreContract, "createOrUpdate", [assetId, "", assetImage, false], nil)
348351 if ((assetsStoreCreateOrUpdateInv == assetsStoreCreateOrUpdateInv))
349352 then {
350353 let burnFeeInv = invoke(emissionContract, "burn", nil, [AttachedPayment(payment.assetId, payment.amount)])
351354 if ((burnFeeInv == burnFeeInv))
352355 then {
353356 let addAssetActions = insertNode(assetsListName, assetId)
354357 $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod, false)), unit)
355358 }
356359 else throw("Strict value is not equal to itself.")
357360 }
358361 else throw("Strict value is not equal to itself.")
359362 }
360363 else throw("Strict value is not equal to itself.")
361364 }
362365
363366
364367
365368 @Callable(i)
366369 func vote (assetId,inFavor) = {
367370 let endHeight = (startHeight + votingDuration)
368371 let checkAsset = if (containsNode(assetsListName, assetId))
369372 then true
370373 else throw("Invalid asset")
371374 if ((checkAsset == checkAsset))
372375 then {
373376 let checkHeight = if ((endHeight > height))
374377 then true
375378 else throw("Current voting is over but results are not finalized")
376379 if ((checkHeight == checkHeight))
377380 then {
378381 let userAddress = toString(i.caller)
379382 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
380383 let checkGwxAmountAtEnd = if ((gwxAmountAtEnd > 0))
381384 then true
382385 else throw("You'll not have gWX at the end of voting")
383386 if ((checkGwxAmountAtEnd == checkGwxAmountAtEnd))
384387 then {
385388 let votesListName = getVotesListName(assetId)
386389 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
387390 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)]
388391 let votesListActions = if (containsNode(votesListName, userAddress))
389392 then nil
390393 else insertNode(votesListName, userAddress)
391394 $Tuple2((votesListActions ++ userVoteActions), unit)
392395 }
393396 else throw("Strict value is not equal to itself.")
394397 }
395398 else throw("Strict value is not equal to itself.")
396399 }
397400 else throw("Strict value is not equal to itself.")
398401 }
399402
400403
401404
402405 @Callable(i)
403406 func cancelVote (assetId) = {
404407 let userAddress = toString(i.caller)
405408 let votesListName = getVotesListName(assetId)
406409 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
407410 let userVoteOrUnit = getString(userVoteKey)
408411 let checkVote = valueOrElse(getString(userVoteKey), "Nothing to cancel")
409412 if ((checkVote == checkVote))
410413 then {
411- let $t01507415135 = parseUserVote(value(userVoteOrUnit))
412- let total = $t01507415135._1
413- let inFavor = $t01507415135._2
414+ let $t01516715228 = parseUserVote(value(userVoteOrUnit))
415+ let total = $t01516715228._1
416+ let inFavor = $t01516715228._2
414417 let votesListActions = deleteNode(votesListName, userAddress)
415418 let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod, unit)]
416419 $Tuple2((votesListActions ++ userVoteActions), unit)
417420 }
418421 else throw("Strict value is not equal to itself.")
419422 }
420423
421424
422425
423426 @Callable(i)
424427 func finalizeAssetINTERNAL (assetId,period) = {
425428 let checkCaller = thisOnly(i)
426429 if ((checkCaller == checkCaller))
427430 then {
428431 let voteResultKey = keyVoteResultByPeriod(assetId, period)
429- let $t01579515968 = match getString(voteResultKey) {
432+ let $t01588816061 = match getString(voteResultKey) {
430433 case s: String =>
431434 let r = parseVoteResult(s)
432435 $Tuple2(r._1, r._2)
433436 case _: Unit =>
434437 $Tuple2(0, 0)
435438 case _ =>
436439 throw("Match error")
437440 }
438- let totalYes = $t01579515968._1
439- let totalNo = $t01579515968._2
441+ let totalYes = $t01588816061._1
442+ let totalNo = $t01588816061._2
440443 let total = (totalYes + totalNo)
441444 let verified = if ((total >= votingThreshold))
442445 then (totalYes > totalNo)
443446 else false
444- let assetVerifiedAction = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified)]
447+ let assetVerifiedActions = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified), if (verified)
448+ then BooleanEntry(keyAssetVerified(assetId), true)
449+ else DeleteEntry(keyAssetVerified(assetId))]
445450 let assetsStoreSetVerifiedInv = invoke(assetsStoreContract, "setVerified", [assetId, verified], nil)
446451 if ((assetsStoreSetVerifiedInv == assetsStoreSetVerifiedInv))
447452 then {
448453 let eliminate = if (verified)
449454 then false
450455 else eliminationCheck(assetId)
451456 let voteResultActions = if (eliminate)
452457 then nil
453458 else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1), verified)]
454459 let votesListActions = if (eliminate)
455460 then deleteNode(assetsListName, assetId)
456461 else nil
457- $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedAction), unit)
462+ $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedActions), unit)
458463 }
459464 else throw("Strict value is not equal to itself.")
460465 }
461466 else throw("Strict value is not equal to itself.")
462467 }
463468
464469
465470
466471 @Callable(i)
467472 func finalizeVotingHelper () = {
468473 let endHeight = (startHeight + votingDuration)
469474 if ((endHeight > height))
470475 then $Tuple2(nil, false)
471476 else {
472477 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAsset)
473478 let latestProcessedUserOrUnit = getString(keyLatestProcessedUser)
474479 let nextPeriodDelay = 0
475480 let finish = $Tuple2([IntegerEntry(keyStartHeight, (height + nextPeriodDelay)), IntegerEntry(keyCurrentPeriod, (currentPeriod + 1)), DeleteEntry(keyLatestProcessedAsset), DeleteEntry(keyLatestProcessedUser), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
476481 if ((latestProcessedAssetOrUnit == unit))
477482 then {
478483 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
479484 if ((assetsHeadOrUnit == unit))
480485 then finish
481486 else {
482487 let asset = value(assetsHeadOrUnit)
483488 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
484489 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
485490 $Tuple2(processVoteActions, true)
486491 }
487492 }
488493 else {
489494 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
490495 if ((latestProcessedUserOrUnit == unit))
491496 then {
492497 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
493498 if ((assetOrUnit == assetOrUnit))
494499 then {
495500 let finalizeAssetInv = invoke(this, "finalizeAssetINTERNAL", [latestProcessedAsset, currentPeriod], nil)
496501 if ((finalizeAssetInv == finalizeAssetInv))
497502 then if ((assetOrUnit == unit))
498503 then finish
499504 else {
500505 let asset = value(assetOrUnit)
501506 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
502507 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
503508 $Tuple2(processVoteActions, true)
504509 }
505510 else throw("Strict value is not equal to itself.")
506511 }
507512 else throw("Strict value is not equal to itself.")
508513 }
509514 else {
510515 let latestProcessedUser = value(latestProcessedUserOrUnit)
511516 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
512517 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
513518 $Tuple2(processVoteActions, true)
514519 }
515520 }
516521 }
517522 }
518523
519524
520525
521526 @Callable(i)
522527 func finalizeVotingWrapper (counter) = {
523528 let result = asBool(invoke(this, "finalizeVotingHelper", nil, nil))
524529 if ((result == result))
525530 then if (!(result))
526531 then if ((counter == 0))
527532 then throw("Current voting is not over yet")
528533 else $Tuple2(nil, unit)
529534 else if ((maxDepth > counter))
530535 then {
531536 let inv = invoke(this, "finalizeVotingWrapper", [(counter + 1)], nil)
532537 if ((inv == inv))
533538 then $Tuple2(nil, unit)
534539 else throw("Strict value is not equal to itself.")
535540 }
536541 else $Tuple2(nil, unit)
537542 else throw("Strict value is not equal to itself.")
538543 }
539544
540545
541546
542547 @Callable(i)
543548 func finalizeVoting () = {
544549 let inv = invoke(this, "finalizeVotingWrapper", [0], nil)
545550 if ((inv == inv))
546551 then $Tuple2(nil, unit)
547552 else throw("Strict value is not equal to itself.")
548553 }
549554
550555
551556
552557 @Callable(i)
553558 func transferVotesHelper () = {
554559 let votesTransferFinishedKey = keyVotesTransferFinishedByPeriod(currentPeriod)
555560 let votesTransferFinished = valueOrElse(getBoolean(votesTransferFinishedKey), false)
556561 let endHeight = (startHeight + votingDuration)
557562 if (if (if ((startHeight > height))
558563 then true
559564 else (height >= endHeight))
560565 then true
561566 else votesTransferFinished)
562567 then $Tuple2(nil, false)
563568 else {
564569 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAssetTransfer)
565570 let latestProcessedUserOrUnit = getString(keyLatestProcessedUserTransfer)
566571 let finish = $Tuple2([BooleanEntry(votesTransferFinishedKey, true), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
567572 if ((latestProcessedAssetOrUnit == unit))
568573 then {
569574 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
570575 if ((assetsHeadOrUnit == unit))
571576 then finish
572577 else {
573578 let asset = value(assetsHeadOrUnit)
574579 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
575580 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
576581 $Tuple2(processVoteActions, true)
577582 }
578583 }
579584 else {
580585 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
581586 if ((latestProcessedUserOrUnit == unit))
582587 then {
583588 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
584589 if ((assetOrUnit == unit))
585590 then finish
586591 else {
587592 let asset = value(assetOrUnit)
588593 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
589594 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
590595 $Tuple2(processVoteActions, true)
591596 }
592597 }
593598 else {
594599 let latestProcessedUser = value(latestProcessedUserOrUnit)
595600 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
596601 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
597602 $Tuple2(processVoteActions, true)
598603 }
599604 }
600605 }
601606 }
602607
603608
604609
605610 @Callable(i)
606611 func transferVotesWrapper (counter) = {
607612 let result = asBool(invoke(this, "transferVotesHelper", nil, nil))
608613 if ((result == result))
609614 then if (!(result))
610615 then if ((counter == 0))
611616 then throw("Voting is not started yet")
612617 else $Tuple2(nil, unit)
613618 else if ((maxDepth > counter))
614619 then {
615620 let inv = invoke(this, "transferVotesWrapper", [(counter + 1)], nil)
616621 if ((inv == inv))
617622 then $Tuple2(nil, unit)
618623 else throw("Strict value is not equal to itself.")
619624 }
620625 else $Tuple2(nil, unit)
621626 else throw("Strict value is not equal to itself.")
622627 }
623628
624629
625630
626631 @Callable(i)
627632 func transferVotes () = {
628633 let inv = invoke(this, "transferVotesWrapper", [0], nil)
629634 if ((inv == inv))
630635 then $Tuple2(nil, unit)
631636 else throw("Strict value is not equal to itself.")
632637 }
633638
634639
635640
636641 @Callable(i)
637642 func setVotingThreshold (newThreshold) = {
638643 let checkCaller = thisOnly(i)
639644 if ((checkCaller == checkCaller))
640645 then $Tuple2([IntegerEntry(keyVotingThreshold, newThreshold)], unit)
641646 else throw("Strict value is not equal to itself.")
642647 }
643648
644649
645650
646651 @Callable(i)
647652 func setFee (newFee) = {
648653 let checkCaller = thisOnly(i)
649654 if ((checkCaller == checkCaller))
650655 then $Tuple2([IntegerEntry(keyFeeAmount, newFee)], unit)
651656 else throw("Strict value is not equal to itself.")
652657 }
653658
654659
655660
656661 @Callable(i)
657662 func gwxAvailableForVoteREADONLY (userAddress) = {
658663 let endHeight = (startHeight + votingDuration)
659664 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
660665 $Tuple2(nil, gwxAmountAtEnd)
661666 }
662667
663668

github/deemru/w8io/169f3d6 
97.93 ms