tx · ActETzFNoU7J9cHSByVoz84ykYPFa1NzmQ35BrpSDaW5

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.04100000 Waves

2025.01.12 13:28 [3455814] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "ActETzFNoU7J9cHSByVoz84ykYPFa1NzmQ35BrpSDaW5", "fee": 4100000, "feeAssetId": null, "timestamp": 1736677734183, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "5KzzM4zNREoooqvoZVLbhEzV1TosPam26aDG1abqScZgLCNjtLyzBMaiab6XDyypeHVuc6sqaDyj569nL88j7CBG" ], "script": "base64:BgJbCAISABIECgIICBIDCgEEEgMKAQESABIECgIIARIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgMKAQgSABIDCgEIEgASABIAEgASAwoBAZMBAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ3AICt4gQABU1VTFQ4AIDC1y8ABk1VTFQxNACAgOmDsd4WAApEQVlfTUlMTElTAIC4mSkAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKABNPTkVfUEVSQ0VOVF9ESVZJU09SAGQADFJBTkRPTV9ERUxBWQACABRORlRfQ0hFU1RfUFJJQ0VfVVNEVADAlrECAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQATcHJvbW9TdGFydEVuZEJsb2NrcwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAkAzAgCCQDMCAIAl5mSAgkAzAgCAKCBkwIFA25pbAUDbmlsAwkAAAIBAVQFByRtYXRjaDAJAMwIAgkAzAgCAIOv0QEJAMwIAgCjutEBBQNuaWwFA25pbAkAAgECDVVua25vd24gY2hhaW4ACkRBW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Rpb25JZAUIcHJvbW9NYXAFA25pbAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEKc2luZ2xlRHJhdwIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQIUTGlzdCBzaXplIGV4Y2VlZHMgMTYJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIJARRrZXlQcm9tb1JvdW5kV2lubmVycwEFB3JvdW5kSWQJALoJAggFBWRyYXdzAl80AgFfBQNuaWwAAAAxNJUx", "height": 3455814, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2hF2TXoacrHLSEmXGBpjZXC42TwDQ93zjaY9B7gmxsVy Next: GFKde3x2fUvmk1gZ4sFg8dKeX8HPoCAzCRuBQqYzX7Db Diff:
OldNewDifferences
558558
559559 func isArkimalIssued (nfo) = {
560560 let issuer = toString(nfo.issuer)
561- if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
561+ if (if (if ((chain == base58'2T'))
562562 then (issuer == oldStakingContractStr)
563563 else false)
564564 then true
565- else (issuer == incubator))
566- then true
567- else (issuer == breeder))
568- then true
569- else (issuer == turtleIncubator))
570- then true
571- else (issuer == turtleBreeder))
572- then true
573- else (issuer == canineIncubator))
574- then true
575- else (issuer == canineBreeder))
576- then true
577- else (issuer == felineIncubator))
578- then true
579- else (issuer == felineBreeder))
565+ else if ((chain == base58'2W'))
566+ then if (if (if (if (if (if (if ((issuer == incubator))
567+ then true
568+ else (issuer == breeder))
569+ then true
570+ else (issuer == turtleIncubator))
571+ then true
572+ else (issuer == turtleBreeder))
573+ then true
574+ else (issuer == canineIncubator))
575+ then true
576+ else (issuer == canineBreeder))
577+ then true
578+ else (issuer == felineIncubator))
579+ then true
580+ else (issuer == felineBreeder)
581+ else false)
580582 then nfo.name
581- else if ((issuer == mutantBreeder))
583+ else if (if ((chain == base58'2W'))
584+ then (issuer == mutantBreeder)
585+ else false)
582586 then nfo.description
583587 else ""
584588 }
589593 if ((nftNumber >= limit))
590594 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
591595 else {
592- let $t01099411070 = stakeUnstakeAcresInternal(0, addr, bonus6)
593- let actions = $t01099411070._1
594- let wlgClaimedAmount = $t01099411070._2
596+ let $t01104211118 = stakeUnstakeAcresInternal(0, addr, bonus6)
597+ let actions = $t01104211118._1
598+ let wlgClaimedAmount = $t01104211118._2
595599 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
596600 }
597601 }
649653
650654
651655 func stakeAcresForInternal (address,amt,shouldUpdatePromo) = {
652- let $t01429314369 = stakeUnstakeAcresInternal(amt, address, 0)
653- let actions = $t01429314369._1
654- let wlgClaimedAmount = $t01429314369._2
656+ let $t01434114417 = stakeUnstakeAcresInternal(amt, address, 0)
657+ let actions = $t01434114417._1
658+ let wlgClaimedAmount = $t01434114417._2
655659 let currRound = valueOrElse(getInteger(keyLastPromoRound), -1)
656660 let promoActions = if (if (if (if (shouldUpdatePromo)
657661 then (currRound >= 0)
711715 if ((arbReleaseTime > lastBlock.timestamp))
712716 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
713717 else {
714- let $t01628716367 = stakeUnstakeAcresInternal(-(amount), address, 0)
715- let actions = $t01628716367._1
716- let wlgClaimedAmount = $t01628716367._2
718+ let $t01633516415 = stakeUnstakeAcresInternal(-(amount), address, 0)
719+ let actions = $t01633516415._1
720+ let wlgClaimedAmount = $t01633516415._2
717721 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
718722 }
719723 }
736740 else (value(pmt.assetId) != acresAssetId))
737741 then throw("ACRES payments only!")
738742 else {
739- let $t01681816898 = stakeAcresForInternal(address, amt, true)
740- let stakeActions = $t01681816898._1
741- let wlgClaimedAmount = $t01681816898._2
743+ let $t01686616946 = stakeAcresForInternal(address, amt, true)
744+ let stakeActions = $t01686616946._1
745+ let wlgClaimedAmount = $t01686616946._2
742746 $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount)
743747 }
744748 }
809813 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
810814 else {
811815 let addr = toString(i.caller)
812- let $t01896119009 = getSwapLimitAcres()
813- let limitAction = $t01896119009._1
814- let maxUsdt = $t01896119009._2
816+ let $t01900919057 = getSwapLimitAcres()
817+ let limitAction = $t01900919057._1
818+ let maxUsdt = $t01900919057._2
815819 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
816820 if ((acresAmount > maxAcres))
817821 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
827831
828832 @Callable(i)
829833 func sellAcresREADONLY (address,acresAmount) = {
830- let $t01950519553 = getSwapLimitAcres()
831- let limitAction = $t01950519553._1
832- let maxUsdt = $t01950519553._2
834+ let $t01955319601 = getSwapLimitAcres()
835+ let limitAction = $t01955319601._1
836+ let maxUsdt = $t01955319601._2
833837 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
834838 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
835839 }
890894 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
891895 if ((req == req))
892896 then {
893- let $t02206722206 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
894- let nftActions = $t02206722206._1
895- let nftAssetId = $t02206722206._2
897+ let $t02211522254 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
898+ let nftActions = $t02211522254._1
899+ let nftAssetId = $t02211522254._2
896900 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
897901 }
898902 else throw("Strict value is not equal to itself.")
963967 let userFpKey = keyFarmingPowerByUser(address)
964968 let oldFp = valueOrElse(getInteger(userFpKey), 0)
965969 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
966- let $t02447724564 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
967- let newBonusedFp = $t02447724564._1
968- let ignored = $t02447724564._2
970+ let $t02452524612 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
971+ let newBonusedFp = $t02452524612._1
972+ let ignored = $t02452524612._2
969973 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
970974 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
971975 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
10111015 else {
10121016 func countRegularAndArkimal (acc,assetIdStr) = {
10131017 let nfo = value(assetInfo(fromBase58String(assetIdStr)))
1014- if ((isArkimalIssued(nfo) != ""))
1015- then $Tuple2(acc._1, (acc._2 + 1))
1016- else if ((nfo.issuer == this))
1017- then $Tuple2((acc._1 + 1), acc._2)
1018+ if (if ((nfo.issuer == this))
1019+ then !(contains(nfo.description, "\"Promo\""))
1020+ else false)
1021+ then $Tuple2((acc._1 + 1), acc._2)
1022+ else if ((isArkimalIssued(nfo) != ""))
1023+ then $Tuple2(acc._1, (acc._2 + 1))
10181024 else throw("Unknown NFT staked")
10191025 }
10201026
1021- let $t02630026370 = {
1027+ let $t02639526465 = {
10221028 let $l = nfts
10231029 let $s = size($l)
10241030 let $acc0 = $Tuple2(0, 0)
10321038
10331039 $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($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)
10341040 }
1035- let wlNfts = $t02630026370._1
1036- let arkNfts = $t02630026370._2
1041+ let wlNfts = $t02639526465._1
1042+ let arkNfts = $t02639526465._2
10371043 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
10381044 if ((asset.issuer == this))
10391045 then if ((wlNfts >= MAX_WL_NFTS))
10401046 then throw((("Your already staked max (" + toString(MAX_WL_NFTS)) + ") of regular NFTs"))
10411047 else {
1042- let $t02661526805 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1043- let actions = $t02661526805._1
1044- let wlgClaimedAmount = $t02661526805._2
1048+ let $t02671026900 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1049+ let actions = $t02671026900._1
1050+ let wlgClaimedAmount = $t02671026900._2
10451051 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10461052 }
10471053 else if ((isArkimalIssued(asset) == ""))
10491055 else if ((arkNfts >= MAX_ARK_NFTS))
10501056 then throw((("Your already staked max (" + toString(MAX_ARK_NFTS)) + ") of Arkimal NFTs"))
10511057 else {
1052- let $t02711027261 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1053- let actions = $t02711027261._1
1054- let wlgClaimedAmount = $t02711027261._2
1058+ let $t02720527356 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1059+ let actions = $t02720527356._1
1060+ let wlgClaimedAmount = $t02720527356._2
10551061 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10561062 }
10571063 }
10881094 then {
10891095 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10901096 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
1091- let $t02842628505 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1092- let actions = $t02842628505._1
1093- let wlgClaimedAmount = $t02842628505._2
1097+ let $t02852128600 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1098+ let actions = $t02852128600._1
1099+ let wlgClaimedAmount = $t02852128600._2
10941100 $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)
10951101 }
10961102 else {
10991105 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
11001106 else {
11011107 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
1102- let $t02916529249 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1103- let actions = $t02916529249._1
1104- let wlgClaimedAmount = $t02916529249._2
1108+ let $t02926029344 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1109+ let actions = $t02926029344._1
1110+ let wlgClaimedAmount = $t02926029344._2
11051111 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
11061112 }
11071113 }
11451151 }
11461152 }
11471153
1148- let $t03070030916 = {
1154+ let $t03079531011 = {
11491155 let $l = i.payments
11501156 let $s = size($l)
11511157 let $acc0 = $Tuple4(0, 0, nil, -1)
11591165
11601166 $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)
11611167 }
1162- let wlgFee = $t03070030916._1
1163- let totalBonus = $t03070030916._2
1164- let burnActions = $t03070030916._3
1165- let rarityIdx = $t03070030916._4
1168+ let wlgFee = $t03079531011._1
1169+ let totalBonus = $t03079531011._2
1170+ let burnActions = $t03079531011._3
1171+ let rarityIdx = $t03079531011._4
11661172 let newRarityIdx = if ((rarityIdx == idxRarityC))
11671173 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11681174 then idxRarityC
11941200 let changeActions = if ((change > 0))
11951201 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11961202 else nil
1197- let $t03245332614 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1198- let issueNftActions = $t03245332614._1
1199- let nftAssetId = $t03245332614._2
1203+ let $t03254832709 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1204+ let issueNftActions = $t03254832709._1
1205+ let nftAssetId = $t03254832709._2
12001206 let burned = size(burnActions)
12011207 let burnCounterActions = if ((burned == 0))
12021208 then nil
12421248 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
12431249 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
12441250 let rand = getRandomNumber(100, salt, entropy)
1245- let $t03469534967 = if ((84 > rand))
1251+ let $t03479035062 = if ((84 > rand))
12461252 then $Tuple2(1, idxRarityC)
12471253 else if ((98 > rand))
12481254 then $Tuple2(5, idxRarityU)
12491255 else $Tuple2(10, idxRarityL)
1250- let bonus = $t03469534967._1
1251- let rarityIdx = $t03469534967._2
1252- let $t03497035120 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1253- let issueNftActions = $t03497035120._1
1254- let nftAssetId = $t03497035120._2
1256+ let bonus = $t03479035062._1
1257+ let rarityIdx = $t03479035062._2
1258+ let $t03506535215 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1259+ let issueNftActions = $t03506535215._1
1260+ let nftAssetId = $t03506535215._2
12551261 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
12561262 }
12571263 }
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 promoStartEndBlocks = match chain {
2727 case _ =>
2828 if ((base58'2W' == $match0))
2929 then [[4492439, 4505760]]
3030 else if ((base58'2T' == $match0))
3131 then [[3430275, 3431715]]
3232 else throw("Unknown chain")
3333 }
3434
3535 let DAY_BLOCKS = match chain {
3636 case _ =>
3737 if ((base58'2W' == $match0))
3838 then 1440
3939 else if ((base58'2T' == $match0))
4040 then 60
4141 else throw("Unknown chain")
4242 }
4343
4444 let WEEK_BLOCKS = match chain {
4545 case _ =>
4646 if ((base58'2W' == $match0))
4747 then 10080
4848 else if ((base58'2T' == $match0))
4949 then 180
5050 else throw("Unknown chain")
5151 }
5252
5353 let VRF_OFFSET = match chain {
5454 case _ =>
5555 if ((base58'2W' == $match0))
5656 then 0
5757 else if ((base58'2T' == $match0))
5858 then 1146000
5959 else throw("Unknown chain")
6060 }
6161
6262 let usdtAssetId = match chain {
6363 case _ =>
6464 if ((base58'2W' == $match0))
6565 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
6666 else if ((base58'2T' == $match0))
6767 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
6868 else throw("Unknown chain")
6969 }
7070
7171 let defaultRest2AddressStr = match chain {
7272 case _ =>
7373 if ((base58'2W' == $match0))
7474 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
7575 else if ((base58'2T' == $match0))
7676 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
7777 else throw("Unknown chain")
7878 }
7979
8080 let arbitrageDelay = match chain {
8181 case _ =>
8282 if ((base58'2W' == $match0))
8383 then DAY_MILLIS
8484 else if ((base58'2T' == $match0))
8585 then 60000
8686 else throw("Unknown chain")
8787 }
8888
8989 let oldStakingContractStr = match chain {
9090 case _ =>
9191 if ((base58'2W' == $match0))
9292 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
9393 else if ((base58'2T' == $match0))
9494 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
9595 else throw("Unknown chain")
9696 }
9797
9898 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
9999
100100
101101 let IdxCfgAcres2Dapp = 1
102102
103103 let IdxCfgWlgDapp = 2
104104
105105 let IdxCfgInvestFundDapp = 5
106106
107107 let IdxCfgMarketDapp = 6
108108
109109 func keyRestCfg () = "%s__restConfig"
110110
111111
112112 func keyRest2Address () = "%s__rest2Addr"
113113
114114
115115 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
116116
117117
118118 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
119119
120120
121121 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
122122
123123 let rest2Cfg = readRestCfgOrFail(rest2Contract)
124124
125125 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
126126
127127 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
128128
129129 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
130130
131131 let marketContract = getContractAddressOrFail(rest2Cfg, IdxCfgMarketDapp)
132132
133133 let oldAcresContractKey = "oldAcresContract"
134134
135135 func keyBlocked () = "contractsBlocked"
136136
137137
138138 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
139139
140140
141141 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
142142
143143
144144 func keyCommit (address) = ("finishBlockFor_" + address)
145145
146146
147147 let wlgAssetIdKey = "wlg_assetId"
148148
149149 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
150150
151151 let acresIssuedAmountKey = "acresIssuedAmount"
152152
153153 let acresAssetIdKey = "acresAssetId"
154154
155155 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
156156
157157 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
158158
159159
160160 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
161161
162162
163163 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
164164
165165
166166 func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr)
167167
168168
169169 func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr)
170170
171171
172172 let keyLastPromoRound = "lastPromoRound"
173173
174174 func keyUserPromoAcres (address) = ("promoAcres_" + address)
175175
176176
177177 func keyUserPromoRoundAcres (roundId,address) = ((("promoRoundAcres_" + toString(roundId)) + "_") + address)
178178
179179
180180 func keyUserPromoTickets (address) = ("promoTickets_" + address)
181181
182182
183183 func keyUserPromoRoundTickets (roundId,address) = ((("promoRoundTickets_" + toString(roundId)) + "_") + address)
184184
185185
186186 let keyTotalPromoTickets = "totalPromoTickets"
187187
188188 func keyTotalPromoRoundTickets (roundId) = ("totalPromoRoundTickets_" + toString(roundId))
189189
190190
191191 let keyPromoMap = "promoMap"
192192
193193 func keyPromoRoundMap (roundId) = ("promoRoundMap_" + toString(roundId))
194194
195195
196196 func keyPromoRoundWinners (roundId) = ("promoRoundWinners_" + toString(roundId))
197197
198198
199199 let promoRoundAwards = [[0, 500000000, 100000000, 100000000, 100000000, 100000000, 100000000]]
200200
201201 func asInt (v) = match v {
202202 case n: Int =>
203203 n
204204 case _ =>
205205 throw("fail to cast into Int")
206206 }
207207
208208
209209 func asTuple5Ints (val) = match val {
210210 case t: (Int, Int, Int, Int, Int) =>
211211 t
212212 case _ =>
213213 throw("fail to cast into (Int, Int, Int, Int, Int)")
214214 }
215215
216216
217217 func asTuple4Ints (val) = match val {
218218 case t: (Int, Int, Int, Int) =>
219219 t
220220 case _ =>
221221 throw("fail to cast into (Int, Int, Int, Int)")
222222 }
223223
224224
225225 func asTuple3Ints (val) = match val {
226226 case t: (Int, Int, Int) =>
227227 t
228228 case _ =>
229229 throw("fail to cast into (Int, Int, Int)")
230230 }
231231
232232
233233 func asTuple2Ints (val) = match val {
234234 case t: (Int, Int) =>
235235 t
236236 case _ =>
237237 throw("fail to cast into (Int, Int)")
238238 }
239239
240240
241241 func fixedPoint (val,decimals) = {
242242 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
243243 let lowPart = toString((val % tenPow))
244244 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
245245 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
246246 }
247247
248248
249249 func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue))
250250 then throw("maxValue should be > 0")
251251 else {
252252 let randomHash = sha256_16Kb((salt + entropy))
253253 (toInt(randomHash) % maxValue)
254254 }
255255
256256
257257 func padL (val,len) = {
258258 let valS = toString(val)
259259 let zeroes = drop(toString(pow(10, 0, (len - size(valS)), 0, 0, DOWN)), 1)
260260 (zeroes + valS)
261261 }
262262
263263
264264 let M6_ = 1000000
265265
266266 let M8_ = 100000000
267267
268268 let wlgIssuedAmtKey = "wlg_issuedAmount"
269269
270270 let zbIssuedAmtKey = "zbill_issuedAmount"
271271
272272 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
273273
274274
275275 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
276276
277277
278278 let acresStakdTotalKey = "acresStakedAmountTotal"
279279
280280 let totalFarmingPowerKey = "totalFarmingPower"
281281
282282 let MAX_WL_NFTS = 3
283283
284284 let MAX_ARK_NFTS = 1
285285
286286 let ARK_NFT_BONUS = 5000
287287
288288 let keyNftTotalIssued = "nftTotalIssued"
289289
290290 let keyNftTotalBurned = "nftTotalBurned"
291291
292292 let keyWlNftTotalStaked = "WlNftTotalStaked"
293293
294294 let keyArkNftTotalStaked = "ArkNftTotalStaked"
295295
296296 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
297297
298298
299299 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
300300
301301
302302 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
303303
304304
305305 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
306306
307307
308308 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
309309
310310 func getLevelByAcres (acres) = {
311311 let acr = ((acres + 99999999) / M8_)
312312 func checker (acc,item) = if ((item >= acr))
313313 then acc
314314 else (acc + 1)
315315
316316 let $l = levelAcres
317317 let $s = size($l)
318318 let $acc0 = 0
319319 func $f0_1 ($a,$i) = if (($i >= $s))
320320 then $a
321321 else checker($a, $l[$i])
322322
323323 func $f0_2 ($a,$i) = if (($i >= $s))
324324 then $a
325325 else throw("List size exceeds 10")
326326
327327 $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)
328328 }
329329
330330
331331 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
332332
333333
334334 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
335335 let notBonused = getFarmingPowerByAcres(acres)
336336 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
337337 }
338338
339339
340340 let teamAddrKey = "teamAddr"
341341
342342 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
343343
344344
345345 let OLD_STAKING_DEADL = 1733346000000
346346
347347 let MAX_LANDS_TO_CONVERT = 14
348348
349349 let keyLastAcresSellTime = "lastAcresSellTime"
350350
351351 let keyLastLimitLeft = "lastLimitLeft"
352352
353353 let names = ["Gold shovel", "Pickaxe", "Santa's mitten"]
354354
355355 let descriptions = ["Reward for early birds", "Increases FarmPower", "New Year promo reward"]
356356
357357 let idxDescrShovel = 0
358358
359359 let idxDescrPickaxe = 1
360360
361361 let idxDescrMitten = 2
362362
363363 let rarityThresholds = [5, 10, 20]
364364
365365 let idxThresholdC = 0
366366
367367 let idxThresholdU = 1
368368
369369 let idxThresholdL = 2
370370
371371 let namez = ["SHOVEL", "PICKAXE", "MITTEN"]
372372
373373 let idxNameShovel = 0
374374
375375 let idxNamePickaxe = 1
376376
377377 let idxNameMitten = 2
378378
379379 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP", "contentMittenP"]
380380
381381 let idxKeyC = 0
382382
383383 let idxKeySP = 4
384384
385385 let idxKeyMP = 5
386386
387387 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
388388
389389 let idxRarityC = 0
390390
391391 let idxRarityU = 1
392392
393393 let idxRarityL = 2
394394
395395 let idxRarityE = 3
396396
397397 let idxRarityP = 4
398398
399399 let collectionz = ["Digging tools", "New Year gifts"]
400400
401401 let idxCollDig = 0
402402
403403 let idxCollNewYear = 1
404404
405405 let bonusTypez = ["FarmPower"]
406406
407407 let idxBonusTypeFp = 0
408408
409409 func prolog (i) = if (if ((i.originCaller != rest2Contract))
410410 then valueOrElse(getBoolean(keyBlocked()), false)
411411 else false)
412412 then throw("Contracts are under maintenance")
413413 else {
414414 let addr = toString(i.originCaller)
415415 let week = (height / WEEK_BLOCKS)
416416 let lastWeekKey = keyLastWeekTxIdByUser(addr)
417417 let lastWeekTxIdByUser = getString(lastWeekKey)
418418 let txId = toBase58String(i.transactionId)
419419 let wtx = ((toString(week) + "_") + txId)
420420 let curWeekKey = keyCurWeekTxIdByUser(addr)
421421 if (isDefined(lastWeekTxIdByUser))
422422 then {
423423 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
424424 if ((lastWeekTx[0] == toString(week)))
425425 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
426426 else if ((lastWeekTx[0] == toString((week - 1))))
427427 then [StringEntry(curWeekKey, wtx)]
428428 else {
429429 let curWeekTxIdByUser = getStringValue(curWeekKey)
430430 let curWeekTx = split(curWeekTxIdByUser, "_")
431431 if ((curWeekTx[0] == toString(week)))
432432 then [StringEntry(curWeekKey, wtx)]
433433 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
434434 }
435435 }
436436 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
437437 }
438438
439439
440440 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) + "\"}")
441441
442442
443443 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
444444 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
445445 let rarity = rarityNames[rarityIdx]
446446 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
447447 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
448448 let nftAssetId = calculateAssetId(issue)
449449 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
450450 }
451451
452452
453453 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
454454 then throw(("NFT is not supported: " + descr))
455455 else {
456456 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
457457 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
458458 }
459459
460460
461461 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
462462 then throw(("NFT is not supported: " + descr))
463463 else {
464464 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
465465 value(indexOf(rarityNames, rarityStr))
466466 }
467467
468468
469469 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
470470 then (bonusDelta == 0)
471471 else false)
472472 then $Tuple2(nil, 0)
473473 else {
474474 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
475475 if ((wlgResult == wlgResult))
476476 then {
477477 let now = lastBlock.timestamp
478478 let timeKey = keyAcresStakedTimeByUser(address)
479479 let amountKey = keyAcresStakedAmtByUser(address)
480480 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
481481 if (if ((0 > amt))
482482 then (0 > (oldAcresAmount + amt))
483483 else false)
484484 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
485485 else {
486486 let newAcresAmount = (oldAcresAmount + amt)
487487 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
488488 let userFpKey = keyFarmingPowerByUser(address)
489489 let oldFp = valueOrElse(getInteger(userFpKey), 0)
490490 let bonusKey = keyUserFullBonus(address)
491491 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
492492 if (if ((0 > bonusDelta))
493493 then (0 > (oldBonus + bonusDelta))
494494 else false)
495495 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
496496 else {
497497 let $t066166715 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
498498 let newBonusedFp = $t066166715._1
499499 let ignored = $t066166715._2
500500 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
501501 let acresActions = if ((amt == 0))
502502 then nil
503503 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
504504 let bonusActions = if ((bonusDelta == 0))
505505 then nil
506506 else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))]
507507 $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult)
508508 }
509509 }
510510 }
511511 else throw("Strict value is not equal to itself.")
512512 }
513513
514514
515515 func getWlgPrice (usdtBalanceCorrection) = {
516516 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
517517 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
518518 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
519519 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
520520 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
521521 fraction(totalFundsUsd, MULT8, issuedAmount)
522522 }
523523
524524
525525 func getSwapLimitAcres () = {
526526 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
527527 let acres2Usd = assetBalance(this, usdtAssetId)
528528 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
529529 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
530530 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
531531 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
532532 let now = lastBlock.timestamp
533533 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
534534 let limitLeftUsdt = min([currentLimit, defaultLimit])
535535 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
536536 }
537537
538538
539539 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
540540
541541 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
542542
543543 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
544544
545545 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
546546
547547 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
548548
549549 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
550550
551551 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
552552
553553 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
554554
555555 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
556556
557557 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
558558
559559 func isArkimalIssued (nfo) = {
560560 let issuer = toString(nfo.issuer)
561- if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
561+ if (if (if ((chain == base58'2T'))
562562 then (issuer == oldStakingContractStr)
563563 else false)
564564 then true
565- else (issuer == incubator))
566- then true
567- else (issuer == breeder))
568- then true
569- else (issuer == turtleIncubator))
570- then true
571- else (issuer == turtleBreeder))
572- then true
573- else (issuer == canineIncubator))
574- then true
575- else (issuer == canineBreeder))
576- then true
577- else (issuer == felineIncubator))
578- then true
579- else (issuer == felineBreeder))
565+ else if ((chain == base58'2W'))
566+ then if (if (if (if (if (if (if ((issuer == incubator))
567+ then true
568+ else (issuer == breeder))
569+ then true
570+ else (issuer == turtleIncubator))
571+ then true
572+ else (issuer == turtleBreeder))
573+ then true
574+ else (issuer == canineIncubator))
575+ then true
576+ else (issuer == canineBreeder))
577+ then true
578+ else (issuer == felineIncubator))
579+ then true
580+ else (issuer == felineBreeder)
581+ else false)
580582 then nfo.name
581- else if ((issuer == mutantBreeder))
583+ else if (if ((chain == base58'2W'))
584+ then (issuer == mutantBreeder)
585+ else false)
582586 then nfo.description
583587 else ""
584588 }
585589
586590
587591 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
588592 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
589593 if ((nftNumber >= limit))
590594 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
591595 else {
592- let $t01099411070 = stakeUnstakeAcresInternal(0, addr, bonus6)
593- let actions = $t01099411070._1
594- let wlgClaimedAmount = $t01099411070._2
596+ let $t01104211118 = stakeUnstakeAcresInternal(0, addr, bonus6)
597+ let actions = $t01104211118._1
598+ let wlgClaimedAmount = $t01104211118._2
595599 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
596600 }
597601 }
598602
599603
600604 func processPromoRound (address,amt,roundId) = {
601605 let promoAcresKey = keyUserPromoAcres(address)
602606 let promoRoundAcresKey = keyUserPromoRoundAcres(roundId, address)
603607 let promoAcres = (valueOrElse(getInteger(promoRoundAcresKey), valueOrElse(getInteger(promoAcresKey), 0)) + amt)
604608 let tickets = (promoAcres / MULT8)
605609 let ticketsKey = keyUserPromoTickets(address)
606610 let roundTicketsKey = keyUserPromoRoundTickets(roundId, address)
607611 let deltaTickets = (tickets - valueOrElse(getInteger(roundTicketsKey), valueOrElse(getInteger(ticketsKey), 0)))
608612 let totalRoundTicketsKey = keyTotalPromoRoundTickets(roundId)
609613 let totalTickets = (valueOrElse(getInteger(totalRoundTicketsKey), valueOrElse(getInteger(keyTotalPromoTickets), 0)) + deltaTickets)
610614 if ((deltaTickets > 0))
611615 then {
612616 let roundMapKey = keyPromoRoundMap(roundId)
613617 let promoMap = valueOrElse(getString(roundMapKey), valueOrElse(getString(keyPromoMap), ""))
614618 let userRecord = ((address + ":") + padL(tickets, 3))
615619 let newMap = if (contains(promoMap, address))
616620 then {
617621 let mapParts = split_51C(promoMap, address)
618622 if ((mapParts[0] == ""))
619623 then {
620624 let r = drop(mapParts[1], 4)
621625 if ((r == ""))
622626 then if ((tickets == 0))
623627 then ""
624628 else userRecord
625629 else if ((tickets == 0))
626630 then drop(r, 1)
627631 else (userRecord + r)
628632 }
629633 else {
630634 let r = drop(mapParts[1], 4)
631635 if ((r == ""))
632636 then if ((tickets == 0))
633637 then dropRight(mapParts[0], 1)
634638 else (mapParts[0] + userRecord)
635639 else if ((tickets == 0))
636640 then (mapParts[0] + drop(r, 1))
637641 else ((mapParts[0] + userRecord) + r)
638642 }
639643 }
640644 else if ((tickets == 0))
641645 then promoMap
642646 else if ((promoMap == ""))
643647 then userRecord
644648 else ((promoMap + "_") + userRecord)
645649 [IntegerEntry(promoRoundAcresKey, promoAcres), IntegerEntry(roundTicketsKey, tickets), IntegerEntry(totalRoundTicketsKey, totalTickets), StringEntry(roundMapKey, newMap)]
646650 }
647651 else [IntegerEntry(promoRoundAcresKey, promoAcres)]
648652 }
649653
650654
651655 func stakeAcresForInternal (address,amt,shouldUpdatePromo) = {
652- let $t01429314369 = stakeUnstakeAcresInternal(amt, address, 0)
653- let actions = $t01429314369._1
654- let wlgClaimedAmount = $t01429314369._2
656+ let $t01434114417 = stakeUnstakeAcresInternal(amt, address, 0)
657+ let actions = $t01434114417._1
658+ let wlgClaimedAmount = $t01434114417._2
655659 let currRound = valueOrElse(getInteger(keyLastPromoRound), -1)
656660 let promoActions = if (if (if (if (shouldUpdatePromo)
657661 then (currRound >= 0)
658662 else false)
659663 then (height >= promoStartEndBlocks[currRound][0])
660664 else false)
661665 then (promoStartEndBlocks[currRound][1] > height)
662666 else false)
663667 then processPromoRound(address, amt, currRound)
664668 else nil
665669 $Tuple2((actions ++ promoActions), wlgClaimedAmount)
666670 }
667671
668672
669673 @Callable(i)
670674 func saveLastTx () = if (!(containsElement([wlgContract, marketContract], i.caller)))
671675 then throw("Access denied")
672676 else $Tuple2(prolog(i), 42)
673677
674678
675679
676680 @Callable(i)
677681 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
678682 then throw("Permission denied")
679683 else {
680684 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
681685 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
682686 }
683687
684688
685689
686690 @Callable(i)
687691 func setBlocked (isBlocked) = if ((i.caller != this))
688692 then throw("permission denied")
689693 else [BooleanEntry(keyBlocked(), isBlocked)]
690694
691695
692696
693697 @Callable(i)
694698 func unstakeAcres (amount) = {
695699 let prologActions = prolog(i)
696700 let currRound = valueOrElse(getInteger(keyLastPromoRound), -1)
697701 if (if (if ((currRound >= 0))
698702 then (height >= promoStartEndBlocks[currRound][0])
699703 else false)
700704 then (promoStartEndBlocks[currRound][1] > height)
701705 else false)
702706 then throw("You can't unstake during promo period")
703707 else if ((0 >= amount))
704708 then throw("Amount should be positive")
705709 else {
706710 let address = toString(i.caller)
707711 if ((size(i.payments) != 0))
708712 then throw("No payments required")
709713 else {
710714 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
711715 if ((arbReleaseTime > lastBlock.timestamp))
712716 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
713717 else {
714- let $t01628716367 = stakeUnstakeAcresInternal(-(amount), address, 0)
715- let actions = $t01628716367._1
716- let wlgClaimedAmount = $t01628716367._2
718+ let $t01633516415 = stakeUnstakeAcresInternal(-(amount), address, 0)
719+ let actions = $t01633516415._1
720+ let wlgClaimedAmount = $t01633516415._2
717721 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
718722 }
719723 }
720724 }
721725 }
722726
723727
724728
725729 @Callable(i)
726730 func stakeAcres () = {
727731 let prologActions = prolog(i)
728732 let address = toString(i.caller)
729733 if ((size(i.payments) != 1))
730734 then throw("exactly 1 payment must be attached")
731735 else {
732736 let pmt = i.payments[0]
733737 let amt = pmt.amount
734738 if (if (!(isDefined(pmt.assetId)))
735739 then true
736740 else (value(pmt.assetId) != acresAssetId))
737741 then throw("ACRES payments only!")
738742 else {
739- let $t01681816898 = stakeAcresForInternal(address, amt, true)
740- let stakeActions = $t01681816898._1
741- let wlgClaimedAmount = $t01681816898._2
743+ let $t01686616946 = stakeAcresForInternal(address, amt, true)
744+ let stakeActions = $t01686616946._1
745+ let wlgClaimedAmount = $t01686616946._2
742746 $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount)
743747 }
744748 }
745749 }
746750
747751
748752
749753 @Callable(i)
750754 func stakeAcresFor (address,amt) = if ((i.caller != this))
751755 then throw("Permission denied")
752756 else stakeAcresForInternal(address, amt, false)
753757
754758
755759
756760 @Callable(i)
757761 func buyAcres () = {
758762 let prologActions = prolog(i)
759763 if ((size(i.payments) != 1))
760764 then throw("exactly 1 payment must be attached")
761765 else {
762766 let pmt = i.payments[0]
763767 let usdtAmount = pmt.amount
764768 if (if (!(isDefined(pmt.assetId)))
765769 then true
766770 else (value(pmt.assetId) != usdtAssetId))
767771 then throw("USDT payments only!")
768772 else if ((MULT6 > usdtAmount))
769773 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
770774 else {
771775 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
772776 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
773777 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
774778 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
775779 if ((req == req))
776780 then {
777781 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
778782 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
779783 }
780784 else throw("Strict value is not equal to itself.")
781785 }
782786 }
783787 }
784788
785789
786790
787791 @Callable(i)
788792 func buyAcresREADONLY (usdtAmount) = {
789793 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
790794 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
791795 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
792796 }
793797
794798
795799
796800 @Callable(i)
797801 func sellAcres () = {
798802 let prologActions = prolog(i)
799803 if ((size(i.payments) != 1))
800804 then throw("exactly 1 payment must be attached")
801805 else {
802806 let pmt = i.payments[0]
803807 let acresAmount = pmt.amount
804808 if (if (!(isDefined(pmt.assetId)))
805809 then true
806810 else (value(pmt.assetId) != acresAssetId))
807811 then throw("ACRES payments only!")
808812 else if ((MULT7 > acresAmount))
809813 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
810814 else {
811815 let addr = toString(i.caller)
812- let $t01896119009 = getSwapLimitAcres()
813- let limitAction = $t01896119009._1
814- let maxUsdt = $t01896119009._2
816+ let $t01900919057 = getSwapLimitAcres()
817+ let limitAction = $t01900919057._1
818+ let maxUsdt = $t01900919057._2
815819 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
816820 if ((acresAmount > maxAcres))
817821 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
818822 else {
819823 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
820824 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
821825 }
822826 }
823827 }
824828 }
825829
826830
827831
828832 @Callable(i)
829833 func sellAcresREADONLY (address,acresAmount) = {
830- let $t01950519553 = getSwapLimitAcres()
831- let limitAction = $t01950519553._1
832- let maxUsdt = $t01950519553._2
834+ let $t01955319601 = getSwapLimitAcres()
835+ let limitAction = $t01955319601._1
836+ let maxUsdt = $t01955319601._2
833837 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
834838 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
835839 }
836840
837841
838842
839843 @Callable(i)
840844 func convertOldStakes () = {
841845 let prologActions = prolog(i)
842846 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
843847 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
844848 else {
845849 let address = toString(i.caller)
846850 if ((size(i.payments) != 0))
847851 then throw("No payments required")
848852 else {
849853 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
850854 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
851855 let gotAcres0 = if ((amount > 0))
852856 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
853857 else $Tuple2(0, 0)
854858 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
855859 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
856860 let landsResult = if (isDefined(landsStr))
857861 then {
858862 let lands = split_51C(value(landsStr), "_")
859863 if ((size(lands) > MAX_LANDS_TO_CONVERT))
860864 then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
861865 else {
862866 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
863867 then throw("landAssetId is required")
864868 else {
865869 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
866870 if ((r == r))
867871 then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
868872 else throw("Strict value is not equal to itself.")
869873 }
870874
871875 let rr = {
872876 let $l = lands
873877 let $s = size($l)
874878 let $acc0 = $Tuple5(0, 0, 0, 0, 0)
875879 func $f0_1 ($a,$i) = if (($i >= $s))
876880 then $a
877881 else oneLand($a, $l[$i])
878882
879883 func $f0_2 ($a,$i) = if (($i >= $s))
880884 then $a
881885 else throw("List size exceeds 14")
882886
883887 $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)
884888 }
885889 if ((rr == rr))
886890 then {
887891 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
888892 if ((finalize == finalize))
889893 then {
890894 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
891895 if ((req == req))
892896 then {
893- let $t02206722206 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
894- let nftActions = $t02206722206._1
895- let nftAssetId = $t02206722206._2
897+ let $t02211522254 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
898+ let nftActions = $t02211522254._1
899+ let nftAssetId = $t02211522254._2
896900 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
897901 }
898902 else throw("Strict value is not equal to itself.")
899903 }
900904 else throw("Strict value is not equal to itself.")
901905 }
902906 else throw("Strict value is not equal to itself.")
903907 }
904908 }
905909 else $Tuple6(0, 0, 0, 0, 0, nil)
906910 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
907911 let duckResult = if ((duckAssetId != ""))
908912 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
909913 else $Tuple3(0, 0, 0)
910914 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
911915 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
912916 }
913917 }
914918 }
915919
916920
917921
918922 @Callable(i)
919923 func unstakeLandsREADONLY (address) = {
920924 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
921925 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
922926 let landsResult = if (isDefined(landsStr))
923927 then {
924928 let lands = split_51C(value(landsStr), "_")
925929 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
926930 then throw("landAssetId is required")
927931 else {
928932 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
929933 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
930934 }
931935
932936 let $l = lands
933937 let $s = size($l)
934938 let $acc0 = $Tuple4(0, 0, 0, 0)
935939 func $f0_1 ($a,$i) = if (($i >= $s))
936940 then $a
937941 else oneLand($a, $l[$i])
938942
939943 func $f0_2 ($a,$i) = if (($i >= $s))
940944 then $a
941945 else throw("List size exceeds 100")
942946
943947 $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)
944948 }
945949 else $Tuple4(0, 0, 0, 0)
946950 $Tuple2(nil, landsResult)
947951 }
948952
949953
950954
951955 @Callable(i)
952956 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
953957 then throw("Permission denied")
954958 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
955959
956960
957961
958962 @Callable(i)
959963 func simulateStakeAcresREADONLY (address,addedAmount) = {
960964 let amountKey = keyAcresStakedAmtByUser(address)
961965 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
962966 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
963967 let userFpKey = keyFarmingPowerByUser(address)
964968 let oldFp = valueOrElse(getInteger(userFpKey), 0)
965969 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
966- let $t02447724564 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
967- let newBonusedFp = $t02447724564._1
968- let ignored = $t02447724564._2
970+ let $t02452524612 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
971+ let newBonusedFp = $t02452524612._1
972+ let ignored = $t02452524612._2
969973 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
970974 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
971975 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
972976 }
973977
974978
975979
976980 @Callable(i)
977981 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
978982 then throw("Permission denied")
979983 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
980984
981985
982986
983987 @Callable(i)
984988 func issueMittenP (forAddress) = if ((i.caller != this))
985989 then throw("Permission denied")
986990 else issueNftCustom(idxNameMitten, idxKeyMP, idxCollNewYear, idxRarityP, 3, idxDescrMitten, idxBonusTypeFp, addressFromStringValue(forAddress))
987991
988992
989993
990994 @Callable(i)
991995 func stakeNFT () = {
992996 let prologActions = prolog(i)
993997 if ((size(i.payments) != 1))
994998 then throw("Exactly one payment required")
995999 else {
9961000 let pmt = value(i.payments[0])
9971001 if ((pmt.amount != 1))
9981002 then throw("NFT token should be attached as payment")
9991003 else {
10001004 let assetId = value(pmt.assetId)
10011005 let asset = value(assetInfo(assetId))
10021006 let assetIdStr = toBase58String(assetId)
10031007 let addr = toString(i.caller)
10041008 let nftsKey = keyStakedNFTsByOwner(addr)
10051009 let nftsStr = getString(nftsKey)
10061010 let nfts = if (isDefined(nftsStr))
10071011 then split_4C(value(nftsStr), "_")
10081012 else nil
10091013 if (containsElement(nfts, assetIdStr))
10101014 then throw(("Your staked NFTs already contain " + assetIdStr))
10111015 else {
10121016 func countRegularAndArkimal (acc,assetIdStr) = {
10131017 let nfo = value(assetInfo(fromBase58String(assetIdStr)))
1014- if ((isArkimalIssued(nfo) != ""))
1015- then $Tuple2(acc._1, (acc._2 + 1))
1016- else if ((nfo.issuer == this))
1017- then $Tuple2((acc._1 + 1), acc._2)
1018+ if (if ((nfo.issuer == this))
1019+ then !(contains(nfo.description, "\"Promo\""))
1020+ else false)
1021+ then $Tuple2((acc._1 + 1), acc._2)
1022+ else if ((isArkimalIssued(nfo) != ""))
1023+ then $Tuple2(acc._1, (acc._2 + 1))
10181024 else throw("Unknown NFT staked")
10191025 }
10201026
1021- let $t02630026370 = {
1027+ let $t02639526465 = {
10221028 let $l = nfts
10231029 let $s = size($l)
10241030 let $acc0 = $Tuple2(0, 0)
10251031 func $f0_1 ($a,$i) = if (($i >= $s))
10261032 then $a
10271033 else countRegularAndArkimal($a, $l[$i])
10281034
10291035 func $f0_2 ($a,$i) = if (($i >= $s))
10301036 then $a
10311037 else throw("List size exceeds 50")
10321038
10331039 $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($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)
10341040 }
1035- let wlNfts = $t02630026370._1
1036- let arkNfts = $t02630026370._2
1041+ let wlNfts = $t02639526465._1
1042+ let arkNfts = $t02639526465._2
10371043 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
10381044 if ((asset.issuer == this))
10391045 then if ((wlNfts >= MAX_WL_NFTS))
10401046 then throw((("Your already staked max (" + toString(MAX_WL_NFTS)) + ") of regular NFTs"))
10411047 else {
1042- let $t02661526805 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1043- let actions = $t02661526805._1
1044- let wlgClaimedAmount = $t02661526805._2
1048+ let $t02671026900 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1049+ let actions = $t02671026900._1
1050+ let wlgClaimedAmount = $t02671026900._2
10451051 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10461052 }
10471053 else if ((isArkimalIssued(asset) == ""))
10481054 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
10491055 else if ((arkNfts >= MAX_ARK_NFTS))
10501056 then throw((("Your already staked max (" + toString(MAX_ARK_NFTS)) + ") of Arkimal NFTs"))
10511057 else {
1052- let $t02711027261 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1053- let actions = $t02711027261._1
1054- let wlgClaimedAmount = $t02711027261._2
1058+ let $t02720527356 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1059+ let actions = $t02720527356._1
1060+ let wlgClaimedAmount = $t02720527356._2
10551061 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10561062 }
10571063 }
10581064 }
10591065 }
10601066 }
10611067
10621068
10631069
10641070 @Callable(i)
10651071 func unstakeNFT (assetIdStr) = {
10661072 let prologActions = prolog(i)
10671073 if ((size(i.payments) != 0))
10681074 then throw("No payments required")
10691075 else {
10701076 let assetId = fromBase58String(assetIdStr)
10711077 let addr = toString(i.caller)
10721078 let asset = value(assetInfo(assetId))
10731079 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
10741080 if (!(isDefined(getInteger(timeKey))))
10751081 then throw((("NFT " + asset.name) + " is not staked by you"))
10761082 else {
10771083 let nftsKey = keyStakedNFTsByOwner(addr)
10781084 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
10791085 let idx = indexOf(nfts, assetIdStr)
10801086 if (!(isDefined(idx)))
10811087 then throw(("Your staked NFTs don't contain " + assetIdStr))
10821088 else {
10831089 let listAction = if ((size(nfts) > 1))
10841090 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
10851091 else DeleteEntry(nftsKey)
10861092 let isWL = (asset.issuer == this)
10871093 if (isWL)
10881094 then {
10891095 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10901096 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
1091- let $t02842628505 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1092- let actions = $t02842628505._1
1093- let wlgClaimedAmount = $t02842628505._2
1097+ let $t02852128600 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1098+ let actions = $t02852128600._1
1099+ let wlgClaimedAmount = $t02852128600._2
10941100 $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)
10951101 }
10961102 else {
10971103 let arkimalName = isArkimalIssued(asset)
10981104 if ((arkimalName == ""))
10991105 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
11001106 else {
11011107 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
1102- let $t02916529249 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1103- let actions = $t02916529249._1
1104- let wlgClaimedAmount = $t02916529249._2
1108+ let $t02926029344 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1109+ let actions = $t02926029344._1
1110+ let wlgClaimedAmount = $t02926029344._2
11051111 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
11061112 }
11071113 }
11081114 }
11091115 }
11101116 }
11111117 }
11121118
11131119
11141120
11151121 @Callable(i)
11161122 func exchangeNFTs () = if ((i.caller != this))
11171123 then throw("Temporary disabled")
11181124 else {
11191125 let prologActions = prolog(i)
11201126 if ((3 > size(i.payments)))
11211127 then throw("Min one WLGOLD and 2 NFT payments allowed")
11221128 else if ((size(i.payments) > 10))
11231129 then throw("Max one WLGOLD and 9 NFT payments allowed")
11241130 else {
11251131 let addr = toString(i.caller)
11261132 func addUp (acc,pmt) = {
11271133 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
11281134 if ((assetId == wlgAssetId))
11291135 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
11301136 else {
11311137 let asset = value(assetInfo(assetId))
11321138 if ((asset.issuer != this))
11331139 then throw("Only WL-issued NFTs allowed")
11341140 else {
11351141 let rarityIx = rarityIdxByDescriprion(value(asset.description))
11361142 if (if ((acc._4 > 0))
11371143 then (rarityIx != acc._4)
11381144 else false)
11391145 then throw("You can exchange only NFTs of the same rarity")
11401146 else {
11411147 let bonusPerc = bonusByDescription(value(asset.description))
11421148 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
11431149 }
11441150 }
11451151 }
11461152 }
11471153
1148- let $t03070030916 = {
1154+ let $t03079531011 = {
11491155 let $l = i.payments
11501156 let $s = size($l)
11511157 let $acc0 = $Tuple4(0, 0, nil, -1)
11521158 func $f0_1 ($a,$i) = if (($i >= $s))
11531159 then $a
11541160 else addUp($a, $l[$i])
11551161
11561162 func $f0_2 ($a,$i) = if (($i >= $s))
11571163 then $a
11581164 else throw("List size exceeds 10")
11591165
11601166 $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)
11611167 }
1162- let wlgFee = $t03070030916._1
1163- let totalBonus = $t03070030916._2
1164- let burnActions = $t03070030916._3
1165- let rarityIdx = $t03070030916._4
1168+ let wlgFee = $t03079531011._1
1169+ let totalBonus = $t03079531011._2
1170+ let burnActions = $t03079531011._3
1171+ let rarityIdx = $t03079531011._4
11661172 let newRarityIdx = if ((rarityIdx == idxRarityC))
11671173 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11681174 then idxRarityC
11691175 else if ((rarityThresholds[idxThresholdU] > totalBonus))
11701176 then idxRarityU
11711177 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
11721178 else if ((rarityIdx == idxRarityU))
11731179 then if ((rarityThresholds[idxThresholdU] > totalBonus))
11741180 then idxRarityU
11751181 else if ((rarityThresholds[idxThresholdL] > totalBonus))
11761182 then idxRarityL
11771183 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
11781184 else if ((rarityIdx == idxRarityL))
11791185 then if ((rarityThresholds[idxThresholdL] > totalBonus))
11801186 then idxRarityL
11811187 else idxRarityE
11821188 else if ((rarityIdx == idxRarityE))
11831189 then idxRarityE
11841190 else if ((rarityIdx == idxRarityP))
11851191 then throw("You can't exchange NFTs of this rarity")
11861192 else throw("Unknown rarity")
11871193 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
11881194 let change = (wlgFee - minWlgFee)
11891195 let forTeam = (minWlgFee / 2)
11901196 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11911197 if ((0 > change))
11921198 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11931199 else {
11941200 let changeActions = if ((change > 0))
11951201 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11961202 else nil
1197- let $t03245332614 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1198- let issueNftActions = $t03245332614._1
1199- let nftAssetId = $t03245332614._2
1203+ let $t03254832709 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1204+ let issueNftActions = $t03254832709._1
1205+ let nftAssetId = $t03254832709._2
12001206 let burned = size(burnActions)
12011207 let burnCounterActions = if ((burned == 0))
12021208 then nil
12031209 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
12041210 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
12051211 }
12061212 }
12071213 }
12081214
12091215
12101216
12111217 @Callable(i)
12121218 func openNftChest () = if ((i.caller != this))
12131219 then throw("Temporary disabled")
12141220 else {
12151221 let prologActions = prolog(i)
12161222 if ((size(i.payments) != 1))
12171223 then throw("exactly 1 payment must be attached")
12181224 else {
12191225 let pmt = i.payments[0]
12201226 let wlgAmount = pmt.amount
12211227 if (if (!(isDefined(pmt.assetId)))
12221228 then true
12231229 else (value(pmt.assetId) != wlgAssetId))
12241230 then throw("WLGOLD payments only!")
12251231 else {
12261232 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
12271233 let change = (wlgAmount - minWlgFee)
12281234 let forTeam = (minWlgFee / 2)
12291235 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
12301236 if ((0 > change))
12311237 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
12321238 else {
12331239 let changeActions = if ((change > 0))
12341240 then [ScriptTransfer(i.caller, change, wlgAssetId)]
12351241 else nil
12361242 let addr = toString(i.caller)
12371243 let finishKey = keyCommit(addr)
12381244 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
12391245 if ((finishBlock > height))
12401246 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
12411247 else {
12421248 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
12431249 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
12441250 let rand = getRandomNumber(100, salt, entropy)
1245- let $t03469534967 = if ((84 > rand))
1251+ let $t03479035062 = if ((84 > rand))
12461252 then $Tuple2(1, idxRarityC)
12471253 else if ((98 > rand))
12481254 then $Tuple2(5, idxRarityU)
12491255 else $Tuple2(10, idxRarityL)
1250- let bonus = $t03469534967._1
1251- let rarityIdx = $t03469534967._2
1252- let $t03497035120 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1253- let issueNftActions = $t03497035120._1
1254- let nftAssetId = $t03497035120._2
1256+ let bonus = $t03479035062._1
1257+ let rarityIdx = $t03479035062._2
1258+ let $t03506535215 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1259+ let issueNftActions = $t03506535215._1
1260+ let nftAssetId = $t03506535215._2
12551261 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
12561262 }
12571263 }
12581264 }
12591265 }
12601266 }
12611267
12621268
12631269
12641270 @Callable(i)
12651271 func commitForRandom () = if ((i.caller != this))
12661272 then throw("Temporary disabled")
12671273 else {
12681274 let prologActions = prolog(i)
12691275 let addr = toString(i.caller)
12701276 let finishKey = keyCommit(addr)
12711277 if (isDefined(getInteger(finishKey)))
12721278 then throw("You already commited for random, please use it")
12731279 else {
12741280 let finishBlock = (height + RANDOM_DELAY)
12751281 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
12761282 }
12771283 }
12781284
12791285
12801286
12811287 @Callable(i)
12821288 func launchNewPromoRound () = if ((i.caller != this))
12831289 then throw("Permission denied")
12841290 else {
12851291 let currRound = (valueOrElse(getInteger(keyLastPromoRound), -1) + 1)
12861292 $Tuple2([IntegerEntry(keyLastPromoRound, currRound)], currRound)
12871293 }
12881294
12891295
12901296
12911297 @Callable(i)
12921298 func drawPromoRound (roundId) = if ((i.caller != this))
12931299 then throw("Permission denied")
12941300 else if (if (if ((roundId >= 0))
12951301 then (height >= promoStartEndBlocks[roundId][0])
12961302 else false)
12971303 then (promoStartEndBlocks[roundId][1] > height)
12981304 else false)
12991305 then throw("Promo is not finished yet")
13001306 else {
13011307 let today = (height / DAY_BLOCKS)
13021308 let maxValue = valueOrElse(getInteger(keyTotalPromoRoundTickets(roundId)), 0)
13031309 if ((maxValue == 0))
13041310 then throw("No tickets to draw")
13051311 else {
13061312 let b = (today * DAY_BLOCKS)
13071313 let h = if ((b > VRF_OFFSET))
13081314 then b
13091315 else (b + VRF_OFFSET)
13101316 let entropy = value(value(blockInfoByHeight(h)).vrf)
13111317 let promoMap = valueOrElse(getString(keyPromoRoundMap(roundId)), "")
13121318 if ((promoMap == ""))
13131319 then throw("No participants")
13141320 else {
13151321 let awards = promoRoundAwards[roundId]
13161322 func singleDraw (ac,prizeVal) = if ((ac._3 == ""))
13171323 then ac
13181324 else {
13191325 let promoList = split_51C(ac._3, "_")
13201326 let rand = getRandomNumber(ac._1, ac._2, entropy)
13211327 func countTickets (acc,el) = {
13221328 let parts = split(el, ":")
13231329 let addr = parts[0]
13241330 let tickets = parseIntValue(parts[1])
13251331 let newTotal = (acc._1 + tickets)
13261332 if (if ((acc._3 == ""))
13271333 then (newTotal > rand)
13281334 else false)
13291335 then $Tuple3(newTotal, tickets, addr)
13301336 else $Tuple3(newTotal, acc._2, acc._3)
13311337 }
13321338
13331339 let r = {
13341340 let $l = promoList
13351341 let $s = size($l)
13361342 let $acc0 = $Tuple3(0, 0, "")
13371343 func $f0_1 ($a,$i) = if (($i >= $s))
13381344 then $a
13391345 else countTickets($a, $l[$i])
13401346
13411347 func $f0_2 ($a,$i) = if (($i >= $s))
13421348 then $a
13431349 else throw("List size exceeds 200")
13441350
13451351 $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110), 111), 112), 113), 114), 115), 116), 117), 118), 119), 120), 121), 122), 123), 124), 125), 126), 127), 128), 129), 130), 131), 132), 133), 134), 135), 136), 137), 138), 139), 140), 141), 142), 143), 144), 145), 146), 147), 148), 149), 150), 151), 152), 153), 154), 155), 156), 157), 158), 159), 160), 161), 162), 163), 164), 165), 166), 167), 168), 169), 170), 171), 172), 173), 174), 175), 176), 177), 178), 179), 180), 181), 182), 183), 184), 185), 186), 187), 188), 189), 190), 191), 192), 193), 194), 195), 196), 197), 198), 199), 200)
13461352 }
13471353 let winner = r._3
13481354 if ((winner == ""))
13491355 then ac
13501356 else {
13511357 let mapParts = split_51C(ac._3, winner)
13521358 let newMap = if ((mapParts[0] == ""))
13531359 then drop(mapParts[1], 5)
13541360 else (dropRight(mapParts[0], 1) + drop(mapParts[1], 4))
13551361 let winActions = if ((prizeVal == 0))
13561362 then invoke(this, "issueMittenP", [winner], nil)
13571363 else invoke(this, "stakeAcresFor", [winner, prizeVal], nil)
13581364 if ((winActions == winActions))
13591365 then {
13601366 let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
13611367 $Tuple4((ac._1 - r._2), newSalt, newMap, (ac._4 :+ winner))
13621368 }
13631369 else throw("Strict value is not equal to itself.")
13641370 }
13651371 }
13661372
13671373 let draws = {
13681374 let $l = awards
13691375 let $s = size($l)
13701376 let $acc0 = $Tuple4(maxValue, i.transactionId, promoMap, nil)
13711377 func $f0_1 ($a,$i) = if (($i >= $s))
13721378 then $a
13731379 else singleDraw($a, $l[$i])
13741380
13751381 func $f0_2 ($a,$i) = if (($i >= $s))
13761382 then $a
13771383 else throw("List size exceeds 16")
13781384
13791385 $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
13801386 }
13811387 $Tuple2([StringEntry(keyPromoRoundWinners(roundId), makeString_2C(draws._4, "_"))], 0)
13821388 }
13831389 }
13841390 }
13851391
13861392

github/deemru/w8io/169f3d6 
191.89 ms