tx · 2hF2TXoacrHLSEmXGBpjZXC42TwDQ93zjaY9B7gmxsVy

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.04100000 Waves

2025.01.12 12:53 [3455782] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "2hF2TXoacrHLSEmXGBpjZXC42TwDQ93zjaY9B7gmxsVy", "fee": 4100000, "feeAssetId": null, "timestamp": 1736675685288, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "4Px8DXskmB2RKSxbh7zMsAtdwqimbEfmgXfBL4eN4VDM37r3DGmvc84ZjLD8QuGVvoKZHvQkaxt6bDbURFBgvcRx" ], "script": "base64:BgJbCAISABIECgIICBIDCgEEEgMKAQESABIECgIIARIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgMKAQgSABIDCgEIEgASABIAEgASAwoBAZMBAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ3AICt4gQABU1VTFQ4AIDC1y8ABk1VTFQxNACAgOmDsd4WAApEQVlfTUlMTElTAIC4mSkAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKABNPTkVfUEVSQ0VOVF9ESVZJU09SAGQADFJBTkRPTV9ERUxBWQACABRORlRfQ0hFU1RfUFJJQ0VfVVNEVADAlrECAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQATcHJvbW9TdGFydEVuZEJsb2NrcwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAkAzAgCCQDMCAIAl5mSAgkAzAgCAKCBkwIFA25pbAUDbmlsAwkAAAIBAVQFByRtYXRjaDAJAMwIAgkAzAgCAIOv0QEJAMwIAgCjutEBBQNuaWwFA25pbAkAAgECDVVua25vd24g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AQIUTGlzdCBzaXplIGV4Y2VlZHMgMTYJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIJARRrZXlQcm9tb1JvdW5kV2lubmVycwEFB3JvdW5kSWQJALoJAggFBWRyYXdzAl80AgFfBQNuaWwAAABdLajd", "height": 3455782, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9yi6CnxE2DFMR4UQcDvtTMwNvV5u5YWHCagZjp5hfpjo Next: ActETzFNoU7J9cHSByVoz84ykYPFa1NzmQ35BrpSDaW5 Diff:
OldNewDifferences
284284 let MAX_ARK_NFTS = 1
285285
286286 let ARK_NFT_BONUS = 5000
287-
288-let MAX_NFTS_STAKED_BY_USER = 4
289287
290288 let keyNftTotalIssued = "nftTotalIssued"
291289
10101008 else nil
10111009 if (containsElement(nfts, assetIdStr))
10121010 then throw(("Your staked NFTs already contain " + assetIdStr))
1013- else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
1014- then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
1015- else {
1016- let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
1017- if ((asset.issuer == this))
1018- then {
1019- let $t02626326453 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1020- let actions = $t02626326453._1
1021- let wlgClaimedAmount = $t02626326453._2
1011+ else {
1012+ func countRegularAndArkimal (acc,assetIdStr) = {
1013+ 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+ else throw("Unknown NFT staked")
1019+ }
1020+
1021+ let $t02630026370 = {
1022+ let $l = nfts
1023+ let $s = size($l)
1024+ let $acc0 = $Tuple2(0, 0)
1025+ func $f0_1 ($a,$i) = if (($i >= $s))
1026+ then $a
1027+ else countRegularAndArkimal($a, $l[$i])
1028+
1029+ func $f0_2 ($a,$i) = if (($i >= $s))
1030+ then $a
1031+ else throw("List size exceeds 50")
1032+
1033+ $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)
1034+ }
1035+ let wlNfts = $t02630026370._1
1036+ let arkNfts = $t02630026370._2
1037+ let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
1038+ if ((asset.issuer == this))
1039+ then if ((wlNfts >= MAX_WL_NFTS))
1040+ then throw((("Your already staked max (" + toString(MAX_WL_NFTS)) + ") of regular NFTs"))
1041+ 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
10221045 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10231046 }
1024- else if ((isArkimalIssued(asset) == ""))
1025- then throw("Only WavesLands and Arkimals NFT tokens are accepted")
1047+ else if ((isArkimalIssued(asset) == ""))
1048+ then throw("Only WavesLands and Arkimals NFT tokens are accepted")
1049+ else if ((arkNfts >= MAX_ARK_NFTS))
1050+ then throw((("Your already staked max (" + toString(MAX_ARK_NFTS)) + ") of Arkimal NFTs"))
10261051 else {
1027- let $t02663426785 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1028- let actions = $t02663426785._1
1029- let wlgClaimedAmount = $t02663426785._2
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
10301055 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10311056 }
1032- }
1057+ }
10331058 }
10341059 }
10351060 }
10631088 then {
10641089 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10651090 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
1066- let $t02795028029 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1067- let actions = $t02795028029._1
1068- let wlgClaimedAmount = $t02795028029._2
1091+ let $t02842628505 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1092+ let actions = $t02842628505._1
1093+ let wlgClaimedAmount = $t02842628505._2
10691094 $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)
10701095 }
10711096 else {
10741099 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
10751100 else {
10761101 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
1077- let $t02868928773 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1078- let actions = $t02868928773._1
1079- let wlgClaimedAmount = $t02868928773._2
1102+ let $t02916529249 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1103+ let actions = $t02916529249._1
1104+ let wlgClaimedAmount = $t02916529249._2
10801105 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
10811106 }
10821107 }
11201145 }
11211146 }
11221147
1123- let $t03022430440 = {
1148+ let $t03070030916 = {
11241149 let $l = i.payments
11251150 let $s = size($l)
11261151 let $acc0 = $Tuple4(0, 0, nil, -1)
11341159
11351160 $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)
11361161 }
1137- let wlgFee = $t03022430440._1
1138- let totalBonus = $t03022430440._2
1139- let burnActions = $t03022430440._3
1140- let rarityIdx = $t03022430440._4
1162+ let wlgFee = $t03070030916._1
1163+ let totalBonus = $t03070030916._2
1164+ let burnActions = $t03070030916._3
1165+ let rarityIdx = $t03070030916._4
11411166 let newRarityIdx = if ((rarityIdx == idxRarityC))
11421167 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11431168 then idxRarityC
11691194 let changeActions = if ((change > 0))
11701195 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11711196 else nil
1172- let $t03197732138 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1173- let issueNftActions = $t03197732138._1
1174- let nftAssetId = $t03197732138._2
1197+ let $t03245332614 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1198+ let issueNftActions = $t03245332614._1
1199+ let nftAssetId = $t03245332614._2
11751200 let burned = size(burnActions)
11761201 let burnCounterActions = if ((burned == 0))
11771202 then nil
12171242 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
12181243 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
12191244 let rand = getRandomNumber(100, salt, entropy)
1220- let $t03421934491 = if ((84 > rand))
1245+ let $t03469534967 = if ((84 > rand))
12211246 then $Tuple2(1, idxRarityC)
12221247 else if ((98 > rand))
12231248 then $Tuple2(5, idxRarityU)
12241249 else $Tuple2(10, idxRarityL)
1225- let bonus = $t03421934491._1
1226- let rarityIdx = $t03421934491._2
1227- let $t03449434644 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1228- let issueNftActions = $t03449434644._1
1229- let nftAssetId = $t03449434644._2
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
12301255 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
12311256 }
12321257 }
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
287-
288-let MAX_NFTS_STAKED_BY_USER = 4
289287
290288 let keyNftTotalIssued = "nftTotalIssued"
291289
292290 let keyNftTotalBurned = "nftTotalBurned"
293291
294292 let keyWlNftTotalStaked = "WlNftTotalStaked"
295293
296294 let keyArkNftTotalStaked = "ArkNftTotalStaked"
297295
298296 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
299297
300298
301299 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
302300
303301
304302 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
305303
306304
307305 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
308306
309307
310308 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
311309
312310 func getLevelByAcres (acres) = {
313311 let acr = ((acres + 99999999) / M8_)
314312 func checker (acc,item) = if ((item >= acr))
315313 then acc
316314 else (acc + 1)
317315
318316 let $l = levelAcres
319317 let $s = size($l)
320318 let $acc0 = 0
321319 func $f0_1 ($a,$i) = if (($i >= $s))
322320 then $a
323321 else checker($a, $l[$i])
324322
325323 func $f0_2 ($a,$i) = if (($i >= $s))
326324 then $a
327325 else throw("List size exceeds 10")
328326
329327 $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)
330328 }
331329
332330
333331 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
334332
335333
336334 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
337335 let notBonused = getFarmingPowerByAcres(acres)
338336 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
339337 }
340338
341339
342340 let teamAddrKey = "teamAddr"
343341
344342 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
345343
346344
347345 let OLD_STAKING_DEADL = 1733346000000
348346
349347 let MAX_LANDS_TO_CONVERT = 14
350348
351349 let keyLastAcresSellTime = "lastAcresSellTime"
352350
353351 let keyLastLimitLeft = "lastLimitLeft"
354352
355353 let names = ["Gold shovel", "Pickaxe", "Santa's mitten"]
356354
357355 let descriptions = ["Reward for early birds", "Increases FarmPower", "New Year promo reward"]
358356
359357 let idxDescrShovel = 0
360358
361359 let idxDescrPickaxe = 1
362360
363361 let idxDescrMitten = 2
364362
365363 let rarityThresholds = [5, 10, 20]
366364
367365 let idxThresholdC = 0
368366
369367 let idxThresholdU = 1
370368
371369 let idxThresholdL = 2
372370
373371 let namez = ["SHOVEL", "PICKAXE", "MITTEN"]
374372
375373 let idxNameShovel = 0
376374
377375 let idxNamePickaxe = 1
378376
379377 let idxNameMitten = 2
380378
381379 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP", "contentMittenP"]
382380
383381 let idxKeyC = 0
384382
385383 let idxKeySP = 4
386384
387385 let idxKeyMP = 5
388386
389387 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
390388
391389 let idxRarityC = 0
392390
393391 let idxRarityU = 1
394392
395393 let idxRarityL = 2
396394
397395 let idxRarityE = 3
398396
399397 let idxRarityP = 4
400398
401399 let collectionz = ["Digging tools", "New Year gifts"]
402400
403401 let idxCollDig = 0
404402
405403 let idxCollNewYear = 1
406404
407405 let bonusTypez = ["FarmPower"]
408406
409407 let idxBonusTypeFp = 0
410408
411409 func prolog (i) = if (if ((i.originCaller != rest2Contract))
412410 then valueOrElse(getBoolean(keyBlocked()), false)
413411 else false)
414412 then throw("Contracts are under maintenance")
415413 else {
416414 let addr = toString(i.originCaller)
417415 let week = (height / WEEK_BLOCKS)
418416 let lastWeekKey = keyLastWeekTxIdByUser(addr)
419417 let lastWeekTxIdByUser = getString(lastWeekKey)
420418 let txId = toBase58String(i.transactionId)
421419 let wtx = ((toString(week) + "_") + txId)
422420 let curWeekKey = keyCurWeekTxIdByUser(addr)
423421 if (isDefined(lastWeekTxIdByUser))
424422 then {
425423 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
426424 if ((lastWeekTx[0] == toString(week)))
427425 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
428426 else if ((lastWeekTx[0] == toString((week - 1))))
429427 then [StringEntry(curWeekKey, wtx)]
430428 else {
431429 let curWeekTxIdByUser = getStringValue(curWeekKey)
432430 let curWeekTx = split(curWeekTxIdByUser, "_")
433431 if ((curWeekTx[0] == toString(week)))
434432 then [StringEntry(curWeekKey, wtx)]
435433 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
436434 }
437435 }
438436 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
439437 }
440438
441439
442440 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) + "\"}")
443441
444442
445443 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
446444 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
447445 let rarity = rarityNames[rarityIdx]
448446 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
449447 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
450448 let nftAssetId = calculateAssetId(issue)
451449 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
452450 }
453451
454452
455453 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
456454 then throw(("NFT is not supported: " + descr))
457455 else {
458456 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
459457 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
460458 }
461459
462460
463461 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
464462 then throw(("NFT is not supported: " + descr))
465463 else {
466464 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
467465 value(indexOf(rarityNames, rarityStr))
468466 }
469467
470468
471469 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
472470 then (bonusDelta == 0)
473471 else false)
474472 then $Tuple2(nil, 0)
475473 else {
476474 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
477475 if ((wlgResult == wlgResult))
478476 then {
479477 let now = lastBlock.timestamp
480478 let timeKey = keyAcresStakedTimeByUser(address)
481479 let amountKey = keyAcresStakedAmtByUser(address)
482480 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
483481 if (if ((0 > amt))
484482 then (0 > (oldAcresAmount + amt))
485483 else false)
486484 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
487485 else {
488486 let newAcresAmount = (oldAcresAmount + amt)
489487 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
490488 let userFpKey = keyFarmingPowerByUser(address)
491489 let oldFp = valueOrElse(getInteger(userFpKey), 0)
492490 let bonusKey = keyUserFullBonus(address)
493491 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
494492 if (if ((0 > bonusDelta))
495493 then (0 > (oldBonus + bonusDelta))
496494 else false)
497495 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
498496 else {
499497 let $t066166715 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
500498 let newBonusedFp = $t066166715._1
501499 let ignored = $t066166715._2
502500 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
503501 let acresActions = if ((amt == 0))
504502 then nil
505503 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
506504 let bonusActions = if ((bonusDelta == 0))
507505 then nil
508506 else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))]
509507 $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult)
510508 }
511509 }
512510 }
513511 else throw("Strict value is not equal to itself.")
514512 }
515513
516514
517515 func getWlgPrice (usdtBalanceCorrection) = {
518516 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
519517 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
520518 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
521519 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
522520 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
523521 fraction(totalFundsUsd, MULT8, issuedAmount)
524522 }
525523
526524
527525 func getSwapLimitAcres () = {
528526 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
529527 let acres2Usd = assetBalance(this, usdtAssetId)
530528 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
531529 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
532530 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
533531 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
534532 let now = lastBlock.timestamp
535533 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
536534 let limitLeftUsdt = min([currentLimit, defaultLimit])
537535 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
538536 }
539537
540538
541539 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
542540
543541 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
544542
545543 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
546544
547545 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
548546
549547 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
550548
551549 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
552550
553551 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
554552
555553 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
556554
557555 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
558556
559557 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
560558
561559 func isArkimalIssued (nfo) = {
562560 let issuer = toString(nfo.issuer)
563561 if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
564562 then (issuer == oldStakingContractStr)
565563 else false)
566564 then true
567565 else (issuer == incubator))
568566 then true
569567 else (issuer == breeder))
570568 then true
571569 else (issuer == turtleIncubator))
572570 then true
573571 else (issuer == turtleBreeder))
574572 then true
575573 else (issuer == canineIncubator))
576574 then true
577575 else (issuer == canineBreeder))
578576 then true
579577 else (issuer == felineIncubator))
580578 then true
581579 else (issuer == felineBreeder))
582580 then nfo.name
583581 else if ((issuer == mutantBreeder))
584582 then nfo.description
585583 else ""
586584 }
587585
588586
589587 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
590588 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
591589 if ((nftNumber >= limit))
592590 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
593591 else {
594592 let $t01099411070 = stakeUnstakeAcresInternal(0, addr, bonus6)
595593 let actions = $t01099411070._1
596594 let wlgClaimedAmount = $t01099411070._2
597595 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
598596 }
599597 }
600598
601599
602600 func processPromoRound (address,amt,roundId) = {
603601 let promoAcresKey = keyUserPromoAcres(address)
604602 let promoRoundAcresKey = keyUserPromoRoundAcres(roundId, address)
605603 let promoAcres = (valueOrElse(getInteger(promoRoundAcresKey), valueOrElse(getInteger(promoAcresKey), 0)) + amt)
606604 let tickets = (promoAcres / MULT8)
607605 let ticketsKey = keyUserPromoTickets(address)
608606 let roundTicketsKey = keyUserPromoRoundTickets(roundId, address)
609607 let deltaTickets = (tickets - valueOrElse(getInteger(roundTicketsKey), valueOrElse(getInteger(ticketsKey), 0)))
610608 let totalRoundTicketsKey = keyTotalPromoRoundTickets(roundId)
611609 let totalTickets = (valueOrElse(getInteger(totalRoundTicketsKey), valueOrElse(getInteger(keyTotalPromoTickets), 0)) + deltaTickets)
612610 if ((deltaTickets > 0))
613611 then {
614612 let roundMapKey = keyPromoRoundMap(roundId)
615613 let promoMap = valueOrElse(getString(roundMapKey), valueOrElse(getString(keyPromoMap), ""))
616614 let userRecord = ((address + ":") + padL(tickets, 3))
617615 let newMap = if (contains(promoMap, address))
618616 then {
619617 let mapParts = split_51C(promoMap, address)
620618 if ((mapParts[0] == ""))
621619 then {
622620 let r = drop(mapParts[1], 4)
623621 if ((r == ""))
624622 then if ((tickets == 0))
625623 then ""
626624 else userRecord
627625 else if ((tickets == 0))
628626 then drop(r, 1)
629627 else (userRecord + r)
630628 }
631629 else {
632630 let r = drop(mapParts[1], 4)
633631 if ((r == ""))
634632 then if ((tickets == 0))
635633 then dropRight(mapParts[0], 1)
636634 else (mapParts[0] + userRecord)
637635 else if ((tickets == 0))
638636 then (mapParts[0] + drop(r, 1))
639637 else ((mapParts[0] + userRecord) + r)
640638 }
641639 }
642640 else if ((tickets == 0))
643641 then promoMap
644642 else if ((promoMap == ""))
645643 then userRecord
646644 else ((promoMap + "_") + userRecord)
647645 [IntegerEntry(promoRoundAcresKey, promoAcres), IntegerEntry(roundTicketsKey, tickets), IntegerEntry(totalRoundTicketsKey, totalTickets), StringEntry(roundMapKey, newMap)]
648646 }
649647 else [IntegerEntry(promoRoundAcresKey, promoAcres)]
650648 }
651649
652650
653651 func stakeAcresForInternal (address,amt,shouldUpdatePromo) = {
654652 let $t01429314369 = stakeUnstakeAcresInternal(amt, address, 0)
655653 let actions = $t01429314369._1
656654 let wlgClaimedAmount = $t01429314369._2
657655 let currRound = valueOrElse(getInteger(keyLastPromoRound), -1)
658656 let promoActions = if (if (if (if (shouldUpdatePromo)
659657 then (currRound >= 0)
660658 else false)
661659 then (height >= promoStartEndBlocks[currRound][0])
662660 else false)
663661 then (promoStartEndBlocks[currRound][1] > height)
664662 else false)
665663 then processPromoRound(address, amt, currRound)
666664 else nil
667665 $Tuple2((actions ++ promoActions), wlgClaimedAmount)
668666 }
669667
670668
671669 @Callable(i)
672670 func saveLastTx () = if (!(containsElement([wlgContract, marketContract], i.caller)))
673671 then throw("Access denied")
674672 else $Tuple2(prolog(i), 42)
675673
676674
677675
678676 @Callable(i)
679677 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
680678 then throw("Permission denied")
681679 else {
682680 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
683681 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
684682 }
685683
686684
687685
688686 @Callable(i)
689687 func setBlocked (isBlocked) = if ((i.caller != this))
690688 then throw("permission denied")
691689 else [BooleanEntry(keyBlocked(), isBlocked)]
692690
693691
694692
695693 @Callable(i)
696694 func unstakeAcres (amount) = {
697695 let prologActions = prolog(i)
698696 let currRound = valueOrElse(getInteger(keyLastPromoRound), -1)
699697 if (if (if ((currRound >= 0))
700698 then (height >= promoStartEndBlocks[currRound][0])
701699 else false)
702700 then (promoStartEndBlocks[currRound][1] > height)
703701 else false)
704702 then throw("You can't unstake during promo period")
705703 else if ((0 >= amount))
706704 then throw("Amount should be positive")
707705 else {
708706 let address = toString(i.caller)
709707 if ((size(i.payments) != 0))
710708 then throw("No payments required")
711709 else {
712710 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
713711 if ((arbReleaseTime > lastBlock.timestamp))
714712 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
715713 else {
716714 let $t01628716367 = stakeUnstakeAcresInternal(-(amount), address, 0)
717715 let actions = $t01628716367._1
718716 let wlgClaimedAmount = $t01628716367._2
719717 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
720718 }
721719 }
722720 }
723721 }
724722
725723
726724
727725 @Callable(i)
728726 func stakeAcres () = {
729727 let prologActions = prolog(i)
730728 let address = toString(i.caller)
731729 if ((size(i.payments) != 1))
732730 then throw("exactly 1 payment must be attached")
733731 else {
734732 let pmt = i.payments[0]
735733 let amt = pmt.amount
736734 if (if (!(isDefined(pmt.assetId)))
737735 then true
738736 else (value(pmt.assetId) != acresAssetId))
739737 then throw("ACRES payments only!")
740738 else {
741739 let $t01681816898 = stakeAcresForInternal(address, amt, true)
742740 let stakeActions = $t01681816898._1
743741 let wlgClaimedAmount = $t01681816898._2
744742 $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount)
745743 }
746744 }
747745 }
748746
749747
750748
751749 @Callable(i)
752750 func stakeAcresFor (address,amt) = if ((i.caller != this))
753751 then throw("Permission denied")
754752 else stakeAcresForInternal(address, amt, false)
755753
756754
757755
758756 @Callable(i)
759757 func buyAcres () = {
760758 let prologActions = prolog(i)
761759 if ((size(i.payments) != 1))
762760 then throw("exactly 1 payment must be attached")
763761 else {
764762 let pmt = i.payments[0]
765763 let usdtAmount = pmt.amount
766764 if (if (!(isDefined(pmt.assetId)))
767765 then true
768766 else (value(pmt.assetId) != usdtAssetId))
769767 then throw("USDT payments only!")
770768 else if ((MULT6 > usdtAmount))
771769 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
772770 else {
773771 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
774772 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
775773 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
776774 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
777775 if ((req == req))
778776 then {
779777 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
780778 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
781779 }
782780 else throw("Strict value is not equal to itself.")
783781 }
784782 }
785783 }
786784
787785
788786
789787 @Callable(i)
790788 func buyAcresREADONLY (usdtAmount) = {
791789 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
792790 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
793791 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
794792 }
795793
796794
797795
798796 @Callable(i)
799797 func sellAcres () = {
800798 let prologActions = prolog(i)
801799 if ((size(i.payments) != 1))
802800 then throw("exactly 1 payment must be attached")
803801 else {
804802 let pmt = i.payments[0]
805803 let acresAmount = pmt.amount
806804 if (if (!(isDefined(pmt.assetId)))
807805 then true
808806 else (value(pmt.assetId) != acresAssetId))
809807 then throw("ACRES payments only!")
810808 else if ((MULT7 > acresAmount))
811809 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
812810 else {
813811 let addr = toString(i.caller)
814812 let $t01896119009 = getSwapLimitAcres()
815813 let limitAction = $t01896119009._1
816814 let maxUsdt = $t01896119009._2
817815 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
818816 if ((acresAmount > maxAcres))
819817 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
820818 else {
821819 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
822820 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
823821 }
824822 }
825823 }
826824 }
827825
828826
829827
830828 @Callable(i)
831829 func sellAcresREADONLY (address,acresAmount) = {
832830 let $t01950519553 = getSwapLimitAcres()
833831 let limitAction = $t01950519553._1
834832 let maxUsdt = $t01950519553._2
835833 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
836834 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
837835 }
838836
839837
840838
841839 @Callable(i)
842840 func convertOldStakes () = {
843841 let prologActions = prolog(i)
844842 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
845843 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
846844 else {
847845 let address = toString(i.caller)
848846 if ((size(i.payments) != 0))
849847 then throw("No payments required")
850848 else {
851849 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
852850 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
853851 let gotAcres0 = if ((amount > 0))
854852 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
855853 else $Tuple2(0, 0)
856854 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
857855 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
858856 let landsResult = if (isDefined(landsStr))
859857 then {
860858 let lands = split_51C(value(landsStr), "_")
861859 if ((size(lands) > MAX_LANDS_TO_CONVERT))
862860 then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
863861 else {
864862 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
865863 then throw("landAssetId is required")
866864 else {
867865 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
868866 if ((r == r))
869867 then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
870868 else throw("Strict value is not equal to itself.")
871869 }
872870
873871 let rr = {
874872 let $l = lands
875873 let $s = size($l)
876874 let $acc0 = $Tuple5(0, 0, 0, 0, 0)
877875 func $f0_1 ($a,$i) = if (($i >= $s))
878876 then $a
879877 else oneLand($a, $l[$i])
880878
881879 func $f0_2 ($a,$i) = if (($i >= $s))
882880 then $a
883881 else throw("List size exceeds 14")
884882
885883 $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)
886884 }
887885 if ((rr == rr))
888886 then {
889887 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
890888 if ((finalize == finalize))
891889 then {
892890 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
893891 if ((req == req))
894892 then {
895893 let $t02206722206 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
896894 let nftActions = $t02206722206._1
897895 let nftAssetId = $t02206722206._2
898896 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
899897 }
900898 else throw("Strict value is not equal to itself.")
901899 }
902900 else throw("Strict value is not equal to itself.")
903901 }
904902 else throw("Strict value is not equal to itself.")
905903 }
906904 }
907905 else $Tuple6(0, 0, 0, 0, 0, nil)
908906 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
909907 let duckResult = if ((duckAssetId != ""))
910908 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
911909 else $Tuple3(0, 0, 0)
912910 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
913911 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
914912 }
915913 }
916914 }
917915
918916
919917
920918 @Callable(i)
921919 func unstakeLandsREADONLY (address) = {
922920 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
923921 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
924922 let landsResult = if (isDefined(landsStr))
925923 then {
926924 let lands = split_51C(value(landsStr), "_")
927925 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
928926 then throw("landAssetId is required")
929927 else {
930928 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
931929 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
932930 }
933931
934932 let $l = lands
935933 let $s = size($l)
936934 let $acc0 = $Tuple4(0, 0, 0, 0)
937935 func $f0_1 ($a,$i) = if (($i >= $s))
938936 then $a
939937 else oneLand($a, $l[$i])
940938
941939 func $f0_2 ($a,$i) = if (($i >= $s))
942940 then $a
943941 else throw("List size exceeds 100")
944942
945943 $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)
946944 }
947945 else $Tuple4(0, 0, 0, 0)
948946 $Tuple2(nil, landsResult)
949947 }
950948
951949
952950
953951 @Callable(i)
954952 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
955953 then throw("Permission denied")
956954 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
957955
958956
959957
960958 @Callable(i)
961959 func simulateStakeAcresREADONLY (address,addedAmount) = {
962960 let amountKey = keyAcresStakedAmtByUser(address)
963961 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
964962 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
965963 let userFpKey = keyFarmingPowerByUser(address)
966964 let oldFp = valueOrElse(getInteger(userFpKey), 0)
967965 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
968966 let $t02447724564 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
969967 let newBonusedFp = $t02447724564._1
970968 let ignored = $t02447724564._2
971969 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
972970 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
973971 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
974972 }
975973
976974
977975
978976 @Callable(i)
979977 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
980978 then throw("Permission denied")
981979 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
982980
983981
984982
985983 @Callable(i)
986984 func issueMittenP (forAddress) = if ((i.caller != this))
987985 then throw("Permission denied")
988986 else issueNftCustom(idxNameMitten, idxKeyMP, idxCollNewYear, idxRarityP, 3, idxDescrMitten, idxBonusTypeFp, addressFromStringValue(forAddress))
989987
990988
991989
992990 @Callable(i)
993991 func stakeNFT () = {
994992 let prologActions = prolog(i)
995993 if ((size(i.payments) != 1))
996994 then throw("Exactly one payment required")
997995 else {
998996 let pmt = value(i.payments[0])
999997 if ((pmt.amount != 1))
1000998 then throw("NFT token should be attached as payment")
1001999 else {
10021000 let assetId = value(pmt.assetId)
10031001 let asset = value(assetInfo(assetId))
10041002 let assetIdStr = toBase58String(assetId)
10051003 let addr = toString(i.caller)
10061004 let nftsKey = keyStakedNFTsByOwner(addr)
10071005 let nftsStr = getString(nftsKey)
10081006 let nfts = if (isDefined(nftsStr))
10091007 then split_4C(value(nftsStr), "_")
10101008 else nil
10111009 if (containsElement(nfts, assetIdStr))
10121010 then throw(("Your staked NFTs already contain " + assetIdStr))
1013- else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
1014- then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
1015- else {
1016- let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
1017- if ((asset.issuer == this))
1018- then {
1019- let $t02626326453 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1020- let actions = $t02626326453._1
1021- let wlgClaimedAmount = $t02626326453._2
1011+ else {
1012+ func countRegularAndArkimal (acc,assetIdStr) = {
1013+ 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+ else throw("Unknown NFT staked")
1019+ }
1020+
1021+ let $t02630026370 = {
1022+ let $l = nfts
1023+ let $s = size($l)
1024+ let $acc0 = $Tuple2(0, 0)
1025+ func $f0_1 ($a,$i) = if (($i >= $s))
1026+ then $a
1027+ else countRegularAndArkimal($a, $l[$i])
1028+
1029+ func $f0_2 ($a,$i) = if (($i >= $s))
1030+ then $a
1031+ else throw("List size exceeds 50")
1032+
1033+ $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)
1034+ }
1035+ let wlNfts = $t02630026370._1
1036+ let arkNfts = $t02630026370._2
1037+ let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
1038+ if ((asset.issuer == this))
1039+ then if ((wlNfts >= MAX_WL_NFTS))
1040+ then throw((("Your already staked max (" + toString(MAX_WL_NFTS)) + ") of regular NFTs"))
1041+ 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
10221045 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10231046 }
1024- else if ((isArkimalIssued(asset) == ""))
1025- then throw("Only WavesLands and Arkimals NFT tokens are accepted")
1047+ else if ((isArkimalIssued(asset) == ""))
1048+ then throw("Only WavesLands and Arkimals NFT tokens are accepted")
1049+ else if ((arkNfts >= MAX_ARK_NFTS))
1050+ then throw((("Your already staked max (" + toString(MAX_ARK_NFTS)) + ") of Arkimal NFTs"))
10261051 else {
1027- let $t02663426785 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1028- let actions = $t02663426785._1
1029- let wlgClaimedAmount = $t02663426785._2
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
10301055 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
10311056 }
1032- }
1057+ }
10331058 }
10341059 }
10351060 }
10361061
10371062
10381063
10391064 @Callable(i)
10401065 func unstakeNFT (assetIdStr) = {
10411066 let prologActions = prolog(i)
10421067 if ((size(i.payments) != 0))
10431068 then throw("No payments required")
10441069 else {
10451070 let assetId = fromBase58String(assetIdStr)
10461071 let addr = toString(i.caller)
10471072 let asset = value(assetInfo(assetId))
10481073 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
10491074 if (!(isDefined(getInteger(timeKey))))
10501075 then throw((("NFT " + asset.name) + " is not staked by you"))
10511076 else {
10521077 let nftsKey = keyStakedNFTsByOwner(addr)
10531078 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
10541079 let idx = indexOf(nfts, assetIdStr)
10551080 if (!(isDefined(idx)))
10561081 then throw(("Your staked NFTs don't contain " + assetIdStr))
10571082 else {
10581083 let listAction = if ((size(nfts) > 1))
10591084 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
10601085 else DeleteEntry(nftsKey)
10611086 let isWL = (asset.issuer == this)
10621087 if (isWL)
10631088 then {
10641089 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10651090 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
1066- let $t02795028029 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1067- let actions = $t02795028029._1
1068- let wlgClaimedAmount = $t02795028029._2
1091+ let $t02842628505 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
1092+ let actions = $t02842628505._1
1093+ let wlgClaimedAmount = $t02842628505._2
10691094 $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)
10701095 }
10711096 else {
10721097 let arkimalName = isArkimalIssued(asset)
10731098 if ((arkimalName == ""))
10741099 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
10751100 else {
10761101 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
1077- let $t02868928773 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1078- let actions = $t02868928773._1
1079- let wlgClaimedAmount = $t02868928773._2
1102+ let $t02916529249 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
1103+ let actions = $t02916529249._1
1104+ let wlgClaimedAmount = $t02916529249._2
10801105 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
10811106 }
10821107 }
10831108 }
10841109 }
10851110 }
10861111 }
10871112
10881113
10891114
10901115 @Callable(i)
10911116 func exchangeNFTs () = if ((i.caller != this))
10921117 then throw("Temporary disabled")
10931118 else {
10941119 let prologActions = prolog(i)
10951120 if ((3 > size(i.payments)))
10961121 then throw("Min one WLGOLD and 2 NFT payments allowed")
10971122 else if ((size(i.payments) > 10))
10981123 then throw("Max one WLGOLD and 9 NFT payments allowed")
10991124 else {
11001125 let addr = toString(i.caller)
11011126 func addUp (acc,pmt) = {
11021127 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
11031128 if ((assetId == wlgAssetId))
11041129 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
11051130 else {
11061131 let asset = value(assetInfo(assetId))
11071132 if ((asset.issuer != this))
11081133 then throw("Only WL-issued NFTs allowed")
11091134 else {
11101135 let rarityIx = rarityIdxByDescriprion(value(asset.description))
11111136 if (if ((acc._4 > 0))
11121137 then (rarityIx != acc._4)
11131138 else false)
11141139 then throw("You can exchange only NFTs of the same rarity")
11151140 else {
11161141 let bonusPerc = bonusByDescription(value(asset.description))
11171142 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
11181143 }
11191144 }
11201145 }
11211146 }
11221147
1123- let $t03022430440 = {
1148+ let $t03070030916 = {
11241149 let $l = i.payments
11251150 let $s = size($l)
11261151 let $acc0 = $Tuple4(0, 0, nil, -1)
11271152 func $f0_1 ($a,$i) = if (($i >= $s))
11281153 then $a
11291154 else addUp($a, $l[$i])
11301155
11311156 func $f0_2 ($a,$i) = if (($i >= $s))
11321157 then $a
11331158 else throw("List size exceeds 10")
11341159
11351160 $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)
11361161 }
1137- let wlgFee = $t03022430440._1
1138- let totalBonus = $t03022430440._2
1139- let burnActions = $t03022430440._3
1140- let rarityIdx = $t03022430440._4
1162+ let wlgFee = $t03070030916._1
1163+ let totalBonus = $t03070030916._2
1164+ let burnActions = $t03070030916._3
1165+ let rarityIdx = $t03070030916._4
11411166 let newRarityIdx = if ((rarityIdx == idxRarityC))
11421167 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11431168 then idxRarityC
11441169 else if ((rarityThresholds[idxThresholdU] > totalBonus))
11451170 then idxRarityU
11461171 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
11471172 else if ((rarityIdx == idxRarityU))
11481173 then if ((rarityThresholds[idxThresholdU] > totalBonus))
11491174 then idxRarityU
11501175 else if ((rarityThresholds[idxThresholdL] > totalBonus))
11511176 then idxRarityL
11521177 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
11531178 else if ((rarityIdx == idxRarityL))
11541179 then if ((rarityThresholds[idxThresholdL] > totalBonus))
11551180 then idxRarityL
11561181 else idxRarityE
11571182 else if ((rarityIdx == idxRarityE))
11581183 then idxRarityE
11591184 else if ((rarityIdx == idxRarityP))
11601185 then throw("You can't exchange NFTs of this rarity")
11611186 else throw("Unknown rarity")
11621187 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
11631188 let change = (wlgFee - minWlgFee)
11641189 let forTeam = (minWlgFee / 2)
11651190 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11661191 if ((0 > change))
11671192 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11681193 else {
11691194 let changeActions = if ((change > 0))
11701195 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11711196 else nil
1172- let $t03197732138 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1173- let issueNftActions = $t03197732138._1
1174- let nftAssetId = $t03197732138._2
1197+ let $t03245332614 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1198+ let issueNftActions = $t03245332614._1
1199+ let nftAssetId = $t03245332614._2
11751200 let burned = size(burnActions)
11761201 let burnCounterActions = if ((burned == 0))
11771202 then nil
11781203 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
11791204 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
11801205 }
11811206 }
11821207 }
11831208
11841209
11851210
11861211 @Callable(i)
11871212 func openNftChest () = if ((i.caller != this))
11881213 then throw("Temporary disabled")
11891214 else {
11901215 let prologActions = prolog(i)
11911216 if ((size(i.payments) != 1))
11921217 then throw("exactly 1 payment must be attached")
11931218 else {
11941219 let pmt = i.payments[0]
11951220 let wlgAmount = pmt.amount
11961221 if (if (!(isDefined(pmt.assetId)))
11971222 then true
11981223 else (value(pmt.assetId) != wlgAssetId))
11991224 then throw("WLGOLD payments only!")
12001225 else {
12011226 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
12021227 let change = (wlgAmount - minWlgFee)
12031228 let forTeam = (minWlgFee / 2)
12041229 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
12051230 if ((0 > change))
12061231 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
12071232 else {
12081233 let changeActions = if ((change > 0))
12091234 then [ScriptTransfer(i.caller, change, wlgAssetId)]
12101235 else nil
12111236 let addr = toString(i.caller)
12121237 let finishKey = keyCommit(addr)
12131238 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
12141239 if ((finishBlock > height))
12151240 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
12161241 else {
12171242 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
12181243 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
12191244 let rand = getRandomNumber(100, salt, entropy)
1220- let $t03421934491 = if ((84 > rand))
1245+ let $t03469534967 = if ((84 > rand))
12211246 then $Tuple2(1, idxRarityC)
12221247 else if ((98 > rand))
12231248 then $Tuple2(5, idxRarityU)
12241249 else $Tuple2(10, idxRarityL)
1225- let bonus = $t03421934491._1
1226- let rarityIdx = $t03421934491._2
1227- let $t03449434644 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
1228- let issueNftActions = $t03449434644._1
1229- let nftAssetId = $t03449434644._2
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
12301255 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
12311256 }
12321257 }
12331258 }
12341259 }
12351260 }
12361261
12371262
12381263
12391264 @Callable(i)
12401265 func commitForRandom () = if ((i.caller != this))
12411266 then throw("Temporary disabled")
12421267 else {
12431268 let prologActions = prolog(i)
12441269 let addr = toString(i.caller)
12451270 let finishKey = keyCommit(addr)
12461271 if (isDefined(getInteger(finishKey)))
12471272 then throw("You already commited for random, please use it")
12481273 else {
12491274 let finishBlock = (height + RANDOM_DELAY)
12501275 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
12511276 }
12521277 }
12531278
12541279
12551280
12561281 @Callable(i)
12571282 func launchNewPromoRound () = if ((i.caller != this))
12581283 then throw("Permission denied")
12591284 else {
12601285 let currRound = (valueOrElse(getInteger(keyLastPromoRound), -1) + 1)
12611286 $Tuple2([IntegerEntry(keyLastPromoRound, currRound)], currRound)
12621287 }
12631288
12641289
12651290
12661291 @Callable(i)
12671292 func drawPromoRound (roundId) = if ((i.caller != this))
12681293 then throw("Permission denied")
12691294 else if (if (if ((roundId >= 0))
12701295 then (height >= promoStartEndBlocks[roundId][0])
12711296 else false)
12721297 then (promoStartEndBlocks[roundId][1] > height)
12731298 else false)
12741299 then throw("Promo is not finished yet")
12751300 else {
12761301 let today = (height / DAY_BLOCKS)
12771302 let maxValue = valueOrElse(getInteger(keyTotalPromoRoundTickets(roundId)), 0)
12781303 if ((maxValue == 0))
12791304 then throw("No tickets to draw")
12801305 else {
12811306 let b = (today * DAY_BLOCKS)
12821307 let h = if ((b > VRF_OFFSET))
12831308 then b
12841309 else (b + VRF_OFFSET)
12851310 let entropy = value(value(blockInfoByHeight(h)).vrf)
12861311 let promoMap = valueOrElse(getString(keyPromoRoundMap(roundId)), "")
12871312 if ((promoMap == ""))
12881313 then throw("No participants")
12891314 else {
12901315 let awards = promoRoundAwards[roundId]
12911316 func singleDraw (ac,prizeVal) = if ((ac._3 == ""))
12921317 then ac
12931318 else {
12941319 let promoList = split_51C(ac._3, "_")
12951320 let rand = getRandomNumber(ac._1, ac._2, entropy)
12961321 func countTickets (acc,el) = {
12971322 let parts = split(el, ":")
12981323 let addr = parts[0]
12991324 let tickets = parseIntValue(parts[1])
13001325 let newTotal = (acc._1 + tickets)
13011326 if (if ((acc._3 == ""))
13021327 then (newTotal > rand)
13031328 else false)
13041329 then $Tuple3(newTotal, tickets, addr)
13051330 else $Tuple3(newTotal, acc._2, acc._3)
13061331 }
13071332
13081333 let r = {
13091334 let $l = promoList
13101335 let $s = size($l)
13111336 let $acc0 = $Tuple3(0, 0, "")
13121337 func $f0_1 ($a,$i) = if (($i >= $s))
13131338 then $a
13141339 else countTickets($a, $l[$i])
13151340
13161341 func $f0_2 ($a,$i) = if (($i >= $s))
13171342 then $a
13181343 else throw("List size exceeds 200")
13191344
13201345 $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)
13211346 }
13221347 let winner = r._3
13231348 if ((winner == ""))
13241349 then ac
13251350 else {
13261351 let mapParts = split_51C(ac._3, winner)
13271352 let newMap = if ((mapParts[0] == ""))
13281353 then drop(mapParts[1], 5)
13291354 else (dropRight(mapParts[0], 1) + drop(mapParts[1], 4))
13301355 let winActions = if ((prizeVal == 0))
13311356 then invoke(this, "issueMittenP", [winner], nil)
13321357 else invoke(this, "stakeAcresFor", [winner, prizeVal], nil)
13331358 if ((winActions == winActions))
13341359 then {
13351360 let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
13361361 $Tuple4((ac._1 - r._2), newSalt, newMap, (ac._4 :+ winner))
13371362 }
13381363 else throw("Strict value is not equal to itself.")
13391364 }
13401365 }
13411366
13421367 let draws = {
13431368 let $l = awards
13441369 let $s = size($l)
13451370 let $acc0 = $Tuple4(maxValue, i.transactionId, promoMap, nil)
13461371 func $f0_1 ($a,$i) = if (($i >= $s))
13471372 then $a
13481373 else singleDraw($a, $l[$i])
13491374
13501375 func $f0_2 ($a,$i) = if (($i >= $s))
13511376 then $a
13521377 else throw("List size exceeds 16")
13531378
13541379 $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)
13551380 }
13561381 $Tuple2([StringEntry(keyPromoRoundWinners(roundId), makeString_2C(draws._4, "_"))], 0)
13571382 }
13581383 }
13591384 }
13601385
13611386

github/deemru/w8io/169f3d6 
170.76 ms