tx · 9vUSWcpSF7614QcjHSJnyULRdbCjekxd2Fd8yqYPrGzV

3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg:  -0.01000000 Waves

2022.03.28 10:03 [1983439] smart account 3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg > SELF 0.00000000 Waves

{ "type": 13, "id": "9vUSWcpSF7614QcjHSJnyULRdbCjekxd2Fd8yqYPrGzV", "fee": 1000000, "feeAssetId": null, "timestamp": 1648451034610, "version": 2, "chainId": 84, "sender": "3N9yMmmL5cJ7LJxr8o6GFbKFUbGz4XcAjeg", "senderPublicKey": "C2aAS9D6FqfbrkCuCQCtPWAiopjyagvitFLjRuLcRPYt", "proofs": [ "29nLj7Z6NruYwhdNon9bkodGBvL5F96Skh4uh4pQSqkFm6q8bx7i2ibXZHPGYJ367rbMpgKvdQrfMoY6Q251BcyY" ], "script": "base64:AAIFAAAAAAAAAEgIAhIMCgoICAgBCAEBAQEBEgQKAggIEgQKAggEEgMKAQgSBAoCCAESABIDCgEBEgASABIDCgEBEgASAwoBARIDCgEBEgMKAQgAAAA6AAAAAAlzZXBhcmF0b3ICAAAAAl9fAAAAAA9tYXhEZXB0aERlZmF1bHQAAAAAAAAAAAoBAAAABWFzSW50AAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAZ2YWxJbnQFAAAAByRtYXRjaDAFAAAABnZhbEludAkAAAIAAAABAgAAABtGYWlsZWQgdG8gY2FzdCBpbnRvIEludGVnZXIBAAAABmFzQm9vbAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAB3ZhbEJvb2wFAAAAByRtYXRjaDAFAAAAB3ZhbEJvb2wJAAACAAAAAQIAAAAbRmFpbGVkIHRvIGNhc3QgaW50byBCb29sZWFuAAAAAAxrZXlGZWVB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d3hBbW91bnRBdEVuZAAAAAB177x7", "height": 1983439, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FW3zHnV1ArbfWPUQ9LnpjbYyUtVf98jFotirpxFB9rrv Next: F4pAAvH83rQBNzq6Zpq9dPz6biTGyoXjEL3bdAdKvN6W Diff:
OldNewDifferences
7777 func keyVoteResultByPeriod (assetId,period) = makeString(["%s%d%s", "votingResultAtAsset", toString(period), assetId], separator)
7878
7979
80-func formatVoteResult (totalYes,totalNo,verified) = makeString(["%d%d%s", toString(totalYes), toString(totalNo), toString(verified)], separator)
80+func formatVoteResult (totalYes,totalNo) = makeString(["%d%d", toString(totalYes), toString(totalNo)], separator)
8181
8282
8383 func parseVoteResult (input) = {
8484 let parts = split(input, separator)
8585 let totalYesIdx = 1
8686 let totalNoIdx = 2
87- let verifiedIdx = 3
8887 let totalYes = parseIntValue(parts[totalYesIdx])
8988 let totalNo = parseIntValue(parts[totalNoIdx])
90- let verified = (parts[verifiedIdx] == "true")
91- $Tuple3(totalYes, totalNo, verified)
89+ $Tuple2(totalYes, totalNo)
9290 }
9391
9492
182180 }
183181
184182
185-func getVoteResultAction (assetId,total,inFavor,period,verified) = {
183+func getVoteResultAction (assetId,total,inFavor,period) = {
186184 let voteResultKey = keyVoteResultByPeriod(assetId, period)
187- let $t055955898 = match getString(voteResultKey) {
185+ let $t054515583 = match getString(voteResultKey) {
188186 case s: String =>
189187 parseVoteResult(s)
190188 case _: Unit =>
191- match getString(keyVoteResultByPeriod(assetId, (period - 1))) {
192- case s: String =>
193- $Tuple3(0, 0, parseVoteResult(s)._3)
194- case _: Unit =>
195- $Tuple3(0, 0, false)
196- case _ =>
197- throw("Match error")
198- }
189+ $Tuple2(0, 0)
199190 case _ =>
200191 throw("Match error")
201192 }
202- let oldTotalYes = $t055955898._1
203- let oldTotalNo = $t055955898._2
204- let oldVerified = $t055955898._3
205- StringEntry(voteResultKey, formatVoteResult((oldTotalYes + (if (inFavor)
193+ let totalYes = $t054515583._1
194+ let totalNo = $t054515583._2
195+ StringEntry(voteResultKey, formatVoteResult((totalYes + (if (inFavor)
206196 then total
207- else 0)), (oldTotalNo + (if (inFavor)
197+ else 0)), (totalNo + (if (inFavor)
208198 then 0
209- else total)), if ((verified == unit))
210- then oldVerified
211- else value(verified)))
199+ else total))))
212200 }
213201
214202
280268 if ((userPreviousVoteOrUnit == unit))
281269 then nil
282270 else {
283- let $t097929865 = parseUserVote(value(userPreviousVoteOrUnit))
284- let prevTotal = $t097929865._1
285- let inFavor = $t097929865._2
271+ let $t093859458 = parseUserVote(value(userPreviousVoteOrUnit))
272+ let prevTotal = $t093859458._1
273+ let inFavor = $t093859458._2
286274 let total = min([prevTotal, userGwxAmountAtEndHeight])
287-[StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod, unit)]
275+[StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod)]
288276 }
289277 }
290278 else nil
349337 if ((burnFeeInv == burnFeeInv))
350338 then {
351339 let addAssetActions = insertNode(assetsListName, assetId)
352- $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod, false)), unit)
340+ $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod)), unit)
353341 }
354342 else throw("Strict value is not equal to itself.")
355343 }
382370 then {
383371 let votesListName = getVotesListName(assetId)
384372 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
385- 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)]
373+ let userVoteActions = [StringEntry(userVoteKey, formatUserVote(gwxAmountAtEnd, inFavor)), StringEntry(keyUserVoteHistory("vote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(gwxAmountAtEnd, inFavor)), getVoteResultAction(assetId, gwxAmountAtEnd, inFavor, currentPeriod)]
386374 let votesListActions = if (containsNode(votesListName, userAddress))
387375 then nil
388376 else insertNode(votesListName, userAddress)
406394 let checkVote = valueOrElse(getString(userVoteKey), "Nothing to cancel")
407395 if ((checkVote == checkVote))
408396 then {
409- let $t01498115042 = parseUserVote(value(userVoteOrUnit))
410- let total = $t01498115042._1
411- let inFavor = $t01498115042._2
397+ let $t01455514616 = parseUserVote(value(userVoteOrUnit))
398+ let total = $t01455514616._1
399+ let inFavor = $t01455514616._2
412400 let votesListActions = deleteNode(votesListName, userAddress)
413- let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod, unit)]
401+ let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod)]
414402 $Tuple2((votesListActions ++ userVoteActions), unit)
415403 }
416404 else throw("Strict value is not equal to itself.")
424412 if ((checkCaller == checkCaller))
425413 then {
426414 let voteResultKey = keyVoteResultByPeriod(assetId, period)
427- let $t01570215875 = match getString(voteResultKey) {
415+ let $t01527015402 = match getString(voteResultKey) {
428416 case s: String =>
429- let r = parseVoteResult(s)
430- $Tuple2(r._1, r._2)
417+ parseVoteResult(s)
431418 case _: Unit =>
432419 $Tuple2(0, 0)
433420 case _ =>
434421 throw("Match error")
435422 }
436- let totalYes = $t01570215875._1
437- let totalNo = $t01570215875._2
423+ let totalYes = $t01527015402._1
424+ let totalNo = $t01527015402._2
438425 let total = (totalYes + totalNo)
439426 let verified = if ((total >= votingThreshold))
440427 then (totalYes > totalNo)
448435 else eliminationCheck(assetId)
449436 let voteResultActions = if (eliminate)
450437 then nil
451- else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1), verified)]
438+ else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1))]
452439 let votesListActions = if (eliminate)
453440 then deleteNode(assetsListName, assetId)
454441 else nil
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
80-func formatVoteResult (totalYes,totalNo,verified) = makeString(["%d%d%s", toString(totalYes), toString(totalNo), toString(verified)], separator)
80+func formatVoteResult (totalYes,totalNo) = makeString(["%d%d", toString(totalYes), toString(totalNo)], separator)
8181
8282
8383 func parseVoteResult (input) = {
8484 let parts = split(input, separator)
8585 let totalYesIdx = 1
8686 let totalNoIdx = 2
87- let verifiedIdx = 3
8887 let totalYes = parseIntValue(parts[totalYesIdx])
8988 let totalNo = parseIntValue(parts[totalNoIdx])
90- let verified = (parts[verifiedIdx] == "true")
91- $Tuple3(totalYes, totalNo, verified)
89+ $Tuple2(totalYes, totalNo)
9290 }
9391
9492
9593 func keyUserVoteByPeriod (userAddress,assetId,period) = makeString(["%s%d%s%s", "vru", toString(period), assetId, userAddress], separator)
9694
9795
9896 func formatUserVote (total,inFavor) = {
9997 let totalYes = if (inFavor)
10098 then total
10199 else 0
102100 let totalNo = if (inFavor)
103101 then 0
104102 else total
105103 makeString(["%d%d", toString(totalYes), toString(totalNo)], separator)
106104 }
107105
108106
109107 func parseUserVote (input) = {
110108 let parts = split(input, separator)
111109 let totalYesIdx = 1
112110 let totalNoIdx = 2
113111 let totalYes = parseIntValue(parts[totalYesIdx])
114112 let totalNo = parseIntValue(parts[totalNoIdx])
115113 let inFavor = if ((totalYes > 0))
116114 then (totalNo == 0)
117115 else false
118116 let against = if ((totalYes == 0))
119117 then (totalNo > 0)
120118 else false
121119 let checkTotals = if (if (inFavor)
122120 then true
123121 else against)
124122 then true
125123 else throw("Invalid user vote value")
126124 if ((checkTotals == checkTotals))
127125 then {
128126 let total = if (inFavor)
129127 then totalYes
130128 else totalNo
131129 $Tuple2(total, inFavor)
132130 }
133131 else throw("Strict value is not equal to itself.")
134132 }
135133
136134
137135 func keyUserVoteHistory (type,userAddress,assetId,txId,period) = makeString(["%s%s%s%s%s%d", "history", type, assetId, userAddress, txId, toString(period)], separator)
138136
139137
140138 func thisOnly (i) = if ((i.caller == this))
141139 then true
142140 else throw("Permission denied")
143141
144142
145143 func getIntegerOrZero (key) = valueOrElse(getInteger(this, key), 0)
146144
147145
148146 func getIntegerOrFail (key) = valueOrErrorMessage(getInteger(this, key), (key + " is not defined"))
149147
150148
151149 func getStringOrEmpty (key) = valueOrElse(getString(this, key), "")
152150
153151
154152 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), (key + " is not defined"))
155153
156154
157155 let feeAmount = getIntegerOrFail(keyFeeAmount)
158156
159157 let wxAssetId = fromBase58String(getStringOrFail(keyWxAssetId))
160158
161159 let votingThreshold = getIntegerOrFail(keyVotingThreshold)
162160
163161 let votingDuration = getIntegerOrFail(keyVotingDuration)
164162
165163 let voteBeforeElimination = getIntegerOrFail(keyVoteBeforeElimination)
166164
167165 let startHeight = getIntegerOrFail(keyStartHeight)
168166
169167 let currentPeriod = getIntegerOrFail(keyCurrentPeriod)
170168
171169 let boostingContract = addressFromStringValue(getStringOrFail(keyBoostingContract))
172170
173171 let emissionContract = addressFromStringValue(getStringOrFail(keyEmissionContract))
174172
175173 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract))
176174
177175 let maxDepth = valueOrElse(getInteger(keyMaxDepth), maxDepthDefault)
178176
179177 func getUserGwxAmountAtHeight (userAddress,targetHeight) = {
180178 let gwxAmount = invoke(boostingContract, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)
181179 asInt(gwxAmount)
182180 }
183181
184182
185-func getVoteResultAction (assetId,total,inFavor,period,verified) = {
183+func getVoteResultAction (assetId,total,inFavor,period) = {
186184 let voteResultKey = keyVoteResultByPeriod(assetId, period)
187- let $t055955898 = match getString(voteResultKey) {
185+ let $t054515583 = match getString(voteResultKey) {
188186 case s: String =>
189187 parseVoteResult(s)
190188 case _: Unit =>
191- match getString(keyVoteResultByPeriod(assetId, (period - 1))) {
192- case s: String =>
193- $Tuple3(0, 0, parseVoteResult(s)._3)
194- case _: Unit =>
195- $Tuple3(0, 0, false)
196- case _ =>
197- throw("Match error")
198- }
189+ $Tuple2(0, 0)
199190 case _ =>
200191 throw("Match error")
201192 }
202- let oldTotalYes = $t055955898._1
203- let oldTotalNo = $t055955898._2
204- let oldVerified = $t055955898._3
205- StringEntry(voteResultKey, formatVoteResult((oldTotalYes + (if (inFavor)
193+ let totalYes = $t054515583._1
194+ let totalNo = $t054515583._2
195+ StringEntry(voteResultKey, formatVoteResult((totalYes + (if (inFavor)
206196 then total
207- else 0)), (oldTotalNo + (if (inFavor)
197+ else 0)), (totalNo + (if (inFavor)
208198 then 0
209- else total)), if ((verified == unit))
210- then oldVerified
211- else value(verified)))
199+ else total))))
212200 }
213201
214202
215203 func containsNode (listName,id) = {
216204 let head = getString(this, keyListHead(listName))
217205 let prev = getString(this, keyListPrev(listName, id))
218206 let next = getString(this, keyListNext(listName, id))
219207 if (if ((id == head))
220208 then true
221209 else (prev != unit))
222210 then true
223211 else (next != unit)
224212 }
225213
226214
227215 func insertNode (listName,id) = {
228216 let head = getString(this, keyListHead(listName))
229217 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
230218 let checkNode = if (!(containsNode(listName, id)))
231219 then true
232220 else throw("Node exists")
233221 if ((checkNode == checkNode))
234222 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if (isDefined(head))
235223 then [StringEntry(keyListNext(listName, id), value(head)), StringEntry(keyListPrev(listName, value(head)), id)]
236224 else nil)) ++ [StringEntry(keyListHead(listName), id)])
237225 else throw("Strict value is not equal to itself.")
238226 }
239227
240228
241229 func deleteNode (listName,id) = {
242230 let head = getString(this, keyListHead(listName))
243231 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
244232 let prev = getString(this, keyListPrev(listName, id))
245233 let next = getString(this, keyListNext(listName, id))
246234 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if (isDefined(prev))
247235 then isDefined(next)
248236 else false)
249237 then [StringEntry(keyListNext(listName, value(prev)), value(next)), StringEntry(keyListPrev(listName, value(next)), value(prev)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
250238 else if (isDefined(next))
251239 then [StringEntry(keyListHead(listName), value(next)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(next)))]
252240 else if (isDefined(prev))
253241 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prev)))]
254242 else if ((id == head))
255243 then [DeleteEntry(keyListHead(listName))]
256244 else throw("Invalid node")))
257245 }
258246
259247
260248 func processVote (assetId,userAddressOrUnit,latestProcessedAssetKey,latestProcessedUserKey) = {
261249 let updateLatestProcessedAssetAction = StringEntry(latestProcessedAssetKey, assetId)
262250 let deleteLatestProcessedUserAction = DeleteEntry(latestProcessedUserKey)
263251 if ((userAddressOrUnit == unit))
264252 then [updateLatestProcessedAssetAction, deleteLatestProcessedUserAction]
265253 else {
266254 let endHeight = (startHeight + votingDuration)
267255 let userAddress = value(userAddressOrUnit)
268256 let updateLatestProcessedUserAction = StringEntry(latestProcessedUserKey, userAddress)
269257 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
270258 let userVoteOrUnit = getString(userVoteKey)
271259 let userGwxAmountAtEndHeight = getUserGwxAmountAtHeight(userAddress, endHeight)
272260 let voteActions = if ((userGwxAmountAtEndHeight == 0))
273261 then {
274262 let votesListName = getVotesListName(assetId)
275263 deleteNode(votesListName, userAddress)
276264 }
277265 else if ((userVoteOrUnit == unit))
278266 then {
279267 let userPreviousVoteOrUnit = getString(keyUserVoteByPeriod(userAddress, assetId, (currentPeriod - 1)))
280268 if ((userPreviousVoteOrUnit == unit))
281269 then nil
282270 else {
283- let $t097929865 = parseUserVote(value(userPreviousVoteOrUnit))
284- let prevTotal = $t097929865._1
285- let inFavor = $t097929865._2
271+ let $t093859458 = parseUserVote(value(userPreviousVoteOrUnit))
272+ let prevTotal = $t093859458._1
273+ let inFavor = $t093859458._2
286274 let total = min([prevTotal, userGwxAmountAtEndHeight])
287-[StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod, unit)]
275+[StringEntry(userVoteKey, formatUserVote(total, inFavor)), getVoteResultAction(assetId, total, inFavor, currentPeriod)]
288276 }
289277 }
290278 else nil
291279 ((voteActions :+ updateLatestProcessedAssetAction) :+ updateLatestProcessedUserAction)
292280 }
293281 }
294282
295283
296284 func assetShouldBeEliminated (assetId,period) = !(valueOrElse(getBoolean(keyAssetVerifiedByPeriod(assetId, period)), true))
297285
298286
299287 func eliminationCheck (assetId) = if (if (assetShouldBeEliminated(assetId, (currentPeriod - 1)))
300288 then assetShouldBeEliminated(assetId, (currentPeriod - 2))
301289 else false)
302290 then assetShouldBeEliminated(assetId, (currentPeriod - 3))
303291 else false
304292
305293
306294 @Callable(i)
307295 func constructor (boostingContractPrm,emissionContractPrm,assetsStoreContractPrm,feeAmountPrm,wxAssetIdPrm,votingThresholdPrm,votingDurationPrm,voteBeforeEliminationPrm,startHeightPrm,maxDepthPrm) = {
308296 let checks = [thisOnly(i), if (isDefined(addressFromString(boostingContractPrm)))
309297 then true
310298 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(emissionContractPrm)))
311299 then true
312300 else throw("Invalid emission contract address"), if (isDefined(addressFromString(assetsStoreContractPrm)))
313301 then true
314302 else throw("Invalid asset_store contract address"), if ((feeAmountPrm >= 0))
315303 then true
316304 else throw("Invalid fee amount"), if (isDefined(assetInfo(fromBase58String(wxAssetIdPrm))))
317305 then true
318306 else throw("Invalid WX asset ID"), if ((votingThresholdPrm >= 0))
319307 then true
320308 else throw("Invalid voting threshold"), if ((votingDurationPrm > 0))
321309 then true
322310 else throw("Invalid voting duration"), if (((startHeightPrm + votingDurationPrm) > height))
323311 then true
324312 else throw("Invalid start height")]
325313 if ((checks == checks))
326314 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)
327315 else throw("Strict value is not equal to itself.")
328316 }
329317
330318
331319
332320 @Callable(i)
333321 func suggest (assetId,assetImage) = {
334322 let info = valueOrErrorMessage(assetInfo(fromBase58String(assetId)), "Invalid asset ID")
335323 let payment = value(i.payments[0])
336324 let checks = [if ((info.issuer == i.caller))
337325 then true
338326 else throw("Asset can only be suggested by its issuer"), if ((value(payment.assetId) == wxAssetId))
339327 then true
340328 else throw("Invalid fee asset"), if ((payment.amount == feeAmount))
341329 then true
342330 else throw("Invalid fee amount")]
343331 if ((checks == checks))
344332 then {
345333 let assetsStoreCreateOrUpdateInv = invoke(assetsStoreContract, "createOrUpdate", [assetId, "", assetImage, false], nil)
346334 if ((assetsStoreCreateOrUpdateInv == assetsStoreCreateOrUpdateInv))
347335 then {
348336 let burnFeeInv = invoke(emissionContract, "burn", nil, [AttachedPayment(payment.assetId, payment.amount)])
349337 if ((burnFeeInv == burnFeeInv))
350338 then {
351339 let addAssetActions = insertNode(assetsListName, assetId)
352- $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod, false)), unit)
340+ $Tuple2((addAssetActions :+ getVoteResultAction(assetId, 0, true, currentPeriod)), unit)
353341 }
354342 else throw("Strict value is not equal to itself.")
355343 }
356344 else throw("Strict value is not equal to itself.")
357345 }
358346 else throw("Strict value is not equal to itself.")
359347 }
360348
361349
362350
363351 @Callable(i)
364352 func vote (assetId,inFavor) = {
365353 let endHeight = (startHeight + votingDuration)
366354 let checkAsset = if (containsNode(assetsListName, assetId))
367355 then true
368356 else throw("Invalid asset")
369357 if ((checkAsset == checkAsset))
370358 then {
371359 let checkHeight = if ((endHeight > height))
372360 then true
373361 else throw("Current voting is over but results are not finalized")
374362 if ((checkHeight == checkHeight))
375363 then {
376364 let userAddress = toString(i.caller)
377365 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
378366 let checkGwxAmountAtEnd = if ((gwxAmountAtEnd > 0))
379367 then true
380368 else throw("You'll not have gWX at the end of voting")
381369 if ((checkGwxAmountAtEnd == checkGwxAmountAtEnd))
382370 then {
383371 let votesListName = getVotesListName(assetId)
384372 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
385- 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)]
373+ let userVoteActions = [StringEntry(userVoteKey, formatUserVote(gwxAmountAtEnd, inFavor)), StringEntry(keyUserVoteHistory("vote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(gwxAmountAtEnd, inFavor)), getVoteResultAction(assetId, gwxAmountAtEnd, inFavor, currentPeriod)]
386374 let votesListActions = if (containsNode(votesListName, userAddress))
387375 then nil
388376 else insertNode(votesListName, userAddress)
389377 $Tuple2((votesListActions ++ userVoteActions), unit)
390378 }
391379 else throw("Strict value is not equal to itself.")
392380 }
393381 else throw("Strict value is not equal to itself.")
394382 }
395383 else throw("Strict value is not equal to itself.")
396384 }
397385
398386
399387
400388 @Callable(i)
401389 func cancelVote (assetId) = {
402390 let userAddress = toString(i.caller)
403391 let votesListName = getVotesListName(assetId)
404392 let userVoteKey = keyUserVoteByPeriod(userAddress, assetId, currentPeriod)
405393 let userVoteOrUnit = getString(userVoteKey)
406394 let checkVote = valueOrElse(getString(userVoteKey), "Nothing to cancel")
407395 if ((checkVote == checkVote))
408396 then {
409- let $t01498115042 = parseUserVote(value(userVoteOrUnit))
410- let total = $t01498115042._1
411- let inFavor = $t01498115042._2
397+ let $t01455514616 = parseUserVote(value(userVoteOrUnit))
398+ let total = $t01455514616._1
399+ let inFavor = $t01455514616._2
412400 let votesListActions = deleteNode(votesListName, userAddress)
413- let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod, unit)]
401+ let userVoteActions = [DeleteEntry(userVoteKey), StringEntry(keyUserVoteHistory("cancelVote", userAddress, assetId, toBase58String(i.transactionId), currentPeriod), formatUserVote(0, true)), getVoteResultAction(assetId, -(total), inFavor, currentPeriod)]
414402 $Tuple2((votesListActions ++ userVoteActions), unit)
415403 }
416404 else throw("Strict value is not equal to itself.")
417405 }
418406
419407
420408
421409 @Callable(i)
422410 func finalizeAssetINTERNAL (assetId,period) = {
423411 let checkCaller = thisOnly(i)
424412 if ((checkCaller == checkCaller))
425413 then {
426414 let voteResultKey = keyVoteResultByPeriod(assetId, period)
427- let $t01570215875 = match getString(voteResultKey) {
415+ let $t01527015402 = match getString(voteResultKey) {
428416 case s: String =>
429- let r = parseVoteResult(s)
430- $Tuple2(r._1, r._2)
417+ parseVoteResult(s)
431418 case _: Unit =>
432419 $Tuple2(0, 0)
433420 case _ =>
434421 throw("Match error")
435422 }
436- let totalYes = $t01570215875._1
437- let totalNo = $t01570215875._2
423+ let totalYes = $t01527015402._1
424+ let totalNo = $t01527015402._2
438425 let total = (totalYes + totalNo)
439426 let verified = if ((total >= votingThreshold))
440427 then (totalYes > totalNo)
441428 else false
442429 let assetVerifiedAction = [BooleanEntry(keyAssetVerifiedByPeriod(assetId, period), verified)]
443430 let assetsStoreSetVerifiedInv = invoke(assetsStoreContract, "setVerified", [assetId, verified], nil)
444431 if ((assetsStoreSetVerifiedInv == assetsStoreSetVerifiedInv))
445432 then {
446433 let eliminate = if (verified)
447434 then false
448435 else eliminationCheck(assetId)
449436 let voteResultActions = if (eliminate)
450437 then nil
451- else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1), verified)]
438+ else [getVoteResultAction(assetId, 0, true, (currentPeriod + 1))]
452439 let votesListActions = if (eliminate)
453440 then deleteNode(assetsListName, assetId)
454441 else nil
455442 $Tuple2(((votesListActions ++ voteResultActions) ++ assetVerifiedAction), unit)
456443 }
457444 else throw("Strict value is not equal to itself.")
458445 }
459446 else throw("Strict value is not equal to itself.")
460447 }
461448
462449
463450
464451 @Callable(i)
465452 func finalizeVotingHelper () = {
466453 let endHeight = (startHeight + votingDuration)
467454 if ((endHeight > height))
468455 then $Tuple2(nil, false)
469456 else {
470457 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAsset)
471458 let latestProcessedUserOrUnit = getString(keyLatestProcessedUser)
472459 let nextPeriodDelay = 0
473460 let finish = $Tuple2([IntegerEntry(keyStartHeight, (height + nextPeriodDelay)), IntegerEntry(keyCurrentPeriod, (currentPeriod + 1)), DeleteEntry(keyLatestProcessedAsset), DeleteEntry(keyLatestProcessedUser), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
474461 if ((latestProcessedAssetOrUnit == unit))
475462 then {
476463 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
477464 if ((assetsHeadOrUnit == unit))
478465 then finish
479466 else {
480467 let asset = value(assetsHeadOrUnit)
481468 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
482469 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
483470 $Tuple2(processVoteActions, true)
484471 }
485472 }
486473 else {
487474 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
488475 if ((latestProcessedUserOrUnit == unit))
489476 then {
490477 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
491478 if ((assetOrUnit == assetOrUnit))
492479 then {
493480 let finalizeAssetInv = invoke(this, "finalizeAssetINTERNAL", [latestProcessedAsset, currentPeriod], nil)
494481 if ((finalizeAssetInv == finalizeAssetInv))
495482 then if ((assetOrUnit == unit))
496483 then finish
497484 else {
498485 let asset = value(assetOrUnit)
499486 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
500487 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
501488 $Tuple2(processVoteActions, true)
502489 }
503490 else throw("Strict value is not equal to itself.")
504491 }
505492 else throw("Strict value is not equal to itself.")
506493 }
507494 else {
508495 let latestProcessedUser = value(latestProcessedUserOrUnit)
509496 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
510497 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAsset, keyLatestProcessedUser)
511498 $Tuple2(processVoteActions, true)
512499 }
513500 }
514501 }
515502 }
516503
517504
518505
519506 @Callable(i)
520507 func finalizeVotingWrapper (counter) = {
521508 let result = asBool(invoke(this, "finalizeVotingHelper", nil, nil))
522509 if ((result == result))
523510 then if (!(result))
524511 then if ((counter == 0))
525512 then throw("Current voting is not over yet")
526513 else $Tuple2(nil, unit)
527514 else if ((maxDepth > counter))
528515 then {
529516 let inv = invoke(this, "finalizeVotingWrapper", [(counter + 1)], nil)
530517 if ((inv == inv))
531518 then $Tuple2(nil, unit)
532519 else throw("Strict value is not equal to itself.")
533520 }
534521 else $Tuple2(nil, unit)
535522 else throw("Strict value is not equal to itself.")
536523 }
537524
538525
539526
540527 @Callable(i)
541528 func finalizeVoting () = {
542529 let inv = invoke(this, "finalizeVotingWrapper", [0], nil)
543530 if ((inv == inv))
544531 then $Tuple2(nil, unit)
545532 else throw("Strict value is not equal to itself.")
546533 }
547534
548535
549536
550537 @Callable(i)
551538 func transferVotesHelper () = {
552539 let votesTransferFinishedKey = keyVotesTransferFinishedByPeriod(currentPeriod)
553540 let votesTransferFinished = valueOrElse(getBoolean(votesTransferFinishedKey), false)
554541 let endHeight = (startHeight + votingDuration)
555542 if (if (if ((startHeight > height))
556543 then true
557544 else (height >= endHeight))
558545 then true
559546 else votesTransferFinished)
560547 then $Tuple2(nil, false)
561548 else {
562549 let latestProcessedAssetOrUnit = getString(keyLatestProcessedAssetTransfer)
563550 let latestProcessedUserOrUnit = getString(keyLatestProcessedUserTransfer)
564551 let finish = $Tuple2([BooleanEntry(votesTransferFinishedKey, true), DeleteEntry(keyLatestProcessedAssetTransfer), DeleteEntry(keyLatestProcessedUserTransfer)], true)
565552 if ((latestProcessedAssetOrUnit == unit))
566553 then {
567554 let assetsHeadOrUnit = getString(keyListHead(assetsListName))
568555 if ((assetsHeadOrUnit == unit))
569556 then finish
570557 else {
571558 let asset = value(assetsHeadOrUnit)
572559 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
573560 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
574561 $Tuple2(processVoteActions, true)
575562 }
576563 }
577564 else {
578565 let latestProcessedAsset = value(latestProcessedAssetOrUnit)
579566 if ((latestProcessedUserOrUnit == unit))
580567 then {
581568 let assetOrUnit = getString(keyListNext(assetsListName, latestProcessedAsset))
582569 if ((assetOrUnit == unit))
583570 then finish
584571 else {
585572 let asset = value(assetOrUnit)
586573 let userAddressOrUnit = getString(keyListHead(getVotesListName(asset)))
587574 let processVoteActions = processVote(asset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
588575 $Tuple2(processVoteActions, true)
589576 }
590577 }
591578 else {
592579 let latestProcessedUser = value(latestProcessedUserOrUnit)
593580 let userAddressOrUnit = getString(keyListNext(getVotesListName(latestProcessedAsset), latestProcessedUser))
594581 let processVoteActions = processVote(latestProcessedAsset, userAddressOrUnit, keyLatestProcessedAssetTransfer, keyLatestProcessedUserTransfer)
595582 $Tuple2(processVoteActions, true)
596583 }
597584 }
598585 }
599586 }
600587
601588
602589
603590 @Callable(i)
604591 func transferVotesWrapper (counter) = {
605592 let result = asBool(invoke(this, "transferVotesHelper", nil, nil))
606593 if ((result == result))
607594 then if (!(result))
608595 then if ((counter == 0))
609596 then throw("Voting is not started yet")
610597 else $Tuple2(nil, unit)
611598 else if ((maxDepth > counter))
612599 then {
613600 let inv = invoke(this, "transferVotesWrapper", [(counter + 1)], nil)
614601 if ((inv == inv))
615602 then $Tuple2(nil, unit)
616603 else throw("Strict value is not equal to itself.")
617604 }
618605 else $Tuple2(nil, unit)
619606 else throw("Strict value is not equal to itself.")
620607 }
621608
622609
623610
624611 @Callable(i)
625612 func transferVotes () = {
626613 let inv = invoke(this, "transferVotesWrapper", [0], nil)
627614 if ((inv == inv))
628615 then $Tuple2(nil, unit)
629616 else throw("Strict value is not equal to itself.")
630617 }
631618
632619
633620
634621 @Callable(i)
635622 func setVotingThreshold (newThreshold) = {
636623 let checkCaller = thisOnly(i)
637624 if ((checkCaller == checkCaller))
638625 then $Tuple2([IntegerEntry(keyVotingThreshold, newThreshold)], unit)
639626 else throw("Strict value is not equal to itself.")
640627 }
641628
642629
643630
644631 @Callable(i)
645632 func setFee (newFee) = {
646633 let checkCaller = thisOnly(i)
647634 if ((checkCaller == checkCaller))
648635 then $Tuple2([IntegerEntry(keyFeeAmount, newFee)], unit)
649636 else throw("Strict value is not equal to itself.")
650637 }
651638
652639
653640
654641 @Callable(i)
655642 func gwxAvailableForVoteREADONLY (userAddress) = {
656643 let endHeight = (startHeight + votingDuration)
657644 let gwxAmountAtEnd = getUserGwxAmountAtHeight(userAddress, endHeight)
658645 $Tuple2(nil, gwxAmountAtEnd)
659646 }
660647
661648

github/deemru/w8io/026f985 
76.88 ms