tx · 6Cb9tPTgn3zqwmrGDuS1teXPWepXZbTV1b8Ux3TwwPQ2

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03100000 Waves

2024.12.05 06:42 [3400801] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "6Cb9tPTgn3zqwmrGDuS1teXPWepXZbTV1b8Ux3TwwPQ2", "fee": 3100000, "feeAssetId": null, "timestamp": 1733370229641, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "5qxCjtTfcoqcKdk9Y566pvrBA6cXsTTtDToaeqGmeyTwttoEFPWtEu8QeeoQzLAq6ZBtDRCrk3t9ZuCDwZAxN3eA" ], "script": "base64:BgJJCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASAH0AA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/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jMwMDU2Al8xBApuZnRBc3NldElkCAUNJHQwMjk5MDYzMDA1NgJfMgkAlAoCCQDNCAIJAM0IAgkAzggCCQDOCAIFD2lzc3VlTmZ0QWN0aW9ucwUNcHJvbG9nQWN0aW9ucwUNY2hhbmdlQWN0aW9ucwkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQkBEUBleHRyTmF0aXZlKDEwNTMpAgULd2xnQ29udHJhY3QFC3RlYW1BZGRyS2V5BQdmb3JUZWFtBQp3bGdBc3NldElkCQELRGVsZXRlRW50cnkBBQlmaW5pc2hLZXkJAJQKAgUKbmZ0QXNzZXRJZAUJd2xnUmVtYWluAWkBD2NvbW1pdEZvclJhbmRvbQAEDXByb2xvZ0FjdGlvbnMJAQZwcm9sb2cBBQFpBARhZGRyCQClCAEIBQFpBmNhbGxlcgQJZmluaXNoS2V5CQEJa2V5Q29tbWl0AQUEYWRkcgMJAQlpc0RlZmluZWQBCQCfCAEFCWZpbmlzaEtleQkAAgECLllvdSBhbHJlYWR5IGNvbW1pdGVkIGZvciByYW5kb20sIHBsZWFzZSB1c2UgaXQEC2ZpbmlzaEJsb2NrCQBkAgUGaGVpZ2h0BQxSQU5ET01fREVMQVkJAJQKAgkAzggCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQlmaW5pc2hLZXkFC2ZpbmlzaEJsb2NrBQNuaWwFDXByb2xvZ0FjdGlvbnMFC2ZpbmlzaEJsb2NrAMOGOAk=", "height": 3400801, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BRwW4n9YiWq3PP3tUTGQvtPQt13sMufKSRyctiG5i1jc Next: Bze3DMW4jbCBvtCETarTU2v3HqQP24XJZFH7MBbZhX8R Diff:
OldNewDifferences
398398 else false)
399399 then throw("Nothing to do")
400400 else {
401- let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address, true], nil)
401+ let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
402402 if ((wlgResult == wlgResult))
403403 then {
404404 let now = lastBlock.timestamp
421421 else false)
422422 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
423423 else {
424- let $t063056404 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
425- let newBonusedFp = $t063056404._1
426- let ignored = $t063056404._2
424+ let $t062996398 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
425+ let newBonusedFp = $t062996398._1
426+ let ignored = $t062996398._2
427427 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
428428 let acresActions = if ((amt == 0))
429429 then nil
516516 if ((nftNumber >= limit))
517517 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
518518 else {
519- let $t01068310759 = stakeUnstakeAcresInternal(0, addr, bonus6)
520- let actions = $t01068310759._1
521- let wlgClaimedAmount = $t01068310759._2
519+ let $t01067710753 = stakeUnstakeAcresInternal(0, addr, bonus6)
520+ let actions = $t01067710753._1
521+ let wlgClaimedAmount = $t01067710753._2
522522 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
523523 }
524524 }
562562 if ((arbReleaseTime > lastBlock.timestamp))
563563 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
564564 else {
565- let $t01233312413 = stakeUnstakeAcresInternal(-(amount), address, 0)
566- let actions = $t01233312413._1
567- let wlgClaimedAmount = $t01233312413._2
565+ let $t01232712407 = stakeUnstakeAcresInternal(-(amount), address, 0)
566+ let actions = $t01232712407._1
567+ let wlgClaimedAmount = $t01232712407._2
568568 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
569569 }
570570 }
587587 else (value(pmt.assetId) != acresAssetId))
588588 then throw("ACRES payments only!")
589589 else {
590- let $t01286412940 = stakeUnstakeAcresInternal(amt, address, 0)
591- let actions = $t01286412940._1
592- let wlgClaimedAmount = $t01286412940._2
590+ let $t01285812934 = stakeUnstakeAcresInternal(amt, address, 0)
591+ let actions = $t01285812934._1
592+ let wlgClaimedAmount = $t01285812934._2
593593 $Tuple2((actions ++ prologActions), wlgClaimedAmount)
594594 }
595595 }
653653 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
654654 else {
655655 let addr = toString(i.caller)
656- let $t01479714845 = getSwapLimitAcres()
657- let limitAction = $t01479714845._1
658- let maxUsdt = $t01479714845._2
656+ let $t01479114839 = getSwapLimitAcres()
657+ let limitAction = $t01479114839._1
658+ let maxUsdt = $t01479114839._2
659659 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
660660 if ((acresAmount > maxAcres))
661661 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
671671
672672 @Callable(i)
673673 func sellAcresREADONLY (address,acresAmount) = {
674- let $t01534115389 = getSwapLimitAcres()
675- let limitAction = $t01534115389._1
676- let maxUsdt = $t01534115389._2
674+ let $t01533515383 = getSwapLimitAcres()
675+ let limitAction = $t01533515383._1
676+ let maxUsdt = $t01533515383._2
677677 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
678678 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
679679 }
732732 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
733733 if ((req == req))
734734 then {
735- let $t01790018038 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736- let nftActions = $t01790018038._1
737- let nftAssetId = $t01790018038._2
735+ let $t01789418032 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736+ let nftActions = $t01789418032._1
737+ let nftAssetId = $t01789418032._2
738738 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
739739 }
740740 else throw("Strict value is not equal to itself.")
803803 let userFpKey = keyFarmingPowerByUser(address)
804804 let oldFp = valueOrElse(getInteger(userFpKey), 0)
805805 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
806- let $t02026220349 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807- let newBonusedFp = $t02026220349._1
808- let ignored = $t02026220349._2
806+ let $t02030320390 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807+ let newBonusedFp = $t02030320390._1
808+ let ignored = $t02030320390._2
809809 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
810810 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
811811 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
847847 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
848848 if ((asset.issuer == this))
849849 then {
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
850+ let $t02179921989 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
851+ let actions = $t02179921989._1
852+ let wlgClaimedAmount = $t02179921989._2
853853 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
854854 }
855855 else if ((isArkimalIssued(asset) == ""))
856856 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
857857 else {
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
858+ let $t02217022321 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
859+ let actions = $t02217022321._1
860+ let wlgClaimedAmount = $t02217022321._2
861861 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
862862 }
863863 }
894894 then {
895895 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
896896 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
897- let $t02344523524 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898- let actions = $t02344523524._1
899- let wlgClaimedAmount = $t02344523524._2
897+ let $t02348623565 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898+ let actions = $t02348623565._1
899+ let wlgClaimedAmount = $t02348623565._2
900900 $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)
901901 }
902902 else {
905905 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
906906 else {
907907 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
908- let $t02418424268 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909- let actions = $t02418424268._1
910- let wlgClaimedAmount = $t02418424268._2
908+ let $t02422524309 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909+ let actions = $t02422524309._1
910+ let wlgClaimedAmount = $t02422524309._2
911911 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
912912 }
913913 }
949949 }
950950 }
951951
952- let $t02565725873 = {
952+ let $t02569825914 = {
953953 let $l = i.payments
954954 let $s = size($l)
955955 let $acc0 = $Tuple4(0, 0, nil, -1)
963963
964964 $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)
965965 }
966- let wlgFee = $t02565725873._1
967- let totalBonus = $t02565725873._2
968- let burnActions = $t02565725873._3
969- let rarityIdx = $t02565725873._4
966+ let wlgFee = $t02569825914._1
967+ let totalBonus = $t02569825914._2
968+ let burnActions = $t02569825914._3
969+ let rarityIdx = $t02569825914._4
970970 let newRarityIdx = if ((rarityIdx == idxRarityC))
971971 then if ((rarityThresholds[idxThresholdC] > totalBonus))
972972 then idxRarityC
998998 let changeActions = if ((change > 0))
999999 then [ScriptTransfer(i.caller, change, wlgAssetId)]
10001000 else nil
1001- let $t02741027571 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002- let issueNftActions = $t02741027571._1
1003- let nftAssetId = $t02741027571._2
1001+ let $t02745127612 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002+ let issueNftActions = $t02745127612._1
1003+ let nftAssetId = $t02745127612._2
10041004 let burned = size(burnActions)
10051005 let burnCounterActions = if ((burned == 0))
10061006 then nil
10441044 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
10451045 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
10461046 let rand = getRandomNumber(100, salt, entropy)
1047- let $t02959029862 = if ((84 > rand))
1047+ let $t02963129903 = if ((84 > rand))
10481048 then $Tuple2(1, idxRarityC)
10491049 else if ((98 > rand))
10501050 then $Tuple2(5, idxRarityU)
10511051 else $Tuple2(10, idxRarityL)
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
1052+ let bonus = $t02963129903._1
1053+ let rarityIdx = $t02963129903._2
1054+ let $t02990630056 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1055+ let issueNftActions = $t02990630056._1
1056+ let nftAssetId = $t02990630056._2
10571057 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
10581058 }
10591059 }
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
282282 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 {
401- let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address, true], nil)
401+ let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], 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 {
424- let $t063056404 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
425- let newBonusedFp = $t063056404._1
426- let ignored = $t063056404._2
424+ let $t062996398 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
425+ let newBonusedFp = $t062996398._1
426+ let ignored = $t062996398._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 {
519- let $t01068310759 = stakeUnstakeAcresInternal(0, addr, bonus6)
520- let actions = $t01068310759._1
521- let wlgClaimedAmount = $t01068310759._2
519+ let $t01067710753 = stakeUnstakeAcresInternal(0, addr, bonus6)
520+ let actions = $t01067710753._1
521+ let wlgClaimedAmount = $t01067710753._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 {
565- let $t01233312413 = stakeUnstakeAcresInternal(-(amount), address, 0)
566- let actions = $t01233312413._1
567- let wlgClaimedAmount = $t01233312413._2
565+ let $t01232712407 = stakeUnstakeAcresInternal(-(amount), address, 0)
566+ let actions = $t01232712407._1
567+ let wlgClaimedAmount = $t01232712407._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 {
590- let $t01286412940 = stakeUnstakeAcresInternal(amt, address, 0)
591- let actions = $t01286412940._1
592- let wlgClaimedAmount = $t01286412940._2
590+ let $t01285812934 = stakeUnstakeAcresInternal(amt, address, 0)
591+ let actions = $t01285812934._1
592+ let wlgClaimedAmount = $t01285812934._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)
656- let $t01479714845 = getSwapLimitAcres()
657- let limitAction = $t01479714845._1
658- let maxUsdt = $t01479714845._2
656+ let $t01479114839 = getSwapLimitAcres()
657+ let limitAction = $t01479114839._1
658+ let maxUsdt = $t01479114839._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) = {
674- let $t01534115389 = getSwapLimitAcres()
675- let limitAction = $t01534115389._1
676- let maxUsdt = $t01534115389._2
674+ let $t01533515383 = getSwapLimitAcres()
675+ let limitAction = $t01533515383._1
676+ let maxUsdt = $t01533515383._2
677677 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
678678 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
679679 }
680680
681681
682682
683683 @Callable(i)
684684 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 {
689689 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 {
702702 let lands = split_51C(value(landsStr), "_")
703703 if ((size(lands) > MAX_LANDS_TO_CONVERT))
704704 then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
705705 else {
706706 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
707707 then throw("landAssetId is required")
708708 else {
709709 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
710710 if ((r == r))
711711 then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
712712 else throw("Strict value is not equal to itself.")
713713 }
714714
715715 let rr = {
716716 let $l = lands
717717 let $s = size($l)
718718 let $acc0 = $Tuple5(0, 0, 0, 0, 0)
719719 func $f0_1 ($a,$i) = if (($i >= $s))
720720 then $a
721721 else oneLand($a, $l[$i])
722722
723723 func $f0_2 ($a,$i) = if (($i >= $s))
724724 then $a
725725 else throw("List size exceeds 14")
726726
727727 $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)
728728 }
729729 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
730730 if ((finalize == finalize))
731731 then {
732732 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
733733 if ((req == req))
734734 then {
735- let $t01790018038 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736- let nftActions = $t01790018038._1
737- let nftAssetId = $t01790018038._2
735+ let $t01789418032 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
736+ let nftActions = $t01789418032._1
737+ let nftAssetId = $t01789418032._2
738738 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
739739 }
740740 else throw("Strict value is not equal to itself.")
741741 }
742742 else throw("Strict value is not equal to itself.")
743743 }
744744 }
745745 else $Tuple6(0, 0, 0, 0, 0, nil)
746746 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
747747 let duckResult = if ((duckAssetId != ""))
748748 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
749749 else $Tuple3(0, 0, 0)
750750 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
751751 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
752752 }
753753 }
754754 }
755755
756756
757757
758758 @Callable(i)
759759 func unstakeLandsREADONLY (address) = {
760760 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
761761 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
762762 let landsResult = if (isDefined(landsStr))
763763 then {
764764 let lands = split_51C(value(landsStr), "_")
765765 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
766766 then throw("landAssetId is required")
767767 else {
768768 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
769769 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
770770 }
771771
772772 let $l = lands
773773 let $s = size($l)
774774 let $acc0 = $Tuple4(0, 0, 0, 0)
775775 func $f0_1 ($a,$i) = if (($i >= $s))
776776 then $a
777777 else oneLand($a, $l[$i])
778778
779779 func $f0_2 ($a,$i) = if (($i >= $s))
780780 then $a
781781 else throw("List size exceeds 100")
782782
783783 $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)
784784 }
785785 else $Tuple4(0, 0, 0, 0)
786786 $Tuple2(nil, landsResult)
787787 }
788788
789789
790790
791791 @Callable(i)
792792 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
793793 then throw("Permission denied")
794794 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
795795
796796
797797
798798 @Callable(i)
799799 func simulateStakeAcresREADONLY (address,addedAmount) = {
800800 let amountKey = keyAcresStakedAmtByUser(address)
801801 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
802802 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
803803 let userFpKey = keyFarmingPowerByUser(address)
804804 let oldFp = valueOrElse(getInteger(userFpKey), 0)
805805 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
806- let $t02026220349 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807- let newBonusedFp = $t02026220349._1
808- let ignored = $t02026220349._2
806+ let $t02030320390 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
807+ let newBonusedFp = $t02030320390._1
808+ let ignored = $t02030320390._2
809809 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
810810 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
811811 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
812812 }
813813
814814
815815
816816 @Callable(i)
817817 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
818818 then throw("Permission denied")
819819 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
820820
821821
822822
823823 @Callable(i)
824824 func stakeNFT () = {
825825 let prologActions = prolog(i)
826826 if ((size(i.payments) != 1))
827827 then throw("Exactly one payment required")
828828 else {
829829 let pmt = value(i.payments[0])
830830 if ((pmt.amount != 1))
831831 then throw("NFT token should be attached as payment")
832832 else {
833833 let assetId = value(pmt.assetId)
834834 let asset = value(assetInfo(assetId))
835835 let assetIdStr = toBase58String(assetId)
836836 let addr = toString(i.caller)
837837 let nftsKey = keyStakedNFTsByOwner(addr)
838838 let nftsStr = getString(nftsKey)
839839 let nfts = if (isDefined(nftsStr))
840840 then split_4C(value(nftsStr), "_")
841841 else nil
842842 if (containsElement(nfts, assetIdStr))
843843 then throw(("Your staked NFTs already contain " + assetIdStr))
844844 else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
845845 then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
846846 else {
847847 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
848848 if ((asset.issuer == this))
849849 then {
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
850+ let $t02179921989 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
851+ let actions = $t02179921989._1
852+ let wlgClaimedAmount = $t02179921989._2
853853 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
854854 }
855855 else if ((isArkimalIssued(asset) == ""))
856856 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
857857 else {
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
858+ let $t02217022321 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
859+ let actions = $t02217022321._1
860+ let wlgClaimedAmount = $t02217022321._2
861861 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
862862 }
863863 }
864864 }
865865 }
866866 }
867867
868868
869869
870870 @Callable(i)
871871 func unstakeNFT (assetIdStr) = {
872872 let prologActions = prolog(i)
873873 if ((size(i.payments) != 0))
874874 then throw("No payments required")
875875 else {
876876 let assetId = fromBase58String(assetIdStr)
877877 let addr = toString(i.caller)
878878 let asset = value(assetInfo(assetId))
879879 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
880880 if (!(isDefined(getInteger(timeKey))))
881881 then throw((("NFT " + asset.name) + " is not staked by you"))
882882 else {
883883 let nftsKey = keyStakedNFTsByOwner(addr)
884884 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
885885 let idx = indexOf(nfts, assetIdStr)
886886 if (!(isDefined(idx)))
887887 then throw(("Your staked NFTs don't contain " + assetIdStr))
888888 else {
889889 let listAction = if ((size(nfts) > 1))
890890 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
891891 else DeleteEntry(nftsKey)
892892 let isWL = (asset.issuer == this)
893893 if (isWL)
894894 then {
895895 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
896896 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
897- let $t02344523524 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898- let actions = $t02344523524._1
899- let wlgClaimedAmount = $t02344523524._2
897+ let $t02348623565 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
898+ let actions = $t02348623565._1
899+ let wlgClaimedAmount = $t02348623565._2
900900 $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)
901901 }
902902 else {
903903 let arkimalName = isArkimalIssued(asset)
904904 if ((arkimalName == ""))
905905 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
906906 else {
907907 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
908- let $t02418424268 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909- let actions = $t02418424268._1
910- let wlgClaimedAmount = $t02418424268._2
908+ let $t02422524309 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
909+ let actions = $t02422524309._1
910+ let wlgClaimedAmount = $t02422524309._2
911911 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
912912 }
913913 }
914914 }
915915 }
916916 }
917917 }
918918
919919
920920
921921 @Callable(i)
922922 func exchangeNFTs () = {
923923 let prologActions = prolog(i)
924924 if ((3 > size(i.payments)))
925925 then throw("Min one WLGOLD and 2 NFT payments allowed")
926926 else if ((size(i.payments) > 10))
927927 then throw("Max one WLGOLD and 9 NFT payments allowed")
928928 else {
929929 let addr = toString(i.caller)
930930 func addUp (acc,pmt) = {
931931 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
932932 if ((assetId == wlgAssetId))
933933 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
934934 else {
935935 let asset = value(assetInfo(assetId))
936936 if ((asset.issuer != this))
937937 then throw("Only WL-issued NFTs allowed")
938938 else {
939939 let rarityIx = rarityIdxByDescriprion(value(asset.description))
940940 if (if ((acc._4 > 0))
941941 then (rarityIx != acc._4)
942942 else false)
943943 then throw("You can exchange only NFTs of the same rarity")
944944 else {
945945 let bonusPerc = bonusByDescription(value(asset.description))
946946 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
947947 }
948948 }
949949 }
950950 }
951951
952- let $t02565725873 = {
952+ let $t02569825914 = {
953953 let $l = i.payments
954954 let $s = size($l)
955955 let $acc0 = $Tuple4(0, 0, nil, -1)
956956 func $f0_1 ($a,$i) = if (($i >= $s))
957957 then $a
958958 else addUp($a, $l[$i])
959959
960960 func $f0_2 ($a,$i) = if (($i >= $s))
961961 then $a
962962 else throw("List size exceeds 10")
963963
964964 $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)
965965 }
966- let wlgFee = $t02565725873._1
967- let totalBonus = $t02565725873._2
968- let burnActions = $t02565725873._3
969- let rarityIdx = $t02565725873._4
966+ let wlgFee = $t02569825914._1
967+ let totalBonus = $t02569825914._2
968+ let burnActions = $t02569825914._3
969+ let rarityIdx = $t02569825914._4
970970 let newRarityIdx = if ((rarityIdx == idxRarityC))
971971 then if ((rarityThresholds[idxThresholdC] > totalBonus))
972972 then idxRarityC
973973 else if ((rarityThresholds[idxThresholdU] > totalBonus))
974974 then idxRarityU
975975 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
976976 else if ((rarityIdx == idxRarityU))
977977 then if ((rarityThresholds[idxThresholdU] > totalBonus))
978978 then idxRarityU
979979 else if ((rarityThresholds[idxThresholdL] > totalBonus))
980980 then idxRarityL
981981 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
982982 else if ((rarityIdx == idxRarityL))
983983 then if ((rarityThresholds[idxThresholdL] > totalBonus))
984984 then idxRarityL
985985 else idxRarityE
986986 else if ((rarityIdx == idxRarityE))
987987 then idxRarityE
988988 else if ((rarityIdx == idxRarityP))
989989 then throw("You can't exchange NFTs of this rarity")
990990 else throw("Unknown rarity")
991991 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
992992 let change = (wlgFee - minWlgFee)
993993 let forTeam = (minWlgFee / 2)
994994 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
995995 if ((0 > change))
996996 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
997997 else {
998998 let changeActions = if ((change > 0))
999999 then [ScriptTransfer(i.caller, change, wlgAssetId)]
10001000 else nil
1001- let $t02741027571 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002- let issueNftActions = $t02741027571._1
1003- let nftAssetId = $t02741027571._2
1001+ let $t02745127612 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1002+ let issueNftActions = $t02745127612._1
1003+ let nftAssetId = $t02745127612._2
10041004 let burned = size(burnActions)
10051005 let burnCounterActions = if ((burned == 0))
10061006 then nil
10071007 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
10081008 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
10091009 }
10101010 }
10111011 }
10121012
10131013
10141014
10151015 @Callable(i)
10161016 func openNftChest () = {
10171017 let prologActions = prolog(i)
10181018 if ((size(i.payments) != 1))
10191019 then throw("exactly 1 payment must be attached")
10201020 else {
10211021 let pmt = i.payments[0]
10221022 let wlgAmount = pmt.amount
10231023 if (if (!(isDefined(pmt.assetId)))
10241024 then true
10251025 else (value(pmt.assetId) != wlgAssetId))
10261026 then throw("WLGOLD payments only!")
10271027 else {
10281028 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
10291029 let change = (wlgAmount - minWlgFee)
10301030 let forTeam = (minWlgFee / 2)
10311031 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
10321032 if ((0 > change))
10331033 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
10341034 else {
10351035 let changeActions = if ((change > 0))
10361036 then [ScriptTransfer(i.caller, change, wlgAssetId)]
10371037 else nil
10381038 let addr = toString(i.caller)
10391039 let finishKey = keyCommit(addr)
10401040 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
10411041 if ((finishBlock > height))
10421042 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
10431043 else {
10441044 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
10451045 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
10461046 let rand = getRandomNumber(100, salt, entropy)
1047- let $t02959029862 = if ((84 > rand))
1047+ let $t02963129903 = if ((84 > rand))
10481048 then $Tuple2(1, idxRarityC)
10491049 else if ((98 > rand))
10501050 then $Tuple2(5, idxRarityU)
10511051 else $Tuple2(10, idxRarityL)
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
1052+ let bonus = $t02963129903._1
1053+ let rarityIdx = $t02963129903._2
1054+ let $t02990630056 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1055+ let issueNftActions = $t02990630056._1
1056+ let nftAssetId = $t02990630056._2
10571057 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
10581058 }
10591059 }
10601060 }
10611061 }
10621062 }
10631063
10641064
10651065
10661066 @Callable(i)
10671067 func commitForRandom () = {
10681068 let prologActions = prolog(i)
10691069 let addr = toString(i.caller)
10701070 let finishKey = keyCommit(addr)
10711071 if (isDefined(getInteger(finishKey)))
10721072 then throw("You already commited for random, please use it")
10731073 else {
10741074 let finishBlock = (height + RANDOM_DELAY)
10751075 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
10761076 }
10771077 }
10781078
10791079

github/deemru/w8io/169f3d6 
121.13 ms