tx · GZ1YEFBLNaR9ZxAVnGKBtn6mgMyfRyEhKnJD6W8pAN6U

3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h:  -0.02700000 Waves

2024.10.22 09:34 [3337678] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves

{ "type": 13, "id": "GZ1YEFBLNaR9ZxAVnGKBtn6mgMyfRyEhKnJD6W8pAN6U", "fee": 2700000, "feeAssetId": null, "timestamp": 1729578955886, "version": 1, "sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h", "senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2", "proofs": [ "5scutUHzJSYNQusZuNDQqhNNt1FzMwxN4Cu1FHpxibztZGzRH3ipDo9hdeQqU7uzkGvhSBJPQmHeZbryhRj2K2Z6" ], "script": "base64:BgJQCAISAwoBARIAEgMKAQQSAwoBBBIDCgEIEgQKAggIEgMKAQgSBAoCCAgSAwoBCBIECgIIARIECgIIARIDCgEBEgASAwoBCBIDCgEBEgMKAQhPAAxjb250cmFjdEZpbGUCEWwybXBfbGVhc2luZy5yaWRlAANTRVACAl9fABJCTE9DS1NfSU5fSU5URVJWQUwA6AcABnNjYWxlOACAwtcvAAdzY2FsZTE2CQBoAgUGc2NhbGU4BQZzY2FsZTgBCHRocm93RXJyAQNtc2cJAAIBCQCsAgIJAKwCAgUMY29udHJhY3RGaWxlAgI6IAUDbXNnAAxrZXlMMkFzc2V0SWQJALkJAgkAzAgCAgIlcwkAzAgCAgdhc3NldElkBQNuaWwFA1NFUAAMa2V5Rm9yY2VTdG9wCQC5CQIJAMwIAgICJXMJAMwIAgIJZm9yY2VTdG9wBQNuaWwFA1NFUAAPa2V5Rm9yY2VPdXRTdG9wCQC5CQIJAMwIAgICJXMJAMwIAgIMZm9yY2VPdXRTdG9wBQNuaWwFA1NFUAAPa2V5VW5pdHNBc3NldElkCQC5CQIJAMwIAgICJXMJAMwIAgIMd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WVRFU19MRU5HVEgGCQEIdGhyb3dFcnIBCQCsAgIFBHR4SWQCEiBpcyBub3QgdmFsaWQgdHhJZAkAzAgCAwMJAAACBRFhbGxvd2VkVHhJZE9wdGlvbgUEdW5pdAYJAQIhPQIJAQV2YWx1ZQEFEWFsbG93ZWRUeElkT3B0aW9uBQR0eElkBgkBCHRocm93RXJyAQkArAICBQR0eElkAhMgaXMgYWxyZWFkeSBhbGxvd2VkBQNuaWwDCQAAAgUDZXJyBQNlcnIJAQx2b3RlSU5URVJOQUwEBRNjYWxsZXJBZGRyZXNzU3RyaW5nBQlrZXlQcmVmaXgFBlFVT1JVTQUGcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQIYnlBZG1pbnMJAAACCAUCdHgCaWQJANkEAQkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzCQEOa2V5QWxsb3dlZFR4SWQAAgAEB2J5T3duZXIDCQBnAgkAkAMBCQENZ2V0QWRtaW5zTGlzdAAFBlFVT1JVTQcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkDBQhieUFkbWlucwYFB2J5T3duZXLE94QH", "chainId": 84, "height": 3337678, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4sXod3A78sxQ8rhLLPDDQdPe2ds52rschzzU4MYvMENW Next: DyDaUSJJcu6bZSchTPg2usMRpdhEdJPJrWUmtz7uskoY Diff:
OldNewDifferences
361361 let blocksPassed = (currentBlock - claimedBlock)
362362 let amountStaked = getUserTotalLocked(userAddress)
363363 let l2ToBurn = fraction(amountStaked, blocksPassed, unitsClaimInterval)
364- let unitsToClaimNow = fraction(l2ToBurn, unitsPerBlockScale16, scale16)
364+ let unitsToClaimNow = fraction(amountStaked, (unitsPerBlockScale16 * blocksPassed), scale16)
365365 $Tuple4(unitsToClaimNow, l2ToBurn, currentBlock, $Tuple3(blocksPassed, unitsClaimStartHeight, unitsClaimInterval))
366366 }
367367
371371 let unlockedUnits = valueOrElse(getInteger(this, kUnlockedUnits), 0)
372372 let kL2ToBurn = keyL2ToBurn(userAddress)
373373 let l2ToBurn = valueOrElse(getInteger(this, kL2ToBurn), 0)
374- let $t01142311514 = calculateUnitsToClaim(userAddress)
375- let unitsToClaimNow = $t01142311514._1
376- let l2ToBurnNow = $t01142311514._2
377- let currentBlock = $t01142311514._3
378- let _tmp = $t01142311514._4
374+ let $t01144011531 = calculateUnitsToClaim(userAddress)
375+ let unitsToClaimNow = $t01144011531._1
376+ let l2ToBurnNow = $t01144011531._2
377+ let currentBlock = $t01144011531._3
378+ let _tmp = $t01144011531._4
379379 if ((0 >= unitsToClaimNow))
380380 then nil
381381 else [IntegerEntry(keyUnitsClaimedBlock(userAddress), currentBlock), IntegerEntry(kL2ToBurn, (l2ToBurn + l2ToBurnNow)), IntegerEntry(kUnlockedUnits, (unlockedUnits + unitsToClaimNow))]
383383
384384
385385 func getUnstakeActions (nodeAddress,userAddress,unstakeAmount) = {
386- let $t01190911982 = getLeasingNodeData(nodeAddress)
387- let nodeCurrentLeased = $t01190911982._1
388- let nodeNextLeased = $t01190911982._2
389- let $t01198712073 = getUserLeasingData(nodeAddress, userAddress)
390- let userCurrentLeased = $t01198712073._1
391- let userNextLeased = $t01198712073._2
386+ let $t01192611999 = getLeasingNodeData(nodeAddress)
387+ let nodeCurrentLeased = $t01192611999._1
388+ let nodeNextLeased = $t01192611999._2
389+ let $t01200412090 = getUserLeasingData(nodeAddress, userAddress)
390+ let userCurrentLeased = $t01200412090._1
391+ let userNextLeased = $t01200412090._2
392392 let checks = [if (!(isForceStop))
393393 then true
394394 else throwErr("contract is temporary stopped"), if (!(isForceOutStop))
408408 then {
409409 let newNodeNextLease = (nodeNextLeased - unstakeAmount)
410410 let newUserNextLeased = (userNextLeased - unstakeAmount)
411- let $t01295713017 = getUserToClaimBalance(userAddress)
412- let toClaim = $t01295713017._1
413- let toUnlock = $t01295713017._2
411+ let $t01297413034 = getUserToClaimBalance(userAddress)
412+ let toClaim = $t01297413034._1
413+ let toUnlock = $t01297413034._2
414414 let newToUnlock = (toUnlock + unstakeAmount)
415415 let userTotalLocked = getUserTotalLocked(userAddress)
416416 let newUserTotalLocked = (userTotalLocked - unstakeAmount)
422422
423423
424424 func getClaimUnlockedActions (userAddress,claimAmount) = {
425- let $t01383613896 = getUserToClaimBalance(userAddress)
426- let toClaim = $t01383613896._1
427- let toUnlock = $t01383613896._2
425+ let $t01385313913 = getUserToClaimBalance(userAddress)
426+ let toClaim = $t01385313913._1
427+ let toUnlock = $t01385313913._2
428428 let checks = [if (!(isForceStop))
429429 then true
430430 else throwErr("contract is temporary stopped"), if (!(isForceOutStop))
446446
447447
448448 func getStakeForActions (userAddress,i) = {
449- let $t01466214722 = getUserToClaimBalance(userAddress)
450- let toClaim = $t01466214722._1
451- let toUnlock = $t01466214722._2
449+ let $t01467914739 = getUserToClaimBalance(userAddress)
450+ let toClaim = $t01467914739._1
451+ let toUnlock = $t01467914739._2
452452 let checks = [if (!(isForceStop))
453453 then true
454454 else throwErr("contract is temporary stopped"), if ((1 >= size(i.payments)))
470470
471471
472472 func getStakeActions (nodeAddress,userAddress,userLeasingAmount,i) = {
473- let $t01545415514 = getUserToClaimBalance(userAddress)
474- let toClaim = $t01545415514._1
475- let toUnlock = $t01545415514._2
473+ let $t01547115531 = getUserToClaimBalance(userAddress)
474+ let toClaim = $t01547115531._1
475+ let toUnlock = $t01547115531._2
476476 let paymentAmount = if ((size(i.payments) == 0))
477477 then 0
478478 else i.payments[0].amount
498498 else throwErr(makeString(["user address is not valid:", userAddress], " "))]
499499 if ((checks == checks))
500500 then {
501- let $t01658916662 = getLeasingNodeData(nodeAddress)
502- let nodeCurrentLeased = $t01658916662._1
503- let nodeNextLeased = $t01658916662._2
501+ let $t01660616679 = getLeasingNodeData(nodeAddress)
502+ let nodeCurrentLeased = $t01660616679._1
503+ let nodeNextLeased = $t01660616679._2
504504 let newNodeNextLease = (nodeNextLeased + userLeasingAmount)
505- let $t01673016816 = getUserLeasingData(nodeAddress, userAddress)
506- let userCurrentLeased = $t01673016816._1
507- let userNextLeased = $t01673016816._2
505+ let $t01674716833 = getUserLeasingData(nodeAddress, userAddress)
506+ let userCurrentLeased = $t01674716833._1
507+ let userNextLeased = $t01674716833._2
508508 let newUserNextLeased = (userNextLeased + userLeasingAmount)
509509 let fromUnlockedAmount = (userLeasingAmount - paymentAmount)
510510 let newToUnlock = max([0, (toUnlock - fromUnlockedAmount)])
541541
542542
543543 func getUnitsClaimData (userAddress) = {
544- let $t01870118792 = calculateUnitsToClaim(userAddress)
545- let unlockedUnitNow = $t01870118792._1
546- let l2ToBurnNow = $t01870118792._2
547- let currentBlock = $t01870118792._3
548- let _tmp = $t01870118792._4
544+ let $t01871818809 = calculateUnitsToClaim(userAddress)
545+ let unlockedUnitNow = $t01871818809._1
546+ let l2ToBurnNow = $t01871818809._2
547+ let currentBlock = $t01871818809._3
548+ let _tmp = $t01871818809._4
549549 let unlockedUnitsPrev = valueOrElse(getInteger(this, keyUnlockedUnits(userAddress)), 0)
550550 let unitsToSend = (unlockedUnitNow + unlockedUnitsPrev)
551551 let l2ToBurnPrev = valueOrElse(getInteger(this, keyL2ToBurn(userAddress)), 0)
557557
558558
559559 func getClaimUnitsActions (userAddress) = {
560- let $t01938419492 = getUnitsClaimData(userAddress)
561- let unitsToSend = $t01938419492._1
562- let totalUnitsClaimed = $t01938419492._2
563- let l2ToBurn = $t01938419492._3
564- let totalL2Burned = $t01938419492._4
565- let claimedBlock = $t01938419492._5
560+ let $t01940119509 = getUnitsClaimData(userAddress)
561+ let unitsToSend = $t01940119509._1
562+ let totalUnitsClaimed = $t01940119509._2
563+ let l2ToBurn = $t01940119509._3
564+ let totalL2Burned = $t01940119509._4
565+ let claimedBlock = $t01940119509._5
566566 let check = [if ((unitsToSend > 0))
567567 then true
568568 else throwErr("nothing to claim")]
626626
627627 @Callable(i)
628628 func getNodeDataREADONLY (nodeAddress) = {
629- let $t02122421288 = getLeasingNodeData(nodeAddress)
630- let currentLease = $t02122421288._1
631- let nextLeased = $t02122421288._2
629+ let $t02124121305 = getLeasingNodeData(nodeAddress)
630+ let currentLease = $t02124121305._1
631+ let nextLeased = $t02124121305._2
632632 $Tuple2(nil, $Tuple5(currentPeriodHeight, currentLease, nextPeriodHeight, nextLeased, height))
633633 }
634634
636636
637637 @Callable(i)
638638 func getUserLeasingDataREADONLY (nodeAddress,userAddress) = {
639- let $t02165821735 = getUserLeasingData(nodeAddress, userAddress)
640- let currentLease = $t02165821735._1
641- let nextLeased = $t02165821735._2
639+ let $t02167521752 = getUserLeasingData(nodeAddress, userAddress)
640+ let currentLease = $t02167521752._1
641+ let nextLeased = $t02167521752._2
642642 $Tuple2(nil, $Tuple5(currentPeriodHeight, currentLease, nextPeriodHeight, nextLeased, height))
643643 }
644644
646646
647647 @Callable(i)
648648 func getUserDataREADONLY (userAddress) = {
649- let $t02233922399 = getUserToClaimBalance(userAddress)
650- let toClaim = $t02233922399._1
651- let toUnlock = $t02233922399._2
649+ let $t02235622416 = getUserToClaimBalance(userAddress)
650+ let toClaim = $t02235622416._1
651+ let toUnlock = $t02235622416._2
652652 let userTotalLocked = getUserTotalLocked(userAddress)
653- let $t02246222570 = getUnitsClaimData(userAddress)
654- let unitsToSend = $t02246222570._1
655- let totalUnitsClaimed = $t02246222570._2
656- let l2ToBurn = $t02246222570._3
657- let totalL2Burned = $t02246222570._4
658- let claimedBlock = $t02246222570._5
653+ let $t02247922587 = getUnitsClaimData(userAddress)
654+ let unitsToSend = $t02247922587._1
655+ let totalUnitsClaimed = $t02247922587._2
656+ let l2ToBurn = $t02247922587._3
657+ let totalL2Burned = $t02247922587._4
658+ let claimedBlock = $t02247922587._5
659659 let unitsPerBlockScale16 = valueOrElse(getInteger(this, keyUnitsPerBlockScale16), 0)
660660 let remainingblocks = max([0, ((unitsClaimStartHeight + unitsClaimInterval) - height)])
661661 $Tuple2(nil, $Tuple13(currentPeriodHeight, toClaim, nextPeriodHeight, toUnlock, userTotalLocked, height, unitsToSend, totalUnitsClaimed, l2ToBurn, totalL2Burned, claimedBlock, unitsPerBlockScale16, remainingblocks))
703703 @Callable(i)
704704 func claimAll () = {
705705 let userAddress = toString(i.caller)
706- let $t02400024060 = getUserToClaimBalance(userAddress)
707- let toClaim = $t02400024060._1
708- let toUnlock = $t02400024060._2
706+ let $t02401724077 = getUserToClaimBalance(userAddress)
707+ let toClaim = $t02401724077._1
708+ let toUnlock = $t02401724077._2
709709 let checks = [if ((toClaim > 0))
710710 then true
711711 else throwErr("nothing to claim")]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let contractFile = "l2mp_leasing.ride"
55
66 let SEP = "__"
77
88 let BLOCKS_IN_INTERVAL = 1000
99
1010 let scale8 = 100000000
1111
1212 let scale16 = (scale8 * scale8)
1313
1414 func throwErr (msg) = throw(((contractFile + ": ") + msg))
1515
1616
1717 let keyL2AssetId = makeString(["%s", "assetId"], SEP)
1818
1919 let keyForceStop = makeString(["%s", "forceStop"], SEP)
2020
2121 let keyForceOutStop = makeString(["%s", "forceOutStop"], SEP)
2222
2323 let keyUnitsAssetId = makeString(["%s", "unitsAssetId"], SEP)
2424
2525 let keyUnitsPerBlockScale16 = makeString(["%s", "unitsPerBlockScale16"], SEP)
2626
2727 let keyPeriodOffsetId = makeString(["%s", "offsetId"], SEP)
2828
2929 let keyPeriodOffsetHeight = makeString(["%s", "offsetHeight"], SEP)
3030
3131 let keyPeriodLength = makeString(["%s", "periodLength"], SEP)
3232
3333 let keyUnitsClaimStartHeight = makeString(["%s", "unitsClaimStartHeight"], SEP)
3434
3535 let keyUnitsClaimInterval = makeString(["%s", "unitsClaimInterval"], SEP)
3636
3737 let periodOffsetId = valueOrElse(getInteger(this, keyPeriodOffsetId), 0)
3838
3939 let periodLength = valueOrElse(getInteger(this, keyPeriodLength), 10000)
4040
4141 let periodOffsetHeight = valueOrElse(getInteger(this, keyPeriodOffsetHeight), -1)
4242
4343 let currentPeriodId = if (if ((height > periodOffsetHeight))
4444 then (periodOffsetHeight != -1)
4545 else false)
4646 then (((height - periodOffsetHeight) / periodLength) + periodOffsetId)
4747 else max([0, (periodOffsetId - 1)])
4848
4949 let currentPeriodHeight = if (if ((periodOffsetHeight == -1))
5050 then true
5151 else if ((currentPeriodId == 0))
5252 then (periodOffsetHeight > height)
5353 else false)
5454 then 0
5555 else (periodOffsetHeight + ((currentPeriodId - periodOffsetId) * periodLength))
5656
5757 let nextPeriodHeight = if (if ((periodOffsetHeight == -1))
5858 then true
5959 else if ((currentPeriodId == 0))
6060 then (periodOffsetHeight > height)
6161 else false)
6262 then 0
6363 else (currentPeriodHeight + periodLength)
6464
6565 let unitsClaimStartHeight = valueOrElse(getInteger(this, keyUnitsClaimStartHeight), height)
6666
6767 let unitsClaimInterval = valueOrElse(getInteger(this, keyUnitsClaimInterval), 0)
6868
6969 func keyLeasingNodeData (nodeAddress) = makeString(["%s", nodeAddress], SEP)
7070
7171
7272 func keyUserLeasingNodeData (userAddress,nodeAddress) = makeString(["%s%s", nodeAddress, userAddress], SEP)
7373
7474
7575 func keyUserToClaim (userAddress) = makeString(["%s%s", "toClaim", userAddress], SEP)
7676
7777
7878 func keyUserTotalLocked (userAddress) = makeString(["%s%s", "userTotalLocked", userAddress], SEP)
7979
8080
8181 func keyUnitsClaimedBlock (userAddress) = makeString(["%s%s", "unitsClaimedBlock", userAddress], SEP)
8282
8383
8484 func keyUnlockedUnits (userAddress) = makeString(["%s%s", "unlockedUnits", userAddress], SEP)
8585
8686
8787 func keyTotalUnitsClaimed (userAddress) = makeString(["%s%s", "totalUnitsClaimed", userAddress], SEP)
8888
8989
9090 func keyL2ToBurn (userAddress) = makeString(["%s%s", "l2ToBurn", userAddress], SEP)
9191
9292
9393 func keyL2BurnedTotal (userAddress) = makeString(["%s%s", "l2BurnedTotal", userAddress], SEP)
9494
9595
9696 func keyNodeLeasingByHeight (nodeAddress) = {
9797 let h = if ((periodOffsetHeight == -1))
9898 then 0
9999 else height
100100 makeString(["%s%d", nodeAddress, toString(h)], SEP)
101101 }
102102
103103
104104 func keyUserLeasingByHeight (nodeAddress,userAddress) = {
105105 let h = if ((periodOffsetHeight == -1))
106106 then 0
107107 else height
108108 makeString(["%s%s%d", nodeAddress, userAddress, toString(h)], SEP)
109109 }
110110
111111
112112 func assetStringToBytes (assetIdString) = if ((assetIdString == "WAVES"))
113113 then unit
114114 else fromBase58String(assetIdString)
115115
116116
117117 func assetBytesToString (assetId) = match assetId {
118118 case a: ByteVector =>
119119 toBase58String(a)
120120 case _ =>
121121 "WAVES"
122122 }
123123
124124
125125 let l2AssetIdString = valueOrElse(getString(this, keyL2AssetId), "WAVES")
126126
127127 let unitsAssetIdString = valueOrElse(getString(this, keyUnitsAssetId), "WAVES")
128128
129129 let l2AssetIdBytes = assetStringToBytes(l2AssetIdString)
130130
131131 let unitsAssetIdBytes = assetStringToBytes(unitsAssetIdString)
132132
133133 let isForceStop = valueOrElse(getBoolean(this, keyForceStop), false)
134134
135135 let isForceOutStop = valueOrElse(getBoolean(this, keyForceOutStop), false)
136136
137137 func isValidAddress (address) = match addressFromString(address) {
138138 case a: Address =>
139139 true
140140 case _ =>
141141 false
142142 }
143143
144144
145145 let ADMIN_LIST_SIZE = 5
146146
147147 let QUORUM = 3
148148
149149 let TXID_BYTES_LENGTH = 32
150150
151151 func keyAllowedTxIdVotePrefix (txId) = makeString(["%s%s%s", "allowTxId", txId], SEP)
152152
153153
154154 func keyFullAdminVote (prefix,adminAddress) = makeString([prefix, adminAddress], SEP)
155155
156156
157157 func keyAdminAddressList () = makeString(["%s", "adminAddressList"], SEP)
158158
159159
160160 func keyAllowedTxId () = makeString(["%s", "txId"], SEP)
161161
162162
163163 func getAdminVote (prefix,admin) = {
164164 let voteKey = keyFullAdminVote(prefix, admin)
165165 valueOrElse(getInteger(voteKey), 0)
166166 }
167167
168168
169169 func getAdminsList () = match getString(this, keyAdminAddressList()) {
170170 case s: String =>
171171 split(s, SEP)
172172 case _ =>
173173 nil
174174 }
175175
176176
177177 func isInAdminList (address) = containsElement(getAdminsList(), address)
178178
179179
180180 func genVotesKeysHelper (a,adminAddress) = {
181181 let $t051855209 = a
182182 let result = $t051855209._1
183183 let prefix = $t051855209._2
184184 $Tuple2((result :+ keyFullAdminVote(prefix, adminAddress)), prefix)
185185 }
186186
187187
188188 func genVotesKeys (keyPrefix) = {
189189 let adminList = keyAdminAddressList()
190190 let $t053565440 = {
191191 let $l = getAdminsList()
192192 let $s = size($l)
193193 let $acc0 = $Tuple2(nil, keyPrefix)
194194 func $f0_1 ($a,$i) = if (($i >= $s))
195195 then $a
196196 else genVotesKeysHelper($a, $l[$i])
197197
198198 func $f0_2 ($a,$i) = if (($i >= $s))
199199 then $a
200200 else throw("List size exceeds 5")
201201
202202 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
203203 }
204204 let result = $t053565440._1
205205 let prefix = $t053565440._2
206206 result
207207 }
208208
209209
210210 func countVotesHelper (result,voteKey) = (result + valueOrElse(getInteger(voteKey), 0))
211211
212212
213213 func countVotes (prefix) = {
214214 let votes = genVotesKeys(prefix)
215215 let $l = votes
216216 let $s = size($l)
217217 let $acc0 = 0
218218 func $f0_1 ($a,$i) = if (($i >= $s))
219219 then $a
220220 else countVotesHelper($a, $l[$i])
221221
222222 func $f0_2 ($a,$i) = if (($i >= $s))
223223 then $a
224224 else throw("List size exceeds 5")
225225
226226 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
227227 }
228228
229229
230230 func clearVotesHelper (result,key) = (result :+ DeleteEntry(key))
231231
232232
233233 func getClearVoteEntries (prefix) = {
234234 let votes = genVotesKeys(prefix)
235235 let $l = votes
236236 let $s = size($l)
237237 let $acc0 = nil
238238 func $f0_1 ($a,$i) = if (($i >= $s))
239239 then $a
240240 else clearVotesHelper($a, $l[$i])
241241
242242 func $f0_2 ($a,$i) = if (($i >= $s))
243243 then $a
244244 else throw("List size exceeds 5")
245245
246246 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
247247 }
248248
249249
250250 func voteINTERNAL (callerAddressString,keyPrefix,minVotes,voteResult) = {
251251 let voteKey = keyFullAdminVote(keyPrefix, callerAddressString)
252252 let adminCurrentVote = getAdminVote(keyPrefix, callerAddressString)
253253 let err = if (!(isInAdminList(callerAddressString)))
254254 then throwErr((("Address: " + callerAddressString) + " not in Admin list"))
255255 else if ((adminCurrentVote == 1))
256256 then throwErr((voteKey + " you already voted"))
257257 else unit
258258 if ((err == err))
259259 then {
260260 let votes = countVotes(keyPrefix)
261261 if (((votes + 1) >= minVotes))
262262 then {
263263 let clearVoteEntries = getClearVoteEntries(keyPrefix)
264264 (clearVoteEntries ++ voteResult)
265265 }
266266 else [IntegerEntry(voteKey, 1)]
267267 }
268268 else throw("Strict value is not equal to itself.")
269269 }
270270
271271
272272 func getLeasingNodeEntry (nodeAddress,currentLeased,nextLeased) = {
273273 let valueString = makeString(["%d%d%d%d", toString(currentPeriodHeight), toString(currentLeased), toString(nextPeriodHeight), toString(nextLeased)], SEP)
274274 StringEntry(keyLeasingNodeData(nodeAddress), valueString)
275275 }
276276
277277
278278 func getLeasingNodeData (nodeAddress) = {
279279 let leasingNodeDataStringRaw = getString(this, keyLeasingNodeData(nodeAddress))
280280 match leasingNodeDataStringRaw {
281281 case ds: String =>
282282 let dataList = split(ds, SEP)
283283 let nodeCurrentPeriod = parseIntValue(dataList[1])
284284 let nodeCurrentLeased = parseIntValue(dataList[2])
285285 let nodeNextPeriod = parseIntValue(dataList[3])
286286 let nodeNextLeased = parseIntValue(dataList[4])
287287 if (if ((nodeNextPeriod > height))
288288 then true
289289 else (periodOffsetHeight == -1))
290290 then $Tuple2(nodeCurrentLeased, nodeNextLeased)
291291 else $Tuple2(nodeNextLeased, nodeNextLeased)
292292 case _ =>
293293 $Tuple2(0, 0)
294294 }
295295 }
296296
297297
298298 func getUserLeasingEntry (nodeAddress,userAddress,userCurrentLeased,userNextLeased) = {
299299 let valueString = makeString(["%d%d%d%d", toString(currentPeriodHeight), toString(userCurrentLeased), toString(nextPeriodHeight), toString(userNextLeased)], SEP)
300300 StringEntry(keyUserLeasingNodeData(userAddress, nodeAddress), valueString)
301301 }
302302
303303
304304 func getUserLeasingData (nodeAddress,userAddress) = {
305305 let leasingUserDataStringRaw = getString(this, keyUserLeasingNodeData(userAddress, nodeAddress))
306306 match leasingUserDataStringRaw {
307307 case ds: String =>
308308 let dataList = split(ds, SEP)
309309 let userCurrentPeriod = parseIntValue(dataList[1])
310310 let userCurrentLeased = parseIntValue(dataList[2])
311311 let userNextPeriod = parseIntValue(dataList[3])
312312 let userNextLeased = parseIntValue(dataList[4])
313313 if (if ((userNextPeriod > height))
314314 then true
315315 else (periodOffsetHeight == -1))
316316 then $Tuple2(userCurrentLeased, userNextLeased)
317317 else $Tuple2(userNextLeased, userNextLeased)
318318 case _ =>
319319 $Tuple2(0, 0)
320320 }
321321 }
322322
323323
324324 func getUserToClaimEntry (userAddress,toClaim,toUnlock) = {
325325 let valueString = makeString(["%d%d%d%d", toString(currentPeriodHeight), toString(toClaim), toString(nextPeriodHeight), toString(toUnlock)], SEP)
326326 StringEntry(keyUserToClaim(userAddress), valueString)
327327 }
328328
329329
330330 func getUserToClaimBalance (userAddress) = {
331331 let userToClaimDataStringRaw = getString(this, keyUserToClaim(userAddress))
332332 match userToClaimDataStringRaw {
333333 case ds: String =>
334334 let dataList = split(ds, SEP)
335335 let currentPeriod = parseIntValue(dataList[1])
336336 let toClaim = parseIntValue(dataList[2])
337337 let nextPeriod = parseIntValue(dataList[3])
338338 let toUnlock = parseIntValue(dataList[4])
339339 if (if ((nextPeriod > height))
340340 then true
341341 else (currentPeriodId == 0))
342342 then $Tuple2(toClaim, toUnlock)
343343 else $Tuple2((toClaim + toUnlock), 0)
344344 case _ =>
345345 $Tuple2(0, 0)
346346 }
347347 }
348348
349349
350350 func getUserTotalLockedEntry (userAddress,userTotalLocked) = IntegerEntry(keyUserTotalLocked(userAddress), userTotalLocked)
351351
352352
353353 func getUserTotalLocked (userAddress) = valueOrElse(getInteger(this, keyUserTotalLocked(userAddress)), 0)
354354
355355
356356 func calculateUnitsToClaim (userAddress) = {
357357 let claimedBlockKey = keyUnitsClaimedBlock(userAddress)
358358 let claimedBlock = valueOrElse(getInteger(this, claimedBlockKey), unitsClaimStartHeight)
359359 let unitsPerBlockScale16 = valueOrElse(getInteger(this, keyUnitsPerBlockScale16), 0)
360360 let currentBlock = min([(unitsClaimStartHeight + unitsClaimInterval), height])
361361 let blocksPassed = (currentBlock - claimedBlock)
362362 let amountStaked = getUserTotalLocked(userAddress)
363363 let l2ToBurn = fraction(amountStaked, blocksPassed, unitsClaimInterval)
364- let unitsToClaimNow = fraction(l2ToBurn, unitsPerBlockScale16, scale16)
364+ let unitsToClaimNow = fraction(amountStaked, (unitsPerBlockScale16 * blocksPassed), scale16)
365365 $Tuple4(unitsToClaimNow, l2ToBurn, currentBlock, $Tuple3(blocksPassed, unitsClaimStartHeight, unitsClaimInterval))
366366 }
367367
368368
369369 func getUnlockUnitsAction (userAddress) = {
370370 let kUnlockedUnits = keyUnlockedUnits(userAddress)
371371 let unlockedUnits = valueOrElse(getInteger(this, kUnlockedUnits), 0)
372372 let kL2ToBurn = keyL2ToBurn(userAddress)
373373 let l2ToBurn = valueOrElse(getInteger(this, kL2ToBurn), 0)
374- let $t01142311514 = calculateUnitsToClaim(userAddress)
375- let unitsToClaimNow = $t01142311514._1
376- let l2ToBurnNow = $t01142311514._2
377- let currentBlock = $t01142311514._3
378- let _tmp = $t01142311514._4
374+ let $t01144011531 = calculateUnitsToClaim(userAddress)
375+ let unitsToClaimNow = $t01144011531._1
376+ let l2ToBurnNow = $t01144011531._2
377+ let currentBlock = $t01144011531._3
378+ let _tmp = $t01144011531._4
379379 if ((0 >= unitsToClaimNow))
380380 then nil
381381 else [IntegerEntry(keyUnitsClaimedBlock(userAddress), currentBlock), IntegerEntry(kL2ToBurn, (l2ToBurn + l2ToBurnNow)), IntegerEntry(kUnlockedUnits, (unlockedUnits + unitsToClaimNow))]
382382 }
383383
384384
385385 func getUnstakeActions (nodeAddress,userAddress,unstakeAmount) = {
386- let $t01190911982 = getLeasingNodeData(nodeAddress)
387- let nodeCurrentLeased = $t01190911982._1
388- let nodeNextLeased = $t01190911982._2
389- let $t01198712073 = getUserLeasingData(nodeAddress, userAddress)
390- let userCurrentLeased = $t01198712073._1
391- let userNextLeased = $t01198712073._2
386+ let $t01192611999 = getLeasingNodeData(nodeAddress)
387+ let nodeCurrentLeased = $t01192611999._1
388+ let nodeNextLeased = $t01192611999._2
389+ let $t01200412090 = getUserLeasingData(nodeAddress, userAddress)
390+ let userCurrentLeased = $t01200412090._1
391+ let userNextLeased = $t01200412090._2
392392 let checks = [if (!(isForceStop))
393393 then true
394394 else throwErr("contract is temporary stopped"), if (!(isForceOutStop))
395395 then true
396396 else throwErr("unstake is temporary disabled"), if ((unstakeAmount > 0))
397397 then true
398398 else throwErr("unstake amount should be greater than 0"), if ((userNextLeased >= unstakeAmount))
399399 then true
400400 else throwErr("unstake amount should be less or equal user staked amount"), if ((nodeNextLeased >= unstakeAmount))
401401 then true
402402 else throwErr("unstake amount should be less or equal node staked amount"), if (isValidAddress(nodeAddress))
403403 then true
404404 else throwErr(makeString(["node address is not valid:", nodeAddress], " ")), if (isValidAddress(userAddress))
405405 then true
406406 else throwErr(makeString(["user address is not valid:", userAddress], " "))]
407407 if ((checks == checks))
408408 then {
409409 let newNodeNextLease = (nodeNextLeased - unstakeAmount)
410410 let newUserNextLeased = (userNextLeased - unstakeAmount)
411- let $t01295713017 = getUserToClaimBalance(userAddress)
412- let toClaim = $t01295713017._1
413- let toUnlock = $t01295713017._2
411+ let $t01297413034 = getUserToClaimBalance(userAddress)
412+ let toClaim = $t01297413034._1
413+ let toUnlock = $t01297413034._2
414414 let newToUnlock = (toUnlock + unstakeAmount)
415415 let userTotalLocked = getUserTotalLocked(userAddress)
416416 let newUserTotalLocked = (userTotalLocked - unstakeAmount)
417417 let unitsUnlockedActions = getUnlockUnitsAction(userAddress)
418418 ([getLeasingNodeEntry(nodeAddress, nodeCurrentLeased, newNodeNextLease), getUserLeasingEntry(nodeAddress, userAddress, userCurrentLeased, newUserNextLeased), getUserToClaimEntry(userAddress, toClaim, newToUnlock), getUserTotalLockedEntry(userAddress, newUserTotalLocked), IntegerEntry(keyNodeLeasingByHeight(nodeAddress), newNodeNextLease), IntegerEntry(keyUserLeasingByHeight(nodeAddress, userAddress), newUserNextLeased)] ++ unitsUnlockedActions)
419419 }
420420 else throw("Strict value is not equal to itself.")
421421 }
422422
423423
424424 func getClaimUnlockedActions (userAddress,claimAmount) = {
425- let $t01383613896 = getUserToClaimBalance(userAddress)
426- let toClaim = $t01383613896._1
427- let toUnlock = $t01383613896._2
425+ let $t01385313913 = getUserToClaimBalance(userAddress)
426+ let toClaim = $t01385313913._1
427+ let toUnlock = $t01385313913._2
428428 let checks = [if (!(isForceStop))
429429 then true
430430 else throwErr("contract is temporary stopped"), if (!(isForceOutStop))
431431 then true
432432 else throwErr("claim is temporary disabled"), if ((claimAmount > 0))
433433 then true
434434 else throwErr("claim amount should be greater than 0"), if ((toClaim >= claimAmount))
435435 then true
436436 else throwErr("claim amount should be less or equal unlocked amount"), if (isValidAddress(userAddress))
437437 then true
438438 else throwErr(makeString(["user address is not valid:", userAddress], " "))]
439439 if ((checks == checks))
440440 then {
441441 let newToClaim = (toClaim - claimAmount)
442442 [getUserToClaimEntry(userAddress, newToClaim, toUnlock), ScriptTransfer(addressFromStringValue(userAddress), claimAmount, l2AssetIdBytes)]
443443 }
444444 else throw("Strict value is not equal to itself.")
445445 }
446446
447447
448448 func getStakeForActions (userAddress,i) = {
449- let $t01466214722 = getUserToClaimBalance(userAddress)
450- let toClaim = $t01466214722._1
451- let toUnlock = $t01466214722._2
449+ let $t01467914739 = getUserToClaimBalance(userAddress)
450+ let toClaim = $t01467914739._1
451+ let toUnlock = $t01467914739._2
452452 let checks = [if (!(isForceStop))
453453 then true
454454 else throwErr("contract is temporary stopped"), if ((1 >= size(i.payments)))
455455 then true
456456 else throwErr("maximum 1 payment"), if (if ((size(i.payments) == 0))
457457 then true
458458 else (i.payments[0].assetId == l2AssetIdBytes))
459459 then true
460460 else throwErr(makeString(["payment assetId should be:", l2AssetIdString], " ")), if (isValidAddress(userAddress))
461461 then true
462462 else throwErr(makeString(["user address is not valid:", userAddress], " "))]
463463 if ((checks == checks))
464464 then {
465465 let newToClaim = (toClaim + i.payments[0].amount)
466466 [getUserToClaimEntry(userAddress, newToClaim, toUnlock)]
467467 }
468468 else throw("Strict value is not equal to itself.")
469469 }
470470
471471
472472 func getStakeActions (nodeAddress,userAddress,userLeasingAmount,i) = {
473- let $t01545415514 = getUserToClaimBalance(userAddress)
474- let toClaim = $t01545415514._1
475- let toUnlock = $t01545415514._2
473+ let $t01547115531 = getUserToClaimBalance(userAddress)
474+ let toClaim = $t01547115531._1
475+ let toUnlock = $t01547115531._2
476476 let paymentAmount = if ((size(i.payments) == 0))
477477 then 0
478478 else i.payments[0].amount
479479 let available = ((toUnlock + toClaim) + paymentAmount)
480480 let checks = [if (!(isForceStop))
481481 then true
482482 else throwErr("contract is temporary stopped"), if ((1 >= size(i.payments)))
483483 then true
484484 else throwErr("maximum 1 payment"), if (if ((size(i.payments) == 0))
485485 then true
486486 else (i.payments[0].assetId == l2AssetIdBytes))
487487 then true
488488 else throwErr(makeString(["payment assetId should be:", l2AssetIdString], " ")), if ((userLeasingAmount > 0))
489489 then true
490490 else throwErr("amount should be greater than 0"), if ((available >= userLeasingAmount))
491491 then true
492492 else throwErr("amount should be less or equal (payment + available) amount"), if ((userLeasingAmount >= paymentAmount))
493493 then true
494494 else throw("amount should be greater or equal payment amount"), if (isValidAddress(nodeAddress))
495495 then true
496496 else throwErr(makeString(["node address is not valid:", nodeAddress], " ")), if (isValidAddress(userAddress))
497497 then true
498498 else throwErr(makeString(["user address is not valid:", userAddress], " "))]
499499 if ((checks == checks))
500500 then {
501- let $t01658916662 = getLeasingNodeData(nodeAddress)
502- let nodeCurrentLeased = $t01658916662._1
503- let nodeNextLeased = $t01658916662._2
501+ let $t01660616679 = getLeasingNodeData(nodeAddress)
502+ let nodeCurrentLeased = $t01660616679._1
503+ let nodeNextLeased = $t01660616679._2
504504 let newNodeNextLease = (nodeNextLeased + userLeasingAmount)
505- let $t01673016816 = getUserLeasingData(nodeAddress, userAddress)
506- let userCurrentLeased = $t01673016816._1
507- let userNextLeased = $t01673016816._2
505+ let $t01674716833 = getUserLeasingData(nodeAddress, userAddress)
506+ let userCurrentLeased = $t01674716833._1
507+ let userNextLeased = $t01674716833._2
508508 let newUserNextLeased = (userNextLeased + userLeasingAmount)
509509 let fromUnlockedAmount = (userLeasingAmount - paymentAmount)
510510 let newToUnlock = max([0, (toUnlock - fromUnlockedAmount)])
511511 let newToClaim = min([toClaim, (toClaim + (toUnlock - fromUnlockedAmount))])
512512 let userTotalLocked = getUserTotalLocked(userAddress)
513513 let newUserTotalLocked = (userTotalLocked + userLeasingAmount)
514514 let unitsUnlockedActions = getUnlockUnitsAction(userAddress)
515515 ([getLeasingNodeEntry(nodeAddress, nodeCurrentLeased, newNodeNextLease), getUserLeasingEntry(nodeAddress, userAddress, userCurrentLeased, newUserNextLeased), getUserToClaimEntry(userAddress, newToClaim, newToUnlock), getUserTotalLockedEntry(userAddress, newUserTotalLocked), IntegerEntry(keyNodeLeasingByHeight(nodeAddress), newNodeNextLease), IntegerEntry(keyUserLeasingByHeight(nodeAddress, userAddress), newUserNextLeased)] ++ unitsUnlockedActions)
516516 }
517517 else throw("Strict value is not equal to itself.")
518518 }
519519
520520
521521 func getStakeFromPaymentActions (nodeAddress,userAddress,i) = {
522522 let checks = [if ((size(i.payments) == 1))
523523 then true
524524 else throwErr("payment size should be exactly 1")]
525525 if ((checks == checks))
526526 then getStakeActions(nodeAddress, userAddress, i.payments[0].amount, i)
527527 else throw("Strict value is not equal to itself.")
528528 }
529529
530530
531531 func getSetNewPeriodLengthActions (newPeriodLength) = {
532532 let check = [if ((newPeriodLength > 0))
533533 then true
534534 else throwErr("period length should be greater than 0")]
535535 if ((check == check))
536536 then if ((periodOffsetHeight == -1))
537537 then [IntegerEntry(keyPeriodLength, newPeriodLength), IntegerEntry(keyPeriodOffsetHeight, height)]
538538 else [IntegerEntry(keyPeriodOffsetId, (currentPeriodId + 1)), IntegerEntry(keyPeriodOffsetHeight, nextPeriodHeight), IntegerEntry(keyPeriodLength, newPeriodLength)]
539539 else throw("Strict value is not equal to itself.")
540540 }
541541
542542
543543 func getUnitsClaimData (userAddress) = {
544- let $t01870118792 = calculateUnitsToClaim(userAddress)
545- let unlockedUnitNow = $t01870118792._1
546- let l2ToBurnNow = $t01870118792._2
547- let currentBlock = $t01870118792._3
548- let _tmp = $t01870118792._4
544+ let $t01871818809 = calculateUnitsToClaim(userAddress)
545+ let unlockedUnitNow = $t01871818809._1
546+ let l2ToBurnNow = $t01871818809._2
547+ let currentBlock = $t01871818809._3
548+ let _tmp = $t01871818809._4
549549 let unlockedUnitsPrev = valueOrElse(getInteger(this, keyUnlockedUnits(userAddress)), 0)
550550 let unitsToSend = (unlockedUnitNow + unlockedUnitsPrev)
551551 let l2ToBurnPrev = valueOrElse(getInteger(this, keyL2ToBurn(userAddress)), 0)
552552 let l2ToBurn = (l2ToBurnPrev + l2ToBurnNow)
553553 let totalUnitsClaimed = valueOrElse(getInteger(this, keyTotalUnitsClaimed(userAddress)), 0)
554554 let totalL2Burned = valueOrElse(getInteger(this, keyL2BurnedTotal(userAddress)), 0)
555555 $Tuple5(unitsToSend, totalUnitsClaimed, l2ToBurn, totalL2Burned, currentBlock)
556556 }
557557
558558
559559 func getClaimUnitsActions (userAddress) = {
560- let $t01938419492 = getUnitsClaimData(userAddress)
561- let unitsToSend = $t01938419492._1
562- let totalUnitsClaimed = $t01938419492._2
563- let l2ToBurn = $t01938419492._3
564- let totalL2Burned = $t01938419492._4
565- let claimedBlock = $t01938419492._5
560+ let $t01940119509 = getUnitsClaimData(userAddress)
561+ let unitsToSend = $t01940119509._1
562+ let totalUnitsClaimed = $t01940119509._2
563+ let l2ToBurn = $t01940119509._3
564+ let totalL2Burned = $t01940119509._4
565+ let claimedBlock = $t01940119509._5
566566 let check = [if ((unitsToSend > 0))
567567 then true
568568 else throwErr("nothing to claim")]
569569 if ((check == check))
570570 then {
571571 let burnAction = match l2AssetIdBytes {
572572 case id: ByteVector =>
573573 [Burn(id, l2ToBurn)]
574574 case _ =>
575575 nil
576576 }
577577 ([IntegerEntry(keyUnitsClaimedBlock(userAddress), claimedBlock), IntegerEntry(keyTotalUnitsClaimed(userAddress), (totalUnitsClaimed + unitsToSend)), IntegerEntry(keyL2BurnedTotal(userAddress), (totalL2Burned + l2ToBurn)), IntegerEntry(keyUnlockedUnits(userAddress), 0), IntegerEntry(keyL2ToBurn(userAddress), 0), ScriptTransfer(addressFromStringValue(userAddress), unitsToSend, unitsAssetIdBytes)] ++ burnAction)
578578 }
579579 else throw("Strict value is not equal to itself.")
580580 }
581581
582582
583583 @Callable(i)
584584 func setNewPeriodLength (newPeriodLength) = {
585585 let checks = [if (isInAdminList(toString(i.caller)))
586586 then true
587587 else throwErr("caller is not in adminList")]
588588 if ((checks == checks))
589589 then getSetNewPeriodLengthActions(newPeriodLength)
590590 else throw("Strict value is not equal to itself.")
591591 }
592592
593593
594594
595595 @Callable(i)
596596 func claimUnits () = {
597597 let userAddress = toString(i.caller)
598598 getClaimUnitsActions(userAddress)
599599 }
600600
601601
602602
603603 @Callable(i)
604604 func setForceStopFlag (stop) = {
605605 let check = [if (isInAdminList(toString(i.caller)))
606606 then true
607607 else throwErr("caller is not in adminList")]
608608 if ((check == check))
609609 then [BooleanEntry(keyForceStop, stop)]
610610 else throw("Strict value is not equal to itself.")
611611 }
612612
613613
614614
615615 @Callable(i)
616616 func setForceOutStopFlag (stop) = {
617617 let check = [if (isInAdminList(toString(i.caller)))
618618 then true
619619 else throwErr("caller is not in adminList")]
620620 if ((check == check))
621621 then [BooleanEntry(keyForceOutStop, stop)]
622622 else throw("Strict value is not equal to itself.")
623623 }
624624
625625
626626
627627 @Callable(i)
628628 func getNodeDataREADONLY (nodeAddress) = {
629- let $t02122421288 = getLeasingNodeData(nodeAddress)
630- let currentLease = $t02122421288._1
631- let nextLeased = $t02122421288._2
629+ let $t02124121305 = getLeasingNodeData(nodeAddress)
630+ let currentLease = $t02124121305._1
631+ let nextLeased = $t02124121305._2
632632 $Tuple2(nil, $Tuple5(currentPeriodHeight, currentLease, nextPeriodHeight, nextLeased, height))
633633 }
634634
635635
636636
637637 @Callable(i)
638638 func getUserLeasingDataREADONLY (nodeAddress,userAddress) = {
639- let $t02165821735 = getUserLeasingData(nodeAddress, userAddress)
640- let currentLease = $t02165821735._1
641- let nextLeased = $t02165821735._2
639+ let $t02167521752 = getUserLeasingData(nodeAddress, userAddress)
640+ let currentLease = $t02167521752._1
641+ let nextLeased = $t02167521752._2
642642 $Tuple2(nil, $Tuple5(currentPeriodHeight, currentLease, nextPeriodHeight, nextLeased, height))
643643 }
644644
645645
646646
647647 @Callable(i)
648648 func getUserDataREADONLY (userAddress) = {
649- let $t02233922399 = getUserToClaimBalance(userAddress)
650- let toClaim = $t02233922399._1
651- let toUnlock = $t02233922399._2
649+ let $t02235622416 = getUserToClaimBalance(userAddress)
650+ let toClaim = $t02235622416._1
651+ let toUnlock = $t02235622416._2
652652 let userTotalLocked = getUserTotalLocked(userAddress)
653- let $t02246222570 = getUnitsClaimData(userAddress)
654- let unitsToSend = $t02246222570._1
655- let totalUnitsClaimed = $t02246222570._2
656- let l2ToBurn = $t02246222570._3
657- let totalL2Burned = $t02246222570._4
658- let claimedBlock = $t02246222570._5
653+ let $t02247922587 = getUnitsClaimData(userAddress)
654+ let unitsToSend = $t02247922587._1
655+ let totalUnitsClaimed = $t02247922587._2
656+ let l2ToBurn = $t02247922587._3
657+ let totalL2Burned = $t02247922587._4
658+ let claimedBlock = $t02247922587._5
659659 let unitsPerBlockScale16 = valueOrElse(getInteger(this, keyUnitsPerBlockScale16), 0)
660660 let remainingblocks = max([0, ((unitsClaimStartHeight + unitsClaimInterval) - height)])
661661 $Tuple2(nil, $Tuple13(currentPeriodHeight, toClaim, nextPeriodHeight, toUnlock, userTotalLocked, height, unitsToSend, totalUnitsClaimed, l2ToBurn, totalL2Burned, claimedBlock, unitsPerBlockScale16, remainingblocks))
662662 }
663663
664664
665665
666666 @Callable(i)
667667 func leaseByAddress (nodeAddress,userAddress) = getStakeFromPaymentActions(nodeAddress, userAddress, i)
668668
669669
670670
671671 @Callable(i)
672672 func lease (nodeAddress) = {
673673 let userAddress = toString(i.caller)
674674 getStakeFromPaymentActions(nodeAddress, userAddress, i)
675675 }
676676
677677
678678
679679 @Callable(i)
680680 func leaseFromLocked (nodeAddress,amount) = {
681681 let userAddress = toString(i.caller)
682682 getStakeActions(nodeAddress, userAddress, amount, i)
683683 }
684684
685685
686686
687687 @Callable(i)
688688 func cancelLease (nodeAddress,amount) = {
689689 let userAddress = toString(i.caller)
690690 getUnstakeActions(nodeAddress, userAddress, amount)
691691 }
692692
693693
694694
695695 @Callable(i)
696696 func claim (amount) = {
697697 let userAddress = toString(i.caller)
698698 getClaimUnlockedActions(userAddress, amount)
699699 }
700700
701701
702702
703703 @Callable(i)
704704 func claimAll () = {
705705 let userAddress = toString(i.caller)
706- let $t02400024060 = getUserToClaimBalance(userAddress)
707- let toClaim = $t02400024060._1
708- let toUnlock = $t02400024060._2
706+ let $t02401724077 = getUserToClaimBalance(userAddress)
707+ let toClaim = $t02401724077._1
708+ let toUnlock = $t02401724077._2
709709 let checks = [if ((toClaim > 0))
710710 then true
711711 else throwErr("nothing to claim")]
712712 if ((checks == checks))
713713 then getClaimUnlockedActions(userAddress, toClaim)
714714 else throw("Strict value is not equal to itself.")
715715 }
716716
717717
718718
719719 @Callable(i)
720720 func stakeFor (userAddress) = getStakeForActions(userAddress, i)
721721
722722
723723
724724 @Callable(i)
725725 func startUnitsVesting (unitsClaimNewInterval) = {
726726 let totalL2 = 100000000000000000
727727 let totalUnits = i.payments[0].amount
728728 let unitsPerBlockScale16 = (fraction(totalUnits, scale16, totalL2) / unitsClaimNewInterval)
729729 let check = [if (isInAdminList(toString(i.caller)))
730730 then true
731731 else throwErr("caller is not in adminList"), if ((size(i.payments) == 1))
732732 then true
733733 else throwErr("should be 1 payment"), if ((unitsPerBlockScale16 > 0))
734734 then true
735735 else throwErr("units per block should be greated than 0")]
736736 if ((check == check))
737737 then [IntegerEntry(keyUnitsPerBlockScale16, unitsPerBlockScale16), IntegerEntry(keyUnitsClaimStartHeight, height), IntegerEntry(keyUnitsClaimInterval, unitsClaimNewInterval), StringEntry(keyUnitsAssetId, assetBytesToString(i.payments[0].assetId))]
738738 else throw("Strict value is not equal to itself.")
739739 }
740740
741741
742742
743743 @Callable(i)
744744 func voteForTxId (txId) = {
745745 let callerAddressString = toBase58String(i.caller.bytes)
746746 let keyPrefix = keyAllowedTxIdVotePrefix(txId)
747747 let result = [StringEntry(keyAllowedTxId(), txId)]
748748 let allowedTxIdOption = getString(this, keyAllowedTxId())
749749 let err = [if ((size(fromBase58String(txId)) == TXID_BYTES_LENGTH))
750750 then true
751751 else throwErr((txId + " is not valid txId")), if (if ((allowedTxIdOption == unit))
752752 then true
753753 else (value(allowedTxIdOption) != txId))
754754 then true
755755 else throwErr((txId + " is already allowed"))]
756756 if ((err == err))
757757 then voteINTERNAL(callerAddressString, keyPrefix, QUORUM, result)
758758 else throw("Strict value is not equal to itself.")
759759 }
760760
761761
762762 @Verifier(tx)
763763 func verify () = {
764764 let byAdmins = (tx.id == fromBase58String(valueOrElse(getString(this, keyAllowedTxId()), "")))
765765 let byOwner = if ((size(getAdminsList()) >= QUORUM))
766766 then false
767767 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
768768 if (byAdmins)
769769 then true
770770 else byOwner
771771 }
772772

github/deemru/w8io/026f985 
88.79 ms