tx · 3ZWpezVTnGgcvWUTckonuDj6ChvnjDnCXPzoRopTVFjy

3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy:  -0.01000000 Waves

2021.12.09 18:44 [1826907] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves

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

github/deemru/w8io/fabc49c 
65.07 ms