tx · 2uyBuruEcc67qGb4rKZfxxbyy4m8zEPTRJMH19ihgHKM

3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy:  -0.01000000 Waves

2021.11.24 14:19 [1805059] smart account 3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy > SELF 0.00000000 Waves

{ "type": 13, "id": "2uyBuruEcc67qGb4rKZfxxbyy4m8zEPTRJMH19ihgHKM", "fee": 1000000, "feeAssetId": null, "timestamp": 1637752747750, "version": 1, "sender": "3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy", "senderPublicKey": "4G3urRLkmwczZagvu8zbJJSq387b5HcjzxE6KpDHNp5t", "proofs": [ "4PMhbYLRz3oxUiikWL7ig7VZR4YG5ucbQeFSzcWPU4nNKzS9QvN5wyD1xR9xLNPNNkhePVmSDfrxLBrji17KN3CP" ], "script": "base64:AAIFAAAAAAAAAC4IAhIHCgUCAQEBARIAEgASBwoFAgEBAQESABIDCgEIEgUKAwEBARIGCgQICAgBAAAAJQAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAADU0VQAgAAAAJfXwAAAAAITUFYREVQVEgAAAAAAAAAABEAAAAACVVTRVJERVBUSAAAAAAAAAAAGgAAAAAFU0NBTEUAAAAAAAAAA+gBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQIAAAAAAQAAAA9nZXRTdHJpbmdPckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEIgAAAAEFAAAAA2tleQkAASwAAAACCQABLAAAAAICAAAAD21hbmRhdG9yeSB0aGlzLgUAAAADa2V5AgAAAA8gaXMgbm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FkZHJlc3NTdHIAAAAaYm9vc3RpbmdDb250cmFjdEFkZHJlc3NTdHIAAAAIbWF4RGVwdGgDCQEAAAACIT0AAAACBQAAAAR0aGlzCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAObm90IGF1dGhvcml6ZWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAACWtleUNvbmZpZwAAAAAJAQAAAAxmb3JtYXRDb25maWcAAAAEBQAAAAx3eEFzc2V0SWRTdHIFAAAAGm1hdGNoZXJQYWNlbWFrZXJBZGRyZXNzU3RyBQAAABpib29zdGluZ0NvbnRyYWN0QWRkcmVzc1N0cgUAAAAIbWF4RGVwdGgFAAAAA25pbAAAAACFDJae", "chainId": 84, "height": 1805059, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7RCbYiWejhAfGZ2VqkycHN2V787wRYo4sLWkyjaoGP6C Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let revisionNum = ""
55
66 let SEP = "__"
77
88 let MAXDEPTH = 17
99
1010 let USERDEPTH = 26
1111
1212 let SCALE = 1000
1313
1414 func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0)
1515
1616
1717 func getStringByKey (key) = valueOrElse(getString(this, key), "")
1818
1919
2020 func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined"))
2121
2222
2323 let IdxCfgAssetId = 1
2424
2525 let IdxCfgPacemakerAddress = 2
2626
2727 let IdxCfgBoostingContract = 3
2828
2929 let IdxCfgMaxDepth = 4
3030
3131 func keyConfig () = "%s__config"
3232
3333
3434 func readConfigArrayOrFail () = split(getStringOrFail(keyConfig()), SEP)
3535
3636
3737 func formatConfig (wxAssetIdStr,matcherPacemakerAddressStr,boostingContractAddressStr,maxDepth) = makeString(["%s%s%s%d", wxAssetIdStr, matcherPacemakerAddressStr, boostingContractAddressStr, toString(maxDepth)], SEP)
3838
3939
4040 func keyUsersCount () = "%s__nextUserNum"
4141
4242
4343 func keyNextProcessedUser () = "%s__nextProcessedUser"
4444
4545
4646 func keyLatestPeriod () = "%s__latestPeriod"
4747
4848
4949 func keyNextPeriod () = "%s__nextPeriod"
5050
5151
5252 func keyNextProcessedPeriod () = "%s__nextProcessedPeriod"
5353
5454
5555 func keyNextUnlaimedPeriodOfUser (userIndex) = makeString(["%s%d__nextClaimedPeriod", toString(userIndex)], SEP)
5656
5757
5858 func keyLastProcessedPeriodOfUser (userIndex) = makeString(["%s%d__lastProcessedPeriod", toString(userIndex)], SEP)
5959
6060
6161 func keyHeightForPeriod (period) = makeString(["%s%d__startHeightForPeriod", toString(period)], SEP)
6262
6363
6464 func keyTotalAmountForPeriod (period) = makeString(["%s%d__totalAmountForPeriod", toString(period)], SEP)
6565
6666
6767 func keyTotalWeightForPeriod (period) = makeString(["%s%d__totalWeightForPeriod", toString(period)], SEP)
6868
6969
7070 func keyUserKValueForPeriod (period,userIndex) = makeString(["%s%d%s%d__paramByPeriod", toString(userIndex), "k", toString(period)], SEP)
7171
7272
7373 func keyUserBValueForPeriod (period,userIndex) = makeString(["%s%d%s%d__paramByPeriod", toString(userIndex), "b", toString(period)], SEP)
7474
7575
7676 func HistoryEntry (type,user,amount,currentPeriod,latestPeriod,i) = {
7777 let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP)
7878 let historyDATA = makeString(["%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(amount), toString(currentPeriod), toString(latestPeriod)], SEP)
7979 StringEntry(historyKEY, historyDATA)
8080 }
8181
8282
8383 func calcUserWeight (boostingContractAddress,heightForPeriod,period,userIndex) = {
8484 let kLast = keyLastProcessedPeriodOfUser(userIndex)
8585 let kKey = keyUserKValueForPeriod(period, userIndex)
8686 let kRaw = getInteger(boostingContractAddress, kKey)
8787 if (isDefined(kRaw))
8888 then {
8989 let k = value(kRaw)
9090 let b = value(getInteger(boostingContractAddress, keyUserBValueForPeriod(period, userIndex)))
9191 let w = ((k * heightForPeriod) + b)
9292 if ((w > 0))
9393 then $Tuple2((w / SCALE), [IntegerEntry(kLast, period)])
9494 else $Tuple2(0, nil)
9595 }
9696 else {
9797 let p = getInteger(this, kLast)
9898 if (isDefined(p))
9999 then {
100100 let pv = value(p)
101101 let k = value(getInteger(boostingContractAddress, keyUserKValueForPeriod(pv, userIndex)))
102102 let b = value(getInteger(boostingContractAddress, keyUserBValueForPeriod(pv, userIndex)))
103103 let w = ((k * heightForPeriod) + b)
104104 if ((w > 0))
105105 then $Tuple2((w / SCALE), nil)
106106 else $Tuple2(0, nil)
107107 }
108108 else $Tuple2(0, nil)
109109 }
110110 }
111111
112112
113113 func getUserIndexByAddress (boostingContractAddressStr,userAddress) = {
114114 let key = makeString(["%s%s%s", "mapping", "user2num", userAddress], SEP)
115115 parseIntValue(valueOrErrorMessage(getString(Address(fromBase58String(boostingContractAddressStr)), key), ((("User address " + userAddress) + " is not found in boosting contract data, key=") + key)))
116116 }
117117
118118
119119 func nextPeriod () = getNumberByKey(keyNextPeriod())
120120
121121
122122 func invokeProcess (boostingContract,period,user,depth,weight) = {
123123 let result = invoke(this, "processNextBatch", [boostingContract, period, user, depth, weight], nil)
124124 if ((result == result))
125125 then match result {
126126 case r: (Int, Int, Int) =>
127127 r
128128 case _ =>
129129 throw("Incorrect invoke result")
130130 }
131131 else throw("Strict value is not equal to itself.")
132132 }
133133
134134
135135 func checkLastPartOfPeriod (boostingContract,currentPeriod,latestPeriod,depth,totalWeightKey,weight) = if ((latestPeriod >= (currentPeriod + 1)))
136136 then invokeProcess(boostingContract, (currentPeriod + 1), 0, (depth - 1), 0)
137137 else $Tuple3((currentPeriod + 1), 0, 0)
138138
139139
140140 func processNextBatchInternal (boostingContract,currentPeriod,currentUser,depth,totalWeight) = {
141141 let boostingContractAddress = Address(boostingContract)
142142 let latestPeriod = getNumberByKey(keyLatestPeriod())
143143 let usersCount = valueOrElse(getInteger(boostingContractAddress, keyUsersCount()), 0)
144144 let totalWeightKey = keyTotalWeightForPeriod(currentPeriod)
145145 let heightForPeriod = getNumberByKey(keyHeightForPeriod(currentPeriod))
146146 if (if ((depth > 0))
147147 then (latestPeriod >= currentPeriod)
148148 else false)
149149 then {
150150 let t0 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, currentUser)
151151 let weight0 = (totalWeight + t0._1)
152152 if ((usersCount > (currentUser + 1)))
153153 then {
154154 let t1 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 1))
155155 let weight1 = (weight0 + t1._1)
156156 if ((usersCount > (currentUser + 2)))
157157 then {
158158 let t2 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 2))
159159 let weight2 = (weight1 + t2._1)
160160 if ((usersCount > (currentUser + 3)))
161161 then {
162162 let t3 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 3))
163163 let weight3 = (weight2 + t3._1)
164164 if ((usersCount > (currentUser + 4)))
165165 then {
166166 let t4 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 4))
167167 let weight4 = (weight3 + t4._1)
168168 if ((usersCount > (currentUser + 5)))
169169 then {
170170 let t5 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 5))
171171 let weight5 = (weight4 + t5._1)
172172 if ((usersCount > (currentUser + 6)))
173173 then {
174174 let r5 = invokeProcess(boostingContract, currentPeriod, (currentUser + 6), (depth - 1), weight5)
175175 $Tuple4((((((t0._2 ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2) ++ t5._2), r5._1, r5._2, r5._3)
176176 }
177177 else {
178178 let r5 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight5)
179179 $Tuple4((((((([IntegerEntry(totalWeightKey, weight5)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2) ++ t5._2), r5._1, r5._2, r5._3)
180180 }
181181 }
182182 else {
183183 let r4 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight4)
184184 $Tuple4(((((([IntegerEntry(totalWeightKey, weight4)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2), r4._1, r4._2, r4._3)
185185 }
186186 }
187187 else {
188188 let r3 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight3)
189189 $Tuple4((((([IntegerEntry(totalWeightKey, weight3)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2), r3._1, r3._2, r3._3)
190190 }
191191 }
192192 else {
193193 let r2 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight2)
194194 $Tuple4(((([IntegerEntry(totalWeightKey, weight2)] ++ t0._2) ++ t1._2) ++ t2._2), r2._1, r2._2, r2._3)
195195 }
196196 }
197197 else {
198198 let r1 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight1)
199199 $Tuple4((([IntegerEntry(totalWeightKey, weight1)] ++ t0._2) ++ t1._2), r1._1, r1._2, r1._3)
200200 }
201201 }
202202 else {
203203 let r0 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight0)
204204 $Tuple4(([IntegerEntry(totalWeightKey, weight0)] ++ t0._2), r0._1, r0._2, r0._3)
205205 }
206206 }
207207 else if ((currentUser == 0))
208208 then $Tuple4(nil, currentPeriod, 0, 0)
209209 else $Tuple4([IntegerEntry(totalWeightKey, totalWeight)], currentPeriod, currentUser, 0)
210210 }
211211
212212
213213 func invokeClaim (boostingContract,period,user,depth,total) = {
214214 let result = invoke(this, "claimNextBatch", [boostingContract, period, user, depth, total], nil)
215215 if ((result == result))
216216 then match result {
217217 case r: (Int, Int) =>
218218 r
219219 case _ =>
220220 throw("Incorrect invoke result")
221221 }
222222 else throw("Strict value is not equal to itself.")
223223 }
224224
225225
226226 func claimInternal (boostingContract,currentPeriod,currentUser,depth,userAccumulated) = {
227227 let boostingContractAddress = Address(boostingContract)
228228 let latestPeriod = getNumberByKey(keyNextProcessedPeriod())
229229 let totalWeight = getNumberByKey(keyTotalWeightForPeriod(currentPeriod))
230230 let heightForPeriod = getNumberByKey(keyHeightForPeriod(currentPeriod))
231231 let $t01069910811 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, currentUser)
232232 let userWeight = $t01069910811._1
233233 let ignored = $t01069910811._2
234234 let userAmountForPeriod = fraction(getNumberByKey(keyTotalAmountForPeriod(currentPeriod)), userWeight, totalWeight)
235235 if (if ((0 >= depth))
236236 then true
237237 else ((currentPeriod + 1) >= latestPeriod))
238238 then $Tuple2((currentPeriod + 1), (userAccumulated + userAmountForPeriod))
239239 else invokeClaim(boostingContract, (currentPeriod + 1), currentUser, (depth - 1), (userAccumulated + userAmountForPeriod))
240240 }
241241
242242
243243 func commonClaimReward (userAddress) = {
244244 let cfgArray = readConfigArrayOrFail()
245245 let userIdx = getUserIndexByAddress(cfgArray[IdxCfgBoostingContract], userAddress)
246246 let currentPeriod = getNumberByKey(keyNextUnlaimedPeriodOfUser(userIdx))
247247 let latestPeriod = getNumberByKey(keyNextProcessedPeriod())
248248 if ((currentPeriod >= latestPeriod))
249249 then throw("Nothing to claim")
250250 else {
251251 let boostingContract = fromBase58String(cfgArray[IdxCfgBoostingContract])
252252 let $t01173211824 = claimInternal(boostingContract, currentPeriod, userIdx, USERDEPTH, 0)
253253 let period = $t01173211824._1
254254 let amount = $t01173211824._2
255255 $Tuple5(period, amount, userIdx, cfgArray, latestPeriod)
256256 }
257257 }
258258
259259
260260 @Callable(i)
261261 func processNextBatch (boostingContract,currentPeriod,currentUser,depth,totalWeight) = if ((i.caller != this))
262262 then throw("Should be called by this script only")
263263 else {
264264 let tpl = processNextBatchInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight)
265265 $Tuple2(tpl._1, $Tuple3(tpl._2, tpl._3, tpl._4))
266266 }
267267
268268
269269
270270 @Callable(i)
271271 func processPendingPeriodsAndUsers () = {
272272 let currentPeriod = getNumberByKey(keyNextProcessedPeriod())
273273 if ((currentPeriod > getNumberByKey(keyLatestPeriod())))
274274 then throw("Nothing to process")
275275 else {
276276 let cfgArray = readConfigArrayOrFail()
277277 let depth = parseIntValue(cfgArray[IdxCfgMaxDepth])
278278 if ((depth > MAXDEPTH))
279279 then throw("Depth exceeds MAXDEPTH")
280280 else {
281281 let boostingContract = fromBase58String(cfgArray[IdxCfgBoostingContract])
282282 let currentUser = getNumberByKey(keyNextProcessedUser())
283283 let totalWeight = getNumberByKey(keyTotalWeightForPeriod(currentPeriod))
284284 let r = processNextBatchInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight)
285285 ((r._1 :+ IntegerEntry(keyNextProcessedPeriod(), r._2)) :+ IntegerEntry(keyNextProcessedUser(), r._3))
286286 }
287287 }
288288 }
289289
290290
291291
292292 @Callable(i)
293293 func deposit () = {
294294 let cfgArray = readConfigArrayOrFail()
295295 if ((i.caller != Address(fromBase58String(cfgArray[IdxCfgPacemakerAddress]))))
296296 then throw("Wrong caller address")
297297 else {
298298 let assetId = value(value(i.payments[0]).assetId)
299299 if ((assetId != fromBase58String(cfgArray[IdxCfgAssetId])))
300300 then throw("Wrong payment asset")
301301 else {
302302 let period = nextPeriod()
303303 [IntegerEntry(keyLatestPeriod(), period), IntegerEntry(keyHeightForPeriod(period), height), IntegerEntry(keyTotalAmountForPeriod(period), value(i.payments[0]).amount), IntegerEntry(keyNextPeriod(), (period + 1))]
304304 }
305305 }
306306 }
307307
308308
309309
310310 @Callable(i)
311311 func claimNextBatch (boostingContract,currentPeriod,currentUser,depth,totalWeight) = if ((i.caller != this))
312312 then throw("Should be called by this script only")
313313 else {
314314 let periodAndTotal = claimInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight)
315315 $Tuple2(nil, periodAndTotal)
316316 }
317317
318318
319319
320320 @Callable(i)
321321 func claimReward () = {
322322 let address = toString(i.caller)
323323 let $t01476414846 = commonClaimReward(address)
324324 let period = $t01476414846._1
325325 let amount = $t01476414846._2
326326 let userIdx = $t01476414846._3
327327 let cfgArray = $t01476414846._4
328328 let latestPeriod = $t01476414846._5
329329 $Tuple2([IntegerEntry(keyNextUnlaimedPeriodOfUser(userIdx), period), ScriptTransfer(i.caller, amount, fromBase58String(cfgArray[IdxCfgAssetId])), HistoryEntry("claim", address, amount, period, latestPeriod, i)], amount)
330330 }
331331
332332
333333
334334 @Callable(i)
335335 func claimRewardREADONLY (address) = {
336336 let claimResults = commonClaimReward(address)
337337 let amount = claimResults._2
338338 $Tuple2(nil, amount)
339339 }
340340
341341
342342
343343 @Callable(i)
344344 func calcGwxParamsREADONLY (wxAmount,lockStartHeight,lockDurationBlocks) = {
345345 let lockEndHeight = (lockStartHeight + lockDurationBlocks)
346346 let scale8ParamK = -(fraction(wxAmount, SCALE, lockDurationBlocks))
347347 let scale8ParamB = (fraction(wxAmount, SCALE, lockDurationBlocks) * lockEndHeight)
348348 $Tuple2(nil, [scale8ParamK, scale8ParamB, nextPeriod()])
349349 }
350350
351351
352352
353353 @Callable(i)
354354 func constructor (wxAssetIdStr,matcherPacemakerAddressStr,boostingContractAddressStr,maxDepth) = if ((this != i.caller))
355355 then throw("not authorized")
356356 else [StringEntry(keyConfig(), formatConfig(wxAssetIdStr, matcherPacemakerAddressStr, boostingContractAddressStr, maxDepth))]
357357
358358

github/deemru/w8io/169f3d6 
158.08 ms