tx · 3rSTnyXJaMwa8kjU9ftu4g8L9VgB6cd8xrQYj6cGFUkt

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03800000 Waves

2024.12.14 00:37 [3413355] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "3rSTnyXJaMwa8kjU9ftu4g8L9VgB6cd8xrQYj6cGFUkt", "fee": 3800000, "feeAssetId": null, "timestamp": 1734125873080, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "2cxgTMa1sZix75LE8WydDEBhCsiccJxPFgiPBzfaxBYo21MstvN8eGaye9jpP7gNJJ5dqsvxXqHxA95ajXG6XVhn" ], "script": "base64:BgJLCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASABIAjAEAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABABdEQUlMWV9QUk9NT19TVEFSVF9CTE9DSwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMACA75ECAwkAAAIBAVQFByRtYXRjaDAAwKbQAQkAAgECDVVua25vd24gY2hhaW4AFURBSUxZX1BST01PX0VORF9CTE9DSwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMACg25MCAwkAAAI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HPQ==", "height": 3413355, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GF9ZrVqtxwtdcPSkGuZrsZqMwPgyMXE3CcAW8SQHdkx2 Next: GRvh9pRReqPEmcr6A8J1gyRWRFE2nT5GCBaUP1bJG8hu Diff:
OldNewDifferences
8686 else throw("Unknown chain")
8787 }
8888
89-let defaultRestAddressStr = match chain {
90- case _ =>
91- if ((base58'2W' == $match0))
92- then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
93- else if ((base58'2T' == $match0))
94- then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
95- else throw("Unknown chain")
96-}
97-
9889 let arbitrageDelay = match chain {
9990 case _ =>
10091 if ((base58'2W' == $match0))
130121 func keyRest2Address () = "%s__rest2Addr"
131122
132123
133-func keyRestAddress () = "%s__restAddr"
134-
135-
136-let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
137-
138124 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
139125
140126
141127 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
142128
143-
144-let IdxCfgStakingDapp = 1
145-
146-let restCfg = readRestCfgOrFail(restContract)
147-
148-let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
149129
150130 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
151131
12931273 let $t03558435735 = stakeAcresFor(winner, promoAwardPerRound[j], true)
12941274 let stakeActions = $t03558435735._1
12951275 let ignoredWlgClaimedAmount = $t03558435735._2
1296- let newSalt = fromBase58String(valueOrElse(getString(stakingContract, keyCurWeekTxIdByUser(winner)), "DEFAULT"))
1276+ let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
12971277 $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 :+ stakeActions), (ac._5 :+ winner))
12981278 }
12991279 }
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
89-let defaultRestAddressStr = match chain {
90- case _ =>
91- if ((base58'2W' == $match0))
92- then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
93- else if ((base58'2T' == $match0))
94- then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
95- else throw("Unknown chain")
96-}
97-
9889 let arbitrageDelay = match chain {
9990 case _ =>
10091 if ((base58'2W' == $match0))
10192 then DAY_MILLIS
10293 else if ((base58'2T' == $match0))
10394 then 60000
10495 else throw("Unknown chain")
10596 }
10697
10798 let oldStakingContractStr = match chain {
10899 case _ =>
109100 if ((base58'2W' == $match0))
110101 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
111102 else if ((base58'2T' == $match0))
112103 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
113104 else throw("Unknown chain")
114105 }
115106
116107 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
117108
118109
119110 let IdxCfgAcres2Dapp = 1
120111
121112 let IdxCfgWlgDapp = 2
122113
123114 let IdxCfgInvestFundDapp = 5
124115
125116 let IdxCfgMarketDapp = 6
126117
127118 func keyRestCfg () = "%s__restConfig"
128119
129120
130121 func keyRest2Address () = "%s__rest2Addr"
131122
132123
133-func keyRestAddress () = "%s__restAddr"
134-
135-
136-let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
137-
138124 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
139125
140126
141127 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
142128
143-
144-let IdxCfgStakingDapp = 1
145-
146-let restCfg = readRestCfgOrFail(restContract)
147-
148-let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
149129
150130 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
151131
152132 let rest2Cfg = readRestCfgOrFail(rest2Contract)
153133
154134 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
155135
156136 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
157137
158138 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
159139
160140 let marketContract = getContractAddressOrFail(rest2Cfg, IdxCfgMarketDapp)
161141
162142 let oldAcresContractKey = "oldAcresContract"
163143
164144 func keyBlocked () = "contractsBlocked"
165145
166146
167147 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
168148
169149
170150 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
171151
172152
173153 func keyCommit (address) = ("finishBlockFor_" + address)
174154
175155
176156 let wlgAssetIdKey = "wlg_assetId"
177157
178158 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
179159
180160 let acresIssuedAmountKey = "acresIssuedAmount"
181161
182162 let acresAssetIdKey = "acresAssetId"
183163
184164 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
185165
186166 func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr)
187167
188168
189169 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
190170
191171
192172 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
193173
194174
195175 func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr)
196176
197177
198178 func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr)
199179
200180
201181 func keyUserPromoAcres (address) = ("promoAcres_" + address)
202182
203183
204184 func keyUserPromoTickets (address) = ("promoTickets_" + address)
205185
206186
207187 let keyTotalPromoTickets = "totalPromoTickets"
208188
209189 let keyPromoMap = "promoMap"
210190
211191 func keyDailyWinners (day) = ("dailyWinners_" + toString(day))
212192
213193
214194 func asInt (v) = match v {
215195 case n: Int =>
216196 n
217197 case _ =>
218198 throw("fail to cast into Int")
219199 }
220200
221201
222202 func asTuple5Ints (val) = match val {
223203 case t: (Int, Int, Int, Int, Int) =>
224204 t
225205 case _ =>
226206 throw("fail to cast into (Int, Int, Int, Int, Int)")
227207 }
228208
229209
230210 func asTuple4Ints (val) = match val {
231211 case t: (Int, Int, Int, Int) =>
232212 t
233213 case _ =>
234214 throw("fail to cast into (Int, Int, Int, Int)")
235215 }
236216
237217
238218 func asTuple3Ints (val) = match val {
239219 case t: (Int, Int, Int) =>
240220 t
241221 case _ =>
242222 throw("fail to cast into (Int, Int, Int)")
243223 }
244224
245225
246226 func asTuple2Ints (val) = match val {
247227 case t: (Int, Int) =>
248228 t
249229 case _ =>
250230 throw("fail to cast into (Int, Int)")
251231 }
252232
253233
254234 func fixedPoint (val,decimals) = {
255235 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
256236 let lowPart = toString((val % tenPow))
257237 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
258238 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
259239 }
260240
261241
262242 func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue))
263243 then throw("maxValue should be > 0")
264244 else {
265245 let randomHash = sha256_16Kb((salt + entropy))
266246 (toInt(randomHash) % maxValue)
267247 }
268248
269249
270250 func padL (val,len) = {
271251 let valS = toString(val)
272252 let zeroes = drop(toString(pow(10, 0, (len - size(valS)), 0, 0, DOWN)), 1)
273253 (zeroes + valS)
274254 }
275255
276256
277257 let M6_ = 1000000
278258
279259 let M8_ = 100000000
280260
281261 let wlgIssuedAmtKey = "wlg_issuedAmount"
282262
283263 let zbIssuedAmtKey = "zbill_issuedAmount"
284264
285265 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
286266
287267
288268 func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr)
289269
290270
291271 let acresStakdTotalKey = "acresStakedAmountTotal"
292272
293273 let totalFarmingPowerKey = "totalFarmingPower"
294274
295275 let MAX_WL_NFTS = 3
296276
297277 let MAX_ARK_NFTS = 1
298278
299279 let ARK_NFT_BONUS = 5000
300280
301281 let MAX_NFTS_STAKED_BY_USER = 4
302282
303283 let keyNftTotalIssued = "nftTotalIssued"
304284
305285 let keyNftTotalBurned = "nftTotalBurned"
306286
307287 let keyWlNftTotalStaked = "WlNftTotalStaked"
308288
309289 let keyArkNftTotalStaked = "ArkNftTotalStaked"
310290
311291 func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId)
312292
313293
314294 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
315295
316296
317297 func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr)
318298
319299
320300 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
321301
322302
323303 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
324304
325305 func getLevelByAcres (acres) = {
326306 let acr = ((acres + 99999999) / M8_)
327307 func checker (acc,item) = if ((item >= acr))
328308 then acc
329309 else (acc + 1)
330310
331311 let $l = levelAcres
332312 let $s = size($l)
333313 let $acc0 = 0
334314 func $f0_1 ($a,$i) = if (($i >= $s))
335315 then $a
336316 else checker($a, $l[$i])
337317
338318 func $f0_2 ($a,$i) = if (($i >= $s))
339319 then $a
340320 else throw("List size exceeds 10")
341321
342322 $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)
343323 }
344324
345325
346326 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
347327
348328
349329 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
350330 let notBonused = getFarmingPowerByAcres(acres)
351331 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
352332 }
353333
354334
355335 let teamAddrKey = "teamAddr"
356336
357337 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
358338
359339
360340 let OLD_STAKING_DEADL = 1733346000000
361341
362342 let MAX_LANDS_TO_CONVERT = 14
363343
364344 let keyLastAcresSellTime = "lastAcresSellTime"
365345
366346 let keyLastLimitLeft = "lastLimitLeft"
367347
368348 let names = ["Gold shovel", "Pickaxe"]
369349
370350 let descriptions = ["Reward for early birds", "Increases FarmPower"]
371351
372352 let idxDescrShovel = 0
373353
374354 let idxDescrPickaxe = 1
375355
376356 let rarityThresholds = [5, 10, 20]
377357
378358 let idxThresholdC = 0
379359
380360 let idxThresholdU = 1
381361
382362 let idxThresholdL = 2
383363
384364 let namez = ["SHOVEL", "PICKAXE"]
385365
386366 let idxNameShovel = 0
387367
388368 let idxNamePickaxe = 1
389369
390370 let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
391371
392372 let idxKeyC = 0
393373
394374 let idxKeyP = 4
395375
396376 let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
397377
398378 let idxRarityC = 0
399379
400380 let idxRarityU = 1
401381
402382 let idxRarityL = 2
403383
404384 let idxRarityE = 3
405385
406386 let idxRarityP = 4
407387
408388 let collectionz = ["Digging tools"]
409389
410390 let idxCollDig = 0
411391
412392 let bonusTypez = ["FarmPower"]
413393
414394 let idxBonusTypeFp = 0
415395
416396 func prolog (i) = if (if ((i.originCaller != rest2Contract))
417397 then valueOrElse(getBoolean(keyBlocked()), false)
418398 else false)
419399 then throw("Contracts are under maintenance")
420400 else {
421401 let addr = toString(i.originCaller)
422402 let week = (height / WEEK_BLOCKS)
423403 let lastWeekKey = keyLastWeekTxIdByUser(addr)
424404 let lastWeekTxIdByUser = getString(lastWeekKey)
425405 let txId = toBase58String(i.transactionId)
426406 let wtx = ((toString(week) + "_") + txId)
427407 let curWeekKey = keyCurWeekTxIdByUser(addr)
428408 if (isDefined(lastWeekTxIdByUser))
429409 then {
430410 let lastWeekTx = split(value(lastWeekTxIdByUser), "_")
431411 if ((lastWeekTx[0] == toString(week)))
432412 then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
433413 else if ((lastWeekTx[0] == toString((week - 1))))
434414 then [StringEntry(curWeekKey, wtx)]
435415 else {
436416 let curWeekTxIdByUser = getStringValue(curWeekKey)
437417 let curWeekTx = split(curWeekTxIdByUser, "_")
438418 if ((curWeekTx[0] == toString(week)))
439419 then [StringEntry(curWeekKey, wtx)]
440420 else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)]
441421 }
442422 }
443423 else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)]
444424 }
445425
446426
447427 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) + "\"}")
448428
449429
450430 func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = {
451431 let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0)
452432 let rarity = rarityNames[rarityIdx]
453433 let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc))
454434 let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false)
455435 let nftAssetId = calculateAssetId(issue)
456436 $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId)
457437 }
458438
459439
460440 func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\"")))
461441 then throw(("NFT is not supported: " + descr))
462442 else {
463443 let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0]
464444 parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1)))
465445 }
466446
467447
468448 func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\"")))
469449 then throw(("NFT is not supported: " + descr))
470450 else {
471451 let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1]
472452 value(indexOf(rarityNames, rarityStr))
473453 }
474454
475455
476456 func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0))
477457 then (bonusDelta == 0)
478458 else false)
479459 then throw("Nothing to do")
480460 else {
481461 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
482462 if ((wlgResult == wlgResult))
483463 then {
484464 let now = lastBlock.timestamp
485465 let timeKey = keyAcresStakedTimeByUser(address)
486466 let amountKey = keyAcresStakedAmtByUser(address)
487467 let oldAcresAmount = valueOrElse(getInteger(amountKey), 0)
488468 if (if ((0 > amt))
489469 then (0 > (oldAcresAmount + amt))
490470 else false)
491471 then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8)))
492472 else {
493473 let newAcresAmount = (oldAcresAmount + amt)
494474 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
495475 let userFpKey = keyFarmingPowerByUser(address)
496476 let oldFp = valueOrElse(getInteger(userFpKey), 0)
497477 let bonusKey = keyUserFullBonus(address)
498478 let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0)
499479 if (if ((0 > bonusDelta))
500480 then (0 > (oldBonus + bonusDelta))
501481 else false)
502482 then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%"))
503483 else {
504484 let $t062996398 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta))
505485 let newBonusedFp = $t062996398._1
506486 let ignored = $t062996398._2
507487 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
508488 let acresActions = if ((amt == 0))
509489 then nil
510490 else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))]
511491 let bonusActions = if ((bonusDelta == 0))
512492 then nil
513493 else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))]
514494 $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult)
515495 }
516496 }
517497 }
518498 else throw("Strict value is not equal to itself.")
519499 }
520500
521501
522502 func getWlgPrice (usdtBalanceCorrection) = {
523503 let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet")
524504 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
525505 let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection)
526506 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
527507 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
528508 fraction(totalFundsUsd, MULT8, issuedAmount)
529509 }
530510
531511
532512 func getSwapLimitAcres () = {
533513 let wlgUsd = assetBalance(wlgContract, usdtAssetId)
534514 let acres2Usd = assetBalance(this, usdtAssetId)
535515 let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0))
536516 let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR)
537517 let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit)
538518 let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0)
539519 let now = lastBlock.timestamp
540520 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS))
541521 let limitLeftUsdt = min([currentLimit, defaultLimit])
542522 $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt)
543523 }
544524
545525
546526 let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
547527
548528 let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "")
549529
550530 let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "")
551531
552532 let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "")
553533
554534 let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "")
555535
556536 let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "")
557537
558538 let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "")
559539
560540 let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "")
561541
562542 let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "")
563543
564544 let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "")
565545
566546 func isArkimalIssued (nfo) = {
567547 let issuer = toString(nfo.issuer)
568548 if (if (if (if (if (if (if (if (if (if ((chain == base58'2T'))
569549 then (issuer == oldStakingContractStr)
570550 else false)
571551 then true
572552 else (issuer == incubator))
573553 then true
574554 else (issuer == breeder))
575555 then true
576556 else (issuer == turtleIncubator))
577557 then true
578558 else (issuer == turtleBreeder))
579559 then true
580560 else (issuer == canineIncubator))
581561 then true
582562 else (issuer == canineBreeder))
583563 then true
584564 else (issuer == felineIncubator))
585565 then true
586566 else (issuer == felineBreeder))
587567 then nfo.name
588568 else if ((issuer == mutantBreeder))
589569 then nfo.description
590570 else ""
591571 }
592572
593573
594574 func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = {
595575 let nftNumber = valueOrElse(getInteger(userNumKey), 0)
596576 if ((nftNumber >= limit))
597577 then throw((("You can stake max " + toString(limit)) + " of such NFTs"))
598578 else {
599579 let $t01067710753 = stakeUnstakeAcresInternal(0, addr, bonus6)
600580 let actions = $t01067710753._1
601581 let wlgClaimedAmount = $t01067710753._2
602582 $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount)
603583 }
604584 }
605585
606586
607587 let promoNumPrizes = 3
608588
609589 let promoAwardPerRound = [50000000, 25000000, 25000000]
610590
611591 func stakeAcresFor (address,amt,shouldCleanPromo) = {
612592 let $t01122511301 = stakeUnstakeAcresInternal(amt, address, 0)
613593 let actions = $t01122511301._1
614594 let wlgClaimedAmount = $t01122511301._2
615595 let promoActions = if (if ((height >= DAILY_PROMO_START_BLOCK))
616596 then (DAILY_PROMO_END_BLOCK > height)
617597 else false)
618598 then {
619599 let promoAcresKey = keyUserPromoAcres(address)
620600 let promoAcres = ((if (shouldCleanPromo)
621601 then 0
622602 else valueOrElse(getInteger(promoAcresKey), 0)) + amt)
623603 let tickets = (promoAcres / MULT8)
624604 let ticketsKey = keyUserPromoTickets(address)
625605 let deltaTickets = (tickets - valueOrElse(getInteger(ticketsKey), 0))
626606 let totalTickets = (valueOrElse(getInteger(keyTotalPromoTickets), 0) + deltaTickets)
627607 if (if (shouldCleanPromo)
628608 then true
629609 else (deltaTickets > 0))
630610 then {
631611 let promoMap = valueOrElse(getString(keyPromoMap), "")
632612 let userRecord = ((address + ":") + padL(tickets, 3))
633613 let newMap = if (contains(promoMap, address))
634614 then {
635615 let mapParts = split_51C(promoMap, address)
636616 if ((mapParts[0] == ""))
637617 then {
638618 let r = drop(mapParts[1], 4)
639619 if ((r == ""))
640620 then if ((tickets == 0))
641621 then ""
642622 else userRecord
643623 else if ((tickets == 0))
644624 then drop(r, 1)
645625 else (userRecord + r)
646626 }
647627 else {
648628 let r = drop(mapParts[1], 4)
649629 if ((r == ""))
650630 then if ((tickets == 0))
651631 then dropRight(mapParts[0], 1)
652632 else (mapParts[0] + userRecord)
653633 else if ((tickets == 0))
654634 then (mapParts[0] + drop(r, 1))
655635 else ((mapParts[0] + userRecord) + r)
656636 }
657637 }
658638 else if ((tickets == 0))
659639 then promoMap
660640 else if ((promoMap == ""))
661641 then userRecord
662642 else ((promoMap + "_") + userRecord)
663643 [IntegerEntry(promoAcresKey, promoAcres), IntegerEntry(ticketsKey, tickets), IntegerEntry(keyTotalPromoTickets, totalTickets), StringEntry(keyPromoMap, newMap)]
664644 }
665645 else [IntegerEntry(promoAcresKey, promoAcres)]
666646 }
667647 else nil
668648 $Tuple2((actions ++ promoActions), wlgClaimedAmount)
669649 }
670650
671651
672652 @Callable(i)
673653 func saveLastTx () = if (!(containsElement([wlgContract, marketContract], i.caller)))
674654 then throw("Access denied")
675655 else $Tuple2(prolog(i), 42)
676656
677657
678658
679659 @Callable(i)
680660 func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this))
681661 then throw("Permission denied")
682662 else {
683663 let oldAcrContAddr = addressFromStringValue(oldAcrContract)
684664 [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)]
685665 }
686666
687667
688668
689669 @Callable(i)
690670 func setBlocked (isBlocked) = if ((i.caller != this))
691671 then throw("permission denied")
692672 else [BooleanEntry(keyBlocked(), isBlocked)]
693673
694674
695675
696676 @Callable(i)
697677 func unstakeAcres (amount) = {
698678 let prologActions = prolog(i)
699679 if (if ((height >= DAILY_PROMO_START_BLOCK))
700680 then (DAILY_PROMO_END_BLOCK > height)
701681 else false)
702682 then throw("You can't unstake during Xmas promo period")
703683 else if ((0 >= amount))
704684 then throw("Amount should be positive")
705685 else {
706686 let address = toString(i.caller)
707687 if ((size(i.payments) != 0))
708688 then throw("No payments required")
709689 else {
710690 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay)
711691 if ((arbReleaseTime > lastBlock.timestamp))
712692 then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime)))
713693 else {
714694 let $t01530415384 = stakeUnstakeAcresInternal(-(amount), address, 0)
715695 let actions = $t01530415384._1
716696 let wlgClaimedAmount = $t01530415384._2
717697 $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount)
718698 }
719699 }
720700 }
721701 }
722702
723703
724704
725705 @Callable(i)
726706 func stakeAcres () = {
727707 let prologActions = prolog(i)
728708 let address = toString(i.caller)
729709 if ((size(i.payments) != 1))
730710 then throw("exactly 1 payment must be attached")
731711 else {
732712 let pmt = i.payments[0]
733713 let amt = pmt.amount
734714 if (if (!(isDefined(pmt.assetId)))
735715 then true
736716 else (value(pmt.assetId) != acresAssetId))
737717 then throw("ACRES payments only!")
738718 else {
739719 let $t01583515908 = stakeAcresFor(address, amt, false)
740720 let stakeActions = $t01583515908._1
741721 let wlgClaimedAmount = $t01583515908._2
742722 $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount)
743723 }
744724 }
745725 }
746726
747727
748728
749729 @Callable(i)
750730 func buyAcres () = {
751731 let prologActions = prolog(i)
752732 if ((size(i.payments) != 1))
753733 then throw("exactly 1 payment must be attached")
754734 else {
755735 let pmt = i.payments[0]
756736 let usdtAmount = pmt.amount
757737 if (if (!(isDefined(pmt.assetId)))
758738 then true
759739 else (value(pmt.assetId) != usdtAssetId))
760740 then throw("USDT payments only!")
761741 else if ((MULT6 > usdtAmount))
762742 then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT"))
763743 else {
764744 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
765745 let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
766746 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
767747 let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil)
768748 if ((req == req))
769749 then {
770750 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil))
771751 $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain)
772752 }
773753 else throw("Strict value is not equal to itself.")
774754 }
775755 }
776756 }
777757
778758
779759
780760 @Callable(i)
781761 func buyAcresREADONLY (usdtAmount) = {
782762 let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER)
783763 let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount))
784764 $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn])
785765 }
786766
787767
788768
789769 @Callable(i)
790770 func sellAcres () = {
791771 let prologActions = prolog(i)
792772 if ((size(i.payments) != 1))
793773 then throw("exactly 1 payment must be attached")
794774 else {
795775 let pmt = i.payments[0]
796776 let acresAmount = pmt.amount
797777 if (if (!(isDefined(pmt.assetId)))
798778 then true
799779 else (value(pmt.assetId) != acresAssetId))
800780 then throw("ACRES payments only!")
801781 else if ((MULT7 > acresAmount))
802782 then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES"))
803783 else {
804784 let addr = toString(i.caller)
805785 let $t01777017818 = getSwapLimitAcres()
806786 let limitAction = $t01777017818._1
807787 let maxUsdt = $t01777017818._2
808788 let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER)
809789 if ((acresAmount > maxAcres))
810790 then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES"))
811791 else {
812792 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
813793 $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount)
814794 }
815795 }
816796 }
817797 }
818798
819799
820800
821801 @Callable(i)
822802 func sellAcresREADONLY (address,acresAmount) = {
823803 let $t01831418362 = getSwapLimitAcres()
824804 let limitAction = $t01831418362._1
825805 let maxUsdt = $t01831418362._2
826806 let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2)
827807 $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0])
828808 }
829809
830810
831811
832812 @Callable(i)
833813 func convertOldStakes () = {
834814 let prologActions = prolog(i)
835815 if ((OLD_STAKING_DEADL > lastBlock.timestamp))
836816 then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000))))
837817 else {
838818 let address = toString(i.caller)
839819 if ((size(i.payments) != 0))
840820 then throw("No payments required")
841821 else {
842822 let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey))
843823 let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0)
844824 let gotAcres0 = if ((amount > 0))
845825 then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil))
846826 else $Tuple2(0, 0)
847827 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
848828 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
849829 let landsResult = if (isDefined(landsStr))
850830 then {
851831 let lands = split_51C(value(landsStr), "_")
852832 if ((size(lands) > MAX_LANDS_TO_CONVERT))
853833 then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually"))
854834 else {
855835 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
856836 then throw("landAssetId is required")
857837 else {
858838 let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil))
859839 if ((r == r))
860840 then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5))
861841 else throw("Strict value is not equal to itself.")
862842 }
863843
864844 let rr = {
865845 let $l = lands
866846 let $s = size($l)
867847 let $acc0 = $Tuple5(0, 0, 0, 0, 0)
868848 func $f0_1 ($a,$i) = if (($i >= $s))
869849 then $a
870850 else oneLand($a, $l[$i])
871851
872852 func $f0_2 ($a,$i) = if (($i >= $s))
873853 then $a
874854 else throw("List size exceeds 14")
875855
876856 $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)
877857 }
878858 if ((rr == rr))
879859 then {
880860 let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil)
881861 if ((finalize == finalize))
882862 then {
883863 let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil)
884864 if ((req == req))
885865 then {
886866 let $t02087621014 = issueNftCustom(idxNameShovel, idxKeyP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller)
887867 let nftActions = $t02087621014._1
888868 let nftAssetId = $t02087621014._2
889869 $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions)
890870 }
891871 else throw("Strict value is not equal to itself.")
892872 }
893873 else throw("Strict value is not equal to itself.")
894874 }
895875 else throw("Strict value is not equal to itself.")
896876 }
897877 }
898878 else $Tuple6(0, 0, 0, 0, 0, nil)
899879 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "")
900880 let duckResult = if ((duckAssetId != ""))
901881 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil))
902882 else $Tuple3(0, 0, 0)
903883 let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0)
904884 $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2))
905885 }
906886 }
907887 }
908888
909889
910890
911891 @Callable(i)
912892 func unstakeLandsREADONLY (address) = {
913893 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
914894 let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address))
915895 let landsResult = if (isDefined(landsStr))
916896 then {
917897 let lands = split_51C(value(landsStr), "_")
918898 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
919899 then throw("landAssetId is required")
920900 else {
921901 let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil))
922902 $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4))
923903 }
924904
925905 let $l = lands
926906 let $s = size($l)
927907 let $acc0 = $Tuple4(0, 0, 0, 0)
928908 func $f0_1 ($a,$i) = if (($i >= $s))
929909 then $a
930910 else oneLand($a, $l[$i])
931911
932912 func $f0_2 ($a,$i) = if (($i >= $s))
933913 then $a
934914 else throw("List size exceeds 100")
935915
936916 $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)
937917 }
938918 else $Tuple4(0, 0, 0, 0)
939919 $Tuple2(nil, landsResult)
940920 }
941921
942922
943923
944924 @Callable(i)
945925 func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr)))
946926 then throw("Permission denied")
947927 else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0)
948928
949929
950930
951931 @Callable(i)
952932 func simulateStakeAcresREADONLY (address,addedAmount) = {
953933 let amountKey = keyAcresStakedAmtByUser(address)
954934 let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount)
955935 let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0)
956936 let userFpKey = keyFarmingPowerByUser(address)
957937 let oldFp = valueOrElse(getInteger(userFpKey), 0)
958938 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0)
959939 let $t02328523372 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus)
960940 let newBonusedFp = $t02328523372._1
961941 let ignored = $t02328523372._2
962942 let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0)
963943 let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp)
964944 $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp])
965945 }
966946
967947
968948
969949 @Callable(i)
970950 func issuePickC1 (forAddress) = if ((i.caller != wlgContract))
971951 then throw("Permission denied")
972952 else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress))
973953
974954
975955
976956 @Callable(i)
977957 func stakeNFT () = {
978958 let prologActions = prolog(i)
979959 if ((size(i.payments) != 1))
980960 then throw("Exactly one payment required")
981961 else {
982962 let pmt = value(i.payments[0])
983963 if ((pmt.amount != 1))
984964 then throw("NFT token should be attached as payment")
985965 else {
986966 let assetId = value(pmt.assetId)
987967 let asset = value(assetInfo(assetId))
988968 let assetIdStr = toBase58String(assetId)
989969 let addr = toString(i.caller)
990970 let nftsKey = keyStakedNFTsByOwner(addr)
991971 let nftsStr = getString(nftsKey)
992972 let nfts = if (isDefined(nftsStr))
993973 then split_4C(value(nftsStr), "_")
994974 else nil
995975 if (containsElement(nfts, assetIdStr))
996976 then throw(("Your staked NFTs already contain " + assetIdStr))
997977 else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER))
998978 then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs"))
999979 else {
1000980 let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_"))
1001981 if ((asset.issuer == this))
1002982 then {
1003983 let $t02478124971 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS)
1004984 let actions = $t02478124971._1
1005985 let wlgClaimedAmount = $t02478124971._2
1006986 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
1007987 }
1008988 else if ((isArkimalIssued(asset) == ""))
1009989 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
1010990 else {
1011991 let $t02515225303 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS)
1012992 let actions = $t02515225303._1
1013993 let wlgClaimedAmount = $t02515225303._2
1014994 $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount)
1015995 }
1016996 }
1017997 }
1018998 }
1019999 }
10201000
10211001
10221002
10231003 @Callable(i)
10241004 func unstakeNFT (assetIdStr) = {
10251005 let prologActions = prolog(i)
10261006 if ((size(i.payments) != 0))
10271007 then throw("No payments required")
10281008 else {
10291009 let assetId = fromBase58String(assetIdStr)
10301010 let addr = toString(i.caller)
10311011 let asset = value(assetInfo(assetId))
10321012 let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr)
10331013 if (!(isDefined(getInteger(timeKey))))
10341014 then throw((("NFT " + asset.name) + " is not staked by you"))
10351015 else {
10361016 let nftsKey = keyStakedNFTsByOwner(addr)
10371017 let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_")
10381018 let idx = indexOf(nfts, assetIdStr)
10391019 if (!(isDefined(idx)))
10401020 then throw(("Your staked NFTs don't contain " + assetIdStr))
10411021 else {
10421022 let listAction = if ((size(nfts) > 1))
10431023 then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_"))
10441024 else DeleteEntry(nftsKey)
10451025 let isWL = (asset.issuer == this)
10461026 if (isWL)
10471027 then {
10481028 let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0)
10491029 let bonusVal = (bonusByDescription(value(asset.description)) * 10000)
10501030 let $t02646826547 = stakeUnstakeAcresInternal(0, addr, -(bonusVal))
10511031 let actions = $t02646826547._1
10521032 let wlgClaimedAmount = $t02646826547._2
10531033 $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)
10541034 }
10551035 else {
10561036 let arkimalName = isArkimalIssued(asset)
10571037 if ((arkimalName == ""))
10581038 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
10591039 else {
10601040 let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0)
10611041 let $t02720727291 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS))
10621042 let actions = $t02720727291._1
10631043 let wlgClaimedAmount = $t02720727291._2
10641044 $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount)
10651045 }
10661046 }
10671047 }
10681048 }
10691049 }
10701050 }
10711051
10721052
10731053
10741054 @Callable(i)
10751055 func exchangeNFTs () = {
10761056 let prologActions = prolog(i)
10771057 if ((3 > size(i.payments)))
10781058 then throw("Min one WLGOLD and 2 NFT payments allowed")
10791059 else if ((size(i.payments) > 10))
10801060 then throw("Max one WLGOLD and 9 NFT payments allowed")
10811061 else {
10821062 let addr = toString(i.caller)
10831063 func addUp (acc,pmt) = {
10841064 let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed")
10851065 if ((assetId == wlgAssetId))
10861066 then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4)
10871067 else {
10881068 let asset = value(assetInfo(assetId))
10891069 if ((asset.issuer != this))
10901070 then throw("Only WL-issued NFTs allowed")
10911071 else {
10921072 let rarityIx = rarityIdxByDescriprion(value(asset.description))
10931073 if (if ((acc._4 > 0))
10941074 then (rarityIx != acc._4)
10951075 else false)
10961076 then throw("You can exchange only NFTs of the same rarity")
10971077 else {
10981078 let bonusPerc = bonusByDescription(value(asset.description))
10991079 $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx)
11001080 }
11011081 }
11021082 }
11031083 }
11041084
11051085 let $t02868028896 = {
11061086 let $l = i.payments
11071087 let $s = size($l)
11081088 let $acc0 = $Tuple4(0, 0, nil, -1)
11091089 func $f0_1 ($a,$i) = if (($i >= $s))
11101090 then $a
11111091 else addUp($a, $l[$i])
11121092
11131093 func $f0_2 ($a,$i) = if (($i >= $s))
11141094 then $a
11151095 else throw("List size exceeds 10")
11161096
11171097 $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)
11181098 }
11191099 let wlgFee = $t02868028896._1
11201100 let totalBonus = $t02868028896._2
11211101 let burnActions = $t02868028896._3
11221102 let rarityIdx = $t02868028896._4
11231103 let newRarityIdx = if ((rarityIdx == idxRarityC))
11241104 then if ((rarityThresholds[idxThresholdC] > totalBonus))
11251105 then idxRarityC
11261106 else if ((rarityThresholds[idxThresholdU] > totalBonus))
11271107 then idxRarityU
11281108 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%"))
11291109 else if ((rarityIdx == idxRarityU))
11301110 then if ((rarityThresholds[idxThresholdU] > totalBonus))
11311111 then idxRarityU
11321112 else if ((rarityThresholds[idxThresholdL] > totalBonus))
11331113 then idxRarityL
11341114 else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%"))
11351115 else if ((rarityIdx == idxRarityL))
11361116 then if ((rarityThresholds[idxThresholdL] > totalBonus))
11371117 then idxRarityL
11381118 else idxRarityE
11391119 else if ((rarityIdx == idxRarityE))
11401120 then idxRarityE
11411121 else if ((rarityIdx == idxRarityP))
11421122 then throw("You can't exchange NFTs of this rarity")
11431123 else throw("Unknown rarity")
11441124 let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0))
11451125 let change = (wlgFee - minWlgFee)
11461126 let forTeam = (minWlgFee / 2)
11471127 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11481128 if ((0 > change))
11491129 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11501130 else {
11511131 let changeActions = if ((change > 0))
11521132 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11531133 else nil
11541134 let $t03043330594 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
11551135 let issueNftActions = $t03043330594._1
11561136 let nftAssetId = $t03043330594._2
11571137 let burned = size(burnActions)
11581138 let burnCounterActions = if ((burned == 0))
11591139 then nil
11601140 else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))]
11611141 $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain))
11621142 }
11631143 }
11641144 }
11651145
11661146
11671147
11681148 @Callable(i)
11691149 func openNftChest () = {
11701150 let prologActions = prolog(i)
11711151 if ((size(i.payments) != 1))
11721152 then throw("exactly 1 payment must be attached")
11731153 else {
11741154 let pmt = i.payments[0]
11751155 let wlgAmount = pmt.amount
11761156 if (if (!(isDefined(pmt.assetId)))
11771157 then true
11781158 else (value(pmt.assetId) != wlgAssetId))
11791159 then throw("WLGOLD payments only!")
11801160 else {
11811161 let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0))
11821162 let change = (wlgAmount - minWlgFee)
11831163 let forTeam = (minWlgFee / 2)
11841164 let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil))
11851165 if ((0 > change))
11861166 then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee"))
11871167 else {
11881168 let changeActions = if ((change > 0))
11891169 then [ScriptTransfer(i.caller, change, wlgAssetId)]
11901170 else nil
11911171 let addr = toString(i.caller)
11921172 let finishKey = keyCommit(addr)
11931173 let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!")
11941174 if ((finishBlock > height))
11951175 then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock)))
11961176 else {
11971177 let entropy = value(value(blockInfoByHeight(finishBlock)).vrf)
11981178 let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1])
11991179 let rand = getRandomNumber(100, salt, entropy)
12001180 let $t03261332885 = if ((84 > rand))
12011181 then $Tuple2(1, idxRarityC)
12021182 else if ((98 > rand))
12031183 then $Tuple2(5, idxRarityU)
12041184 else $Tuple2(10, idxRarityL)
12051185 let bonus = $t03261332885._1
12061186 let rarityIdx = $t03261332885._2
12071187 let $t03288833038 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller)
12081188 let issueNftActions = $t03288833038._1
12091189 let nftAssetId = $t03288833038._2
12101190 $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain))
12111191 }
12121192 }
12131193 }
12141194 }
12151195 }
12161196
12171197
12181198
12191199 @Callable(i)
12201200 func commitForRandom () = {
12211201 let prologActions = prolog(i)
12221202 let addr = toString(i.caller)
12231203 let finishKey = keyCommit(addr)
12241204 if (isDefined(getInteger(finishKey)))
12251205 then throw("You already commited for random, please use it")
12261206 else {
12271207 let finishBlock = (height + RANDOM_DELAY)
12281208 $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock)
12291209 }
12301210 }
12311211
12321212
12331213
12341214 @Callable(i)
12351215 func drawDaylyPromo () = if ((i.caller != this))
12361216 then throw("Permission denied")
12371217 else {
12381218 let today = (height / DAY_BLOCKS)
12391219 let maxValue = valueOrElse(getInteger(keyTotalPromoTickets), 0)
12401220 if ((maxValue == 0))
12411221 then throw("No tickets to draw")
12421222 else {
12431223 let b = (today * DAY_BLOCKS)
12441224 let h = if ((b > VRF_OFFSET))
12451225 then b
12461226 else (b + VRF_OFFSET)
12471227 let entropy = value(value(blockInfoByHeight(h)).vrf)
12481228 let promoMap = valueOrElse(getString(keyPromoMap), "")
12491229 if ((promoMap == ""))
12501230 then throw("No participants")
12511231 else {
12521232 func singleDraw (ac,j) = if ((j >= promoNumPrizes))
12531233 then ac
12541234 else {
12551235 let rand = getRandomNumber(ac._1, ac._2, entropy)
12561236 let promoList = if ((ac._3 == ""))
12571237 then nil
12581238 else split_51C(ac._3, "_")
12591239 func countTickets (acc,el) = {
12601240 let parts = split(el, ":")
12611241 let addr = parts[0]
12621242 let tickets = parseIntValue(parts[1])
12631243 let newTotal = (acc._1 + tickets)
12641244 if (if ((acc._3 == ""))
12651245 then (newTotal > rand)
12661246 else false)
12671247 then $Tuple3(newTotal, tickets, addr)
12681248 else $Tuple3(newTotal, acc._2, acc._3)
12691249 }
12701250
12711251 let r = {
12721252 let $l = promoList
12731253 let $s = size($l)
12741254 let $acc0 = $Tuple3(0, 0, "")
12751255 func $f0_1 ($a,$i) = if (($i >= $s))
12761256 then $a
12771257 else countTickets($a, $l[$i])
12781258
12791259 func $f0_2 ($a,$i) = if (($i >= $s))
12801260 then $a
12811261 else throw("List size exceeds 200")
12821262
12831263 $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)
12841264 }
12851265 let winner = r._3
12861266 if ((winner == ""))
12871267 then ac
12881268 else {
12891269 let mapParts = split_51C(ac._3, winner)
12901270 let newMap = if ((mapParts[0] == ""))
12911271 then drop(mapParts[1], 5)
12921272 else (dropRight(mapParts[0], 1) + drop(mapParts[1], 4))
12931273 let $t03558435735 = stakeAcresFor(winner, promoAwardPerRound[j], true)
12941274 let stakeActions = $t03558435735._1
12951275 let ignoredWlgClaimedAmount = $t03558435735._2
1296- let newSalt = fromBase58String(valueOrElse(getString(stakingContract, keyCurWeekTxIdByUser(winner)), "DEFAULT"))
1276+ let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1])
12971277 $Tuple5((ac._1 - r._2), newSalt, newMap, (ac._4 :+ stakeActions), (ac._5 :+ winner))
12981278 }
12991279 }
13001280
13011281 let draws = {
13021282 let $l = [0, 1, 2]
13031283 let $s = size($l)
13041284 let $acc0 = $Tuple5(maxValue, i.transactionId, promoMap, nil, nil)
13051285 func $f0_1 ($a,$i) = if (($i >= $s))
13061286 then $a
13071287 else singleDraw($a, $l[$i])
13081288
13091289 func $f0_2 ($a,$i) = if (($i >= $s))
13101290 then $a
13111291 else throw("List size exceeds 3")
13121292
13131293 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
13141294 }
13151295 $Tuple2((((draws._4 :+ StringEntry(keyPromoMap, draws._3)) :+ IntegerEntry(keyTotalPromoTickets, draws._1)) :+ StringEntry(keyDailyWinners(today), makeString(draws._5, "_"))), 0)
13161296 }
13171297 }
13181298 }
13191299
13201300

github/deemru/w8io/169f3d6 
129.48 ms