tx · CzCm1rsfoGU6wDcCYmp8DcpokcFLCQiSrNmCoFtsGUDX

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.05300000 Waves

2023.05.07 18:22 [2567612] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "CzCm1rsfoGU6wDcCYmp8DcpokcFLCQiSrNmCoFtsGUDX", "fee": 5300000, "feeAssetId": null, "timestamp": 1683472978468, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "gKBAa52tHgM6Z73gju24vsjcm35hZCwTKAg52tYbG2tLrsPsntxhv9f6V2NDW7sYn5n4vP5uBKFXssngtx3SEMA" ], "script": "base64:BgKOAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgQKAgEIEgQKAgEBEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgUKAwgICBIDCgEBEgUKAwEBCBIDCgEIEgMKAQiKAQAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4ADWluY3ViYXRvckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQRWt0VnV4MlJoY2hTTjYzRHNEbzRiNG16NFFxektTZUR2AwkAAAIBAVQFByRtYXRjaDAFBHRoaXMJAAIBAg1Vbm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VJFQURPTkxZAQtsYW5kQXNzZXRJZAQFYXNzZXQJAQV2YWx1ZQEJAOwHAQkA2QQBBQtsYW5kQXNzZXRJZAQJbGFuZEluZGV4CQBpAgkBD251bVBpZWNlc0J5U2l6ZQEJAJEDAgkAtQkCCAUFYXNzZXQLZGVzY3JpcHRpb24CAV8FC3JlY0xhbmRTaXplBQVTU0laRQQKaW5mcmFMZXZlbAkBC3ZhbHVlT3JFbHNlAgkAnwgBCQEWa2V5SW5mcmFMZXZlbEJ5QXNzZXRJZAEFC2xhbmRBc3NldElkAAAJAJQKAgUDbmlsCQC6CQIJAQxnZXRXYXJlaG91c2UDCQESa2V5V2FyZWhvdXNlQnlMYW5kAQULbGFuZEFzc2V0SWQFCWxhbmRJbmRleAUKaW5mcmFMZXZlbAIBOgDEqgyy", "height": 2567612, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 62g7r6vgAHh5jgidiRbBR7cqeRaR3kZdMdh17X5S3bBE Next: EEiAuCrw1SWfGCj8zRHjsE82c7qpTdwx8mjuXdsdStbv Diff:
OldNewDifferences
16561656
16571657
16581658 @Callable(i)
1659-func setCustomName (assetId,customName,type) = {
1660- let prologAction = prolog(i)
1661- if ((size(i.payments) != 1))
1662- then throw("Exactly one payment required")
1663- else {
1664- let pmt = value(i.payments[0])
1665- if ((pmt.assetId != usdtAssetId))
1666- then throw("Allowed USDT payment only!")
1667- else if ((pmt.amount != RENAMINGCOST))
1668- then throw(("Payment should be " + toString(RENAMINGCOST)))
1669- else if (contains(customName, "__"))
1670- then throw(("Name should not contain '__': " + customName))
1671- else {
1672- let addr = toString(i.originCaller)
1673- let actions = match type {
1674- case _ =>
1675- if (("ACCOUNT" == $match0))
1676- then {
1677- let reverseKey = keyCustomNameToAddress(customName)
1678- let oldName = getString(reverseKey)
1679- if (isDefined(oldName))
1680- then throw(("Name already registered: " + customName))
1681- else [StringEntry(keyAddressToCustomName(addr), customName), StringEntry(reverseKey, addr)]
1682- }
1683- else if (("LAND" == $match0))
1659+func setCustomName (assetId,customName,type) = if ((i.caller != this))
1660+ then throw("Permission denied")
1661+ else {
1662+ let prologAction = prolog(i)
1663+ if ((size(i.payments) != 1))
1664+ then throw("Exactly one payment required")
1665+ else {
1666+ let pmt = value(i.payments[0])
1667+ if ((pmt.assetId != usdtAssetId))
1668+ then throw("Allowed USDT payment only!")
1669+ else if ((pmt.amount != RENAMINGCOST))
1670+ then throw(("Payment should be " + toString(RENAMINGCOST)))
1671+ else if (contains(customName, "__"))
1672+ then throw(("Name should not contain '__': " + customName))
1673+ else {
1674+ let addr = toString(i.originCaller)
1675+ let actions = match type {
1676+ case _ =>
1677+ if (("ACCOUNT" == $match0))
16841678 then {
1685- let asset = value(assetInfo(fromBase58String(assetId)))
1686- let timeKey = keyStakedTimeByAssetId(assetId)
1687- if (!(isDefined(getInteger(timeKey))))
1688- then throw((asset.name + " is not staked"))
1689- else {
1690- let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1691- if ((owner != addr))
1692- then throw((LANDPREFIX + " is not yours"))
1693- else {
1694- let reverseKey = keyLandCustomNameToAssetId(customName)
1695- let oldName = getString(reverseKey)
1696- if (isDefined(oldName))
1697- then throw(("Name already registered: " + customName))
1698- else [StringEntry(keyLandAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1699- }
1700- }
1679+ let reverseKey = keyCustomNameToAddress(customName)
1680+ let oldName = getString(reverseKey)
1681+ if (isDefined(oldName))
1682+ then throw(("Name already registered: " + customName))
1683+ else [StringEntry(keyAddressToCustomName(addr), customName), StringEntry(reverseKey, addr)]
17011684 }
1702- else if (("DUCK" == $match0))
1685+ else if (("LAND" == $match0))
17031686 then {
17041687 let asset = value(assetInfo(fromBase58String(assetId)))
17051688 let timeKey = keyStakedTimeByAssetId(assetId)
1706- if (if (!(isDefined(getInteger(timeKey))))
1707- then true
1708- else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
1689+ if (!(isDefined(getInteger(timeKey))))
17091690 then throw((asset.name + " is not staked"))
17101691 else {
1711- let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1692+ let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
17121693 if ((owner != addr))
1713- then throw((DUCKPREFIX + " is not yours"))
1694+ then throw((LANDPREFIX + " is not yours"))
17141695 else {
1715- let reverseKey = keyDuckCustomNameToAssetId(customName)
1696+ let reverseKey = keyLandCustomNameToAssetId(customName)
17161697 let oldName = getString(reverseKey)
17171698 if (isDefined(oldName))
17181699 then throw(("Name already registered: " + customName))
1719- else [StringEntry(keyDuckAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1700+ else [StringEntry(keyLandAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
17201701 }
17211702 }
17221703 }
1723- else throw("Unknown entity type")
1724- }
1725- $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
1726- }
1727- }
1728- }
1704+ else if (("DUCK" == $match0))
1705+ then {
1706+ let asset = value(assetInfo(fromBase58String(assetId)))
1707+ let timeKey = keyStakedTimeByAssetId(assetId)
1708+ if (if (!(isDefined(getInteger(timeKey))))
1709+ then true
1710+ else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
1711+ then throw((asset.name + " is not staked"))
1712+ else {
1713+ let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1714+ if ((owner != addr))
1715+ then throw((DUCKPREFIX + " is not yours"))
1716+ else {
1717+ let reverseKey = keyDuckCustomNameToAssetId(customName)
1718+ let oldName = getString(reverseKey)
1719+ if (isDefined(oldName))
1720+ then throw(("Name already registered: " + customName))
1721+ else [StringEntry(keyDuckAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1722+ }
1723+ }
1724+ }
1725+ else throw("Unknown entity type")
1726+ }
1727+ $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
1728+ }
1729+ }
1730+ }
17291731
17301732
17311733
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let chain = take(drop(this.bytes, 1), 1)
55
66 let usdtAssetId = match chain {
77 case _ =>
88 if ((base58'2W' == $match0))
99 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1010 else if ((base58'2T' == $match0))
1111 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1212 else throw("Unknown chain")
1313 }
1414
1515 let incubatorAddr = match chain {
1616 case _ =>
1717 if ((base58'2W' == $match0))
1818 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
1919 else if ((base58'2T' == $match0))
2020 then this
2121 else throw("Unknown chain")
2222 }
2323
2424 let breederAddr = match chain {
2525 case _ =>
2626 if ((base58'2W' == $match0))
2727 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
2828 else if ((base58'2T' == $match0))
2929 then this
3030 else throw("Unknown chain")
3131 }
3232
3333 let defaultRestAddressStr = match chain {
3434 case _ =>
3535 if ((base58'2W' == $match0))
3636 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
3737 else if ((base58'2T' == $match0))
3838 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
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 SSIZE = 25
5555
5656 let MSIZE = 100
5757
5858 let LSIZE = 225
5959
6060 let XLSIZE = 400
6161
6262 let XXLSIZE = 625
6363
6464 let DAILYRESBYPIECE = 3456000
6565
6666 let DAYMILLIS = 86400000
6767
6868 let FIVEMINUTESMILLIS = 300000
6969
7070 let RESOURCEPRICEMIN = 39637
7171
7272 let WHMULTIPLIER = 10000000000
7373
7474 let RENAMINGCOST = 5000000
7575
7676 let InfraUpgradeCostS = match chain {
7777 case _ =>
7878 if ((base58'2W' == $match0))
7979 then 10000000000
8080 else if ((base58'2T' == $match0))
8181 then 100000000
8282 else throw("Unknown chain")
8383 }
8484
8585 let InfraUpgradeCostSUsdt = match chain {
8686 case _ =>
8787 if ((base58'2W' == $match0))
8888 then 10000000
8989 else if ((base58'2T' == $match0))
9090 then 10000000
9191 else throw("Unknown chain")
9292 }
9393
9494 let EXPMATERIALS = match chain {
9595 case _ =>
9696 if ((base58'2W' == $match0))
9797 then 252289527462
9898 else if ((base58'2T' == $match0))
9999 then 2522895274
100100 else throw("Unknown chain")
101101 }
102102
103103 let EXPUSDT = match chain {
104104 case _ =>
105105 if ((base58'2W' == $match0))
106106 then 250000000
107107 else if ((base58'2T' == $match0))
108108 then 250000000
109109 else throw("Unknown chain")
110110 }
111111
112112 let SEP = "__"
113113
114114 let MULT6 = 1000000
115115
116116 let FIVEX = toBigInt(5)
117117
118118 let TWENTYX = toBigInt(20)
119119
120120 let TWENTY2X = toBigInt((20 * 20))
121121
122122 let TWENTY3X = toBigInt(((20 * 20) * 20))
123123
124124 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
125125
126126 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
127127
128128 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
129129
130130 let continents = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
131131
132132 let ARTPRESALE = "PRESALE"
133133
134134 let PRESALENUMLANDS = 500
135135
136136 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
137137
138138
139139 func getIntOrElse (key,defaultVal) = valueOrElse(getInteger(this, key), defaultVal)
140140
141141
142142 let IdxCfgStakingDapp = 1
143143
144144 let IdxCfgEconomyDapp = 2
145145
146146 let IdxCfgGovernanceDapp = 3
147147
148148 func keyRestCfg () = "%s__restConfig"
149149
150150
151151 func keyRestAddress () = "%s__restAddr"
152152
153153
154154 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
155155
156156
157157 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
158158
159159
160160 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
161161
162162 let restCfg = readRestCfgOrFail(restContract)
163163
164164 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
165165
166166 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
167167
168168 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
169169
170170
171171 func keyNextFreeLandNum () = "nextLandNum"
172172
173173
174174 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
175175
176176
177177 func keyNftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
178178
179179
180180 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
181181
182182
183183 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
184184
185185
186186 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
187187
188188
189189 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
190190
191191
192192 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
193193
194194
195195 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
196196
197197
198198 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
199199
200200
201201 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
202202
203203
204204 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
205205
206206
207207 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
208208
209209
210210 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
211211
212212
213213 func keyPresaleArtActivatedByAssetId (assetId) = ("presaleArtActivated_" + assetId)
214214
215215
216216 func keyPresaleArtActivatedByAssetIdAndOwner (assetId,ownerAddr) = ((("presaleArtActivatedByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
217217
218218
219219 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
220220
221221
222222 func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_")
223223
224224
225225 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
226226
227227
228228 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
229229
230230
231231 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
232232
233233
234234 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
235235
236236
237237 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
238238
239239
240240 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
241241
242242
243243 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
244244
245245
246246 func keyResProportions () = "resTypesProportions"
247247
248248
249249 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
250250
251251
252252 func keyBlocked () = "contractsBlocked"
253253
254254
255255 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
256256
257257
258258 let recLandNum = 0
259259
260260 let recLandSize = 1
261261
262262 let recTerrains = 2
263263
264264 let recContinent = 3
265265
266266 let locIdxContinent = 0
267267
268268 let locIdxType = 1
269269
270270 let locIdxId = 2
271271
272272 let bpIdxLevel = 0
273273
274274 let bpIdxRes = 1
275275
276276 let bpIdxMat = 2
277277
278278 let bpIdxProd = 3
279279
280280 let whIdxVol = 0
281281
282282 let whIdxRes = 1
283283
284284 let whIdxMat = 2
285285
286286 let whIdxProd = 3
287287
288288 let whIdxLockedVol = 4
289289
290290 let claimModeWh = 0
291291
292292 let claimModeDuck = 1
293293
294294 let claimModeWhThenDuck = 2
295295
296296 func asString (v) = match v {
297297 case s: String =>
298298 s
299299 case _ =>
300300 throw("fail to cast into String")
301301 }
302302
303303
304304 func distributeByWeights (total,weights) = {
305305 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
306306 if ((0 >= sum))
307307 then throw("Zero weights sum")
308308 else {
309309 let norm6 = fraction(total, MULT6, sum)
310310 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
311311
312312 let $l = weights
313313 let $s = size($l)
314314 let $acc0 = nil
315315 func $f0_1 ($a,$i) = if (($i >= $s))
316316 then $a
317317 else normalizer($a, $l[$i])
318318
319319 func $f0_2 ($a,$i) = if (($i >= $s))
320320 then $a
321321 else throw("List size exceeds 6")
322322
323323 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
324324 }
325325 }
326326
327327
328328 func getNeededMaterials (total) = {
329329 let props = split(value(getString(keyResProportions())), "_")
330330 if ((size(props) != NUMRES))
331331 then throw("Wrong proportions data")
332332 else {
333333 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
334334 distributeByWeights(total, r)
335335 }
336336 }
337337
338338
339339 func subtractMaterials (shouldUseMat,has,totalNeed) = {
340340 let need = getNeededMaterials(totalNeed)
341341 func subtractor (acc,idx) = {
342342 let result = (parseIntValue(has[idx]) - need[idx])
343343 if ((0 > result))
344344 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
345345 else (acc :+ toString(result))
346346 }
347347
348348 if (shouldUseMat)
349349 then {
350350 let $l = [0, 1, 2, 3, 4, 5]
351351 let $s = size($l)
352352 let $acc0 = nil
353353 func $f0_1 ($a,$i) = if (($i >= $s))
354354 then $a
355355 else subtractor($a, $l[$i])
356356
357357 func $f0_2 ($a,$i) = if (($i >= $s))
358358 then $a
359359 else throw("List size exceeds 6")
360360
361361 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
362362 }
363363 else has
364364 }
365365
366366
367367 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
368368 then throw("Wrong proportions data")
369369 else {
370370 func updater (acc,i) = {
371371 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
372372 if ((0 > result))
373373 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
374374 else (acc :+ toString(result))
375375 }
376376
377377 let r = {
378378 let $l = [0, 1, 2, 3, 4, 5]
379379 let $s = size($l)
380380 let $acc0 = nil
381381 func $f0_1 ($a,$i) = if (($i >= $s))
382382 then $a
383383 else updater($a, $l[$i])
384384
385385 func $f0_2 ($a,$i) = if (($i >= $s))
386386 then $a
387387 else throw("List size exceeds 6")
388388
389389 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
390390 }
391391 makeString(r, "_")
392392 }
393393
394394
395395 func updateProportions (terrainCounts,landSizeIndex,sign) = {
396396 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
397397 updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign)
398398 }
399399
400400
401401 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)]
402402
403403
404404 func numPiecesBySize (landSize) = match landSize {
405405 case _ =>
406406 if (("S" == $match0))
407407 then SSIZE
408408 else if (("M" == $match0))
409409 then MSIZE
410410 else if (("L" == $match0))
411411 then LSIZE
412412 else if (("XL" == $match0))
413413 then XLSIZE
414414 else if (("XXL" == $match0))
415415 then XXLSIZE
416416 else throw("Unknown land size")
417417 }
418418
419419
420420 func subOneInList (aList,idx,amount) = {
421421 func subber (acc,i) = (acc :+ (if ((i == idx))
422422 then toString((parseIntValue(aList[i]) - amount))
423423 else aList[i]))
424424
425425 let r = {
426426 let $l = [0, 1, 2, 3, 4, 5]
427427 let $s = size($l)
428428 let $acc0 = nil
429429 func $f0_1 ($a,$i) = if (($i >= $s))
430430 then $a
431431 else subber($a, $l[$i])
432432
433433 func $f0_2 ($a,$i) = if (($i >= $s))
434434 then $a
435435 else throw("List size exceeds 6")
436436
437437 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
438438 }
439439 makeString(r, "_")
440440 }
441441
442442
443443 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
444444 func adder (acc,i) = {
445445 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
446446 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
447447 }
448448
449449 let r = {
450450 let $l = [0, 1, 2, 3, 4, 5]
451451 let $s = size($l)
452452 let $acc0 = nil
453453 func $f0_1 ($a,$i) = if (($i >= $s))
454454 then $a
455455 else adder($a, $l[$i])
456456
457457 func $f0_2 ($a,$i) = if (($i >= $s))
458458 then $a
459459 else throw("List size exceeds 6")
460460
461461 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
462462 }
463463 makeString(r, "_")
464464 }
465465
466466
467467 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
468468 func adder (acc,i) = {
469469 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
470470 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
471471 }
472472
473473 let $l = [0, 1, 2, 3, 4, 5]
474474 let $s = size($l)
475475 let $acc0 = $Tuple2(nil, 0)
476476 func $f0_1 ($a,$i) = if (($i >= $s))
477477 then $a
478478 else adder($a, $l[$i])
479479
480480 func $f0_2 ($a,$i) = if (($i >= $s))
481481 then $a
482482 else throw("List size exceeds 6")
483483
484484 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
485485 }
486486
487487
488488 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
489489 let resListToClaim = resToClaim._1
490490 let resAmToClaim = resToClaim._2
491491 if ((resAmToClaim == 0))
492492 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
493493 else if ((whSpaceLeft >= resAmToClaim))
494494 then {
495495 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
496496
497497 let r = {
498498 let $l = [0, 1, 2, 3, 4, 5]
499499 let $s = size($l)
500500 let $acc0 = nil
501501 func $f0_1 ($a,$i) = if (($i >= $s))
502502 then $a
503503 else addLists($a, $l[$i])
504504
505505 func $f0_2 ($a,$i) = if (($i >= $s))
506506 then $a
507507 else throw("List size exceeds 6")
508508
509509 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
510510 }
511511 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
512512 }
513513 else {
514514 func addPartLists (acc,i) = {
515515 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
516516 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
517517 }
518518
519519 let r = {
520520 let $l = [0, 1, 2, 3, 4, 5]
521521 let $s = size($l)
522522 let $acc0 = $Tuple2(nil, nil)
523523 func $f0_1 ($a,$i) = if (($i >= $s))
524524 then $a
525525 else addPartLists($a, $l[$i])
526526
527527 func $f0_2 ($a,$i) = if (($i >= $s))
528528 then $a
529529 else throw("List size exceeds 6")
530530
531531 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
532532 }
533533 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
534534 }
535535 }
536536
537537
538538 func abs (x) = if ((x >= toBigInt(0)))
539539 then x
540540 else -(x)
541541
542542
543543 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]]
544544
545545 func genChar (n,freqs) = {
546546 let rem = toInt((n % TWENTYX))
547547 let letter = if ((freqs[0] > rem))
548548 then "A"
549549 else if ((freqs[1] > rem))
550550 then "B"
551551 else if ((freqs[2] > rem))
552552 then "C"
553553 else if ((freqs[3] > rem))
554554 then "D"
555555 else if ((freqs[4] > rem))
556556 then "E"
557557 else "F"
558558 letter
559559 }
560560
561561
562562 func genTerrains (seed,continentIdx) = {
563563 let f = freq[continentIdx]
564564 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))
565565
566566 let t = {
567567 let $l = [1, 2, 3, 4, 5]
568568 let $s = size($l)
569569 let $acc0 = $Tuple2("", (seed / FIVEX))
570570 func $f0_1 ($a,$i) = if (($i >= $s))
571571 then $a
572572 else terrainGenerator($a, $l[$i])
573573
574574 func $f0_2 ($a,$i) = if (($i >= $s))
575575 then $a
576576 else throw("List size exceeds 5")
577577
578578 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
579579 }
580580 t._1
581581 }
582582
583583
584584 func getBackpack (bpKey) = {
585585 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
586586 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
587587 then p[bpIdxRes]
588588 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
589589 then p[bpIdxMat]
590590 else "0_0_0_0_0_0", p[bpIdxProd]]
591591 }
592592
593593
594594 func getWarehouseVolume (volPrefix) = {
595595 let parts = split(volPrefix, "_")
596596 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
597597 }
598598
599599
600600 func getWarehouse (whKey,landIndex,infraLevel) = {
601601 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
602602 let p = split(valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0")), ":")
603603 [p[whIdxVol], if ((size(split(p[whIdxRes], "_")) == NUMRES))
604604 then p[whIdxRes]
605605 else "0_0_0_0_0_0", if ((size(split(p[whIdxMat], "_")) == NUMRES))
606606 then p[whIdxMat]
607607 else "0_0_0_0_0_0", p[whIdxProd], if ((5 > size(p)))
608608 then "0"
609609 else p[whIdxLockedVol]]
610610 }
611611
612612
613613 func getWarehouseCurrResVolume (currentWh) = {
614614 func sum (acc,item) = (acc + parseIntValue(item))
615615
616616 let $l = split(currentWh[whIdxRes], "_")
617617 let $s = size($l)
618618 let $acc0 = 0
619619 func $f0_1 ($a,$i) = if (($i >= $s))
620620 then $a
621621 else sum($a, $l[$i])
622622
623623 func $f0_2 ($a,$i) = if (($i >= $s))
624624 then $a
625625 else throw("List size exceeds 6")
626626
627627 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
628628 }
629629
630630
631631 func getWarehouseCurrMatVolume (currentWh) = {
632632 func sum (acc,item) = (acc + parseIntValue(item))
633633
634634 let $l = split(currentWh[whIdxMat], "_")
635635 let $s = size($l)
636636 let $acc0 = 0
637637 func $f0_1 ($a,$i) = if (($i >= $s))
638638 then $a
639639 else sum($a, $l[$i])
640640
641641 func $f0_2 ($a,$i) = if (($i >= $s))
642642 then $a
643643 else throw("List size exceeds 6")
644644
645645 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
646646 }
647647
648648
649649 func getWarehouseCurrGoodsVolume (currentWh) = {
650650 let goods = currentWh[whIdxProd]
651651 if ((goods == ""))
652652 then 0
653653 else {
654654 func sum (acc,item) = (acc + parseIntValue(item))
655655
656656 let $l = split_4C(goods, "_")
657657 let $s = size($l)
658658 let $acc0 = 0
659659 func $f0_1 ($a,$i) = if (($i >= $s))
660660 then $a
661661 else sum($a, $l[$i])
662662
663663 func $f0_2 ($a,$i) = if (($i >= $s))
664664 then $a
665665 else throw("List size exceeds 50")
666666
667667 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
668668 }
669669 }
670670
671671
672672 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
673673 then throw("cargoListStr should contain exactly 2 ':' separators")
674674 else {
675675 let resParts = split(cargoParts[0], "_")
676676 let matParts = split(cargoParts[1], "_")
677677 let prodParts = if ((cargoParts[2] == ""))
678678 then nil
679679 else split(cargoParts[2], "_")
680680 if ((size(resParts) != NUMRES))
681681 then throw("All 6 resources should be passed")
682682 else if ((size(matParts) != NUMRES))
683683 then throw("All 6 materials should be passed")
684684 else {
685685 let currWhResVol = getWarehouseCurrResVolume(currentWh)
686686 let currWhMatVol = getWarehouseCurrMatVolume(currentWh)
687687 let currWhGoodsVol = getWarehouseCurrGoodsVolume(currentWh)
688688 let currWhLockedVol = parseIntValue(currentWh[whIdxLockedVol])
689689 let whSpaceLeft = ((((getWarehouseVolume(currentWh[whIdxVol]) - currWhResVol) - currWhMatVol) - currWhGoodsVol) - currWhLockedVol)
690690 let currWhRes = split(currentWh[whIdxRes], "_")
691691 let currWhMat = split(currentWh[whIdxMat], "_")
692692 let currWhProd = if ((currentWh[whIdxProd] == ""))
693693 then nil
694694 else split(currentWh[whIdxProd], "_")
695695 let currentPackRes = split(currentPack[bpIdxRes], "_")
696696 let currentPackMat = split(currentPack[bpIdxMat], "_")
697697 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
698698 then nil
699699 else split(currentPack[bpIdxProd], "_")
700700 func mvR (acc,item) = {
701701 let i = acc._1
702702 let am = parseIntValue(item)
703703 let whr = parseIntValue(currWhRes[i])
704704 let bpr = parseIntValue(currentPackRes[i])
705705 if ((am == 0))
706706 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
707707 else if ((am > 0))
708708 then if ((am > bpr))
709709 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
710710 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
711711 else if ((-(am) > whr))
712712 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
713713 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
714714 }
715715
716716 let r = {
717717 let $l = resParts
718718 let $s = size($l)
719719 let $acc0 = $Tuple4(0, nil, nil, 0)
720720 func $f0_1 ($a,$i) = if (($i >= $s))
721721 then $a
722722 else mvR($a, $l[$i])
723723
724724 func $f0_2 ($a,$i) = if (($i >= $s))
725725 then $a
726726 else throw("List size exceeds 6")
727727
728728 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
729729 }
730730 func mvM (acc,item) = {
731731 let i = acc._1
732732 let am = parseIntValue(item)
733733 let whm = parseIntValue(currWhMat[i])
734734 let bpm = parseIntValue(currentPackMat[i])
735735 if ((am == 0))
736736 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
737737 else if ((am > 0))
738738 then if ((am > bpm))
739739 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
740740 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
741741 else if ((-(am) > whm))
742742 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
743743 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
744744 }
745745
746746 let m = {
747747 let $l = matParts
748748 let $s = size($l)
749749 let $acc0 = $Tuple4(0, nil, nil, r._4)
750750 func $f1_1 ($a,$i) = if (($i >= $s))
751751 then $a
752752 else mvM($a, $l[$i])
753753
754754 func $f1_2 ($a,$i) = if (($i >= $s))
755755 then $a
756756 else throw("List size exceeds 6")
757757
758758 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
759759 }
760760 func mvP (acc,item) = {
761761 let i = acc._1
762762 let am = parseIntValue(item)
763763 let whp = parseIntValue(currWhProd[i])
764764 let bpp = parseIntValue(currentPackProd[i])
765765 if ((am == 0))
766766 then $Tuple4((i + 1), (acc._2 :+ currWhProd[i]), (acc._3 :+ currentPackProd[i]), acc._4)
767767 else if ((am > 0))
768768 then if ((am > bpp))
769769 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
770770 else $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + am))
771771 else if ((-(am) > whp))
772772 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
773773 else $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + am))
774774 }
775775
776776 let p = {
777777 let $l = prodParts
778778 let $s = size($l)
779779 let $acc0 = $Tuple4(0, nil, nil, m._4)
780780 func $f2_1 ($a,$i) = if (($i >= $s))
781781 then $a
782782 else mvP($a, $l[$i])
783783
784784 func $f2_2 ($a,$i) = if (($i >= $s))
785785 then $a
786786 else throw("List size exceeds 50")
787787
788788 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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)
789789 }
790790 let volSaldo = p._4
791791 if ((volSaldo > whSpaceLeft))
792792 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
793793 else $Tuple6(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"))
794794 }
795795 }
796796
797797
798798 func expeditionInternal (caller,txId) = {
799799 let userAddr = toString(caller)
800800 let bigNum = abs(toBigInt(txId))
801801 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
802802 let landNum = toString(freeNum)
803803 let continentIdx = toInt((bigNum % FIVEX))
804804 let terrains = genTerrains(bigNum, continentIdx)
805805 let continent = continents[continentIdx]
806806 let issue = Issue(keyNftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
807807 let assetId = calculateAssetId(issue)
808808 let id = toBase58String(assetId)
809809 $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)], $Tuple2(id, continent))
810810 }
811811
812812
813813 func expeditionCommon (shouldUseMat,caller,txId,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
814814 then throw("signature does not match")
815815 else {
816816 let parts = split(toUtf8String(message), ";")
817817 let hp = split(split(parts[0], "|")[0], "_")
818818 let curHP = parseIntValue(hp[0])
819819 let newHP = parseIntValue(hp[1])
820820 let locAndTime = split(parts[1], ":")
821821 let targetLocation = split(locAndTime[0], "_")
822822 if ((targetLocation[1] != "E"))
823823 then throw("expedition target location type should be E")
824824 else {
825825 let time = parseIntValue(locAndTime[1])
826826 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
827827 then true
828828 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
829829 then throw("signature outdated")
830830 else {
831831 let userAddr = toString(caller)
832832 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
833833 let keyHealth = keyDuckHealth(duckAssetId)
834834 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
835835 if ((oldFromState != curHP))
836836 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
837837 else if ((0 >= curHP))
838838 then throw("You can't fly with zero health")
839839 else if ((0 >= newHP))
840840 then $Tuple2(((if (!(shouldUseMat))
841841 then [ScriptTransfer(caller, EXPUSDT, usdtAssetId)]
842842 else nil) :+ IntegerEntry(keyHealth, 0)), "")
843843 else {
844844 let bpKey = keyBackpackByDuck(duckAssetId)
845845 let currentPack = getBackpack(bpKey)
846846 let mList = split(currentPack[bpIdxMat], "_")
847847 let newMat = makeString(subtractMaterials(shouldUseMat, mList, EXPMATERIALS), "_")
848848 let e = expeditionInternal(caller, txId)
849849 let id = e._2._1
850850 $Tuple2((((e._1 :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, newHP)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))), id)
851851 }
852852 }
853853 }
854854 }
855855
856856
857857 func applyBonuses (landAssetId,pieces) = {
858858 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
859859 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
860860 then pieces
861861 else 0)
862862 let add6 = (infraLevel / 6)
863863 let add7 = (infraLevel / 7)
864864 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
865865 }
866866
867867
868868 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
869869 let $t02430924848 = if ((claimMode == claimModeWh))
870870 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
871871 else {
872872 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
873873 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
874874 let loc = split(value(curLocation), "_")
875875 if ((loc[locIdxType] != "L"))
876876 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
877877 else $Tuple2(loc[locIdxId], duckAssetId)
878878 }
879879 let landAssetId = $t02430924848._1
880880 let duckId = $t02430924848._2
881881 let asset = value(assetInfo(fromBase58String(landAssetId)))
882882 let timeKey = keyStakedTimeByAssetId(landAssetId)
883883 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
884884 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
885885 if ((owner != addr))
886886 then throw((LANDPREFIX + " is not yours"))
887887 else {
888888 let d = split(asset.description, "_")
889889 $Tuple4(duckId, landAssetId, d, savedTime)
890890 }
891891 }
892892
893893
894894 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
895895 then throw("Negative amount")
896896 else {
897897 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
898898 let landSize = c._3[recLandSize]
899899 let terrainCounts = countTerrains(c._3[recTerrains])
900900 let deltaTime = (lastBlock.timestamp - c._4)
901901 if ((0 > deltaTime))
902902 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
903903 else {
904904 let pieces = numPiecesBySize(landSize)
905905 let dailyProductionByPiece = applyBonuses(c._2, pieces)
906906 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
907907 if ((amount > availRes))
908908 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
909909 else {
910910 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
911911 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
912912 let landIndex = (pieces / SSIZE)
913913 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
914914 let whKey = keyWarehouseByLand(c._2)
915915 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
916916 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
917917 let currWhResVol = getWarehouseCurrResVolume(currentWh)
918918 let currWhMatVol = getWarehouseCurrMatVolume(currentWh)
919919 let currWhGoodsVol = getWarehouseCurrGoodsVolume(currentWh)
920920 let currWhLockedVol = parseIntValue(currentWh[whIdxLockedVol])
921921 let whSpaceLeft = ((((getWarehouseVolume(currentWh[whIdxVol]) - currWhResVol) - currWhMatVol) - currWhGoodsVol) - currWhLockedVol)
922922 if (if ((claimMode == claimModeWh))
923923 then (amount > whSpaceLeft)
924924 else false)
925925 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
926926 else {
927927 let bpKey = keyBackpackByDuck(c._1)
928928 let currentPack = getBackpack(bpKey)
929929 let currentPackRes = split(currentPack[bpIdxRes], "_")
930930 let currentWhRes = split(currentWh[whIdxRes], "_")
931931 let $t02749627999 = if ((claimMode == claimModeWh))
932932 then $Tuple2(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes])
933933 else if ((claimMode == claimModeDuck))
934934 then $Tuple2(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece))
935935 else distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
936936 let whRes = $t02749627999._1
937937 let bpRes = $t02749627999._2
938938 $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxVol], whRes, currentWh[whIdxMat], currentWh[whIdxProd], currentWh[whIdxLockedVol]])
939939 }
940940 }
941941 }
942942 }
943943
944944
945945 func claimAll (addr,landAssetId,pieces,claimMode) = {
946946 let timeKey = keyStakedTimeByAssetId(landAssetId)
947947 let savedTime = value(getInteger(timeKey))
948948 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
949949 claimResInternal(addr, availRes, claimMode, landAssetId)
950950 }
951951
952952
953953 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
954954 let addr = toString(caller)
955955 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
956956 let pieces = numPiecesBySize(c._3[recLandSize])
957957 let infraKey = keyInfraLevelByAssetId(c._2)
958958 let curLevel = valueOrElse(getInteger(infraKey), 0)
959959 if ((curLevel >= 3))
960960 then throw("Currently max infrastructure level = 3")
961961 else {
962962 let newLevel = (curLevel + 1)
963963 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
964964 if (if (!(shouldUseMat))
965965 then (paymentAmount != cost)
966966 else false)
967967 then throw(("Payment attached should be " + toString(cost)))
968968 else {
969969 let bpKey = keyBackpackByDuck(c._1)
970970 let currentPack = getBackpack(bpKey)
971971 let mList = split(currentPack[bpIdxMat], "_")
972972 let newMat = makeString(subtractMaterials(shouldUseMat, mList, fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)), "_")
973973 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
974974 let whData = claimResult._5
975975 let newVolData = makeString([split(whData[whIdxVol], "_")[0], toString(newLevel)], "_")
976976 $Tuple2(([IntegerEntry(infraKey, newLevel), IntegerEntry(keyInfraLevelByAssetIdAndOwner(c._2, addr), newLevel), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], claimResult._3[bpIdxRes], newMat, currentPack[bpIdxProd]], ":")), StringEntry(claimResult._4, makeString([newVolData, whData[whIdxRes], whData[whIdxMat], whData[whIdxProd], whData[whIdxLockedVol]], ":"))] ++ claimResult._1), newLevel)
977977 }
978978 }
979979 }
980980
981981
982982 func activatePresaleArt (addr,landAssetIdIn) = {
983983 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
984984 let landAssetId = c._2
985985 let pieces = numPiecesBySize(c._3[recLandSize])
986986 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
987987 if ((valueOrElse(getInteger(activationKey), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
988988 then pieces
989989 else 0) > 0))
990990 then throw("Presale artifact is already activated")
991991 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
992992 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
993993 else {
994994 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
995995 ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
996996 }
997997 }
998998
999999
10001000 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = {
10011001 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
10021002 func checkMerge (acc,landAssetId) = {
10031003 let asset = value(assetInfo(fromBase58String(landAssetId)))
10041004 let timeKey = keyStakedTimeByAssetId(landAssetId)
10051005 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
10061006 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
10071007 if ((owner != addr))
10081008 then throw((LANDPREFIX + " is not yours"))
10091009 else {
10101010 let d = split(asset.description, "_")
10111011 let continent = d[recContinent]
10121012 if (if ((acc._3 != ""))
10131013 then (acc._3 != continent)
10141014 else false)
10151015 then throw("Lands should be on the same continent to merge")
10161016 else {
10171017 let landSize = d[recLandSize]
10181018 let sizesIn = acc._1
10191019 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
10201020 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
10211021 let pieces = numPiecesBySize(landSize)
10221022 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
10231023 then pieces
10241024 else 0))
10251025 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
10261026 let reqLevel = match landSize {
10271027 case _ =>
10281028 if (("S" == $match0))
10291029 then 3
10301030 else if (("M" == $match0))
10311031 then 4
10321032 else if (("L" == $match0))
10331033 then 5
10341034 else if (("XL" == $match0))
10351035 then 6
10361036 else throw("Only S, M, L, XL can merge")
10371037 }
10381038 if ((infraLevel != reqLevel))
10391039 then throw("All lands should be maxed to merge")
10401040 else {
10411041 let landNum = d[recLandNum]
10421042 let terrainCounts = countTerrains(d[recTerrains])
10431043 let deltaTime = (lastBlock.timestamp - savedTime)
10441044 if ((0 > deltaTime))
10451045 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
10461046 else {
10471047 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
10481048 let landIndex = (pieces / SSIZE)
10491049 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
10501050 let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1)
10511051 let lands = acc._7
10521052 let idx = indexOf(lands, landAssetId)
10531053 if (!(isDefined(idx)))
10541054 then throw(("Your staked lands don't contain " + landAssetId))
10551055 else {
10561056 let customKey = keyLandAssetIdToCustomName(landAssetId)
10571057 let customName = valueOrElse(getString(customKey), "")
10581058 $Tuple7(sizesOut, arts, continent, bpRes, ((((((((((((((acc._5 :+ DeleteEntry(keyStakedTimeByAssetId(landAssetId))) :+ DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr))) :+ DeleteEntry(keyLandToAssetId(landNum))) :+ DeleteEntry(keyNftName(landNum, landSize))) :+ DeleteEntry(keyLandAssetIdToOwner(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetId(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, addr))) :+ DeleteEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId))) :+ DeleteEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr))) :+ DeleteEntry(keyLandNumToOwner(landNum))) :+ DeleteEntry(keyWarehouseByLand(landAssetId))) :+ DeleteEntry(customKey)) :+ DeleteEntry(keyLandCustomNameToAssetId(customName))) :+ Burn(fromBase58String(landAssetId), 1)), props, removeByIndex(lands, value(idx)))
10591059 }
10601060 }
10611061 }
10621062 }
10631063 }
10641064 }
10651065
10661066 let bpKey = keyBackpackByDuck(duckAssetId)
10671067 let currentPack = getBackpack(bpKey)
10681068 let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0")
10691069 let landsKey = keyStakedLandsByOwner(addr)
10701070 let landsStr = getString(landsKey)
10711071 let landsIn = if (isDefined(landsStr))
10721072 then split_51C(value(landsStr), "_")
10731073 else nil
10741074 let r = {
10751075 let $l = landAssetIds
10761076 let $s = size($l)
10771077 let $acc0 = $Tuple7(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn)
10781078 func $f0_1 ($a,$i) = if (($i >= $s))
10791079 then $a
10801080 else checkMerge($a, $l[$i])
10811081
10821082 func $f0_2 ($a,$i) = if (($i >= $s))
10831083 then $a
10841084 else throw("List size exceeds 5")
10851085
10861086 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
10871087 }
10881088 let continent = r._3
10891089 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
10901090 let terrains = genTerrains(abs(toBigInt(txId)), continentIdx)
10911091 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
10921092 let newLandNum = toString(freeNum)
10931093 let issue = Issue(keyNftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
10941094 let assetId = calculateAssetId(issue)
10951095 let newLandAssetId = toBase58String(assetId)
10961096 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
10971097 $Tuple2(((((((((((((((r._5 :+ (if ((size(r._7) > 0))
10981098 then StringEntry(landsKey, makeString_11C(r._7, "_"))
10991099 else DeleteEntry(landsKey))) :+ IntegerEntry(keyNextFreeLandNum(), (freeNum + 1))) :+ issue) :+ StringEntry(keyLandToAssetId(newLandNum), newLandAssetId)) :+ StringEntry(keyLandAssetIdToOwner(newLandAssetId), addr)) :+ StringEntry(keyLandNumToOwner(newLandNum), addr)) :+ IntegerEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, newLandAssetId), r._2)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, newLandAssetId, addr), r._2)) :+ IntegerEntry(keyInfraLevelByAssetId(newLandAssetId), newLevel)) :+ IntegerEntry(keyInfraLevelByAssetIdAndOwner(newLandAssetId, addr), newLevel)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], r._4, newMat, currentPack[bpIdxProd]], ":"))) :+ StringEntry(keyResProportions(), r._6)) :+ StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", newLandAssetId], "_"))) :+ ScriptTransfer(addressFromStringValue(addr), 1, assetId)), newLandAssetId)
11001100 }
11011101
11021102
11031103 func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0)
11041104
11051105
11061106 func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11071107 let cost = (InfraUpgradeCostSUsdt * 4)
11081108 if (if (!(shouldUseMat))
11091109 then (paymentAmount != cost)
11101110 else false)
11111111 then throw(("Payment attached should be " + toString(cost)))
11121112 else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4))
11131113 }
11141114
11151115
11161116 func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11171117 let cost = (InfraUpgradeCostSUsdt * 47)
11181118 if (if (!(shouldUseMat))
11191119 then (paymentAmount != cost)
11201120 else false)
11211121 then throw(("Payment attached should be " + toString(cost)))
11221122 else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47))
11231123 }
11241124
11251125
11261126 func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11271127 let cost = (InfraUpgradeCostSUsdt * 54)
11281128 if (if (!(shouldUseMat))
11291129 then (paymentAmount != cost)
11301130 else false)
11311131 then throw(("Payment attached should be " + toString(cost)))
11321132 else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54))
11331133 }
11341134
11351135
11361136 func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = {
11371137 let mergeResult = match size(landAssetIds) {
11381138 case _ =>
11391139 if ((4 == $match0))
11401140 then s2m(addr, landAssetIds, txId)
11411141 else if ((3 == $match0))
11421142 then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11431143 else if ((5 == $match0))
11441144 then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11451145 else if ((2 == $match0))
11461146 then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11471147 else throw("Unknown merge")
11481148 }
11491149 mergeResult
11501150 }
11511151
11521152
11531153 func prolog (i) = if (if ((i.originCaller != restContract))
11541154 then valueOrElse(getBoolean(keyBlocked()), false)
11551155 else false)
11561156 then throw("Contracts are under maintenance")
11571157 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
11581158
11591159
11601160 @Callable(i)
11611161 func constructorV1 (restAddr) = if ((i.caller != this))
11621162 then throw("Permission denied")
11631163 else [StringEntry(keyRestAddress(), restAddr)]
11641164
11651165
11661166
11671167 @Callable(i)
11681168 func setBlocked (isBlocked) = if ((i.caller != this))
11691169 then throw("permission denied")
11701170 else [BooleanEntry(keyBlocked(), isBlocked)]
11711171
11721172
11731173
11741174 @Callable(i)
11751175 func stakeLand () = {
11761176 let prologAction = prolog(i)
11771177 if ((size(i.payments) != 1))
11781178 then throw("Exactly one payment required")
11791179 else {
11801180 let pmt = value(i.payments[0])
11811181 let assetId = value(pmt.assetId)
11821182 let address = toString(i.caller)
11831183 if ((pmt.amount != 1))
11841184 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
11851185 else {
11861186 let asset = value(assetInfo(assetId))
11871187 if ((asset.issuer != this))
11881188 then throw("Unknown issuer of token")
11891189 else if (!(contains(asset.name, LANDPREFIX)))
11901190 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
11911191 else {
11921192 let landNumSize = drop(asset.name, 4)
11931193 let landNum = if (contains(landNumSize, "XXL"))
11941194 then dropRight(landNumSize, 3)
11951195 else if (contains(landNumSize, "XL"))
11961196 then dropRight(landNumSize, 2)
11971197 else dropRight(landNumSize, 1)
11981198 if (!(isDefined(parseInt(landNum))))
11991199 then throw(("Cannot parse land number from " + asset.name))
12001200 else {
12011201 let landAssetId = toBase58String(assetId)
12021202 let timeKey = keyStakedTimeByAssetId(landAssetId)
12031203 if (isDefined(getInteger(timeKey)))
12041204 then throw((("NFT " + asset.name) + " is already staked"))
12051205 else {
12061206 let d = split(asset.description, "_")
12071207 let terrainCounts = countTerrains(d[recTerrains])
12081208 let pieces = numPiecesBySize(d[recLandSize])
12091209 let props = updateProportions(terrainCounts, (pieces / SSIZE), 1)
12101210 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
12111211 then pieces
12121212 else 0)
12131213 let landsStr = getString(keyStakedLandsByOwner(address))
12141214 let lands = if (isDefined(landsStr))
12151215 then split_51C(value(landsStr), "_")
12161216 else nil
12171217 if (containsElement(lands, landAssetId))
12181218 then throw(("Your staked lands already contain " + landAssetId))
12191219 else [IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyStakedLandsByOwner(address), makeString_11C((lands :+ landAssetId), "_")), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, address), artPieces), StringEntry(keyResProportions(), props), prologAction]
12201220 }
12211221 }
12221222 }
12231223 }
12241224 }
12251225 }
12261226
12271227
12281228
12291229 @Callable(i)
12301230 func unstakeLand (landAssetIdIn) = {
12311231 let prologAction = prolog(i)
12321232 if ((size(i.payments) != 0))
12331233 then throw("No payments required")
12341234 else {
12351235 let addr = toString(i.caller)
12361236 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
12371237 let landAssetId = c._2
12381238 let landsKey = keyStakedLandsByOwner(addr)
12391239 let terrainCounts = countTerrains(c._3[recTerrains])
12401240 let pieces = numPiecesBySize(c._3[recLandSize])
12411241 let props = updateProportions(terrainCounts, (pieces / SSIZE), -1)
12421242 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
12431243 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
12441244 let idx = indexOf(lands, landAssetId)
12451245 if (!(isDefined(idx)))
12461246 then throw(("Your staked lands don't contain " + landAssetId))
12471247 else {
12481248 let t = value(blockInfoByHeight(height)).timestamp
12491249 let releaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
12501250 if ((releaseTime >= t))
12511251 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(releaseTime)))
12521252 else [ScriptTransfer(i.caller, 1, fromBase58String(landAssetId)), DeleteEntry(keyStakedTimeByAssetId(landAssetId)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr)), StringEntry(keyResProportions(), props), StringEntry(claimResult._2, makeString(claimResult._3, ":")), if ((size(lands) > 1))
12531253 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
12541254 else DeleteEntry(landsKey), prologAction]
12551255 }
12561256 }
12571257 }
12581258
12591259
12601260
12611261 @Callable(i)
12621262 func stakeDuck () = {
12631263 let prologAction = prolog(i)
12641264 if ((size(i.payments) != 1))
12651265 then throw("Exactly one payment required")
12661266 else {
12671267 let pmt = value(i.payments[0])
12681268 let assetId = value(pmt.assetId)
12691269 let address = toString(i.caller)
12701270 if ((pmt.amount != 1))
12711271 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
12721272 else {
12731273 let asset = value(assetInfo(assetId))
12741274 if (if ((asset.issuer != incubatorAddr))
12751275 then (asset.issuer != breederAddr)
12761276 else false)
12771277 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
12781278 else if (!(contains(asset.name, DUCKPREFIX)))
12791279 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
12801280 else {
12811281 let assetIdStr = toBase58String(assetId)
12821282 let timeKey = keyStakedTimeByAssetId(assetIdStr)
12831283 if (isDefined(getInteger(timeKey)))
12841284 then throw((("NFT " + asset.name) + " is already staked"))
12851285 else if (isDefined(getString(keyStakedDuckByOwner(address))))
12861286 then throw(("You already staked one duck: " + asset.name))
12871287 else {
12881288 let locKey = keyDuckLocation(assetIdStr)
12891289 let location = getString(locKey)
12901290 let bpKey = keyBackpackByDuck(assetIdStr)
12911291 let backpack = getString(bpKey)
12921292 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
12931293 then nil
12941294 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
12951295 then nil
12961296 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyDuckHealth(assetIdStr), 100)) :+ prologAction)))))
12971297 }
12981298 }
12991299 }
13001300 }
13011301 }
13021302
13031303
13041304
13051305 @Callable(i)
13061306 func unstakeDuck (assetIdStr) = {
13071307 let prologAction = prolog(i)
13081308 if ((size(i.payments) != 0))
13091309 then throw("No payments required")
13101310 else {
13111311 let assetId = fromBase58String(assetIdStr)
13121312 let address = toString(i.caller)
13131313 let asset = value(assetInfo(assetId))
13141314 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
13151315 if (!(isDefined(getInteger(timeKey))))
13161316 then throw((("NFT " + asset.name) + " is not staked"))
13171317 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
13181318 then throw((("The duck " + asset.name) + " is not staked"))
13191319 else {
13201320 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
13211321 if ((owner != address))
13221322 then throw("Staked NFT is not yours")
13231323 else {
13241324 let keyHealth = keyDuckHealth(assetIdStr)
13251325 let health = valueOrElse(getInteger(keyHealth), 100)
13261326 if ((health != 100))
13271327 then throw("Please heal your duck before unstaking")
13281328 else [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address)), prologAction]
13291329 }
13301330 }
13311331 }
13321332 }
13331333
13341334
13351335
13361336 @Callable(i)
13371337 func claimRes (amount,landAssetIdStr) = {
13381338 let prologAction = prolog(i)
13391339 if ((size(i.payments) != 0))
13401340 then throw("No payments required")
13411341 else {
13421342 let addr = toString(i.originCaller)
13431343 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
13441344 $Tuple2((((result._1 :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._3[bpIdxRes])
13451345 }
13461346 }
13471347
13481348
13491349
13501350 @Callable(i)
13511351 func claimResToWH (amount,landAssetIdStr) = {
13521352 let prologAction = prolog(i)
13531353 if ((size(i.payments) != 0))
13541354 then throw("No payments required")
13551355 else {
13561356 let addr = toString(i.originCaller)
13571357 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
13581358 $Tuple2((((result._1 :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._5[whIdxRes])
13591359 }
13601360 }
13611361
13621362
13631363
13641364 @Callable(i)
13651365 func flight (message,sig) = {
13661366 let prologAction = prolog(i)
13671367 if (!(sigVerify_8Kb(message, sig, pub)))
13681368 then throw("signature does not match")
13691369 else if ((size(i.payments) != 0))
13701370 then throw("No payments required")
13711371 else {
13721372 let parts = split(toUtf8String(message), ";")
13731373 let hp = split(split(parts[0], "|")[0], "_")
13741374 let curHP = parseIntValue(hp[0])
13751375 let newHP = parseIntValue(hp[1])
13761376 let newLocAndTime = split(parts[1], ":")
13771377 let newLocation = newLocAndTime[0]
13781378 let time = parseIntValue(newLocAndTime[1])
13791379 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
13801380 then true
13811381 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
13821382 then throw("signature outdated")
13831383 else {
13841384 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
13851385 let keyHealth = keyDuckHealth(duckAssetId)
13861386 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
13871387 if ((oldFromState != curHP))
13881388 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
13891389 else if ((0 >= curHP))
13901390 then throw("You can't fly with zero health")
13911391 else {
13921392 let locKey = keyDuckLocation(duckAssetId)
13931393 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
13941394 if ((newLocation == curLocation))
13951395 then throw("You can't fly to the same location")
13961396 else $Tuple2([StringEntry(locKey, if ((newHP > 0))
13971397 then newLocation
13981398 else curLocation), IntegerEntry(keyHealth, newHP), prologAction], unit)
13991399 }
14001400 }
14011401 }
14021402 }
14031403
14041404
14051405
14061406 @Callable(i)
14071407 func setHealth (health,duckAssetId) = {
14081408 let prologAction = prolog(i)
14091409 if (if ((0 > health))
14101410 then true
14111411 else (health > 100))
14121412 then throw("HP should be within 0..100")
14131413 else [IntegerEntry(keyDuckHealth(duckAssetId), health), prologAction]
14141414 }
14151415
14161416
14171417
14181418 @Callable(i)
14191419 func heal (matType,amount) = {
14201420 let prologAction = prolog(i)
14211421 if (if ((0 > matType))
14221422 then true
14231423 else (matType >= NUMRES))
14241424 then throw(("Unknown material: " + toString(matType)))
14251425 else if ((0 >= amount))
14261426 then throw(("Amount should be positive! " + toString(amount)))
14271427 else {
14281428 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
14291429 let keyHealth = keyDuckHealth(duckAssetId)
14301430 let oldHealth = valueOrElse(getInteger(keyHealth), 100)
14311431 if ((oldHealth >= 100))
14321432 then throw("HP should be < 100 to heal")
14331433 else {
14341434 let bpKey = keyBackpackByDuck(duckAssetId)
14351435 let currentPack = getBackpack(bpKey)
14361436 let mList = split(currentPack[bpIdxMat], "_")
14371437 let currentAmount = parseIntValue(mList[matType])
14381438 let deltaHealth = min([(amount / HEALCOST), (100 - oldHealth)])
14391439 let spendAmount = (deltaHealth * HEALCOST)
14401440 if ((spendAmount > currentAmount))
14411441 then throw(((((("You need " + toString(spendAmount)) + " of ") + matTypes[matType]) + " to heal, but you backpack contains ") + toString(currentAmount)))
14421442 else {
14431443 let newMat = subOneInList(mList, matType, spendAmount)
14441444 [IntegerEntry(keyHealth, (oldHealth + deltaHealth)), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":")), prologAction]
14451445 }
14461446 }
14471447 }
14481448 }
14491449
14501450
14511451
14521452 @Callable(i)
14531453 func updateBackpack (duckAssetId,newPack) = {
14541454 let prologAction = prolog(i)
14551455 if ((i.caller != economyContract))
14561456 then throw("permission denied")
14571457 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack), prologAction], newPack)
14581458 }
14591459
14601460
14611461
14621462 @Callable(i)
14631463 func buySLand () = {
14641464 let prologAction = prolog(i)
14651465 if ((size(i.payments) != 1))
14661466 then throw("Exactly one payment required")
14671467 else {
14681468 let pmt = value(i.payments[0])
14691469 if ((pmt.assetId != usdtAssetId))
14701470 then throw("Allowed USDT payment only!")
14711471 else if ((pmt.amount != EXPUSDT))
14721472 then throw(("Payment attached should be " + toString(EXPUSDT)))
14731473 else {
14741474 let result = expeditionInternal(i.caller, i.transactionId)
14751475 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2._1)
14761476 }
14771477 }
14781478 }
14791479
14801480
14811481
14821482 @Callable(i)
14831483 func expedition (message,sig) = {
14841484 let prologAction = prolog(i)
14851485 if ((size(i.payments) != 0))
14861486 then throw("No payments required")
14871487 else {
14881488 let result = expeditionCommon(true, i.caller, i.transactionId, message, sig)
14891489 $Tuple2((result._1 :+ prologAction), result._2)
14901490 }
14911491 }
14921492
14931493
14941494
14951495 @Callable(i)
14961496 func upgradeInfra (landAssetId) = {
14971497 let prologAction = prolog(i)
14981498 if ((size(i.payments) != 0))
14991499 then throw("No payments required")
15001500 else {
15011501 let result = upInfraCommon(true, i.caller, 0, landAssetId)
15021502 $Tuple2((result._1 :+ prologAction), result._2)
15031503 }
15041504 }
15051505
15061506
15071507
15081508 @Callable(i)
15091509 func upgradeInfraUsdt (landAssetId) = if ((i.caller != this))
15101510 then throw("Permission denied")
15111511 else {
15121512 let prologAction = prolog(i)
15131513 if ((size(i.payments) != 1))
15141514 then throw("Exactly one payment required")
15151515 else {
15161516 let pmt = value(i.payments[0])
15171517 if ((pmt.assetId != usdtAssetId))
15181518 then throw("Allowed USDT payment only!")
15191519 else {
15201520 let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId)
15211521 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
15221522 }
15231523 }
15241524 }
15251525
15261526
15271527
15281528 @Callable(i)
15291529 func activateArtifact (artName,landAssetId) = {
15301530 let prologAction = prolog(i)
15311531 if ((size(i.payments) != 0))
15321532 then throw("No payments required")
15331533 else {
15341534 let result = match artName {
15351535 case _ =>
15361536 if (("PRESALE" == $match0))
15371537 then activatePresaleArt(toString(i.caller), landAssetId)
15381538 else throw("Unknown artifact")
15391539 }
15401540 (result :+ prologAction)
15411541 }
15421542 }
15431543
15441544
15451545
15461546 @Callable(i)
15471547 func mergeLands (landAssetIds) = {
15481548 let prologAction = prolog(i)
15491549 if ((size(i.payments) != 0))
15501550 then throw("No payments required")
15511551 else {
15521552 let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId)
15531553 $Tuple2((result._1 :+ prologAction), result._2)
15541554 }
15551555 }
15561556
15571557
15581558
15591559 @Callable(i)
15601560 func mergeLandsUsdt (landAssetIds) = {
15611561 let prologAction = prolog(i)
15621562 if ((size(i.payments) != 1))
15631563 then throw("Exactly one payment required")
15641564 else {
15651565 let pmt = value(i.payments[0])
15661566 if ((pmt.assetId != usdtAssetId))
15671567 then throw("Allowed USDT payment only!")
15681568 else {
15691569 let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId)
15701570 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
15711571 }
15721572 }
15731573 }
15741574
15751575
15761576
15771577 @Callable(i)
15781578 func cargoExchange (cargoListStr,landAssetId) = {
15791579 let prologAction = prolog(i)
15801580 if ((size(i.payments) != 0))
15811581 then throw("No payments required")
15821582 else {
15831583 let cargoParts = split_4C(cargoListStr, ":")
15841584 let addr = toString(i.originCaller)
15851585 let asset = value(assetInfo(fromBase58String(landAssetId)))
15861586 let timeKey = keyStakedTimeByAssetId(landAssetId)
15871587 if (!(isDefined(getInteger(timeKey))))
15881588 then throw((asset.name + " is not staked"))
15891589 else {
15901590 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
15911591 if ((owner != addr))
15921592 then throw((LANDPREFIX + " is not yours"))
15931593 else {
15941594 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
15951595 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
15961596 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
15971597 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
15981598 let loc = split(value(curLocation), "_")
15991599 if ((loc[locIdxType] != "L"))
16001600 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
16011601 else if ((loc[locIdxId] != landAssetId))
16021602 then throw(("Duck should be on the land " + landAssetId))
16031603 else {
16041604 let whKey = keyWarehouseByLand(landAssetId)
16051605 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
16061606 let bpKey = keyBackpackByDuck(duckAssetId)
16071607 let currentPack = getBackpack(bpKey)
16081608 let result = moveStuff(cargoParts, currentWh, currentPack)
16091609 [StringEntry(bpKey, makeString([currentPack[bpIdxLevel], result._4, result._5, result._6], ":")), StringEntry(whKey, makeString([currentWh[whIdxVol], result._1, result._2, result._3, currentWh[whIdxLockedVol]], ":")), prologAction]
16101610 }
16111611 }
16121612 }
16131613 }
16141614 }
16151615
16161616
16171617
16181618 @Callable(i)
16191619 func saveWarehouse (whStr,landAssetId) = {
16201620 let prologAction = prolog(i)
16211621 if ((i.caller != economyContract))
16221622 then throw("Access denied")
16231623 else {
16241624 let whKey = keyWarehouseByLand(landAssetId)
16251625 if ((size(split_4C(whStr, ":")) != 5))
16261626 then throw("warehouse string should contain 4 ':' separators")
16271627 else $Tuple2([StringEntry(whKey, whStr), prologAction], whStr)
16281628 }
16291629 }
16301630
16311631
16321632
16331633 @Callable(i)
16341634 func replaceBooleanArtifact (landAssetId) = if ((i.caller != restContract))
16351635 then throw("Access denied")
16361636 else {
16371637 let boolKey = keyPresaleArtActivatedByAssetId(landAssetId)
16381638 let intKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
16391639 let boolArt = getBoolean(boolKey)
16401640 if (isDefined(boolArt))
16411641 then {
16421642 let d = split(value(assetInfo(fromBase58String(landAssetId))).description, "_")
16431643 let pieces = numPiecesBySize(d[recLandSize])
16441644 let artPieces = valueOrElse(getInteger(intKey), pieces)
16451645 let owner = getString(keyLandAssetIdToOwner(landAssetId))
16461646 let ownerRecords = if (isDefined(owner))
16471647 then [IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, value(owner)), artPieces), DeleteEntry(keyPresaleArtActivatedByAssetIdAndOwner(landAssetId, value(owner)))]
16481648 else nil
16491649 if (value(boolArt))
16501650 then $Tuple2(((ownerRecords :+ IntegerEntry(intKey, artPieces)) :+ DeleteEntry(boolKey)), 2)
16511651 else $Tuple2([DeleteEntry(boolKey)], 1)
16521652 }
16531653 else $Tuple2(nil, 0)
16541654 }
16551655
16561656
16571657
16581658 @Callable(i)
1659-func setCustomName (assetId,customName,type) = {
1660- let prologAction = prolog(i)
1661- if ((size(i.payments) != 1))
1662- then throw("Exactly one payment required")
1663- else {
1664- let pmt = value(i.payments[0])
1665- if ((pmt.assetId != usdtAssetId))
1666- then throw("Allowed USDT payment only!")
1667- else if ((pmt.amount != RENAMINGCOST))
1668- then throw(("Payment should be " + toString(RENAMINGCOST)))
1669- else if (contains(customName, "__"))
1670- then throw(("Name should not contain '__': " + customName))
1671- else {
1672- let addr = toString(i.originCaller)
1673- let actions = match type {
1674- case _ =>
1675- if (("ACCOUNT" == $match0))
1676- then {
1677- let reverseKey = keyCustomNameToAddress(customName)
1678- let oldName = getString(reverseKey)
1679- if (isDefined(oldName))
1680- then throw(("Name already registered: " + customName))
1681- else [StringEntry(keyAddressToCustomName(addr), customName), StringEntry(reverseKey, addr)]
1682- }
1683- else if (("LAND" == $match0))
1659+func setCustomName (assetId,customName,type) = if ((i.caller != this))
1660+ then throw("Permission denied")
1661+ else {
1662+ let prologAction = prolog(i)
1663+ if ((size(i.payments) != 1))
1664+ then throw("Exactly one payment required")
1665+ else {
1666+ let pmt = value(i.payments[0])
1667+ if ((pmt.assetId != usdtAssetId))
1668+ then throw("Allowed USDT payment only!")
1669+ else if ((pmt.amount != RENAMINGCOST))
1670+ then throw(("Payment should be " + toString(RENAMINGCOST)))
1671+ else if (contains(customName, "__"))
1672+ then throw(("Name should not contain '__': " + customName))
1673+ else {
1674+ let addr = toString(i.originCaller)
1675+ let actions = match type {
1676+ case _ =>
1677+ if (("ACCOUNT" == $match0))
16841678 then {
1685- let asset = value(assetInfo(fromBase58String(assetId)))
1686- let timeKey = keyStakedTimeByAssetId(assetId)
1687- if (!(isDefined(getInteger(timeKey))))
1688- then throw((asset.name + " is not staked"))
1689- else {
1690- let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1691- if ((owner != addr))
1692- then throw((LANDPREFIX + " is not yours"))
1693- else {
1694- let reverseKey = keyLandCustomNameToAssetId(customName)
1695- let oldName = getString(reverseKey)
1696- if (isDefined(oldName))
1697- then throw(("Name already registered: " + customName))
1698- else [StringEntry(keyLandAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1699- }
1700- }
1679+ let reverseKey = keyCustomNameToAddress(customName)
1680+ let oldName = getString(reverseKey)
1681+ if (isDefined(oldName))
1682+ then throw(("Name already registered: " + customName))
1683+ else [StringEntry(keyAddressToCustomName(addr), customName), StringEntry(reverseKey, addr)]
17011684 }
1702- else if (("DUCK" == $match0))
1685+ else if (("LAND" == $match0))
17031686 then {
17041687 let asset = value(assetInfo(fromBase58String(assetId)))
17051688 let timeKey = keyStakedTimeByAssetId(assetId)
1706- if (if (!(isDefined(getInteger(timeKey))))
1707- then true
1708- else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
1689+ if (!(isDefined(getInteger(timeKey))))
17091690 then throw((asset.name + " is not staked"))
17101691 else {
1711- let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1692+ let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
17121693 if ((owner != addr))
1713- then throw((DUCKPREFIX + " is not yours"))
1694+ then throw((LANDPREFIX + " is not yours"))
17141695 else {
1715- let reverseKey = keyDuckCustomNameToAssetId(customName)
1696+ let reverseKey = keyLandCustomNameToAssetId(customName)
17161697 let oldName = getString(reverseKey)
17171698 if (isDefined(oldName))
17181699 then throw(("Name already registered: " + customName))
1719- else [StringEntry(keyDuckAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1700+ else [StringEntry(keyLandAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
17201701 }
17211702 }
17221703 }
1723- else throw("Unknown entity type")
1724- }
1725- $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
1726- }
1727- }
1728- }
1704+ else if (("DUCK" == $match0))
1705+ then {
1706+ let asset = value(assetInfo(fromBase58String(assetId)))
1707+ let timeKey = keyStakedTimeByAssetId(assetId)
1708+ if (if (!(isDefined(getInteger(timeKey))))
1709+ then true
1710+ else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
1711+ then throw((asset.name + " is not staked"))
1712+ else {
1713+ let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
1714+ if ((owner != addr))
1715+ then throw((DUCKPREFIX + " is not yours"))
1716+ else {
1717+ let reverseKey = keyDuckCustomNameToAssetId(customName)
1718+ let oldName = getString(reverseKey)
1719+ if (isDefined(oldName))
1720+ then throw(("Name already registered: " + customName))
1721+ else [StringEntry(keyDuckAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
1722+ }
1723+ }
1724+ }
1725+ else throw("Unknown entity type")
1726+ }
1727+ $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
1728+ }
1729+ }
1730+ }
17291731
17301732
17311733
17321734 @Callable(i)
17331735 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
17341736
17351737
17361738
17371739 @Callable(i)
17381740 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
17391741 let terrainCounts = countTerrains(terrains)
17401742 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
17411743 }
17421744
17431745
17441746
17451747 @Callable(i)
17461748 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
17471749
17481750
17491751
17501752 @Callable(i)
17511753 func getWarehouseREADONLY (landAssetId) = {
17521754 let asset = value(assetInfo(fromBase58String(landAssetId)))
17531755 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
17541756 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
17551757 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
17561758 }
17571759
17581760

github/deemru/w8io/169f3d6 
175.66 ms