tx · 65vHzBik3ccu17ngXQwi6YsLqNmhGPrTNhq8BxRCHt8B

3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK:  -0.14000000 Waves

2022.10.27 17:17 [2290944] smart account 3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK > SELF 0.00000000 Waves

{ "type": 13, "id": "65vHzBik3ccu17ngXQwi6YsLqNmhGPrTNhq8BxRCHt8B", "fee": 14000000, "feeAssetId": null, "timestamp": 1666880262021, "version": 2, "chainId": 84, "sender": "3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK", "senderPublicKey": "FFdBua5rzzMkZebvsvmN7sAdU7XhFK8QNJ3hiwwxAYRA", "proofs": [ "4XLpSQpR6SFwf5xGKcQoqWV25dCM3dBP8Zt4WmozZPrudQxbzrEQ76LPGaKCrb2Zh8zYub8MsNMWtbHVav8q9ynT", "3A8zkMCHg9b69GkD8UQ4DZstqk4ex3VrFehwYT58bY1Y5rG25ivjnE2e2CjpiNsGkosksgncfKB7arubRnfQKckT" ], "script": "base64:BgJICAISAwoBCBIDCgEIEgMKAQgSBAoCCAESBQoDCAEBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIDCgEYEgMKARgSBAoCCAgSABIAXAAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UAGmtSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50Ah1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAba1Jld2FyZFBvb2xGcmFjdGlvblByZXZpb3VzAh5fcHJldmlvdXNfcG9vbF9mcmFjdGlvbl9yZXdhcmQAE2tIZWlnaHRQb29sRnJhY3Rpb24CGl9wb29sX3Jld2FyZF91cGRhdGVfaGVpZ2h0ABtrVG90YWxSZXdhcmRQZXJCbG9ja0N1cnJlbnQCHnRvdGFsX3Jld2FyZF9wZXJfYmxvY2tfY3Vyc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YWRtaW5QdWJLZXkzU2lnbmVkAAKHqb4m", "height": 2290944, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DoRqnDUm9uxSbGH4GV8J8XcZcTNu7VBLNVAnrAXZBmn7 Next: 3oeHBprB2HvZT3YCJ72dKqmFP56dtkR83BcgQvpsF1nL Diff:
OldNewDifferences
226226
227227 func calcFarmRwd (pool,curTotalReward) = {
228228 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
229- ((curTotalReward / (poolBoostCoef + 1000)) / lockBoostCoefScale)
229+ fraction(curTotalReward, lockBoostCoefScale, (poolBoostCoef + 1000))
230230 }
231231
232232
239239 func calcInterest (pool,lastInterestHeight,rewardUpdateHeight,poolRewardUpdateHeight,farmInterest,boostInterest,poolVoted,boostLpInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,scaleValue) = if ((shareTokenLocked == 0))
240240 then $Tuple3(0, 0, 0)
241241 else {
242- let $t01040111825 = if (if (if ((rewardUpdateHeight > height))
242+ let $t01040611800 = if (if (if ((rewardUpdateHeight > height))
243243 then (rewardUpdateHeight == poolRewardUpdateHeight)
244244 else false)
245245 then true
247247 then (rewardUpdateHeight != poolRewardUpdateHeight)
248248 else false)
249249 then {
250- let reward = (previousRewardPerBlock * (height - lastInterestHeight))
251- $Tuple4(reward, farmInterest, boostInterest, boostLpInterest)
250+ let r = (previousRewardPerBlock * (height - lastInterestHeight))
251+ $Tuple4(r, farmInterest, boostInterest, boostLpInterest)
252252 }
253253 else if (if (if ((height > rewardUpdateHeight))
254254 then (rewardUpdateHeight == poolRewardUpdateHeight)
256256 then (lastInterestHeight > rewardUpdateHeight)
257257 else false)
258258 then {
259- let reward = (currentRewardPerBlock * (height - lastInterestHeight))
260- $Tuple4(reward, farmInterest, boostInterest, boostLpInterest)
259+ let r = (currentRewardPerBlock * (height - lastInterestHeight))
260+ $Tuple4(r, farmInterest, boostInterest, boostLpInterest)
261261 }
262262 else {
263263 let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
270270 else false)
271271 then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
272272 else 0))
273- let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
274- $Tuple4(reward, fAftrUp, bAftrUp, bLPAftrUp)
273+ let r = (currentRewardPerBlock * (height - rewardUpdateHeight))
274+ $Tuple4(r, fAftrUp, bAftrUp, bLPAftrUp)
275275 }
276- let reward = $t01040111825._1
277- let farmIntrBefore = $t01040111825._2
278- let boostIntrBefore = $t01040111825._3
279- let boostLPIntrBefore = $t01040111825._4
276+ let reward = $t01040611800._1
277+ let farmIntrBefore = $t01040611800._2
278+ let boostIntrBefore = $t01040611800._3
279+ let boostLPIntrBefore = $t01040611800._4
280280 let newFarmInterest = (farmIntrBefore + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked))
281281 let newBoostInterest = (boostIntrBefore + (if ((poolVoted > 0))
282282 then fraction(calcBoostRwd(pool, reward), scaleValue8, poolVoted)
296296 let uPoolVoted = getUserPoolVoted(pool, user)
297297 let shareToken = getTotalShareToken(pool)
298298 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), shareToken)
299- let $t01279812896 = getLastInterestInfo(pool)
300- let lastInterestHeight = $t01279812896._1
301- let farmInterest = $t01279812896._2
302- let boostInterest = $t01279812896._3
303- let boostLPInterest = $t01279812896._4
304- let $t01290113015 = rewardInfo(pool)
305- let currentRewardPerBlock = $t01290113015._1
306- let rewardUpdateHeight = $t01290113015._2
307- let previousRewardPerBlock = $t01290113015._3
308- let poolRewardUpdateHeight = $t01290113015._4
299+ let $t01277312871 = getLastInterestInfo(pool)
300+ let lastInterestHeight = $t01277312871._1
301+ let farmInterest = $t01277312871._2
302+ let boostInterest = $t01277312871._3
303+ let boostLPInterest = $t01277312871._4
304+ let $t01287612990 = rewardInfo(pool)
305+ let currentRewardPerBlock = $t01287612990._1
306+ let rewardUpdateHeight = $t01287612990._2
307+ let previousRewardPerBlock = $t01287612990._3
308+ let poolRewardUpdateHeight = $t01287612990._4
309309 let uFarmInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kFarmUserLastInterest)), farmInterest)
310310 let uBoostInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostUserLastInterest)), boostInterest)
311311 let uBoostLPInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostLPUserLastInterest)), boostLPInterest)
312312 let uShareTokensStaked = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
313313 let uShareTokensVirt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), uShareTokensStaked)
314- let $t01358313976 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315- let newFarmInterest = $t01358313976._1
316- let newBoostInterest = $t01358313976._2
317- let newBoostLPInterest = $t01358313976._3
314+ let $t01355813951 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315+ let newFarmInterest = $t01355813951._1
316+ let newBoostInterest = $t01355813951._2
317+ let newBoostLPInterest = $t01355813951._3
318318 let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue)
319319 let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue8)
320320 let claimBoosting = (fraction((uShareTokensVirt * uPoolVoted), (newBoostLPInterest - uBoostLPInterest), scaleValue8) / scaleValue8)
325325
326326 func availableClaimCalcAllByUser (pools,user) = {
327327 func calcAvailable (acc,pool) = {
328- let $t01460614635 = acc
329- let newPools = $t01460614635._1
330- let amounts = $t01460614635._2
331- let $t01464414703 = claimCalc(pool, user)
332- let fi = $t01464414703._1
333- let bi = $t01464414703._2
334- let blpi = $t01464414703._3
335- let claimAmount = $t01464414703._4
336- let tt = $t01464414703._5
328+ let $t01458114610 = acc
329+ let newPools = $t01458114610._1
330+ let amounts = $t01458114610._2
331+ let $t01461914678 = claimCalc(pool, user)
332+ let fi = $t01461914678._1
333+ let bi = $t01461914678._2
334+ let blpi = $t01461914678._3
335+ let claimAmount = $t01461914678._4
336+ let tt = $t01461914678._5
337337 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
338338 $Tuple2((newPools :+ user), (amounts :+ availableFund))
339339 }
413413 then throw("Only Governance can call this function")
414414 else {
415415 let user = toString(addressFromPublicKey(adminInvokePubKey))
416- let $t01743517509 = claimCalc(pool, user)
417- let farmInterest = $t01743517509._1
418- let boostInterest = $t01743517509._2
419- let boostLPinterest = $t01743517509._3
416+ let $t01741017484 = claimCalc(pool, user)
417+ let farmInterest = $t01741017484._1
418+ let boostInterest = $t01741017484._2
419+ let boostLPinterest = $t01741017484._3
420420 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)]
421421 })
422422
433433 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
434434 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
435435 let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount)
436- let $t01861818670 = getLockParams(lockType)
437- let lockPeriod = $t01861818670._1
438- let lockCoef = $t01861818670._2
436+ let $t01859318645 = getLockParams(lockType)
437+ let lockPeriod = $t01859318645._1
438+ let lockCoef = $t01859318645._2
439439 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
440440 if ((i.payments[0].assetId != shareAssetId))
441441 then throw("Wrong sharetoken in payment")
447447 let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType)
448448 if ((shareTokensChangeOnFH == shareTokensChangeOnFH))
449449 then {
450- let $t01909720942 = if ((lockType == 0))
450+ let $t01907220917 = if ((lockType == 0))
451451 then {
452452 let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH)
453453 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), ((userStakedAmount + i.payments[0].amount) - shareTokensChangeOnFH)), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual + i.payments[0].amount) - shareTokensChangeOnFH)), ScriptTransfer(i.originCaller, shareTokensChangeOnFH, i.payments[0].assetId)], ((totalShare + i.payments[0].amount) - shareTokensChangeOnFH))
468468 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
469469 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew))], (totalShare + i.payments[0].amount))
470470 }
471- let lockEntries = $t01909720942._1
472- let totalShareNew = $t01909720942._2
471+ let lockEntries = $t01907220917._1
472+ let totalShareNew = $t01907220917._2
473473 if ((accountBalance(shareAssetId) > totalShareNew))
474474 then throw("Balance of share-token is lower than totalAmount")
475475 else {
476- let $t02106721166 = claimCalc(pool, user)
477- let farmInterest = $t02106721166._1
478- let boostInterest = $t02106721166._2
479- let boostLPinterest = $t02106721166._3
480- let claimAmount = $t02106721166._4
481- let toTreasure = $t02106721166._5
476+ let $t02104221141 = claimCalc(pool, user)
477+ let farmInterest = $t02104221141._1
478+ let boostInterest = $t02104221141._2
479+ let boostLPinterest = $t02104221141._3
480+ let claimAmount = $t02104221141._4
481+ let toTreasure = $t02104221141._5
482482 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
483483 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
484484 then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil)
505505 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
506506 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
507507 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
508- let $t02306423116 = getLockParams(lockType)
509- let lockPeriod = $t02306423116._1
510- let lockCoef = $t02306423116._2
508+ let $t02303923091 = getLockParams(lockType)
509+ let lockPeriod = $t02303923091._1
510+ let lockCoef = $t02303923091._2
511511 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
512512 if ((getHeightFirstHarvest(pool) > height))
513513 then throw("You can't lock shareTokens till first harvest end.")
538538 let userStakedAmountNew = (userStakedAmount - lockAmount)
539539 let userLockedHeigtNew = (height + lockPeriod)
540540 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
541- let $t02440324502 = claimCalc(pool, user)
542- let farmInterest = $t02440324502._1
543- let boostInterest = $t02440324502._2
544- let boostLPinterest = $t02440324502._3
545- let claimAmount = $t02440324502._4
546- let toTreasure = $t02440324502._5
541+ let $t02437824477 = claimCalc(pool, user)
542+ let farmInterest = $t02437824477._1
543+ let boostInterest = $t02437824477._2
544+ let boostLPinterest = $t02437824477._3
545+ let claimAmount = $t02437824477._4
546+ let toTreasure = $t02437824477._5
547547 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
548548 [IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew)), IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP)]
549549 }
563563 then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt)))
564564 else {
565565 let userStakedAmountNew = (userStakedAmount + userLockedAmount)
566- let $t02672826827 = claimCalc(pool, user)
567- let farmInterest = $t02672826827._1
568- let boostInterest = $t02672826827._2
569- let boostLPinterest = $t02672826827._3
570- let claimAmount = $t02672826827._4
571- let toTreasure = $t02672826827._5
566+ let $t02670326802 = claimCalc(pool, user)
567+ let farmInterest = $t02670326802._1
568+ let boostInterest = $t02670326802._2
569+ let boostLPinterest = $t02670326802._3
570+ let claimAmount = $t02670326802._4
571+ let toTreasure = $t02670326802._5
572572 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
573573 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userStakedAmountNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userStakedAmountNew)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLocked)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedHeight)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedType)), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(i.caller, lockWavesFee, unit)]
574574 }
580580 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), {
581581 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
582582 let user = toString(i.originCaller)
583- let $t02832128420 = claimCalc(pool, user)
584- let farmInterest = $t02832128420._1
585- let boostInterest = $t02832128420._2
586- let boostLPinterest = $t02832128420._3
587- let claimAmount = $t02832128420._4
588- let toTreasure = $t02832128420._5
583+ let $t02829628395 = claimCalc(pool, user)
584+ let farmInterest = $t02829628395._1
585+ let boostInterest = $t02829628395._2
586+ let boostLPinterest = $t02829628395._3
587+ let claimAmount = $t02829628395._4
588+ let toTreasure = $t02829628395._5
589589 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
590590 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
591591 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
617617 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
618618 let user = toString(i.caller)
619619 let shareTokenLocked = getTotalShareToken(pool)
620- let $t03107931178 = claimCalc(pool, user)
621- let farmInterest = $t03107931178._1
622- let boostInterest = $t03107931178._2
623- let boostLPinterest = $t03107931178._3
624- let claimAmount = $t03107931178._4
625- let toTreasure = $t03107931178._5
620+ let $t03105431153 = claimCalc(pool, user)
621+ let farmInterest = $t03105431153._1
622+ let boostInterest = $t03105431153._2
623+ let boostLPinterest = $t03105431153._3
624+ let claimAmount = $t03105431153._4
625+ let toTreasure = $t03105431153._5
626626 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
627627 if ((availableFund == 0))
628628 then throw("You have 0 available SWOP")
732732 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
733733 then throw("Only voiting can call this function")
734734 else {
735- let $t03355433653 = claimCalc(pool, user)
736- let farmInterest = $t03355433653._1
737- let boostInterest = $t03355433653._2
738- let boostLPinterest = $t03355433653._3
739- let claimAmount = $t03355433653._4
740- let toTreasure = $t03355433653._5
735+ let $t03352933628 = claimCalc(pool, user)
736+ let farmInterest = $t03352933628._1
737+ let boostInterest = $t03352933628._2
738+ let boostLPinterest = $t03352933628._3
739+ let claimAmount = $t03352933628._4
740+ let toTreasure = $t03352933628._5
741741 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
742742 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP)]
743743 })
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let kActive = "active"
55
66 let kActiveGlob = "active_all_contracts"
77
88 let kCause = "shutdown_cause"
99
1010 let kRewardPoolFractionCurrent = "_current_pool_fraction_reward"
1111
1212 let kRewardPoolFractionPrevious = "_previous_pool_fraction_reward"
1313
1414 let kHeightPoolFraction = "_pool_reward_update_height"
1515
1616 let kTotalRewardPerBlockCurrent = "total_reward_per_block_current"
1717
1818 let kTotalRewardPerBlockPrevious = "total_reward_per_block_previous"
1919
2020 let kRewardUpdateHeight = "reward_update_height"
2121
2222 let kUserShareTokensStaked = "_share_tokens_locked"
2323
2424 let kUserShareTokensLocked = "_share_tokens_blocked"
2525
2626 let kUserShareTokensLockedType = "_share_tokens_blocked_type"
2727
2828 let kUserShareTokensLockedHeight = "_share_tokens_blocked_height"
2929
3030 let kUserShareTokensVirtual = "_share_tokens_virtual"
3131
3232 let kShareTotalShareTokens = "_total_share_tokens_locked"
3333
3434 let kShareTokensVirtual = "_total_share_tokens_virtual"
3535
3636 let kLockParams = "_lock_params"
3737
3838 let kLockWavesFee = "lock_waves_fee"
3939
4040 let kPoolBoostCoef = "_boost_coef"
4141
4242 let kFarmLastInterest = "_last_interest"
4343
4444 let kFarmUserLastInterest = "_last_interest"
4545
4646 let kBoostLastInterest = "_last_interest_b"
4747
4848 let kBoostUserLastInterest = "_last_interest_u_b"
4949
5050 let kBoostLPLastInterest = "_last_interest_lpb"
5151
5252 let kBoostLPUserLastInterest = "_last_interest_u_lpb"
5353
5454 let kLastInterestHeight = "_last_interest_height"
5555
5656 let kSWOPid = "SWOP_id"
5757
5858 let kAvailableSWOP = "_available_SWOP"
5959
6060 let kSwopYearEmission = "swop_year_emission"
6161
6262 let kHarvestPoolVote = "_harvest_pool_vote_gSWOP"
6363
6464 let kPoolVote = "_pool_vote_gSWOP"
6565
6666 let kUserPoolVote = "_user_vote_gSWOP"
6767
6868 let kHarvestUserPoolVote = "_harvest_user_pool_vote_gSWOP"
6969
7070 let kBasePeriod = "base_period"
7171
7272 let kPeriodLength = "period_length"
7373
7474 let kStartHeight = "start_height"
7575
7676 let kFirstHarvestHeight = "first_harvest_height"
7777
7878 let kShareLimitFH = "share_limit_on_first_harvest"
7979
8080 let kAdminPubKey1 = "admin_pub_1"
8181
8282 let kAdminPubKey2 = "admin_pub_2"
8383
8484 let kAdminPubKey3 = "admin_pub_3"
8585
8686 let kAdminInvokePubKey = "admin_invoke_pub"
8787
8888 let kMoneyBoxAddress = "money_box_address"
8989
9090 let kVotingAddress = "voting_address"
9191
9292 let kGovAddress = "governance_address"
9393
9494 let kLPFarmingAddress = "lp_farming"
9595
9696 let kFarmingTreasureAddr = "farming_treasure"
9797
9898 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
9999
100100 let totalVoteShare = 10000000000
101101
102102 let scaleValue8 = 100000000
103103
104104 let lockBoostCoefScale = 1000
105105
106106 let defPoolBoostCoef = 500
107107
108108 func getBase58FromOracle (key) = match getString(oracle, key) {
109109 case string: String =>
110110 fromBase58String(string)
111111 case nothing =>
112112 throw((key + "is empty"))
113113 }
114114
115115
116116 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
117117
118118 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
119119
120120 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
121121
122122 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
123123
124124 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
125125
126126 let govAddress = Address(getBase58FromOracle(kGovAddress))
127127
128128 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
129129
130130 let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress))
131131
132132 let farmingTreasureAddr = Address(getBase58FromOracle(kFarmingTreasureAddr))
133133
134134 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
135135
136136 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
137137
138138 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
139139
140140 let currPeriod = (basePeriod + ((height - startHeight) / periodLength))
141141
142142 let active = getBooleanValue(this, kActive)
143143
144144 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
145145
146146 let SwopYearEmission = getIntegerValue(this, kSwopYearEmission)
147147
148148 let SWOP = fromBase58String(getStringValue(this, kSWOPid))
149149
150150 func getHeightFirstHarvest (pool) = valueOrElse(getInteger(Address(fromBase58String(pool)), kFirstHarvestHeight), 0)
151151
152152
153153 func getFHShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimitFH), ("No data on the key: " + kShareLimitFH))
154154
155155
156156 func getTotalShareToken (pool) = valueOrErrorMessage(getInteger(this, (pool + kShareTotalShareTokens)), (("No data on the key: " + pool) + kShareTotalShareTokens))
157157
158158
159159 func getPoolVoted (pool) = valueOrElse(getInteger(votingAddress, (pool + kPoolVote)), 0)
160160
161161
162162 func getUserPoolVoted (pool,user) = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kPoolVote)), 0)
163163
164164
165165 func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
166166
167167
168168 func accountBalance (assetId) = match assetId {
169169 case id: ByteVector =>
170170 assetBalance(this, id)
171171 case waves: Unit =>
172172 wavesBalance(this).available
173173 case _ =>
174174 throw("Match error")
175175 }
176176
177177
178178 func getAssetInfo (assetId) = match assetId {
179179 case id: ByteVector =>
180180 let stringId = toBase58String(id)
181181 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
182182 $Tuple3(stringId, info.name, info.decimals)
183183 case waves: Unit =>
184184 $Tuple3("WAVES", "WAVES", 8)
185185 case _ =>
186186 throw("Match error")
187187 }
188188
189189
190190 func calcScaleValue (assetId1,assetId2) = {
191191 let assetId1Decimals = value(assetInfo(assetId1)).decimals
192192 let assetId2Decimals = value(assetInfo(assetId2)).decimals
193193 let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8)
194194 pow(10, 0, scaleDigits, 0, 0, DOWN)
195195 }
196196
197197
198198 func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + user) + kAvailableSWOP)), 0)
199199
200200
201201 func rewardInfo (pool) = {
202202 let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(govAddress, kTotalRewardPerBlockCurrent), ((("No data on the key: " + kTotalRewardPerBlockCurrent) + " at address ") + toString(govAddress)))
203203 let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(govAddress, kTotalRewardPerBlockPrevious), ((("No data on the key: " + kTotalRewardPerBlockPrevious) + " at address ") + toString(govAddress)))
204204 let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + kRewardPoolFractionCurrent) + " at address ") + toString(govAddress)))
205205 let rewardUpdateHeight = valueOrErrorMessage(getInteger(govAddress, kRewardUpdateHeight), ((("No data on the key: " + kRewardUpdateHeight) + " at address ") + toString(govAddress)))
206206 let poolRewardUpdateHeight = valueOrElse(getInteger(govAddress, (pool + kHeightPoolFraction)), rewardUpdateHeight)
207207 let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + kRewardPoolFractionPrevious) + " at address ") + toString(govAddress)))
208208 let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare)
209209 let rewardPoolPrevious = fraction(totalRewardPerBlockCurrent, rewardPoolFractionPrevious, totalVoteShare)
210210 if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent))
211211 then true
212212 else (rewardPoolPrevious > totalRewardPerBlockPrevious))
213213 then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious")
214214 else $Tuple4(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious, poolRewardUpdateHeight)
215215 }
216216
217217
218218 func getLastInterestInfo (pool) = {
219219 let farmInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kFarmLastInterest))
220220 let boostInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kBoostLastInterest))
221221 let boostLPInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kBoostLPLastInterest))
222222 let lastInterestHeight = valueOrElse(getInteger(this, (pool + kLastInterestHeight)), height)
223223 $Tuple4(lastInterestHeight, farmInterest, boostInterest, boostLPInterest)
224224 }
225225
226226
227227 func calcFarmRwd (pool,curTotalReward) = {
228228 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
229- ((curTotalReward / (poolBoostCoef + 1000)) / lockBoostCoefScale)
229+ fraction(curTotalReward, lockBoostCoefScale, (poolBoostCoef + 1000))
230230 }
231231
232232
233233 func calcBoostRwd (pool,curTotalReward) = {
234234 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
235235 (fraction(curTotalReward, poolBoostCoef, (poolBoostCoef + 1000)) / lockBoostCoefScale)
236236 }
237237
238238
239239 func calcInterest (pool,lastInterestHeight,rewardUpdateHeight,poolRewardUpdateHeight,farmInterest,boostInterest,poolVoted,boostLpInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,scaleValue) = if ((shareTokenLocked == 0))
240240 then $Tuple3(0, 0, 0)
241241 else {
242- let $t01040111825 = if (if (if ((rewardUpdateHeight > height))
242+ let $t01040611800 = if (if (if ((rewardUpdateHeight > height))
243243 then (rewardUpdateHeight == poolRewardUpdateHeight)
244244 else false)
245245 then true
246246 else if ((height > rewardUpdateHeight))
247247 then (rewardUpdateHeight != poolRewardUpdateHeight)
248248 else false)
249249 then {
250- let reward = (previousRewardPerBlock * (height - lastInterestHeight))
251- $Tuple4(reward, farmInterest, boostInterest, boostLpInterest)
250+ let r = (previousRewardPerBlock * (height - lastInterestHeight))
251+ $Tuple4(r, farmInterest, boostInterest, boostLpInterest)
252252 }
253253 else if (if (if ((height > rewardUpdateHeight))
254254 then (rewardUpdateHeight == poolRewardUpdateHeight)
255255 else false)
256256 then (lastInterestHeight > rewardUpdateHeight)
257257 else false)
258258 then {
259- let reward = (currentRewardPerBlock * (height - lastInterestHeight))
260- $Tuple4(reward, farmInterest, boostInterest, boostLpInterest)
259+ let r = (currentRewardPerBlock * (height - lastInterestHeight))
260+ $Tuple4(r, farmInterest, boostInterest, boostLpInterest)
261261 }
262262 else {
263263 let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
264264 let fAftrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
265265 let bAftrUp = (boostInterest + (if ((poolVoted > 0))
266266 then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
267267 else 0))
268268 let bLPAftrUp = (farmInterest + (if (if ((poolVoted > 0))
269269 then (shareTokenLocked > 0)
270270 else false)
271271 then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
272272 else 0))
273- let reward = (currentRewardPerBlock * (height - rewardUpdateHeight))
274- $Tuple4(reward, fAftrUp, bAftrUp, bLPAftrUp)
273+ let r = (currentRewardPerBlock * (height - rewardUpdateHeight))
274+ $Tuple4(r, fAftrUp, bAftrUp, bLPAftrUp)
275275 }
276- let reward = $t01040111825._1
277- let farmIntrBefore = $t01040111825._2
278- let boostIntrBefore = $t01040111825._3
279- let boostLPIntrBefore = $t01040111825._4
276+ let reward = $t01040611800._1
277+ let farmIntrBefore = $t01040611800._2
278+ let boostIntrBefore = $t01040611800._3
279+ let boostLPIntrBefore = $t01040611800._4
280280 let newFarmInterest = (farmIntrBefore + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked))
281281 let newBoostInterest = (boostIntrBefore + (if ((poolVoted > 0))
282282 then fraction(calcBoostRwd(pool, reward), scaleValue8, poolVoted)
283283 else 0))
284284 let newBoostLPInterest = (boostLPIntrBefore + (if (if ((poolVoted > 0))
285285 then (shareTokenLocked > 0)
286286 else false)
287287 then fraction(fraction(calcBoostRwd(pool, reward), scaleValue8, shareTokenLocked), scaleValue8, poolVoted)
288288 else 0))
289289 $Tuple3(newFarmInterest, newBoostInterest, newBoostLPInterest)
290290 }
291291
292292
293293 func claimCalc (pool,user) = {
294294 let scaleValue = calcScaleValue(SWOP, getShareAssetId(pool))
295295 let poolVoted = getPoolVoted(pool)
296296 let uPoolVoted = getUserPoolVoted(pool, user)
297297 let shareToken = getTotalShareToken(pool)
298298 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), shareToken)
299- let $t01279812896 = getLastInterestInfo(pool)
300- let lastInterestHeight = $t01279812896._1
301- let farmInterest = $t01279812896._2
302- let boostInterest = $t01279812896._3
303- let boostLPInterest = $t01279812896._4
304- let $t01290113015 = rewardInfo(pool)
305- let currentRewardPerBlock = $t01290113015._1
306- let rewardUpdateHeight = $t01290113015._2
307- let previousRewardPerBlock = $t01290113015._3
308- let poolRewardUpdateHeight = $t01290113015._4
299+ let $t01277312871 = getLastInterestInfo(pool)
300+ let lastInterestHeight = $t01277312871._1
301+ let farmInterest = $t01277312871._2
302+ let boostInterest = $t01277312871._3
303+ let boostLPInterest = $t01277312871._4
304+ let $t01287612990 = rewardInfo(pool)
305+ let currentRewardPerBlock = $t01287612990._1
306+ let rewardUpdateHeight = $t01287612990._2
307+ let previousRewardPerBlock = $t01287612990._3
308+ let poolRewardUpdateHeight = $t01287612990._4
309309 let uFarmInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kFarmUserLastInterest)), farmInterest)
310310 let uBoostInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostUserLastInterest)), boostInterest)
311311 let uBoostLPInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostLPUserLastInterest)), boostLPInterest)
312312 let uShareTokensStaked = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
313313 let uShareTokensVirt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), uShareTokensStaked)
314- let $t01358313976 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315- let newFarmInterest = $t01358313976._1
316- let newBoostInterest = $t01358313976._2
317- let newBoostLPInterest = $t01358313976._3
314+ let $t01355813951 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315+ let newFarmInterest = $t01355813951._1
316+ let newBoostInterest = $t01355813951._2
317+ let newBoostLPInterest = $t01355813951._3
318318 let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue)
319319 let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue8)
320320 let claimBoosting = (fraction((uShareTokensVirt * uPoolVoted), (newBoostLPInterest - uBoostLPInterest), scaleValue8) / scaleValue8)
321321 let toTreasury = (claimBoostingMax - claimBoosting)
322322 $Tuple5(newFarmInterest, newBoostInterest, newBoostLPInterest, (claimFarming + claimBoosting), toTreasury)
323323 }
324324
325325
326326 func availableClaimCalcAllByUser (pools,user) = {
327327 func calcAvailable (acc,pool) = {
328- let $t01460614635 = acc
329- let newPools = $t01460614635._1
330- let amounts = $t01460614635._2
331- let $t01464414703 = claimCalc(pool, user)
332- let fi = $t01464414703._1
333- let bi = $t01464414703._2
334- let blpi = $t01464414703._3
335- let claimAmount = $t01464414703._4
336- let tt = $t01464414703._5
328+ let $t01458114610 = acc
329+ let newPools = $t01458114610._1
330+ let amounts = $t01458114610._2
331+ let $t01461914678 = claimCalc(pool, user)
332+ let fi = $t01461914678._1
333+ let bi = $t01461914678._2
334+ let blpi = $t01461914678._3
335+ let claimAmount = $t01461914678._4
336+ let tt = $t01461914678._5
337337 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
338338 $Tuple2((newPools :+ user), (amounts :+ availableFund))
339339 }
340340
341341 let $l = pools
342342 let $s = size($l)
343343 let $acc0 = $Tuple2(nil, nil)
344344 func $f0_1 ($a,$i) = if (($i >= $s))
345345 then $a
346346 else calcAvailable($a, $l[$i])
347347
348348 func $f0_2 ($a,$i) = if (($i >= $s))
349349 then $a
350350 else throw("List size exceeds 60")
351351
352352 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
353353 }
354354
355355
356356 func canLockInFirstHarvest (pool,user,userShareTokensStaked,pmtAmount,lockType) = if ((getHeightFirstHarvest(pool) > height))
357357 then {
358358 let totalVoteAmount = valueOrElse(getInteger(votingAddress, (pool + kHarvestPoolVote)), 0)
359359 let userVoteAmount = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kHarvestPoolVote)), 0)
360360 let FHShareTokenLimit = getFHShareLimitToken(addressFromStringValue(pool))
361361 let FHShareTokenUserLimit = (fraction(FHShareTokenLimit, userVoteAmount, totalVoteAmount) - userShareTokensStaked)
362362 if ((lockType > 0))
363363 then throw("You can't lock shareTokens till first harvest end.")
364364 else if ((userVoteAmount == 0))
365365 then 0
366366 else if ((pmtAmount >= FHShareTokenUserLimit))
367367 then (pmtAmount - FHShareTokenUserLimit)
368368 else 0
369369 }
370370 else 0
371371
372372
373373 func getLockParams (type) = {
374374 let lockParams = split(valueOrErrorMessage(getString(this, (toString(type) + kLockParams)), ("There are no key for lock type" + toString(type))), "_")
375375 $Tuple2(parseIntValue(lockParams[0]), parseIntValue(lockParams[1]))
376376 }
377377
378378
379379 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
380380
381381
382382 func isActive () = if (if (active)
383383 then activeGlob
384384 else false)
385385 then unit
386386 else throw("DApp is inactive at this moment")
387387
388388
389389 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
390390 then unit
391391 else throw("Only admin can call this function")
392392
393393
394394 @Callable(i)
395395 func init (earlyLP) = if (isDefined(getString(this, kSWOPid)))
396396 then throw("SWOP already initialized")
397397 else {
398398 let initAmount = 100000000000000
399399 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
400400 let SWOPid = calculateAssetId(SWOPissue)
401401 [BooleanEntry(kActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(kSWOPid, toBase58String(SWOPid))]
402402 }
403403
404404
405405
406406 @Callable(i)
407407 func initPoolShareFarming (pool) = valueOrElse(isAdminCall(i), [IntegerEntry((pool + kShareTotalShareTokens), 0), IntegerEntry((pool + kFarmLastInterest), 0), IntegerEntry((pool + kBoostLastInterest), 0), IntegerEntry((pool + kBoostLPLastInterest), 0), IntegerEntry((pool + kLastInterestHeight), height)])
408408
409409
410410
411411 @Callable(i)
412412 func updatePoolInterest (pool) = valueOrElse(isActive(), if ((i.caller != govAddress))
413413 then throw("Only Governance can call this function")
414414 else {
415415 let user = toString(addressFromPublicKey(adminInvokePubKey))
416- let $t01743517509 = claimCalc(pool, user)
417- let farmInterest = $t01743517509._1
418- let boostInterest = $t01743517509._2
419- let boostLPinterest = $t01743517509._3
416+ let $t01741017484 = claimCalc(pool, user)
417+ let farmInterest = $t01741017484._1
418+ let boostInterest = $t01741017484._2
419+ let boostLPinterest = $t01741017484._3
420420 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)]
421421 })
422422
423423
424424
425425 @Callable(i)
426426 func lockShareTokens (pool,lockType) = valueOrElse(isActive(), {
427427 let shareAssetId = getShareAssetId(pool)
428428 let user = toString(i.originCaller)
429429 let totalShare = getTotalShareToken(pool)
430430 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
431431 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
432432 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
433433 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
434434 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
435435 let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount)
436- let $t01861818670 = getLockParams(lockType)
437- let lockPeriod = $t01861818670._1
438- let lockCoef = $t01861818670._2
436+ let $t01859318645 = getLockParams(lockType)
437+ let lockPeriod = $t01859318645._1
438+ let lockCoef = $t01859318645._2
439439 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
440440 if ((i.payments[0].assetId != shareAssetId))
441441 then throw("Wrong sharetoken in payment")
442442 else if ((0 >= i.payments[0].amount))
443443 then throw("Payment amount must be greater than 0")
444444 else if ((0 > lockType))
445445 then throw("lockType must be >= 0")
446446 else {
447447 let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType)
448448 if ((shareTokensChangeOnFH == shareTokensChangeOnFH))
449449 then {
450- let $t01909720942 = if ((lockType == 0))
450+ let $t01907220917 = if ((lockType == 0))
451451 then {
452452 let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH)
453453 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), ((userStakedAmount + i.payments[0].amount) - shareTokensChangeOnFH)), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual + i.payments[0].amount) - shareTokensChangeOnFH)), ScriptTransfer(i.originCaller, shareTokensChangeOnFH, i.payments[0].assetId)], ((totalShare + i.payments[0].amount) - shareTokensChangeOnFH))
454454 }
455455 else if (if ((userLockedHeigt == 0))
456456 then if (if ((2 > size(i.payments)))
457457 then true
458458 else (i.payments[1].assetId != unit))
459459 then true
460460 else (lockWavesFee > i.payments[1].amount)
461461 else false)
462462 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
463463 else if ((userLockedHeigt > (height + lockPeriod)))
464464 then throw("You cannot lock sharetokens for a period less than what you have already locked")
465465 else {
466466 let userLockedAmountNew = (userLockedAmount + i.payments[0].amount)
467467 let userLockedHeigtNew = (height + lockPeriod)
468468 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
469469 $Tuple2([IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew))], (totalShare + i.payments[0].amount))
470470 }
471- let lockEntries = $t01909720942._1
472- let totalShareNew = $t01909720942._2
471+ let lockEntries = $t01907220917._1
472+ let totalShareNew = $t01907220917._2
473473 if ((accountBalance(shareAssetId) > totalShareNew))
474474 then throw("Balance of share-token is lower than totalAmount")
475475 else {
476- let $t02106721166 = claimCalc(pool, user)
477- let farmInterest = $t02106721166._1
478- let boostInterest = $t02106721166._2
479- let boostLPinterest = $t02106721166._3
480- let claimAmount = $t02106721166._4
481- let toTreasure = $t02106721166._5
476+ let $t02104221141 = claimCalc(pool, user)
477+ let farmInterest = $t02104221141._1
478+ let boostInterest = $t02104221141._2
479+ let boostLPinterest = $t02104221141._3
480+ let claimAmount = $t02104221141._4
481+ let toTreasure = $t02104221141._5
482482 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
483483 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
484484 then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil)
485485 else 0
486486 if ((uplp == uplp))
487487 then ([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((pool + kShareTotalShareTokens), totalShareNew), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP)] ++ lockEntries)
488488 else throw("Strict value is not equal to itself.")
489489 }
490490 }
491491 else throw("Strict value is not equal to itself.")
492492 }
493493 })
494494
495495
496496
497497 @Callable(i)
498498 func lockStakedShareTokens (pool,lockType,lockAmount) = valueOrElse(isActive(), {
499499 let shareAssetId = getShareAssetId(pool)
500500 let user = toString(i.originCaller)
501501 let totalShare = getTotalShareToken(pool)
502502 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
503503 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
504504 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
505505 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
506506 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
507507 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
508- let $t02306423116 = getLockParams(lockType)
509- let lockPeriod = $t02306423116._1
510- let lockCoef = $t02306423116._2
508+ let $t02303923091 = getLockParams(lockType)
509+ let lockPeriod = $t02303923091._1
510+ let lockCoef = $t02303923091._2
511511 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
512512 if ((getHeightFirstHarvest(pool) > height))
513513 then throw("You can't lock shareTokens till first harvest end.")
514514 else if ((0 >= lockType))
515515 then throw("lockType must be > 0")
516516 else if ((lockAmount > userStakedAmount))
517517 then throw(("You can't lock more than " + toString(userStakedAmount)))
518518 else if ((accountBalance(shareAssetId) > totalShare))
519519 then throw("Balance of share-token is lower than totalAmount")
520520 else if (if ((userLockedHeigt == 0))
521521 then if (if ((1 > size(i.payments)))
522522 then true
523523 else (i.payments[0].assetId != unit))
524524 then true
525525 else (lockWavesFee > i.payments[0].amount)
526526 else false)
527527 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
528528 else if (if ((userLockedHeigt == 0))
529529 then (0 >= lockAmount)
530530 else false)
531531 then throw("lockAmount must be greater than 0")
532532 else if ((0 > lockAmount))
533533 then throw("lockAmount must be positive")
534534 else if ((userLockedHeigt > (height + lockPeriod)))
535535 then throw("You cannot lock sharetokens for a period less than what you have already locked")
536536 else {
537537 let userLockedAmountNew = (userLockedAmount + lockAmount)
538538 let userStakedAmountNew = (userStakedAmount - lockAmount)
539539 let userLockedHeigtNew = (height + lockPeriod)
540540 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
541- let $t02440324502 = claimCalc(pool, user)
542- let farmInterest = $t02440324502._1
543- let boostInterest = $t02440324502._2
544- let boostLPinterest = $t02440324502._3
545- let claimAmount = $t02440324502._4
546- let toTreasure = $t02440324502._5
541+ let $t02437824477 = claimCalc(pool, user)
542+ let farmInterest = $t02437824477._1
543+ let boostInterest = $t02437824477._2
544+ let boostLPinterest = $t02437824477._3
545+ let claimAmount = $t02437824477._4
546+ let toTreasure = $t02437824477._5
547547 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
548548 [IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLocked), userLockedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedHeight), userLockedHeigtNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensLockedType), lockType), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userAmountVirtualNew)), IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP)]
549549 }
550550 })
551551
552552
553553
554554 @Callable(i)
555555 func unlockUserLock (pool,user) = valueOrElse(isActive(), {
556556 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
557557 let userLockedHeigt = valueOrErrorMessage(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), (((("There is no pool " + pool) + " or user ") + user) + "with lock"))
558558 let totalShareVirtual = getIntegerValue(this, (pool + kShareTokensVirtual))
559559 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
560560 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
561561 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
562562 if ((userLockedHeigt > height))
563563 then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt)))
564564 else {
565565 let userStakedAmountNew = (userStakedAmount + userLockedAmount)
566- let $t02672826827 = claimCalc(pool, user)
567- let farmInterest = $t02672826827._1
568- let boostInterest = $t02672826827._2
569- let boostLPinterest = $t02672826827._3
570- let claimAmount = $t02672826827._4
571- let toTreasure = $t02672826827._5
566+ let $t02670326802 = claimCalc(pool, user)
567+ let farmInterest = $t02670326802._1
568+ let boostInterest = $t02670326802._2
569+ let boostLPinterest = $t02670326802._3
570+ let claimAmount = $t02670326802._4
571+ let toTreasure = $t02670326802._5
572572 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
573573 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userStakedAmountNew), IntegerEntry((pool + kShareTokensVirtual), ((totalShareVirtual - userAmountVirtual) + userStakedAmountNew)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLocked)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedHeight)), DeleteEntry((((pool + "_") + user) + kUserShareTokensLockedType)), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(i.caller, lockWavesFee, unit)]
574574 }
575575 })
576576
577577
578578
579579 @Callable(i)
580580 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), {
581581 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
582582 let user = toString(i.originCaller)
583- let $t02832128420 = claimCalc(pool, user)
584- let farmInterest = $t02832128420._1
585- let boostInterest = $t02832128420._2
586- let boostLPinterest = $t02832128420._3
587- let claimAmount = $t02832128420._4
588- let toTreasure = $t02832128420._5
583+ let $t02829628395 = claimCalc(pool, user)
584+ let farmInterest = $t02829628395._1
585+ let boostInterest = $t02829628395._2
586+ let boostLPinterest = $t02829628395._3
587+ let claimAmount = $t02829628395._4
588+ let toTreasure = $t02829628395._5
589589 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
590590 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
591591 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
592592 let userStakedAmountNew = (userStakedAmount - shareTokensWithdrawAmount)
593593 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
594594 let totalShareAmount = getTotalShareToken(pool)
595595 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShareAmount)
596596 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
597597 let totalShareVirtualNew = (totalShareVirtual - shareTokensWithdrawAmount)
598598 let userAmountVirtualNew = (userAmountVirtual - shareTokensWithdrawAmount)
599599 if ((shareTokensWithdrawAmount > userStakedAmount))
600600 then throw("Withdraw amount more then user locked amount")
601601 else if ((accountBalance(shareTokensId) > totalShareAmount))
602602 then throw("Balance of share-token is lower than totalAmount")
603603 else {
604604 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
605605 then invoke(lpFarmingAddress, "updateUserInterest", [pool, (userStakedAmount + userLockedAmount)], nil)
606606 else 0
607607 if ((uplp == uplp))
608608 then [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kUserShareTokensStaked), userStakedAmountNew), IntegerEntry((((pool + "_") + user) + kUserShareTokensVirtual), userAmountVirtualNew), IntegerEntry((pool + kShareTotalShareTokens), totalShareAmountNew), IntegerEntry((pool + kShareTokensVirtual), totalShareVirtualNew), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(i.caller, shareTokensWithdrawAmount, shareTokensId)]
609609 else throw("Strict value is not equal to itself.")
610610 }
611611 })
612612
613613
614614
615615 @Callable(i)
616616 func claim (pool) = valueOrElse(isActive(), {
617617 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
618618 let user = toString(i.caller)
619619 let shareTokenLocked = getTotalShareToken(pool)
620- let $t03107931178 = claimCalc(pool, user)
621- let farmInterest = $t03107931178._1
622- let boostInterest = $t03107931178._2
623- let boostLPinterest = $t03107931178._3
624- let claimAmount = $t03107931178._4
625- let toTreasure = $t03107931178._5
620+ let $t03105431153 = claimCalc(pool, user)
621+ let farmInterest = $t03105431153._1
622+ let boostInterest = $t03105431153._2
623+ let boostLPinterest = $t03105431153._3
624+ let claimAmount = $t03105431153._4
625+ let toTreasure = $t03105431153._5
626626 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
627627 if ((availableFund == 0))
628628 then throw("You have 0 available SWOP")
629629 else if ((accountBalance(shareTokensId) > shareTokenLocked))
630630 then throw("Balance of share-token is lower than totalAmount")
631631 else $Tuple2([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), 0), Reissue(SWOP, (toTreasure + availableFund), true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP), ScriptTransfer(i.caller, availableFund, SWOP)], availableFund)
632632 })
633633
634634
635635
636636 @Callable(i)
637637 func claimAndStake (pool) = valueOrElse(isActive(), {
638638 let claimAmount = {
639639 let @ = invoke(this, "claim", [pool], nil)
640640 if ($isInstanceOf(@, "Int"))
641641 then @
642642 else throw(($getType(@) + " couldn't be cast to Int"))
643643 }
644644 if ((claimAmount == claimAmount))
645645 then {
646646 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimAmount)])
647647 if ((stakeToGov == stakeToGov))
648648 then nil
649649 else throw("Strict value is not equal to itself.")
650650 }
651651 else throw("Strict value is not equal to itself.")
652652 })
653653
654654
655655
656656 @Callable(i)
657657 func claimAll (pools) = valueOrElse(isActive(), {
658658 func claimInv (claimTotal,pool) = {
659659 let claimAmount = {
660660 let @ = invoke(this, "claim", [pool], nil)
661661 if ($isInstanceOf(@, "Int"))
662662 then @
663663 else throw(($getType(@) + " couldn't be cast to Int"))
664664 }
665665 if ((claimAmount == claimAmount))
666666 then (claimTotal + claimAmount)
667667 else throw("Strict value is not equal to itself.")
668668 }
669669
670670 let claimTotal = {
671671 let $l = pools
672672 let $s = size($l)
673673 let $acc0 = 0
674674 func $f0_1 ($a,$i) = if (($i >= $s))
675675 then $a
676676 else claimInv($a, $l[$i])
677677
678678 func $f0_2 ($a,$i) = if (($i >= $s))
679679 then $a
680680 else throw("List size exceeds 60")
681681
682682 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
683683 }
684684 if ((claimTotal == 0))
685685 then throw("You have 0 available SWOP")
686686 else [ScriptTransfer(i.caller, claimTotal, SWOP)]
687687 })
688688
689689
690690
691691 @Callable(i)
692692 func claimAllAndStake (pools) = valueOrElse(isActive(), {
693693 func claimInv (claimTotal,pool) = {
694694 let claimAmount = {
695695 let @ = invoke(this, "claim", [pool], nil)
696696 if ($isInstanceOf(@, "Int"))
697697 then @
698698 else throw(($getType(@) + " couldn't be cast to Int"))
699699 }
700700 if ((claimAmount == claimAmount))
701701 then (claimTotal + claimAmount)
702702 else throw("Strict value is not equal to itself.")
703703 }
704704
705705 let claimTotal = {
706706 let $l = pools
707707 let $s = size($l)
708708 let $acc0 = 0
709709 func $f0_1 ($a,$i) = if (($i >= $s))
710710 then $a
711711 else claimInv($a, $l[$i])
712712
713713 func $f0_2 ($a,$i) = if (($i >= $s))
714714 then $a
715715 else throw("List size exceeds 60")
716716
717717 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
718718 }
719719 if ((claimTotal == 0))
720720 then throw("You have 0 available SWOP")
721721 else {
722722 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimTotal)])
723723 if ((stakeToGov == stakeToGov))
724724 then nil
725725 else throw("Strict value is not equal to itself.")
726726 }
727727 })
728728
729729
730730
731731 @Callable(i)
732732 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
733733 then throw("Only voiting can call this function")
734734 else {
735- let $t03355433653 = claimCalc(pool, user)
736- let farmInterest = $t03355433653._1
737- let boostInterest = $t03355433653._2
738- let boostLPinterest = $t03355433653._3
739- let claimAmount = $t03355433653._4
740- let toTreasure = $t03355433653._5
735+ let $t03352933628 = claimCalc(pool, user)
736+ let farmInterest = $t03352933628._1
737+ let boostInterest = $t03352933628._2
738+ let boostLPinterest = $t03352933628._3
739+ let claimAmount = $t03352933628._4
740+ let toTreasure = $t03352933628._5
741741 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
742742 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height), IntegerEntry((((pool + "_") + user) + kAvailableSWOP), availableFundsNew), Reissue(SWOP, toTreasure, true), ScriptTransfer(farmingTreasureAddr, toTreasure, SWOP)]
743743 })
744744
745745
746746
747747 @Callable(i)
748748 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
749749 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
750750 else suspend("Paused by admin"))
751751
752752
753753
754754 @Callable(i)
755755 func activate () = valueOrElse(isAdminCall(i), if (active)
756756 then throw("DApp is already active")
757757 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
758758
759759
760760 @Verifier(tx)
761761 func verify () = match tx {
762762 case _ =>
763763 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
764764 then 1
765765 else 0
766766 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
767767 then 1
768768 else 0
769769 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
770770 then 1
771771 else 0
772772 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
773773 }
774774

github/deemru/w8io/026f985 
115.68 ms