tx · GRvh9pRReqPEmcr6A8J1gyRWRFE2nT5GCBaUP1bJG8hu

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03800000 Waves

2024.12.14 00:59 [3413381] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "GRvh9pRReqPEmcr6A8J1gyRWRFE2nT5GCBaUP1bJG8hu", "fee": 3800000, "feeAssetId": null, "timestamp": 1734127230537, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "35j3V7DTyBymVxUQNVbmLL6fbouUDjJEG8KNUH9xjBedc1DmmVAGiNZPwHsLc8GxFbfKSNrmAXM7RhxcmSNiSBkF" ], "script": "base64:BgJLCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASABIAjAEAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABABdEQUlMWV9QUk9NT19TVEFSVF9CTE9DSwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMACA75ECAwkAAAIBAVQFByRtYXRjaDAAwKbQAQkAAgECDVVua25vd24gY2hhaW4AFURBSUxZX1BST01PX0VORF9CTE9DSwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMACg25MCAwkAAAI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hBA==", "height": 3413381, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3rSTnyXJaMwa8kjU9ftu4g8L9VgB6cd8xrQYj6cGFUkt Next: 4AXeDRPKs9YfeFWjmdCBfQN7YmvdHSgVLqbPBE97G5KK Diff:
OldNewDifferences
12741274 let stakeActions = $t03558435735._1
12751275 let ignoredWlgClaimedAmount = $t03558435735._2
12761276 let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
1277- $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 :+ stakeActions), (ac._5 :+ winner))
1277+ $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 ++ stakeActions), (ac._5 :+ winner))
12781278 }
12791279 }
12801280
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 DAILY_PROMO_START_BLOCK = match chain {
2727 case _ =>
2828 if ((base58'2W' == $match0))
2929 then 4487040
3030 else if ((base58'2T' == $match0))
3131 then 3412800
3232 else throw("Unknown chain")
3333 }
3434
3535 let DAILY_PROMO_END_BLOCK = match chain {
3636 case _ =>
3737 if ((base58'2W' == $match0))
3838 then 4517280
3939 else if ((base58'2T' == $match0))
4040 then 3443040
4141 else throw("Unknown chain")
4242 }
4343
4444 let DAY_BLOCKS = match chain {
4545 case _ =>
4646 if ((base58'2W' == $match0))
4747 then 1440
4848 else if ((base58'2T' == $match0))
4949 then 60
5050 else throw("Unknown chain")
5151 }
5252
5353 let WEEK_BLOCKS = match chain {
5454 case _ =>
5555 if ((base58'2W' == $match0))
5656 then 10080
5757 else if ((base58'2T' == $match0))
5858 then 180
5959 else throw("Unknown chain")
6060 }
6161
6262 let VRF_OFFSET = match chain {
6363 case _ =>
6464 if ((base58'2W' == $match0))
6565 then 0
6666 else if ((base58'2T' == $match0))
6767 then 1146000
6868 else throw("Unknown chain")
6969 }
7070
7171 let usdtAssetId = match chain {
7272 case _ =>
7373 if ((base58'2W' == $match0))
7474 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
7575 else if ((base58'2T' == $match0))
7676 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
7777 else throw("Unknown chain")
7878 }
7979
8080 let defaultRest2AddressStr = match chain {
8181 case _ =>
8282 if ((base58'2W' == $match0))
8383 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
8484 else if ((base58'2T' == $match0))
8585 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
8686 else throw("Unknown chain")
8787 }
8888
8989 let arbitrageDelay = match chain {
9090 case _ =>
9191 if ((base58'2W' == $match0))
9292 then DAY_MILLIS
9393 else if ((base58'2T' == $match0))
9494 then 60000
9595 else throw("Unknown chain")
9696 }
9797
9898 let oldStakingContractStr = match chain {
9999 case _ =>
100100 if ((base58'2W' == $match0))
101101 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
102102 else if ((base58'2T' == $match0))
103103 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
104104 else throw("Unknown chain")
105105 }
106106
107107 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
108108
109109
110110 let IdxCfgAcres2Dapp = 1
111111
112112 let IdxCfgWlgDapp = 2
113113
114114 let IdxCfgInvestFundDapp = 5
115115
116116 let IdxCfgMarketDapp = 6
117117
118118 func keyRestCfg () = "%s__restConfig"
119119
120120
121121 func keyRest2Address () = "%s__rest2Addr"
122122
123123
124124 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
125125
126126
127127 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
128128
129129
130130 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
131131
132132 let rest2Cfg = readRestCfgOrFail(rest2Contract)
133133
134134 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
135135
136136 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
137137
138138 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
139139
140140 let marketContract = getContractAddressOrFail(rest2Cfg, IdxCfgMarketDapp)
141141
142142 let oldAcresContractKey = "oldAcresContract"
143143
144144 func keyBlocked () = "contractsBlocked"
145145
146146
147147 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
148148
149149
150150 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
151151
152152
153153 func keyCommit (address) = ("finishBlockFor_" + address)
154154
155155
156156 let wlgAssetIdKey = "wlg_assetId"
157157
158158 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
159159
160160 let acresIssuedAmountKey = "acresIssuedAmount"
161161
162162 let acresAssetIdKey = "acresAssetId"
163163
164164 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
165165
166166 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
167167
168168
169169 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
170170
171171
172172 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
173173
174174
175175 func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr)
176176
177177
178178 func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr)
179179
180180
181181 func keyUserPromoAcres (address) = ("promoAcres_" + address)
182182
183183
184184 func keyUserPromoTickets (address) = ("promoTickets_" + address)
185185
186186
187187 let keyTotalPromoTickets = "totalPromoTickets"
188188
189189 let keyPromoMap = "promoMap"
190190
191191 func keyDailyWinners (day) = ("dailyWinners_" + toString(day))
192192
193193
194194 func asInt (v) = match v {
195195 case n: Int =>
196196 n
197197 case _ =>
198198 throw("fail to cast into Int")
199199 }
200200
201201
202202 func asTuple5Ints (val) = match val {
203203 case t: (Int, Int, Int, Int, Int) =>
204204 t
205205 case _ =>
206206 throw("fail to cast into (Int, Int, Int, Int, Int)")
207207 }
208208
209209
210210 func asTuple4Ints (val) = match val {
211211 case t: (Int, Int, Int, Int) =>
212212 t
213213 case _ =>
214214 throw("fail to cast into (Int, Int, Int, Int)")
215215 }
216216
217217
218218 func asTuple3Ints (val) = match val {
219219 case t: (Int, Int, Int) =>
220220 t
221221 case _ =>
222222 throw("fail to cast into (Int, Int, Int)")
223223 }
224224
225225
226226 func asTuple2Ints (val) = match val {
227227 case t: (Int, Int) =>
228228 t
229229 case _ =>
230230 throw("fail to cast into (Int, Int)")
231231 }
232232
233233
234234 func fixedPoint (val,decimals) = {
235235 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
236236 let lowPart = toString((val % tenPow))
237237 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
238238 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
239239 }
240240
241241
242242 func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue))
243243 then throw("maxValue should be > 0")
244244 else {
245245 let randomHash = sha256_16Kb((salt + entropy))
246246 (toInt(randomHash) % maxValue)
247247 }
248248
249249
250250 func padL (val,len) = {
251251 let valS = toString(val)
252252 let zeroes = drop(toString(pow(10, 0, (len - size(valS)), 0, 0, DOWN)), 1)
253253 (zeroes + valS)
254254 }
255255
256256
257257 let M6_ = 1000000
258258
259259 let M8_ = 100000000
260260
261261 let wlgIssuedAmtKey = "wlg_issuedAmount"
262262
263263 let zbIssuedAmtKey = "zbill_issuedAmount"
264264
265265 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
266266
267267
268268 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
269269
270270
271271 let acresStakdTotalKey = "acresStakedAmountTotal"
272272
273273 let totalFarmingPowerKey = "totalFarmingPower"
274274
275275 let MAX_WL_NFTS = 3
276276
277277 let MAX_ARK_NFTS = 1
278278
279279 let ARK_NFT_BONUS = 5000
280280
281281 let MAX_NFTS_STAKED_BY_USER = 4
282282
283283 let keyNftTotalIssued = "nftTotalIssued"
284284
285285 let keyNftTotalBurned = "nftTotalBurned"
286286
287287 let keyWlNftTotalStaked = "WlNftTotalStaked"
288288
289289 let keyArkNftTotalStaked = "ArkNftTotalStaked"
290290
291291 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
292292
293293
294294 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
295295
296296
297297 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
298298
299299
300300 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
301301
302302
303303 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
304304
305305 func getLevelByAcres (acres) = {
306306 let acr = ((acres + 99999999) / M8_)
307307 func checker (acc,item) = if ((item >= acr))
308308 then acc
309309 else (acc + 1)
310310
311311 let $l = levelAcres
312312 let $s = size($l)
313313 let $acc0 = 0
314314 func $f0_1 ($a,$i) = if (($i >= $s))
315315 then $a
316316 else checker($a, $l[$i])
317317
318318 func $f0_2 ($a,$i) = if (($i >= $s))
319319 then $a
320320 else throw("List size exceeds 10")
321321
322322 $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)
323323 }
324324
325325
326326 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
327327
328328
329329 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
330330 let notBonused = getFarmingPowerByAcres(acres)
331331 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
332332 }
333333
334334
335335 let teamAddrKey = "teamAddr"
336336
337337 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
338338
339339
340340 let OLD_STAKING_DEADL = 1733346000000
341341
342342 let MAX_LANDS_TO_CONVERT = 14
343343
344344 let keyLastAcresSellTime = "lastAcresSellTime"
345345
346346 let keyLastLimitLeft = "lastLimitLeft"
347347
348348 let names = ["Gold shovel", "Pickaxe"]
349349
350350 let descriptions = ["Reward for early birds", "Increases FarmPower"]
351351
352352 let idxDescrShovel = 0
353353
354354 let idxDescrPickaxe = 1
355355
356356 let rarityThresholds = [5, 10, 20]
357357
358358 let idxThresholdC = 0
359359
360360 let idxThresholdU = 1
361361
362362 let idxThresholdL = 2
363363
364364 let namez = ["SHOVEL", "PICKAXE"]
365365
366366 let idxNameShovel = 0
367367
368368 let idxNamePickaxe = 1
369369
370370 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
371371
372372 let idxKeyC = 0
373373
374374 let idxKeyP = 4
375375
376376 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
377377
378378 let idxRarityC = 0
379379
380380 let idxRarityU = 1
381381
382382 let idxRarityL = 2
383383
384384 let idxRarityE = 3
385385
386386 let idxRarityP = 4
387387
388388 let collectionz = ["Digging tools"]
389389
390390 let idxCollDig = 0
391391
392392 let bonusTypez = ["FarmPower"]
393393
394394 let idxBonusTypeFp = 0
395395
396396 func prolog (i) = if (if ((i.originCaller != rest2Contract))
397397 then valueOrElse(getBoolean(keyBlocked()), false)
398398 else false)
399399 then throw("Contracts are under maintenance")
400400 else {
401401 let addr = toString(i.originCaller)
402402 let week = (height / WEEK_BLOCKS)
403403 let lastWeekKey = keyLastWeekTxIdByUser(addr)
404404 let lastWeekTxIdByUser = getString(lastWeekKey)
405405 let txId = toBase58String(i.transactionId)
406406 let wtx = ((toString(week) + "_") + txId)
407407 let curWeekKey = keyCurWeekTxIdByUser(addr)
408408 if (isDefined(lastWeekTxIdByUser))
409409 then {
410410 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
411411 if ((lastWeekTx[0] == toString(week)))
412412 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
413413 else if ((lastWeekTx[0] == toString((week - 1))))
414414 then [StringEntry(curWeekKey, wtx)]
415415 else {
416416 let curWeekTxIdByUser = getStringValue(curWeekKey)
417417 let curWeekTx = split(curWeekTxIdByUser, "_")
418418 if ((curWeekTx[0] == toString(week)))
419419 then [StringEntry(curWeekKey, wtx)]
420420 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
421421 }
422422 }
423423 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
424424 }
425425
426426
427427 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) + "\"}")
428428
429429
430430 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
431431 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
432432 let rarity = rarityNames[rarityIdx]
433433 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
434434 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
435435 let nftAssetId = calculateAssetId(issue)
436436 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
437437 }
438438
439439
440440 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
441441 then throw(("NFT is not supported: " + descr))
442442 else {
443443 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
444444 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
445445 }
446446
447447
448448 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
449449 then throw(("NFT is not supported: " + descr))
450450 else {
451451 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
452452 value(indexOf(rarityNames, rarityStr))
453453 }
454454
455455
456456 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
457457 then (bonusDelta == 0)
458458 else false)
459459 then throw("Nothing to do")
460460 else {
461461 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
462462 if ((wlgResult == wlgResult))
463463 then {
464464 let now = lastBlock.timestamp
465465 let timeKey = keyAcresStakedTimeByUser(address)
466466 let amountKey = keyAcresStakedAmtByUser(address)
467467 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
468468 if (if ((0 > amt))
469469 then (0 > (oldAcresAmount + amt))
470470 else false)
471471 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
472472 else {
473473 let newAcresAmount = (oldAcresAmount + amt)
474474 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
475475 let userFpKey = keyFarmingPowerByUser(address)
476476 let oldFp = valueOrElse(getInteger(userFpKey), 0)
477477 let bonusKey = keyUserFullBonus(address)
478478 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
479479 if (if ((0 > bonusDelta))
480480 then (0 > (oldBonus + bonusDelta))
481481 else false)
482482 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
483483 else {
484484 let $t062996398 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
485485 let newBonusedFp = $t062996398._1
486486 let ignored = $t062996398._2
487487 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
488488 let acresActions = if ((amt == 0))
489489 then nil
490490 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
491491 let bonusActions = if ((bonusDelta == 0))
492492 then nil
493493 else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))]
494494 $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult)
495495 }
496496 }
497497 }
498498 else throw("Strict value is not equal to itself.")
499499 }
500500
501501
502502 func getWlgPrice (usdtBalanceCorrection) = {
503503 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
504504 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
505505 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
506506 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
507507 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
508508 fraction(totalFundsUsd, MULT8, issuedAmount)
509509 }
510510
511511
512512 func getSwapLimitAcres () = {
513513 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
514514 let acres2Usd = assetBalance(this, usdtAssetId)
515515 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
516516 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
517517 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
518518 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
519519 let now = lastBlock.timestamp
520520 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
521521 let limitLeftUsdt = min([currentLimit, defaultLimit])
522522 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
523523 }
524524
525525
526526 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
527527
528528 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
529529
530530 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
531531
532532 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
533533
534534 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
535535
536536 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
537537
538538 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
539539
540540 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
541541
542542 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
543543
544544 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
545545
546546 func isArkimalIssued (nfo) = {
547547 let issuer = toString(nfo.issuer)
548548 if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
549549 then (issuer == oldStakingContractStr)
550550 else false)
551551 then true
552552 else (issuer == incubator))
553553 then true
554554 else (issuer == breeder))
555555 then true
556556 else (issuer == turtleIncubator))
557557 then true
558558 else (issuer == turtleBreeder))
559559 then true
560560 else (issuer == canineIncubator))
561561 then true
562562 else (issuer == canineBreeder))
563563 then true
564564 else (issuer == felineIncubator))
565565 then true
566566 else (issuer == felineBreeder))
567567 then nfo.name
568568 else if ((issuer == mutantBreeder))
569569 then nfo.description
570570 else ""
571571 }
572572
573573
574574 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
575575 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
576576 if ((nftNumber >= limit))
577577 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
578578 else {
579579 let $t01067710753 = stakeUnstakeAcresInternal(0, addr, bonus6)
580580 let actions = $t01067710753._1
581581 let wlgClaimedAmount = $t01067710753._2
582582 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
583583 }
584584 }
585585
586586
587587 let promoNumPrizes = 3
588588
589589 let promoAwardPerRound = [50000000, 25000000, 25000000]
590590
591591 func stakeAcresFor (address,amt,shouldCleanPromo) = {
592592 let $t01122511301 = stakeUnstakeAcresInternal(amt, address, 0)
593593 let actions = $t01122511301._1
594594 let wlgClaimedAmount = $t01122511301._2
595595 let promoActions = if (if ((height >= DAILY_PROMO_START_BLOCK))
596596 then (DAILY_PROMO_END_BLOCK > height)
597597 else false)
598598 then {
599599 let promoAcresKey = keyUserPromoAcres(address)
600600 let promoAcres = ((if (shouldCleanPromo)
601601 then 0
602602 else valueOrElse(getInteger(promoAcresKey), 0)) + amt)
603603 let tickets = (promoAcres / MULT8)
604604 let ticketsKey = keyUserPromoTickets(address)
605605 let deltaTickets = (tickets - valueOrElse(getInteger(ticketsKey), 0))
606606 let totalTickets = (valueOrElse(getInteger(keyTotalPromoTickets), 0) + deltaTickets)
607607 if (if (shouldCleanPromo)
608608 then true
609609 else (deltaTickets > 0))
610610 then {
611611 let promoMap = valueOrElse(getString(keyPromoMap), "")
612612 let userRecord = ((address + ":") + padL(tickets, 3))
613613 let newMap = if (contains(promoMap, address))
614614 then {
615615 let mapParts = split_51C(promoMap, address)
616616 if ((mapParts[0] == ""))
617617 then {
618618 let r = drop(mapParts[1], 4)
619619 if ((r == ""))
620620 then if ((tickets == 0))
621621 then ""
622622 else userRecord
623623 else if ((tickets == 0))
624624 then drop(r, 1)
625625 else (userRecord + r)
626626 }
627627 else {
628628 let r = drop(mapParts[1], 4)
629629 if ((r == ""))
630630 then if ((tickets == 0))
631631 then dropRight(mapParts[0], 1)
632632 else (mapParts[0] + userRecord)
633633 else if ((tickets == 0))
634634 then (mapParts[0] + drop(r, 1))
635635 else ((mapParts[0] + userRecord) + r)
636636 }
637637 }
638638 else if ((tickets == 0))
639639 then promoMap
640640 else if ((promoMap == ""))
641641 then userRecord
642642 else ((promoMap + "_") + userRecord)
643643 [IntegerEntry(promoAcresKey, promoAcres), IntegerEntry(ticketsKey, tickets), IntegerEntry(keyTotalPromoTickets, totalTickets), StringEntry(keyPromoMap, newMap)]
644644 }
645645 else [IntegerEntry(promoAcresKey, promoAcres)]
646646 }
647647 else nil
648648 $Tuple2((actions ++ promoActions), wlgClaimedAmount)
649649 }
650650
651651
652652 @Callable(i)
653653 func saveLastTx () = if (!(containsElement([wlgContract, marketContract], i.caller)))
654654 then throw("Access denied")
655655 else $Tuple2(prolog(i), 42)
656656
657657
658658
659659 @Callable(i)
660660 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
661661 then throw("Permission denied")
662662 else {
663663 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
664664 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
665665 }
666666
667667
668668
669669 @Callable(i)
670670 func setBlocked (isBlocked) = if ((i.caller != this))
671671 then throw("permission denied")
672672 else [BooleanEntry(keyBlocked(), isBlocked)]
673673
674674
675675
676676 @Callable(i)
677677 func unstakeAcres (amount) = {
678678 let prologActions = prolog(i)
679679 if (if ((height >= DAILY_PROMO_START_BLOCK))
680680 then (DAILY_PROMO_END_BLOCK > height)
681681 else false)
682682 then throw("You can't unstake during Xmas promo period")
683683 else if ((0 >= amount))
684684 then throw("Amount should be positive")
685685 else {
686686 let address = toString(i.caller)
687687 if ((size(i.payments) != 0))
688688 then throw("No payments required")
689689 else {
690690 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
691691 if ((arbReleaseTime > lastBlock.timestamp))
692692 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
693693 else {
694694 let $t01530415384 = stakeUnstakeAcresInternal(-(amount), address, 0)
695695 let actions = $t01530415384._1
696696 let wlgClaimedAmount = $t01530415384._2
697697 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
698698 }
699699 }
700700 }
701701 }
702702
703703
704704
705705 @Callable(i)
706706 func stakeAcres () = {
707707 let prologActions = prolog(i)
708708 let address = toString(i.caller)
709709 if ((size(i.payments) != 1))
710710 then throw("exactly 1 payment must be attached")
711711 else {
712712 let pmt = i.payments[0]
713713 let amt = pmt.amount
714714 if (if (!(isDefined(pmt.assetId)))
715715 then true
716716 else (value(pmt.assetId) != acresAssetId))
717717 then throw("ACRES payments only!")
718718 else {
719719 let $t01583515908 = stakeAcresFor(address, amt, false)
720720 let stakeActions = $t01583515908._1
721721 let wlgClaimedAmount = $t01583515908._2
722722 $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount)
723723 }
724724 }
725725 }
726726
727727
728728
729729 @Callable(i)
730730 func buyAcres () = {
731731 let prologActions = prolog(i)
732732 if ((size(i.payments) != 1))
733733 then throw("exactly 1 payment must be attached")
734734 else {
735735 let pmt = i.payments[0]
736736 let usdtAmount = pmt.amount
737737 if (if (!(isDefined(pmt.assetId)))
738738 then true
739739 else (value(pmt.assetId) != usdtAssetId))
740740 then throw("USDT payments only!")
741741 else if ((MULT6 > usdtAmount))
742742 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
743743 else {
744744 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
745745 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
746746 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
747747 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
748748 if ((req == req))
749749 then {
750750 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
751751 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
752752 }
753753 else throw("Strict value is not equal to itself.")
754754 }
755755 }
756756 }
757757
758758
759759
760760 @Callable(i)
761761 func buyAcresREADONLY (usdtAmount) = {
762762 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
763763 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
764764 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
765765 }
766766
767767
768768
769769 @Callable(i)
770770 func sellAcres () = {
771771 let prologActions = prolog(i)
772772 if ((size(i.payments) != 1))
773773 then throw("exactly 1 payment must be attached")
774774 else {
775775 let pmt = i.payments[0]
776776 let acresAmount = pmt.amount
777777 if (if (!(isDefined(pmt.assetId)))
778778 then true
779779 else (value(pmt.assetId) != acresAssetId))
780780 then throw("ACRES payments only!")
781781 else if ((MULT7 > acresAmount))
782782 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
783783 else {
784784 let addr = toString(i.caller)
785785 let $t01777017818 = getSwapLimitAcres()
786786 let limitAction = $t01777017818._1
787787 let maxUsdt = $t01777017818._2
788788 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
789789 if ((acresAmount > maxAcres))
790790 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
791791 else {
792792 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
793793 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
794794 }
795795 }
796796 }
797797 }
798798
799799
800800
801801 @Callable(i)
802802 func sellAcresREADONLY (address,acresAmount) = {
803803 let $t01831418362 = getSwapLimitAcres()
804804 let limitAction = $t01831418362._1
805805 let maxUsdt = $t01831418362._2
806806 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
807807 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
808808 }
809809
810810
811811
812812 @Callable(i)
813813 func convertOldStakes () = {
814814 let prologActions = prolog(i)
815815 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
816816 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
817817 else {
818818 let address = toString(i.caller)
819819 if ((size(i.payments) != 0))
820820 then throw("No payments required")
821821 else {
822822 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
823823 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
824824 let gotAcres0 = if ((amount > 0))
825825 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
826826 else $Tuple2(0, 0)
827827 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
828828 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
829829 let landsResult = if (isDefined(landsStr))
830830 then {
831831 let lands = split_51C(value(landsStr), "_")
832832 if ((size(lands) > MAX_LANDS_TO_CONVERT))
833833 then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
834834 else {
835835 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
836836 then throw("landAssetId is required")
837837 else {
838838 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
839839 if ((r == r))
840840 then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
841841 else throw("Strict value is not equal to itself.")
842842 }
843843
844844 let rr = {
845845 let $l = lands
846846 let $s = size($l)
847847 let $acc0 = $Tuple5(0, 0, 0, 0, 0)
848848 func $f0_1 ($a,$i) = if (($i >= $s))
849849 then $a
850850 else oneLand($a, $l[$i])
851851
852852 func $f0_2 ($a,$i) = if (($i >= $s))
853853 then $a
854854 else throw("List size exceeds 14")
855855
856856 $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)
857857 }
858858 if ((rr == rr))
859859 then {
860860 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
861861 if ((finalize == finalize))
862862 then {
863863 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
864864 if ((req == req))
865865 then {
866866 let $t02087621014 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
867867 let nftActions = $t02087621014._1
868868 let nftAssetId = $t02087621014._2
869869 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
870870 }
871871 else throw("Strict value is not equal to itself.")
872872 }
873873 else throw("Strict value is not equal to itself.")
874874 }
875875 else throw("Strict value is not equal to itself.")
876876 }
877877 }
878878 else $Tuple6(0, 0, 0, 0, 0, nil)
879879 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
880880 let duckResult = if ((duckAssetId != ""))
881881 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
882882 else $Tuple3(0, 0, 0)
883883 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
884884 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
885885 }
886886 }
887887 }
888888
889889
890890
891891 @Callable(i)
892892 func unstakeLandsREADONLY (address) = {
893893 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
894894 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
895895 let landsResult = if (isDefined(landsStr))
896896 then {
897897 let lands = split_51C(value(landsStr), "_")
898898 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
899899 then throw("landAssetId is required")
900900 else {
901901 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
902902 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
903903 }
904904
905905 let $l = lands
906906 let $s = size($l)
907907 let $acc0 = $Tuple4(0, 0, 0, 0)
908908 func $f0_1 ($a,$i) = if (($i >= $s))
909909 then $a
910910 else oneLand($a, $l[$i])
911911
912912 func $f0_2 ($a,$i) = if (($i >= $s))
913913 then $a
914914 else throw("List size exceeds 100")
915915
916916 $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)
917917 }
918918 else $Tuple4(0, 0, 0, 0)
919919 $Tuple2(nil, landsResult)
920920 }
921921
922922
923923
924924 @Callable(i)
925925 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
926926 then throw("Permission denied")
927927 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
928928
929929
930930
931931 @Callable(i)
932932 func simulateStakeAcresREADONLY (address,addedAmount) = {
933933 let amountKey = keyAcresStakedAmtByUser(address)
934934 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
935935 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
936936 let userFpKey = keyFarmingPowerByUser(address)
937937 let oldFp = valueOrElse(getInteger(userFpKey), 0)
938938 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
939939 let $t02328523372 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
940940 let newBonusedFp = $t02328523372._1
941941 let ignored = $t02328523372._2
942942 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
943943 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
944944 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
945945 }
946946
947947
948948
949949 @Callable(i)
950950 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
951951 then throw("Permission denied")
952952 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
953953
954954
955955
956956 @Callable(i)
957957 func stakeNFT () = {
958958 let prologActions = prolog(i)
959959 if ((size(i.payments) != 1))
960960 then throw("Exactly one payment required")
961961 else {
962962 let pmt = value(i.payments[0])
963963 if ((pmt.amount != 1))
964964 then throw("NFT token should be attached as payment")
965965 else {
966966 let assetId = value(pmt.assetId)
967967 let asset = value(assetInfo(assetId))
968968 let assetIdStr = toBase58String(assetId)
969969 let addr = toString(i.caller)
970970 let nftsKey = keyStakedNFTsByOwner(addr)
971971 let nftsStr = getString(nftsKey)
972972 let nfts = if (isDefined(nftsStr))
973973 then split_4C(value(nftsStr), "_")
974974 else nil
975975 if (containsElement(nfts, assetIdStr))
976976 then throw(("Your staked NFTs already contain " + assetIdStr))
977977 else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
978978 then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
979979 else {
980980 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
981981 if ((asset.issuer == this))
982982 then {
983983 let $t02478124971 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
984984 let actions = $t02478124971._1
985985 let wlgClaimedAmount = $t02478124971._2
986986 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
987987 }
988988 else if ((isArkimalIssued(asset) == ""))
989989 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
990990 else {
991991 let $t02515225303 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
992992 let actions = $t02515225303._1
993993 let wlgClaimedAmount = $t02515225303._2
994994 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
995995 }
996996 }
997997 }
998998 }
999999 }
10001000
10011001
10021002
10031003 @Callable(i)
10041004 func unstakeNFT (assetIdStr) = {
10051005 let prologActions = prolog(i)
10061006 if ((size(i.payments) != 0))
10071007 then throw("No payments required")
10081008 else {
10091009 let assetId = fromBase58String(assetIdStr)
10101010 let addr = toString(i.caller)
10111011 let asset = value(assetInfo(assetId))
10121012 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
10131013 if (!(isDefined(getInteger(timeKey))))
10141014 then throw((("NFT " + asset.name) + " is not staked by you"))
10151015 else {
10161016 let nftsKey = keyStakedNFTsByOwner(addr)
10171017 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
10181018 let idx = indexOf(nfts, assetIdStr)
10191019 if (!(isDefined(idx)))
10201020 then throw(("Your staked NFTs don't contain " + assetIdStr))
10211021 else {
10221022 let listAction = if ((size(nfts) > 1))
10231023 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
10241024 else DeleteEntry(nftsKey)
10251025 let isWL = (asset.issuer == this)
10261026 if (isWL)
10271027 then {
10281028 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10291029 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
10301030 let $t02646826547 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
10311031 let actions = $t02646826547._1
10321032 let wlgClaimedAmount = $t02646826547._2
10331033 $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)
10341034 }
10351035 else {
10361036 let arkimalName = isArkimalIssued(asset)
10371037 if ((arkimalName == ""))
10381038 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
10391039 else {
10401040 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
10411041 let $t02720727291 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
10421042 let actions = $t02720727291._1
10431043 let wlgClaimedAmount = $t02720727291._2
10441044 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
10451045 }
10461046 }
10471047 }
10481048 }
10491049 }
10501050 }
10511051
10521052
10531053
10541054 @Callable(i)
10551055 func exchangeNFTs () = {
10561056 let prologActions = prolog(i)
10571057 if ((3 > size(i.payments)))
10581058 then throw("Min one WLGOLD and 2 NFT payments allowed")
10591059 else if ((size(i.payments) > 10))
10601060 then throw("Max one WLGOLD and 9 NFT payments allowed")
10611061 else {
10621062 let addr = toString(i.caller)
10631063 func addUp (acc,pmt) = {
10641064 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
10651065 if ((assetId == wlgAssetId))
10661066 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
10671067 else {
10681068 let asset = value(assetInfo(assetId))
10691069 if ((asset.issuer != this))
10701070 then throw("Only WL-issued NFTs allowed")
10711071 else {
10721072 let rarityIx = rarityIdxByDescriprion(value(asset.description))
10731073 if (if ((acc._4 > 0))
10741074 then (rarityIx != acc._4)
10751075 else false)
10761076 then throw("You can exchange only NFTs of the same rarity")
10771077 else {
10781078 let bonusPerc = bonusByDescription(value(asset.description))
10791079 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
10801080 }
10811081 }
10821082 }
10831083 }
10841084
10851085 let $t02868028896 = {
10861086 let $l = i.payments
10871087 let $s = size($l)
10881088 let $acc0 = $Tuple4(0, 0, nil, -1)
10891089 func $f0_1 ($a,$i) = if (($i >= $s))
10901090 then $a
10911091 else addUp($a, $l[$i])
10921092
10931093 func $f0_2 ($a,$i) = if (($i >= $s))
10941094 then $a
10951095 else throw("List size exceeds 10")
10961096
10971097 $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)
10981098 }
10991099 let wlgFee = $t02868028896._1
11001100 let totalBonus = $t02868028896._2
11011101 let burnActions = $t02868028896._3
11021102 let rarityIdx = $t02868028896._4
11031103 let newRarityIdx = if ((rarityIdx == idxRarityC))
11041104 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11051105 then idxRarityC
11061106 else if ((rarityThresholds[idxThresholdU] > totalBonus))
11071107 then idxRarityU
11081108 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
11091109 else if ((rarityIdx == idxRarityU))
11101110 then if ((rarityThresholds[idxThresholdU] > totalBonus))
11111111 then idxRarityU
11121112 else if ((rarityThresholds[idxThresholdL] > totalBonus))
11131113 then idxRarityL
11141114 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
11151115 else if ((rarityIdx == idxRarityL))
11161116 then if ((rarityThresholds[idxThresholdL] > totalBonus))
11171117 then idxRarityL
11181118 else idxRarityE
11191119 else if ((rarityIdx == idxRarityE))
11201120 then idxRarityE
11211121 else if ((rarityIdx == idxRarityP))
11221122 then throw("You can't exchange NFTs of this rarity")
11231123 else throw("Unknown rarity")
11241124 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
11251125 let change = (wlgFee - minWlgFee)
11261126 let forTeam = (minWlgFee / 2)
11271127 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11281128 if ((0 > change))
11291129 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11301130 else {
11311131 let changeActions = if ((change > 0))
11321132 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11331133 else nil
11341134 let $t03043330594 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
11351135 let issueNftActions = $t03043330594._1
11361136 let nftAssetId = $t03043330594._2
11371137 let burned = size(burnActions)
11381138 let burnCounterActions = if ((burned == 0))
11391139 then nil
11401140 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
11411141 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
11421142 }
11431143 }
11441144 }
11451145
11461146
11471147
11481148 @Callable(i)
11491149 func openNftChest () = {
11501150 let prologActions = prolog(i)
11511151 if ((size(i.payments) != 1))
11521152 then throw("exactly 1 payment must be attached")
11531153 else {
11541154 let pmt = i.payments[0]
11551155 let wlgAmount = pmt.amount
11561156 if (if (!(isDefined(pmt.assetId)))
11571157 then true
11581158 else (value(pmt.assetId) != wlgAssetId))
11591159 then throw("WLGOLD payments only!")
11601160 else {
11611161 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
11621162 let change = (wlgAmount - minWlgFee)
11631163 let forTeam = (minWlgFee / 2)
11641164 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11651165 if ((0 > change))
11661166 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11671167 else {
11681168 let changeActions = if ((change > 0))
11691169 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11701170 else nil
11711171 let addr = toString(i.caller)
11721172 let finishKey = keyCommit(addr)
11731173 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
11741174 if ((finishBlock > height))
11751175 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
11761176 else {
11771177 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
11781178 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
11791179 let rand = getRandomNumber(100, salt, entropy)
11801180 let $t03261332885 = if ((84 > rand))
11811181 then $Tuple2(1, idxRarityC)
11821182 else if ((98 > rand))
11831183 then $Tuple2(5, idxRarityU)
11841184 else $Tuple2(10, idxRarityL)
11851185 let bonus = $t03261332885._1
11861186 let rarityIdx = $t03261332885._2
11871187 let $t03288833038 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
11881188 let issueNftActions = $t03288833038._1
11891189 let nftAssetId = $t03288833038._2
11901190 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
11911191 }
11921192 }
11931193 }
11941194 }
11951195 }
11961196
11971197
11981198
11991199 @Callable(i)
12001200 func commitForRandom () = {
12011201 let prologActions = prolog(i)
12021202 let addr = toString(i.caller)
12031203 let finishKey = keyCommit(addr)
12041204 if (isDefined(getInteger(finishKey)))
12051205 then throw("You already commited for random, please use it")
12061206 else {
12071207 let finishBlock = (height + RANDOM_DELAY)
12081208 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
12091209 }
12101210 }
12111211
12121212
12131213
12141214 @Callable(i)
12151215 func drawDaylyPromo () = if ((i.caller != this))
12161216 then throw("Permission denied")
12171217 else {
12181218 let today = (height / DAY_BLOCKS)
12191219 let maxValue = valueOrElse(getInteger(keyTotalPromoTickets), 0)
12201220 if ((maxValue == 0))
12211221 then throw("No tickets to draw")
12221222 else {
12231223 let b = (today * DAY_BLOCKS)
12241224 let h = if ((b > VRF_OFFSET))
12251225 then b
12261226 else (b + VRF_OFFSET)
12271227 let entropy = value(value(blockInfoByHeight(h)).vrf)
12281228 let promoMap = valueOrElse(getString(keyPromoMap), "")
12291229 if ((promoMap == ""))
12301230 then throw("No participants")
12311231 else {
12321232 func singleDraw (ac,j) = if ((j >= promoNumPrizes))
12331233 then ac
12341234 else {
12351235 let rand = getRandomNumber(ac._1, ac._2, entropy)
12361236 let promoList = if ((ac._3 == ""))
12371237 then nil
12381238 else split_51C(ac._3, "_")
12391239 func countTickets (acc,el) = {
12401240 let parts = split(el, ":")
12411241 let addr = parts[0]
12421242 let tickets = parseIntValue(parts[1])
12431243 let newTotal = (acc._1 + tickets)
12441244 if (if ((acc._3 == ""))
12451245 then (newTotal > rand)
12461246 else false)
12471247 then $Tuple3(newTotal, tickets, addr)
12481248 else $Tuple3(newTotal, acc._2, acc._3)
12491249 }
12501250
12511251 let r = {
12521252 let $l = promoList
12531253 let $s = size($l)
12541254 let $acc0 = $Tuple3(0, 0, "")
12551255 func $f0_1 ($a,$i) = if (($i >= $s))
12561256 then $a
12571257 else countTickets($a, $l[$i])
12581258
12591259 func $f0_2 ($a,$i) = if (($i >= $s))
12601260 then $a
12611261 else throw("List size exceeds 200")
12621262
12631263 $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)
12641264 }
12651265 let winner = r._3
12661266 if ((winner == ""))
12671267 then ac
12681268 else {
12691269 let mapParts = split_51C(ac._3, winner)
12701270 let newMap = if ((mapParts[0] == ""))
12711271 then drop(mapParts[1], 5)
12721272 else (dropRight(mapParts[0], 1) + drop(mapParts[1], 4))
12731273 let $t03558435735 = stakeAcresFor(winner, promoAwardPerRound[j], true)
12741274 let stakeActions = $t03558435735._1
12751275 let ignoredWlgClaimedAmount = $t03558435735._2
12761276 let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
1277- $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 :+ stakeActions), (ac._5 :+ winner))
1277+ $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 ++ stakeActions), (ac._5 :+ winner))
12781278 }
12791279 }
12801280
12811281 let draws = {
12821282 let $l = [0, 1, 2]
12831283 let $s = size($l)
12841284 let $acc0 = $Tuple5(maxValue, i.transactionId, promoMap, nil, nil)
12851285 func $f0_1 ($a,$i) = if (($i >= $s))
12861286 then $a
12871287 else singleDraw($a, $l[$i])
12881288
12891289 func $f0_2 ($a,$i) = if (($i >= $s))
12901290 then $a
12911291 else throw("List size exceeds 3")
12921292
12931293 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
12941294 }
12951295 $Tuple2((((draws._4 :+ StringEntry(keyPromoMap, draws._3)) :+ IntegerEntry(keyTotalPromoTickets, draws._1)) :+ StringEntry(keyDailyWinners(today), makeString(draws._5, "_"))), 0)
12961296 }
12971297 }
12981298 }
12991299
13001300

github/deemru/w8io/169f3d6 
113.84 ms