tx · DRGk3GbGQpsVoaPPAUC4V4FSpPmdxhgJfnudze1Fe5oE

3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA:  -0.02800000 Waves

2022.07.07 15:45 [2129292] smart account 3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA > SELF 0.00000000 Waves

{ "type": 13, "id": "DRGk3GbGQpsVoaPPAUC4V4FSpPmdxhgJfnudze1Fe5oE", "fee": 2800000, "feeAssetId": null, "timestamp": 1657197973553, "version": 1, "sender": "3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA", "senderPublicKey": "D46gQxzmdzdCTYRg6dMcwFoUrc6ZmxF6GKd5ZoTkvzp1", "proofs": [ "3FVTRU2rt6cnFZZcMrfy6BdxHMpby8gKCbWLPcqBZBsA8ch6UabXLVz4mozPhATsmCWbeieAhsBVUYi8oQfKCtVk" ], "script": "base64:BgJbCAISAwoBCBIAEgQKAggBEgcKBQgICAgBEgQKAggIEgUKAwgIARIECgIICBIDCgEBEgMKAQESBAoCCAgSAwoBCBIAEgMKAQESABIECgIICBIECgIICBIECgIICDEACXNlcGFyYXRvcgICX18ADnBvb2xXZWlnaHRNdWx0AIDC1y8AD21heERlcHRoRGVmYXVsdAAKABZmaW5hbGl6YXRpb25TdGFnZVRvdGFsAAAAF2ZpbmFsaXphdGlvblN0YWdlU2hhcmVzAAEADmtleUVwb2NoTGVuZ3RoCQC5CQIJAMwIAgICJXMJAMwIAgILZXBvY2hMZW5ndGgFA25pbAUJc2VwYXJhdG9yAA9rZXlDdXJyZW50RXBvY2gJALkJAgkAzAgCAgIlcwkAzAgCAgxjdXJyZW50RXBvY2gFA25pbAUJc2VwYXJhdG9yAAtrZXlNYXhEZXB0aAkAuQkCCQDMCAICAiVzCQDMCAICCG1heERlcHRoBQNuaWwFCXNlcGFyYXRvcgAia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdAkAuQkCCQDMCAICAiVzCQDMCAICH3ZvdGluZ0VtaXNzaW9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XQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEKZGVsZXRlTm9kZQIIbGlzdE5hbWUCaWQEC2NoZWNrQ2FsbGVyCQELbXVzdE1hbmFnZXIBBQFpAwkAAAIFC2NoZWNrQ2FsbGVyBQtjaGVja0NhbGxlcgkAlAoCCQERZGVsZXRlTm9kZUFjdGlvbnMCBQhsaXN0TmFtZQUCaWQFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXnUIYDF", "chainId": 84, "height": 2129292, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CxzAAN3JwF1JdVC2iMNLuNVTF1rmqKMFbNXqWttDp2f3 Next: 84drU6s3DSpw3Z9oXBGX5qjDy5fDurZJZ817uQ6havyo Diff:
OldNewDifferences
624624 case _: Unit =>
625625 getString(keyListHead(getVotesListName(pool)))
626626 case user: String =>
627- let processVoteInv = invoke(this, "processVoteINTERNAL", [poolStr, user], nil)
628- if ((processVoteInv == processVoteInv))
629- then getString(keyListNext(getVotesListName(pool), user))
627+ let next = getString(keyListNext(getVotesListName(pool), user))
628+ if ((next == next))
629+ then {
630+ let processVoteInv = invoke(this, "processVoteINTERNAL", [poolStr, user], nil)
631+ if ((processVoteInv == processVoteInv))
632+ then next
633+ else throw("Strict value is not equal to itself.")
634+ }
630635 else throw("Strict value is not equal to itself.")
631636 case _ =>
632637 throw("Match error")
665670 throw("Match error")
666671 }
667672 case poolStr: String =>
668- let r = {
669- let @ = invoke(this, "processPoolINTERNAL", [poolStr], nil)
670- if ($isInstanceOf(@, "Boolean"))
671- then @
672- else throw(($getType(invoke(this, "processPoolINTERNAL", [poolStr], nil)) + " couldn't be cast to Boolean"))
673- }
674- if ((r == r))
675- then if (r)
676- then $Tuple2(nil, true)
677- else {
678- let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr))
679- match nextPoolOrUnit {
680- case _: Unit =>
681- $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight), DeleteEntry(keyNextPool)], true)
682- case nextPoolStr: String =>
683- $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true)
684- case _ =>
685- throw("Match error")
673+ let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr))
674+ if ((nextPoolOrUnit == nextPoolOrUnit))
675+ then {
676+ let r = {
677+ let @ = invoke(this, "processPoolINTERNAL", [poolStr], nil)
678+ if ($isInstanceOf(@, "Boolean"))
679+ then @
680+ else throw(($getType(invoke(this, "processPoolINTERNAL", [poolStr], nil)) + " couldn't be cast to Boolean"))
686681 }
687- }
682+ if ((r == r))
683+ then if (r)
684+ then $Tuple2(nil, true)
685+ else match nextPoolOrUnit {
686+ case _: Unit =>
687+ $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight), DeleteEntry(keyNextPool)], true)
688+ case nextPoolStr: String =>
689+ $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true)
690+ case _ =>
691+ throw("Match error")
692+ }
693+ else throw("Strict value is not equal to itself.")
694+ }
688695 else throw("Strict value is not equal to itself.")
689696 case _ =>
690697 throw("Match error")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "__"
55
66 let poolWeightMult = 100000000
77
88 let maxDepthDefault = 10
99
1010 let finalizationStageTotal = 0
1111
1212 let finalizationStageShares = 1
1313
1414 let keyEpochLength = makeString(["%s", "epochLength"], separator)
1515
1616 let keyCurrentEpoch = makeString(["%s", "currentEpoch"], separator)
1717
1818 let keyMaxDepth = makeString(["%s", "maxDepth"], separator)
1919
2020 let keyVotingEmissionCandidateContract = makeString(["%s", "votingEmissionCandidateContract"], separator)
2121
2222 let keyFactoryContract = makeString(["%s", "factoryContract"], separator)
2323
2424 let keyBoostingContract = makeString(["%s", "boostingContract"], separator)
2525
2626 let keyStakingContract = makeString(["%s", "stakingContract"], separator)
2727
2828 let keyFinalizationStage = makeString(["%s", "finalizationStage"], separator)
2929
3030 let keyNextPool = makeString(["%s", "nextPool"], separator)
3131
3232 let keyNextUser = makeString(["%s", "nextUser"], separator)
3333
3434 let keyStartHeight = makeString(["%s", "startHeight"], separator)
3535
3636 let keyCurrentEpochUi = makeString(["%s", "currentEpochUi"], separator)
3737
3838 let keyStartHeightUi = makeString(["%s", "startHeightUi"], separator)
3939
4040 func keyStartHeightByEpoch (epoch) = makeString(["%s%d", "startHeight", toString(epoch)], separator)
4141
4242
4343 func keyFinalized (epoch) = makeString(["%s%d", "finalized", toString(epoch)], separator)
4444
4545
4646 func keyInList (pool) = {
4747 let $t014361476 = pool
4848 let amountAssetId = $t014361476._1
4949 let priceAssetId = $t014361476._2
5050 makeString(["%s%s%s", "inList", amountAssetId, priceAssetId], separator)
5151 }
5252
5353
5454 func keyUsed (address,epoch) = makeString(["%s%s%d", "used", toString(address), toString(epoch)], separator)
5555
5656
5757 func keyVote (pool,address,epoch) = {
5858 let $t017501790 = pool
5959 let amountAssetId = $t017501790._1
6060 let priceAssetId = $t017501790._2
6161 makeString(["%s%s%s%s%d", "vote", amountAssetId, priceAssetId, toString(address), toString(epoch)], separator)
6262 }
6363
6464
6565 func keyVotingResult (pool,epoch) = {
6666 let $t019722012 = pool
6767 let amountAssetId = $t019722012._1
6868 let priceAssetId = $t019722012._2
6969 makeString(["%s%s%s%d", "votingResult", amountAssetId, priceAssetId, toString(epoch)], separator)
7070 }
7171
7272
7373 func keyPoolShare (pool,epoch) = {
7474 let $t021772217 = pool
7575 let amountAssetId = $t021772217._1
7676 let priceAssetId = $t021772217._2
7777 makeString(["%s%s%s%d", "poolShare", amountAssetId, priceAssetId, toString(epoch)], separator)
7878 }
7979
8080
8181 func keyTotalVotes (epoch) = makeString(["%s%d", "totalVotes", toString(epoch)], separator)
8282
8383
8484 func getValueOrFail (address,key,type) = {
8585 let error = makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")
8686 valueOrErrorMessage( match type {
8787 case str: String =>
8888 getString(address, key)
8989 case int: Int =>
9090 getInteger(address, key)
9191 case _ =>
9292 throw("invalid entry type")
9393 }, error)
9494 }
9595
9696
9797 func getStrOrFail (address,key) = {
9898 let @ = getValueOrFail(address, key, "")
9999 if ($isInstanceOf(@, "String"))
100100 then @
101101 else throw(($getType(getValueOrFail(address, key, "")) + " couldn't be cast to String"))
102102 }
103103
104104
105105 func getIntOrFail (address,key) = {
106106 let @ = getValueOrFail(address, key, 0)
107107 if ($isInstanceOf(@, "Int"))
108108 then @
109109 else throw(($getType(getValueOrFail(address, key, 0)) + " couldn't be cast to Int"))
110110 }
111111
112112
113113 func poolToString (pool) = ((pool._1 + separator) + pool._2)
114114
115115
116116 func stringToPool (str) = {
117117 let parts = split(str, separator)
118118 if ((size(parts) == 2))
119119 then $Tuple2(parts[0], parts[1])
120120 else throw("invalid pool string")
121121 }
122122
123123
124124 func getLpAssetByPoolAssets (amountAssetId,priceAssetId) = {
125125 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
126126
127127 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
128128
129129 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
130130
131131 let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract))
132132 let amountAssetInternalId = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(amountAssetId))
133133 let priceAssetInternalId = getIntOrFail(factoryContract, keyMappingsBaseAsset2internalId(priceAssetId))
134134 let poolContractAddress = getStrOrFail(factoryContract, keyMappingPoolAssetsToPoolContractAddress(amountAssetInternalId, priceAssetInternalId))
135135 let lpAssetId = getStrOrFail(factoryContract, keyMappingPoolContractToLPAsset(poolContractAddress))
136136 lpAssetId
137137 }
138138
139139
140140 func checkWxEmissionPoolLabel (pool) = {
141141 let $t044594499 = pool
142142 let amountAssetId = $t044594499._1
143143 let priceAssetId = $t044594499._2
144144 let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract))
145145 let @ = invoke(factoryContract, "checkWxEmissionPoolLabel", [amountAssetId, priceAssetId], nil)
146146 if ($isInstanceOf(@, "Boolean"))
147147 then @
148148 else throw(($getType(invoke(factoryContract, "checkWxEmissionPoolLabel", [amountAssetId, priceAssetId], nil)) + " couldn't be cast to Boolean"))
149149 }
150150
151151
152152 let poolsListName = "pools"
153153
154154 func getVotesListName (pool) = {
155155 let $t048004840 = pool
156156 let amountAssetId = $t048004840._1
157157 let priceAssetId = $t048004840._2
158158 makeString(["votes", amountAssetId, priceAssetId], separator)
159159 }
160160
161161
162162 func keyListHead (listName) = {
163163 let meta = if ((listName == poolsListName))
164164 then "%s%s"
165165 else "%s%s%s%s"
166166 makeString([meta, listName, "head"], separator)
167167 }
168168
169169
170170 func keyListSize (listName) = {
171171 let meta = if ((listName == poolsListName))
172172 then "%s%s"
173173 else "%s%s%s%s"
174174 makeString([meta, listName, "size"], separator)
175175 }
176176
177177
178178 func keyListPrev (listName,id) = {
179179 let meta = if ((listName == poolsListName))
180180 then "%s%s%s%s"
181181 else "%s%s%s%s%s"
182182 makeString([meta, listName, id, "prev"], separator)
183183 }
184184
185185
186186 func keyListNext (listName,id) = {
187187 let meta = if ((listName == poolsListName))
188188 then "%s%s%s%s"
189189 else "%s%s%s%s%s"
190190 makeString([meta, listName, id, "next"], separator)
191191 }
192192
193193
194194 func containsNode (listName,id) = {
195195 let headOrUnit = getString(this, keyListHead(listName))
196196 let prevOrUnit = getString(this, keyListPrev(listName, id))
197197 let nextOrUnit = getString(this, keyListNext(listName, id))
198198 if (if ((id == valueOrElse(headOrUnit, "")))
199199 then true
200200 else (prevOrUnit != unit))
201201 then true
202202 else (nextOrUnit != unit)
203203 }
204204
205205
206206 func insertNodeActions (listName,id) = {
207207 let headOrUnit = getString(this, keyListHead(listName))
208208 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
209209 let checkNode = if (!(containsNode(listName, id)))
210210 then true
211211 else throw("Node exists")
212212 if ((checkNode == checkNode))
213213 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if ((headOrUnit != unit))
214214 then [StringEntry(keyListNext(listName, id), value(headOrUnit)), StringEntry(keyListPrev(listName, value(headOrUnit)), id)]
215215 else nil)) ++ [StringEntry(keyListHead(listName), id)])
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220 func deleteNodeActions (listName,id) = {
221221 let headOrUnit = getString(this, keyListHead(listName))
222222 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
223223 let prevOrUnit = getString(this, keyListPrev(listName, id))
224224 let nextOrUnit = getString(this, keyListNext(listName, id))
225225 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if ((prevOrUnit != unit))
226226 then (nextOrUnit != unit)
227227 else false)
228228 then [StringEntry(keyListNext(listName, value(prevOrUnit)), value(nextOrUnit)), StringEntry(keyListPrev(listName, value(nextOrUnit)), value(prevOrUnit)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
229229 else if ((nextOrUnit != unit))
230230 then [StringEntry(keyListHead(listName), value(nextOrUnit)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(nextOrUnit)))]
231231 else if ((prevOrUnit != unit))
232232 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prevOrUnit)))]
233233 else if ((id == valueOrElse(headOrUnit, "")))
234234 then [DeleteEntry(keyListHead(listName))]
235235 else throw(((("invalid node: " + listName) + ".") + id))))
236236 }
237237
238238
239239 func keyManagerPublicKey () = "%s__managerPublicKey"
240240
241241
242242 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
243243
244244
245245 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
246246 case s: String =>
247247 fromBase58String(s)
248248 case _: Unit =>
249249 unit
250250 case _ =>
251251 throw("Match error")
252252 }
253253
254254
255255 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
256256 case s: String =>
257257 fromBase58String(s)
258258 case _: Unit =>
259259 unit
260260 case _ =>
261261 throw("Match error")
262262 }
263263
264264
265265 let permissionDeniedError = throw("Permission denied")
266266
267267 func mustThis (i) = if ((i.caller == this))
268268 then true
269269 else permissionDeniedError
270270
271271
272272 func mustManager (i) = match managerPublicKeyOrUnit() {
273273 case pk: ByteVector =>
274274 if ((i.callerPublicKey == pk))
275275 then true
276276 else permissionDeniedError
277277 case _: Unit =>
278278 mustThis(i)
279279 case _ =>
280280 throw("Match error")
281281 }
282282
283283
284284 @Callable(i)
285285 func setManager (pendingManagerPublicKey) = {
286286 let checkCaller = mustManager(i)
287287 if ((checkCaller == checkCaller))
288288 then {
289289 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
290290 if ((checkManagerPublicKey == checkManagerPublicKey))
291291 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
292292 else throw("Strict value is not equal to itself.")
293293 }
294294 else throw("Strict value is not equal to itself.")
295295 }
296296
297297
298298
299299 @Callable(i)
300300 func confirmManager () = {
301301 let pm = pendingManagerPublicKeyOrUnit()
302302 let hasPM = if (isDefined(pm))
303303 then true
304304 else throw("No pending manager")
305305 if ((hasPM == hasPM))
306306 then {
307307 let checkPM = if ((i.callerPublicKey == value(pm)))
308308 then true
309309 else throw("You are not pending manager")
310310 if ((checkPM == checkPM))
311311 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
312312 else throw("Strict value is not equal to itself.")
313313 }
314314 else throw("Strict value is not equal to itself.")
315315 }
316316
317317
318318
319319 @Callable(i)
320320 func getUserGwxAmountAtHeight (userAddress,targetHeight) = {
321321 let boostingContractAddress = valueOrErrorMessage(addressFromString(getStrOrFail(this, keyBoostingContract)), "invalid boosting contract address")
322322 $Tuple2(nil, {
323323 let @ = invoke(boostingContractAddress, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)
324324 if ($isInstanceOf(@, "Int"))
325325 then @
326326 else throw(($getType(invoke(boostingContractAddress, "getUserGwxAmountAtHeightREADONLY", [userAddress, targetHeight], nil)) + " couldn't be cast to Int"))
327327 })
328328 }
329329
330330
331331
332332 @Callable(i)
333333 func constructor (factoryContract,votingEmissionCandidateContract,boostingContract,stakingContract,epochLength) = {
334334 let checks = [mustManager(i), if ((addressFromString(factoryContract) != unit))
335335 then true
336336 else "invalid factory contract address", if ((addressFromString(votingEmissionCandidateContract) != unit))
337337 then true
338338 else "invalid voting emission candidate contract address", if ((addressFromString(boostingContract) != unit))
339339 then true
340340 else "invalid boosting contract address", if ((addressFromString(stakingContract) != unit))
341341 then true
342342 else "invalid staking contract address", if ((epochLength > 0))
343343 then true
344344 else throw("invalid epoch length")]
345345 if ((checks == checks))
346346 then $Tuple2([StringEntry(keyFactoryContract, factoryContract), StringEntry(keyVotingEmissionCandidateContract, votingEmissionCandidateContract), StringEntry(keyBoostingContract, boostingContract), StringEntry(keyStakingContract, stakingContract), IntegerEntry(keyEpochLength, epochLength)], unit)
347347 else throw("Strict value is not equal to itself.")
348348 }
349349
350350
351351
352352 @Callable(i)
353353 func create (amountAssetId,priceAssetId) = {
354354 let checks = [if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionCandidateContract), "")))
355355 then true
356356 else mustManager(i)]
357357 if ((checks == checks))
358358 then {
359359 let pool = $Tuple2(amountAssetId, priceAssetId)
360360 let inListActions = ([BooleanEntry(keyInList(pool), true)] ++ insertNodeActions(poolsListName, poolToString(pool)))
361361 let currentEpochIsNotDefined = (getInteger(this, keyCurrentEpoch) == unit)
362362 let startHeightActions = if (currentEpochIsNotDefined)
363363 then {
364364 let epoch = 0
365365 [IntegerEntry(keyCurrentEpoch, epoch), IntegerEntry(keyStartHeightByEpoch(epoch), height), IntegerEntry(keyStartHeight, height), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, height)]
366366 }
367367 else nil
368368 $Tuple2((inListActions ++ startHeightActions), unit)
369369 }
370370 else throw("Strict value is not equal to itself.")
371371 }
372372
373373
374374
375375 @Callable(i)
376376 func vote (amountAssetId,priceAssetId,amount) = {
377377 let pool = $Tuple2(amountAssetId, priceAssetId)
378378 let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0)
379379 let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch))
380380 let epochLength = getIntOrFail(this, keyEpochLength)
381381 let endHeight = (startHeight + epochLength)
382382 let finalizationStageOrUnit = getInteger(this, keyFinalizationStage)
383383 let used = valueOrElse(getInteger(this, keyUsed(i.caller, epoch)), 0)
384384 let vote = valueOrElse(getInteger(this, keyVote(pool, i.caller, epoch)), 0)
385385 let poolResult = valueOrElse(getInteger(this, keyVotingResult(pool, epoch)), 0)
386386 let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(epoch)), 0)
387387 let gwxAmountAtEndTotal = {
388388 let @ = invoke(this, "getUserGwxAmountAtHeight", [toBase58String(i.caller.bytes), endHeight], nil)
389389 if ($isInstanceOf(@, "Int"))
390390 then @
391391 else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [toBase58String(i.caller.bytes), endHeight], nil)) + " couldn't be cast to Int"))
392392 }
393393 let available = (gwxAmountAtEndTotal - used)
394394 let newVote = (vote + amount)
395395 let wxEmission = checkWxEmissionPoolLabel(pool)
396396 let checks = [if ((getBoolean(keyInList(pool)) != unit))
397397 then true
398398 else throw("invalid assets"), if ((endHeight > height))
399399 then true
400400 else throw("invalid height"), if ((finalizationStageOrUnit == unit))
401401 then true
402402 else throw("finalization in progress"), if ((gwxAmountAtEndTotal > 0))
403403 then true
404404 else throw("you do not have gWX"), if (if ((amount > 0))
405405 then (available >= amount)
406406 else false)
407407 then true
408408 else throw("invalid amount"), if (wxEmission)
409409 then true
410410 else throw("pool hasn't WX_EMISSION label")]
411411 if ((checks == checks))
412412 then {
413413 let votesListName = getVotesListName(pool)
414414 let userAddressStr = toString(i.caller)
415415 let votesListActions = if (containsNode(votesListName, userAddressStr))
416416 then nil
417417 else insertNodeActions(votesListName, userAddressStr)
418418 $Tuple2(([IntegerEntry(keyUsed(i.caller, epoch), (used + amount)), IntegerEntry(keyVote(pool, i.caller, epoch), newVote), IntegerEntry(keyVotingResult(pool, epoch), (poolResult + amount)), IntegerEntry(keyTotalVotes(epoch), (totalVotes + amount))] ++ votesListActions), unit)
419419 }
420420 else throw("Strict value is not equal to itself.")
421421 }
422422
423423
424424
425425 @Callable(i)
426426 func cancelVote (amountAssetId,priceAssetId) = {
427427 let pool = $Tuple2(amountAssetId, priceAssetId)
428428 let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0)
429429 let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch))
430430 let epochLength = getIntOrFail(this, keyEpochLength)
431431 let endHeight = (startHeight + epochLength)
432432 let finalizationStageOrUnit = getInteger(this, keyFinalizationStage)
433433 let used = valueOrElse(getInteger(this, keyUsed(i.caller, epoch)), 0)
434434 let vote = valueOrElse(getInteger(this, keyVote(pool, i.caller, epoch)), 0)
435435 let poolResult = valueOrElse(getInteger(this, keyVotingResult(pool, epoch)), 0)
436436 let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(epoch)), 0)
437437 let checks = [if ((getBoolean(keyInList(pool)) != unit))
438438 then true
439439 else throw("invalid assets"), if ((endHeight > height))
440440 then true
441441 else throw("invalid height"), if ((finalizationStageOrUnit == unit))
442442 then true
443443 else throw("finalization in progress"), if ((vote > 0))
444444 then true
445445 else throw("no vote")]
446446 if ((checks == checks))
447447 then {
448448 let votesListName = getVotesListName(pool)
449449 let userAddressStr = toString(i.caller)
450450 $Tuple2(([IntegerEntry(keyUsed(i.caller, epoch), max([(used - vote), 0])), DeleteEntry(keyVote(pool, i.caller, epoch)), IntegerEntry(keyVotingResult(pool, epoch), (poolResult - vote)), IntegerEntry(keyTotalVotes(epoch), (totalVotes - vote))] ++ deleteNodeActions(votesListName, userAddressStr)), unit)
451451 }
452452 else throw("Strict value is not equal to itself.")
453453 }
454454
455455
456456
457457 @Callable(i)
458458 func setEpochLength (newEpochLength) = {
459459 let checks = [mustManager(i), if ((newEpochLength > 0))
460460 then true
461461 else throw("invalid epoch length")]
462462 if ((checks == checks))
463463 then $Tuple2([IntegerEntry(keyEpochLength, newEpochLength)], unit)
464464 else throw("Strict value is not equal to itself.")
465465 }
466466
467467
468468
469469 @Callable(i)
470470 func setMaxDepth (newMaxDepth) = {
471471 let checks = [mustManager(i), if ((newMaxDepth > 0))
472472 then true
473473 else throw("invalid max depth")]
474474 if ((checks == checks))
475475 then $Tuple2([IntegerEntry(keyMaxDepth, newMaxDepth)], unit)
476476 else throw("Strict value is not equal to itself.")
477477 }
478478
479479
480480
481481 @Callable(i)
482482 func processVoteINTERNAL (poolStr,userAddressStr) = {
483483 let checkCaller = mustThis(i)
484484 if ((checkCaller == checkCaller))
485485 then {
486486 let userAddress = valueOrErrorMessage(addressFromString(userAddressStr), ("processVoteINTERNAL: invalid user address " + userAddressStr))
487487 let epoch = getIntOrFail(this, keyCurrentEpoch)
488488 let epochPrevious = (epoch - 1)
489489 let epochLength = getIntOrFail(this, keyEpochLength)
490490 let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch))
491491 let endHeight = (startHeight + epochLength)
492492 let startHeightPrevious = getIntOrFail(this, keyStartHeightByEpoch(epochPrevious))
493493 let endHeightPrevious = (startHeightPrevious + epochLength)
494494 let checkTargetEpoch = if ((epochPrevious >= 0))
495495 then true
496496 else throw("processVoteINTERNAL: invalid previous epoch")
497497 if ((checkTargetEpoch == checkTargetEpoch))
498498 then {
499499 let pool = stringToPool(poolStr)
500500 let $t01719517235 = pool
501501 let amountAssetId = $t01719517235._1
502502 let priceAssetId = $t01719517235._2
503503 let wxEmission = checkWxEmissionPoolLabel(pool)
504504 let gwxAmountAtEndTotal = {
505505 let @ = invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeight], nil)
506506 if ($isInstanceOf(@, "Int"))
507507 then @
508508 else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeight], nil)) + " couldn't be cast to Int"))
509509 }
510510 let gwxAmountAtEndTotalPrevious = {
511511 let @ = invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeightPrevious], nil)
512512 if ($isInstanceOf(@, "Int"))
513513 then @
514514 else throw(($getType(invoke(this, "getUserGwxAmountAtHeight", [userAddressStr, endHeightPrevious], nil)) + " couldn't be cast to Int"))
515515 }
516516 let totalVotes = valueOrElse(getInteger(keyTotalVotes(epoch)), 0)
517517 let votingResult = valueOrElse(getInteger(keyVotingResult(pool, epoch)), 0)
518518 let votePrevious = valueOrErrorMessage(getInteger(keyVote(pool, userAddress, epochPrevious)), (((("processVoteINTERNAL " + poolStr) + " ") + userAddressStr) + ": no previous vote"))
519519 let used = valueOrElse(getInteger(this, keyUsed(userAddress, epoch)), 0)
520520 let newVote = fraction(votePrevious, gwxAmountAtEndTotal, gwxAmountAtEndTotalPrevious)
521521 let actions = if (if ((newVote > 0))
522522 then wxEmission
523523 else false)
524524 then [IntegerEntry(keyVote(pool, userAddress, epoch), newVote), IntegerEntry(keyTotalVotes(epoch), (totalVotes + newVote)), IntegerEntry(keyVotingResult(pool, epoch), (votingResult + newVote)), IntegerEntry(keyUsed(userAddress, epoch), (used + newVote))]
525525 else deleteNodeActions(getVotesListName(pool), userAddressStr)
526526 $Tuple2(actions, unit)
527527 }
528528 else throw("Strict value is not equal to itself.")
529529 }
530530 else throw("Strict value is not equal to itself.")
531531 }
532532
533533
534534
535535 @Callable(i)
536536 func processPoolINTERNAL (poolStr) = {
537537 let checkCaller = mustThis(i)
538538 if ((checkCaller == checkCaller))
539539 then {
540540 let targetEpoch = (getIntOrFail(this, keyCurrentEpoch) - 1)
541541 let checkTargetEpoch = if ((targetEpoch >= 0))
542542 then true
543543 else throw("processPoolINTERNAL: invalid target epoch")
544544 if ((checkTargetEpoch == checkTargetEpoch))
545545 then {
546546 let pool = stringToPool(poolStr)
547547 let $t01875218792 = pool
548548 let amountAssetId = $t01875218792._1
549549 let priceAssetId = $t01875218792._2
550550 let stakingContract = addressFromStringValue(getStrOrFail(this, keyStakingContract))
551551 let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract))
552552 let lpAssetId = getLpAssetByPoolAssets(amountAssetId, priceAssetId)
553553 let r = {
554554 let @ = invoke(stakingContract, "usersListTraversal", [lpAssetId], nil)
555555 if ($isInstanceOf(@, "Boolean"))
556556 then @
557557 else throw(($getType(invoke(stakingContract, "usersListTraversal", [lpAssetId], nil)) + " couldn't be cast to Boolean"))
558558 }
559559 if ((r == r))
560560 then if (r)
561561 then $Tuple2(nil, true)
562562 else {
563563 let wxEmission = checkWxEmissionPoolLabel(pool)
564564 let totalVotes = valueOrElse(getInteger(this, keyTotalVotes(targetEpoch)), 0)
565565 let votingResult = valueOrElse(getInteger(this, keyVotingResult(pool, targetEpoch)), 0)
566566 let share = if (if ((totalVotes == 0))
567567 then true
568568 else !(wxEmission))
569569 then 0
570570 else fraction(votingResult, poolWeightMult, totalVotes)
571571 let modifyWeightInv = invoke(factoryContract, "modifyWeight", [lpAssetId, share], nil)
572572 if ((modifyWeightInv == modifyWeightInv))
573573 then {
574574 let poolsListActions = if (wxEmission)
575575 then nil
576576 else ([DeleteEntry(keyInList(pool))] ++ deleteNodeActions(poolsListName, poolStr))
577577 $Tuple2(([IntegerEntry(keyPoolShare(pool, targetEpoch), share)] ++ poolsListActions), false)
578578 }
579579 else throw("Strict value is not equal to itself.")
580580 }
581581 else throw("Strict value is not equal to itself.")
582582 }
583583 else throw("Strict value is not equal to itself.")
584584 }
585585 else throw("Strict value is not equal to itself.")
586586 }
587587
588588
589589
590590 @Callable(i)
591591 func finalizeHelper () = {
592592 let epoch = valueOrElse(getInteger(this, keyCurrentEpoch), 0)
593593 let previousEpoch = (epoch - 1)
594594 let startHeight = getIntOrFail(this, keyStartHeightByEpoch(epoch))
595595 let epochLength = getIntOrFail(this, keyEpochLength)
596596 let endHeight = (startHeight + epochLength)
597597 let finalizationStageOrUnit = getInteger(this, keyFinalizationStage)
598598 if (if ((height >= endHeight))
599599 then (finalizationStageOrUnit == unit)
600600 else false)
601601 then {
602602 let newEpoch = (epoch + 1)
603603 $Tuple2([IntegerEntry(keyStartHeightByEpoch(newEpoch), height), IntegerEntry(keyStartHeight, height), IntegerEntry(keyCurrentEpoch, newEpoch), IntegerEntry(keyFinalizationStage, finalizationStageTotal)], true)
604604 }
605605 else if ((finalizationStageOrUnit == unit))
606606 then $Tuple2(nil, false)
607607 else if ((finalizationStageOrUnit == finalizationStageTotal))
608608 then {
609609 let poolOrUnit = getString(keyNextPool)
610610 let userOrUnit = getString(keyNextUser)
611611 match poolOrUnit {
612612 case _: Unit =>
613613 match getString(keyListHead(poolsListName)) {
614614 case _: Unit =>
615615 $Tuple2([IntegerEntry(keyFinalizationStage, finalizationStageShares), DeleteEntry(keyNextPool), DeleteEntry(keyNextUser)], true)
616616 case poolsHeadStr: String =>
617617 $Tuple2([StringEntry(keyNextPool, poolsHeadStr)], true)
618618 case _ =>
619619 throw("Match error")
620620 }
621621 case poolStr: String =>
622622 let pool = stringToPool(poolStr)
623623 let nextUserOrUnit = match userOrUnit {
624624 case _: Unit =>
625625 getString(keyListHead(getVotesListName(pool)))
626626 case user: String =>
627- let processVoteInv = invoke(this, "processVoteINTERNAL", [poolStr, user], nil)
628- if ((processVoteInv == processVoteInv))
629- then getString(keyListNext(getVotesListName(pool), user))
627+ let next = getString(keyListNext(getVotesListName(pool), user))
628+ if ((next == next))
629+ then {
630+ let processVoteInv = invoke(this, "processVoteINTERNAL", [poolStr, user], nil)
631+ if ((processVoteInv == processVoteInv))
632+ then next
633+ else throw("Strict value is not equal to itself.")
634+ }
630635 else throw("Strict value is not equal to itself.")
631636 case _ =>
632637 throw("Match error")
633638 }
634639 match nextUserOrUnit {
635640 case _: Unit =>
636641 let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr))
637642 match nextPoolOrUnit {
638643 case _: Unit =>
639644 $Tuple2([IntegerEntry(keyFinalizationStage, finalizationStageShares), DeleteEntry(keyNextPool), DeleteEntry(keyNextUser)], true)
640645 case s: String =>
641646 $Tuple2([StringEntry(keyNextPool, s), DeleteEntry(keyNextUser)], true)
642647 case _ =>
643648 throw("Match error")
644649 }
645650 case nextUser: String =>
646651 $Tuple2([StringEntry(keyNextUser, nextUser)], true)
647652 case _ =>
648653 throw("Match error")
649654 }
650655 case _ =>
651656 throw("Match error")
652657 }
653658 }
654659 else if ((finalizationStageOrUnit == finalizationStageShares))
655660 then {
656661 let poolOrUnit = getString(keyNextPool)
657662 match poolOrUnit {
658663 case _: Unit =>
659664 match getString(keyListHead(poolsListName)) {
660665 case _: Unit =>
661666 $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight)], true)
662667 case nextPoolStr: String =>
663668 $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true)
664669 case _ =>
665670 throw("Match error")
666671 }
667672 case poolStr: String =>
668- let r = {
669- let @ = invoke(this, "processPoolINTERNAL", [poolStr], nil)
670- if ($isInstanceOf(@, "Boolean"))
671- then @
672- else throw(($getType(invoke(this, "processPoolINTERNAL", [poolStr], nil)) + " couldn't be cast to Boolean"))
673- }
674- if ((r == r))
675- then if (r)
676- then $Tuple2(nil, true)
677- else {
678- let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr))
679- match nextPoolOrUnit {
680- case _: Unit =>
681- $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight), DeleteEntry(keyNextPool)], true)
682- case nextPoolStr: String =>
683- $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true)
684- case _ =>
685- throw("Match error")
673+ let nextPoolOrUnit = getString(keyListNext(poolsListName, poolStr))
674+ if ((nextPoolOrUnit == nextPoolOrUnit))
675+ then {
676+ let r = {
677+ let @ = invoke(this, "processPoolINTERNAL", [poolStr], nil)
678+ if ($isInstanceOf(@, "Boolean"))
679+ then @
680+ else throw(($getType(invoke(this, "processPoolINTERNAL", [poolStr], nil)) + " couldn't be cast to Boolean"))
686681 }
687- }
682+ if ((r == r))
683+ then if (r)
684+ then $Tuple2(nil, true)
685+ else match nextPoolOrUnit {
686+ case _: Unit =>
687+ $Tuple2([DeleteEntry(keyFinalizationStage), BooleanEntry(keyFinalized(previousEpoch), true), IntegerEntry(keyCurrentEpochUi, epoch), IntegerEntry(keyStartHeightUi, startHeight), DeleteEntry(keyNextPool)], true)
688+ case nextPoolStr: String =>
689+ $Tuple2([StringEntry(keyNextPool, nextPoolStr)], true)
690+ case _ =>
691+ throw("Match error")
692+ }
693+ else throw("Strict value is not equal to itself.")
694+ }
688695 else throw("Strict value is not equal to itself.")
689696 case _ =>
690697 throw("Match error")
691698 }
692699 }
693700 else throw("finalization is broken")
694701 }
695702
696703
697704
698705 @Callable(i)
699706 func finalizeWrapper (counter) = {
700707 let result = {
701708 let @ = invoke(this, "finalizeHelper", nil, nil)
702709 if ($isInstanceOf(@, "Boolean"))
703710 then @
704711 else throw(($getType(invoke(this, "finalizeHelper", nil, nil)) + " couldn't be cast to Boolean"))
705712 }
706713 if ((result == result))
707714 then if (!(result))
708715 then if ((counter == 0))
709716 then throw("Current voting is not over yet")
710717 else $Tuple2(nil, unit)
711718 else {
712719 let maxDepth = valueOrElse(getInteger(this, keyMaxDepth), maxDepthDefault)
713720 if ((maxDepth > counter))
714721 then {
715722 let inv = invoke(this, "finalizeWrapper", [(counter + 1)], nil)
716723 if ((inv == inv))
717724 then $Tuple2(nil, unit)
718725 else throw("Strict value is not equal to itself.")
719726 }
720727 else $Tuple2(nil, unit)
721728 }
722729 else throw("Strict value is not equal to itself.")
723730 }
724731
725732
726733
727734 @Callable(i)
728735 func finalize () = {
729736 let inv = invoke(this, "finalizeWrapper", [0], nil)
730737 if ((inv == inv))
731738 then $Tuple2(nil, unit)
732739 else throw("Strict value is not equal to itself.")
733740 }
734741
735742
736743
737744 @Callable(i)
738745 func containsNodeREADONLY (listName,id) = $Tuple2(nil, containsNode(listName, id))
739746
740747
741748
742749 @Callable(i)
743750 func insertNode (listName,id) = {
744751 let checkCaller = mustManager(i)
745752 if ((checkCaller == checkCaller))
746753 then $Tuple2(insertNodeActions(listName, id), unit)
747754 else throw("Strict value is not equal to itself.")
748755 }
749756
750757
751758
752759 @Callable(i)
753760 func deleteNode (listName,id) = {
754761 let checkCaller = mustManager(i)
755762 if ((checkCaller == checkCaller))
756763 then $Tuple2(deleteNodeActions(listName, id), unit)
757764 else throw("Strict value is not equal to itself.")
758765 }
759766
760767
761768 @Verifier(tx)
762769 func verify () = {
763770 let targetPublicKey = match managerPublicKeyOrUnit() {
764771 case pk: ByteVector =>
765772 pk
766773 case _: Unit =>
767774 tx.senderPublicKey
768775 case _ =>
769776 throw("Match error")
770777 }
771778 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
772779 }
773780

github/deemru/w8io/026f985 
85.12 ms