tx · FsUpaZ4TduW31oXp5aKKnT2VAkGGvkE3hyZMd5D1Yp56

3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK:  -0.14000000 Waves

2022.11.02 15:24 [2299488] smart account 3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK > SELF 0.00000000 Waves

{ "type": 13, "id": "FsUpaZ4TduW31oXp5aKKnT2VAkGGvkE3hyZMd5D1Yp56", "fee": 14000000, "feeAssetId": null, "timestamp": 1667391849258, "version": 2, "chainId": 84, "sender": "3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK", "senderPublicKey": "FFdBua5rzzMkZebvsvmN7sAdU7XhFK8QNJ3hiwwxAYRA", "proofs": [ "61FQZBn75J2dXfbhhDHy9hYy1zoqvo35y9VJeUWQaXd6vGQCTUHrLkXrzyf8TaTp2Xk2TmFJ2uCsrd7hsMXgw4it", "4JR8zM7epgWvtrvX2CzPFVdGoJsJLsEGWaomqo2Cg2BQC7xJ1HmJA2bSidQmKVZJv7hbQxmwiabv51SN7yDfWdog" ], "script": "base64:BgJICAISAwoBCBIDCgEIEgMKAQgSBAoCCAESBQoDCAEBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIDCgEYEgMKARgSBAoCCAgSABIAXAAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UAGmtSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50Ah1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAba1Jld2FyZFBvb2xGcmFjdGlvblByZXZpb3VzAh5fcHJldmlvdXNfcG9vbF9mcmFjdGlvbl9yZXdhcmQAE2tIZWlnaHRQb29sRnJhY3Rpb24CGl9wb29sX3Jld2FyZF91cGRhdGVfaGVpZ2h0ABtrVG90YWxSZXdhcmRQZXJCbG9ja0N1cnJlbnQCHnRvdGFsX3Jld2FyZF9wZXJfYmx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blB1YktleTFTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQxhZG1pblB1YktleTEAAQAABBJhZG1pblB1YktleTJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQxhZG1pblB1YktleTIAAQAABBJhZG1pblB1YktleTNTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAALDqv+O", "height": 2299488, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EKVajJAbwH4pRqh9XaUM3ZPLBLRRae7u74azhkqcFAii Next: 7y5XY6KPk569UiDZiQ4XAKAL1s8YBBWxiCFLVWh3Rf8Y Diff:
OldNewDifferences
281281 let bt = (bp * (aW - bf))
282282 let bu = (bc + fraction(bg(ax, bt), bq, bo))
283283 let bv = (bd + (if ((bl > 0))
284- then fraction(bj(ax, bt), bq, bl)
284+ then fraction(bj(ax, bt), X, bl)
285285 else 0))
286286 let bw = (bm + (if (if ((bl > 0))
287287 then (bo > 0)
288288 else false)
289- then fraction(bj(ax, bt), bq, bl)
289+ then fraction(fraction(bj(ax, bt), X, bo), X, bl)
290290 else 0))
291- let bs = (bn * (height - aW))
292- $Tuple4(bs, bu, bv, bw)
291+ let bx = (bn * (height - aW))
292+ $Tuple4(bx, bu, bv, bw)
293293 }
294- let bx = br._1
295- let by = br._2
296- let bz = br._3
297- let bA = br._4
298- let bB = (by + fraction(bg(ax, bx), bq, bo))
299- let bC = (bz + (if ((bl > 0))
300- then fraction(bj(ax, bx), X, bl)
294+ let by = br._1
295+ let bz = br._2
296+ let bA = br._3
297+ let bB = br._4
298+ let bC = (bz + fraction(bg(ax, by), bq, bo))
299+ let bD = (bA + (if ((bl > 0))
300+ then fraction(bj(ax, by), X, bl)
301301 else 0))
302- let bD = (bA + (if (if ((bl > 0))
302+ let bE = (bB + (if (if ((bl > 0))
303303 then (bo > 0)
304304 else false)
305- then fraction(fraction(bj(ax, bx), X, bo), X, bl)
305+ then fraction(fraction(bj(ax, by), X, bo), X, bl)
306306 else 0))
307- $Tuple3(bB, bC, bD)
307+ $Tuple3(bC, bD, bE)
308308 }
309309
310310
311-func bE (ax,aC) = {
311+func bF (ax,aC) = {
312312 let bq = aL(av, aD(ax))
313313 let bl = aA(ax)
314- let bF = aB(ax, aC)
315- let bG = az(ax)
316- let bH = valueOrElse(getInteger(this, (ax + p)), bG)
317- let bI = bb(ax)
318- let bf = bI._1
319- let bc = bI._2
320- let bd = bI._3
321- let be = bI._4
322- let bJ = aS(ax)
323- let bn = bJ._1
324- let aW = bJ._2
325- let bp = bJ._3
326- let aX = bJ._4
327- let bK = valueOrElse(getInteger(this, (((ax + "_") + aC) + u)), bc)
328- let bL = valueOrElse(getInteger(this, (((ax + "_") + aC) + w)), bd)
329- let bM = valueOrElse(getInteger(this, (((ax + "_") + aC) + y)), be)
330- let bN = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
331- let bO = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), bN)
332- let bP = bk(ax, bf, aW, aX, bc, bd, bl, be, bn, bH, bp, bq)
333- let bB = bP._1
334- let bC = bP._2
335- let bD = bP._3
336- let bQ = fraction(bO, (bB - bK), bq)
337- let bR = fraction(bF, (bC - bL), X)
338- let bS = fraction(toBigInt(bO), toBigInt(bF), toBigInt(1))
339- let bT = toInt(fraction(fraction(bS, toBigInt((bD - bM)), toBigInt(X)), toBigInt(1), toBigInt(X)))
340- let bU = (bR - bT)
341- if ((0 > bU))
314+ let bG = aB(ax, aC)
315+ let bH = az(ax)
316+ let bI = valueOrElse(getInteger(this, (ax + p)), bH)
317+ let bJ = bb(ax)
318+ let bf = bJ._1
319+ let bc = bJ._2
320+ let bd = bJ._3
321+ let be = bJ._4
322+ let bK = aS(ax)
323+ let bn = bK._1
324+ let aW = bK._2
325+ let bp = bK._3
326+ let aX = bK._4
327+ let bL = valueOrElse(getInteger(this, (((ax + "_") + aC) + u)), bc)
328+ let bM = valueOrElse(getInteger(this, (((ax + "_") + aC) + w)), bd)
329+ let bN = valueOrElse(getInteger(this, (((ax + "_") + aC) + y)), be)
330+ let bO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
331+ let bP = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), bO)
332+ let bQ = bk(ax, bf, aW, aX, bc, bd, bl, be, bn, bI, bp, bq)
333+ let bC = bQ._1
334+ let bD = bQ._2
335+ let bE = bQ._3
336+ let bR = fraction(bP, (bC - bL), bq)
337+ let bS = fraction(bG, (bD - bM), X)
338+ let bT = fraction(toBigInt(bP), toBigInt(bG), toBigInt(1))
339+ let bU = toInt(fraction(fraction(bT, toBigInt((bE - bN)), toBigInt(X)), toBigInt(1), toBigInt(X)))
340+ let bV = (bS - bU)
341+ if ((0 > bV))
342342 then throw("toTreasury < 0")
343- else $Tuple5(bB, bC, bD, (bQ + bT), bU)
343+ else $Tuple5(bC, bD, bE, (bR + bU), bV)
344344 }
345345
346346
347-func bV (bW,aC) = {
348- func bX (bY,ax) = {
349- let bZ = bY
350- let ca = bZ._1
351- let cb = bZ._2
352- let cc = bE(ax, aC)
353- let cd = cc._1
354- let ce = cc._2
355- let cf = cc._3
356- let cg = cc._4
357- let ch = cc._5
358- let ci = (aR(ax, aC) + cg)
359- $Tuple2((ca :+ aC), (cb :+ ci))
347+func bW (bX,aC) = {
348+ func bY (bZ,ax) = {
349+ let ca = bZ
350+ let cb = ca._1
351+ let cc = ca._2
352+ let cd = bF(ax, aC)
353+ let ce = cd._1
354+ let cf = cd._2
355+ let cg = cd._3
356+ let ch = cd._4
357+ let ci = cd._5
358+ let cj = (aR(ax, aC) + ch)
359+ $Tuple2((cb :+ aC), (cc :+ cj))
360360 }
361361
362- let cj = bW
363- let ck = size(cj)
364- let cl = $Tuple2(nil, nil)
365- func cm (cn,co) = if ((co >= ck))
366- then cn
367- else bX(cn, cj[co])
362+ let ck = bX
363+ let cl = size(ck)
364+ let cm = $Tuple2(nil, nil)
365+ func cn (co,cp) = if ((cp >= cl))
366+ then co
367+ else bY(co, ck[cp])
368368
369- func cp (cn,co) = if ((co >= ck))
370- then cn
369+ func cq (co,cp) = if ((cp >= cl))
370+ then co
371371 else throw("List size exceeds 60")
372372
373- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
373+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
374374 }
375375
376376
377-func cq (ax,aC,cr,cs,ct) = if ((aw(ax) > height))
377+func cr (ax,aC,cs,ct,cu) = if ((aw(ax) > height))
378378 then {
379- let cu = valueOrElse(getInteger(aj, (ax + D)), 0)
380- let cv = valueOrElse(getInteger(aj, (((aC + "_") + ax) + D)), 0)
381- let cw = ay(addressFromStringValue(ax))
382- let cx = (fraction(cw, cv, cu) - cr)
383- if ((ct > 0))
379+ let cv = valueOrElse(getInteger(aj, (ax + D)), 0)
380+ let cw = valueOrElse(getInteger(aj, (((aC + "_") + ax) + D)), 0)
381+ let cx = ay(addressFromStringValue(ax))
382+ let cy = (fraction(cx, cw, cv) - cs)
383+ if ((cu > 0))
384384 then throw("You can't lock shareTokens till first harvest end.")
385- else if ((cv == 0))
385+ else if ((cw == 0))
386386 then 0
387- else if ((cs >= cx))
388- then (cs - cx)
387+ else if ((ct >= cy))
388+ then (ct - cy)
389389 else 0
390390 }
391391 else 0
392392
393393
394-func cy (cz) = {
395- let cA = split(valueOrErrorMessage(getString(this, (toString(cz) + q)), ("There are no key for lock type" + toString(cz))), "_")
396- $Tuple2(parseIntValue(cA[0]), parseIntValue(cA[1]))
394+func cz (cA) = {
395+ let cB = split(valueOrErrorMessage(getString(this, (toString(cA) + q)), ("There are no key for lock type" + toString(cA))), "_")
396+ $Tuple2(parseIntValue(cB[0]), parseIntValue(cB[1]))
397397 }
398398
399399
400-func cB (cC) = [BooleanEntry(a, false), StringEntry(c, cC)]
400+func cC (cD) = [BooleanEntry(a, false), StringEntry(c, cD)]
401401
402402
403-func cD () = if (if (as)
403+func cE () = if (if (as)
404404 then at
405405 else false)
406406 then unit
407407 else throw("DApp is inactive at this moment")
408408
409409
410-func cE (cF) = if (containsElement([af, ag, ah], cF.callerPublicKey))
410+func cF (cG) = if (containsElement([af, ag, ah], cG.callerPublicKey))
411411 then unit
412412 else throw("Only admin can call this function")
413413
414414
415-@Callable(cF)
416-func init (cG) = if (isDefined(getString(this, A)))
415+@Callable(cG)
416+func init (cH) = if (isDefined(getString(this, A)))
417417 then throw("SWOP already initialized")
418418 else {
419- let cH = 100000000000000
420- let cI = Issue("SWOP", "SWOP protocol token", cH, 8, true)
421- let cJ = calculateAssetId(cI)
422-[BooleanEntry(a, true), Issue("SWOP", "SWOP protocol token", cH, 8, true), StringEntry(A, toBase58String(cJ))]
419+ let cI = 100000000000000
420+ let cJ = Issue("SWOP", "SWOP protocol token", cI, 8, true)
421+ let cK = calculateAssetId(cJ)
422+[BooleanEntry(a, true), Issue("SWOP", "SWOP protocol token", cI, 8, true), StringEntry(A, toBase58String(cK))]
423423 }
424424
425425
426426
427-@Callable(cF)
428-func initPoolShareFarming (ax) = valueOrElse(cE(cF), [IntegerEntry((ax + o), 0), IntegerEntry((ax + t), 0), IntegerEntry((ax + v), 0), IntegerEntry((ax + x), 0), IntegerEntry((ax + z), height)])
427+@Callable(cG)
428+func initPoolShareFarming (ax) = valueOrElse(cF(cG), [IntegerEntry((ax + o), 0), IntegerEntry((ax + t), 0), IntegerEntry((ax + v), 0), IntegerEntry((ax + x), 0), IntegerEntry((ax + z), height)])
429429
430430
431431
432-@Callable(cF)
433-func updatePoolInterest (ax) = valueOrElse(cD(), if ((cF.caller != ak))
432+@Callable(cG)
433+func updatePoolInterest (ax) = valueOrElse(cE(), if ((cG.caller != ak))
434434 then throw("Only Governance can call this function")
435435 else {
436436 let aC = toString(addressFromPublicKey(al))
437- let cK = bE(ax, aC)
438- let bc = cK._1
439- let bd = cK._2
440- let cL = cK._3
441-[IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height)]
437+ let cL = bF(ax, aC)
438+ let bc = cL._1
439+ let bd = cL._2
440+ let cM = cL._3
441+[IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height)]
442442 })
443443
444444
445445
446-@Callable(cF)
447-func lockShareTokens (ax,ct) = valueOrElse(cD(), {
448- let cM = aD(ax)
449- let aC = toString(cF.originCaller)
450- let cN = az(ax)
451- let bH = valueOrElse(getInteger(this, (ax + p)), cN)
452- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
453- let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
454- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
455- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
456- let cS = ((cO + cQ) + cF.payments[0].amount)
457- let cT = cy(ct)
458- let cU = cT._1
459- let cV = cT._2
460- let cW = getIntegerValue(this, r)
461- if ((cF.payments[0].assetId != cM))
446+@Callable(cG)
447+func lockShareTokens (ax,cu) = valueOrElse(cE(), {
448+ let cN = aD(ax)
449+ let aC = toString(cG.originCaller)
450+ let cO = az(ax)
451+ let bI = valueOrElse(getInteger(this, (ax + p)), cO)
452+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
453+ let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
454+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
455+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
456+ let cT = ((cP + cR) + cG.payments[0].amount)
457+ let cU = cz(cu)
458+ let cV = cU._1
459+ let cW = cU._2
460+ let cX = getIntegerValue(this, r)
461+ if ((cG.payments[0].assetId != cN))
462462 then throw("Wrong sharetoken in payment")
463- else if ((0 >= cF.payments[0].amount))
463+ else if ((0 >= cG.payments[0].amount))
464464 then throw("Payment amount must be greater than 0")
465- else if ((0 > ct))
465+ else if ((0 > cu))
466466 then throw("lockType must be >= 0")
467467 else {
468- let cX = cq(ax, aC, cO, cF.payments[0].amount, ct)
469- if ((cX == cX))
468+ let cY = cr(ax, aC, cP, cG.payments[0].amount, cu)
469+ if ((cY == cY))
470470 then {
471- let cY = if ((ct == 0))
471+ let cZ = if ((cu == 0))
472472 then {
473- let cZ = ((cR + cF.payments[0].amount) - cX)
474- $Tuple2([IntegerEntry((((ax + "_") + aC) + j), ((cO + cF.payments[0].amount) - cX)), IntegerEntry((ax + p), ((bH + cF.payments[0].amount) - cX)), ScriptTransfer(cF.originCaller, cX, cF.payments[0].assetId)], ((cN + cF.payments[0].amount) - cX))
473+ let da = ((cS + cG.payments[0].amount) - cY)
474+ $Tuple2([IntegerEntry((((ax + "_") + aC) + j), ((cP + cG.payments[0].amount) - cY)), IntegerEntry((ax + p), ((bI + cG.payments[0].amount) - cY)), ScriptTransfer(cG.originCaller, cY, cG.payments[0].assetId)], ((cO + cG.payments[0].amount) - cY))
475475 }
476- else if (if ((cP == 0))
477- then if (if ((2 > size(cF.payments)))
476+ else if (if ((cQ == 0))
477+ then if (if ((2 > size(cG.payments)))
478478 then true
479- else (cF.payments[1].assetId != unit))
479+ else (cG.payments[1].assetId != unit))
480480 then true
481- else (cW > cF.payments[1].amount)
481+ else (cX > cG.payments[1].amount)
482482 else false)
483- then throw((("You need to pay additional waves comission " + toString(cW)) + "WAVES"))
484- else if ((cP > (height + cU)))
483+ then throw((("You need to pay additional waves comission " + toString(cX)) + "WAVES"))
484+ else if ((cQ > (height + cV)))
485485 then throw("You cannot lock sharetokens for a period less than what you have already locked")
486486 else {
487- let da = (cQ + cF.payments[0].amount)
488- let db = (height + cU)
489- let cZ = (fraction(da, cV, Y) + cO)
490- $Tuple2([IntegerEntry((((ax + "_") + aC) + k), da), IntegerEntry((((ax + "_") + aC) + m), db), IntegerEntry((((ax + "_") + aC) + l), ct), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + p), ((bH - cR) + cZ))], (cN + cF.payments[0].amount))
487+ let db = (cR + cG.payments[0].amount)
488+ let dc = (height + cV)
489+ let da = (fraction(db, cW, Y) + cP)
490+ $Tuple2([IntegerEntry((((ax + "_") + aC) + k), db), IntegerEntry((((ax + "_") + aC) + m), dc), IntegerEntry((((ax + "_") + aC) + l), cu), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + p), ((bI - cS) + da))], (cO + cG.payments[0].amount))
491491 }
492- let dc = cY._1
493- let dd = cY._2
494- if ((aE(cM) > dd))
492+ let dd = cZ._1
493+ let de = cZ._2
494+ if ((aE(cN) > de))
495495 then throw("Balance of share-token is lower than totalAmount")
496496 else {
497- let de = bE(ax, aC)
498- let bc = de._1
499- let bd = de._2
500- let cL = de._3
501- let cg = de._4
502- let df = de._5
503- let dg = (aR(ax, aC) + cg)
504- let dh = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
505- then invoke(am, "updateUserInterest", [ax, cS], nil)
497+ let df = bF(ax, aC)
498+ let bc = df._1
499+ let bd = df._2
500+ let cM = df._3
501+ let ch = df._4
502+ let dg = df._5
503+ let dh = (aR(ax, aC) + ch)
504+ let di = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
505+ then invoke(am, "updateUserInterest", [ax, cT], nil)
506506 else 0
507- if ((dh == dh))
508- then ([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((ax + o), dd), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)] ++ dc)
507+ if ((di == di))
508+ then ([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((ax + o), de), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)] ++ dd)
509509 else throw("Strict value is not equal to itself.")
510510 }
511511 }
515515
516516
517517
518-@Callable(cF)
519-func lockStakedShareTokens (ax,ct,di) = valueOrElse(cD(), {
520- let cM = aD(ax)
521- let aC = toString(cF.originCaller)
522- let cN = az(ax)
523- let bH = valueOrElse(getInteger(this, (ax + p)), cN)
524- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
525- let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
526- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
527- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
528- let cS = (cO + cQ)
529- let dj = cy(ct)
530- let cU = dj._1
531- let cV = dj._2
532- let cW = getIntegerValue(this, r)
518+@Callable(cG)
519+func lockStakedShareTokens (ax,cu,dj) = valueOrElse(cE(), {
520+ let cN = aD(ax)
521+ let aC = toString(cG.originCaller)
522+ let cO = az(ax)
523+ let bI = valueOrElse(getInteger(this, (ax + p)), cO)
524+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
525+ let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
526+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
527+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
528+ let cT = (cP + cR)
529+ let dk = cz(cu)
530+ let cV = dk._1
531+ let cW = dk._2
532+ let cX = getIntegerValue(this, r)
533533 if ((aw(ax) > height))
534534 then throw("You can't lock shareTokens till first harvest end.")
535- else if ((0 >= ct))
535+ else if ((0 >= cu))
536536 then throw("lockType must be > 0")
537- else if ((di > cO))
538- then throw(("You can't lock more than " + toString(cO)))
539- else if ((aE(cM) > cN))
537+ else if ((dj > cP))
538+ then throw(("You can't lock more than " + toString(cP)))
539+ else if ((aE(cN) > cO))
540540 then throw("Balance of share-token is lower than totalAmount")
541- else if (if ((cP == 0))
542- then if (if ((1 > size(cF.payments)))
541+ else if (if ((cQ == 0))
542+ then if (if ((1 > size(cG.payments)))
543543 then true
544- else (cF.payments[0].assetId != unit))
544+ else (cG.payments[0].assetId != unit))
545545 then true
546- else (cW > cF.payments[0].amount)
546+ else (cX > cG.payments[0].amount)
547547 else false)
548- then throw((("You need to pay additional waves comission " + toString(cW)) + "WAVES"))
549- else if (if ((cP == 0))
550- then (0 >= di)
548+ then throw((("You need to pay additional waves comission " + toString(cX)) + "WAVES"))
549+ else if (if ((cQ == 0))
550+ then (0 >= dj)
551551 else false)
552552 then throw("lockAmount must be greater than 0")
553- else if ((0 > di))
553+ else if ((0 > dj))
554554 then throw("lockAmount must be positive")
555- else if ((cP > (height + cU)))
555+ else if ((cQ > (height + cV)))
556556 then throw("You cannot lock sharetokens for a period less than what you have already locked")
557557 else {
558- let da = (cQ + di)
559- let dk = (cO - di)
560- let db = (height + cU)
561- let cZ = (fraction(da, cV, Y) + cO)
562- let dl = bE(ax, aC)
563- let bc = dl._1
564- let bd = dl._2
565- let cL = dl._3
566- let cg = dl._4
567- let df = dl._5
568- let dg = (aR(ax, aC) + cg)
569-[IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + k), da), IntegerEntry((((ax + "_") + aC) + m), db), IntegerEntry((((ax + "_") + aC) + l), ct), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + p), ((bH - cR) + cZ)), IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)]
558+ let db = (cR + dj)
559+ let dl = (cP - dj)
560+ let dc = (height + cV)
561+ let da = (fraction(db, cW, Y) + cP)
562+ let dm = bF(ax, aC)
563+ let bc = dm._1
564+ let bd = dm._2
565+ let cM = dm._3
566+ let ch = dm._4
567+ let dg = dm._5
568+ let dh = (aR(ax, aC) + ch)
569+[IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + k), db), IntegerEntry((((ax + "_") + aC) + m), dc), IntegerEntry((((ax + "_") + aC) + l), cu), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + p), ((bI - cS) + da)), IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)]
570570 }
571571 })
572572
573573
574574
575-@Callable(cF)
576-func unlockUserLock (ax,aC) = valueOrElse(cD(), {
577- let cW = getIntegerValue(this, r)
578- let cP = valueOrErrorMessage(getInteger(this, (((ax + "_") + aC) + m)), (((("There is no pool " + ax) + " or user ") + aC) + "with lock"))
579- let bH = getIntegerValue(this, (ax + p))
580- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
581- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
582- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
583- if ((cP > height))
584- then throw(("You can't unlock sharetokens till " + toString(cP)))
575+@Callable(cG)
576+func unlockUserLock (ax,aC) = valueOrElse(cE(), {
577+ let cX = getIntegerValue(this, r)
578+ let cQ = valueOrErrorMessage(getInteger(this, (((ax + "_") + aC) + m)), (((("There is no pool " + ax) + " or user ") + aC) + "with lock"))
579+ let bI = getIntegerValue(this, (ax + p))
580+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
581+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
582+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
583+ if ((cQ > height))
584+ then throw(("You can't unlock sharetokens till " + toString(cQ)))
585585 else {
586- let dk = (cO + cQ)
587- let dm = bE(ax, aC)
588- let bc = dm._1
589- let bd = dm._2
590- let cL = dm._3
591- let cg = dm._4
592- let df = dm._5
593- let dg = (aR(ax, aC) + cg)
594-[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + n), dk), IntegerEntry((ax + p), ((bH - cR) + dk)), DeleteEntry((((ax + "_") + aC) + k)), DeleteEntry((((ax + "_") + aC) + m)), DeleteEntry((((ax + "_") + aC) + l)), Reissue(av, df, true), ScriptTransfer(an, df, av), ScriptTransfer(cF.caller, cW, unit)]
586+ let dl = (cP + cR)
587+ let dn = bF(ax, aC)
588+ let bc = dn._1
589+ let bd = dn._2
590+ let cM = dn._3
591+ let ch = dn._4
592+ let dg = dn._5
593+ let dh = (aR(ax, aC) + ch)
594+[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + n), dl), IntegerEntry((ax + p), ((bI - cS) + dl)), DeleteEntry((((ax + "_") + aC) + k)), DeleteEntry((((ax + "_") + aC) + m)), DeleteEntry((((ax + "_") + aC) + l)), Reissue(av, dg, true), ScriptTransfer(an, dg, av), ScriptTransfer(cG.caller, cX, unit)]
595595 }
596596 })
597597
598598
599599
600-@Callable(cF)
601-func withdrawShareTokens (ax,dn) = valueOrElse(cD(), {
602- let do = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
603- let aC = toString(cF.originCaller)
604- let dp = bE(ax, aC)
605- let bc = dp._1
606- let bd = dp._2
607- let cL = dp._3
608- let cg = dp._4
609- let df = dp._5
610- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
611- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
612- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
613- let dk = (cO - dn)
614- let dg = (aR(ax, aC) + cg)
615- let dq = az(ax)
616- let bH = valueOrElse(getInteger(this, (ax + p)), dq)
617- let dr = (dq - dn)
618- let ds = (bH - dn)
619- let cZ = (cR - dn)
620- if ((dn > cO))
600+@Callable(cG)
601+func withdrawShareTokens (ax,do) = valueOrElse(cE(), {
602+ let dp = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
603+ let aC = toString(cG.originCaller)
604+ let dq = bF(ax, aC)
605+ let bc = dq._1
606+ let bd = dq._2
607+ let cM = dq._3
608+ let ch = dq._4
609+ let dg = dq._5
610+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
611+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
612+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
613+ let dl = (cP - do)
614+ let dh = (aR(ax, aC) + ch)
615+ let dr = az(ax)
616+ let bI = valueOrElse(getInteger(this, (ax + p)), dr)
617+ let ds = (dr - do)
618+ let dt = (bI - do)
619+ let da = (cS - do)
620+ if ((do > cP))
621621 then throw("Withdraw amount more then user locked amount")
622- else if ((aE(do) > dq))
622+ else if ((aE(dp) > dr))
623623 then throw("Balance of share-token is lower than totalAmount")
624624 else {
625- let dh = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
626- then invoke(am, "updateUserInterest", [ax, (cO + cQ)], nil)
625+ let di = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
626+ then invoke(am, "updateUserInterest", [ax, (cP + cR)], nil)
627627 else 0
628- if ((dh == dh))
629- then [IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + o), dr), IntegerEntry((ax + p), ds), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av), ScriptTransfer(cF.caller, dn, do)]
628+ if ((di == di))
629+ then [IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + o), ds), IntegerEntry((ax + p), dt), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av), ScriptTransfer(cG.caller, do, dp)]
630630 else throw("Strict value is not equal to itself.")
631631 }
632632 })
633633
634634
635635
636-@Callable(cF)
637-func claim (ax) = valueOrElse(cD(), {
638- let do = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
639- let aC = toString(cF.originCaller)
636+@Callable(cG)
637+func claim (ax) = valueOrElse(cE(), {
638+ let dp = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
639+ let aC = toString(cG.originCaller)
640640 let bo = az(ax)
641- let dt = bE(ax, aC)
642- let bc = dt._1
643- let bd = dt._2
644- let cL = dt._3
645- let cg = dt._4
646- let df = dt._5
647- let ci = (aR(ax, aC) + cg)
648- if ((ci == 0))
641+ let du = bF(ax, aC)
642+ let bc = du._1
643+ let bd = du._2
644+ let cM = du._3
645+ let ch = du._4
646+ let dg = du._5
647+ let cj = (aR(ax, aC) + ch)
648+ if ((cj == 0))
649649 then throw("You have 0 available SWOP")
650- else if ((aE(do) > bo))
650+ else if ((aE(dp) > bo))
651651 then throw("Balance of share-token is lower than totalAmount")
652652 else {
653- let du = if ((cF.caller != this))
654- then [ScriptTransfer(cF.caller, ci, av)]
653+ let dv = if ((cG.caller != this))
654+ then [ScriptTransfer(cG.caller, cj, av)]
655655 else nil
656- $Tuple2(([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), 0), Reissue(av, (df + ci), true), ScriptTransfer(an, df, av)] ++ du), ci)
656+ $Tuple2(([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), 0), Reissue(av, (dg + cj), true), ScriptTransfer(an, dg, av)] ++ dv), cj)
657657 }
658658 })
659659
660660
661661
662-@Callable(cF)
663-func claimAndStake (ax) = valueOrElse(cD(), {
664- let cg = {
665- let dv = invoke(this, "claim", [ax], nil)
666- if ($isInstanceOf(dv, "Int"))
667- then dv
668- else throw(($getType(dv) + " couldn't be cast to Int"))
662+@Callable(cG)
663+func claimAndStake (ax) = valueOrElse(cE(), {
664+ let ch = {
665+ let dw = invoke(this, "claim", [ax], nil)
666+ if ($isInstanceOf(dw, "Int"))
667+ then dw
668+ else throw(($getType(dw) + " couldn't be cast to Int"))
669669 }
670- if ((cg == cg))
670+ if ((ch == ch))
671671 then {
672- let dw = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, cg)])
673- if ((dw == dw))
672+ let dx = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, ch)])
673+ if ((dx == dx))
674674 then nil
675675 else throw("Strict value is not equal to itself.")
676676 }
679679
680680
681681
682-@Callable(cF)
683-func claimAll (bW) = valueOrElse(cD(), {
684- func dx (dy,ax) = {
685- let cg = {
686- let dv = invoke(this, "claim", [ax], nil)
687- if ($isInstanceOf(dv, "Int"))
688- then dv
689- else throw(($getType(dv) + " couldn't be cast to Int"))
682+@Callable(cG)
683+func claimAll (bX) = valueOrElse(cE(), {
684+ func dy (dz,ax) = {
685+ let ch = {
686+ let dw = invoke(this, "claim", [ax], nil)
687+ if ($isInstanceOf(dw, "Int"))
688+ then dw
689+ else throw(($getType(dw) + " couldn't be cast to Int"))
690690 }
691- if ((cg == cg))
692- then (dy + cg)
691+ if ((ch == ch))
692+ then (dz + ch)
693693 else throw("Strict value is not equal to itself.")
694694 }
695695
696- let dy = {
697- let cj = bW
698- let ck = size(cj)
699- let cl = 0
700- func cm (cn,co) = if ((co >= ck))
701- then cn
702- else dx(cn, cj[co])
696+ let dz = {
697+ let ck = bX
698+ let cl = size(ck)
699+ let cm = 0
700+ func cn (co,cp) = if ((cp >= cl))
701+ then co
702+ else dy(co, ck[cp])
703703
704- func cp (cn,co) = if ((co >= ck))
705- then cn
704+ func cq (co,cp) = if ((cp >= cl))
705+ then co
706706 else throw("List size exceeds 60")
707707
708- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
708+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
709709 }
710- if ((dy == 0))
710+ if ((dz == 0))
711711 then throw("You have 0 available SWOP")
712- else [ScriptTransfer(cF.caller, dy, av)]
712+ else [ScriptTransfer(cG.caller, dz, av)]
713713 })
714714
715715
716716
717-@Callable(cF)
718-func claimAllAndStake (bW) = valueOrElse(cD(), {
719- func dx (dy,ax) = {
720- let cg = {
721- let dv = invoke(this, "claim", [ax], nil)
722- if ($isInstanceOf(dv, "Int"))
723- then dv
724- else throw(($getType(dv) + " couldn't be cast to Int"))
717+@Callable(cG)
718+func claimAllAndStake (bX) = valueOrElse(cE(), {
719+ func dy (dz,ax) = {
720+ let ch = {
721+ let dw = invoke(this, "claim", [ax], nil)
722+ if ($isInstanceOf(dw, "Int"))
723+ then dw
724+ else throw(($getType(dw) + " couldn't be cast to Int"))
725725 }
726- if ((cg == cg))
727- then (dy + cg)
726+ if ((ch == ch))
727+ then (dz + ch)
728728 else throw("Strict value is not equal to itself.")
729729 }
730730
731- let dy = {
732- let cj = bW
733- let ck = size(cj)
734- let cl = 0
735- func cm (cn,co) = if ((co >= ck))
736- then cn
737- else dx(cn, cj[co])
731+ let dz = {
732+ let ck = bX
733+ let cl = size(ck)
734+ let cm = 0
735+ func cn (co,cp) = if ((cp >= cl))
736+ then co
737+ else dy(co, ck[cp])
738738
739- func cp (cn,co) = if ((co >= ck))
740- then cn
739+ func cq (co,cp) = if ((cp >= cl))
740+ then co
741741 else throw("List size exceeds 60")
742742
743- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
743+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
744744 }
745- if ((dy == 0))
745+ if ((dz == 0))
746746 then throw("You have 0 available SWOP")
747747 else {
748- let dw = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, dy)])
749- if ((dw == dw))
748+ let dx = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, dz)])
749+ if ((dx == dx))
750750 then nil
751751 else throw("Strict value is not equal to itself.")
752752 }
754754
755755
756756
757-@Callable(cF)
758-func updateUserBoostInterest (ax,aC) = valueOrElse(cD(), if ((cF.caller != aj))
757+@Callable(cG)
758+func updateUserBoostInterest (ax,aC) = valueOrElse(cE(), if ((cG.caller != aj))
759759 then throw("Only voiting can call this function")
760760 else {
761- let dz = bE(ax, aC)
762- let bc = dz._1
763- let bd = dz._2
764- let cL = dz._3
765- let cg = dz._4
766- let df = dz._5
767- let dg = (aR(ax, aC) + cg)
768-[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)]
761+ let dA = bF(ax, aC)
762+ let bc = dA._1
763+ let bd = dA._2
764+ let cM = dA._3
765+ let ch = dA._4
766+ let dg = dA._5
767+ let dh = (aR(ax, aC) + ch)
768+[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)]
769769 })
770770
771771
772772
773-@Callable(cF)
774-func shutdown () = valueOrElse(cE(cF), if (!(as))
773+@Callable(cG)
774+func shutdown () = valueOrElse(cF(cG), if (!(as))
775775 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, c), "the cause wasn't specified")))
776- else cB("Paused by admin"))
776+ else cC("Paused by admin"))
777777
778778
779779
780-@Callable(cF)
781-func activate () = valueOrElse(cE(cF), if (as)
780+@Callable(cG)
781+func activate () = valueOrElse(cF(cG), if (as)
782782 then throw("DApp is already active")
783783 else [BooleanEntry(a, true), DeleteEntry(c)])
784784
785785
786-@Verifier(dA)
787-func dB () = {
788- let ac = dA
789- let dC = if (sigVerify(dA.bodyBytes, dA.proofs[0], af))
786+@Verifier(dB)
787+func dC () = {
788+ let ac = dB
789+ let dD = if (sigVerify(dB.bodyBytes, dB.proofs[0], af))
790790 then 1
791791 else 0
792- let dD = if (sigVerify(dA.bodyBytes, dA.proofs[1], ag))
792+ let dE = if (sigVerify(dB.bodyBytes, dB.proofs[1], ag))
793793 then 1
794794 else 0
795- let dE = if (sigVerify(dA.bodyBytes, dA.proofs[2], ah))
795+ let dF = if (sigVerify(dB.bodyBytes, dB.proofs[2], ah))
796796 then 1
797797 else 0
798- (((dC + dD) + dE) >= 2)
798+ (((dD + dE) + dF) >= 2)
799799 }
800800
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "active"
55
66 let b = "active_all_contracts"
77
88 let c = "shutdown_cause"
99
1010 let d = "_current_pool_fraction_reward"
1111
1212 let e = "_previous_pool_fraction_reward"
1313
1414 let f = "_pool_reward_update_height"
1515
1616 let g = "total_reward_per_block_current"
1717
1818 let h = "total_reward_per_block_previous"
1919
2020 let i = "reward_update_height"
2121
2222 let j = "_share_tokens_locked"
2323
2424 let k = "_share_tokens_blocked"
2525
2626 let l = "_share_tokens_blocked_type"
2727
2828 let m = "_share_tokens_blocked_height"
2929
3030 let n = "_share_tokens_virtual"
3131
3232 let o = "_total_share_tokens_locked"
3333
3434 let p = "_total_share_tokens_virtual"
3535
3636 let q = "_lock_params"
3737
3838 let r = "lock_waves_fee"
3939
4040 let s = "_boost_coef"
4141
4242 let t = "_last_interest"
4343
4444 let u = "_last_interest"
4545
4646 let v = "_last_interest_b"
4747
4848 let w = "_last_interest_u_b"
4949
5050 let x = "_last_interest_lpb"
5151
5252 let y = "_last_interest_u_lpb"
5353
5454 let z = "_last_interest_height"
5555
5656 let A = "SWOP_id"
5757
5858 let B = "_available_SWOP"
5959
6060 let C = "swop_year_emission"
6161
6262 let D = "_harvest_pool_vote_gSWOP"
6363
6464 let E = "_pool_vote_gSWOP"
6565
6666 let F = "_user_vote_gSWOP"
6767
6868 let G = "_harvest_user_pool_vote_gSWOP"
6969
7070 let H = "base_period"
7171
7272 let I = "period_length"
7373
7474 let J = "start_height"
7575
7676 let K = "first_harvest_height"
7777
7878 let L = "share_limit_on_first_harvest"
7979
8080 let M = "admin_pub_1"
8181
8282 let N = "admin_pub_2"
8383
8484 let O = "admin_pub_3"
8585
8686 let P = "admin_invoke_pub"
8787
8888 let Q = "money_box_address"
8989
9090 let R = "voting_address"
9191
9292 let S = "governance_address"
9393
9494 let T = "lp_farming"
9595
9696 let U = "farming_treasure"
9797
9898 let V = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
9999
100100 let W = 10000000000
101101
102102 let X = 100000000
103103
104104 let Y = 1000
105105
106106 let Z = 500
107107
108108 func aa (ab) = {
109109 let ac = getString(V, ab)
110110 if ($isInstanceOf(ac, "String"))
111111 then {
112112 let ad = ac
113113 fromBase58String(ad)
114114 }
115115 else {
116116 let ae = ac
117117 throw((ab + "is empty"))
118118 }
119119 }
120120
121121
122122 let af = aa(M)
123123
124124 let ag = aa(N)
125125
126126 let ah = aa(O)
127127
128128 let ai = Address(aa(Q))
129129
130130 let aj = Address(aa(R))
131131
132132 let ak = Address(aa(S))
133133
134134 let al = aa(P)
135135
136136 let am = Address(aa(T))
137137
138138 let an = Address(aa(U))
139139
140140 let ao = valueOrErrorMessage(getInteger(aj, H), "Empty kBasePeriod")
141141
142142 let ap = valueOrErrorMessage(getInteger(aj, J), "Empty kStartHeight")
143143
144144 let aq = valueOrErrorMessage(getInteger(aj, I), "Empty kPeriodLength")
145145
146146 let ar = (ao + ((height - ap) / aq))
147147
148148 let as = getBooleanValue(this, a)
149149
150150 let at = valueOrElse(getBoolean(V, b), true)
151151
152152 let au = getIntegerValue(this, C)
153153
154154 let av = fromBase58String(getStringValue(this, A))
155155
156156 func aw (ax) = valueOrElse(getInteger(Address(fromBase58String(ax)), K), 0)
157157
158158
159159 func ay (ax) = valueOrErrorMessage(getInteger(ax, L), ("No data on the key: " + L))
160160
161161
162162 func az (ax) = valueOrErrorMessage(getInteger(this, (ax + o)), (("No data on the key: " + ax) + o))
163163
164164
165165 func aA (ax) = valueOrElse(getInteger(aj, (ax + E)), 0)
166166
167167
168168 func aB (ax,aC) = valueOrElse(getInteger(aj, (((aC + "_") + ax) + F)), 0)
169169
170170
171171 func aD (ax) = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
172172
173173
174174 func aE (aF) = {
175175 let ac = aF
176176 if ($isInstanceOf(ac, "ByteVector"))
177177 then {
178178 let aG = ac
179179 assetBalance(this, aG)
180180 }
181181 else if ($isInstanceOf(ac, "Unit"))
182182 then {
183183 let aH = ac
184184 wavesBalance(this).available
185185 }
186186 else throw("Match error")
187187 }
188188
189189
190190 func aI (aF) = {
191191 let ac = aF
192192 if ($isInstanceOf(ac, "ByteVector"))
193193 then {
194194 let aG = ac
195195 let aJ = toBase58String(aG)
196196 let aK = valueOrErrorMessage(assetInfo(aG), (("Asset " + aJ) + " doesn't exist"))
197197 $Tuple3(aJ, aK.name, aK.decimals)
198198 }
199199 else if ($isInstanceOf(ac, "Unit"))
200200 then {
201201 let aH = ac
202202 $Tuple3("WAVES", "WAVES", 8)
203203 }
204204 else throw("Match error")
205205 }
206206
207207
208208 func aL (aM,aN) = {
209209 let aO = value(assetInfo(aM)).decimals
210210 let aP = value(assetInfo(aN)).decimals
211211 let aQ = ((aP - aO) + 8)
212212 pow(10, 0, aQ, 0, 0, DOWN)
213213 }
214214
215215
216216 func aR (ax,aC) = valueOrElse(getInteger(this, (((ax + "_") + aC) + B)), 0)
217217
218218
219219 func aS (ax) = {
220220 let aT = valueOrErrorMessage(getInteger(ak, g), ((("No data on the key: " + g) + " at address ") + toString(ak)))
221221 let aU = valueOrErrorMessage(getInteger(ak, h), ((("No data on the key: " + h) + " at address ") + toString(ak)))
222222 let aV = valueOrErrorMessage(getInteger(ak, (ax + d)), (((("No data on the key: " + ax) + d) + " at address ") + toString(ak)))
223223 let aW = valueOrErrorMessage(getInteger(ak, i), ((("No data on the key: " + i) + " at address ") + toString(ak)))
224224 let aX = valueOrElse(getInteger(ak, (ax + f)), aW)
225225 let aY = valueOrErrorMessage(getInteger(ak, (ax + e)), (((("No data on the key: " + ax) + e) + " at address ") + toString(ak)))
226226 let aZ = fraction(aT, aV, W)
227227 let ba = fraction(aT, aY, W)
228228 if (if ((aZ > aT))
229229 then true
230230 else (ba > aU))
231231 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
232232 else $Tuple4(aZ, aW, ba, aX)
233233 }
234234
235235
236236 func bb (ax) = {
237237 let bc = valueOrErrorMessage(getInteger(this, (ax + t)), (("No data on the key: " + ax) + t))
238238 let bd = valueOrErrorMessage(getInteger(this, (ax + v)), (("No data on the key: " + ax) + v))
239239 let be = valueOrErrorMessage(getInteger(this, (ax + x)), (("No data on the key: " + ax) + x))
240240 let bf = valueOrElse(getInteger(this, (ax + z)), height)
241241 $Tuple4(bf, bc, bd, be)
242242 }
243243
244244
245245 func bg (ax,bh) = {
246246 let bi = valueOrElse(getInteger(this, (ax + s)), Z)
247247 fraction(bh, Y, (bi + Y))
248248 }
249249
250250
251251 func bj (ax,bh) = {
252252 let bi = valueOrElse(getInteger(this, (ax + s)), Z)
253253 fraction(bh, bi, (bi + Y))
254254 }
255255
256256
257257 func bk (ax,bf,aW,aX,bc,bd,bl,bm,bn,bo,bp,bq) = if ((bo == 0))
258258 then $Tuple3(0, 0, 0)
259259 else {
260260 let br = if (if (if ((aW > height))
261261 then (aW == aX)
262262 else false)
263263 then true
264264 else if ((height > aW))
265265 then (aW != aX)
266266 else false)
267267 then {
268268 let bs = (bp * (height - bf))
269269 $Tuple4(bs, bc, bd, bm)
270270 }
271271 else if (if (if ((height > aW))
272272 then (aW == aX)
273273 else false)
274274 then (bf > aW)
275275 else false)
276276 then {
277277 let bs = (bn * (height - bf))
278278 $Tuple4(bs, bc, bd, bm)
279279 }
280280 else {
281281 let bt = (bp * (aW - bf))
282282 let bu = (bc + fraction(bg(ax, bt), bq, bo))
283283 let bv = (bd + (if ((bl > 0))
284- then fraction(bj(ax, bt), bq, bl)
284+ then fraction(bj(ax, bt), X, bl)
285285 else 0))
286286 let bw = (bm + (if (if ((bl > 0))
287287 then (bo > 0)
288288 else false)
289- then fraction(bj(ax, bt), bq, bl)
289+ then fraction(fraction(bj(ax, bt), X, bo), X, bl)
290290 else 0))
291- let bs = (bn * (height - aW))
292- $Tuple4(bs, bu, bv, bw)
291+ let bx = (bn * (height - aW))
292+ $Tuple4(bx, bu, bv, bw)
293293 }
294- let bx = br._1
295- let by = br._2
296- let bz = br._3
297- let bA = br._4
298- let bB = (by + fraction(bg(ax, bx), bq, bo))
299- let bC = (bz + (if ((bl > 0))
300- then fraction(bj(ax, bx), X, bl)
294+ let by = br._1
295+ let bz = br._2
296+ let bA = br._3
297+ let bB = br._4
298+ let bC = (bz + fraction(bg(ax, by), bq, bo))
299+ let bD = (bA + (if ((bl > 0))
300+ then fraction(bj(ax, by), X, bl)
301301 else 0))
302- let bD = (bA + (if (if ((bl > 0))
302+ let bE = (bB + (if (if ((bl > 0))
303303 then (bo > 0)
304304 else false)
305- then fraction(fraction(bj(ax, bx), X, bo), X, bl)
305+ then fraction(fraction(bj(ax, by), X, bo), X, bl)
306306 else 0))
307- $Tuple3(bB, bC, bD)
307+ $Tuple3(bC, bD, bE)
308308 }
309309
310310
311-func bE (ax,aC) = {
311+func bF (ax,aC) = {
312312 let bq = aL(av, aD(ax))
313313 let bl = aA(ax)
314- let bF = aB(ax, aC)
315- let bG = az(ax)
316- let bH = valueOrElse(getInteger(this, (ax + p)), bG)
317- let bI = bb(ax)
318- let bf = bI._1
319- let bc = bI._2
320- let bd = bI._3
321- let be = bI._4
322- let bJ = aS(ax)
323- let bn = bJ._1
324- let aW = bJ._2
325- let bp = bJ._3
326- let aX = bJ._4
327- let bK = valueOrElse(getInteger(this, (((ax + "_") + aC) + u)), bc)
328- let bL = valueOrElse(getInteger(this, (((ax + "_") + aC) + w)), bd)
329- let bM = valueOrElse(getInteger(this, (((ax + "_") + aC) + y)), be)
330- let bN = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
331- let bO = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), bN)
332- let bP = bk(ax, bf, aW, aX, bc, bd, bl, be, bn, bH, bp, bq)
333- let bB = bP._1
334- let bC = bP._2
335- let bD = bP._3
336- let bQ = fraction(bO, (bB - bK), bq)
337- let bR = fraction(bF, (bC - bL), X)
338- let bS = fraction(toBigInt(bO), toBigInt(bF), toBigInt(1))
339- let bT = toInt(fraction(fraction(bS, toBigInt((bD - bM)), toBigInt(X)), toBigInt(1), toBigInt(X)))
340- let bU = (bR - bT)
341- if ((0 > bU))
314+ let bG = aB(ax, aC)
315+ let bH = az(ax)
316+ let bI = valueOrElse(getInteger(this, (ax + p)), bH)
317+ let bJ = bb(ax)
318+ let bf = bJ._1
319+ let bc = bJ._2
320+ let bd = bJ._3
321+ let be = bJ._4
322+ let bK = aS(ax)
323+ let bn = bK._1
324+ let aW = bK._2
325+ let bp = bK._3
326+ let aX = bK._4
327+ let bL = valueOrElse(getInteger(this, (((ax + "_") + aC) + u)), bc)
328+ let bM = valueOrElse(getInteger(this, (((ax + "_") + aC) + w)), bd)
329+ let bN = valueOrElse(getInteger(this, (((ax + "_") + aC) + y)), be)
330+ let bO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
331+ let bP = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), bO)
332+ let bQ = bk(ax, bf, aW, aX, bc, bd, bl, be, bn, bI, bp, bq)
333+ let bC = bQ._1
334+ let bD = bQ._2
335+ let bE = bQ._3
336+ let bR = fraction(bP, (bC - bL), bq)
337+ let bS = fraction(bG, (bD - bM), X)
338+ let bT = fraction(toBigInt(bP), toBigInt(bG), toBigInt(1))
339+ let bU = toInt(fraction(fraction(bT, toBigInt((bE - bN)), toBigInt(X)), toBigInt(1), toBigInt(X)))
340+ let bV = (bS - bU)
341+ if ((0 > bV))
342342 then throw("toTreasury < 0")
343- else $Tuple5(bB, bC, bD, (bQ + bT), bU)
343+ else $Tuple5(bC, bD, bE, (bR + bU), bV)
344344 }
345345
346346
347-func bV (bW,aC) = {
348- func bX (bY,ax) = {
349- let bZ = bY
350- let ca = bZ._1
351- let cb = bZ._2
352- let cc = bE(ax, aC)
353- let cd = cc._1
354- let ce = cc._2
355- let cf = cc._3
356- let cg = cc._4
357- let ch = cc._5
358- let ci = (aR(ax, aC) + cg)
359- $Tuple2((ca :+ aC), (cb :+ ci))
347+func bW (bX,aC) = {
348+ func bY (bZ,ax) = {
349+ let ca = bZ
350+ let cb = ca._1
351+ let cc = ca._2
352+ let cd = bF(ax, aC)
353+ let ce = cd._1
354+ let cf = cd._2
355+ let cg = cd._3
356+ let ch = cd._4
357+ let ci = cd._5
358+ let cj = (aR(ax, aC) + ch)
359+ $Tuple2((cb :+ aC), (cc :+ cj))
360360 }
361361
362- let cj = bW
363- let ck = size(cj)
364- let cl = $Tuple2(nil, nil)
365- func cm (cn,co) = if ((co >= ck))
366- then cn
367- else bX(cn, cj[co])
362+ let ck = bX
363+ let cl = size(ck)
364+ let cm = $Tuple2(nil, nil)
365+ func cn (co,cp) = if ((cp >= cl))
366+ then co
367+ else bY(co, ck[cp])
368368
369- func cp (cn,co) = if ((co >= ck))
370- then cn
369+ func cq (co,cp) = if ((cp >= cl))
370+ then co
371371 else throw("List size exceeds 60")
372372
373- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
373+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
374374 }
375375
376376
377-func cq (ax,aC,cr,cs,ct) = if ((aw(ax) > height))
377+func cr (ax,aC,cs,ct,cu) = if ((aw(ax) > height))
378378 then {
379- let cu = valueOrElse(getInteger(aj, (ax + D)), 0)
380- let cv = valueOrElse(getInteger(aj, (((aC + "_") + ax) + D)), 0)
381- let cw = ay(addressFromStringValue(ax))
382- let cx = (fraction(cw, cv, cu) - cr)
383- if ((ct > 0))
379+ let cv = valueOrElse(getInteger(aj, (ax + D)), 0)
380+ let cw = valueOrElse(getInteger(aj, (((aC + "_") + ax) + D)), 0)
381+ let cx = ay(addressFromStringValue(ax))
382+ let cy = (fraction(cx, cw, cv) - cs)
383+ if ((cu > 0))
384384 then throw("You can't lock shareTokens till first harvest end.")
385- else if ((cv == 0))
385+ else if ((cw == 0))
386386 then 0
387- else if ((cs >= cx))
388- then (cs - cx)
387+ else if ((ct >= cy))
388+ then (ct - cy)
389389 else 0
390390 }
391391 else 0
392392
393393
394-func cy (cz) = {
395- let cA = split(valueOrErrorMessage(getString(this, (toString(cz) + q)), ("There are no key for lock type" + toString(cz))), "_")
396- $Tuple2(parseIntValue(cA[0]), parseIntValue(cA[1]))
394+func cz (cA) = {
395+ let cB = split(valueOrErrorMessage(getString(this, (toString(cA) + q)), ("There are no key for lock type" + toString(cA))), "_")
396+ $Tuple2(parseIntValue(cB[0]), parseIntValue(cB[1]))
397397 }
398398
399399
400-func cB (cC) = [BooleanEntry(a, false), StringEntry(c, cC)]
400+func cC (cD) = [BooleanEntry(a, false), StringEntry(c, cD)]
401401
402402
403-func cD () = if (if (as)
403+func cE () = if (if (as)
404404 then at
405405 else false)
406406 then unit
407407 else throw("DApp is inactive at this moment")
408408
409409
410-func cE (cF) = if (containsElement([af, ag, ah], cF.callerPublicKey))
410+func cF (cG) = if (containsElement([af, ag, ah], cG.callerPublicKey))
411411 then unit
412412 else throw("Only admin can call this function")
413413
414414
415-@Callable(cF)
416-func init (cG) = if (isDefined(getString(this, A)))
415+@Callable(cG)
416+func init (cH) = if (isDefined(getString(this, A)))
417417 then throw("SWOP already initialized")
418418 else {
419- let cH = 100000000000000
420- let cI = Issue("SWOP", "SWOP protocol token", cH, 8, true)
421- let cJ = calculateAssetId(cI)
422-[BooleanEntry(a, true), Issue("SWOP", "SWOP protocol token", cH, 8, true), StringEntry(A, toBase58String(cJ))]
419+ let cI = 100000000000000
420+ let cJ = Issue("SWOP", "SWOP protocol token", cI, 8, true)
421+ let cK = calculateAssetId(cJ)
422+[BooleanEntry(a, true), Issue("SWOP", "SWOP protocol token", cI, 8, true), StringEntry(A, toBase58String(cK))]
423423 }
424424
425425
426426
427-@Callable(cF)
428-func initPoolShareFarming (ax) = valueOrElse(cE(cF), [IntegerEntry((ax + o), 0), IntegerEntry((ax + t), 0), IntegerEntry((ax + v), 0), IntegerEntry((ax + x), 0), IntegerEntry((ax + z), height)])
427+@Callable(cG)
428+func initPoolShareFarming (ax) = valueOrElse(cF(cG), [IntegerEntry((ax + o), 0), IntegerEntry((ax + t), 0), IntegerEntry((ax + v), 0), IntegerEntry((ax + x), 0), IntegerEntry((ax + z), height)])
429429
430430
431431
432-@Callable(cF)
433-func updatePoolInterest (ax) = valueOrElse(cD(), if ((cF.caller != ak))
432+@Callable(cG)
433+func updatePoolInterest (ax) = valueOrElse(cE(), if ((cG.caller != ak))
434434 then throw("Only Governance can call this function")
435435 else {
436436 let aC = toString(addressFromPublicKey(al))
437- let cK = bE(ax, aC)
438- let bc = cK._1
439- let bd = cK._2
440- let cL = cK._3
441-[IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height)]
437+ let cL = bF(ax, aC)
438+ let bc = cL._1
439+ let bd = cL._2
440+ let cM = cL._3
441+[IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height)]
442442 })
443443
444444
445445
446-@Callable(cF)
447-func lockShareTokens (ax,ct) = valueOrElse(cD(), {
448- let cM = aD(ax)
449- let aC = toString(cF.originCaller)
450- let cN = az(ax)
451- let bH = valueOrElse(getInteger(this, (ax + p)), cN)
452- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
453- let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
454- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
455- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
456- let cS = ((cO + cQ) + cF.payments[0].amount)
457- let cT = cy(ct)
458- let cU = cT._1
459- let cV = cT._2
460- let cW = getIntegerValue(this, r)
461- if ((cF.payments[0].assetId != cM))
446+@Callable(cG)
447+func lockShareTokens (ax,cu) = valueOrElse(cE(), {
448+ let cN = aD(ax)
449+ let aC = toString(cG.originCaller)
450+ let cO = az(ax)
451+ let bI = valueOrElse(getInteger(this, (ax + p)), cO)
452+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
453+ let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
454+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
455+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
456+ let cT = ((cP + cR) + cG.payments[0].amount)
457+ let cU = cz(cu)
458+ let cV = cU._1
459+ let cW = cU._2
460+ let cX = getIntegerValue(this, r)
461+ if ((cG.payments[0].assetId != cN))
462462 then throw("Wrong sharetoken in payment")
463- else if ((0 >= cF.payments[0].amount))
463+ else if ((0 >= cG.payments[0].amount))
464464 then throw("Payment amount must be greater than 0")
465- else if ((0 > ct))
465+ else if ((0 > cu))
466466 then throw("lockType must be >= 0")
467467 else {
468- let cX = cq(ax, aC, cO, cF.payments[0].amount, ct)
469- if ((cX == cX))
468+ let cY = cr(ax, aC, cP, cG.payments[0].amount, cu)
469+ if ((cY == cY))
470470 then {
471- let cY = if ((ct == 0))
471+ let cZ = if ((cu == 0))
472472 then {
473- let cZ = ((cR + cF.payments[0].amount) - cX)
474- $Tuple2([IntegerEntry((((ax + "_") + aC) + j), ((cO + cF.payments[0].amount) - cX)), IntegerEntry((ax + p), ((bH + cF.payments[0].amount) - cX)), ScriptTransfer(cF.originCaller, cX, cF.payments[0].assetId)], ((cN + cF.payments[0].amount) - cX))
473+ let da = ((cS + cG.payments[0].amount) - cY)
474+ $Tuple2([IntegerEntry((((ax + "_") + aC) + j), ((cP + cG.payments[0].amount) - cY)), IntegerEntry((ax + p), ((bI + cG.payments[0].amount) - cY)), ScriptTransfer(cG.originCaller, cY, cG.payments[0].assetId)], ((cO + cG.payments[0].amount) - cY))
475475 }
476- else if (if ((cP == 0))
477- then if (if ((2 > size(cF.payments)))
476+ else if (if ((cQ == 0))
477+ then if (if ((2 > size(cG.payments)))
478478 then true
479- else (cF.payments[1].assetId != unit))
479+ else (cG.payments[1].assetId != unit))
480480 then true
481- else (cW > cF.payments[1].amount)
481+ else (cX > cG.payments[1].amount)
482482 else false)
483- then throw((("You need to pay additional waves comission " + toString(cW)) + "WAVES"))
484- else if ((cP > (height + cU)))
483+ then throw((("You need to pay additional waves comission " + toString(cX)) + "WAVES"))
484+ else if ((cQ > (height + cV)))
485485 then throw("You cannot lock sharetokens for a period less than what you have already locked")
486486 else {
487- let da = (cQ + cF.payments[0].amount)
488- let db = (height + cU)
489- let cZ = (fraction(da, cV, Y) + cO)
490- $Tuple2([IntegerEntry((((ax + "_") + aC) + k), da), IntegerEntry((((ax + "_") + aC) + m), db), IntegerEntry((((ax + "_") + aC) + l), ct), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + p), ((bH - cR) + cZ))], (cN + cF.payments[0].amount))
487+ let db = (cR + cG.payments[0].amount)
488+ let dc = (height + cV)
489+ let da = (fraction(db, cW, Y) + cP)
490+ $Tuple2([IntegerEntry((((ax + "_") + aC) + k), db), IntegerEntry((((ax + "_") + aC) + m), dc), IntegerEntry((((ax + "_") + aC) + l), cu), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + p), ((bI - cS) + da))], (cO + cG.payments[0].amount))
491491 }
492- let dc = cY._1
493- let dd = cY._2
494- if ((aE(cM) > dd))
492+ let dd = cZ._1
493+ let de = cZ._2
494+ if ((aE(cN) > de))
495495 then throw("Balance of share-token is lower than totalAmount")
496496 else {
497- let de = bE(ax, aC)
498- let bc = de._1
499- let bd = de._2
500- let cL = de._3
501- let cg = de._4
502- let df = de._5
503- let dg = (aR(ax, aC) + cg)
504- let dh = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
505- then invoke(am, "updateUserInterest", [ax, cS], nil)
497+ let df = bF(ax, aC)
498+ let bc = df._1
499+ let bd = df._2
500+ let cM = df._3
501+ let ch = df._4
502+ let dg = df._5
503+ let dh = (aR(ax, aC) + ch)
504+ let di = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
505+ then invoke(am, "updateUserInterest", [ax, cT], nil)
506506 else 0
507- if ((dh == dh))
508- then ([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((ax + o), dd), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)] ++ dc)
507+ if ((di == di))
508+ then ([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((ax + o), de), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)] ++ dd)
509509 else throw("Strict value is not equal to itself.")
510510 }
511511 }
512512 else throw("Strict value is not equal to itself.")
513513 }
514514 })
515515
516516
517517
518-@Callable(cF)
519-func lockStakedShareTokens (ax,ct,di) = valueOrElse(cD(), {
520- let cM = aD(ax)
521- let aC = toString(cF.originCaller)
522- let cN = az(ax)
523- let bH = valueOrElse(getInteger(this, (ax + p)), cN)
524- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
525- let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
526- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
527- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
528- let cS = (cO + cQ)
529- let dj = cy(ct)
530- let cU = dj._1
531- let cV = dj._2
532- let cW = getIntegerValue(this, r)
518+@Callable(cG)
519+func lockStakedShareTokens (ax,cu,dj) = valueOrElse(cE(), {
520+ let cN = aD(ax)
521+ let aC = toString(cG.originCaller)
522+ let cO = az(ax)
523+ let bI = valueOrElse(getInteger(this, (ax + p)), cO)
524+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
525+ let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + m)), 0)
526+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
527+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
528+ let cT = (cP + cR)
529+ let dk = cz(cu)
530+ let cV = dk._1
531+ let cW = dk._2
532+ let cX = getIntegerValue(this, r)
533533 if ((aw(ax) > height))
534534 then throw("You can't lock shareTokens till first harvest end.")
535- else if ((0 >= ct))
535+ else if ((0 >= cu))
536536 then throw("lockType must be > 0")
537- else if ((di > cO))
538- then throw(("You can't lock more than " + toString(cO)))
539- else if ((aE(cM) > cN))
537+ else if ((dj > cP))
538+ then throw(("You can't lock more than " + toString(cP)))
539+ else if ((aE(cN) > cO))
540540 then throw("Balance of share-token is lower than totalAmount")
541- else if (if ((cP == 0))
542- then if (if ((1 > size(cF.payments)))
541+ else if (if ((cQ == 0))
542+ then if (if ((1 > size(cG.payments)))
543543 then true
544- else (cF.payments[0].assetId != unit))
544+ else (cG.payments[0].assetId != unit))
545545 then true
546- else (cW > cF.payments[0].amount)
546+ else (cX > cG.payments[0].amount)
547547 else false)
548- then throw((("You need to pay additional waves comission " + toString(cW)) + "WAVES"))
549- else if (if ((cP == 0))
550- then (0 >= di)
548+ then throw((("You need to pay additional waves comission " + toString(cX)) + "WAVES"))
549+ else if (if ((cQ == 0))
550+ then (0 >= dj)
551551 else false)
552552 then throw("lockAmount must be greater than 0")
553- else if ((0 > di))
553+ else if ((0 > dj))
554554 then throw("lockAmount must be positive")
555- else if ((cP > (height + cU)))
555+ else if ((cQ > (height + cV)))
556556 then throw("You cannot lock sharetokens for a period less than what you have already locked")
557557 else {
558- let da = (cQ + di)
559- let dk = (cO - di)
560- let db = (height + cU)
561- let cZ = (fraction(da, cV, Y) + cO)
562- let dl = bE(ax, aC)
563- let bc = dl._1
564- let bd = dl._2
565- let cL = dl._3
566- let cg = dl._4
567- let df = dl._5
568- let dg = (aR(ax, aC) + cg)
569-[IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + k), da), IntegerEntry((((ax + "_") + aC) + m), db), IntegerEntry((((ax + "_") + aC) + l), ct), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + p), ((bH - cR) + cZ)), IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)]
558+ let db = (cR + dj)
559+ let dl = (cP - dj)
560+ let dc = (height + cV)
561+ let da = (fraction(db, cW, Y) + cP)
562+ let dm = bF(ax, aC)
563+ let bc = dm._1
564+ let bd = dm._2
565+ let cM = dm._3
566+ let ch = dm._4
567+ let dg = dm._5
568+ let dh = (aR(ax, aC) + ch)
569+[IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + k), db), IntegerEntry((((ax + "_") + aC) + m), dc), IntegerEntry((((ax + "_") + aC) + l), cu), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + p), ((bI - cS) + da)), IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)]
570570 }
571571 })
572572
573573
574574
575-@Callable(cF)
576-func unlockUserLock (ax,aC) = valueOrElse(cD(), {
577- let cW = getIntegerValue(this, r)
578- let cP = valueOrErrorMessage(getInteger(this, (((ax + "_") + aC) + m)), (((("There is no pool " + ax) + " or user ") + aC) + "with lock"))
579- let bH = getIntegerValue(this, (ax + p))
580- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
581- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
582- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
583- if ((cP > height))
584- then throw(("You can't unlock sharetokens till " + toString(cP)))
575+@Callable(cG)
576+func unlockUserLock (ax,aC) = valueOrElse(cE(), {
577+ let cX = getIntegerValue(this, r)
578+ let cQ = valueOrErrorMessage(getInteger(this, (((ax + "_") + aC) + m)), (((("There is no pool " + ax) + " or user ") + aC) + "with lock"))
579+ let bI = getIntegerValue(this, (ax + p))
580+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
581+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
582+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
583+ if ((cQ > height))
584+ then throw(("You can't unlock sharetokens till " + toString(cQ)))
585585 else {
586- let dk = (cO + cQ)
587- let dm = bE(ax, aC)
588- let bc = dm._1
589- let bd = dm._2
590- let cL = dm._3
591- let cg = dm._4
592- let df = dm._5
593- let dg = (aR(ax, aC) + cg)
594-[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + n), dk), IntegerEntry((ax + p), ((bH - cR) + dk)), DeleteEntry((((ax + "_") + aC) + k)), DeleteEntry((((ax + "_") + aC) + m)), DeleteEntry((((ax + "_") + aC) + l)), Reissue(av, df, true), ScriptTransfer(an, df, av), ScriptTransfer(cF.caller, cW, unit)]
586+ let dl = (cP + cR)
587+ let dn = bF(ax, aC)
588+ let bc = dn._1
589+ let bd = dn._2
590+ let cM = dn._3
591+ let ch = dn._4
592+ let dg = dn._5
593+ let dh = (aR(ax, aC) + ch)
594+[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + n), dl), IntegerEntry((ax + p), ((bI - cS) + dl)), DeleteEntry((((ax + "_") + aC) + k)), DeleteEntry((((ax + "_") + aC) + m)), DeleteEntry((((ax + "_") + aC) + l)), Reissue(av, dg, true), ScriptTransfer(an, dg, av), ScriptTransfer(cG.caller, cX, unit)]
595595 }
596596 })
597597
598598
599599
600-@Callable(cF)
601-func withdrawShareTokens (ax,dn) = valueOrElse(cD(), {
602- let do = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
603- let aC = toString(cF.originCaller)
604- let dp = bE(ax, aC)
605- let bc = dp._1
606- let bd = dp._2
607- let cL = dp._3
608- let cg = dp._4
609- let df = dp._5
610- let cO = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
611- let cQ = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
612- let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cO)
613- let dk = (cO - dn)
614- let dg = (aR(ax, aC) + cg)
615- let dq = az(ax)
616- let bH = valueOrElse(getInteger(this, (ax + p)), dq)
617- let dr = (dq - dn)
618- let ds = (bH - dn)
619- let cZ = (cR - dn)
620- if ((dn > cO))
600+@Callable(cG)
601+func withdrawShareTokens (ax,do) = valueOrElse(cE(), {
602+ let dp = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
603+ let aC = toString(cG.originCaller)
604+ let dq = bF(ax, aC)
605+ let bc = dq._1
606+ let bd = dq._2
607+ let cM = dq._3
608+ let ch = dq._4
609+ let dg = dq._5
610+ let cP = valueOrElse(getInteger(this, (((ax + "_") + aC) + j)), 0)
611+ let cR = valueOrElse(getInteger(this, (((ax + "_") + aC) + k)), 0)
612+ let cS = valueOrElse(getInteger(this, (((ax + "_") + aC) + n)), cP)
613+ let dl = (cP - do)
614+ let dh = (aR(ax, aC) + ch)
615+ let dr = az(ax)
616+ let bI = valueOrElse(getInteger(this, (ax + p)), dr)
617+ let ds = (dr - do)
618+ let dt = (bI - do)
619+ let da = (cS - do)
620+ if ((do > cP))
621621 then throw("Withdraw amount more then user locked amount")
622- else if ((aE(do) > dq))
622+ else if ((aE(dp) > dr))
623623 then throw("Balance of share-token is lower than totalAmount")
624624 else {
625- let dh = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
626- then invoke(am, "updateUserInterest", [ax, (cO + cQ)], nil)
625+ let di = if ((getString(Address(fromBase58String(ax)), "version") == "3.0.0"))
626+ then invoke(am, "updateUserInterest", [ax, (cP + cR)], nil)
627627 else 0
628- if ((dh == dh))
629- then [IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dk), IntegerEntry((((ax + "_") + aC) + n), cZ), IntegerEntry((ax + o), dr), IntegerEntry((ax + p), ds), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av), ScriptTransfer(cF.caller, dn, do)]
628+ if ((di == di))
629+ then [IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + j), dl), IntegerEntry((((ax + "_") + aC) + n), da), IntegerEntry((ax + o), ds), IntegerEntry((ax + p), dt), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av), ScriptTransfer(cG.caller, do, dp)]
630630 else throw("Strict value is not equal to itself.")
631631 }
632632 })
633633
634634
635635
636-@Callable(cF)
637-func claim (ax) = valueOrElse(cD(), {
638- let do = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
639- let aC = toString(cF.originCaller)
636+@Callable(cG)
637+func claim (ax) = valueOrElse(cE(), {
638+ let dp = fromBase58String(getStringValue(value(addressFromString(ax)), "share_asset_id"))
639+ let aC = toString(cG.originCaller)
640640 let bo = az(ax)
641- let dt = bE(ax, aC)
642- let bc = dt._1
643- let bd = dt._2
644- let cL = dt._3
645- let cg = dt._4
646- let df = dt._5
647- let ci = (aR(ax, aC) + cg)
648- if ((ci == 0))
641+ let du = bF(ax, aC)
642+ let bc = du._1
643+ let bd = du._2
644+ let cM = du._3
645+ let ch = du._4
646+ let dg = du._5
647+ let cj = (aR(ax, aC) + ch)
648+ if ((cj == 0))
649649 then throw("You have 0 available SWOP")
650- else if ((aE(do) > bo))
650+ else if ((aE(dp) > bo))
651651 then throw("Balance of share-token is lower than totalAmount")
652652 else {
653- let du = if ((cF.caller != this))
654- then [ScriptTransfer(cF.caller, ci, av)]
653+ let dv = if ((cG.caller != this))
654+ then [ScriptTransfer(cG.caller, cj, av)]
655655 else nil
656- $Tuple2(([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), 0), Reissue(av, (df + ci), true), ScriptTransfer(an, df, av)] ++ du), ci)
656+ $Tuple2(([IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), 0), Reissue(av, (dg + cj), true), ScriptTransfer(an, dg, av)] ++ dv), cj)
657657 }
658658 })
659659
660660
661661
662-@Callable(cF)
663-func claimAndStake (ax) = valueOrElse(cD(), {
664- let cg = {
665- let dv = invoke(this, "claim", [ax], nil)
666- if ($isInstanceOf(dv, "Int"))
667- then dv
668- else throw(($getType(dv) + " couldn't be cast to Int"))
662+@Callable(cG)
663+func claimAndStake (ax) = valueOrElse(cE(), {
664+ let ch = {
665+ let dw = invoke(this, "claim", [ax], nil)
666+ if ($isInstanceOf(dw, "Int"))
667+ then dw
668+ else throw(($getType(dw) + " couldn't be cast to Int"))
669669 }
670- if ((cg == cg))
670+ if ((ch == ch))
671671 then {
672- let dw = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, cg)])
673- if ((dw == dw))
672+ let dx = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, ch)])
673+ if ((dx == dx))
674674 then nil
675675 else throw("Strict value is not equal to itself.")
676676 }
677677 else throw("Strict value is not equal to itself.")
678678 })
679679
680680
681681
682-@Callable(cF)
683-func claimAll (bW) = valueOrElse(cD(), {
684- func dx (dy,ax) = {
685- let cg = {
686- let dv = invoke(this, "claim", [ax], nil)
687- if ($isInstanceOf(dv, "Int"))
688- then dv
689- else throw(($getType(dv) + " couldn't be cast to Int"))
682+@Callable(cG)
683+func claimAll (bX) = valueOrElse(cE(), {
684+ func dy (dz,ax) = {
685+ let ch = {
686+ let dw = invoke(this, "claim", [ax], nil)
687+ if ($isInstanceOf(dw, "Int"))
688+ then dw
689+ else throw(($getType(dw) + " couldn't be cast to Int"))
690690 }
691- if ((cg == cg))
692- then (dy + cg)
691+ if ((ch == ch))
692+ then (dz + ch)
693693 else throw("Strict value is not equal to itself.")
694694 }
695695
696- let dy = {
697- let cj = bW
698- let ck = size(cj)
699- let cl = 0
700- func cm (cn,co) = if ((co >= ck))
701- then cn
702- else dx(cn, cj[co])
696+ let dz = {
697+ let ck = bX
698+ let cl = size(ck)
699+ let cm = 0
700+ func cn (co,cp) = if ((cp >= cl))
701+ then co
702+ else dy(co, ck[cp])
703703
704- func cp (cn,co) = if ((co >= ck))
705- then cn
704+ func cq (co,cp) = if ((cp >= cl))
705+ then co
706706 else throw("List size exceeds 60")
707707
708- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
708+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
709709 }
710- if ((dy == 0))
710+ if ((dz == 0))
711711 then throw("You have 0 available SWOP")
712- else [ScriptTransfer(cF.caller, dy, av)]
712+ else [ScriptTransfer(cG.caller, dz, av)]
713713 })
714714
715715
716716
717-@Callable(cF)
718-func claimAllAndStake (bW) = valueOrElse(cD(), {
719- func dx (dy,ax) = {
720- let cg = {
721- let dv = invoke(this, "claim", [ax], nil)
722- if ($isInstanceOf(dv, "Int"))
723- then dv
724- else throw(($getType(dv) + " couldn't be cast to Int"))
717+@Callable(cG)
718+func claimAllAndStake (bX) = valueOrElse(cE(), {
719+ func dy (dz,ax) = {
720+ let ch = {
721+ let dw = invoke(this, "claim", [ax], nil)
722+ if ($isInstanceOf(dw, "Int"))
723+ then dw
724+ else throw(($getType(dw) + " couldn't be cast to Int"))
725725 }
726- if ((cg == cg))
727- then (dy + cg)
726+ if ((ch == ch))
727+ then (dz + ch)
728728 else throw("Strict value is not equal to itself.")
729729 }
730730
731- let dy = {
732- let cj = bW
733- let ck = size(cj)
734- let cl = 0
735- func cm (cn,co) = if ((co >= ck))
736- then cn
737- else dx(cn, cj[co])
731+ let dz = {
732+ let ck = bX
733+ let cl = size(ck)
734+ let cm = 0
735+ func cn (co,cp) = if ((cp >= cl))
736+ then co
737+ else dy(co, ck[cp])
738738
739- func cp (cn,co) = if ((co >= ck))
740- then cn
739+ func cq (co,cp) = if ((cp >= cl))
740+ then co
741741 else throw("List size exceeds 60")
742742
743- cp(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(cl, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
743+ cq(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cn(cm, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60)
744744 }
745- if ((dy == 0))
745+ if ((dz == 0))
746746 then throw("You have 0 available SWOP")
747747 else {
748- let dw = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, dy)])
749- if ((dw == dw))
748+ let dx = invoke(ak, "lockSWOPFromFarming", nil, [AttachedPayment(av, dz)])
749+ if ((dx == dx))
750750 then nil
751751 else throw("Strict value is not equal to itself.")
752752 }
753753 })
754754
755755
756756
757-@Callable(cF)
758-func updateUserBoostInterest (ax,aC) = valueOrElse(cD(), if ((cF.caller != aj))
757+@Callable(cG)
758+func updateUserBoostInterest (ax,aC) = valueOrElse(cE(), if ((cG.caller != aj))
759759 then throw("Only voiting can call this function")
760760 else {
761- let dz = bE(ax, aC)
762- let bc = dz._1
763- let bd = dz._2
764- let cL = dz._3
765- let cg = dz._4
766- let df = dz._5
767- let dg = (aR(ax, aC) + cg)
768-[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cL), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cL), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dg), Reissue(av, df, true), ScriptTransfer(an, df, av)]
761+ let dA = bF(ax, aC)
762+ let bc = dA._1
763+ let bd = dA._2
764+ let cM = dA._3
765+ let ch = dA._4
766+ let dg = dA._5
767+ let dh = (aR(ax, aC) + ch)
768+[IntegerEntry((((ax + "_") + aC) + u), bc), IntegerEntry((((ax + "_") + aC) + w), bd), IntegerEntry((((ax + "_") + aC) + y), cM), IntegerEntry((ax + t), bc), IntegerEntry((ax + v), bd), IntegerEntry((ax + x), cM), IntegerEntry((ax + z), height), IntegerEntry((((ax + "_") + aC) + B), dh), Reissue(av, dg, true), ScriptTransfer(an, dg, av)]
769769 })
770770
771771
772772
773-@Callable(cF)
774-func shutdown () = valueOrElse(cE(cF), if (!(as))
773+@Callable(cG)
774+func shutdown () = valueOrElse(cF(cG), if (!(as))
775775 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, c), "the cause wasn't specified")))
776- else cB("Paused by admin"))
776+ else cC("Paused by admin"))
777777
778778
779779
780-@Callable(cF)
781-func activate () = valueOrElse(cE(cF), if (as)
780+@Callable(cG)
781+func activate () = valueOrElse(cF(cG), if (as)
782782 then throw("DApp is already active")
783783 else [BooleanEntry(a, true), DeleteEntry(c)])
784784
785785
786-@Verifier(dA)
787-func dB () = {
788- let ac = dA
789- let dC = if (sigVerify(dA.bodyBytes, dA.proofs[0], af))
786+@Verifier(dB)
787+func dC () = {
788+ let ac = dB
789+ let dD = if (sigVerify(dB.bodyBytes, dB.proofs[0], af))
790790 then 1
791791 else 0
792- let dD = if (sigVerify(dA.bodyBytes, dA.proofs[1], ag))
792+ let dE = if (sigVerify(dB.bodyBytes, dB.proofs[1], ag))
793793 then 1
794794 else 0
795- let dE = if (sigVerify(dA.bodyBytes, dA.proofs[2], ah))
795+ let dF = if (sigVerify(dB.bodyBytes, dB.proofs[2], ah))
796796 then 1
797797 else 0
798- (((dC + dD) + dE) >= 2)
798+ (((dD + dE) + dF) >= 2)
799799 }
800800

github/deemru/w8io/026f985 
314.27 ms