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
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 $t01042111818 = if (if (if ((rewardUpdateHeight > height))
242+ let $t01042111858 = if (if (if ((rewardUpdateHeight > height))
243243 then (rewardUpdateHeight == poolRewardUpdateHeight)
244244 else false)
245245 then true
261261 }
262262 else {
263263 let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
264- let fAftrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
265- let bAftrUp = (boostInterest + (if ((poolVoted > 0))
266- then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
264+ let fBfrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
265+ let bBfrUp = (boostInterest + (if ((poolVoted > 0))
266+ then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue8, poolVoted)
267267 else 0))
268- let bLPAftrUp = (boostLpInterest + (if (if ((poolVoted > 0))
268+ let bLPBfrUp = (boostLpInterest + (if (if ((poolVoted > 0))
269269 then (shareTokenLocked > 0)
270270 else false)
271- then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
271+ then fraction(fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue8, shareTokenLocked), scaleValue8, poolVoted)
272272 else 0))
273- let r = (currentRewardPerBlock * (height - rewardUpdateHeight))
274- $Tuple4(r, fAftrUp, bAftrUp, bLPAftrUp)
273+ let rwd = (currentRewardPerBlock * (height - rewardUpdateHeight))
274+ $Tuple4(rwd, fBfrUp, bBfrUp, bLPBfrUp)
275275 }
276- let reward = $t01042111818._1
277- let farmIntrBefore = $t01042111818._2
278- let boostIntrBefore = $t01042111818._3
279- let boostLPIntrBefore = $t01042111818._4
276+ let reward = $t01042111858._1
277+ let farmIntrBefore = $t01042111858._2
278+ let boostIntrBefore = $t01042111858._3
279+ let boostLPIntrBefore = $t01042111858._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 $t01279112889 = getLastInterestInfo(pool)
300- let lastInterestHeight = $t01279112889._1
301- let farmInterest = $t01279112889._2
302- let boostInterest = $t01279112889._3
303- let boostLPInterest = $t01279112889._4
304- let $t01289413008 = rewardInfo(pool)
305- let currentRewardPerBlock = $t01289413008._1
306- let rewardUpdateHeight = $t01289413008._2
307- let previousRewardPerBlock = $t01289413008._3
308- let poolRewardUpdateHeight = $t01289413008._4
299+ let $t01283112929 = getLastInterestInfo(pool)
300+ let lastInterestHeight = $t01283112929._1
301+ let farmInterest = $t01283112929._2
302+ let boostInterest = $t01283112929._3
303+ let boostLPInterest = $t01283112929._4
304+ let $t01293413048 = rewardInfo(pool)
305+ let currentRewardPerBlock = $t01293413048._1
306+ let rewardUpdateHeight = $t01293413048._2
307+ let previousRewardPerBlock = $t01293413048._3
308+ let poolRewardUpdateHeight = $t01293413048._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 $t01357613969 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315- let newFarmInterest = $t01357613969._1
316- let newBoostInterest = $t01357613969._2
317- let newBoostLPInterest = $t01357613969._3
314+ let $t01361614009 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315+ let newFarmInterest = $t01361614009._1
316+ let newBoostInterest = $t01361614009._2
317+ let newBoostLPInterest = $t01361614009._3
318318 let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue)
319319 let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue8)
320320 let mul = fraction(toBigInt(uShareTokensVirt), toBigInt(uPoolVoted), toBigInt(1))
328328
329329 func availableClaimCalcAllByUser (pools,user) = {
330330 func calcAvailable (acc,pool) = {
331- let $t01478014809 = acc
332- let newPools = $t01478014809._1
333- let amounts = $t01478014809._2
334- let $t01481814877 = claimCalc(pool, user)
335- let fi = $t01481814877._1
336- let bi = $t01481814877._2
337- let blpi = $t01481814877._3
338- let claimAmount = $t01481814877._4
339- let tt = $t01481814877._5
331+ let $t01482014849 = acc
332+ let newPools = $t01482014849._1
333+ let amounts = $t01482014849._2
334+ let $t01485814917 = claimCalc(pool, user)
335+ let fi = $t01485814917._1
336+ let bi = $t01485814917._2
337+ let blpi = $t01485814917._3
338+ let claimAmount = $t01485814917._4
339+ let tt = $t01485814917._5
340340 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
341341 $Tuple2((newPools :+ user), (amounts :+ availableFund))
342342 }
416416 then throw("Only Governance can call this function")
417417 else {
418418 let user = toString(addressFromPublicKey(adminInvokePubKey))
419- let $t01760917683 = claimCalc(pool, user)
420- let farmInterest = $t01760917683._1
421- let boostInterest = $t01760917683._2
422- let boostLPinterest = $t01760917683._3
419+ let $t01764917723 = claimCalc(pool, user)
420+ let farmInterest = $t01764917723._1
421+ let boostInterest = $t01764917723._2
422+ let boostLPinterest = $t01764917723._3
423423 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)]
424424 })
425425
436436 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
437437 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
438438 let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount)
439- let $t01879218844 = getLockParams(lockType)
440- let lockPeriod = $t01879218844._1
441- let lockCoef = $t01879218844._2
439+ let $t01883218884 = getLockParams(lockType)
440+ let lockPeriod = $t01883218884._1
441+ let lockCoef = $t01883218884._2
442442 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
443443 if ((i.payments[0].assetId != shareAssetId))
444444 then throw("Wrong sharetoken in payment")
450450 let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType)
451451 if ((shareTokensChangeOnFH == shareTokensChangeOnFH))
452452 then {
453- let $t01927121116 = if ((lockType == 0))
453+ let $t01931121156 = if ((lockType == 0))
454454 then {
455455 let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH)
456456 $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))
471471 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
472472 $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))
473473 }
474- let lockEntries = $t01927121116._1
475- let totalShareNew = $t01927121116._2
474+ let lockEntries = $t01931121156._1
475+ let totalShareNew = $t01931121156._2
476476 if ((accountBalance(shareAssetId) > totalShareNew))
477477 then throw("Balance of share-token is lower than totalAmount")
478478 else {
479- let $t02124121340 = claimCalc(pool, user)
480- let farmInterest = $t02124121340._1
481- let boostInterest = $t02124121340._2
482- let boostLPinterest = $t02124121340._3
483- let claimAmount = $t02124121340._4
484- let toTreasure = $t02124121340._5
479+ let $t02128121380 = claimCalc(pool, user)
480+ let farmInterest = $t02128121380._1
481+ let boostInterest = $t02128121380._2
482+ let boostLPinterest = $t02128121380._3
483+ let claimAmount = $t02128121380._4
484+ let toTreasure = $t02128121380._5
485485 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
486486 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
487487 then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil)
508508 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
509509 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
510510 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
511- let $t02324223294 = getLockParams(lockType)
512- let lockPeriod = $t02324223294._1
513- let lockCoef = $t02324223294._2
511+ let $t02328223334 = getLockParams(lockType)
512+ let lockPeriod = $t02328223334._1
513+ let lockCoef = $t02328223334._2
514514 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
515515 if ((getHeightFirstHarvest(pool) > height))
516516 then throw("You can't lock shareTokens till first harvest end.")
541541 let userStakedAmountNew = (userStakedAmount - lockAmount)
542542 let userLockedHeigtNew = (height + lockPeriod)
543543 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
544- let $t02458124680 = claimCalc(pool, user)
545- let farmInterest = $t02458124680._1
546- let boostInterest = $t02458124680._2
547- let boostLPinterest = $t02458124680._3
548- let claimAmount = $t02458124680._4
549- let toTreasure = $t02458124680._5
544+ let $t02462124720 = claimCalc(pool, user)
545+ let farmInterest = $t02462124720._1
546+ let boostInterest = $t02462124720._2
547+ let boostLPinterest = $t02462124720._3
548+ let claimAmount = $t02462124720._4
549+ let toTreasure = $t02462124720._5
550550 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
551551 [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) + kBoostLPUserLastInterest), 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)]
552552 }
566566 then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt)))
567567 else {
568568 let userStakedAmountNew = (userStakedAmount + userLockedAmount)
569- let $t02691027009 = claimCalc(pool, user)
570- let farmInterest = $t02691027009._1
571- let boostInterest = $t02691027009._2
572- let boostLPinterest = $t02691027009._3
573- let claimAmount = $t02691027009._4
574- let toTreasure = $t02691027009._5
569+ let $t02695027049 = claimCalc(pool, user)
570+ let farmInterest = $t02695027049._1
571+ let boostInterest = $t02695027049._2
572+ let boostLPinterest = $t02695027049._3
573+ let claimAmount = $t02695027049._4
574+ let toTreasure = $t02695027049._5
575575 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
576576 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)]
577577 }
583583 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), {
584584 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
585585 let user = toString(i.originCaller)
586- let $t02850728606 = claimCalc(pool, user)
587- let farmInterest = $t02850728606._1
588- let boostInterest = $t02850728606._2
589- let boostLPinterest = $t02850728606._3
590- let claimAmount = $t02850728606._4
591- let toTreasure = $t02850728606._5
586+ let $t02854728646 = claimCalc(pool, user)
587+ let farmInterest = $t02854728646._1
588+ let boostInterest = $t02854728646._2
589+ let boostLPinterest = $t02854728646._3
590+ let claimAmount = $t02854728646._4
591+ let toTreasure = $t02854728646._5
592592 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
593593 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
594594 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
620620 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
621621 let user = toString(i.originCaller)
622622 let shareTokenLocked = getTotalShareToken(pool)
623- let $t03127531374 = claimCalc(pool, user)
624- let farmInterest = $t03127531374._1
625- let boostInterest = $t03127531374._2
626- let boostLPinterest = $t03127531374._3
627- let claimAmount = $t03127531374._4
628- let toTreasure = $t03127531374._5
623+ let $t03131531414 = claimCalc(pool, user)
624+ let farmInterest = $t03131531414._1
625+ let boostInterest = $t03131531414._2
626+ let boostLPinterest = $t03131531414._3
627+ let claimAmount = $t03131531414._4
628+ let toTreasure = $t03131531414._5
629629 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
630630 if ((availableFund == 0))
631631 then throw("You have 0 available SWOP")
740740 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
741741 then throw("Only voiting can call this function")
742742 else {
743- let $t03381233911 = claimCalc(pool, user)
744- let farmInterest = $t03381233911._1
745- let boostInterest = $t03381233911._2
746- let boostLPinterest = $t03381233911._3
747- let claimAmount = $t03381233911._4
748- let toTreasure = $t03381233911._5
743+ let $t03385233951 = claimCalc(pool, user)
744+ let farmInterest = $t03385233951._1
745+ let boostInterest = $t03385233951._2
746+ let boostLPinterest = $t03385233951._3
747+ let claimAmount = $t03385233951._4
748+ let toTreasure = $t03385233951._5
749749 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
750750 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)]
751751 })
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) + kUserPoolVote)), 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 + kBoostLastInterest)), (("No data on the key: " + pool) + kBoostLastInterest))
221221 let boostLPInterest = valueOrErrorMessage(getInteger(this, (pool + kBoostLPLastInterest)), (("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)
229229 fraction(curTotalReward, lockBoostCoefScale, (poolBoostCoef + lockBoostCoefScale))
230230 }
231231
232232
233233 func calcBoostRwd (pool,curTotalReward) = {
234234 let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef)
235235 fraction(curTotalReward, poolBoostCoef, (poolBoostCoef + 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 $t01042111818 = if (if (if ((rewardUpdateHeight > height))
242+ let $t01042111858 = 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 {
250250 let r = (previousRewardPerBlock * (height - lastInterestHeight))
251251 $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 {
259259 let r = (currentRewardPerBlock * (height - lastInterestHeight))
260260 $Tuple4(r, farmInterest, boostInterest, boostLpInterest)
261261 }
262262 else {
263263 let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight))
264- let fAftrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
265- let bAftrUp = (boostInterest + (if ((poolVoted > 0))
266- then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
264+ let fBfrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked))
265+ let bBfrUp = (boostInterest + (if ((poolVoted > 0))
266+ then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue8, poolVoted)
267267 else 0))
268- let bLPAftrUp = (boostLpInterest + (if (if ((poolVoted > 0))
268+ let bLPBfrUp = (boostLpInterest + (if (if ((poolVoted > 0))
269269 then (shareTokenLocked > 0)
270270 else false)
271- then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted)
271+ then fraction(fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue8, shareTokenLocked), scaleValue8, poolVoted)
272272 else 0))
273- let r = (currentRewardPerBlock * (height - rewardUpdateHeight))
274- $Tuple4(r, fAftrUp, bAftrUp, bLPAftrUp)
273+ let rwd = (currentRewardPerBlock * (height - rewardUpdateHeight))
274+ $Tuple4(rwd, fBfrUp, bBfrUp, bLPBfrUp)
275275 }
276- let reward = $t01042111818._1
277- let farmIntrBefore = $t01042111818._2
278- let boostIntrBefore = $t01042111818._3
279- let boostLPIntrBefore = $t01042111818._4
276+ let reward = $t01042111858._1
277+ let farmIntrBefore = $t01042111858._2
278+ let boostIntrBefore = $t01042111858._3
279+ let boostLPIntrBefore = $t01042111858._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 $t01279112889 = getLastInterestInfo(pool)
300- let lastInterestHeight = $t01279112889._1
301- let farmInterest = $t01279112889._2
302- let boostInterest = $t01279112889._3
303- let boostLPInterest = $t01279112889._4
304- let $t01289413008 = rewardInfo(pool)
305- let currentRewardPerBlock = $t01289413008._1
306- let rewardUpdateHeight = $t01289413008._2
307- let previousRewardPerBlock = $t01289413008._3
308- let poolRewardUpdateHeight = $t01289413008._4
299+ let $t01283112929 = getLastInterestInfo(pool)
300+ let lastInterestHeight = $t01283112929._1
301+ let farmInterest = $t01283112929._2
302+ let boostInterest = $t01283112929._3
303+ let boostLPInterest = $t01283112929._4
304+ let $t01293413048 = rewardInfo(pool)
305+ let currentRewardPerBlock = $t01293413048._1
306+ let rewardUpdateHeight = $t01293413048._2
307+ let previousRewardPerBlock = $t01293413048._3
308+ let poolRewardUpdateHeight = $t01293413048._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 $t01357613969 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315- let newFarmInterest = $t01357613969._1
316- let newBoostInterest = $t01357613969._2
317- let newBoostLPInterest = $t01357613969._3
314+ let $t01361614009 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue)
315+ let newFarmInterest = $t01361614009._1
316+ let newBoostInterest = $t01361614009._2
317+ let newBoostLPInterest = $t01361614009._3
318318 let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue)
319319 let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue8)
320320 let mul = fraction(toBigInt(uShareTokensVirt), toBigInt(uPoolVoted), toBigInt(1))
321321 let claimBoosting = toInt(fraction(fraction(mul, toBigInt((newBoostLPInterest - uBoostLPInterest)), toBigInt(scaleValue8)), toBigInt(1), toBigInt(scaleValue8)))
322322 let toTreasury = (claimBoostingMax - claimBoosting)
323323 if ((0 > toTreasury))
324324 then throw("toTreasury < 0")
325325 else $Tuple5(newFarmInterest, newBoostInterest, newBoostLPInterest, (claimFarming + claimBoosting), toTreasury)
326326 }
327327
328328
329329 func availableClaimCalcAllByUser (pools,user) = {
330330 func calcAvailable (acc,pool) = {
331- let $t01478014809 = acc
332- let newPools = $t01478014809._1
333- let amounts = $t01478014809._2
334- let $t01481814877 = claimCalc(pool, user)
335- let fi = $t01481814877._1
336- let bi = $t01481814877._2
337- let blpi = $t01481814877._3
338- let claimAmount = $t01481814877._4
339- let tt = $t01481814877._5
331+ let $t01482014849 = acc
332+ let newPools = $t01482014849._1
333+ let amounts = $t01482014849._2
334+ let $t01485814917 = claimCalc(pool, user)
335+ let fi = $t01485814917._1
336+ let bi = $t01485814917._2
337+ let blpi = $t01485814917._3
338+ let claimAmount = $t01485814917._4
339+ let tt = $t01485814917._5
340340 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
341341 $Tuple2((newPools :+ user), (amounts :+ availableFund))
342342 }
343343
344344 let $l = pools
345345 let $s = size($l)
346346 let $acc0 = $Tuple2(nil, nil)
347347 func $f0_1 ($a,$i) = if (($i >= $s))
348348 then $a
349349 else calcAvailable($a, $l[$i])
350350
351351 func $f0_2 ($a,$i) = if (($i >= $s))
352352 then $a
353353 else throw("List size exceeds 60")
354354
355355 $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)
356356 }
357357
358358
359359 func canLockInFirstHarvest (pool,user,userShareTokensStaked,pmtAmount,lockType) = if ((getHeightFirstHarvest(pool) > height))
360360 then {
361361 let totalVoteAmount = valueOrElse(getInteger(votingAddress, (pool + kHarvestPoolVote)), 0)
362362 let userVoteAmount = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kHarvestPoolVote)), 0)
363363 let FHShareTokenLimit = getFHShareLimitToken(addressFromStringValue(pool))
364364 let FHShareTokenUserLimit = (fraction(FHShareTokenLimit, userVoteAmount, totalVoteAmount) - userShareTokensStaked)
365365 if ((lockType > 0))
366366 then throw("You can't lock shareTokens till first harvest end.")
367367 else if ((userVoteAmount == 0))
368368 then 0
369369 else if ((pmtAmount >= FHShareTokenUserLimit))
370370 then (pmtAmount - FHShareTokenUserLimit)
371371 else 0
372372 }
373373 else 0
374374
375375
376376 func getLockParams (type) = {
377377 let lockParams = split(valueOrErrorMessage(getString(this, (toString(type) + kLockParams)), ("There are no key for lock type" + toString(type))), "_")
378378 $Tuple2(parseIntValue(lockParams[0]), parseIntValue(lockParams[1]))
379379 }
380380
381381
382382 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
383383
384384
385385 func isActive () = if (if (active)
386386 then activeGlob
387387 else false)
388388 then unit
389389 else throw("DApp is inactive at this moment")
390390
391391
392392 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
393393 then unit
394394 else throw("Only admin can call this function")
395395
396396
397397 @Callable(i)
398398 func init (earlyLP) = if (isDefined(getString(this, kSWOPid)))
399399 then throw("SWOP already initialized")
400400 else {
401401 let initAmount = 100000000000000
402402 let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true)
403403 let SWOPid = calculateAssetId(SWOPissue)
404404 [BooleanEntry(kActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(kSWOPid, toBase58String(SWOPid))]
405405 }
406406
407407
408408
409409 @Callable(i)
410410 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)])
411411
412412
413413
414414 @Callable(i)
415415 func updatePoolInterest (pool) = valueOrElse(isActive(), if ((i.caller != govAddress))
416416 then throw("Only Governance can call this function")
417417 else {
418418 let user = toString(addressFromPublicKey(adminInvokePubKey))
419- let $t01760917683 = claimCalc(pool, user)
420- let farmInterest = $t01760917683._1
421- let boostInterest = $t01760917683._2
422- let boostLPinterest = $t01760917683._3
419+ let $t01764917723 = claimCalc(pool, user)
420+ let farmInterest = $t01764917723._1
421+ let boostInterest = $t01764917723._2
422+ let boostLPinterest = $t01764917723._3
423423 [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)]
424424 })
425425
426426
427427
428428 @Callable(i)
429429 func lockShareTokens (pool,lockType) = valueOrElse(isActive(), {
430430 let shareAssetId = getShareAssetId(pool)
431431 let user = toString(i.originCaller)
432432 let totalShare = getTotalShareToken(pool)
433433 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
434434 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
435435 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
436436 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
437437 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
438438 let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount)
439- let $t01879218844 = getLockParams(lockType)
440- let lockPeriod = $t01879218844._1
441- let lockCoef = $t01879218844._2
439+ let $t01883218884 = getLockParams(lockType)
440+ let lockPeriod = $t01883218884._1
441+ let lockCoef = $t01883218884._2
442442 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
443443 if ((i.payments[0].assetId != shareAssetId))
444444 then throw("Wrong sharetoken in payment")
445445 else if ((0 >= i.payments[0].amount))
446446 then throw("Payment amount must be greater than 0")
447447 else if ((0 > lockType))
448448 then throw("lockType must be >= 0")
449449 else {
450450 let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType)
451451 if ((shareTokensChangeOnFH == shareTokensChangeOnFH))
452452 then {
453- let $t01927121116 = if ((lockType == 0))
453+ let $t01931121156 = if ((lockType == 0))
454454 then {
455455 let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH)
456456 $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))
457457 }
458458 else if (if ((userLockedHeigt == 0))
459459 then if (if ((2 > size(i.payments)))
460460 then true
461461 else (i.payments[1].assetId != unit))
462462 then true
463463 else (lockWavesFee > i.payments[1].amount)
464464 else false)
465465 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
466466 else if ((userLockedHeigt > (height + lockPeriod)))
467467 then throw("You cannot lock sharetokens for a period less than what you have already locked")
468468 else {
469469 let userLockedAmountNew = (userLockedAmount + i.payments[0].amount)
470470 let userLockedHeigtNew = (height + lockPeriod)
471471 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
472472 $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))
473473 }
474- let lockEntries = $t01927121116._1
475- let totalShareNew = $t01927121116._2
474+ let lockEntries = $t01931121156._1
475+ let totalShareNew = $t01931121156._2
476476 if ((accountBalance(shareAssetId) > totalShareNew))
477477 then throw("Balance of share-token is lower than totalAmount")
478478 else {
479- let $t02124121340 = claimCalc(pool, user)
480- let farmInterest = $t02124121340._1
481- let boostInterest = $t02124121340._2
482- let boostLPinterest = $t02124121340._3
483- let claimAmount = $t02124121340._4
484- let toTreasure = $t02124121340._5
479+ let $t02128121380 = claimCalc(pool, user)
480+ let farmInterest = $t02128121380._1
481+ let boostInterest = $t02128121380._2
482+ let boostLPinterest = $t02128121380._3
483+ let claimAmount = $t02128121380._4
484+ let toTreasure = $t02128121380._5
485485 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
486486 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
487487 then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil)
488488 else 0
489489 if ((uplp == uplp))
490490 then ([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)
491491 else throw("Strict value is not equal to itself.")
492492 }
493493 }
494494 else throw("Strict value is not equal to itself.")
495495 }
496496 })
497497
498498
499499
500500 @Callable(i)
501501 func lockStakedShareTokens (pool,lockType,lockAmount) = valueOrElse(isActive(), {
502502 let shareAssetId = getShareAssetId(pool)
503503 let user = toString(i.originCaller)
504504 let totalShare = getTotalShareToken(pool)
505505 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare)
506506 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
507507 let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0)
508508 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
509509 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
510510 let totalUserShareTokens = (userStakedAmount + userLockedAmount)
511- let $t02324223294 = getLockParams(lockType)
512- let lockPeriod = $t02324223294._1
513- let lockCoef = $t02324223294._2
511+ let $t02328223334 = getLockParams(lockType)
512+ let lockPeriod = $t02328223334._1
513+ let lockCoef = $t02328223334._2
514514 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
515515 if ((getHeightFirstHarvest(pool) > height))
516516 then throw("You can't lock shareTokens till first harvest end.")
517517 else if ((0 >= lockType))
518518 then throw("lockType must be > 0")
519519 else if ((lockAmount > userStakedAmount))
520520 then throw(("You can't lock more than " + toString(userStakedAmount)))
521521 else if ((accountBalance(shareAssetId) > totalShare))
522522 then throw("Balance of share-token is lower than totalAmount")
523523 else if (if ((userLockedHeigt == 0))
524524 then if (if ((1 > size(i.payments)))
525525 then true
526526 else (i.payments[0].assetId != unit))
527527 then true
528528 else (lockWavesFee > i.payments[0].amount)
529529 else false)
530530 then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES"))
531531 else if (if ((userLockedHeigt == 0))
532532 then (0 >= lockAmount)
533533 else false)
534534 then throw("lockAmount must be greater than 0")
535535 else if ((0 > lockAmount))
536536 then throw("lockAmount must be positive")
537537 else if ((userLockedHeigt > (height + lockPeriod)))
538538 then throw("You cannot lock sharetokens for a period less than what you have already locked")
539539 else {
540540 let userLockedAmountNew = (userLockedAmount + lockAmount)
541541 let userStakedAmountNew = (userStakedAmount - lockAmount)
542542 let userLockedHeigtNew = (height + lockPeriod)
543543 let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount)
544- let $t02458124680 = claimCalc(pool, user)
545- let farmInterest = $t02458124680._1
546- let boostInterest = $t02458124680._2
547- let boostLPinterest = $t02458124680._3
548- let claimAmount = $t02458124680._4
549- let toTreasure = $t02458124680._5
544+ let $t02462124720 = claimCalc(pool, user)
545+ let farmInterest = $t02462124720._1
546+ let boostInterest = $t02462124720._2
547+ let boostLPinterest = $t02462124720._3
548+ let claimAmount = $t02462124720._4
549+ let toTreasure = $t02462124720._5
550550 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
551551 [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) + kBoostLPUserLastInterest), 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)]
552552 }
553553 })
554554
555555
556556
557557 @Callable(i)
558558 func unlockUserLock (pool,user) = valueOrElse(isActive(), {
559559 let lockWavesFee = getIntegerValue(this, kLockWavesFee)
560560 let userLockedHeigt = valueOrErrorMessage(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), (((("There is no pool " + pool) + " or user ") + user) + "with lock"))
561561 let totalShareVirtual = getIntegerValue(this, (pool + kShareTokensVirtual))
562562 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
563563 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
564564 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
565565 if ((userLockedHeigt > height))
566566 then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt)))
567567 else {
568568 let userStakedAmountNew = (userStakedAmount + userLockedAmount)
569- let $t02691027009 = claimCalc(pool, user)
570- let farmInterest = $t02691027009._1
571- let boostInterest = $t02691027009._2
572- let boostLPinterest = $t02691027009._3
573- let claimAmount = $t02691027009._4
574- let toTreasure = $t02691027009._5
569+ let $t02695027049 = claimCalc(pool, user)
570+ let farmInterest = $t02695027049._1
571+ let boostInterest = $t02695027049._2
572+ let boostLPinterest = $t02695027049._3
573+ let claimAmount = $t02695027049._4
574+ let toTreasure = $t02695027049._5
575575 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
576576 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)]
577577 }
578578 })
579579
580580
581581
582582 @Callable(i)
583583 func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), {
584584 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
585585 let user = toString(i.originCaller)
586- let $t02850728606 = claimCalc(pool, user)
587- let farmInterest = $t02850728606._1
588- let boostInterest = $t02850728606._2
589- let boostLPinterest = $t02850728606._3
590- let claimAmount = $t02850728606._4
591- let toTreasure = $t02850728606._5
586+ let $t02854728646 = claimCalc(pool, user)
587+ let farmInterest = $t02854728646._1
588+ let boostInterest = $t02854728646._2
589+ let boostLPinterest = $t02854728646._3
590+ let claimAmount = $t02854728646._4
591+ let toTreasure = $t02854728646._5
592592 let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0)
593593 let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0)
594594 let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount)
595595 let userStakedAmountNew = (userStakedAmount - shareTokensWithdrawAmount)
596596 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
597597 let totalShareAmount = getTotalShareToken(pool)
598598 let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShareAmount)
599599 let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount)
600600 let totalShareVirtualNew = (totalShareVirtual - shareTokensWithdrawAmount)
601601 let userAmountVirtualNew = (userAmountVirtual - shareTokensWithdrawAmount)
602602 if ((shareTokensWithdrawAmount > userStakedAmount))
603603 then throw("Withdraw amount more then user locked amount")
604604 else if ((accountBalance(shareTokensId) > totalShareAmount))
605605 then throw("Balance of share-token is lower than totalAmount")
606606 else {
607607 let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0"))
608608 then invoke(lpFarmingAddress, "updateUserInterest", [pool, (userStakedAmount + userLockedAmount)], nil)
609609 else 0
610610 if ((uplp == uplp))
611611 then [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)]
612612 else throw("Strict value is not equal to itself.")
613613 }
614614 })
615615
616616
617617
618618 @Callable(i)
619619 func claim (pool) = valueOrElse(isActive(), {
620620 let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id"))
621621 let user = toString(i.originCaller)
622622 let shareTokenLocked = getTotalShareToken(pool)
623- let $t03127531374 = claimCalc(pool, user)
624- let farmInterest = $t03127531374._1
625- let boostInterest = $t03127531374._2
626- let boostLPinterest = $t03127531374._3
627- let claimAmount = $t03127531374._4
628- let toTreasure = $t03127531374._5
623+ let $t03131531414 = claimCalc(pool, user)
624+ let farmInterest = $t03131531414._1
625+ let boostInterest = $t03131531414._2
626+ let boostLPinterest = $t03131531414._3
627+ let claimAmount = $t03131531414._4
628+ let toTreasure = $t03131531414._5
629629 let availableFund = (userAvailableSWOP(pool, user) + claimAmount)
630630 if ((availableFund == 0))
631631 then throw("You have 0 available SWOP")
632632 else if ((accountBalance(shareTokensId) > shareTokenLocked))
633633 then throw("Balance of share-token is lower than totalAmount")
634634 else {
635635 let uTrans = if ((i.caller != this))
636636 then [ScriptTransfer(i.caller, availableFund, SWOP)]
637637 else nil
638638 $Tuple2(([IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)] ++ uTrans), availableFund)
639639 }
640640 })
641641
642642
643643
644644 @Callable(i)
645645 func claimAndStake (pool) = valueOrElse(isActive(), {
646646 let claimAmount = {
647647 let @ = invoke(this, "claim", [pool], nil)
648648 if ($isInstanceOf(@, "Int"))
649649 then @
650650 else throw(($getType(@) + " couldn't be cast to Int"))
651651 }
652652 if ((claimAmount == claimAmount))
653653 then {
654654 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimAmount)])
655655 if ((stakeToGov == stakeToGov))
656656 then nil
657657 else throw("Strict value is not equal to itself.")
658658 }
659659 else throw("Strict value is not equal to itself.")
660660 })
661661
662662
663663
664664 @Callable(i)
665665 func claimAll (pools) = valueOrElse(isActive(), {
666666 func claimInv (claimTotal,pool) = {
667667 let claimAmount = {
668668 let @ = invoke(this, "claim", [pool], nil)
669669 if ($isInstanceOf(@, "Int"))
670670 then @
671671 else throw(($getType(@) + " couldn't be cast to Int"))
672672 }
673673 if ((claimAmount == claimAmount))
674674 then (claimTotal + claimAmount)
675675 else throw("Strict value is not equal to itself.")
676676 }
677677
678678 let claimTotal = {
679679 let $l = pools
680680 let $s = size($l)
681681 let $acc0 = 0
682682 func $f0_1 ($a,$i) = if (($i >= $s))
683683 then $a
684684 else claimInv($a, $l[$i])
685685
686686 func $f0_2 ($a,$i) = if (($i >= $s))
687687 then $a
688688 else throw("List size exceeds 60")
689689
690690 $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)
691691 }
692692 if ((claimTotal == 0))
693693 then throw("You have 0 available SWOP")
694694 else [ScriptTransfer(i.caller, claimTotal, SWOP)]
695695 })
696696
697697
698698
699699 @Callable(i)
700700 func claimAllAndStake (pools) = valueOrElse(isActive(), {
701701 func claimInv (claimTotal,pool) = {
702702 let claimAmount = {
703703 let @ = invoke(this, "claim", [pool], nil)
704704 if ($isInstanceOf(@, "Int"))
705705 then @
706706 else throw(($getType(@) + " couldn't be cast to Int"))
707707 }
708708 if ((claimAmount == claimAmount))
709709 then (claimTotal + claimAmount)
710710 else throw("Strict value is not equal to itself.")
711711 }
712712
713713 let claimTotal = {
714714 let $l = pools
715715 let $s = size($l)
716716 let $acc0 = 0
717717 func $f0_1 ($a,$i) = if (($i >= $s))
718718 then $a
719719 else claimInv($a, $l[$i])
720720
721721 func $f0_2 ($a,$i) = if (($i >= $s))
722722 then $a
723723 else throw("List size exceeds 60")
724724
725725 $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)
726726 }
727727 if ((claimTotal == 0))
728728 then throw("You have 0 available SWOP")
729729 else {
730730 let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimTotal)])
731731 if ((stakeToGov == stakeToGov))
732732 then nil
733733 else throw("Strict value is not equal to itself.")
734734 }
735735 })
736736
737737
738738
739739 @Callable(i)
740740 func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress))
741741 then throw("Only voiting can call this function")
742742 else {
743- let $t03381233911 = claimCalc(pool, user)
744- let farmInterest = $t03381233911._1
745- let boostInterest = $t03381233911._2
746- let boostLPinterest = $t03381233911._3
747- let claimAmount = $t03381233911._4
748- let toTreasure = $t03381233911._5
743+ let $t03385233951 = claimCalc(pool, user)
744+ let farmInterest = $t03385233951._1
745+ let boostInterest = $t03385233951._2
746+ let boostLPinterest = $t03385233951._3
747+ let claimAmount = $t03385233951._4
748+ let toTreasure = $t03385233951._5
749749 let availableFundsNew = (userAvailableSWOP(pool, user) + claimAmount)
750750 [IntegerEntry((((pool + "_") + user) + kFarmUserLastInterest), farmInterest), IntegerEntry((((pool + "_") + user) + kBoostUserLastInterest), boostInterest), IntegerEntry((((pool + "_") + user) + kBoostLPUserLastInterest), 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)]
751751 })
752752
753753
754754
755755 @Callable(i)
756756 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
757757 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
758758 else suspend("Paused by admin"))
759759
760760
761761
762762 @Callable(i)
763763 func activate () = valueOrElse(isAdminCall(i), if (active)
764764 then throw("DApp is already active")
765765 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
766766
767767
768768 @Verifier(tx)
769769 func verify () = match tx {
770770 case _ =>
771771 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
772772 then 1
773773 else 0
774774 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
775775 then 1
776776 else 0
777777 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
778778 then 1
779779 else 0
780780 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
781781 }
782782

github/deemru/w8io/026f985 
144.07 ms