tx · GZUviw5gAezdToEWnDMAifKnj4RtdRg1HRi8bSJvNjFz

3Myu2fd7qjgM3kBm1YGjCWAB6RF8STyv9Gs:  -0.01000000 Waves

2021.11.25 17:00 [1806655] smart account 3Myu2fd7qjgM3kBm1YGjCWAB6RF8STyv9Gs > SELF 0.00000000 Waves

{ "type": 13, "id": "GZUviw5gAezdToEWnDMAifKnj4RtdRg1HRi8bSJvNjFz", "fee": 1000000, "feeAssetId": null, "timestamp": 1637848885549, "version": 1, "sender": "3Myu2fd7qjgM3kBm1YGjCWAB6RF8STyv9Gs", "senderPublicKey": "6MNRhMJWPQC5kYFZNsYg1y1bAEh5cHEwVenZHXaBKLTz", "proofs": [ "4RxedChmi9EXQRcE4tPPMpirwisQhwp6qn7PfRoHzW3bt9ikBnXtpFXjsVFsF8tfU5CkkfSc9Jrec3QZnijjbEk5" ], "script": "base64:AAIFAAAAAAAAACoIAhIICgYICAEBAQgSAwoBARIDCgEBEgMKAQgSAwoBCBIDCgEIEgMKAQgAAABSAAAAAANTRVACAAAAAl9fAAAAAAZTQ0FMRTgAAAAAAAAAAAgAAAAABU1VTFQ4AAAAAAAF9eEAAQAAAA9nZXRTdHJpbmdPckZhaWwAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAMZ2V0SW50T3JaZXJvAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkAAAAAAAAAAAABAAAAD2dldEludE9yRGVmYXVsdAAAAAMAAAAHYWRkcmVzcwAAAANrZXkAAAAKZGVmYXVsdFZhbAkBAAAAC3ZhbHVlT3JFbHNlAAAAAgk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l2ZSgxMDYyKQAAAAEFAAAAC3VzZXJBZGRyZXNzBQAAAAp1c2VyQW1vdW50BQAAAAdhc3NldElkAAAAAWkBAAAAE2d3eFVzZXJJbmZvUkVBRE9OTFkAAAABAAAAC3VzZXJBZGRyZXNzBAAAAAlnd3hBbW91bnQJAQAAABRjYWxjQ3VycmVudEd3eEFtb3VudAAAAAEFAAAAC3VzZXJBZGRyZXNzCQAFFAAAAAIFAAAAA25pbAkABEwAAAACBQAAAAlnd3hBbW91bnQFAAAAA25pbAAAAAAT7MSF", "chainId": 84, "height": 1806655, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DTXYtkHHqmtmF56TrmDc6vXrDTXh8v5YJyZFDF36Dchk Next: 5brX9A8uSEyM2SSnGN3qy3Wddj9fc1anrAKiUhZsjjbz Diff:
OldNewDifferences
472472 let $t02187021944 = internalClaimWxBoost(userAddressStr)
473473 let userBoostAvailable = $t02187021944._1
474474 let dataState = $t02187021944._2
475- $Tuple2(nil, [userBoostAvailable])
475+ $Tuple2(nil, [userBoostAvailable, height])
476476 }
477477
478478
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let SCALE8 = 8
77
88 let MULT8 = 100000000
99
1010 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined"))
1111
1212
1313 func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0)
1414
1515
1616 func getIntOrDefault (address,key,defaultVal) = valueOrElse(getInteger(address, key), defaultVal)
1717
1818
1919 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined"))
2020
2121
2222 func asAnyList (val) = match val {
2323 case valAnyLyst: List[Any] =>
2424 valAnyLyst
2525 case _ =>
2626 throw("fail to cast into List[Any]")
2727 }
2828
2929
3030 func asInt (val) = match val {
3131 case valInt: Int =>
3232 valInt
3333 case _ =>
3434 throw("fail to cast into Int")
3535 }
3636
3737
3838 func keyFactoryAddress () = "%s%s__config__factoryAddress"
3939
4040
4141 let IdxFactoryCfgStakingDapp = 1
4242
4343 let IdxFactoryCfgBoostingDapp = 2
4444
4545 let IdxFactoryCfgIdoDapp = 3
4646
4747 let IdxFactoryCfgTeamDapp = 4
4848
4949 let IdxFactoryCfgEmissionDapp = 5
5050
5151 let IdxFactoryCfgRestDapp = 6
5252
5353 let IdxFactoryCfgSlippageDapp = 7
5454
5555 func keyFactoryCfg () = "%s__factoryConfig"
5656
5757
5858 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
5959
6060
6161 func keyFactoryLpList () = "%s__lpTokensList"
6262
6363
6464 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
6565
6666
6767 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
6868
6969
7070 func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(this, keyFactoryAddress()))
7171
7272
7373 func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP)
7474
7575
7676 func readFactoryCfgOrFail (factory) = split(getStringOrFail(factory, keyFactoryCfg()), SEP)
7777
7878
7979 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
8080
8181
8282 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
8383
8484
8585 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
8686
8787
8888 func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
8989
9090
9191 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
9292
9393
9494 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
9595
9696
9797 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
9898
9999
100100 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
101101
102102
103103 let IdxCfgAssetId = 1
104104
105105 let IdxCfgMinLockAmount = 2
106106
107107 let IdxCfgMinLockDuration = 3
108108
109109 let IdxCfgMaxLockDuration = 4
110110
111111 let IdxCfgMathContract = 5
112112
113113 func keyConfig () = "%s__config"
114114
115115
116116 func readConfigArrayOrFail () = split(getStringOrFail(this, keyConfig()), SEP)
117117
118118
119119 func formatConfigS (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = makeString(["%s%d%d%d", assetId, minLockAmount, minLockDuration, maxLockDuration, mathContract], SEP)
120120
121121
122122 func formatConfig (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = formatConfigS(assetId, toString(minLockAmount), toString(minLockDuration), toString(maxLockDuration), mathContract)
123123
124124
125125 let IdxLockUserNum = 1
126126
127127 let IdxLockAmount = 2
128128
129129 let IdxLockStart = 3
130130
131131 let IdxLockDuration = 4
132132
133133 let IdxLockParamK = 5
134134
135135 let IdxLockParamB = 6
136136
137137 func keyLockParamsRecord (userAddress) = makeString(["%s%s__lock", userAddress], SEP)
138138
139139
140140 func readLockParamsRecordOrFail (userAddress) = split(getStringOrFail(this, keyLockParamsRecord(userAddress)), SEP)
141141
142142
143143 func formatLockParamsRecordS (userNum,amount,start,duration,paramK,paramB,lastUpdTimestamp,gwxAmount) = makeString(["%d%d%d%d%d%d%d%d", userNum, amount, start, duration, paramK, paramB, lastUpdTimestamp, gwxAmount], SEP)
144144
145145
146146 func formatLockParamsRecord (userNum,amount,start,duration,paramK,paramB,gwxAmount) = formatLockParamsRecordS(userNum, toString(amount), toString(start), toString(duration), toString(paramK), toString(paramB), toString(lastBlock.timestamp), toString(gwxAmount))
147147
148148
149149 func keyNextUserNum () = "%s__nextUserNum"
150150
151151
152152 func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP)
153153
154154
155155 func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP)
156156
157157
158158 func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP)
159159
160160
161161 func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP)
162162
163163
164164 func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP)
165165
166166
167167 func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP)
168168
169169
170170 func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP)
171171
172172
173173 func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP)
174174
175175
176176 func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP)
177177
178178
179179 func keyLockParamTotalAmount () = "%s%s__stats__activeTotalLocked"
180180
181181
182182 func keyStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks"
183183
184184
185185 func keyStatsLocksCount () = "%s%s__stats__locksCount"
186186
187187
188188 func keyStatsUsersCount () = "%s%s__stats__activeUsersCount"
189189
190190
191191 func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP)
192192
193193
194194 func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP)
195195
196196
197197 func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total"
198198
199199
200200 func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP)
201201
202202
203203 func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP)
204204
205205
206206 let factoryContract = readFactoryAddressOrFail()
207207
208208 let factoryCfg = readFactoryCfgOrFail(factoryContract)
209209
210210 let emissionContract = getEmissionAddressOrFail(factoryCfg)
211211
212212 let stakingContract = getStakingAddressOrFail(factoryCfg)
213213
214214 func HistoryEntry (type,user,amount,lockStart,duration,k,b,i) = {
215215 let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP)
216216 let historyDATA = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(amount), toString(lockStart), toString(duration), toString(k), toString(b)], SEP)
217217 StringEntry(historyKEY, historyDATA)
218218 }
219219
220220
221221 func StatsEntry (totalLockedInc,durationInc,lockCountInc,usersCountInc) = {
222222 let locksDurationSumInBlocksKEY = keyStatsLocksDurationSumInBlocks()
223223 let locksCountKEY = keyStatsLocksCount()
224224 let usersCountKEY = keyStatsUsersCount()
225225 let totalAmountKEY = keyLockParamTotalAmount()
226226 let locksDurationSumInBlocks = getIntOrZero(this, locksDurationSumInBlocksKEY)
227227 let locksCount = getIntOrZero(this, locksCountKEY)
228228 let usersCount = getIntOrZero(this, usersCountKEY)
229229 let totalAmount = getIntOrZero(this, totalAmountKEY)
230230 [IntegerEntry(locksDurationSumInBlocksKEY, (locksDurationSumInBlocks + durationInc)), IntegerEntry(locksCountKEY, (locksCount + lockCountInc)), IntegerEntry(usersCountKEY, (usersCount + usersCountInc)), IntegerEntry(totalAmountKEY, (totalAmount + totalLockedInc))]
231231 }
232232
233233
234234 func calcGwxAmount (kRaw,bRaw,h) = {
235235 let SCALE = 1000
236236 (((kRaw * h) + bRaw) / SCALE)
237237 }
238238
239239
240240 func LockParamsEntry (userAddress,userNum,amount,start,duration,k,b,period) = {
241241 let userAmountKEY = keyLockParamUserAmount(userNum)
242242 let startBlockKEY = keyLockParamStartBlock(userNum)
243243 let durationKEY = keyLockParamDuration(userNum)
244244 let kKEY = keyLockParamK(userNum)
245245 let bKEY = keyLockParamB(userNum)
246246 let kByPerioKEY = keyLockParamByPeriodK(userNum, period)
247247 let bByPeriodKEY = keyLockParamByPeriodB(userNum, period)
248248 let gwxAmount = calcGwxAmount(k, b, height)
249249 [IntegerEntry(userAmountKEY, amount), IntegerEntry(startBlockKEY, start), IntegerEntry(durationKEY, duration), IntegerEntry(kKEY, k), IntegerEntry(bKEY, b), IntegerEntry(kByPerioKEY, k), IntegerEntry(bByPeriodKEY, b), StringEntry(keyLockParamsRecord(userAddress), formatLockParamsRecord(userNum, amount, start, duration, k, b, gwxAmount))]
250250 }
251251
252252
253253 func extractOptionalPaymentAmountOrFail (i,expectedAssetId) = if ((size(i.payments) > 1))
254254 then throw("only one payment is allowed")
255255 else if ((size(i.payments) == 0))
256256 then 0
257257 else {
258258 let pmt = i.payments[0]
259259 if ((value(pmt.assetId) != expectedAssetId))
260260 then throw("invalid asset id in payment")
261261 else pmt.amount
262262 }
263263
264264
265265 func calcCurrentGwxAmount (userAddress) = {
266266 let EMPTY = "empty"
267267 let user2NumMappingKEY = keyUser2NumMapping(userAddress)
268268 let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY)
269269 let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0)
270270 let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0)
271271 let gwxAmountCalc = calcGwxAmount(k, b, height)
272272 let gwxAmount = if ((0 > gwxAmountCalc))
273273 then 0
274274 else gwxAmountCalc
275275 gwxAmount
276276 }
277277
278278
279279 func internalClaimWxBoost (userAddressStr) = {
280280 let userRecordArray = readLockParamsRecordOrFail(userAddressStr)
281281 let userNumStr = userRecordArray[IdxLockUserNum]
282282 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
283283 let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock())
284284 let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock())
285285 let h = if ((height > emissionEnd))
286286 then emissionEnd
287287 else height
288288 let dh = max([(h - emissionStart), 0])
289289 let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr)
290290 let userBoostEmissionLastIntegral = getIntOrZero(this, userBoostEmissionLastIntegralKEY)
291291 let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3)
292292 let userBoostEmissionIntegral = (boostEmissionIntegral - userBoostEmissionLastIntegral)
293293 if ((0 >= userBoostEmissionIntegral))
294294 then throw("wrong calculations")
295295 else {
296296 let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr)
297297 let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL()
298298 let userBoostAvalaibleToClaimTotalKEY = keyUserBoostAvalaibleToClaimTotal(userNumStr)
299299 let userMaxBoostInt = getIntOrZero(this, userMaxBoostIntegralKEY)
300300 let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY)
301301 let userBoostAvaliableToClaimTotal = getIntOrZero(this, userBoostAvalaibleToClaimTotalKEY)
302302 let userBoostAvaliableToClaimTotalNew = (userBoostAvaliableToClaimTotal + fraction(userBoostEmissionIntegral, userMaxBoostInt, totalMaxBoostInt))
303303 let userBoostClaimedKEY = keyUserBoostClaimed(userNumStr)
304304 let userBoostClaimed = getIntOrZero(this, userBoostClaimedKEY)
305305 let userBoostAvailable = (userBoostAvaliableToClaimTotalNew - userBoostClaimed)
306306 let dataState = [IntegerEntry(userBoostAvalaibleToClaimTotalKEY, userBoostAvaliableToClaimTotalNew), IntegerEntry(userBoostEmissionLastIntegralKEY, boostEmissionIntegral)]
307307 $Tuple2(userBoostAvailable, dataState)
308308 }
309309 }
310310
311311
312312 @Callable(i)
313313 func constructor (factoryAddressStr,lockAssetIdStr,minLockAmount,minDuration,maxDuration,mathContract) = if ((this != i.caller))
314314 then throw("not authorized")
315315 else ([IntegerEntry(keyNextUserNum(), 0), StringEntry(keyConfig(), formatConfig(lockAssetIdStr, minLockAmount, minDuration, maxDuration, mathContract)), StringEntry(keyFactoryAddress(), factoryAddressStr)] ++ StatsEntry(0, 0, 0, 0))
316316
317317
318318
319319 @Callable(i)
320320 func lock (duration) = {
321321 let cfgArray = readConfigArrayOrFail()
322322 let assetIdStr = cfgArray[IdxCfgAssetId]
323323 let assetId = fromBase58String(assetIdStr)
324324 let minLockAmount = parseIntValue(cfgArray[IdxCfgMinLockAmount])
325325 let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration])
326326 let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration])
327327 let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract])
328328 if ((size(i.payments) != 1))
329329 then throw("invalid payment - exact one payment must be attached")
330330 else {
331331 let pmt = i.payments[0]
332332 let pmtAmount = pmt.amount
333333 if ((assetId != value(pmt.assetId)))
334334 then throw((("invalid asset is in payment - " + assetIdStr) + " is expected"))
335335 else {
336336 let nextUserNumKEY = keyNextUserNum()
337337 let userAddressStr = toString(i.caller)
338338 let userIsExisting = isDefined(getString(keyUser2NumMapping(userAddressStr)))
339339 let userNumStr = if (userIsExisting)
340340 then value(getString(keyUser2NumMapping(userAddressStr)))
341341 else toString(getIntOrFail(this, nextUserNumKEY))
342342 let userNum = parseIntValue(userNumStr)
343343 let lockStart = height
344344 let startBlockKEY = keyLockParamStartBlock(userNumStr)
345345 let durationKEY = keyLockParamDuration(userNumStr)
346346 let userAmountKEY = keyLockParamUserAmount(userNumStr)
347347 if ((minLockAmount > pmtAmount))
348348 then throw(("amount is less then minLockAmount=" + toString(minLockAmount)))
349349 else if ((minLockDuration > duration))
350350 then throw(("passed duration is less then minLockDuration=" + toString(minLockDuration)))
351351 else if ((duration > maxLockDuration))
352352 then throw(("passed duration is greater then maxLockDuration=" + toString(maxLockDuration)))
353353 else if (if (userIsExisting)
354354 then ((getIntOrFail(this, startBlockKEY) + getIntOrFail(this, durationKEY)) >= lockStart)
355355 else false)
356356 then throw("there is an active lock - consider to use increaseLock")
357357 else {
358358 let coeffX8 = fraction(duration, MULT8, maxLockDuration)
359359 let gWxAmountStart = fraction(pmtAmount, coeffX8, MULT8)
360360 let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, lockStart, duration], nil))
361361 let k = asInt(gWxParamsResultList[0])
362362 let b = asInt(gWxParamsResultList[1])
363363 let period = toString(asInt(gWxParamsResultList[2]))
364364 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
365365 let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock())
366366 let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock())
367367 let h = if ((height > emissionEnd))
368368 then emissionEnd
369369 else height
370370 let dh = max([(h - emissionStart), 0])
371371 let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr)
372372 let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3)
373373 let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr)
374374 let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL()
375375 let userMaxBoostInt = ((gWxAmountStart * duration) / 2)
376376 let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY)
377377 let arr = if (userIsExisting)
378378 then nil
379379 else [IntegerEntry(nextUserNumKEY, (userNum + 1)), StringEntry(keyUser2NumMapping(userAddressStr), userNumStr), StringEntry(keyNum2UserMapping(userNumStr), userAddressStr)]
380380 ((((arr ++ LockParamsEntry(userAddressStr, userNumStr, pmtAmount, lockStart, duration, k, b, period)) ++ StatsEntry(pmtAmount, duration, 1, if (userIsExisting)
381381 then 0
382382 else 1)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, duration, k, b, i)) ++ [IntegerEntry(userBoostEmissionLastIntegralKEY, boostEmissionIntegral), IntegerEntry(userMaxBoostIntegralKEY, userMaxBoostInt), IntegerEntry(totalMaxBoostIntegralKEY, (totalMaxBoostInt + userMaxBoostInt))])
383383 }
384384 }
385385 }
386386 }
387387
388388
389389
390390 @Callable(i)
391391 func increaseLock (deltaDuration) = {
392392 let cfgArray = readConfigArrayOrFail()
393393 let assetIdStr = cfgArray[IdxCfgAssetId]
394394 let assetId = fromBase58String(assetIdStr)
395395 let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration])
396396 let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration])
397397 let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract])
398398 let pmtAmount = extractOptionalPaymentAmountOrFail(i, assetId)
399399 let userAddressStr = toString(i.caller)
400400 let userRecordArray = readLockParamsRecordOrFail(userAddressStr)
401401 let userNumStr = userRecordArray[IdxLockUserNum]
402402 let userAmount = parseIntValue(userRecordArray[IdxLockAmount])
403403 let lockStart = parseIntValue(userRecordArray[IdxLockStart])
404404 let lockDuration = parseIntValue(userRecordArray[IdxLockDuration])
405405 let lockEnd = (lockStart + lockDuration)
406406 let remainingDuration = max([(lockEnd - height), 0])
407407 let userAmountNew = (userAmount + pmtAmount)
408408 let lockDurationNew = (remainingDuration + deltaDuration)
409409 if ((0 > deltaDuration))
410410 then throw("duration is less then zero")
411411 else if ((minLockDuration > lockDurationNew))
412412 then throw(("lockDurationNew is less then minLockDuration=" + toString(minLockDuration)))
413413 else if ((lockDurationNew > maxLockDuration))
414414 then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(maxLockDuration)))
415415 else if (if ((height >= lockEnd))
416416 then (userAmount > 0)
417417 else false)
418418 then throw("there is an expired lock - need to unlock before new lock")
419419 else {
420420 let coeffX8 = fraction(lockDurationNew, MULT8, maxLockDuration)
421421 let gWxAmountStart = fraction(userAmountNew, coeffX8, MULT8)
422422 let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, height, lockDurationNew], nil))
423423 let k = asInt(gWxParamsResultList[0])
424424 let b = asInt(gWxParamsResultList[1])
425425 let period = toString(asInt(gWxParamsResultList[2]))
426426 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
427427 let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock())
428428 let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock())
429429 let h = if ((height > emissionEnd))
430430 then emissionEnd
431431 else height
432432 let dh = max([(h - emissionStart), 0])
433433 let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr)
434434 let userBoostEmissionLastIntegral = getIntOrZero(this, userBoostEmissionLastIntegralKEY)
435435 let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3)
436436 let userBoostEmissionIntegral = (boostEmissionIntegral - userBoostEmissionLastIntegral)
437437 if ((0 >= userBoostEmissionIntegral))
438438 then throw("wrong calculations")
439439 else {
440440 let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr)
441441 let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL()
442442 let userBoostAvalaibleToClaimTotalKEY = keyUserBoostAvalaibleToClaimTotal(userNumStr)
443443 let userMaxBoostInt = getIntOrZero(this, userMaxBoostIntegralKEY)
444444 let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY)
445445 let userBoostAvaliableToClaimTotal = getIntOrZero(this, userBoostAvalaibleToClaimTotalKEY)
446446 let userBoostAvaliableToClaimTotalNew = (userBoostAvaliableToClaimTotal + fraction(userBoostEmissionIntegral, userMaxBoostInt, totalMaxBoostInt))
447447 let userMaxBoostIntNew = ((gWxAmountStart * lockDurationNew) / 2)
448448 let currUserGwx = calcCurrentGwxAmount(userAddressStr)
449449 let remainingUserMaxBoostInt = ((currUserGwx * remainingDuration) / 2)
450450 let userMaxBoostIntDiff = (userMaxBoostIntNew - remainingUserMaxBoostInt)
451451 if ((0 >= userMaxBoostIntDiff))
452452 then throw("wrong calculations")
453453 else (((LockParamsEntry(userAddressStr, userNumStr, userAmountNew, lockStart, lockDurationNew, k, b, period) ++ StatsEntry(pmtAmount, deltaDuration, 0, 0)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, lockDurationNew, k, b, i)) ++ [IntegerEntry(userMaxBoostIntegralKEY, userMaxBoostIntDiff), IntegerEntry(totalMaxBoostIntegralKEY, (totalMaxBoostInt + userMaxBoostIntDiff)), IntegerEntry(userBoostAvalaibleToClaimTotalKEY, userBoostAvaliableToClaimTotalNew), IntegerEntry(userBoostEmissionLastIntegralKEY, boostEmissionIntegral)])
454454 }
455455 }
456456 }
457457
458458
459459
460460 @Callable(i)
461461 func claimWxBoost (userAddressStr) = {
462462 let $t02168021792 = internalClaimWxBoost(userAddressStr)
463463 let userBoostAvailable = $t02168021792._1
464464 let dataState = $t02168021792._2
465465 nil
466466 }
467467
468468
469469
470470 @Callable(i)
471471 func claimWxBoostREADONLY (userAddressStr) = {
472472 let $t02187021944 = internalClaimWxBoost(userAddressStr)
473473 let userBoostAvailable = $t02187021944._1
474474 let dataState = $t02187021944._2
475- $Tuple2(nil, [userBoostAvailable])
475+ $Tuple2(nil, [userBoostAvailable, height])
476476 }
477477
478478
479479
480480 @Callable(i)
481481 func unlock (userAddress) = {
482482 let userRecordArray = readLockParamsRecordOrFail(userAddress)
483483 let userNumStr = userRecordArray[IdxLockUserNum]
484484 let userAmount = parseIntValue(userRecordArray[IdxLockAmount])
485485 let lockStart = parseIntValue(userRecordArray[IdxLockStart])
486486 let lockDuration = parseIntValue(userRecordArray[IdxLockDuration])
487487 let lockEnd = (lockStart + lockDuration)
488488 let cfgArray = readConfigArrayOrFail()
489489 let assetId = fromBase58String(cfgArray[IdxCfgAssetId])
490490 if ((lockEnd >= height))
491491 then throw((("wait " + toString(lockEnd)) + " to unlock"))
492492 else if ((0 >= userAmount))
493493 then throw("nothing to unlock")
494494 else {
495495 let period = "0"
496496 (((LockParamsEntry(userAddress, userNumStr, 0, lockStart, lockDuration, 0, 0, period) ++ StatsEntry(-(userAmount), 0, 0, -1)) :+ HistoryEntry("unlock", userAddress, userAmount, lockStart, lockDuration, 0, 0, i)) :+ ScriptTransfer(addressFromStringValue(userAddress), userAmount, assetId))
497497 }
498498 }
499499
500500
501501
502502 @Callable(i)
503503 func gwxUserInfoREADONLY (userAddress) = {
504504 let gwxAmount = calcCurrentGwxAmount(userAddress)
505505 $Tuple2(nil, [gwxAmount])
506506 }
507507
508508

github/deemru/w8io/026f985 
68.87 ms