tx · AcVVsBoj3WReYh1Y9Sx18LhYGwSeu28Pud4tdCcg5fbA

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.02500000 Waves

2023.01.04 21:35 [2390579] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "AcVVsBoj3WReYh1Y9Sx18LhYGwSeu28Pud4tdCcg5fbA", "fee": 2500000, "feeAssetId": null, "timestamp": 1672857360680, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "2DqdzDhuxyrVz6KHp6RD2KqSZ3bWc2RMoV6WVELwPF8uHUhyQqHV3fv4uUFGS4NL3bhrkqZcYZFFLC2nm4JTgHCs" ], "script": "base64:BgJECAISABIDCgEIEgASAwoBCBIECgIBCBIECgICAhIECgIBCBIECgIBARIECgIICBIECgICAhIECgICAhIDCgEIEgMKAQhHAAVjaGFpbgkAsAkBCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2RuQXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAEgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEDCQAAAgIBVAUHJG1hdGNoMAEg93bq9/eDymXbbhPuAjvPWCmVqcHRjfJL2mzYHWKAyN4JAAIBAg1Vbmtub3duIGNoYWluAA1pbmN1YmF0b3JBZGRyBAckbWF0Y2gwBQVjaGFpbgMJAAACAgFXBQckbWF0Y2gwCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUEVrdFZ1eDJSaGNoU042M0RzRG80YjRtejRRcXpLU2VEdgMJAAACAgFUBQckbWF0Y2gwBQR0aGlzCQACAQINVW5rbm93biBjaGFpbgALYnJlZWRlckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFByRtYXRjaDAJARFAZXh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dMZXZlbAkAZAIJAQt2YWx1ZU9yRWxzZQIJAJ8IAQkBFmtleUluZnJhTGV2ZWxCeUFzc2V0SWQBBQtsYW5kQXNzZXRJZAAAAAEEBWFzc2V0CQEFdmFsdWUBCQDsBwEJANkEAQULbGFuZEFzc2V0SWQEAWQJALUJAggFBWFzc2V0C2Rlc2NyaXB0aW9uAgFfBARjb3N0CQBrAwUVSW5mcmFVcGdyYWRlQ29zdFNVc2RuCQBoAgkBD251bVBpZWNlc0J5U2l6ZQEJAJEDAgUBZAULcmVjTGFuZFNpemUFCG5ld0xldmVsABkDCQECIT0CCAUDcG10BmFtb3VudAUEY29zdAkAAgEJAKwCAgIbUGF5bWVudCBhdHRhY2hlZCBzaG91bGQgYmUgCQCkAwEFBGNvc3QJAQ11cEluZnJhQ29tbW9uAwcIBQFpBmNhbGxlcgULbGFuZEFzc2V0SWQAVYDrag==", "height": 2390579, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3KmqUY2sH7NFrZfRSkLUsSnwcZakfHBZB9By45uSfspj Next: 3DsgrbRAncKXuvTep9mgjJa5z9TvSmVoeUkZBPKj5fKN Diff:
OldNewDifferences
458458 let presaleBonus = if (valueOrElse(getBoolean(keypresaleArtActivatedByAssetId(landAssetId)), false))
459459 then 3
460460 else 0
461- ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, infraLevel, 4)) + fraction(DAILYRESBYPIECE, presaleBonus, 20))
461+ (DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, infraLevel, 4))
462462 }
463463
464464
548548 let presaleActive = if ((500 >= landNumInt))
549549 then (lastBlock.timestamp > PresaleArtifactActivationTime)
550550 else false
551-[IntegerEntry(timeKey, lastBlock.timestamp), BooleanEntry(keypresaleArtActivatedByAssetId(landAssetId), presaleActive), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), StringEntry(keyResProportions(), props)]
551+[IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), StringEntry(keyResProportions(), props)]
552552 }
553553 }
554554 }
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 PresaleArtifactActivationTime = match chain {
9999 case _ =>
100100 if (("W" == $match0))
101101 then 1673136000000
102102 else if (("T" == $match0))
103103 then 1672790400000
104104 else throw("Unknown chain")
105105 }
106106
107107 let MULT6 = 1000000
108108
109109 let FIVEX = toBigInt(5)
110110
111111 let TWENTYX = toBigInt(20)
112112
113113 let TWENTY2X = toBigInt((20 * 20))
114114
115115 let TWENTY3X = toBigInt(((20 * 20) * 20))
116116
117117 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
118118
119119 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
120120
121121 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
122122
123123 let continents = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
124124
125125 func keyNextFreeLandNum () = "nextLandNum"
126126
127127
128128 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
129129
130130
131131 func keyNftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
132132
133133
134134 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
135135
136136
137137 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
138138
139139
140140 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
141141
142142
143143 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
144144
145145
146146 func keypresaleArtActivatedByAssetId (assetId) = ("presaleArtActivated_" + assetId)
147147
148148
149149 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
150150
151151
152152 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
153153
154154
155155 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
156156
157157
158158 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
159159
160160
161161 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
162162
163163
164164 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
165165
166166
167167 func keyResProportions () = "resTypesProportions"
168168
169169
170170 let recLandNum = 0
171171
172172 let recLandSize = 1
173173
174174 let recTerrains = 2
175175
176176 let recContinent = 3
177177
178178 let locIdxContinent = 0
179179
180180 let locIdxType = 1
181181
182182 let locIdxId = 2
183183
184184 let bpIdxLevel = 0
185185
186186 let bpIdxRes = 1
187187
188188 let bpIdxMat = 2
189189
190190 let bpIdxProd = 3
191191
192192 func asString (v) = match v {
193193 case s: String =>
194194 s
195195 case _ =>
196196 throw("fail to cast into String")
197197 }
198198
199199
200200 func getNeededMaterials (total) = {
201201 let props = split(value(getString(keyResProportions())), "_")
202202 if ((size(props) != NUMRES))
203203 then throw("Wrong proportions data")
204204 else {
205205 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
206206 let sum = (((((r[0] + r[1]) + r[2]) + r[3]) + r[4]) + r[5])
207207 if ((0 >= sum))
208208 then throw("No lands staked")
209209 else {
210210 let norm6 = fraction(total, MULT6, sum)
211211 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
212212
213213 let $l = r
214214 let $s = size($l)
215215 let $acc0 = nil
216216 func $f0_1 ($a,$i) = if (($i >= $s))
217217 then $a
218218 else normalizer($a, $l[$i])
219219
220220 func $f0_2 ($a,$i) = if (($i >= $s))
221221 then $a
222222 else throw("List size exceeds 6")
223223
224224 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
225225 }
226226 }
227227 }
228228
229229
230230 func subtractMaterials (shouldUseMat,has,totalNeed) = {
231231 let need = getNeededMaterials(totalNeed)
232232 func subtractor (acc,idx) = {
233233 let result = (parseIntValue(has[idx]) - need[idx])
234234 if ((0 > result))
235235 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
236236 else (acc :+ toString(result))
237237 }
238238
239239 if (shouldUseMat)
240240 then {
241241 let $l = [0, 1, 2, 3, 4, 5]
242242 let $s = size($l)
243243 let $acc0 = nil
244244 func $f0_1 ($a,$i) = if (($i >= $s))
245245 then $a
246246 else subtractor($a, $l[$i])
247247
248248 func $f0_2 ($a,$i) = if (($i >= $s))
249249 then $a
250250 else throw("List size exceeds 6")
251251
252252 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
253253 }
254254 else has
255255 }
256256
257257
258258 func updateProportions (terrainCounts,landSizeIndex,sign) = {
259259 let props = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
260260 if ((size(props) != NUMRES))
261261 then throw("Wrong proportions data")
262262 else {
263263 func updater (acc,i) = {
264264 let result = (parseIntValue(props[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
265265 if ((0 > result))
266266 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
267267 else (acc :+ toString(result))
268268 }
269269
270270 let r = {
271271 let $l = [0, 1, 2, 3, 4, 5]
272272 let $s = size($l)
273273 let $acc0 = nil
274274 func $f0_1 ($a,$i) = if (($i >= $s))
275275 then $a
276276 else updater($a, $l[$i])
277277
278278 func $f0_2 ($a,$i) = if (($i >= $s))
279279 then $a
280280 else throw("List size exceeds 6")
281281
282282 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
283283 }
284284 makeString(r, "_")
285285 }
286286 }
287287
288288
289289 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)]
290290
291291
292292 func numPiecesBySize (landSize) = match landSize {
293293 case _ =>
294294 if (("S" == $match0))
295295 then 25
296296 else if (("M" == $match0))
297297 then 100
298298 else if (("L" == $match0))
299299 then 225
300300 else if (("XL" == $match0))
301301 then 400
302302 else if (("XXL" == $match0))
303303 then 625
304304 else throw("Unknown land size")
305305 }
306306
307307
308308 func subOneInList (aList,idx,amount) = {
309309 func subber (acc,i) = (acc :+ (if ((i == idx))
310310 then toString((parseIntValue(aList[i]) - amount))
311311 else aList[i]))
312312
313313 let r = {
314314 let $l = [0, 1, 2, 3, 4, 5]
315315 let $s = size($l)
316316 let $acc0 = nil
317317 func $f0_1 ($a,$i) = if (($i >= $s))
318318 then $a
319319 else subber($a, $l[$i])
320320
321321 func $f0_2 ($a,$i) = if (($i >= $s))
322322 then $a
323323 else throw("List size exceeds 6")
324324
325325 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
326326 }
327327 makeString(r, "_")
328328 }
329329
330330
331331 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
332332 func adder (acc,i) = {
333333 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
334334 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
335335 }
336336
337337 let r = {
338338 let $l = [0, 1, 2, 3, 4, 5]
339339 let $s = size($l)
340340 let $acc0 = nil
341341 func $f0_1 ($a,$i) = if (($i >= $s))
342342 then $a
343343 else adder($a, $l[$i])
344344
345345 func $f0_2 ($a,$i) = if (($i >= $s))
346346 then $a
347347 else throw("List size exceeds 6")
348348
349349 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
350350 }
351351 makeString(r, "_")
352352 }
353353
354354
355355 func abs (x) = if ((x >= toBigInt(0)))
356356 then x
357357 else -(x)
358358
359359
360360 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]]
361361
362362 func genChar (n,freqs) = {
363363 let rem = toInt((n % TWENTYX))
364364 let letter = if ((freqs[0] > rem))
365365 then "A"
366366 else if ((freqs[1] > rem))
367367 then "B"
368368 else if ((freqs[2] > rem))
369369 then "C"
370370 else if ((freqs[3] > rem))
371371 then "D"
372372 else if ((freqs[4] > rem))
373373 then "E"
374374 else "F"
375375 letter
376376 }
377377
378378
379379 func getBackpack (bpKey) = {
380380 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
381381 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
382382 then p[bpIdxRes]
383383 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
384384 then p[bpIdxMat]
385385 else "0_0_0_0_0_0", p[bpIdxProd]]
386386 }
387387
388388
389389 func expeditionCommon (shouldUseMat,caller,txId,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
390390 then throw("signature does not match")
391391 else {
392392 let parts = split(toUtf8String(message), ";")
393393 let hp = split(split(parts[0], "|")[0], "_")
394394 let curHP = parseIntValue(hp[0])
395395 let newHP = parseIntValue(hp[1])
396396 let locAndTime = split(parts[1], ":")
397397 let targetLocation = split(locAndTime[0], "_")
398398 if ((targetLocation[1] != "E"))
399399 then throw("expedition target location type should be E")
400400 else {
401401 let time = parseIntValue(locAndTime[1])
402402 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
403403 then true
404404 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
405405 then throw("signature outdated")
406406 else {
407407 let userAddr = toString(caller)
408408 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
409409 let keyHealth = keyDuckHealth(duckAssetId)
410410 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
411411 if ((oldFromState != curHP))
412412 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
413413 else if ((0 >= curHP))
414414 then throw("You can't fly with zero health")
415415 else if ((0 >= newHP))
416416 then $Tuple2(((if (!(shouldUseMat))
417417 then [ScriptTransfer(caller, EXPUSDN, usdnAssetId)]
418418 else nil) :+ IntegerEntry(keyHealth, 0)), "")
419419 else {
420420 let bpKey = keyBackpackByDuck(duckAssetId)
421421 let currentPack = getBackpack(bpKey)
422422 let mList = split(currentPack[bpIdxMat], "_")
423423 let newMat = makeString(subtractMaterials(shouldUseMat, mList, EXPMATERIALS), "_")
424424 let bigNum = abs(toBigInt(txId))
425425 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), 501)
426426 let landNum = toString(freeNum)
427427 let continentIdx = toInt((bigNum % FIVEX))
428428 let f = freq[continentIdx]
429429 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))
430430
431431 let t = {
432432 let $l = [1, 2, 3, 4, 5]
433433 let $s = size($l)
434434 let $acc0 = $Tuple2("", (bigNum / FIVEX))
435435 func $f0_1 ($a,$i) = if (($i >= $s))
436436 then $a
437437 else terrainGenerator($a, $l[$i])
438438
439439 func $f0_2 ($a,$i) = if (($i >= $s))
440440 then $a
441441 else throw("List size exceeds 5")
442442
443443 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
444444 }
445445 let continent = continents[continentIdx]
446446 let issue = Issue(keyNftName(landNum, "S"), makeString([landNum, "S", t._1, continent], "_"), 1, 0, false)
447447 let assetId = calculateAssetId(issue)
448448 let id = toBase58String(assetId)
449449 $Tuple2([IntegerEntry(keyNextFreeLandNum(), (freeNum + 1)), issue, StringEntry(keyLandToAssetId(landNum), id), StringEntry(keyLandAssetIdToOwner(id), userAddr), StringEntry(keyLandNumToOwner(landNum), userAddr), IntegerEntry(keyInfraLevelByAssetId(id), 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)
450450 }
451451 }
452452 }
453453 }
454454
455455
456456 func applyBonuses (landAssetId) = {
457457 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
458458 let presaleBonus = if (valueOrElse(getBoolean(keypresaleArtActivatedByAssetId(landAssetId)), false))
459459 then 3
460460 else 0
461- ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, infraLevel, 4)) + fraction(DAILYRESBYPIECE, presaleBonus, 20))
461+ (DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, infraLevel, 4))
462462 }
463463
464464
465465 func claimAll (landAssetId,pieces) = {
466466 let timeKey = keyStakedTimeByAssetId(landAssetId)
467467 let savedTime = valueOrErrorMessage(getInteger(timeKey), (((LANDPREFIX + " ") + landAssetId) + " is not staked"))
468468 let deltaTime = (lastBlock.timestamp - savedTime)
469469 if ((0 > deltaTime))
470470 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
471471 else {
472472 let dailyProductionByPiece = applyBonuses(landAssetId)
473473 let availRes = (fraction(deltaTime, dailyProductionByPiece, DAYMILLIS) * pieces)
474474 asString(invoke(this, "claimRes", [availRes, landAssetId], nil))
475475 }
476476 }
477477
478478
479479 func upInfraCommon (shouldUseMat,caller,landAssetId) = {
480480 let addr = toString(caller)
481481 let infraKey = keyInfraLevelByAssetId(landAssetId)
482482 let curLevel = valueOrElse(getInteger(infraKey), 0)
483483 if ((curLevel >= 3))
484484 then throw("Currently max infrastructure level = 3")
485485 else {
486486 let newLevel = (curLevel + 1)
487487 let asset = value(assetInfo(fromBase58String(landAssetId)))
488488 if (!(contains(asset.name, LANDPREFIX)))
489489 then throw((("NFT " + LANDPREFIX) + " token should be passed as param"))
490490 else {
491491 let owner = getStringValue(keyLandAssetIdToOwner(landAssetId))
492492 if ((owner != addr))
493493 then throw((LANDPREFIX + " is not yours"))
494494 else {
495495 let d = split(asset.description, "_")
496496 let landSize = d[recLandSize]
497497 let pieces = numPiecesBySize(landSize)
498498 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
499499 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
500500 let loc = split(value(curLocation), "_")
501501 if ((loc[locIdxType] != "L"))
502502 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
503503 else if ((loc[locIdxId] != landAssetId))
504504 then throw(((("Duck location id is " + loc[locIdxId]) + ", but should be ") + landAssetId))
505505 else {
506506 let bpKey = keyBackpackByDuck(duckAssetId)
507507 let currentPack = getBackpack(bpKey)
508508 let mList = split(currentPack[bpIdxMat], "_")
509509 let newMat = makeString(subtractMaterials(shouldUseMat, mList, fraction(InfraUpgradeCostS, (pieces * newLevel), 25)), "_")
510510 let newRes = claimAll(landAssetId, pieces)
511511 $Tuple2([IntegerEntry(infraKey, newLevel), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], newRes, newMat, currentPack[bpIdxProd]], ":"))], newLevel)
512512 }
513513 }
514514 }
515515 }
516516 }
517517
518518
519519 @Callable(i)
520520 func stakeLand () = {
521521 let pmt = value(i.payments[0])
522522 let assetId = value(pmt.assetId)
523523 let address = toString(i.caller)
524524 if ((pmt.amount != 1))
525525 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
526526 else {
527527 let asset = value(assetInfo(assetId))
528528 if ((asset.issuer != this))
529529 then throw("Unknown issuer of token")
530530 else if (!(contains(asset.name, LANDPREFIX)))
531531 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
532532 else {
533533 let landNumSize = drop(asset.name, 4)
534534 let landNum = if (contains(landNumSize, "XXL"))
535535 then dropRight(landNumSize, 3)
536536 else if (contains(landNumSize, "XL"))
537537 then dropRight(landNumSize, 2)
538538 else dropRight(landNumSize, 1)
539539 let landNumInt = valueOrErrorMessage(parseInt(landNum), ("Cannot parse land number from " + asset.name))
540540 let landAssetId = toBase58String(assetId)
541541 let timeKey = keyStakedTimeByAssetId(landAssetId)
542542 if (isDefined(getInteger(timeKey)))
543543 then throw((("NFT " + asset.name) + " is already staked"))
544544 else {
545545 let d = split(asset.description, "_")
546546 let terrainCounts = countTerrains(d[recTerrains])
547547 let props = updateProportions(terrainCounts, (numPiecesBySize(d[recLandSize]) / 25), 1)
548548 let presaleActive = if ((500 >= landNumInt))
549549 then (lastBlock.timestamp > PresaleArtifactActivationTime)
550550 else false
551-[IntegerEntry(timeKey, lastBlock.timestamp), BooleanEntry(keypresaleArtActivatedByAssetId(landAssetId), presaleActive), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), StringEntry(keyResProportions(), props)]
551+[IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), StringEntry(keyResProportions(), props)]
552552 }
553553 }
554554 }
555555 }
556556
557557
558558
559559 @Callable(i)
560560 func unstakeLand (landAssetId) = if ((size(i.payments) != 0))
561561 then throw("unstake doesn't require any payments")
562562 else {
563563 let assetId = fromBase58String(landAssetId)
564564 let address = toString(i.caller)
565565 let asset = value(assetInfo(assetId))
566566 if ((asset.issuer != this))
567567 then throw("Unknown issuer of token")
568568 else if (!(contains(asset.name, LANDPREFIX)))
569569 then throw((("Only NFT " + LANDPREFIX) + " tokens can be unstaked"))
570570 else {
571571 let timeKey = keyStakedTimeByAssetId(landAssetId)
572572 if (!(isDefined(timeKey)))
573573 then throw((("NFT " + asset.name) + " is not staked"))
574574 else {
575575 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
576576 if ((owner != address))
577577 then throw((("Staked " + LANDPREFIX) + " is not yours"))
578578 else {
579579 let d = split(asset.description, "_")
580580 let terrainCounts = countTerrains(d[recTerrains])
581581 let pieces = numPiecesBySize(d[recLandSize])
582582 let props = updateProportions(terrainCounts, (pieces / 25), -1)
583583 let newRes = claimAll(landAssetId, pieces)
584584 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(address)), (("You can't unstake " + LANDPREFIX) + " without a duck staked"))
585585 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
586586 let loc = split(value(curLocation), "_")
587587 if ((loc[locIdxType] != "L"))
588588 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
589589 else if ((loc[locIdxId] != landAssetId))
590590 then throw(((("Duck location id is " + loc[locIdxId]) + ", but should be ") + landAssetId))
591591 else {
592592 let bpKey = keyBackpackByDuck(duckAssetId)
593593 let currentPack = getBackpack(bpKey)
594594 [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address)), StringEntry(keyResProportions(), props), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], newRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], ":"))]
595595 }
596596 }
597597 }
598598 }
599599 }
600600
601601
602602
603603 @Callable(i)
604604 func stakeDuck () = {
605605 let pmt = value(i.payments[0])
606606 let assetId = value(pmt.assetId)
607607 let address = toString(i.caller)
608608 if ((pmt.amount != 1))
609609 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
610610 else {
611611 let asset = value(assetInfo(assetId))
612612 if (if ((asset.issuer != incubatorAddr))
613613 then (asset.issuer != breederAddr)
614614 else false)
615615 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
616616 else if (!(contains(asset.name, DUCKPREFIX)))
617617 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
618618 else {
619619 let assetIdStr = toBase58String(assetId)
620620 let timeKey = keyStakedTimeByAssetId(assetIdStr)
621621 if (isDefined(getInteger(timeKey)))
622622 then throw((("NFT " + asset.name) + " is already staked"))
623623 else if (isDefined(getString(keyStakedDuckByOwner(address))))
624624 then throw(("You already staked one duck: " + asset.name))
625625 else {
626626 let locKey = keyDuckLocation(assetIdStr)
627627 let location = getString(locKey)
628628 let keyHealth = keyDuckHealth(assetIdStr)
629629 let health = getInteger(keyHealth)
630630 let bpKey = keyBackpackByDuck(assetIdStr)
631631 let backpack = getString(bpKey)
632632 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
633633 then nil
634634 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(health))
635635 then nil
636636 else ([IntegerEntry(keyHealth, 100)] ++ (if (isDefined(backpack))
637637 then nil
638638 else [StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")]))))))
639639 }
640640 }
641641 }
642642 }
643643
644644
645645
646646 @Callable(i)
647647 func unstakeDuck (assetIdStr) = if ((size(i.payments) != 0))
648648 then throw("unstake doesn't require any payments")
649649 else {
650650 let assetId = fromBase58String(assetIdStr)
651651 let address = toString(i.caller)
652652 let asset = value(assetInfo(assetId))
653653 if (if ((asset.issuer != incubatorAddr))
654654 then (asset.issuer != breederAddr)
655655 else false)
656656 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
657657 else if (!(contains(asset.name, DUCKPREFIX)))
658658 then throw((("Only NFT " + DUCKPREFIX) + " tokens can be unstaked"))
659659 else {
660660 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
661661 if (!(isDefined(timeKey)))
662662 then throw((("NFT " + asset.name) + " is not staked"))
663663 else if (!(isDefined(keyStakedDuckByOwner(address))))
664664 then throw((("The duck " + asset.name) + " is not staked"))
665665 else {
666666 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
667667 if ((owner != address))
668668 then throw("Staked NFT is not yours")
669669 else [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address))]
670670 }
671671 }
672672 }
673673
674674
675675
676676 @Callable(i)
677677 func claimRes (amount,landAssetId) = if ((size(i.payments) != 0))
678678 then throw("claimRes doesn't require any payments")
679679 else {
680680 let addr = toString(i.originCaller)
681681 let asset = value(assetInfo(fromBase58String(landAssetId)))
682682 if (!(contains(asset.name, LANDPREFIX)))
683683 then throw((("NFT " + LANDPREFIX) + " token should be passed as param"))
684684 else {
685685 let timeKey = keyStakedTimeByAssetId(landAssetId)
686686 let owner = getStringValue(keyLandAssetIdToOwner(landAssetId))
687687 if ((owner != addr))
688688 then throw((LANDPREFIX + " is not yours"))
689689 else {
690690 let d = split(asset.description, "_")
691691 let landSize = d[recLandSize]
692692 let terrainCounts = countTerrains(d[recTerrains])
693693 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
694694 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
695695 let loc = split(value(curLocation), "_")
696696 if ((loc[locIdxType] != "L"))
697697 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
698698 else if ((loc[locIdxId] != landAssetId))
699699 then throw(((("Duck location id is " + loc[locIdxId]) + ", but should be ") + landAssetId))
700700 else {
701701 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
702702 let deltaTime = (lastBlock.timestamp - savedTime)
703703 if ((0 > deltaTime))
704704 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
705705 else {
706706 let pieces = numPiecesBySize(landSize)
707707 let dailyProductionByPiece = applyBonuses(landAssetId)
708708 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
709709 if ((amount > availRes))
710710 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
711711 else {
712712 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
713713 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
714714 let bpKey = keyBackpackByDuck(duckAssetId)
715715 let currentPack = getBackpack(bpKey)
716716 let currentRes = split(currentPack[bpIdxRes], "_")
717717 let bpRes = addRes(currentRes, terrainCounts, (deltaTime - newDeltaTime), (pieces / 25), dailyProductionByPiece)
718718 let newPack = makeString([currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], ":")
719719 $Tuple2([StringEntry(bpKey, newPack), IntegerEntry(timeKey, newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, owner), newTimestamp)], bpRes)
720720 }
721721 }
722722 }
723723 }
724724 }
725725 }
726726
727727
728728
729729 @Callable(i)
730730 func flight (message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
731731 then throw("signature does not match")
732732 else if ((size(i.payments) != 0))
733733 then throw("flight doesn't require any payments")
734734 else {
735735 let parts = split(toUtf8String(message), ";")
736736 let hp = split(split(parts[0], "|")[0], "_")
737737 let curHP = parseIntValue(hp[0])
738738 let newHP = parseIntValue(hp[1])
739739 let newLocAndTime = split(parts[1], ":")
740740 let newLocation = newLocAndTime[0]
741741 let time = parseIntValue(newLocAndTime[1])
742742 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
743743 then true
744744 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
745745 then throw("signature outdated")
746746 else {
747747 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
748748 let keyHealth = keyDuckHealth(duckAssetId)
749749 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
750750 if ((oldFromState != curHP))
751751 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
752752 else if ((0 >= curHP))
753753 then throw("You can't fly with zero health")
754754 else {
755755 let locKey = keyDuckLocation(duckAssetId)
756756 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
757757 if ((newLocation == curLocation))
758758 then throw("You can't fly to the same location")
759759 else $Tuple2([StringEntry(locKey, if ((newHP > 0))
760760 then newLocation
761761 else curLocation), IntegerEntry(keyHealth, newHP)], unit)
762762 }
763763 }
764764 }
765765
766766
767767
768768 @Callable(i)
769769 func setHealth (health,duckAssetId) = if (if ((0 > health))
770770 then true
771771 else (health > 100))
772772 then throw("HP should be within 0..100")
773773 else [IntegerEntry(keyDuckHealth(duckAssetId), health)]
774774
775775
776776
777777 @Callable(i)
778778 func heal (matType,amount) = if (if ((0 > matType))
779779 then true
780780 else (matType >= NUMRES))
781781 then throw(("Unknown material: " + toString(matType)))
782782 else if ((0 >= amount))
783783 then throw(("Amount should be positive! " + toString(amount)))
784784 else {
785785 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
786786 let keyHealth = keyDuckHealth(duckAssetId)
787787 let oldHealth = valueOrElse(getInteger(keyHealth), 100)
788788 if ((oldHealth >= 100))
789789 then throw("HP should be < 100 to heal")
790790 else {
791791 let bpKey = keyBackpackByDuck(duckAssetId)
792792 let currentPack = getBackpack(bpKey)
793793 let mList = split(currentPack[bpIdxMat], "_")
794794 let currentAmount = parseIntValue(mList[matType])
795795 let deltaHealth = min([(amount / HEALCOST), (100 - oldHealth)])
796796 let spendAmount = (deltaHealth * HEALCOST)
797797 if ((spendAmount > currentAmount))
798798 then throw(((((("You need " + toString(spendAmount)) + " of ") + matTypes[matType]) + " to heal, but you backpack contains ") + toString(currentAmount)))
799799 else {
800800 let newMat = subOneInList(mList, matType, spendAmount)
801801 [IntegerEntry(keyHealth, (oldHealth + deltaHealth)), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))]
802802 }
803803 }
804804 }
805805
806806
807807
808808 @Callable(i)
809809 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyAddr))
810810 then throw("permission denied")
811811 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
812812
813813
814814
815815 @Callable(i)
816816 func expeditionBuy (message,sig) = if ((size(i.payments) != 1))
817817 then throw("Exactly one payment required")
818818 else {
819819 let pmt = value(i.payments[0])
820820 if ((pmt.assetId != usdnAssetId))
821821 then throw("Allowed USDN payment only!")
822822 else if ((pmt.amount != EXPUSDN))
823823 then throw(("Payment attached should be " + toString(EXPUSDN)))
824824 else expeditionCommon(false, i.caller, i.transactionId, message, sig)
825825 }
826826
827827
828828
829829 @Callable(i)
830830 func expedition (message,sig) = if ((size(i.payments) != 0))
831831 then throw("expedition doesn't require any payments")
832832 else expeditionCommon(true, i.caller, i.transactionId, message, sig)
833833
834834
835835
836836 @Callable(i)
837837 func upgradeInfra (landAssetId) = if ((size(i.payments) != 0))
838838 then throw("Infrastructure upgrade doesn't require any payments")
839839 else upInfraCommon(true, i.caller, landAssetId)
840840
841841
842842
843843 @Callable(i)
844844 func upgradeInfraUsdn (landAssetId) = if ((size(i.payments) != 1))
845845 then throw("Exactly one payment required")
846846 else {
847847 let pmt = value(i.payments[0])
848848 if ((pmt.assetId != usdnAssetId))
849849 then throw("Allowed USDN payment only!")
850850 else {
851851 let newLevel = (valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) + 1)
852852 let asset = value(assetInfo(fromBase58String(landAssetId)))
853853 let d = split(asset.description, "_")
854854 let cost = fraction(InfraUpgradeCostSUsdn, (numPiecesBySize(d[recLandSize]) * newLevel), 25)
855855 if ((pmt.amount != cost))
856856 then throw(("Payment attached should be " + toString(cost)))
857857 else upInfraCommon(false, i.caller, landAssetId)
858858 }
859859 }
860860
861861

github/deemru/w8io/026f985 
95.65 ms