tx · BRwW4n9YiWq3PP3tUTGQvtPQt13sMufKSRyctiG5i1jc

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03100000 Waves

2024.12.05 04:49 [3400693] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "BRwW4n9YiWq3PP3tUTGQvtPQt13sMufKSRyctiG5i1jc", "fee": 3100000, "feeAssetId": null, "timestamp": 1733363438412, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "5eNRShcyb4pQaL173Lpyp7kLVWe3F5iEiiw5g2SG58vomZ5Fvff1P4jUni1cH8bzEYLmpDqiRRUobAcktWoHx24S" ], "script": "base64:BgJJCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASAH0AA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFBy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xBApuZnRBc3NldElkCAUNJHQwMjk4NjUzMDAxNQJfMgkAlAoCCQDNCAIJAM0IAgkAzggCCQDOCAIFD2lzc3VlTmZ0QWN0aW9ucwUNcHJvbG9nQWN0aW9ucwUNY2hhbmdlQWN0aW9ucwkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQkBEUBleHRyTmF0aXZlKDEwNTMpAgULd2xnQ29udHJhY3QFC3RlYW1BZGRyS2V5BQdmb3JUZWFtBQp3bGdBc3NldElkCQELRGVsZXRlRW50cnkBBQlmaW5pc2hLZXkJAJQKAgUKbmZ0QXNzZXRJZAUJd2xnUmVtYWluAWkBD2NvbW1pdEZvclJhbmRvbQAEDXByb2xvZ0FjdGlvbnMJAQZwcm9sb2cBBQFpBARhZGRyCQClCAEIBQFpBmNhbGxlcgQJZmluaXNoS2V5CQEJa2V5Q29tbWl0AQUEYWRkcgMJAQlpc0RlZmluZWQBCQCfCAEFCWZpbmlzaEtleQkAAgECLllvdSBhbHJlYWR5IGNvbW1pdGVkIGZvciByYW5kb20sIHBsZWFzZSB1c2UgaXQEC2ZpbmlzaEJsb2NrCQBkAgUGaGVpZ2h0BQxSQU5ET01fREVMQVkJAJQKAgkAzggCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQlmaW5pc2hLZXkFC2ZpbmlzaEJsb2NrBQNuaWwFDXByb2xvZ0FjdGlvbnMFC2ZpbmlzaEJsb2NrALPqiBI=", "height": 3400693, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4qN1thw1qdUhMDnrsGzMQAqqTxheQcgecjwG8XoeDXQo Next: 6Cb9tPTgn3zqwmrGDuS1teXPWepXZbTV1b8Ux3TwwPQ2 Diff:
OldNewDifferences
279279
280280 let OLD_STAKING_DEADL = 1733346000000
281281
282-let MAX_LENDS_TO_CONVERT = 14
282+let MAX_LANDS_TO_CONVERT = 14
283283
284284 let keyLastAcresSellTime = "lastAcresSellTime"
285285
681681
682682
683683 @Callable(i)
684-func convertOldStakes (address) = {
684+func convertOldStakes () = {
685685 let prologActions = prolog(i)
686686 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
687687 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
688688 else {
689- let caller = addressFromStringValue(address)
689+ let address = toString(i.caller)
690690 if ((size(i.payments) != 0))
691691 then throw("No payments required")
692692 else {
699699 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
700700 let landsResult = if (isDefined(landsStr))
701701 then {
702- let landsVal = value(landsStr)
703- let cutLands = if (((45 * MAX_LENDS_TO_CONVERT) > size(landsVal)))
704- then landsVal
705- else take(landsVal, value(lastIndexOf(landsVal, "_", (45 * MAX_LENDS_TO_CONVERT))))
706- let lands = split_51C(value(cutLands), "_")
707- func oneLand (acc,landAssetId) = if ((landAssetId == ""))
708- then throw("landAssetId is required")
702+ let lands = split_51C(value(landsStr), "_")
703+ if ((size(lands) > MAX_LANDS_TO_CONVERT))
704+ then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
709705 else {
710- let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
711- $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
712- }
706+ func oneLand (acc,landAssetId) = if ((landAssetId == ""))
707+ then throw("landAssetId is required")
708+ else {
709+ let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
710+ if ((r == r))
711+ then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
712+ else throw("Strict value is not equal to itself.")
713+ }
713714
714- let rr = {
715- let $l = lands
716- let $s = size($l)
717- let $acc0 = $Tuple5(0, 0, 0, 0, 0)
718- func $f0_1 ($a,$i) = if (($i >= $s))
719- then $a
720- else oneLand($a, $l[$i])
715+ let rr = {
716+ let $l = lands
717+ let $s = size($l)
718+ let $acc0 = $Tuple5(0, 0, 0, 0, 0)
719+ func $f0_1 ($a,$i) = if (($i >= $s))
720+ then $a
721+ else oneLand($a, $l[$i])
721722
722- func $f0_2 ($a,$i) = if (($i >= $s))
723- then $a
724- else throw("List size exceeds 100")
723+ func $f0_2 ($a,$i) = if (($i >= $s))
724+ then $a
725+ else throw("List size exceeds 14")
725726
726- $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
727- }
728- let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
729- if ((finalize == finalize))
730- then {
731- let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
732- if ((req == req))
727+ $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14)
728+ }
729+ let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
730+ if ((finalize == finalize))
733731 then {
734- let $t01782717963 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, caller)
735- let nftActions = $t01782717963._1
736- let nftAssetId = $t01782717963._2
737- $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
732+ let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
733+ if ((req == req))
734+ then {
735+ let $t01790018038 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736+ let nftActions = $t01790018038._1
737+ let nftAssetId = $t01790018038._2
738+ $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
739+ }
740+ else throw("Strict value is not equal to itself.")
738741 }
739742 else throw("Strict value is not equal to itself.")
740743 }
741- else throw("Strict value is not equal to itself.")
742744 }
743745 else $Tuple6(0, 0, 0, 0, 0, nil)
744746 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
801803 let userFpKey = keyFarmingPowerByUser(address)
802804 let oldFp = valueOrElse(getInteger(userFpKey), 0)
803805 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
804- let $t02018720274 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
805- let newBonusedFp = $t02018720274._1
806- let ignored = $t02018720274._2
806+ let $t02026220349 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807+ let newBonusedFp = $t02026220349._1
808+ let ignored = $t02026220349._2
807809 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
808810 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
809811 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
845847 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
846848 if ((asset.issuer == this))
847849 then {
848- let $t02168321873 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
849- let actions = $t02168321873._1
850- let wlgClaimedAmount = $t02168321873._2
850+ let $t02175821948 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
851+ let actions = $t02175821948._1
852+ let wlgClaimedAmount = $t02175821948._2
851853 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
852854 }
853855 else if ((isArkimalIssued(asset) == ""))
854856 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
855857 else {
856- let $t02205422205 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
857- let actions = $t02205422205._1
858- let wlgClaimedAmount = $t02205422205._2
858+ let $t02212922280 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
859+ let actions = $t02212922280._1
860+ let wlgClaimedAmount = $t02212922280._2
859861 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
860862 }
861863 }
892894 then {
893895 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
894896 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
895- let $t02337023449 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
896- let actions = $t02337023449._1
897- let wlgClaimedAmount = $t02337023449._2
897+ let $t02344523524 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898+ let actions = $t02344523524._1
899+ let wlgClaimedAmount = $t02344523524._2
898900 $Tuple2(((((((actions :+ listAction) :+ IntegerEntry(keyUserWlNftNumber(addr), (wlNftNumber - 1))) :+ IntegerEntry(keyWlNftTotalStaked, max([0, (valueOrElse(getInteger(keyWlNftTotalStaked), 0) - 1)]))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
899901 }
900902 else {
903905 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
904906 else {
905907 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
906- let $t02410924193 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
907- let actions = $t02410924193._1
908- let wlgClaimedAmount = $t02410924193._2
908+ let $t02418424268 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909+ let actions = $t02418424268._1
910+ let wlgClaimedAmount = $t02418424268._2
909911 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
910912 }
911913 }
947949 }
948950 }
949951
950- let $t02558225798 = {
952+ let $t02565725873 = {
951953 let $l = i.payments
952954 let $s = size($l)
953955 let $acc0 = $Tuple4(0, 0, nil, -1)
961963
962964 $f0_2($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)
963965 }
964- let wlgFee = $t02558225798._1
965- let totalBonus = $t02558225798._2
966- let burnActions = $t02558225798._3
967- let rarityIdx = $t02558225798._4
966+ let wlgFee = $t02565725873._1
967+ let totalBonus = $t02565725873._2
968+ let burnActions = $t02565725873._3
969+ let rarityIdx = $t02565725873._4
968970 let newRarityIdx = if ((rarityIdx == idxRarityC))
969971 then if ((rarityThresholds[idxThresholdC] > totalBonus))
970972 then idxRarityC
996998 let changeActions = if ((change > 0))
997999 then [ScriptTransfer(i.caller, change, wlgAssetId)]
9981000 else nil
999- let $t02733527496 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1000- let issueNftActions = $t02733527496._1
1001- let nftAssetId = $t02733527496._2
1001+ let $t02741027571 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002+ let issueNftActions = $t02741027571._1
1003+ let nftAssetId = $t02741027571._2
10021004 let burned = size(burnActions)
10031005 let burnCounterActions = if ((burned == 0))
10041006 then nil
10421044 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
10431045 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
10441046 let rand = getRandomNumber(100, salt, entropy)
1045- let $t02951529787 = if ((84 > rand))
1047+ let $t02959029862 = if ((84 > rand))
10461048 then $Tuple2(1, idxRarityC)
10471049 else if ((98 > rand))
10481050 then $Tuple2(5, idxRarityU)
10491051 else $Tuple2(10, idxRarityL)
1050- let bonus = $t02951529787._1
1051- let rarityIdx = $t02951529787._2
1052- let $t02979029940 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1053- let issueNftActions = $t02979029940._1
1054- let nftAssetId = $t02979029940._2
1052+ let bonus = $t02959029862._1
1053+ let rarityIdx = $t02959029862._2
1054+ let $t02986530015 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1055+ let issueNftActions = $t02986530015._1
1056+ let nftAssetId = $t02986530015._2
10551057 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
10561058 }
10571059 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let MULT6 = 1000000
77
88 let MULT7 = 10000000
99
1010 let MULT8 = 100000000
1111
1212 let MULT14 = 100000000000000
1313
1414 let DAY_MILLIS = 86400000
1515
1616 let USDT2ACRES_MULTIPLIER = 10
1717
1818 let ONE_PERCENT_DIVISOR = 100
1919
2020 let RANDOM_DELAY = 2
2121
2222 let NFT_CHEST_PRICE_USDT = 5000000
2323
2424 let chain = take(drop(this.bytes, 1), 1)
2525
2626 let WEEK_BLOCKS = match chain {
2727 case _ =>
2828 if ((base58'2W' == $match0))
2929 then 10080
3030 else if ((base58'2T' == $match0))
3131 then 180
3232 else throw("Unknown chain")
3333 }
3434
3535 let usdtAssetId = match chain {
3636 case _ =>
3737 if ((base58'2W' == $match0))
3838 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
3939 else if ((base58'2T' == $match0))
4040 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
4141 else throw("Unknown chain")
4242 }
4343
4444 let defaultRest2AddressStr = match chain {
4545 case _ =>
4646 if ((base58'2W' == $match0))
4747 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
4848 else if ((base58'2T' == $match0))
4949 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
5050 else throw("Unknown chain")
5151 }
5252
5353 let arbitrageDelay = match chain {
5454 case _ =>
5555 if ((base58'2W' == $match0))
5656 then DAY_MILLIS
5757 else if ((base58'2T' == $match0))
5858 then 60000
5959 else throw("Unknown chain")
6060 }
6161
6262 let oldStakingContractStr = match chain {
6363 case _ =>
6464 if ((base58'2W' == $match0))
6565 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
6666 else if ((base58'2T' == $match0))
6767 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
6868 else throw("Unknown chain")
6969 }
7070
7171 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
7272
7373
7474 let IdxCfgAcres2Dapp = 1
7575
7676 let IdxCfgWlgDapp = 2
7777
7878 let IdxCfgInvestFundDapp = 5
7979
8080 func keyRestCfg () = "%s__restConfig"
8181
8282
8383 func keyRest2Address () = "%s__rest2Addr"
8484
8585
8686 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
8787
8888
8989 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
9090
9191
9292 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
9393
9494 let rest2Cfg = readRestCfgOrFail(rest2Contract)
9595
9696 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
9797
9898 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
9999
100100 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
101101
102102 let oldAcresContractKey = "oldAcresContract"
103103
104104 func keyBlocked () = "contractsBlocked"
105105
106106
107107 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
108108
109109
110110 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
111111
112112
113113 func keyCommit (address) = ("finishBlockFor_" + address)
114114
115115
116116 let wlgAssetIdKey = "wlg_assetId"
117117
118118 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
119119
120120 let acresIssuedAmountKey = "acresIssuedAmount"
121121
122122 let acresAssetIdKey = "acresAssetId"
123123
124124 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
125125
126126 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
127127
128128
129129 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
130130
131131
132132 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
133133
134134
135135 func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr)
136136
137137
138138 func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr)
139139
140140
141141 func asInt (v) = match v {
142142 case n: Int =>
143143 n
144144 case _ =>
145145 throw("fail to cast into Int")
146146 }
147147
148148
149149 func asTuple5Ints (val) = match val {
150150 case t: (Int, Int, Int, Int, Int) =>
151151 t
152152 case _ =>
153153 throw("fail to cast into (Int, Int, Int, Int, Int)")
154154 }
155155
156156
157157 func asTuple4Ints (val) = match val {
158158 case t: (Int, Int, Int, Int) =>
159159 t
160160 case _ =>
161161 throw("fail to cast into (Int, Int, Int, Int)")
162162 }
163163
164164
165165 func asTuple3Ints (val) = match val {
166166 case t: (Int, Int, Int) =>
167167 t
168168 case _ =>
169169 throw("fail to cast into (Int, Int, Int)")
170170 }
171171
172172
173173 func asTuple2Ints (val) = match val {
174174 case t: (Int, Int) =>
175175 t
176176 case _ =>
177177 throw("fail to cast into (Int, Int)")
178178 }
179179
180180
181181 func fixedPoint (val,decimals) = {
182182 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
183183 let lowPart = toString((val % tenPow))
184184 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
185185 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
186186 }
187187
188188
189189 func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue))
190190 then throw("maxValue should be > 0")
191191 else {
192192 let randomHash = sha256_16Kb((salt + entropy))
193193 (toInt(randomHash) % maxValue)
194194 }
195195
196196
197197 let M6_ = 1000000
198198
199199 let M8_ = 100000000
200200
201201 let wlgIssuedAmtKey = "wlg_issuedAmount"
202202
203203 let zbIssuedAmtKey = "zbill_issuedAmount"
204204
205205 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
206206
207207
208208 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
209209
210210
211211 let acresStakdTotalKey = "acresStakedAmountTotal"
212212
213213 let totalFarmingPowerKey = "totalFarmingPower"
214214
215215 let MAX_WL_NFTS = 3
216216
217217 let MAX_ARK_NFTS = 1
218218
219219 let ARK_NFT_BONUS = 5000
220220
221221 let MAX_NFTS_STAKED_BY_USER = 4
222222
223223 let keyNftTotalIssued = "nftTotalIssued"
224224
225225 let keyNftTotalBurned = "nftTotalBurned"
226226
227227 let keyWlNftTotalStaked = "WlNftTotalStaked"
228228
229229 let keyArkNftTotalStaked = "ArkNftTotalStaked"
230230
231231 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
232232
233233
234234 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
235235
236236
237237 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
238238
239239
240240 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
241241
242242
243243 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
244244
245245 func getLevelByAcres (acres) = {
246246 let acr = ((acres + 99999999) / M8_)
247247 func checker (acc,item) = if ((item >= acr))
248248 then acc
249249 else (acc + 1)
250250
251251 let $l = levelAcres
252252 let $s = size($l)
253253 let $acc0 = 0
254254 func $f0_1 ($a,$i) = if (($i >= $s))
255255 then $a
256256 else checker($a, $l[$i])
257257
258258 func $f0_2 ($a,$i) = if (($i >= $s))
259259 then $a
260260 else throw("List size exceeds 10")
261261
262262 $f0_2($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)
263263 }
264264
265265
266266 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
267267
268268
269269 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
270270 let notBonused = getFarmingPowerByAcres(acres)
271271 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
272272 }
273273
274274
275275 let teamAddrKey = "teamAddr"
276276
277277 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
278278
279279
280280 let OLD_STAKING_DEADL = 1733346000000
281281
282-let MAX_LENDS_TO_CONVERT = 14
282+let MAX_LANDS_TO_CONVERT = 14
283283
284284 let keyLastAcresSellTime = "lastAcresSellTime"
285285
286286 let keyLastLimitLeft = "lastLimitLeft"
287287
288288 let names = ["Gold shovel", "Pickaxe"]
289289
290290 let descriptions = ["Reward for early birds", "Increases FarmPower"]
291291
292292 let idxDescrShovel = 0
293293
294294 let idxDescrPickaxe = 1
295295
296296 let rarityThresholds = [5, 10, 20]
297297
298298 let idxThresholdC = 0
299299
300300 let idxThresholdU = 1
301301
302302 let idxThresholdL = 2
303303
304304 let namez = ["SHOVEL", "PICKAXE"]
305305
306306 let idxNameShovel = 0
307307
308308 let idxNamePickaxe = 1
309309
310310 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
311311
312312 let idxKeyC = 0
313313
314314 let idxKeyP = 4
315315
316316 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
317317
318318 let idxRarityC = 0
319319
320320 let idxRarityU = 1
321321
322322 let idxRarityL = 2
323323
324324 let idxRarityE = 3
325325
326326 let idxRarityP = 4
327327
328328 let collectionz = ["Digging tools"]
329329
330330 let idxCollDig = 0
331331
332332 let bonusTypez = ["FarmPower"]
333333
334334 let idxBonusTypeFp = 0
335335
336336 func prolog (i) = if (if ((i.originCaller != rest2Contract))
337337 then valueOrElse(getBoolean(keyBlocked()), false)
338338 else false)
339339 then throw("Contracts are under maintenance")
340340 else {
341341 let addr = toString(i.originCaller)
342342 let week = (height / WEEK_BLOCKS)
343343 let lastWeekKey = keyLastWeekTxIdByUser(addr)
344344 let lastWeekTxIdByUser = getString(lastWeekKey)
345345 let txId = toBase58String(i.transactionId)
346346 let wtx = ((toString(week) + "_") + txId)
347347 let curWeekKey = keyCurWeekTxIdByUser(addr)
348348 if (isDefined(lastWeekTxIdByUser))
349349 then {
350350 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
351351 if ((lastWeekTx[0] == toString(week)))
352352 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
353353 else if ((lastWeekTx[0] == toString((week - 1))))
354354 then [StringEntry(curWeekKey, wtx)]
355355 else {
356356 let curWeekTxIdByUser = getStringValue(curWeekKey)
357357 let curWeekTx = split(curWeekTxIdByUser, "_")
358358 if ((curWeekTx[0] == toString(week)))
359359 then [StringEntry(curWeekKey, wtx)]
360360 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
361361 }
362362 }
363363 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
364364 }
365365
366366
367367 func createNftDescrCustom (contKey,nftSerial,collection,name,descr,rarity,bonus,bonusType) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + contKey) + "\", ") + "\"number\": ") + toString(nftSerial)) + ", ") + "\"collection\": \"") + collection) + "\", ") + "\"name\": \"") + name) + "\", ") + "\"description\": \"") + descr) + "\", ") + "\"rare\": \"") + rarity) + "\", ") + "\"bonus\": ") + toString(bonus)) + ", ") + "\"bonusType\": \"") + bonusType) + "\"}")
368368
369369
370370 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
371371 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
372372 let rarity = rarityNames[rarityIdx]
373373 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
374374 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
375375 let nftAssetId = calculateAssetId(issue)
376376 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
377377 }
378378
379379
380380 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
381381 then throw(("NFT is not supported: " + descr))
382382 else {
383383 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
384384 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
385385 }
386386
387387
388388 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
389389 then throw(("NFT is not supported: " + descr))
390390 else {
391391 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
392392 value(indexOf(rarityNames, rarityStr))
393393 }
394394
395395
396396 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
397397 then (bonusDelta == 0)
398398 else false)
399399 then throw("Nothing to do")
400400 else {
401401 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address, true], nil)
402402 if ((wlgResult == wlgResult))
403403 then {
404404 let now = lastBlock.timestamp
405405 let timeKey = keyAcresStakedTimeByUser(address)
406406 let amountKey = keyAcresStakedAmtByUser(address)
407407 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
408408 if (if ((0 > amt))
409409 then (0 > (oldAcresAmount + amt))
410410 else false)
411411 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
412412 else {
413413 let newAcresAmount = (oldAcresAmount + amt)
414414 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
415415 let userFpKey = keyFarmingPowerByUser(address)
416416 let oldFp = valueOrElse(getInteger(userFpKey), 0)
417417 let bonusKey = keyUserFullBonus(address)
418418 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
419419 if (if ((0 > bonusDelta))
420420 then (0 > (oldBonus + bonusDelta))
421421 else false)
422422 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
423423 else {
424424 let $t063056404 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
425425 let newBonusedFp = $t063056404._1
426426 let ignored = $t063056404._2
427427 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
428428 let acresActions = if ((amt == 0))
429429 then nil
430430 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
431431 let bonusActions = if ((bonusDelta == 0))
432432 then nil
433433 else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))]
434434 $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult)
435435 }
436436 }
437437 }
438438 else throw("Strict value is not equal to itself.")
439439 }
440440
441441
442442 func getWlgPrice (usdtBalanceCorrection) = {
443443 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
444444 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
445445 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
446446 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
447447 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
448448 fraction(totalFundsUsd, MULT8, issuedAmount)
449449 }
450450
451451
452452 func getSwapLimitAcres () = {
453453 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
454454 let acres2Usd = assetBalance(this, usdtAssetId)
455455 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
456456 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
457457 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
458458 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
459459 let now = lastBlock.timestamp
460460 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
461461 let limitLeftUsdt = min([currentLimit, defaultLimit])
462462 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
463463 }
464464
465465
466466 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
467467
468468 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
469469
470470 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
471471
472472 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
473473
474474 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
475475
476476 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
477477
478478 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
479479
480480 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
481481
482482 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
483483
484484 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
485485
486486 func isArkimalIssued (nfo) = {
487487 let issuer = toString(nfo.issuer)
488488 if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
489489 then (issuer == oldStakingContractStr)
490490 else false)
491491 then true
492492 else (issuer == incubator))
493493 then true
494494 else (issuer == breeder))
495495 then true
496496 else (issuer == turtleIncubator))
497497 then true
498498 else (issuer == turtleBreeder))
499499 then true
500500 else (issuer == canineIncubator))
501501 then true
502502 else (issuer == canineBreeder))
503503 then true
504504 else (issuer == felineIncubator))
505505 then true
506506 else (issuer == felineBreeder))
507507 then nfo.name
508508 else if ((issuer == mutantBreeder))
509509 then nfo.description
510510 else ""
511511 }
512512
513513
514514 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
515515 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
516516 if ((nftNumber >= limit))
517517 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
518518 else {
519519 let $t01068310759 = stakeUnstakeAcresInternal(0, addr, bonus6)
520520 let actions = $t01068310759._1
521521 let wlgClaimedAmount = $t01068310759._2
522522 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
523523 }
524524 }
525525
526526
527527 @Callable(i)
528528 func saveLastTx () = if (!(containsElement([wlgContract], i.caller)))
529529 then throw("Access denied")
530530 else $Tuple2(prolog(i), 42)
531531
532532
533533
534534 @Callable(i)
535535 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
536536 then throw("Permission denied")
537537 else {
538538 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
539539 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
540540 }
541541
542542
543543
544544 @Callable(i)
545545 func setBlocked (isBlocked) = if ((i.caller != this))
546546 then throw("permission denied")
547547 else [BooleanEntry(keyBlocked(), isBlocked)]
548548
549549
550550
551551 @Callable(i)
552552 func unstakeAcres (amount) = {
553553 let prologActions = prolog(i)
554554 if ((0 >= amount))
555555 then throw("Amount should be positive")
556556 else {
557557 let address = toString(i.caller)
558558 if ((size(i.payments) != 0))
559559 then throw("No payments required")
560560 else {
561561 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
562562 if ((arbReleaseTime > lastBlock.timestamp))
563563 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
564564 else {
565565 let $t01233312413 = stakeUnstakeAcresInternal(-(amount), address, 0)
566566 let actions = $t01233312413._1
567567 let wlgClaimedAmount = $t01233312413._2
568568 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
569569 }
570570 }
571571 }
572572 }
573573
574574
575575
576576 @Callable(i)
577577 func stakeAcres () = {
578578 let prologActions = prolog(i)
579579 let address = toString(i.caller)
580580 if ((size(i.payments) != 1))
581581 then throw("exactly 1 payment must be attached")
582582 else {
583583 let pmt = i.payments[0]
584584 let amt = pmt.amount
585585 if (if (!(isDefined(pmt.assetId)))
586586 then true
587587 else (value(pmt.assetId) != acresAssetId))
588588 then throw("ACRES payments only!")
589589 else {
590590 let $t01286412940 = stakeUnstakeAcresInternal(amt, address, 0)
591591 let actions = $t01286412940._1
592592 let wlgClaimedAmount = $t01286412940._2
593593 $Tuple2((actions ++ prologActions), wlgClaimedAmount)
594594 }
595595 }
596596 }
597597
598598
599599
600600 @Callable(i)
601601 func buyAcres () = {
602602 let prologActions = prolog(i)
603603 if ((size(i.payments) != 1))
604604 then throw("exactly 1 payment must be attached")
605605 else {
606606 let pmt = i.payments[0]
607607 let usdtAmount = pmt.amount
608608 if (if (!(isDefined(pmt.assetId)))
609609 then true
610610 else (value(pmt.assetId) != usdtAssetId))
611611 then throw("USDT payments only!")
612612 else if ((MULT6 > usdtAmount))
613613 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
614614 else {
615615 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
616616 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
617617 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
618618 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
619619 if ((req == req))
620620 then {
621621 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
622622 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
623623 }
624624 else throw("Strict value is not equal to itself.")
625625 }
626626 }
627627 }
628628
629629
630630
631631 @Callable(i)
632632 func buyAcresREADONLY (usdtAmount) = {
633633 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
634634 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
635635 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
636636 }
637637
638638
639639
640640 @Callable(i)
641641 func sellAcres () = {
642642 let prologActions = prolog(i)
643643 if ((size(i.payments) != 1))
644644 then throw("exactly 1 payment must be attached")
645645 else {
646646 let pmt = i.payments[0]
647647 let acresAmount = pmt.amount
648648 if (if (!(isDefined(pmt.assetId)))
649649 then true
650650 else (value(pmt.assetId) != acresAssetId))
651651 then throw("ACRES payments only!")
652652 else if ((MULT7 > acresAmount))
653653 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
654654 else {
655655 let addr = toString(i.caller)
656656 let $t01479714845 = getSwapLimitAcres()
657657 let limitAction = $t01479714845._1
658658 let maxUsdt = $t01479714845._2
659659 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
660660 if ((acresAmount > maxAcres))
661661 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
662662 else {
663663 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
664664 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
665665 }
666666 }
667667 }
668668 }
669669
670670
671671
672672 @Callable(i)
673673 func sellAcresREADONLY (address,acresAmount) = {
674674 let $t01534115389 = getSwapLimitAcres()
675675 let limitAction = $t01534115389._1
676676 let maxUsdt = $t01534115389._2
677677 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
678678 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
679679 }
680680
681681
682682
683683 @Callable(i)
684-func convertOldStakes (address) = {
684+func convertOldStakes () = {
685685 let prologActions = prolog(i)
686686 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
687687 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
688688 else {
689- let caller = addressFromStringValue(address)
689+ let address = toString(i.caller)
690690 if ((size(i.payments) != 0))
691691 then throw("No payments required")
692692 else {
693693 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
694694 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
695695 let gotAcres0 = if ((amount > 0))
696696 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
697697 else $Tuple2(0, 0)
698698 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
699699 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
700700 let landsResult = if (isDefined(landsStr))
701701 then {
702- let landsVal = value(landsStr)
703- let cutLands = if (((45 * MAX_LENDS_TO_CONVERT) > size(landsVal)))
704- then landsVal
705- else take(landsVal, value(lastIndexOf(landsVal, "_", (45 * MAX_LENDS_TO_CONVERT))))
706- let lands = split_51C(value(cutLands), "_")
707- func oneLand (acc,landAssetId) = if ((landAssetId == ""))
708- then throw("landAssetId is required")
702+ let lands = split_51C(value(landsStr), "_")
703+ if ((size(lands) > MAX_LANDS_TO_CONVERT))
704+ then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
709705 else {
710- let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
711- $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
712- }
706+ func oneLand (acc,landAssetId) = if ((landAssetId == ""))
707+ then throw("landAssetId is required")
708+ else {
709+ let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
710+ if ((r == r))
711+ then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
712+ else throw("Strict value is not equal to itself.")
713+ }
713714
714- let rr = {
715- let $l = lands
716- let $s = size($l)
717- let $acc0 = $Tuple5(0, 0, 0, 0, 0)
718- func $f0_1 ($a,$i) = if (($i >= $s))
719- then $a
720- else oneLand($a, $l[$i])
715+ let rr = {
716+ let $l = lands
717+ let $s = size($l)
718+ let $acc0 = $Tuple5(0, 0, 0, 0, 0)
719+ func $f0_1 ($a,$i) = if (($i >= $s))
720+ then $a
721+ else oneLand($a, $l[$i])
721722
722- func $f0_2 ($a,$i) = if (($i >= $s))
723- then $a
724- else throw("List size exceeds 100")
723+ func $f0_2 ($a,$i) = if (($i >= $s))
724+ then $a
725+ else throw("List size exceeds 14")
725726
726- $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
727- }
728- let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
729- if ((finalize == finalize))
730- then {
731- let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
732- if ((req == req))
727+ $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14)
728+ }
729+ let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
730+ if ((finalize == finalize))
733731 then {
734- let $t01782717963 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, caller)
735- let nftActions = $t01782717963._1
736- let nftAssetId = $t01782717963._2
737- $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
732+ let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
733+ if ((req == req))
734+ then {
735+ let $t01790018038 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736+ let nftActions = $t01790018038._1
737+ let nftAssetId = $t01790018038._2
738+ $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
739+ }
740+ else throw("Strict value is not equal to itself.")
738741 }
739742 else throw("Strict value is not equal to itself.")
740743 }
741- else throw("Strict value is not equal to itself.")
742744 }
743745 else $Tuple6(0, 0, 0, 0, 0, nil)
744746 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
745747 let duckResult = if ((duckAssetId != ""))
746748 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
747749 else $Tuple3(0, 0, 0)
748750 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
749751 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
750752 }
751753 }
752754 }
753755
754756
755757
756758 @Callable(i)
757759 func unstakeLandsREADONLY (address) = {
758760 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
759761 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
760762 let landsResult = if (isDefined(landsStr))
761763 then {
762764 let lands = split_51C(value(landsStr), "_")
763765 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
764766 then throw("landAssetId is required")
765767 else {
766768 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
767769 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
768770 }
769771
770772 let $l = lands
771773 let $s = size($l)
772774 let $acc0 = $Tuple4(0, 0, 0, 0)
773775 func $f0_1 ($a,$i) = if (($i >= $s))
774776 then $a
775777 else oneLand($a, $l[$i])
776778
777779 func $f0_2 ($a,$i) = if (($i >= $s))
778780 then $a
779781 else throw("List size exceeds 100")
780782
781783 $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
782784 }
783785 else $Tuple4(0, 0, 0, 0)
784786 $Tuple2(nil, landsResult)
785787 }
786788
787789
788790
789791 @Callable(i)
790792 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
791793 then throw("Permission denied")
792794 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
793795
794796
795797
796798 @Callable(i)
797799 func simulateStakeAcresREADONLY (address,addedAmount) = {
798800 let amountKey = keyAcresStakedAmtByUser(address)
799801 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
800802 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
801803 let userFpKey = keyFarmingPowerByUser(address)
802804 let oldFp = valueOrElse(getInteger(userFpKey), 0)
803805 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
804- let $t02018720274 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
805- let newBonusedFp = $t02018720274._1
806- let ignored = $t02018720274._2
806+ let $t02026220349 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807+ let newBonusedFp = $t02026220349._1
808+ let ignored = $t02026220349._2
807809 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
808810 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
809811 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
810812 }
811813
812814
813815
814816 @Callable(i)
815817 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
816818 then throw("Permission denied")
817819 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
818820
819821
820822
821823 @Callable(i)
822824 func stakeNFT () = {
823825 let prologActions = prolog(i)
824826 if ((size(i.payments) != 1))
825827 then throw("Exactly one payment required")
826828 else {
827829 let pmt = value(i.payments[0])
828830 if ((pmt.amount != 1))
829831 then throw("NFT token should be attached as payment")
830832 else {
831833 let assetId = value(pmt.assetId)
832834 let asset = value(assetInfo(assetId))
833835 let assetIdStr = toBase58String(assetId)
834836 let addr = toString(i.caller)
835837 let nftsKey = keyStakedNFTsByOwner(addr)
836838 let nftsStr = getString(nftsKey)
837839 let nfts = if (isDefined(nftsStr))
838840 then split_4C(value(nftsStr), "_")
839841 else nil
840842 if (containsElement(nfts, assetIdStr))
841843 then throw(("Your staked NFTs already contain " + assetIdStr))
842844 else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
843845 then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
844846 else {
845847 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
846848 if ((asset.issuer == this))
847849 then {
848- let $t02168321873 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
849- let actions = $t02168321873._1
850- let wlgClaimedAmount = $t02168321873._2
850+ let $t02175821948 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
851+ let actions = $t02175821948._1
852+ let wlgClaimedAmount = $t02175821948._2
851853 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
852854 }
853855 else if ((isArkimalIssued(asset) == ""))
854856 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
855857 else {
856- let $t02205422205 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
857- let actions = $t02205422205._1
858- let wlgClaimedAmount = $t02205422205._2
858+ let $t02212922280 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
859+ let actions = $t02212922280._1
860+ let wlgClaimedAmount = $t02212922280._2
859861 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
860862 }
861863 }
862864 }
863865 }
864866 }
865867
866868
867869
868870 @Callable(i)
869871 func unstakeNFT (assetIdStr) = {
870872 let prologActions = prolog(i)
871873 if ((size(i.payments) != 0))
872874 then throw("No payments required")
873875 else {
874876 let assetId = fromBase58String(assetIdStr)
875877 let addr = toString(i.caller)
876878 let asset = value(assetInfo(assetId))
877879 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
878880 if (!(isDefined(getInteger(timeKey))))
879881 then throw((("NFT " + asset.name) + " is not staked by you"))
880882 else {
881883 let nftsKey = keyStakedNFTsByOwner(addr)
882884 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
883885 let idx = indexOf(nfts, assetIdStr)
884886 if (!(isDefined(idx)))
885887 then throw(("Your staked NFTs don't contain " + assetIdStr))
886888 else {
887889 let listAction = if ((size(nfts) > 1))
888890 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
889891 else DeleteEntry(nftsKey)
890892 let isWL = (asset.issuer == this)
891893 if (isWL)
892894 then {
893895 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
894896 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
895- let $t02337023449 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
896- let actions = $t02337023449._1
897- let wlgClaimedAmount = $t02337023449._2
897+ let $t02344523524 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898+ let actions = $t02344523524._1
899+ let wlgClaimedAmount = $t02344523524._2
898900 $Tuple2(((((((actions :+ listAction) :+ IntegerEntry(keyUserWlNftNumber(addr), (wlNftNumber - 1))) :+ IntegerEntry(keyWlNftTotalStaked, max([0, (valueOrElse(getInteger(keyWlNftTotalStaked), 0) - 1)]))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
899901 }
900902 else {
901903 let arkimalName = isArkimalIssued(asset)
902904 if ((arkimalName == ""))
903905 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
904906 else {
905907 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
906- let $t02410924193 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
907- let actions = $t02410924193._1
908- let wlgClaimedAmount = $t02410924193._2
908+ let $t02418424268 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909+ let actions = $t02418424268._1
910+ let wlgClaimedAmount = $t02418424268._2
909911 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
910912 }
911913 }
912914 }
913915 }
914916 }
915917 }
916918
917919
918920
919921 @Callable(i)
920922 func exchangeNFTs () = {
921923 let prologActions = prolog(i)
922924 if ((3 > size(i.payments)))
923925 then throw("Min one WLGOLD and 2 NFT payments allowed")
924926 else if ((size(i.payments) > 10))
925927 then throw("Max one WLGOLD and 9 NFT payments allowed")
926928 else {
927929 let addr = toString(i.caller)
928930 func addUp (acc,pmt) = {
929931 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
930932 if ((assetId == wlgAssetId))
931933 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
932934 else {
933935 let asset = value(assetInfo(assetId))
934936 if ((asset.issuer != this))
935937 then throw("Only WL-issued NFTs allowed")
936938 else {
937939 let rarityIx = rarityIdxByDescriprion(value(asset.description))
938940 if (if ((acc._4 > 0))
939941 then (rarityIx != acc._4)
940942 else false)
941943 then throw("You can exchange only NFTs of the same rarity")
942944 else {
943945 let bonusPerc = bonusByDescription(value(asset.description))
944946 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
945947 }
946948 }
947949 }
948950 }
949951
950- let $t02558225798 = {
952+ let $t02565725873 = {
951953 let $l = i.payments
952954 let $s = size($l)
953955 let $acc0 = $Tuple4(0, 0, nil, -1)
954956 func $f0_1 ($a,$i) = if (($i >= $s))
955957 then $a
956958 else addUp($a, $l[$i])
957959
958960 func $f0_2 ($a,$i) = if (($i >= $s))
959961 then $a
960962 else throw("List size exceeds 10")
961963
962964 $f0_2($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)
963965 }
964- let wlgFee = $t02558225798._1
965- let totalBonus = $t02558225798._2
966- let burnActions = $t02558225798._3
967- let rarityIdx = $t02558225798._4
966+ let wlgFee = $t02565725873._1
967+ let totalBonus = $t02565725873._2
968+ let burnActions = $t02565725873._3
969+ let rarityIdx = $t02565725873._4
968970 let newRarityIdx = if ((rarityIdx == idxRarityC))
969971 then if ((rarityThresholds[idxThresholdC] > totalBonus))
970972 then idxRarityC
971973 else if ((rarityThresholds[idxThresholdU] > totalBonus))
972974 then idxRarityU
973975 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
974976 else if ((rarityIdx == idxRarityU))
975977 then if ((rarityThresholds[idxThresholdU] > totalBonus))
976978 then idxRarityU
977979 else if ((rarityThresholds[idxThresholdL] > totalBonus))
978980 then idxRarityL
979981 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
980982 else if ((rarityIdx == idxRarityL))
981983 then if ((rarityThresholds[idxThresholdL] > totalBonus))
982984 then idxRarityL
983985 else idxRarityE
984986 else if ((rarityIdx == idxRarityE))
985987 then idxRarityE
986988 else if ((rarityIdx == idxRarityP))
987989 then throw("You can't exchange NFTs of this rarity")
988990 else throw("Unknown rarity")
989991 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
990992 let change = (wlgFee - minWlgFee)
991993 let forTeam = (minWlgFee / 2)
992994 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
993995 if ((0 > change))
994996 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
995997 else {
996998 let changeActions = if ((change > 0))
997999 then [ScriptTransfer(i.caller, change, wlgAssetId)]
9981000 else nil
999- let $t02733527496 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1000- let issueNftActions = $t02733527496._1
1001- let nftAssetId = $t02733527496._2
1001+ let $t02741027571 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002+ let issueNftActions = $t02741027571._1
1003+ let nftAssetId = $t02741027571._2
10021004 let burned = size(burnActions)
10031005 let burnCounterActions = if ((burned == 0))
10041006 then nil
10051007 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
10061008 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
10071009 }
10081010 }
10091011 }
10101012
10111013
10121014
10131015 @Callable(i)
10141016 func openNftChest () = {
10151017 let prologActions = prolog(i)
10161018 if ((size(i.payments) != 1))
10171019 then throw("exactly 1 payment must be attached")
10181020 else {
10191021 let pmt = i.payments[0]
10201022 let wlgAmount = pmt.amount
10211023 if (if (!(isDefined(pmt.assetId)))
10221024 then true
10231025 else (value(pmt.assetId) != wlgAssetId))
10241026 then throw("WLGOLD payments only!")
10251027 else {
10261028 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
10271029 let change = (wlgAmount - minWlgFee)
10281030 let forTeam = (minWlgFee / 2)
10291031 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
10301032 if ((0 > change))
10311033 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
10321034 else {
10331035 let changeActions = if ((change > 0))
10341036 then [ScriptTransfer(i.caller, change, wlgAssetId)]
10351037 else nil
10361038 let addr = toString(i.caller)
10371039 let finishKey = keyCommit(addr)
10381040 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
10391041 if ((finishBlock > height))
10401042 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
10411043 else {
10421044 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
10431045 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
10441046 let rand = getRandomNumber(100, salt, entropy)
1045- let $t02951529787 = if ((84 > rand))
1047+ let $t02959029862 = if ((84 > rand))
10461048 then $Tuple2(1, idxRarityC)
10471049 else if ((98 > rand))
10481050 then $Tuple2(5, idxRarityU)
10491051 else $Tuple2(10, idxRarityL)
1050- let bonus = $t02951529787._1
1051- let rarityIdx = $t02951529787._2
1052- let $t02979029940 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1053- let issueNftActions = $t02979029940._1
1054- let nftAssetId = $t02979029940._2
1052+ let bonus = $t02959029862._1
1053+ let rarityIdx = $t02959029862._2
1054+ let $t02986530015 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1055+ let issueNftActions = $t02986530015._1
1056+ let nftAssetId = $t02986530015._2
10551057 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
10561058 }
10571059 }
10581060 }
10591061 }
10601062 }
10611063
10621064
10631065
10641066 @Callable(i)
10651067 func commitForRandom () = {
10661068 let prologActions = prolog(i)
10671069 let addr = toString(i.caller)
10681070 let finishKey = keyCommit(addr)
10691071 if (isDefined(getInteger(finishKey)))
10701072 then throw("You already commited for random, please use it")
10711073 else {
10721074 let finishBlock = (height + RANDOM_DELAY)
10731075 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
10741076 }
10751077 }
10761078
10771079

github/deemru/w8io/169f3d6 
126.04 ms