tx · GHnDLx9fbaZCDDUUZzSTzCGjWtWvrC3bi3Dnq8Zj8HgV

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.02400000 Waves

2023.01.07 20:48 [2394855] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "GHnDLx9fbaZCDDUUZzSTzCGjWtWvrC3bi3Dnq8Zj8HgV", "fee": 2400000, "feeAssetId": null, "timestamp": 1673113699387, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "42kVNz1M4eaoGuEEJYwg17BTRqxpQy9SbW3QRL9kf59zfvmopPxCyYS3wvBtCKTFEs8EsidM5Yd7Xyqh7wSdtVMs" ], "script": "base64:BgJJCAISABIDCgEIEgASAwoBCBIECgIBCBIECgICAhIECgIBCBIECgIBARIECgIICBIECgICAhIECgICAhIDCgEIEgMKAQgSAwoBCEsABWNoYWluCQCwCQEJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZG5Bc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAgFXBQckbWF0Y2gwASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QMJAAACAgFUBQckbWF0Y2gwASD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gkAAgECDVVua25vd24gY2hhaW4ADWluY3ViYXRvckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQRWt0VnV4MlJoY2hTTjYzRHNEbzRiNG16NFFxektTZUR2AwkAAAICAVQFByRtYXRjaDAFBHRoaXMJAAIBAg1Vbmtub3duIGNoYWluAAticmVlZGVyQWRkcgQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAkBEUBleHRyT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atus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CAKs3kgsQ12fqrxwYjQd7LqqT65S5TtXMtm8Wq5bCs3N Next: BMPLrL7JaYrzdyMqEQaof9Z2476EU7k8anQRKiWia9m7 Diff:
OldNewDifferences
138138
139139
140140 func keyPresaleArtActivatedByAssetId (assetId) = ("presaleArtActivated_" + assetId)
141+
142+
143+func keyPresaleArtActivatedByAssetIdAndOwner (assetId,ownerAddr) = ((("presaleArtActivatedByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
141144
142145
143146 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
549552 else {
550553 let pieces = numPiecesBySize(c._3[recLandSize])
551554 let claimResult = claimAll(addr, c._2, pieces)
552- ((claimResult._1 :+ BooleanEntry(keyPresaleArtActivatedByAssetId(c._2), true)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":")))
555+ (((claimResult._1 :+ BooleanEntry(keyPresaleArtActivatedByAssetId(c._2), true)) :+ BooleanEntry(keyPresaleArtActivatedByAssetIdAndOwner(c._2, addr), true)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":")))
553556 }
554557 }
555558
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let chain = toUtf8String(take(drop(this.bytes, 1), 1))
55
66 let usdnAssetId = match chain {
77 case _ =>
88 if (("W" == $match0))
99 then base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1010 else if (("T" == $match0))
1111 then base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
1212 else throw("Unknown chain")
1313 }
1414
1515 let incubatorAddr = match chain {
1616 case _ =>
1717 if (("W" == $match0))
1818 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
1919 else if (("T" == $match0))
2020 then this
2121 else throw("Unknown chain")
2222 }
2323
2424 let breederAddr = match chain {
2525 case _ =>
2626 if (("W" == $match0))
2727 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
2828 else if (("T" == $match0))
2929 then this
3030 else throw("Unknown chain")
3131 }
3232
3333 let economyAddr = match chain {
3434 case _ =>
3535 if (("W" == $match0))
3636 then addressFromStringValue("3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D")
3737 else if (("T" == $match0))
3838 then addressFromStringValue("3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep")
3939 else throw("Unknown chain")
4040 }
4141
4242 let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
4343
4444 let HEALCOST = 10000
4545
4646 let LANDPREFIX = "LAND"
4747
4848 let DUCKPREFIX = "DUCK"
4949
5050 let DEFAULTLOCATION = "Africa_F_Africa"
5151
5252 let NUMRES = 6
5353
5454 let DAILYRESBYPIECE = 3456000
5555
5656 let DAYMILLIS = 86400000
5757
5858 let FIVEMINUTESMILLIS = 300000
5959
6060 let RESOURCEPRICEMIN = 158549
6161
6262 let InfraUpgradeCostS = match chain {
6363 case _ =>
6464 if (("W" == $match0))
6565 then 18921595217
6666 else if (("T" == $match0))
6767 then 189215952
6868 else throw("Unknown chain")
6969 }
7070
7171 let InfraUpgradeCostSUsdn = match chain {
7272 case _ =>
7373 if (("W" == $match0))
7474 then 120000000
7575 else if (("T" == $match0))
7676 then 1200000
7777 else throw("Unknown chain")
7878 }
7979
8080 let EXPMATERIALS = match chain {
8181 case _ =>
8282 if (("W" == $match0))
8383 then 157679960139
8484 else if (("T" == $match0))
8585 then 1576799601
8686 else throw("Unknown chain")
8787 }
8888
8989 let EXPUSDN = match chain {
9090 case _ =>
9191 if (("W" == $match0))
9292 then 1000000000
9393 else if (("T" == $match0))
9494 then 10000000
9595 else throw("Unknown chain")
9696 }
9797
9898 let MULT6 = 1000000
9999
100100 let FIVEX = toBigInt(5)
101101
102102 let TWENTYX = toBigInt(20)
103103
104104 let TWENTY2X = toBigInt((20 * 20))
105105
106106 let TWENTY3X = toBigInt(((20 * 20) * 20))
107107
108108 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
109109
110110 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
111111
112112 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
113113
114114 let continents = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
115115
116116 func keyNextFreeLandNum () = "nextLandNum"
117117
118118
119119 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
120120
121121
122122 func keyNftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
123123
124124
125125 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
126126
127127
128128 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
129129
130130
131131 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
132132
133133
134134 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
135135
136136
137137 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
138138
139139
140140 func keyPresaleArtActivatedByAssetId (assetId) = ("presaleArtActivated_" + assetId)
141+
142+
143+func keyPresaleArtActivatedByAssetIdAndOwner (assetId,ownerAddr) = ((("presaleArtActivatedByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
141144
142145
143146 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
144147
145148
146149 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
147150
148151
149152 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
150153
151154
152155 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
153156
154157
155158 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
156159
157160
158161 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
159162
160163
161164 func keyResProportions () = "resTypesProportions"
162165
163166
164167 let recLandNum = 0
165168
166169 let recLandSize = 1
167170
168171 let recTerrains = 2
169172
170173 let recContinent = 3
171174
172175 let locIdxContinent = 0
173176
174177 let locIdxType = 1
175178
176179 let locIdxId = 2
177180
178181 let bpIdxLevel = 0
179182
180183 let bpIdxRes = 1
181184
182185 let bpIdxMat = 2
183186
184187 let bpIdxProd = 3
185188
186189 func asString (v) = match v {
187190 case s: String =>
188191 s
189192 case _ =>
190193 throw("fail to cast into String")
191194 }
192195
193196
194197 func getNeededMaterials (total) = {
195198 let props = split(value(getString(keyResProportions())), "_")
196199 if ((size(props) != NUMRES))
197200 then throw("Wrong proportions data")
198201 else {
199202 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
200203 let sum = (((((r[0] + r[1]) + r[2]) + r[3]) + r[4]) + r[5])
201204 if ((0 >= sum))
202205 then throw("No lands staked")
203206 else {
204207 let norm6 = fraction(total, MULT6, sum)
205208 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
206209
207210 let $l = r
208211 let $s = size($l)
209212 let $acc0 = nil
210213 func $f0_1 ($a,$i) = if (($i >= $s))
211214 then $a
212215 else normalizer($a, $l[$i])
213216
214217 func $f0_2 ($a,$i) = if (($i >= $s))
215218 then $a
216219 else throw("List size exceeds 6")
217220
218221 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
219222 }
220223 }
221224 }
222225
223226
224227 func subtractMaterials (shouldUseMat,has,totalNeed) = {
225228 let need = getNeededMaterials(totalNeed)
226229 func subtractor (acc,idx) = {
227230 let result = (parseIntValue(has[idx]) - need[idx])
228231 if ((0 > result))
229232 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
230233 else (acc :+ toString(result))
231234 }
232235
233236 if (shouldUseMat)
234237 then {
235238 let $l = [0, 1, 2, 3, 4, 5]
236239 let $s = size($l)
237240 let $acc0 = nil
238241 func $f0_1 ($a,$i) = if (($i >= $s))
239242 then $a
240243 else subtractor($a, $l[$i])
241244
242245 func $f0_2 ($a,$i) = if (($i >= $s))
243246 then $a
244247 else throw("List size exceeds 6")
245248
246249 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
247250 }
248251 else has
249252 }
250253
251254
252255 func updateProportions (terrainCounts,landSizeIndex,sign) = {
253256 let props = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
254257 if ((size(props) != NUMRES))
255258 then throw("Wrong proportions data")
256259 else {
257260 func updater (acc,i) = {
258261 let result = (parseIntValue(props[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
259262 if ((0 > result))
260263 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
261264 else (acc :+ toString(result))
262265 }
263266
264267 let r = {
265268 let $l = [0, 1, 2, 3, 4, 5]
266269 let $s = size($l)
267270 let $acc0 = nil
268271 func $f0_1 ($a,$i) = if (($i >= $s))
269272 then $a
270273 else updater($a, $l[$i])
271274
272275 func $f0_2 ($a,$i) = if (($i >= $s))
273276 then $a
274277 else throw("List size exceeds 6")
275278
276279 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
277280 }
278281 makeString(r, "_")
279282 }
280283 }
281284
282285
283286 func countTerrains (terrains) = [(size(split(terrains, "A")) - 1), (size(split(terrains, "B")) - 1), (size(split(terrains, "C")) - 1), (size(split(terrains, "D")) - 1), (size(split(terrains, "E")) - 1), (size(split(terrains, "F")) - 1)]
284287
285288
286289 func numPiecesBySize (landSize) = match landSize {
287290 case _ =>
288291 if (("S" == $match0))
289292 then 25
290293 else if (("M" == $match0))
291294 then 100
292295 else if (("L" == $match0))
293296 then 225
294297 else if (("XL" == $match0))
295298 then 400
296299 else if (("XXL" == $match0))
297300 then 625
298301 else throw("Unknown land size")
299302 }
300303
301304
302305 func subOneInList (aList,idx,amount) = {
303306 func subber (acc,i) = (acc :+ (if ((i == idx))
304307 then toString((parseIntValue(aList[i]) - amount))
305308 else aList[i]))
306309
307310 let r = {
308311 let $l = [0, 1, 2, 3, 4, 5]
309312 let $s = size($l)
310313 let $acc0 = nil
311314 func $f0_1 ($a,$i) = if (($i >= $s))
312315 then $a
313316 else subber($a, $l[$i])
314317
315318 func $f0_2 ($a,$i) = if (($i >= $s))
316319 then $a
317320 else throw("List size exceeds 6")
318321
319322 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
320323 }
321324 makeString(r, "_")
322325 }
323326
324327
325328 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
326329 func adder (acc,i) = {
327330 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
328331 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
329332 }
330333
331334 let r = {
332335 let $l = [0, 1, 2, 3, 4, 5]
333336 let $s = size($l)
334337 let $acc0 = nil
335338 func $f0_1 ($a,$i) = if (($i >= $s))
336339 then $a
337340 else adder($a, $l[$i])
338341
339342 func $f0_2 ($a,$i) = if (($i >= $s))
340343 then $a
341344 else throw("List size exceeds 6")
342345
343346 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
344347 }
345348 makeString(r, "_")
346349 }
347350
348351
349352 func abs (x) = if ((x >= toBigInt(0)))
350353 then x
351354 else -(x)
352355
353356
354357 let freq = [[1, 4, 9, 10, 15], [5, 8, 13, 14, 15], [6, 9, 14, 15, 16], [4, 7, 8, 13, 18], [1, 6, 7, 15, 19]]
355358
356359 func genChar (n,freqs) = {
357360 let rem = toInt((n % TWENTYX))
358361 let letter = if ((freqs[0] > rem))
359362 then "A"
360363 else if ((freqs[1] > rem))
361364 then "B"
362365 else if ((freqs[2] > rem))
363366 then "C"
364367 else if ((freqs[3] > rem))
365368 then "D"
366369 else if ((freqs[4] > rem))
367370 then "E"
368371 else "F"
369372 letter
370373 }
371374
372375
373376 func getBackpack (bpKey) = {
374377 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
375378 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
376379 then p[bpIdxRes]
377380 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
378381 then p[bpIdxMat]
379382 else "0_0_0_0_0_0", p[bpIdxProd]]
380383 }
381384
382385
383386 func expeditionCommon (shouldUseMat,caller,txId,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
384387 then throw("signature does not match")
385388 else {
386389 let parts = split(toUtf8String(message), ";")
387390 let hp = split(split(parts[0], "|")[0], "_")
388391 let curHP = parseIntValue(hp[0])
389392 let newHP = parseIntValue(hp[1])
390393 let locAndTime = split(parts[1], ":")
391394 let targetLocation = split(locAndTime[0], "_")
392395 if ((targetLocation[1] != "E"))
393396 then throw("expedition target location type should be E")
394397 else {
395398 let time = parseIntValue(locAndTime[1])
396399 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
397400 then true
398401 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
399402 then throw("signature outdated")
400403 else {
401404 let userAddr = toString(caller)
402405 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
403406 let keyHealth = keyDuckHealth(duckAssetId)
404407 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
405408 if ((oldFromState != curHP))
406409 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
407410 else if ((0 >= curHP))
408411 then throw("You can't fly with zero health")
409412 else if ((0 >= newHP))
410413 then $Tuple2(((if (!(shouldUseMat))
411414 then [ScriptTransfer(caller, EXPUSDN, usdnAssetId)]
412415 else nil) :+ IntegerEntry(keyHealth, 0)), "")
413416 else {
414417 let bpKey = keyBackpackByDuck(duckAssetId)
415418 let currentPack = getBackpack(bpKey)
416419 let mList = split(currentPack[bpIdxMat], "_")
417420 let newMat = makeString(subtractMaterials(shouldUseMat, mList, EXPMATERIALS), "_")
418421 let bigNum = abs(toBigInt(txId))
419422 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), 501)
420423 let landNum = toString(freeNum)
421424 let continentIdx = toInt((bigNum % FIVEX))
422425 let f = freq[continentIdx]
423426 func terrainGenerator (acc,elem) = $Tuple2((((((acc._1 + genChar(acc._2, f)) + genChar((acc._2 / TWENTYX), f)) + genChar((acc._2 / TWENTY2X), f)) + genChar((acc._2 / TWENTY3X), f)) + genChar((acc._2 / TWENTY4X), f)), (acc._2 / TWENTY5X))
424427
425428 let t = {
426429 let $l = [1, 2, 3, 4, 5]
427430 let $s = size($l)
428431 let $acc0 = $Tuple2("", (bigNum / FIVEX))
429432 func $f0_1 ($a,$i) = if (($i >= $s))
430433 then $a
431434 else terrainGenerator($a, $l[$i])
432435
433436 func $f0_2 ($a,$i) = if (($i >= $s))
434437 then $a
435438 else throw("List size exceeds 5")
436439
437440 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
438441 }
439442 let continent = continents[continentIdx]
440443 let issue = Issue(keyNftName(landNum, "S"), makeString([landNum, "S", t._1, continent], "_"), 1, 0, false)
441444 let assetId = calculateAssetId(issue)
442445 let id = toBase58String(assetId)
443446 $Tuple2([IntegerEntry(keyNextFreeLandNum(), (freeNum + 1)), issue, StringEntry(keyLandToAssetId(landNum), id), StringEntry(keyLandAssetIdToOwner(id), userAddr), StringEntry(keyLandNumToOwner(landNum), userAddr), IntegerEntry(keyInfraLevelByAssetId(id), 0), IntegerEntry(keyInfraLevelByAssetIdAndOwner(id, userAddr), 0), ScriptTransfer(caller, 1, assetId), StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", id], "_")), IntegerEntry(keyHealth, newHP), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))], id)
444447 }
445448 }
446449 }
447450 }
448451
449452
450453 func applyBonuses (landAssetId) = {
451454 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
452455 let presaleBonus = if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
453456 then 3
454457 else 0
455458 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, infraLevel, 4)) + fraction(DAILYRESBYPIECE, presaleBonus, 20))
456459 }
457460
458461
459462 func checkClaimConditions (addr) = {
460463 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
461464 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
462465 let loc = split(value(curLocation), "_")
463466 if ((loc[locIdxType] != "L"))
464467 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
465468 else {
466469 let landAssetId = loc[locIdxId]
467470 let asset = value(assetInfo(fromBase58String(landAssetId)))
468471 let timeKey = keyStakedTimeByAssetId(landAssetId)
469472 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
470473 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
471474 if ((owner != addr))
472475 then throw((LANDPREFIX + " is not yours"))
473476 else {
474477 let d = split(asset.description, "_")
475478 $Tuple4(duckAssetId, landAssetId, d, savedTime)
476479 }
477480 }
478481 }
479482
480483
481484 func claimResInternal (addr,amount) = {
482485 let c = checkClaimConditions(addr)
483486 let landSize = c._3[recLandSize]
484487 let terrainCounts = countTerrains(c._3[recTerrains])
485488 let deltaTime = (lastBlock.timestamp - c._4)
486489 if ((0 > deltaTime))
487490 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
488491 else {
489492 let pieces = numPiecesBySize(landSize)
490493 let dailyProductionByPiece = applyBonuses(c._2)
491494 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
492495 if ((amount > availRes))
493496 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
494497 else {
495498 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
496499 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
497500 let bpKey = keyBackpackByDuck(c._1)
498501 let currentPack = getBackpack(bpKey)
499502 let currentRes = split(currentPack[bpIdxRes], "_")
500503 let bpRes = addRes(currentRes, terrainCounts, (deltaTime - newDeltaTime), (pieces / 25), dailyProductionByPiece)
501504 $Tuple3([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]])
502505 }
503506 }
504507 }
505508
506509
507510 func claimAll (addr,landAssetId,pieces) = {
508511 let timeKey = keyStakedTimeByAssetId(landAssetId)
509512 let savedTime = value(getInteger(timeKey))
510513 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId), DAYMILLIS) * pieces)
511514 claimResInternal(addr, availRes)
512515 }
513516
514517
515518 func upInfraCommon (shouldUseMat,caller,paymentAmount) = {
516519 let addr = toString(caller)
517520 let c = checkClaimConditions(addr)
518521 let pieces = numPiecesBySize(c._3[recLandSize])
519522 let infraKey = keyInfraLevelByAssetId(c._2)
520523 let curLevel = valueOrElse(getInteger(infraKey), 0)
521524 if ((curLevel >= 3))
522525 then throw("Currently max infrastructure level = 3")
523526 else {
524527 let newLevel = (curLevel + 1)
525528 let cost = fraction(InfraUpgradeCostSUsdn, (pieces * newLevel), 25)
526529 if (if (!(shouldUseMat))
527530 then (paymentAmount != cost)
528531 else false)
529532 then throw(("Payment attached should be " + toString(cost)))
530533 else {
531534 let bpKey = keyBackpackByDuck(c._1)
532535 let currentPack = getBackpack(bpKey)
533536 let mList = split(currentPack[bpIdxMat], "_")
534537 let newMat = makeString(subtractMaterials(shouldUseMat, mList, fraction(InfraUpgradeCostS, (pieces * newLevel), 25)), "_")
535538 let claimResult = claimAll(addr, c._2, pieces)
536539 $Tuple2(([IntegerEntry(infraKey, newLevel), IntegerEntry(keyInfraLevelByAssetIdAndOwner(c._2, addr), newLevel), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], claimResult._3[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))] ++ claimResult._1), newLevel)
537540 }
538541 }
539542 }
540543
541544
542545 func activatePresaleArt (addr) = {
543546 let c = checkClaimConditions(addr)
544547 let activationKey = keyPresaleArtActivatedByAssetId(c._2)
545548 if (valueOrElse(getBoolean(activationKey), false))
546549 then throw("Presale artifact is already activated")
547550 else if ((parseIntValue(c._3[recLandNum]) > 500))
548551 then throw((((LANDPREFIX + " ") + c._2) + " is not eligible for presale artifact"))
549552 else {
550553 let pieces = numPiecesBySize(c._3[recLandSize])
551554 let claimResult = claimAll(addr, c._2, pieces)
552- ((claimResult._1 :+ BooleanEntry(keyPresaleArtActivatedByAssetId(c._2), true)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":")))
555+ (((claimResult._1 :+ BooleanEntry(keyPresaleArtActivatedByAssetId(c._2), true)) :+ BooleanEntry(keyPresaleArtActivatedByAssetIdAndOwner(c._2, addr), true)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":")))
553556 }
554557 }
555558
556559
557560 @Callable(i)
558561 func stakeLand () = {
559562 let pmt = value(i.payments[0])
560563 let assetId = value(pmt.assetId)
561564 let address = toString(i.caller)
562565 if ((pmt.amount != 1))
563566 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
564567 else {
565568 let asset = value(assetInfo(assetId))
566569 if ((asset.issuer != this))
567570 then throw("Unknown issuer of token")
568571 else if (!(contains(asset.name, LANDPREFIX)))
569572 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
570573 else {
571574 let landNumSize = drop(asset.name, 4)
572575 let landNum = if (contains(landNumSize, "XXL"))
573576 then dropRight(landNumSize, 3)
574577 else if (contains(landNumSize, "XL"))
575578 then dropRight(landNumSize, 2)
576579 else dropRight(landNumSize, 1)
577580 let landNumInt = valueOrErrorMessage(parseInt(landNum), ("Cannot parse land number from " + asset.name))
578581 let landAssetId = toBase58String(assetId)
579582 let timeKey = keyStakedTimeByAssetId(landAssetId)
580583 if (isDefined(getInteger(timeKey)))
581584 then throw((("NFT " + asset.name) + " is already staked"))
582585 else {
583586 let d = split(asset.description, "_")
584587 let terrainCounts = countTerrains(d[recTerrains])
585588 let props = updateProportions(terrainCounts, (numPiecesBySize(d[recLandSize]) / 25), 1)
586589 [IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), StringEntry(keyResProportions(), props)]
587590 }
588591 }
589592 }
590593 }
591594
592595
593596
594597 @Callable(i)
595598 func unstakeLand (landAssetIdStr) = if ((size(i.payments) != 0))
596599 then throw("unstake doesn't require any payments")
597600 else {
598601 let addr = toString(i.caller)
599602 let c = checkClaimConditions(addr)
600603 let terrainCounts = countTerrains(c._3[recTerrains])
601604 let pieces = numPiecesBySize(c._3[recLandSize])
602605 let props = updateProportions(terrainCounts, (pieces / 25), -1)
603606 let claimResult = claimAll(addr, c._2, pieces)
604607 [ScriptTransfer(i.caller, 1, fromBase58String(c._2)), DeleteEntry(keyStakedTimeByAssetId(c._2)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr)), StringEntry(keyResProportions(), props), StringEntry(claimResult._2, makeString(claimResult._3, ":"))]
605608 }
606609
607610
608611
609612 @Callable(i)
610613 func stakeDuck () = {
611614 let pmt = value(i.payments[0])
612615 let assetId = value(pmt.assetId)
613616 let address = toString(i.caller)
614617 if ((pmt.amount != 1))
615618 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
616619 else {
617620 let asset = value(assetInfo(assetId))
618621 if (if ((asset.issuer != incubatorAddr))
619622 then (asset.issuer != breederAddr)
620623 else false)
621624 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
622625 else if (!(contains(asset.name, DUCKPREFIX)))
623626 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
624627 else {
625628 let assetIdStr = toBase58String(assetId)
626629 let timeKey = keyStakedTimeByAssetId(assetIdStr)
627630 if (isDefined(getInteger(timeKey)))
628631 then throw((("NFT " + asset.name) + " is already staked"))
629632 else if (isDefined(getString(keyStakedDuckByOwner(address))))
630633 then throw(("You already staked one duck: " + asset.name))
631634 else {
632635 let locKey = keyDuckLocation(assetIdStr)
633636 let location = getString(locKey)
634637 let keyHealth = keyDuckHealth(assetIdStr)
635638 let health = getInteger(keyHealth)
636639 let bpKey = keyBackpackByDuck(assetIdStr)
637640 let backpack = getString(bpKey)
638641 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
639642 then nil
640643 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(health))
641644 then nil
642645 else ([IntegerEntry(keyHealth, 100)] ++ (if (isDefined(backpack))
643646 then nil
644647 else [StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")]))))))
645648 }
646649 }
647650 }
648651 }
649652
650653
651654
652655 @Callable(i)
653656 func unstakeDuck (assetIdStr) = if ((size(i.payments) != 0))
654657 then throw("unstake doesn't require any payments")
655658 else {
656659 let assetId = fromBase58String(assetIdStr)
657660 let address = toString(i.caller)
658661 let asset = value(assetInfo(assetId))
659662 if (if ((asset.issuer != incubatorAddr))
660663 then (asset.issuer != breederAddr)
661664 else false)
662665 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
663666 else if (!(contains(asset.name, DUCKPREFIX)))
664667 then throw((("Only NFT " + DUCKPREFIX) + " tokens can be unstaked"))
665668 else {
666669 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
667670 if (!(isDefined(timeKey)))
668671 then throw((("NFT " + asset.name) + " is not staked"))
669672 else if (!(isDefined(keyStakedDuckByOwner(address))))
670673 then throw((("The duck " + asset.name) + " is not staked"))
671674 else {
672675 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
673676 if ((owner != address))
674677 then throw("Staked NFT is not yours")
675678 else [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address))]
676679 }
677680 }
678681 }
679682
680683
681684
682685 @Callable(i)
683686 func claimRes (amount,landAssetIdStr) = if ((size(i.payments) != 0))
684687 then throw("claimRes doesn't require any payments")
685688 else {
686689 let addr = toString(i.originCaller)
687690 let result = claimResInternal(addr, amount)
688691 $Tuple2((result._1 :+ StringEntry(result._2, makeString(result._3, ":"))), result._3[bpIdxRes])
689692 }
690693
691694
692695
693696 @Callable(i)
694697 func flight (message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
695698 then throw("signature does not match")
696699 else if ((size(i.payments) != 0))
697700 then throw("flight doesn't require any payments")
698701 else {
699702 let parts = split(toUtf8String(message), ";")
700703 let hp = split(split(parts[0], "|")[0], "_")
701704 let curHP = parseIntValue(hp[0])
702705 let newHP = parseIntValue(hp[1])
703706 let newLocAndTime = split(parts[1], ":")
704707 let newLocation = newLocAndTime[0]
705708 let time = parseIntValue(newLocAndTime[1])
706709 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
707710 then true
708711 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
709712 then throw("signature outdated")
710713 else {
711714 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
712715 let keyHealth = keyDuckHealth(duckAssetId)
713716 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
714717 if ((oldFromState != curHP))
715718 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
716719 else if ((0 >= curHP))
717720 then throw("You can't fly with zero health")
718721 else {
719722 let locKey = keyDuckLocation(duckAssetId)
720723 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
721724 if ((newLocation == curLocation))
722725 then throw("You can't fly to the same location")
723726 else $Tuple2([StringEntry(locKey, if ((newHP > 0))
724727 then newLocation
725728 else curLocation), IntegerEntry(keyHealth, newHP)], unit)
726729 }
727730 }
728731 }
729732
730733
731734
732735 @Callable(i)
733736 func setHealth (health,duckAssetId) = if (if ((0 > health))
734737 then true
735738 else (health > 100))
736739 then throw("HP should be within 0..100")
737740 else [IntegerEntry(keyDuckHealth(duckAssetId), health)]
738741
739742
740743
741744 @Callable(i)
742745 func heal (matType,amount) = if (if ((0 > matType))
743746 then true
744747 else (matType >= NUMRES))
745748 then throw(("Unknown material: " + toString(matType)))
746749 else if ((0 >= amount))
747750 then throw(("Amount should be positive! " + toString(amount)))
748751 else {
749752 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
750753 let keyHealth = keyDuckHealth(duckAssetId)
751754 let oldHealth = valueOrElse(getInteger(keyHealth), 100)
752755 if ((oldHealth >= 100))
753756 then throw("HP should be < 100 to heal")
754757 else {
755758 let bpKey = keyBackpackByDuck(duckAssetId)
756759 let currentPack = getBackpack(bpKey)
757760 let mList = split(currentPack[bpIdxMat], "_")
758761 let currentAmount = parseIntValue(mList[matType])
759762 let deltaHealth = min([(amount / HEALCOST), (100 - oldHealth)])
760763 let spendAmount = (deltaHealth * HEALCOST)
761764 if ((spendAmount > currentAmount))
762765 then throw(((((("You need " + toString(spendAmount)) + " of ") + matTypes[matType]) + " to heal, but you backpack contains ") + toString(currentAmount)))
763766 else {
764767 let newMat = subOneInList(mList, matType, spendAmount)
765768 [IntegerEntry(keyHealth, (oldHealth + deltaHealth)), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))]
766769 }
767770 }
768771 }
769772
770773
771774
772775 @Callable(i)
773776 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyAddr))
774777 then throw("permission denied")
775778 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
776779
777780
778781
779782 @Callable(i)
780783 func expeditionBuy (message,sig) = if ((size(i.payments) != 1))
781784 then throw("Exactly one payment required")
782785 else {
783786 let pmt = value(i.payments[0])
784787 if ((pmt.assetId != usdnAssetId))
785788 then throw("Allowed USDN payment only!")
786789 else if ((pmt.amount != EXPUSDN))
787790 then throw(("Payment attached should be " + toString(EXPUSDN)))
788791 else expeditionCommon(false, i.caller, i.transactionId, message, sig)
789792 }
790793
791794
792795
793796 @Callable(i)
794797 func expedition (message,sig) = if ((size(i.payments) != 0))
795798 then throw("expedition doesn't require any payments")
796799 else expeditionCommon(true, i.caller, i.transactionId, message, sig)
797800
798801
799802
800803 @Callable(i)
801804 func upgradeInfra (landAssetIdIgnored) = if ((size(i.payments) != 0))
802805 then throw("Infrastructure upgrade doesn't require any payments")
803806 else upInfraCommon(true, i.caller, 0)
804807
805808
806809
807810 @Callable(i)
808811 func upgradeInfraUsdn (landAssetIdIgnored) = if ((size(i.payments) != 1))
809812 then throw("Exactly one payment required")
810813 else {
811814 let pmt = value(i.payments[0])
812815 if ((pmt.assetId != usdnAssetId))
813816 then throw("Allowed USDN payment only!")
814817 else upInfraCommon(false, i.caller, pmt.amount)
815818 }
816819
817820
818821
819822 @Callable(i)
820823 func activateArtifact (artName) = if ((size(i.payments) != 0))
821824 then throw("Artifact activation doesn't require any payments")
822825 else {
823826 let result = match artName {
824827 case _ =>
825828 if (("PRESALE" == $match0))
826829 then activatePresaleArt(toString(i.caller))
827830 else throw("Unknown artifact")
828831 }
829832 result
830833 }
831834
832835

github/deemru/w8io/026f985 
132.31 ms