tx · 6QACzCbi8XsmZVwFWSnC6qkL3htxBzLT3yA8C59gSqTh 3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK: -0.14000000 Waves 2022.10.21 18:34 [2282360] smart account 3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK > SELF 0.00000000 Waves
{ "type": 13, "id": "6QACzCbi8XsmZVwFWSnC6qkL3htxBzLT3yA8C59gSqTh", "fee": 14000000, "feeAssetId": null, "timestamp": 1666366446759, "version": 2, "chainId": 84, "sender": "3MsXpzisJAwnzUr7XrEoW1BZo4U6rw4tsYK", "senderPublicKey": "FFdBua5rzzMkZebvsvmN7sAdU7XhFK8QNJ3hiwwxAYRA", "proofs": [ "Vn7PXv4y3821hoytCnSNX6DfdHTAdT3AKfuRaJSnyaCbJzA9ov2m1MomhYk2bn7TxyxqWy3MnpnEitenzHFiBPP", "rFV3gqH6y9P2FfPn99vTwKzLX3KwGkvGS64cZSmtgAZsTRbNu7R3EXtfW88RzAT9MJ1CwV4yp6KsRkpHsvU1t3T" ], "script": "base64:BgJICAISAwoBCBIDCgEIEgMKAQgSBAoCCAESBQoDCAEBEgQKAggIEgQKAggBEgMKAQgSAwoBCBIDCgEYEgMKARgSBAoCCAgSABIAWgAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMABmtDYXVzZQIOc2h1dGRvd25fY2F1c2UAGmtSZXdhcmRQb29sRnJhY3Rpb25DdXJyZW50Ah1fY3VycmVudF9wb29sX2ZyYWN0aW9uX3Jld2FyZAAba1Jld2FyZFBvb2xGcmFjdGlvblByZXZpb3VzAh5fcHJldmlvdXNfcG9vbF9mcmFjdGlvbl9yZXdhcmQAE2tIZWlnaHRQb29sRnJhY3Rpb24CGl9wb29sX3Jld2FyZF91cGRhdGVfaGVpZ2h0ABtrVG90YWxSZXdhcmRQZXJCbG9ja0N1cnJlbnQCHnRvdGFsX3Jld2FyZF9wZXJfYmxvY2tfY3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t2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwUGa0NhdXNlAhp0aGUgY2F1c2Ugd2Fzbid0IHNwZWNpZmllZAkBB3N1c3BlbmQBAg9QYXVzZWQgYnkgYWRtaW4BaQEIYWN0aXZhdGUACQELdmFsdWVPckVsc2UCCQELaXNBZG1pbkNhbGwBBQFpAwUGYWN0aXZlCQACAQIWREFwcCBpcyBhbHJlYWR5IGFjdGl2ZQkAzAgCCQEMQm9vbGVhbkVudHJ5AgUHa0FjdGl2ZQYJAMwIAgkBC0RlbGV0ZUVudHJ5AQUGa0NhdXNlBQNuaWwBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAQSYWRtaW5QdWJLZXkxU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkxAAEAAAQSYWRtaW5QdWJLZXkyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUMYWRtaW5QdWJLZXkyAAEAAAQSYWRtaW5QdWJLZXkzU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUMYWRtaW5QdWJLZXkzAAEAAAkAZwIJAGQCCQBkAgUSYWRtaW5QdWJLZXkxU2lnbmVkBRJhZG1pblB1YktleTJTaWduZWQFEmFkbWluUHViS2V5M1NpZ25lZAAChPyZmA==", "height": 2282360, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E3v6qChruFFDtEJuLkt9jL1rqTsMZT2Wkz8NZ9bxF4RW Next: FQPudS2DfBSA8X6Wi9M8oHkbMTg2YWBfe8brKb76Zmfu Diff:
Old | New | Differences | |
---|---|---|---|
151 | 151 | func getFHShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimitFH), ("No data on the key: " + kShareLimitFH)) | |
152 | 152 | ||
153 | 153 | ||
154 | - | func | |
154 | + | func getTotalShareToken (pool) = valueOrErrorMessage(getInteger(this, (pool + kShareTotalShareTokens)), (("No data on the key: " + pool) + kShareTotalShareTokens)) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func getPoolVoted (pool) = valueOrElse(getInteger(votingAddress, (pool + kPoolVote)), 0) | |
315 | 315 | let scaleValue = calcScaleValue(SWOP, getShareAssetId(pool)) | |
316 | 316 | let poolVoted = getPoolVoted(pool) | |
317 | 317 | let uPoolVoted = getUserPoolVoted(pool, user) | |
318 | - | let | |
319 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
320 | - | let $ | |
321 | - | let lastInterestHeight = $ | |
322 | - | let farmInterest = $ | |
323 | - | let boostInterest = $ | |
324 | - | let boostLPInterest = $ | |
325 | - | let $ | |
326 | - | let currentRewardPerBlock = $ | |
327 | - | let rewardUpdateHeight = $ | |
328 | - | let previousRewardPerBlock = $ | |
329 | - | let poolRewardUpdateHeight = $ | |
318 | + | let shareToken = getTotalShareToken(pool) | |
319 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), shareToken) | |
320 | + | let $t01428514383 = getLastInterestInfo(pool) | |
321 | + | let lastInterestHeight = $t01428514383._1 | |
322 | + | let farmInterest = $t01428514383._2 | |
323 | + | let boostInterest = $t01428514383._3 | |
324 | + | let boostLPInterest = $t01428514383._4 | |
325 | + | let $t01438814502 = rewardInfo(pool) | |
326 | + | let currentRewardPerBlock = $t01438814502._1 | |
327 | + | let rewardUpdateHeight = $t01438814502._2 | |
328 | + | let previousRewardPerBlock = $t01438814502._3 | |
329 | + | let poolRewardUpdateHeight = $t01438814502._4 | |
330 | 330 | let uFarmInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kFarmUserLastInterest)), farmInterest) | |
331 | 331 | let uBoostInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostUserLastInterest)), boostInterest) | |
332 | 332 | let uBoostLPInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostLPUserLastInterest)), boostLPInterest) | |
333 | 333 | let uShareTokensStaked = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
334 | 334 | let uShareTokensVirt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), uShareTokensStaked) | |
335 | - | let $ | |
336 | - | let newFarmInterest = $ | |
337 | - | let newBoostInterest = $ | |
338 | - | let newBoostLPInterest = $ | |
335 | + | let $t01507015463 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue) | |
336 | + | let newFarmInterest = $t01507015463._1 | |
337 | + | let newBoostInterest = $t01507015463._2 | |
338 | + | let newBoostLPInterest = $t01507015463._3 | |
339 | 339 | let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue) | |
340 | 340 | let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue) | |
341 | 341 | let claimBoosting = fraction((uShareTokensVirt * uPoolVoted), (newBoostLPInterest - uBoostLPInterest), scaleValue) | |
404 | 404 | then throw("Only Governance can call this function") | |
405 | 405 | else { | |
406 | 406 | let user = toString(addressFromPublicKey(adminInvokePubKey)) | |
407 | - | let $ | |
408 | - | let farmInterest = $ | |
409 | - | let boostInterest = $ | |
410 | - | let boostLPinterest = $ | |
407 | + | let $t01848018554 = claimCalc(pool, user) | |
408 | + | let farmInterest = $t01848018554._1 | |
409 | + | let boostInterest = $t01848018554._2 | |
410 | + | let boostLPinterest = $t01848018554._3 | |
411 | 411 | [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)] | |
412 | 412 | }) | |
413 | 413 | ||
417 | 417 | func lockShareTokens (pool,lockType) = valueOrElse(isActive(), { | |
418 | 418 | let shareAssetId = getShareAssetId(pool) | |
419 | 419 | let user = toString(i.originCaller) | |
420 | - | let | |
421 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
420 | + | let totalShare = getTotalShareToken(pool) | |
421 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare) | |
422 | 422 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
423 | 423 | let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0) | |
424 | 424 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
425 | 425 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
426 | 426 | let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount) | |
427 | - | let $ | |
428 | - | let lockPeriod = $ | |
429 | - | let lockCoef = $ | |
427 | + | let $t01966319715 = getLockParams(lockType) | |
428 | + | let lockPeriod = $t01966319715._1 | |
429 | + | let lockCoef = $t01966319715._2 | |
430 | 430 | let lockWavesFee = getIntegerValue(this, kLockWavesFee) | |
431 | 431 | if ((i.payments[0].assetId != shareAssetId)) | |
432 | 432 | then throw("Wrong sharetoken in payment") | |
438 | 438 | let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType) | |
439 | 439 | if ((shareTokensChangeOnFH == shareTokensChangeOnFH)) | |
440 | 440 | then { | |
441 | - | let $ | |
441 | + | let $t02014221987 = if ((lockType == 0)) | |
442 | 442 | then { | |
443 | 443 | let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH) | |
444 | - | $ | |
444 | + | $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)) | |
445 | 445 | } | |
446 | 446 | else if (if ((userLockedHeigt == 0)) | |
447 | 447 | then if (if ((2 > size(i.payments))) | |
457 | 457 | let userLockedAmountNew = (userLockedAmount + i.payments[0].amount) | |
458 | 458 | let userLockedHeigtNew = (height + lockPeriod) | |
459 | 459 | let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount) | |
460 | - | $ | |
460 | + | $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)) | |
461 | 461 | } | |
462 | - | let lockEntries = $t02018322112._1 | |
463 | - | let userAmountVirtualNew = $t02018322112._2 | |
464 | - | let totalShareStakedNew = $t02018322112._3 | |
465 | - | if ((accountBalance(shareAssetId) > totalShareStakedNew)) | |
462 | + | let lockEntries = $t02014221987._1 | |
463 | + | let totalShareNew = $t02014221987._2 | |
464 | + | if ((accountBalance(shareAssetId) > totalShareNew)) | |
466 | 465 | then throw("Balance of share-token is lower than totalAmount") | |
467 | 466 | else { | |
468 | - | let $ | |
469 | - | let farmInterest = $ | |
470 | - | let boostInterest = $ | |
471 | - | let boostLPinterest = $ | |
472 | - | let claimAmount = $ | |
473 | - | let toTreasure = $ | |
467 | + | let $t02211222211 = claimCalc(pool, user) | |
468 | + | let farmInterest = $t02211222211._1 | |
469 | + | let boostInterest = $t02211222211._2 | |
470 | + | let boostLPinterest = $t02211222211._3 | |
471 | + | let claimAmount = $t02211222211._4 | |
472 | + | let toTreasure = $t02211222211._5 | |
474 | 473 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
475 | 474 | let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0")) | |
476 | 475 | then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil) | |
477 | 476 | else 0 | |
478 | 477 | if ((uplp == uplp)) | |
479 | - | 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), | |
478 | + | 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) | |
480 | 479 | else throw("Strict value is not equal to itself.") | |
481 | 480 | } | |
482 | 481 | } | |
490 | 489 | func lockStakedShareTokens (pool,lockType,lockAmount) = valueOrElse(isActive(), { | |
491 | 490 | let shareAssetId = getShareAssetId(pool) | |
492 | 491 | let user = toString(i.originCaller) | |
493 | - | let | |
494 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
492 | + | let totalShare = getTotalShareToken(pool) | |
493 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare) | |
495 | 494 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
496 | 495 | let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0) | |
497 | 496 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
498 | 497 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
499 | 498 | let totalUserShareTokens = (userStakedAmount + userLockedAmount) | |
500 | - | let $ | |
501 | - | let lockPeriod = $ | |
502 | - | let lockCoef = $ | |
499 | + | let $t02411924171 = getLockParams(lockType) | |
500 | + | let lockPeriod = $t02411924171._1 | |
501 | + | let lockCoef = $t02411924171._2 | |
503 | 502 | let lockWavesFee = getIntegerValue(this, kLockWavesFee) | |
504 | 503 | if ((getHeightFirstHarvest(pool) > height)) | |
505 | 504 | then throw("You can't lock shareTokens till first harvest end.") | |
507 | 506 | then throw("lockType must be > 0") | |
508 | 507 | else if ((lockAmount > userStakedAmount)) | |
509 | 508 | then throw(("You can't lock more than " + toString(userStakedAmount))) | |
510 | - | else if ((accountBalance(shareAssetId) > | |
509 | + | else if ((accountBalance(shareAssetId) > totalShare)) | |
511 | 510 | then throw("Balance of share-token is lower than totalAmount") | |
512 | 511 | else if (if ((userLockedHeigt == 0)) | |
513 | 512 | then if (if ((1 > size(i.payments))) | |
524 | 523 | let userStakedAmountNew = (userStakedAmount - lockAmount) | |
525 | 524 | let userLockedHeigtNew = (height + lockPeriod) | |
526 | 525 | let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount) | |
527 | - | let $ | |
528 | - | let farmInterest = $ | |
529 | - | let boostInterest = $ | |
530 | - | let boostLPinterest = $ | |
531 | - | let claimAmount = $ | |
532 | - | let toTreasure = $ | |
526 | + | let $t02528925388 = claimCalc(pool, user) | |
527 | + | let farmInterest = $t02528925388._1 | |
528 | + | let boostInterest = $t02528925388._2 | |
529 | + | let boostLPinterest = $t02528925388._3 | |
530 | + | let claimAmount = $t02528925388._4 | |
531 | + | let toTreasure = $t02528925388._5 | |
533 | 532 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
534 | 533 | [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)] | |
535 | 534 | } | |
549 | 548 | then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt))) | |
550 | 549 | else { | |
551 | 550 | let userStakedAmountNew = (userStakedAmount + userLockedAmount) | |
552 | - | let $ | |
553 | - | let farmInterest = $ | |
554 | - | let boostInterest = $ | |
555 | - | let boostLPinterest = $ | |
556 | - | let claimAmount = $ | |
557 | - | let toTreasure = $ | |
551 | + | let $t02762427723 = claimCalc(pool, user) | |
552 | + | let farmInterest = $t02762427723._1 | |
553 | + | let boostInterest = $t02762427723._2 | |
554 | + | let boostLPinterest = $t02762427723._3 | |
555 | + | let claimAmount = $t02762427723._4 | |
556 | + | let toTreasure = $t02762427723._5 | |
558 | 557 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
559 | 558 | [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)] | |
560 | 559 | } | |
566 | 565 | func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), { | |
567 | 566 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
568 | 567 | let user = toString(i.originCaller) | |
569 | - | let $ | |
570 | - | let farmInterest = $ | |
571 | - | let boostInterest = $ | |
572 | - | let boostLPinterest = $ | |
573 | - | let claimAmount = $ | |
574 | - | let toTreasure = $ | |
568 | + | let $t02922729326 = claimCalc(pool, user) | |
569 | + | let farmInterest = $t02922729326._1 | |
570 | + | let boostInterest = $t02922729326._2 | |
571 | + | let boostLPinterest = $t02922729326._3 | |
572 | + | let claimAmount = $t02922729326._4 | |
573 | + | let toTreasure = $t02922729326._5 | |
575 | 574 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
576 | 575 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
577 | 576 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
578 | 577 | let userStakedAmountNew = (userStakedAmount - shareTokensWithdrawAmount) | |
579 | 578 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
580 | - | let totalShareAmount = | |
579 | + | let totalShareAmount = getTotalShareToken(pool) | |
581 | 580 | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShareAmount) | |
582 | 581 | let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount) | |
583 | 582 | let totalShareVirtualNew = (totalShareVirtual - shareTokensWithdrawAmount) | |
602 | 601 | func claim (pool) = valueOrElse(isActive(), { | |
603 | 602 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
604 | 603 | let user = toString(i.caller) | |
605 | - | let shareTokenLocked = | |
606 | - | let $ | |
607 | - | let farmInterest = $ | |
608 | - | let boostInterest = $ | |
609 | - | let boostLPinterest = $ | |
610 | - | let claimAmount = $ | |
611 | - | let toTreasure = $ | |
604 | + | let shareTokenLocked = getTotalShareToken(pool) | |
605 | + | let $t03199532094 = claimCalc(pool, user) | |
606 | + | let farmInterest = $t03199532094._1 | |
607 | + | let boostInterest = $t03199532094._2 | |
608 | + | let boostLPinterest = $t03199532094._3 | |
609 | + | let claimAmount = $t03199532094._4 | |
610 | + | let toTreasure = $t03199532094._5 | |
612 | 611 | let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
613 | 612 | if ((availableFund == 0)) | |
614 | 613 | then throw("You have 0 available SWOP") | |
718 | 717 | func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress)) | |
719 | 718 | then throw("Only voiting can call this function") | |
720 | 719 | else { | |
721 | - | let $ | |
722 | - | let farmInterest = $ | |
723 | - | let boostInterest = $ | |
724 | - | let boostLPinterest = $ | |
725 | - | let claimAmount = $ | |
726 | - | let toTreasure = $ | |
720 | + | let $t03447434573 = claimCalc(pool, user) | |
721 | + | let farmInterest = $t03447434573._1 | |
722 | + | let boostInterest = $t03447434573._2 | |
723 | + | let boostLPinterest = $t03447434573._3 | |
724 | + | let claimAmount = $t03447434573._4 | |
725 | + | let toTreasure = $t03447434573._5 | |
727 | 726 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
728 | 727 | [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)] | |
729 | 728 | }) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let kActive = "active" | |
5 | 5 | ||
6 | 6 | let kActiveGlob = "active_all_contracts" | |
7 | 7 | ||
8 | 8 | let kCause = "shutdown_cause" | |
9 | 9 | ||
10 | 10 | let kRewardPoolFractionCurrent = "_current_pool_fraction_reward" | |
11 | 11 | ||
12 | 12 | let kRewardPoolFractionPrevious = "_previous_pool_fraction_reward" | |
13 | 13 | ||
14 | 14 | let kHeightPoolFraction = "_pool_reward_update_height" | |
15 | 15 | ||
16 | 16 | let kTotalRewardPerBlockCurrent = "total_reward_per_block_current" | |
17 | 17 | ||
18 | 18 | let kTotalRewardPerBlockPrevious = "total_reward_per_block_previous" | |
19 | 19 | ||
20 | 20 | let kRewardUpdateHeight = "reward_update_height" | |
21 | 21 | ||
22 | 22 | let kUserShareTokensStaked = "_share_tokens_locked" | |
23 | 23 | ||
24 | 24 | let kUserShareTokensLocked = "_share_tokens_blocked" | |
25 | 25 | ||
26 | 26 | let kUserShareTokensLockedType = "_share_tokens_blocked_type" | |
27 | 27 | ||
28 | 28 | let kUserShareTokensLockedHeight = "_share_tokens_blocked_height" | |
29 | 29 | ||
30 | 30 | let kUserShareTokensVirtual = "_share_tokens_virtual" | |
31 | 31 | ||
32 | 32 | let kShareTotalShareTokens = "_total_share_tokens_locked" | |
33 | 33 | ||
34 | 34 | let kShareTokensVirtual = "_total_share_tokens_virtual" | |
35 | 35 | ||
36 | 36 | let kLockParams = "_lock_params" | |
37 | 37 | ||
38 | 38 | let kLockWavesFee = "lock_waves_fee" | |
39 | 39 | ||
40 | 40 | let kPoolBoostCoef = "_boost_coef" | |
41 | 41 | ||
42 | 42 | let kFarmLastInterest = "_last_interest" | |
43 | 43 | ||
44 | 44 | let kFarmUserLastInterest = "_last_interest" | |
45 | 45 | ||
46 | 46 | let kBoostLastInterest = "_last_interest_b" | |
47 | 47 | ||
48 | 48 | let kBoostUserLastInterest = "_last_interest_u_b" | |
49 | 49 | ||
50 | 50 | let kBoostLPLastInterest = "_last_interest_lpb" | |
51 | 51 | ||
52 | 52 | let kBoostLPUserLastInterest = "_last_interest_u_lpb" | |
53 | 53 | ||
54 | 54 | let kLastInterestHeight = "_last_interest_height" | |
55 | 55 | ||
56 | 56 | let kSWOPid = "SWOP_id" | |
57 | 57 | ||
58 | 58 | let kAvailableSWOP = "_available_SWOP" | |
59 | 59 | ||
60 | 60 | let kSwopYearEmission = "swop_year_emission" | |
61 | 61 | ||
62 | 62 | let kHarvestPoolVote = "_harvest_pool_vote_gSWOP" | |
63 | 63 | ||
64 | 64 | let kPoolVote = "_pool_vote_gSWOP" | |
65 | 65 | ||
66 | 66 | let kUserPoolVote = "_user_vote_gSWOP" | |
67 | 67 | ||
68 | 68 | let kHarvestUserPoolVote = "_harvest_user_pool_vote_gSWOP" | |
69 | 69 | ||
70 | 70 | let kBasePeriod = "base_period" | |
71 | 71 | ||
72 | 72 | let kPeriodLength = "period_length" | |
73 | 73 | ||
74 | 74 | let kStartHeight = "start_height" | |
75 | 75 | ||
76 | 76 | let kFirstHarvestHeight = "first_harvest_height" | |
77 | 77 | ||
78 | 78 | let kShareLimitFH = "share_limit_on_first_harvest" | |
79 | 79 | ||
80 | 80 | let kAdminPubKey1 = "admin_pub_1" | |
81 | 81 | ||
82 | 82 | let kAdminPubKey2 = "admin_pub_2" | |
83 | 83 | ||
84 | 84 | let kAdminPubKey3 = "admin_pub_3" | |
85 | 85 | ||
86 | 86 | let kAdminInvokePubKey = "admin_invoke_pub" | |
87 | 87 | ||
88 | 88 | let kMoneyBoxAddress = "money_box_address" | |
89 | 89 | ||
90 | 90 | let kVotingAddress = "voting_address" | |
91 | 91 | ||
92 | 92 | let kGovAddress = "governance_address" | |
93 | 93 | ||
94 | 94 | let kLPFarmingAddress = "lp_farming" | |
95 | 95 | ||
96 | 96 | let kFarmingTreasureAddr = "farming_treasure" | |
97 | 97 | ||
98 | 98 | let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz') | |
99 | 99 | ||
100 | 100 | let totalVoteShare = 10000000000 | |
101 | 101 | ||
102 | 102 | let lockBoostCoefScale = 1000 | |
103 | 103 | ||
104 | 104 | let defPoolBoostCoef = 500 | |
105 | 105 | ||
106 | 106 | func getBase58FromOracle (key) = match getString(oracle, key) { | |
107 | 107 | case string: String => | |
108 | 108 | fromBase58String(string) | |
109 | 109 | case nothing => | |
110 | 110 | throw((key + "is empty")) | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | let adminPubKey1 = getBase58FromOracle(kAdminPubKey1) | |
115 | 115 | ||
116 | 116 | let adminPubKey2 = getBase58FromOracle(kAdminPubKey2) | |
117 | 117 | ||
118 | 118 | let adminPubKey3 = getBase58FromOracle(kAdminPubKey3) | |
119 | 119 | ||
120 | 120 | let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress)) | |
121 | 121 | ||
122 | 122 | let votingAddress = Address(getBase58FromOracle(kVotingAddress)) | |
123 | 123 | ||
124 | 124 | let govAddress = Address(getBase58FromOracle(kGovAddress)) | |
125 | 125 | ||
126 | 126 | let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey) | |
127 | 127 | ||
128 | 128 | let lpFarmingAddress = Address(getBase58FromOracle(kLPFarmingAddress)) | |
129 | 129 | ||
130 | 130 | let farmingTreasureAddr = Address(getBase58FromOracle(kFarmingTreasureAddr)) | |
131 | 131 | ||
132 | 132 | let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod") | |
133 | 133 | ||
134 | 134 | let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight") | |
135 | 135 | ||
136 | 136 | let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength") | |
137 | 137 | ||
138 | 138 | let currPeriod = (basePeriod + ((height - startHeight) / periodLength)) | |
139 | 139 | ||
140 | 140 | let active = getBooleanValue(this, kActive) | |
141 | 141 | ||
142 | 142 | let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true) | |
143 | 143 | ||
144 | 144 | let SwopYearEmission = getIntegerValue(this, kSwopYearEmission) | |
145 | 145 | ||
146 | 146 | let SWOP = fromBase58String(getStringValue(this, kSWOPid)) | |
147 | 147 | ||
148 | 148 | func getHeightFirstHarvest (pool) = valueOrElse(getInteger(Address(fromBase58String(pool)), kFirstHarvestHeight), 0) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func getFHShareLimitToken (pool) = valueOrErrorMessage(getInteger(pool, kShareLimitFH), ("No data on the key: " + kShareLimitFH)) | |
152 | 152 | ||
153 | 153 | ||
154 | - | func | |
154 | + | func getTotalShareToken (pool) = valueOrErrorMessage(getInteger(this, (pool + kShareTotalShareTokens)), (("No data on the key: " + pool) + kShareTotalShareTokens)) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func getPoolVoted (pool) = valueOrElse(getInteger(votingAddress, (pool + kPoolVote)), 0) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func getUserPoolVoted (pool,user) = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kPoolVote)), 0) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func getShareAssetId (pool) = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func accountBalance (assetId) = match assetId { | |
167 | 167 | case id: ByteVector => | |
168 | 168 | assetBalance(this, id) | |
169 | 169 | case waves: Unit => | |
170 | 170 | wavesBalance(this).available | |
171 | 171 | case _ => | |
172 | 172 | throw("Match error") | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func getAssetInfo (assetId) = match assetId { | |
177 | 177 | case id: ByteVector => | |
178 | 178 | let stringId = toBase58String(id) | |
179 | 179 | let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist")) | |
180 | 180 | $Tuple3(stringId, info.name, info.decimals) | |
181 | 181 | case waves: Unit => | |
182 | 182 | $Tuple3("WAVES", "WAVES", 8) | |
183 | 183 | case _ => | |
184 | 184 | throw("Match error") | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func calcScaleValue (assetId1,assetId2) = { | |
189 | 189 | let assetId1Decimals = value(assetInfo(assetId1)).decimals | |
190 | 190 | let assetId2Decimals = value(assetInfo(assetId2)).decimals | |
191 | 191 | let scaleDigits = ((assetId2Decimals - assetId1Decimals) + 8) | |
192 | 192 | pow(10, 0, scaleDigits, 0, 0, DOWN) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func userAvailableSWOP (pool,user) = valueOrElse(getInteger(this, (((pool + "_") + toString(user)) + kAvailableSWOP)), 0) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func rewardInfo (pool) = { | |
200 | 200 | let totalRewardPerBlockCurrent = valueOrErrorMessage(getInteger(govAddress, kTotalRewardPerBlockCurrent), ((("No data on the key: " + kTotalRewardPerBlockCurrent) + " at address ") + toString(govAddress))) | |
201 | 201 | let totalRewardPerBlockPrevious = valueOrErrorMessage(getInteger(govAddress, kTotalRewardPerBlockPrevious), ((("No data on the key: " + kTotalRewardPerBlockPrevious) + " at address ") + toString(govAddress))) | |
202 | 202 | let rewardPoolFractionCurrent = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionCurrent)), (((("No data on the key: " + pool) + kRewardPoolFractionCurrent) + " at address ") + toString(govAddress))) | |
203 | 203 | let rewardUpdateHeight = valueOrErrorMessage(getInteger(govAddress, kRewardUpdateHeight), ((("No data on the key: " + kRewardUpdateHeight) + " at address ") + toString(govAddress))) | |
204 | 204 | let poolRewardUpdateHeight = valueOrElse(getInteger(govAddress, (pool + kHeightPoolFraction)), rewardUpdateHeight) | |
205 | 205 | let rewardPoolFractionPrevious = valueOrErrorMessage(getInteger(govAddress, (pool + kRewardPoolFractionPrevious)), (((("No data on the key: " + pool) + kRewardPoolFractionPrevious) + " at address ") + toString(govAddress))) | |
206 | 206 | let rewardPoolCurrent = fraction(totalRewardPerBlockCurrent, rewardPoolFractionCurrent, totalVoteShare) | |
207 | 207 | let rewardPoolPrevious = fraction(totalRewardPerBlockCurrent, rewardPoolFractionPrevious, totalVoteShare) | |
208 | 208 | if (if ((rewardPoolCurrent > totalRewardPerBlockCurrent)) | |
209 | 209 | then true | |
210 | 210 | else (rewardPoolPrevious > totalRewardPerBlockPrevious)) | |
211 | 211 | then throw("rewardPoolCurrent > totalRewardPerBlockCurrent or rewardPoolPrevious > totalRewardPerBlockPrevious") | |
212 | 212 | else $Tuple4(rewardPoolCurrent, rewardUpdateHeight, rewardPoolPrevious, poolRewardUpdateHeight) | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func getLastInterestInfo (pool) = { | |
217 | 217 | let farmInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kFarmLastInterest)) | |
218 | 218 | let boostInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kBoostLastInterest)) | |
219 | 219 | let boostLPInterest = valueOrErrorMessage(getInteger(this, (pool + kFarmLastInterest)), (("No data on the key: " + pool) + kBoostLPLastInterest)) | |
220 | 220 | let lastInterestHeight = valueOrElse(getInteger(this, (pool + kLastInterestHeight)), height) | |
221 | 221 | $Tuple4(lastInterestHeight, farmInterest, boostInterest, boostLPInterest) | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func calcFarmRwd (pool,curTotalReward) = { | |
226 | 226 | let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef) | |
227 | 227 | ((curTotalReward / (poolBoostCoef + 1000)) / lockBoostCoefScale) | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func calcBoostRwd (pool,curTotalReward) = { | |
232 | 232 | let poolBoostCoef = valueOrElse(getInteger(this, (pool + kPoolBoostCoef)), defPoolBoostCoef) | |
233 | 233 | (fraction(curTotalReward, poolBoostCoef, (poolBoostCoef + 1000)) / lockBoostCoefScale) | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func calcInterest (pool,lastInterestHeight,rewardUpdateHeight,poolRewardUpdateHeight,farmInterest,boostInterest,poolVoted,boostLpInterest,currentRewardPerBlock,shareTokenLocked,previousRewardPerBlock,scaleValue) = if ((shareTokenLocked == 0)) | |
238 | 238 | then $Tuple3(0, 0, 0) | |
239 | 239 | else if (if ((rewardUpdateHeight > height)) | |
240 | 240 | then (rewardUpdateHeight == poolRewardUpdateHeight) | |
241 | 241 | else false) | |
242 | 242 | then { | |
243 | 243 | let reward = (previousRewardPerBlock * (height - lastInterestHeight)) | |
244 | 244 | let newFarmInterest = (farmInterest + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked)) | |
245 | 245 | let newBoostInterest = (boostInterest + (if ((poolVoted > 0)) | |
246 | 246 | then fraction(calcBoostRwd(pool, reward), scaleValue, poolVoted) | |
247 | 247 | else 0)) | |
248 | 248 | let newBoostLPInterest = (boostLpInterest + (if (if ((poolVoted > 0)) | |
249 | 249 | then (shareTokenLocked > 0) | |
250 | 250 | else false) | |
251 | 251 | then (fraction(calcBoostRwd(pool, reward), scaleValue, shareTokenLocked) / poolVoted) | |
252 | 252 | else 0)) | |
253 | 253 | $Tuple3(newFarmInterest, newBoostInterest, newBoostLPInterest) | |
254 | 254 | } | |
255 | 255 | else if (if ((height > rewardUpdateHeight)) | |
256 | 256 | then (rewardUpdateHeight != poolRewardUpdateHeight) | |
257 | 257 | else false) | |
258 | 258 | then { | |
259 | 259 | let reward = (previousRewardPerBlock * (height - lastInterestHeight)) | |
260 | 260 | let newFarmInterest = (farmInterest + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked)) | |
261 | 261 | let newBoostInterest = (boostInterest + (if ((poolVoted > 0)) | |
262 | 262 | then fraction(calcBoostRwd(pool, reward), scaleValue, poolVoted) | |
263 | 263 | else 0)) | |
264 | 264 | let newBoostLPInterest = (boostLpInterest + (if (if ((poolVoted > 0)) | |
265 | 265 | then (shareTokenLocked > 0) | |
266 | 266 | else false) | |
267 | 267 | then (fraction(calcBoostRwd(pool, reward), scaleValue, shareTokenLocked) / poolVoted) | |
268 | 268 | else 0)) | |
269 | 269 | $Tuple3(newFarmInterest, newBoostInterest, newBoostLPInterest) | |
270 | 270 | } | |
271 | 271 | else if (if (if ((height > rewardUpdateHeight)) | |
272 | 272 | then (rewardUpdateHeight == poolRewardUpdateHeight) | |
273 | 273 | else false) | |
274 | 274 | then (lastInterestHeight > rewardUpdateHeight) | |
275 | 275 | else false) | |
276 | 276 | then { | |
277 | 277 | let reward = (currentRewardPerBlock * (height - lastInterestHeight)) | |
278 | 278 | let newFarmInterest = (farmInterest + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked)) | |
279 | 279 | let newBoostInterest = (boostInterest + (if ((poolVoted > 0)) | |
280 | 280 | then fraction(calcBoostRwd(pool, reward), scaleValue, poolVoted) | |
281 | 281 | else 0)) | |
282 | 282 | let newBoostLPInterest = (boostLpInterest + (if (if ((poolVoted > 0)) | |
283 | 283 | then (shareTokenLocked > 0) | |
284 | 284 | else false) | |
285 | 285 | then (fraction(calcBoostRwd(pool, reward), scaleValue, shareTokenLocked) / poolVoted) | |
286 | 286 | else 0)) | |
287 | 287 | $Tuple3(newFarmInterest, newBoostInterest, newBoostLPInterest) | |
288 | 288 | } | |
289 | 289 | else { | |
290 | 290 | let rwdBfrUpd = (previousRewardPerBlock * (rewardUpdateHeight - lastInterestHeight)) | |
291 | 291 | let framIntrAftrUp = (farmInterest + fraction(calcFarmRwd(pool, rwdBfrUpd), scaleValue, shareTokenLocked)) | |
292 | 292 | let boostIntrAftrUp = (boostInterest + (if ((poolVoted > 0)) | |
293 | 293 | then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted) | |
294 | 294 | else 0)) | |
295 | 295 | let bostLPIntrAftrUp = (farmInterest + (if (if ((poolVoted > 0)) | |
296 | 296 | then (shareTokenLocked > 0) | |
297 | 297 | else false) | |
298 | 298 | then fraction(calcBoostRwd(pool, rwdBfrUpd), scaleValue, poolVoted) | |
299 | 299 | else 0)) | |
300 | 300 | let reward = (currentRewardPerBlock * (height - rewardUpdateHeight)) | |
301 | 301 | let newFarmInterest = (framIntrAftrUp + fraction(calcFarmRwd(pool, reward), scaleValue, shareTokenLocked)) | |
302 | 302 | let newBoostInterest = (boostIntrAftrUp + (if ((poolVoted > 0)) | |
303 | 303 | then fraction(calcBoostRwd(pool, reward), scaleValue, poolVoted) | |
304 | 304 | else 0)) | |
305 | 305 | let newBoostLPInterest = (bostLPIntrAftrUp + (if (if ((poolVoted > 0)) | |
306 | 306 | then (shareTokenLocked > 0) | |
307 | 307 | else false) | |
308 | 308 | then (fraction(calcBoostRwd(pool, reward), scaleValue, shareTokenLocked) / poolVoted) | |
309 | 309 | else 0)) | |
310 | 310 | $Tuple3(newFarmInterest, newBoostInterest, newBoostLPInterest) | |
311 | 311 | } | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | func claimCalc (pool,user) = { | |
315 | 315 | let scaleValue = calcScaleValue(SWOP, getShareAssetId(pool)) | |
316 | 316 | let poolVoted = getPoolVoted(pool) | |
317 | 317 | let uPoolVoted = getUserPoolVoted(pool, user) | |
318 | - | let | |
319 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
320 | - | let $ | |
321 | - | let lastInterestHeight = $ | |
322 | - | let farmInterest = $ | |
323 | - | let boostInterest = $ | |
324 | - | let boostLPInterest = $ | |
325 | - | let $ | |
326 | - | let currentRewardPerBlock = $ | |
327 | - | let rewardUpdateHeight = $ | |
328 | - | let previousRewardPerBlock = $ | |
329 | - | let poolRewardUpdateHeight = $ | |
318 | + | let shareToken = getTotalShareToken(pool) | |
319 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), shareToken) | |
320 | + | let $t01428514383 = getLastInterestInfo(pool) | |
321 | + | let lastInterestHeight = $t01428514383._1 | |
322 | + | let farmInterest = $t01428514383._2 | |
323 | + | let boostInterest = $t01428514383._3 | |
324 | + | let boostLPInterest = $t01428514383._4 | |
325 | + | let $t01438814502 = rewardInfo(pool) | |
326 | + | let currentRewardPerBlock = $t01438814502._1 | |
327 | + | let rewardUpdateHeight = $t01438814502._2 | |
328 | + | let previousRewardPerBlock = $t01438814502._3 | |
329 | + | let poolRewardUpdateHeight = $t01438814502._4 | |
330 | 330 | let uFarmInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kFarmUserLastInterest)), farmInterest) | |
331 | 331 | let uBoostInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostUserLastInterest)), boostInterest) | |
332 | 332 | let uBoostLPInterest = valueOrElse(getInteger(this, (((pool + "_") + user) + kBoostLPUserLastInterest)), boostLPInterest) | |
333 | 333 | let uShareTokensStaked = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
334 | 334 | let uShareTokensVirt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), uShareTokensStaked) | |
335 | - | let $ | |
336 | - | let newFarmInterest = $ | |
337 | - | let newBoostInterest = $ | |
338 | - | let newBoostLPInterest = $ | |
335 | + | let $t01507015463 = calcInterest(pool, lastInterestHeight, rewardUpdateHeight, poolRewardUpdateHeight, farmInterest, boostInterest, poolVoted, boostLPInterest, currentRewardPerBlock, totalShareVirtual, previousRewardPerBlock, scaleValue) | |
336 | + | let newFarmInterest = $t01507015463._1 | |
337 | + | let newBoostInterest = $t01507015463._2 | |
338 | + | let newBoostLPInterest = $t01507015463._3 | |
339 | 339 | let claimFarming = fraction(uShareTokensVirt, (newFarmInterest - uFarmInterest), scaleValue) | |
340 | 340 | let claimBoostingMax = fraction(uPoolVoted, (newBoostInterest - uBoostInterest), scaleValue) | |
341 | 341 | let claimBoosting = fraction((uShareTokensVirt * uPoolVoted), (newBoostLPInterest - uBoostLPInterest), scaleValue) | |
342 | 342 | let toTreasury = (claimBoostingMax - claimBoosting) | |
343 | 343 | $Tuple5(newFarmInterest, newBoostInterest, newBoostLPInterest, (claimFarming + claimBoosting), toTreasury) | |
344 | 344 | } | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | func canLockInFirstHarvest (pool,user,userShareTokensStaked,pmtAmount,lockType) = if ((getHeightFirstHarvest(pool) > height)) | |
348 | 348 | then { | |
349 | 349 | let totalVoteAmount = valueOrElse(getInteger(votingAddress, (pool + kHarvestPoolVote)), 0) | |
350 | 350 | let userVoteAmount = valueOrElse(getInteger(votingAddress, (((user + "_") + pool) + kHarvestPoolVote)), 0) | |
351 | 351 | let FHShareTokenLimit = getFHShareLimitToken(addressFromStringValue(pool)) | |
352 | 352 | let FHShareTokenUserLimit = (fraction(FHShareTokenLimit, userVoteAmount, totalVoteAmount) - userShareTokensStaked) | |
353 | 353 | if ((lockType > 0)) | |
354 | 354 | then throw("You can't lock shareTokens till first harvest end.") | |
355 | 355 | else if ((userVoteAmount == 0)) | |
356 | 356 | then 0 | |
357 | 357 | else if ((pmtAmount >= FHShareTokenUserLimit)) | |
358 | 358 | then (pmtAmount - FHShareTokenUserLimit) | |
359 | 359 | else 0 | |
360 | 360 | } | |
361 | 361 | else 0 | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | func getLockParams (type) = { | |
365 | 365 | let lockParams = split(valueOrErrorMessage(getString(this, (toString(type) + kLockParams)), ("There are no key for lock type" + toString(type))), "_") | |
366 | 366 | $Tuple2(parseIntValue(lockParams[0]), parseIntValue(lockParams[1])) | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)] | |
371 | 371 | ||
372 | 372 | ||
373 | 373 | func isActive () = if (if (active) | |
374 | 374 | then activeGlob | |
375 | 375 | else false) | |
376 | 376 | then unit | |
377 | 377 | else throw("DApp is inactive at this moment") | |
378 | 378 | ||
379 | 379 | ||
380 | 380 | func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
381 | 381 | then unit | |
382 | 382 | else throw("Only admin can call this function") | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | @Callable(i) | |
386 | 386 | func init (earlyLP) = if (isDefined(getString(this, kSWOPid))) | |
387 | 387 | then throw("SWOP already initialized") | |
388 | 388 | else { | |
389 | 389 | let initAmount = 100000000000000 | |
390 | 390 | let SWOPissue = Issue("SWOP", "SWOP protocol token", initAmount, 8, true) | |
391 | 391 | let SWOPid = calculateAssetId(SWOPissue) | |
392 | 392 | [BooleanEntry(kActive, true), Issue("SWOP", "SWOP protocol token", initAmount, 8, true), StringEntry(kSWOPid, toBase58String(SWOPid))] | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(i) | |
398 | 398 | 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)]) | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | ||
402 | 402 | @Callable(i) | |
403 | 403 | func updatePoolInterest (pool) = valueOrElse(isActive(), if ((i.caller != govAddress)) | |
404 | 404 | then throw("Only Governance can call this function") | |
405 | 405 | else { | |
406 | 406 | let user = toString(addressFromPublicKey(adminInvokePubKey)) | |
407 | - | let $ | |
408 | - | let farmInterest = $ | |
409 | - | let boostInterest = $ | |
410 | - | let boostLPinterest = $ | |
407 | + | let $t01848018554 = claimCalc(pool, user) | |
408 | + | let farmInterest = $t01848018554._1 | |
409 | + | let boostInterest = $t01848018554._2 | |
410 | + | let boostLPinterest = $t01848018554._3 | |
411 | 411 | [IntegerEntry((pool + kFarmLastInterest), farmInterest), IntegerEntry((pool + kBoostLastInterest), boostInterest), IntegerEntry((pool + kBoostLPLastInterest), boostLPinterest), IntegerEntry((pool + kLastInterestHeight), height)] | |
412 | 412 | }) | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | ||
416 | 416 | @Callable(i) | |
417 | 417 | func lockShareTokens (pool,lockType) = valueOrElse(isActive(), { | |
418 | 418 | let shareAssetId = getShareAssetId(pool) | |
419 | 419 | let user = toString(i.originCaller) | |
420 | - | let | |
421 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
420 | + | let totalShare = getTotalShareToken(pool) | |
421 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare) | |
422 | 422 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
423 | 423 | let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0) | |
424 | 424 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
425 | 425 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
426 | 426 | let totalUserShareTokens = ((userStakedAmount + userLockedAmount) + i.payments[0].amount) | |
427 | - | let $ | |
428 | - | let lockPeriod = $ | |
429 | - | let lockCoef = $ | |
427 | + | let $t01966319715 = getLockParams(lockType) | |
428 | + | let lockPeriod = $t01966319715._1 | |
429 | + | let lockCoef = $t01966319715._2 | |
430 | 430 | let lockWavesFee = getIntegerValue(this, kLockWavesFee) | |
431 | 431 | if ((i.payments[0].assetId != shareAssetId)) | |
432 | 432 | then throw("Wrong sharetoken in payment") | |
433 | 433 | else if ((0 >= i.payments[0].amount)) | |
434 | 434 | then throw("Payment amount must be greater than 0") | |
435 | 435 | else if ((0 > lockType)) | |
436 | 436 | then throw("lockType must be >= 0") | |
437 | 437 | else { | |
438 | 438 | let shareTokensChangeOnFH = canLockInFirstHarvest(pool, user, userStakedAmount, i.payments[0].amount, lockType) | |
439 | 439 | if ((shareTokensChangeOnFH == shareTokensChangeOnFH)) | |
440 | 440 | then { | |
441 | - | let $ | |
441 | + | let $t02014221987 = if ((lockType == 0)) | |
442 | 442 | then { | |
443 | 443 | let userAmountVirtualNew = ((userAmountVirtual + i.payments[0].amount) - shareTokensChangeOnFH) | |
444 | - | $ | |
444 | + | $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)) | |
445 | 445 | } | |
446 | 446 | else if (if ((userLockedHeigt == 0)) | |
447 | 447 | then if (if ((2 > size(i.payments))) | |
448 | 448 | then true | |
449 | 449 | else (i.payments[1].assetId != unit)) | |
450 | 450 | then true | |
451 | 451 | else (lockWavesFee > i.payments[1].amount) | |
452 | 452 | else false) | |
453 | 453 | then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES")) | |
454 | 454 | else if ((userLockedHeigt > (height + lockPeriod))) | |
455 | 455 | then throw("You cannot lock sharetokens for a period less than what you have already locked") | |
456 | 456 | else { | |
457 | 457 | let userLockedAmountNew = (userLockedAmount + i.payments[0].amount) | |
458 | 458 | let userLockedHeigtNew = (height + lockPeriod) | |
459 | 459 | let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount) | |
460 | - | $ | |
460 | + | $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)) | |
461 | 461 | } | |
462 | - | let lockEntries = $t02018322112._1 | |
463 | - | let userAmountVirtualNew = $t02018322112._2 | |
464 | - | let totalShareStakedNew = $t02018322112._3 | |
465 | - | if ((accountBalance(shareAssetId) > totalShareStakedNew)) | |
462 | + | let lockEntries = $t02014221987._1 | |
463 | + | let totalShareNew = $t02014221987._2 | |
464 | + | if ((accountBalance(shareAssetId) > totalShareNew)) | |
466 | 465 | then throw("Balance of share-token is lower than totalAmount") | |
467 | 466 | else { | |
468 | - | let $ | |
469 | - | let farmInterest = $ | |
470 | - | let boostInterest = $ | |
471 | - | let boostLPinterest = $ | |
472 | - | let claimAmount = $ | |
473 | - | let toTreasure = $ | |
467 | + | let $t02211222211 = claimCalc(pool, user) | |
468 | + | let farmInterest = $t02211222211._1 | |
469 | + | let boostInterest = $t02211222211._2 | |
470 | + | let boostLPinterest = $t02211222211._3 | |
471 | + | let claimAmount = $t02211222211._4 | |
472 | + | let toTreasure = $t02211222211._5 | |
474 | 473 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
475 | 474 | let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0")) | |
476 | 475 | then invoke(lpFarmingAddress, "updateUserInterest", [pool, totalUserShareTokens], nil) | |
477 | 476 | else 0 | |
478 | 477 | if ((uplp == uplp)) | |
479 | - | 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), | |
478 | + | 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) | |
480 | 479 | else throw("Strict value is not equal to itself.") | |
481 | 480 | } | |
482 | 481 | } | |
483 | 482 | else throw("Strict value is not equal to itself.") | |
484 | 483 | } | |
485 | 484 | }) | |
486 | 485 | ||
487 | 486 | ||
488 | 487 | ||
489 | 488 | @Callable(i) | |
490 | 489 | func lockStakedShareTokens (pool,lockType,lockAmount) = valueOrElse(isActive(), { | |
491 | 490 | let shareAssetId = getShareAssetId(pool) | |
492 | 491 | let user = toString(i.originCaller) | |
493 | - | let | |
494 | - | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), | |
492 | + | let totalShare = getTotalShareToken(pool) | |
493 | + | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShare) | |
495 | 494 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
496 | 495 | let userLockedHeigt = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), 0) | |
497 | 496 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
498 | 497 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
499 | 498 | let totalUserShareTokens = (userStakedAmount + userLockedAmount) | |
500 | - | let $ | |
501 | - | let lockPeriod = $ | |
502 | - | let lockCoef = $ | |
499 | + | let $t02411924171 = getLockParams(lockType) | |
500 | + | let lockPeriod = $t02411924171._1 | |
501 | + | let lockCoef = $t02411924171._2 | |
503 | 502 | let lockWavesFee = getIntegerValue(this, kLockWavesFee) | |
504 | 503 | if ((getHeightFirstHarvest(pool) > height)) | |
505 | 504 | then throw("You can't lock shareTokens till first harvest end.") | |
506 | 505 | else if ((0 >= lockType)) | |
507 | 506 | then throw("lockType must be > 0") | |
508 | 507 | else if ((lockAmount > userStakedAmount)) | |
509 | 508 | then throw(("You can't lock more than " + toString(userStakedAmount))) | |
510 | - | else if ((accountBalance(shareAssetId) > | |
509 | + | else if ((accountBalance(shareAssetId) > totalShare)) | |
511 | 510 | then throw("Balance of share-token is lower than totalAmount") | |
512 | 511 | else if (if ((userLockedHeigt == 0)) | |
513 | 512 | then if (if ((1 > size(i.payments))) | |
514 | 513 | then true | |
515 | 514 | else (i.payments[0].assetId != unit)) | |
516 | 515 | then true | |
517 | 516 | else (lockWavesFee > i.payments[0].amount) | |
518 | 517 | else false) | |
519 | 518 | then throw((("You need to pay additional waves comission " + toString(lockWavesFee)) + "WAVES")) | |
520 | 519 | else if ((userLockedHeigt > (height + lockPeriod))) | |
521 | 520 | then throw("You cannot lock sharetokens for a period less than what you have already locked") | |
522 | 521 | else { | |
523 | 522 | let userLockedAmountNew = (userLockedAmount + lockAmount) | |
524 | 523 | let userStakedAmountNew = (userStakedAmount - lockAmount) | |
525 | 524 | let userLockedHeigtNew = (height + lockPeriod) | |
526 | 525 | let userAmountVirtualNew = (fraction(userLockedAmountNew, lockCoef, lockBoostCoefScale) + userStakedAmount) | |
527 | - | let $ | |
528 | - | let farmInterest = $ | |
529 | - | let boostInterest = $ | |
530 | - | let boostLPinterest = $ | |
531 | - | let claimAmount = $ | |
532 | - | let toTreasure = $ | |
526 | + | let $t02528925388 = claimCalc(pool, user) | |
527 | + | let farmInterest = $t02528925388._1 | |
528 | + | let boostInterest = $t02528925388._2 | |
529 | + | let boostLPinterest = $t02528925388._3 | |
530 | + | let claimAmount = $t02528925388._4 | |
531 | + | let toTreasure = $t02528925388._5 | |
533 | 532 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
534 | 533 | [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)] | |
535 | 534 | } | |
536 | 535 | }) | |
537 | 536 | ||
538 | 537 | ||
539 | 538 | ||
540 | 539 | @Callable(i) | |
541 | 540 | func unlockUserLock (pool,user) = valueOrElse(isActive(), { | |
542 | 541 | let lockWavesFee = getIntegerValue(this, kLockWavesFee) | |
543 | 542 | let userLockedHeigt = valueOrErrorMessage(getInteger(this, (((pool + "_") + user) + kUserShareTokensLockedHeight)), (((("There is no pool " + pool) + " or user ") + user) + "with lock")) | |
544 | 543 | let totalShareVirtual = getIntegerValue(this, (pool + kShareTokensVirtual)) | |
545 | 544 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
546 | 545 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
547 | 546 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
548 | 547 | if ((userLockedHeigt > height)) | |
549 | 548 | then throw(("You can't unlock sharetokens till " + toString(userLockedHeigt))) | |
550 | 549 | else { | |
551 | 550 | let userStakedAmountNew = (userStakedAmount + userLockedAmount) | |
552 | - | let $ | |
553 | - | let farmInterest = $ | |
554 | - | let boostInterest = $ | |
555 | - | let boostLPinterest = $ | |
556 | - | let claimAmount = $ | |
557 | - | let toTreasure = $ | |
551 | + | let $t02762427723 = claimCalc(pool, user) | |
552 | + | let farmInterest = $t02762427723._1 | |
553 | + | let boostInterest = $t02762427723._2 | |
554 | + | let boostLPinterest = $t02762427723._3 | |
555 | + | let claimAmount = $t02762427723._4 | |
556 | + | let toTreasure = $t02762427723._5 | |
558 | 557 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
559 | 558 | [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)] | |
560 | 559 | } | |
561 | 560 | }) | |
562 | 561 | ||
563 | 562 | ||
564 | 563 | ||
565 | 564 | @Callable(i) | |
566 | 565 | func withdrawShareTokens (pool,shareTokensWithdrawAmount) = valueOrElse(isActive(), { | |
567 | 566 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
568 | 567 | let user = toString(i.originCaller) | |
569 | - | let $ | |
570 | - | let farmInterest = $ | |
571 | - | let boostInterest = $ | |
572 | - | let boostLPinterest = $ | |
573 | - | let claimAmount = $ | |
574 | - | let toTreasure = $ | |
568 | + | let $t02922729326 = claimCalc(pool, user) | |
569 | + | let farmInterest = $t02922729326._1 | |
570 | + | let boostInterest = $t02922729326._2 | |
571 | + | let boostLPinterest = $t02922729326._3 | |
572 | + | let claimAmount = $t02922729326._4 | |
573 | + | let toTreasure = $t02922729326._5 | |
575 | 574 | let userStakedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensStaked)), 0) | |
576 | 575 | let userLockedAmount = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensLocked)), 0) | |
577 | 576 | let userAmountVirtual = valueOrElse(getInteger(this, (((pool + "_") + user) + kUserShareTokensVirtual)), userStakedAmount) | |
578 | 577 | let userStakedAmountNew = (userStakedAmount - shareTokensWithdrawAmount) | |
579 | 578 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
580 | - | let totalShareAmount = | |
579 | + | let totalShareAmount = getTotalShareToken(pool) | |
581 | 580 | let totalShareVirtual = valueOrElse(getInteger(this, (pool + kShareTokensVirtual)), totalShareAmount) | |
582 | 581 | let totalShareAmountNew = (totalShareAmount - shareTokensWithdrawAmount) | |
583 | 582 | let totalShareVirtualNew = (totalShareVirtual - shareTokensWithdrawAmount) | |
584 | 583 | let userAmountVirtualNew = (userAmountVirtual - shareTokensWithdrawAmount) | |
585 | 584 | if ((shareTokensWithdrawAmount > userStakedAmount)) | |
586 | 585 | then throw("Withdraw amount more then user locked amount") | |
587 | 586 | else if ((accountBalance(shareTokensId) > totalShareAmount)) | |
588 | 587 | then throw("Balance of share-token is lower than totalAmount") | |
589 | 588 | else { | |
590 | 589 | let uplp = if ((getString(Address(fromBase58String(pool)), "version") == "3.0.0")) | |
591 | 590 | then invoke(lpFarmingAddress, "updateUserInterest", [pool, (userStakedAmount + userLockedAmount)], nil) | |
592 | 591 | else 0 | |
593 | 592 | if ((uplp == uplp)) | |
594 | 593 | 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)] | |
595 | 594 | else throw("Strict value is not equal to itself.") | |
596 | 595 | } | |
597 | 596 | }) | |
598 | 597 | ||
599 | 598 | ||
600 | 599 | ||
601 | 600 | @Callable(i) | |
602 | 601 | func claim (pool) = valueOrElse(isActive(), { | |
603 | 602 | let shareTokensId = fromBase58String(getStringValue(value(addressFromString(pool)), "share_asset_id")) | |
604 | 603 | let user = toString(i.caller) | |
605 | - | let shareTokenLocked = | |
606 | - | let $ | |
607 | - | let farmInterest = $ | |
608 | - | let boostInterest = $ | |
609 | - | let boostLPinterest = $ | |
610 | - | let claimAmount = $ | |
611 | - | let toTreasure = $ | |
604 | + | let shareTokenLocked = getTotalShareToken(pool) | |
605 | + | let $t03199532094 = claimCalc(pool, user) | |
606 | + | let farmInterest = $t03199532094._1 | |
607 | + | let boostInterest = $t03199532094._2 | |
608 | + | let boostLPinterest = $t03199532094._3 | |
609 | + | let claimAmount = $t03199532094._4 | |
610 | + | let toTreasure = $t03199532094._5 | |
612 | 611 | let availableFund = (userAvailableSWOP(pool, i.caller) + claimAmount) | |
613 | 612 | if ((availableFund == 0)) | |
614 | 613 | then throw("You have 0 available SWOP") | |
615 | 614 | else if ((accountBalance(shareTokensId) > shareTokenLocked)) | |
616 | 615 | then throw("Balance of share-token is lower than totalAmount") | |
617 | 616 | 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) | |
618 | 617 | }) | |
619 | 618 | ||
620 | 619 | ||
621 | 620 | ||
622 | 621 | @Callable(i) | |
623 | 622 | func claimAndStake (pool) = valueOrElse(isActive(), { | |
624 | 623 | let claimAmount = { | |
625 | 624 | let @ = invoke(this, "claim", [pool], nil) | |
626 | 625 | if ($isInstanceOf(@, "Int")) | |
627 | 626 | then @ | |
628 | 627 | else throw(($getType(@) + " couldn't be cast to Int")) | |
629 | 628 | } | |
630 | 629 | if ((claimAmount == claimAmount)) | |
631 | 630 | then { | |
632 | 631 | let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimAmount)]) | |
633 | 632 | if ((stakeToGov == stakeToGov)) | |
634 | 633 | then nil | |
635 | 634 | else throw("Strict value is not equal to itself.") | |
636 | 635 | } | |
637 | 636 | else throw("Strict value is not equal to itself.") | |
638 | 637 | }) | |
639 | 638 | ||
640 | 639 | ||
641 | 640 | ||
642 | 641 | @Callable(i) | |
643 | 642 | func claimAll (pools) = valueOrElse(isActive(), { | |
644 | 643 | func claimInv (claimTotal,pool) = { | |
645 | 644 | let claimAmount = { | |
646 | 645 | let @ = invoke(this, "claim", [pool], nil) | |
647 | 646 | if ($isInstanceOf(@, "Int")) | |
648 | 647 | then @ | |
649 | 648 | else throw(($getType(@) + " couldn't be cast to Int")) | |
650 | 649 | } | |
651 | 650 | if ((claimAmount == claimAmount)) | |
652 | 651 | then (claimTotal + claimAmount) | |
653 | 652 | else throw("Strict value is not equal to itself.") | |
654 | 653 | } | |
655 | 654 | ||
656 | 655 | let claimTotal = { | |
657 | 656 | let $l = pools | |
658 | 657 | let $s = size($l) | |
659 | 658 | let $acc0 = 0 | |
660 | 659 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
661 | 660 | then $a | |
662 | 661 | else claimInv($a, $l[$i]) | |
663 | 662 | ||
664 | 663 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
665 | 664 | then $a | |
666 | 665 | else throw("List size exceeds 60") | |
667 | 666 | ||
668 | 667 | $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) | |
669 | 668 | } | |
670 | 669 | if ((claimTotal == 0)) | |
671 | 670 | then throw("You have 0 available SWOP") | |
672 | 671 | else [ScriptTransfer(i.caller, claimTotal, SWOP)] | |
673 | 672 | }) | |
674 | 673 | ||
675 | 674 | ||
676 | 675 | ||
677 | 676 | @Callable(i) | |
678 | 677 | func claimAllAndStake (pools) = valueOrElse(isActive(), { | |
679 | 678 | func claimInv (claimTotal,pool) = { | |
680 | 679 | let claimAmount = { | |
681 | 680 | let @ = invoke(this, "claim", [pool], nil) | |
682 | 681 | if ($isInstanceOf(@, "Int")) | |
683 | 682 | then @ | |
684 | 683 | else throw(($getType(@) + " couldn't be cast to Int")) | |
685 | 684 | } | |
686 | 685 | if ((claimAmount == claimAmount)) | |
687 | 686 | then (claimTotal + claimAmount) | |
688 | 687 | else throw("Strict value is not equal to itself.") | |
689 | 688 | } | |
690 | 689 | ||
691 | 690 | let claimTotal = { | |
692 | 691 | let $l = pools | |
693 | 692 | let $s = size($l) | |
694 | 693 | let $acc0 = 0 | |
695 | 694 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
696 | 695 | then $a | |
697 | 696 | else claimInv($a, $l[$i]) | |
698 | 697 | ||
699 | 698 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
700 | 699 | then $a | |
701 | 700 | else throw("List size exceeds 60") | |
702 | 701 | ||
703 | 702 | $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) | |
704 | 703 | } | |
705 | 704 | if ((claimTotal == 0)) | |
706 | 705 | then throw("You have 0 available SWOP") | |
707 | 706 | else { | |
708 | 707 | let stakeToGov = invoke(govAddress, "lockSWOPFromFarming", nil, [AttachedPayment(SWOP, claimTotal)]) | |
709 | 708 | if ((stakeToGov == stakeToGov)) | |
710 | 709 | then nil | |
711 | 710 | else throw("Strict value is not equal to itself.") | |
712 | 711 | } | |
713 | 712 | }) | |
714 | 713 | ||
715 | 714 | ||
716 | 715 | ||
717 | 716 | @Callable(i) | |
718 | 717 | func updateUserBoostInterest (pool,user) = valueOrElse(isActive(), if ((i.caller != votingAddress)) | |
719 | 718 | then throw("Only voiting can call this function") | |
720 | 719 | else { | |
721 | - | let $ | |
722 | - | let farmInterest = $ | |
723 | - | let boostInterest = $ | |
724 | - | let boostLPinterest = $ | |
725 | - | let claimAmount = $ | |
726 | - | let toTreasure = $ | |
720 | + | let $t03447434573 = claimCalc(pool, user) | |
721 | + | let farmInterest = $t03447434573._1 | |
722 | + | let boostInterest = $t03447434573._2 | |
723 | + | let boostLPinterest = $t03447434573._3 | |
724 | + | let claimAmount = $t03447434573._4 | |
725 | + | let toTreasure = $t03447434573._5 | |
727 | 726 | let availableFundsNew = (userAvailableSWOP(pool, i.originCaller) + claimAmount) | |
728 | 727 | [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)] | |
729 | 728 | }) | |
730 | 729 | ||
731 | 730 | ||
732 | 731 | ||
733 | 732 | @Callable(i) | |
734 | 733 | func shutdown () = valueOrElse(isAdminCall(i), if (!(active)) | |
735 | 734 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified"))) | |
736 | 735 | else suspend("Paused by admin")) | |
737 | 736 | ||
738 | 737 | ||
739 | 738 | ||
740 | 739 | @Callable(i) | |
741 | 740 | func activate () = valueOrElse(isAdminCall(i), if (active) | |
742 | 741 | then throw("DApp is already active") | |
743 | 742 | else [BooleanEntry(kActive, true), DeleteEntry(kCause)]) | |
744 | 743 | ||
745 | 744 | ||
746 | 745 | @Verifier(tx) | |
747 | 746 | func verify () = match tx { | |
748 | 747 | case _ => | |
749 | 748 | let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
750 | 749 | then 1 | |
751 | 750 | else 0 | |
752 | 751 | let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
753 | 752 | then 1 | |
754 | 753 | else 0 | |
755 | 754 | let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
756 | 755 | then 1 | |
757 | 756 | else 0 | |
758 | 757 | (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2) | |
759 | 758 | } | |
760 | 759 |
github/deemru/w8io/026f985 124.37 ms ◑