tx · ESx94b7ZFJufZ3G1VNP6MNoB8gTVpkJoQ42tTVDbWA37 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.03100000 Waves 2023.01.14 19:46 [2404877] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "ESx94b7ZFJufZ3G1VNP6MNoB8gTVpkJoQ42tTVDbWA37", "fee": 3100000, "feeAssetId": null, "timestamp": 1673714841290, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "58KhHLvXm7axxMdJEY7sQH6GbdAqc4C1tk9vA34iU3x5gAN1or34CuCaUQU3Zf7fh1x7tkv1cSEQ1HFfTDwEPmXC" ], "script": "base64:BgJTCAISABIDCgEIEgASAwoBCBIECgIBCBIECgICAhIECgIBCBIECgIBARIECgIICBIECgICAhIECgICAhIDCgEIEgMKAQgSAwoBCBIDCgEYEgMKARhWAAVjaGFpbgkAsAkBCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2RuQXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAEgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEDCQAAAgIBVAUHJG1hdGNoMAEg93bq9/eDymXbbhPuAjvPWCmVqcHRjfJL2mzYHWKAyN4JAAIBAg1Vbmtub3duIGNoYWluAA1pbmN1YmF0b3JBZGRyBAckbWF0Y2gwBQVjaGFpbgMJAAACAgFXBQckbWF0Y2gwCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUEVrdFZ1eDJSaGNoU042M0RzRG80YjRtejRRcXpLU2VEdgMJAAACAgFUBQckbWF0Y2gwBQR0aGlzCQACAQINVW5rbm93biBjaGFpbgALYnJlZWRlckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFBy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pcmUgYW55IHBheW1lbnRzCQELbWVyZ2VDb21tb24FBgkApQgBCAUBaQZjYWxsZXIAAAUMbGFuZEFzc2V0SWRzCAUBaQ10cmFuc2FjdGlvbklkAWkBDm1lcmdlTGFuZHNVc2RuAQxsYW5kQXNzZXRJZHMDCQECIT0CCQCQAwEIBQFpCHBheW1lbnRzAAEJAAIBAhxFeGFjdGx5IG9uZSBwYXltZW50IHJlcXVpcmVkBANwbXQJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAMJAQIhPQIIBQNwbXQHYXNzZXRJZAULdXNkbkFzc2V0SWQJAAIBAhpBbGxvd2VkIFVTRE4gcGF5bWVudCBvbmx5IQQGcmVzdWx0CQELbWVyZ2VDb21tb24FBwkApQgBCAUBaQZjYWxsZXIIBQNwbXQGYW1vdW50BQxsYW5kQXNzZXRJZHMIBQFpDXRyYW5zYWN0aW9uSWQJAJQKAgkAzQgCCAUGcmVzdWx0Al8xCQEOU2NyaXB0VHJhbnNmZXIDBQtlY29ub215QWRkcggFA3BtdAZhbW91bnQFC3VzZG5Bc3NldElkCAUGcmVzdWx0Al8yAA3XvxY=", "height": 2404877, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BMPLrL7JaYrzdyMqEQaof9Z2476EU7k8anQRKiWia9m7 Next: CSj2Lang9fny8wCZJy3ynqzQ5f1sJkfxXAFwqzFjQX6v Diff:
Old | New | Differences | |
---|---|---|---|
652 | 652 | ||
653 | 653 | aH(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4) | |
654 | 654 | } | |
655 | - | let bv = valueOrErrorMessage(indexOf(C, av._3), ("Unknown continent: " + av._3)) | |
655 | + | let bW = av._3 | |
656 | + | let bv = valueOrErrorMessage(indexOf(C, bW), ("Unknown continent: " + bW)) | |
656 | 657 | let aZ = bt(bl(toBigInt(bE)), bv) | |
657 | 658 | let bV = valueOrElse(getInteger(E()), 501) | |
658 | 659 | let cP = toString(bV) | |
659 | - | let bX = Issue(H(cP, cF), makeString([cP, cF, aZ, | |
660 | + | let bX = Issue(H(cP, cF), makeString([cP, cF, aZ, bW], "_"), 1, 0, false) | |
660 | 661 | let K = calculateAssetId(bX) | |
661 | 662 | let cQ = toBase58String(K) | |
662 | 663 | let bT = makeString(aI((cI > 0), split(bR[an], "_"), cI), "_") | |
663 | - | $Tuple2(((((((((((((av._5 :+ IntegerEntry(E(), (bV + 1))) :+ bX) :+ StringEntry(F(cP), cQ)) :+ StringEntry(J(cQ), cf)) :+ StringEntry(Y(cP), cf)) :+ IntegerEntry(S(D, cQ), av._2)) :+ IntegerEntry(U(D, cQ, cf), av._2)) :+ IntegerEntry(N(cQ), cz)) :+ IntegerEntry(O(cQ, cf), cz)) :+ StringEntry(bA, makeString([bR[al], av._4, bT, bR[ao]], ":"))) :+ StringEntry(ad(), av._6)) :+ ScriptTransfer(addressFromStringValue(cf), 1, K)), cQ) | |
664 | + | $Tuple2((((((((((((((av._5 :+ IntegerEntry(E(), (bV + 1))) :+ bX) :+ StringEntry(F(cP), cQ)) :+ StringEntry(J(cQ), cf)) :+ StringEntry(Y(cP), cf)) :+ IntegerEntry(S(D, cQ), av._2)) :+ IntegerEntry(U(D, cQ, cf), av._2)) :+ IntegerEntry(N(cQ), cz)) :+ IntegerEntry(O(cQ, cf), cz)) :+ StringEntry(bA, makeString([bR[al], av._4, bT, bR[ao]], ":"))) :+ StringEntry(ad(), av._6)) :+ StringEntry(ab(aa), makeString([bW, "L", cQ], "_"))) :+ ScriptTransfer(addressFromStringValue(cf), 1, K)), cQ) | |
664 | 665 | } | |
665 | 666 | ||
666 | 667 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = toUtf8String(take(drop(this.bytes, 1), 1)) | |
5 | 5 | ||
6 | 6 | let b = { | |
7 | 7 | let c = a | |
8 | 8 | if (("W" == c)) | |
9 | 9 | then base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
10 | 10 | else if (("T" == c)) | |
11 | 11 | then base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
12 | 12 | else throw("Unknown chain") | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | let d = { | |
16 | 16 | let c = a | |
17 | 17 | if (("W" == c)) | |
18 | 18 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
19 | 19 | else if (("T" == c)) | |
20 | 20 | then this | |
21 | 21 | else throw("Unknown chain") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | let e = { | |
25 | 25 | let c = a | |
26 | 26 | if (("W" == c)) | |
27 | 27 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
28 | 28 | else if (("T" == c)) | |
29 | 29 | then this | |
30 | 30 | else throw("Unknown chain") | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | let f = { | |
34 | 34 | let c = a | |
35 | 35 | if (("W" == c)) | |
36 | 36 | then addressFromStringValue("3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D") | |
37 | 37 | else if (("T" == c)) | |
38 | 38 | then addressFromStringValue("3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep") | |
39 | 39 | else throw("Unknown chain") | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | let g = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
43 | 43 | ||
44 | 44 | let h = 10000 | |
45 | 45 | ||
46 | 46 | let i = "LAND" | |
47 | 47 | ||
48 | 48 | let j = "DUCK" | |
49 | 49 | ||
50 | 50 | let k = "Africa_F_Africa" | |
51 | 51 | ||
52 | 52 | let l = 6 | |
53 | 53 | ||
54 | 54 | let m = 3456000 | |
55 | 55 | ||
56 | 56 | let n = 86400000 | |
57 | 57 | ||
58 | 58 | let o = 300000 | |
59 | 59 | ||
60 | 60 | let p = 158549 | |
61 | 61 | ||
62 | 62 | let q = { | |
63 | 63 | let c = a | |
64 | 64 | if (("W" == c)) | |
65 | 65 | then 18921595217 | |
66 | 66 | else if (("T" == c)) | |
67 | 67 | then 189215952 | |
68 | 68 | else throw("Unknown chain") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | let r = { | |
72 | 72 | let c = a | |
73 | 73 | if (("W" == c)) | |
74 | 74 | then 120000000 | |
75 | 75 | else if (("T" == c)) | |
76 | 76 | then 1200000 | |
77 | 77 | else throw("Unknown chain") | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | let s = { | |
81 | 81 | let c = a | |
82 | 82 | if (("W" == c)) | |
83 | 83 | then 157679960139 | |
84 | 84 | else if (("T" == c)) | |
85 | 85 | then 1576799601 | |
86 | 86 | else throw("Unknown chain") | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | let t = { | |
90 | 90 | let c = a | |
91 | 91 | if (("W" == c)) | |
92 | 92 | then 1000000000 | |
93 | 93 | else if (("T" == c)) | |
94 | 94 | then 10000000 | |
95 | 95 | else throw("Unknown chain") | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | let u = 1000000 | |
99 | 99 | ||
100 | 100 | let v = toBigInt(5) | |
101 | 101 | ||
102 | 102 | let w = toBigInt(20) | |
103 | 103 | ||
104 | 104 | let x = toBigInt((20 * 20)) | |
105 | 105 | ||
106 | 106 | let y = toBigInt(((20 * 20) * 20)) | |
107 | 107 | ||
108 | 108 | let z = toBigInt((((20 * 20) * 20) * 20)) | |
109 | 109 | ||
110 | 110 | let A = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
111 | 111 | ||
112 | 112 | let B = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
113 | 113 | ||
114 | 114 | let C = ["Asia", "Europe", "Americas", "Oceania", "Africa"] | |
115 | 115 | ||
116 | 116 | let D = "PRESALE" | |
117 | 117 | ||
118 | 118 | func E () = "nextLandNum" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func F (G) = ("landToAsset_" + G) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func H (G,I) = ((i + G) + I) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func J (K) = ("nftOwner_" + K) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func L (K) = ("duckOwner_" + K) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func M (K) = ("stakedTime_" + K) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func N (K) = ("infraLevel_" + K) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func O (K,P) = ((("infraLevelByAssetIdAndOwner_" + K) + "_") + P) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Q (K) = ("presaleArtActivated_" + K) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func R (K,P) = ((("presaleArtActivatedByAssetIdAndOwner_" + K) + "_") + P) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func S (T,K) = makeString(["landArtStatus", T, K], "_") | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func U (T,K,P) = makeString(["landArtStatusByTypeAssetIdAndOwner", T, K, P], "_") | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func V (P) = ("stakedDuckByOwner_" + P) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func W (X,K,P) = ((((("stakedTimeByTypeAssetIdAndOwner_" + X) + "_") + K) + "_") + P) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func Y (G) = ("landOwner_" + G) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func Z (aa) = ("backPack_" + aa) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func ab (aa) = ("duckLocation_" + aa) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func ac (aa) = ("duckHealth_" + aa) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func ad () = "resTypesProportions" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | let ae = 0 | |
176 | 176 | ||
177 | 177 | let af = 1 | |
178 | 178 | ||
179 | 179 | let ag = 2 | |
180 | 180 | ||
181 | 181 | let ah = 3 | |
182 | 182 | ||
183 | 183 | let ai = 0 | |
184 | 184 | ||
185 | 185 | let aj = 1 | |
186 | 186 | ||
187 | 187 | let ak = 2 | |
188 | 188 | ||
189 | 189 | let al = 0 | |
190 | 190 | ||
191 | 191 | let am = 1 | |
192 | 192 | ||
193 | 193 | let an = 2 | |
194 | 194 | ||
195 | 195 | let ao = 3 | |
196 | 196 | ||
197 | 197 | func ap (aq) = { | |
198 | 198 | let c = aq | |
199 | 199 | if ($isInstanceOf(c, "String")) | |
200 | 200 | then { | |
201 | 201 | let ar = c | |
202 | 202 | ar | |
203 | 203 | } | |
204 | 204 | else throw("fail to cast into String") | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func as (at) = { | |
209 | 209 | let au = split(value(getString(ad())), "_") | |
210 | 210 | if ((size(au) != l)) | |
211 | 211 | then throw("Wrong proportions data") | |
212 | 212 | else { | |
213 | 213 | let av = [parseIntValue(au[0]), parseIntValue(au[1]), parseIntValue(au[2]), parseIntValue(au[3]), parseIntValue(au[4]), parseIntValue(au[5])] | |
214 | 214 | let aw = (((((av[0] + av[1]) + av[2]) + av[3]) + av[4]) + av[5]) | |
215 | 215 | if ((0 >= aw)) | |
216 | 216 | then throw("No lands staked") | |
217 | 217 | else { | |
218 | 218 | let ax = fraction(at, u, aw) | |
219 | 219 | func ay (az,aA) = (az :+ fraction(aA, ax, u)) | |
220 | 220 | ||
221 | 221 | let aB = av | |
222 | 222 | let aC = size(aB) | |
223 | 223 | let aD = nil | |
224 | 224 | func aE (aF,aG) = if ((aG >= aC)) | |
225 | 225 | then aF | |
226 | 226 | else ay(aF, aB[aG]) | |
227 | 227 | ||
228 | 228 | func aH (aF,aG) = if ((aG >= aC)) | |
229 | 229 | then aF | |
230 | 230 | else throw("List size exceeds 6") | |
231 | 231 | ||
232 | 232 | aH(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6) | |
233 | 233 | } | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aI (aJ,aK,aL) = { | |
239 | 239 | let aM = as(aL) | |
240 | 240 | func aN (az,aO) = { | |
241 | 241 | let aP = (parseIntValue(aK[aO]) - aM[aO]) | |
242 | 242 | if ((0 > aP)) | |
243 | 243 | then throw(((((("Not enough material idx=" + toString(aO)) + ", you have ") + aK[aO]) + ", but need ") + toString(aM[aO]))) | |
244 | 244 | else (az :+ toString(aP)) | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | if (aJ) | |
248 | 248 | then { | |
249 | 249 | let aB = [0, 1, 2, 3, 4, 5] | |
250 | 250 | let aC = size(aB) | |
251 | 251 | let aD = nil | |
252 | 252 | func aE (aF,aG) = if ((aG >= aC)) | |
253 | 253 | then aF | |
254 | 254 | else aN(aF, aB[aG]) | |
255 | 255 | ||
256 | 256 | func aH (aF,aG) = if ((aG >= aC)) | |
257 | 257 | then aF | |
258 | 258 | else throw("List size exceeds 6") | |
259 | 259 | ||
260 | 260 | aH(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6) | |
261 | 261 | } | |
262 | 262 | else aK | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func aQ (aR,aS,aT,aU) = if ((size(aR) != l)) | |
267 | 267 | then throw("Wrong proportions data") | |
268 | 268 | else { | |
269 | 269 | func aV (az,aW) = { | |
270 | 270 | let aP = (parseIntValue(aR[aW]) + ((aU * aS[aW]) * aT)) | |
271 | 271 | if ((0 > aP)) | |
272 | 272 | then throw(((((((("Panic! Pieces of type=" + toString(aW)) + ", sign=") + toString(aU)) + ", terrainCounts[i]=") + toString(aS[aW])) + ", landSizeIndex=") + toString(aT))) | |
273 | 273 | else (az :+ toString(aP)) | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | let av = { | |
277 | 277 | let aB = [0, 1, 2, 3, 4, 5] | |
278 | 278 | let aC = size(aB) | |
279 | 279 | let aD = nil | |
280 | 280 | func aE (aF,aG) = if ((aG >= aC)) | |
281 | 281 | then aF | |
282 | 282 | else aV(aF, aB[aG]) | |
283 | 283 | ||
284 | 284 | func aH (aF,aG) = if ((aG >= aC)) | |
285 | 285 | then aF | |
286 | 286 | else throw("List size exceeds 6") | |
287 | 287 | ||
288 | 288 | aH(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6) | |
289 | 289 | } | |
290 | 290 | makeString(av, "_") | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func aX (aS,aT,aU) = { | |
295 | 295 | let aR = split(valueOrElse(getString(ad()), "0_0_0_0_0_0"), "_") | |
296 | 296 | aQ(aR, aS, aT, aU) | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func aY (aZ) = [(size(split(aZ, "A")) - 1), (size(split(aZ, "B")) - 1), (size(split(aZ, "C")) - 1), (size(split(aZ, "D")) - 1), (size(split(aZ, "E")) - 1), (size(split(aZ, "F")) - 1)] | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func ba (I) = { | |
304 | 304 | let c = I | |
305 | 305 | if (("S" == c)) | |
306 | 306 | then 25 | |
307 | 307 | else if (("M" == c)) | |
308 | 308 | then 100 | |
309 | 309 | else if (("L" == c)) | |
310 | 310 | then 225 | |
311 | 311 | else if (("XL" == c)) | |
312 | 312 | then 400 | |
313 | 313 | else if (("XXL" == c)) | |
314 | 314 | then 625 | |
315 | 315 | else throw("Unknown land size") | |
316 | 316 | } | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func bb (bc,aO,bd) = { | |
320 | 320 | func be (az,aW) = (az :+ (if ((aW == aO)) | |
321 | 321 | then toString((parseIntValue(bc[aW]) - bd)) | |
322 | 322 | else bc[aW])) | |
323 | 323 | ||
324 | 324 | let av = { | |
325 | 325 | let aB = [0, 1, 2, 3, 4, 5] | |
326 | 326 | let aC = size(aB) | |
327 | 327 | let aD = nil | |
328 | 328 | func aE (aF,aG) = if ((aG >= aC)) | |
329 | 329 | then aF | |
330 | 330 | else be(aF, aB[aG]) | |
331 | 331 | ||
332 | 332 | func aH (aF,aG) = if ((aG >= aC)) | |
333 | 333 | then aF | |
334 | 334 | else throw("List size exceeds 6") | |
335 | 335 | ||
336 | 336 | aH(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6) | |
337 | 337 | } | |
338 | 338 | makeString(av, "_") | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func bf (bg,aS,bh,aT,bi) = { | |
343 | 343 | func bj (az,aW) = { | |
344 | 344 | let bk = ((fraction(bh, bi, n) * aS[aW]) * aT) | |
345 | 345 | (az :+ toString((parseIntValue(bg[aW]) + bk))) | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | let av = { | |
349 | 349 | let aB = [0, 1, 2, 3, 4, 5] | |
350 | 350 | let aC = size(aB) | |
351 | 351 | let aD = nil | |
352 | 352 | func aE (aF,aG) = if ((aG >= aC)) | |
353 | 353 | then aF | |
354 | 354 | else bj(aF, aB[aG]) | |
355 | 355 | ||
356 | 356 | func aH (aF,aG) = if ((aG >= aC)) | |
357 | 357 | then aF | |
358 | 358 | else throw("List size exceeds 6") | |
359 | 359 | ||
360 | 360 | aH(aE(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5), 6) | |
361 | 361 | } | |
362 | 362 | makeString(av, "_") | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func bl (bm) = if ((bm >= toBigInt(0))) | |
367 | 367 | then bm | |
368 | 368 | else -(bm) | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | let bn = [[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]] | |
372 | 372 | ||
373 | 373 | func bo (bp,bq) = { | |
374 | 374 | let br = toInt((bp % w)) | |
375 | 375 | let bs = if ((bq[0] > br)) | |
376 | 376 | then "A" | |
377 | 377 | else if ((bq[1] > br)) | |
378 | 378 | then "B" | |
379 | 379 | else if ((bq[2] > br)) | |
380 | 380 | then "C" | |
381 | 381 | else if ((bq[3] > br)) | |
382 | 382 | then "D" | |
383 | 383 | else if ((bq[4] > br)) | |
384 | 384 | then "E" | |
385 | 385 | else "F" | |
386 | 386 | bs | |
387 | 387 | } | |
388 | 388 | ||
389 | 389 | ||
390 | 390 | func bt (bu,bv) = { | |
391 | 391 | let bw = bn[bv] | |
392 | 392 | func bx (az,aA) = $Tuple2((((((az._1 + bo(az._2, bw)) + bo((az._2 / w), bw)) + bo((az._2 / x), bw)) + bo((az._2 / y), bw)) + bo((az._2 / z), bw)), (az._2 / A)) | |
393 | 393 | ||
394 | 394 | let by = { | |
395 | 395 | let aB = [1, 2, 3, 4, 5] | |
396 | 396 | let aC = size(aB) | |
397 | 397 | let aD = $Tuple2("", (bu / v)) | |
398 | 398 | func aE (aF,aG) = if ((aG >= aC)) | |
399 | 399 | then aF | |
400 | 400 | else bx(aF, aB[aG]) | |
401 | 401 | ||
402 | 402 | func aH (aF,aG) = if ((aG >= aC)) | |
403 | 403 | then aF | |
404 | 404 | else throw("List size exceeds 5") | |
405 | 405 | ||
406 | 406 | aH(aE(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4), 5) | |
407 | 407 | } | |
408 | 408 | by._1 | |
409 | 409 | } | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | func bz (bA) = { | |
413 | 413 | let bB = split(valueOrElse(getString(bA), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
414 | 414 | [toString(valueOrElse(parseInt(bB[al]), 0)), if ((size(split(bB[am], "_")) == l)) | |
415 | 415 | then bB[am] | |
416 | 416 | else "0_0_0_0_0_0", if ((size(split(bB[an], "_")) == l)) | |
417 | 417 | then bB[an] | |
418 | 418 | else "0_0_0_0_0_0", bB[ao]] | |
419 | 419 | } | |
420 | 420 | ||
421 | 421 | ||
422 | 422 | func bC (aJ,bD,bE,bF,bG) = if (!(sigVerify_8Kb(bF, bG, g))) | |
423 | 423 | then throw("signature does not match") | |
424 | 424 | else { | |
425 | 425 | let bH = split(toUtf8String(bF), ";") | |
426 | 426 | let bI = split(split(bH[0], "|")[0], "_") | |
427 | 427 | let bJ = parseIntValue(bI[0]) | |
428 | 428 | let bK = parseIntValue(bI[1]) | |
429 | 429 | let bL = split(bH[1], ":") | |
430 | 430 | let bM = split(bL[0], "_") | |
431 | 431 | if ((bM[1] != "E")) | |
432 | 432 | then throw("expedition target location type should be E") | |
433 | 433 | else { | |
434 | 434 | let bN = parseIntValue(bL[1]) | |
435 | 435 | if (if ((bN > (lastBlock.timestamp + o))) | |
436 | 436 | then true | |
437 | 437 | else ((lastBlock.timestamp - o) > bN)) | |
438 | 438 | then throw("signature outdated") | |
439 | 439 | else { | |
440 | 440 | let bO = toString(bD) | |
441 | 441 | let aa = valueOrErrorMessage(getString(V(bO)), "You don't have a duck staked") | |
442 | 442 | let bP = ac(aa) | |
443 | 443 | let bQ = valueOrElse(getInteger(bP), 100) | |
444 | 444 | if ((bQ != bJ)) | |
445 | 445 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bP), 100))) + " from state does not match one from flight log=") + toString(bJ))) | |
446 | 446 | else if ((0 >= bJ)) | |
447 | 447 | then throw("You can't fly with zero health") | |
448 | 448 | else if ((0 >= bK)) | |
449 | 449 | then $Tuple2(((if (!(aJ)) | |
450 | 450 | then [ScriptTransfer(bD, t, b)] | |
451 | 451 | else nil) :+ IntegerEntry(bP, 0)), "") | |
452 | 452 | else { | |
453 | 453 | let bA = Z(aa) | |
454 | 454 | let bR = bz(bA) | |
455 | 455 | let bS = split(bR[an], "_") | |
456 | 456 | let bT = makeString(aI(aJ, bS, s), "_") | |
457 | 457 | let bU = bl(toBigInt(bE)) | |
458 | 458 | let bV = valueOrElse(getInteger(E()), 501) | |
459 | 459 | let G = toString(bV) | |
460 | 460 | let bv = toInt((bU % v)) | |
461 | 461 | let aZ = bt(bU, bv) | |
462 | 462 | let bW = C[bv] | |
463 | 463 | let bX = Issue(H(G, "S"), makeString([G, "S", aZ, bW], "_"), 1, 0, false) | |
464 | 464 | let K = calculateAssetId(bX) | |
465 | 465 | let bY = toBase58String(K) | |
466 | 466 | $Tuple2([IntegerEntry(E(), (bV + 1)), bX, StringEntry(F(G), bY), StringEntry(J(bY), bO), StringEntry(Y(G), bO), IntegerEntry(N(bY), 0), IntegerEntry(O(bY, bO), 0), ScriptTransfer(bD, 1, K), StringEntry(ab(aa), makeString([bW, "L", bY], "_")), IntegerEntry(bP, bK), StringEntry(bA, makeString([bR[al], bR[am], bT, bR[ao]], ":"))], bY) | |
467 | 467 | } | |
468 | 468 | } | |
469 | 469 | } | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | func bZ (ca,cb) = { | |
474 | 474 | let cc = valueOrElse(getInteger(N(ca)), 0) | |
475 | 475 | let cd = valueOrElse(getInteger(S(D, ca)), if (valueOrElse(getBoolean(Q(ca)), false)) | |
476 | 476 | then cb | |
477 | 477 | else 0) | |
478 | 478 | ((m + fraction(m, cc, 4)) + fraction(m, (cd * 3), (cb * 20))) | |
479 | 479 | } | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | func ce (cf) = { | |
483 | 483 | let aa = valueOrErrorMessage(getString(V(cf)), "You don't have a duck staked") | |
484 | 484 | let cg = valueOrElse(getString(ab(aa)), k) | |
485 | 485 | let ch = split(value(cg), "_") | |
486 | 486 | if ((ch[aj] != "L")) | |
487 | 487 | then throw((("Duck location type is " + ch[aj]) + ", but should be L")) | |
488 | 488 | else { | |
489 | 489 | let ca = ch[ak] | |
490 | 490 | let ci = value(assetInfo(fromBase58String(ca))) | |
491 | 491 | let cj = M(ca) | |
492 | 492 | let ck = valueOrErrorMessage(getInteger(cj), (("NFT " + ci.name) + " is not staked")) | |
493 | 493 | let cl = valueOrErrorMessage(getString(J(ca)), (("NFT " + ci.name) + " is orphaned")) | |
494 | 494 | if ((cl != cf)) | |
495 | 495 | then throw((i + " is not yours")) | |
496 | 496 | else { | |
497 | 497 | let cm = split(ci.description, "_") | |
498 | 498 | $Tuple4(aa, ca, cm, ck) | |
499 | 499 | } | |
500 | 500 | } | |
501 | 501 | } | |
502 | 502 | ||
503 | 503 | ||
504 | 504 | func cn (cf,bd) = { | |
505 | 505 | let co = ce(cf) | |
506 | 506 | let I = co._3[af] | |
507 | 507 | let aS = aY(co._3[ag]) | |
508 | 508 | let bh = (lastBlock.timestamp - co._4) | |
509 | 509 | if ((0 > bh)) | |
510 | 510 | then throw(((("Saved timestamp is in future, saved = " + toString(co._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
511 | 511 | else { | |
512 | 512 | let cb = ba(I) | |
513 | 513 | let cp = bZ(co._2, cb) | |
514 | 514 | let cq = fraction(bh, (cp * cb), n) | |
515 | 515 | if ((bd > cq)) | |
516 | 516 | then throw(((("Not enough resources, available = " + toString(cq)) + ", requested = ") + toString(bd))) | |
517 | 517 | else { | |
518 | 518 | let cr = fraction((cq - bd), n, (cp * cb)) | |
519 | 519 | let cs = (lastBlock.timestamp - cr) | |
520 | 520 | let bA = Z(co._1) | |
521 | 521 | let bR = bz(bA) | |
522 | 522 | let bg = split(bR[am], "_") | |
523 | 523 | let ct = bf(bg, aS, (bh - cr), (cb / 25), cp) | |
524 | 524 | $Tuple3([IntegerEntry(M(co._2), cs), IntegerEntry(W(i, co._2, cf), cs)], bA, [bR[al], ct, bR[an], bR[ao]]) | |
525 | 525 | } | |
526 | 526 | } | |
527 | 527 | } | |
528 | 528 | ||
529 | 529 | ||
530 | 530 | func cu (cf,ca,cb) = { | |
531 | 531 | let cj = M(ca) | |
532 | 532 | let ck = value(getInteger(cj)) | |
533 | 533 | let cq = (fraction((lastBlock.timestamp - ck), bZ(ca, cb), n) * cb) | |
534 | 534 | cn(cf, cq) | |
535 | 535 | } | |
536 | 536 | ||
537 | 537 | ||
538 | 538 | func cv (aJ,bD,cw) = { | |
539 | 539 | let cf = toString(bD) | |
540 | 540 | let co = ce(cf) | |
541 | 541 | let cb = ba(co._3[af]) | |
542 | 542 | let cx = N(co._2) | |
543 | 543 | let cy = valueOrElse(getInteger(cx), 0) | |
544 | 544 | if ((cy >= 3)) | |
545 | 545 | then throw("Currently max infrastructure level = 3") | |
546 | 546 | else { | |
547 | 547 | let cz = (cy + 1) | |
548 | 548 | let cA = fraction(r, (cb * cz), 25) | |
549 | 549 | if (if (!(aJ)) | |
550 | 550 | then (cw != cA) | |
551 | 551 | else false) | |
552 | 552 | then throw(("Payment attached should be " + toString(cA))) | |
553 | 553 | else { | |
554 | 554 | let bA = Z(co._1) | |
555 | 555 | let bR = bz(bA) | |
556 | 556 | let bS = split(bR[an], "_") | |
557 | 557 | let bT = makeString(aI(aJ, bS, fraction(q, (cb * cz), 25)), "_") | |
558 | 558 | let cB = cu(cf, co._2, cb) | |
559 | 559 | $Tuple2(([IntegerEntry(cx, cz), IntegerEntry(O(co._2, cf), cz), StringEntry(bA, makeString([bR[al], cB._3[am], bT, bR[ao]], ":"))] ++ cB._1), cz) | |
560 | 560 | } | |
561 | 561 | } | |
562 | 562 | } | |
563 | 563 | ||
564 | 564 | ||
565 | 565 | func cC (cf) = { | |
566 | 566 | let co = ce(cf) | |
567 | 567 | let ca = co._2 | |
568 | 568 | let cD = Q(ca) | |
569 | 569 | if (valueOrElse(getBoolean(cD), false)) | |
570 | 570 | then throw("Presale artifact is already activated") | |
571 | 571 | else if ((parseIntValue(co._3[ae]) > 500)) | |
572 | 572 | then throw((((i + " ") + ca) + " is not eligible for presale artifact")) | |
573 | 573 | else { | |
574 | 574 | let cb = ba(co._3[af]) | |
575 | 575 | let cB = cu(cf, ca, cb) | |
576 | 576 | (((((cB._1 :+ BooleanEntry(cD, true)) :+ BooleanEntry(R(ca, cf), true)) :+ IntegerEntry(S(D, ca), cb)) :+ IntegerEntry(U(D, ca, cf), cb)) :+ StringEntry(cB._2, makeString(cB._3, ":"))) | |
577 | 577 | } | |
578 | 578 | } | |
579 | 579 | ||
580 | 580 | ||
581 | 581 | func cE (cF,cz,cG,cf,cH,bE,cI) = { | |
582 | 582 | let aa = valueOrErrorMessage(getString(V(cf)), "You don't have a duck staked") | |
583 | 583 | func cJ (az,ca) = { | |
584 | 584 | let ci = value(assetInfo(fromBase58String(ca))) | |
585 | 585 | let cj = M(ca) | |
586 | 586 | let ck = valueOrErrorMessage(getInteger(cj), (("NFT " + ci.name) + " is not staked")) | |
587 | 587 | let cl = valueOrErrorMessage(getString(J(ca)), (("NFT " + ci.name) + " is orphaned")) | |
588 | 588 | if ((cl != cf)) | |
589 | 589 | then throw((i + " is not yours")) | |
590 | 590 | else { | |
591 | 591 | let cm = split(ci.description, "_") | |
592 | 592 | let bW = cm[ah] | |
593 | 593 | if (if ((az._3 != "")) | |
594 | 594 | then (az._3 != bW) | |
595 | 595 | else false) | |
596 | 596 | then throw("Lands should be on the same continent to merge") | |
597 | 597 | else { | |
598 | 598 | let I = cm[af] | |
599 | 599 | let cK = az._1 | |
600 | 600 | let aW = valueOrErrorMessage(indexOf(cK, I), "You haven't passed all the lands needed") | |
601 | 601 | let cL = (take(cK, aW) + drop(cK, (aW + 1))) | |
602 | 602 | let cb = ba(I) | |
603 | 603 | let cM = (az._2 + valueOrElse(getInteger(S(D, ca)), if (valueOrElse(getBoolean(Q(ca)), false)) | |
604 | 604 | then cb | |
605 | 605 | else 0)) | |
606 | 606 | let cc = valueOrElse(getInteger(N(ca)), 0) | |
607 | 607 | let cN = { | |
608 | 608 | let c = I | |
609 | 609 | if (("S" == c)) | |
610 | 610 | then 3 | |
611 | 611 | else if (("M" == c)) | |
612 | 612 | then 4 | |
613 | 613 | else if (("L" == c)) | |
614 | 614 | then 5 | |
615 | 615 | else if (("XL" == c)) | |
616 | 616 | then 6 | |
617 | 617 | else throw("Only S, M, L, XL can merge") | |
618 | 618 | } | |
619 | 619 | if ((cc != cN)) | |
620 | 620 | then throw("All lands should be maxed to merge") | |
621 | 621 | else { | |
622 | 622 | let G = cm[ae] | |
623 | 623 | let aS = aY(cm[ag]) | |
624 | 624 | let bh = (lastBlock.timestamp - ck) | |
625 | 625 | if ((0 > bh)) | |
626 | 626 | then throw(((("Saved timestamp is in future, saved = " + toString(ck)) + ", current = ") + toString(lastBlock.timestamp))) | |
627 | 627 | else { | |
628 | 628 | let cp = bZ(ca, cb) | |
629 | 629 | let ct = bf(split(az._4, "_"), aS, bh, (cb / 25), cp) | |
630 | 630 | let au = aQ(split(az._6, "_"), aS, (cb / 25), -1) | |
631 | 631 | $Tuple6(cL, cM, bW, ct, (((((((((((((az._5 :+ DeleteEntry(M(ca))) :+ DeleteEntry(W(i, ca, cf))) :+ DeleteEntry(F(G))) :+ DeleteEntry(H(G, I))) :+ DeleteEntry(J(ca))) :+ DeleteEntry(N(ca))) :+ DeleteEntry(O(ca, cf))) :+ DeleteEntry(Q(ca))) :+ DeleteEntry(R(ca, cf))) :+ DeleteEntry(S(D, ca))) :+ DeleteEntry(U(D, ca, cf))) :+ DeleteEntry(Y(G))) :+ Burn(fromBase58String(ca), 1)), au) | |
632 | 632 | } | |
633 | 633 | } | |
634 | 634 | } | |
635 | 635 | } | |
636 | 636 | } | |
637 | 637 | ||
638 | 638 | let bA = Z(aa) | |
639 | 639 | let bR = bz(bA) | |
640 | 640 | let cO = valueOrElse(getString(ad()), "0_0_0_0_0_0") | |
641 | 641 | let av = { | |
642 | 642 | let aB = cH | |
643 | 643 | let aC = size(aB) | |
644 | 644 | let aD = $Tuple6(cG, 0, "", bR[am], nil, cO) | |
645 | 645 | func aE (aF,aG) = if ((aG >= aC)) | |
646 | 646 | then aF | |
647 | 647 | else cJ(aF, aB[aG]) | |
648 | 648 | ||
649 | 649 | func aH (aF,aG) = if ((aG >= aC)) | |
650 | 650 | then aF | |
651 | 651 | else throw("List size exceeds 4") | |
652 | 652 | ||
653 | 653 | aH(aE(aE(aE(aE(aD, 0), 1), 2), 3), 4) | |
654 | 654 | } | |
655 | - | let bv = valueOrErrorMessage(indexOf(C, av._3), ("Unknown continent: " + av._3)) | |
655 | + | let bW = av._3 | |
656 | + | let bv = valueOrErrorMessage(indexOf(C, bW), ("Unknown continent: " + bW)) | |
656 | 657 | let aZ = bt(bl(toBigInt(bE)), bv) | |
657 | 658 | let bV = valueOrElse(getInteger(E()), 501) | |
658 | 659 | let cP = toString(bV) | |
659 | - | let bX = Issue(H(cP, cF), makeString([cP, cF, aZ, | |
660 | + | let bX = Issue(H(cP, cF), makeString([cP, cF, aZ, bW], "_"), 1, 0, false) | |
660 | 661 | let K = calculateAssetId(bX) | |
661 | 662 | let cQ = toBase58String(K) | |
662 | 663 | let bT = makeString(aI((cI > 0), split(bR[an], "_"), cI), "_") | |
663 | - | $Tuple2(((((((((((((av._5 :+ IntegerEntry(E(), (bV + 1))) :+ bX) :+ StringEntry(F(cP), cQ)) :+ StringEntry(J(cQ), cf)) :+ StringEntry(Y(cP), cf)) :+ IntegerEntry(S(D, cQ), av._2)) :+ IntegerEntry(U(D, cQ, cf), av._2)) :+ IntegerEntry(N(cQ), cz)) :+ IntegerEntry(O(cQ, cf), cz)) :+ StringEntry(bA, makeString([bR[al], av._4, bT, bR[ao]], ":"))) :+ StringEntry(ad(), av._6)) :+ ScriptTransfer(addressFromStringValue(cf), 1, K)), cQ) | |
664 | + | $Tuple2((((((((((((((av._5 :+ IntegerEntry(E(), (bV + 1))) :+ bX) :+ StringEntry(F(cP), cQ)) :+ StringEntry(J(cQ), cf)) :+ StringEntry(Y(cP), cf)) :+ IntegerEntry(S(D, cQ), av._2)) :+ IntegerEntry(U(D, cQ, cf), av._2)) :+ IntegerEntry(N(cQ), cz)) :+ IntegerEntry(O(cQ, cf), cz)) :+ StringEntry(bA, makeString([bR[al], av._4, bT, bR[ao]], ":"))) :+ StringEntry(ad(), av._6)) :+ StringEntry(ab(aa), makeString([bW, "L", cQ], "_"))) :+ ScriptTransfer(addressFromStringValue(cf), 1, K)), cQ) | |
664 | 665 | } | |
665 | 666 | ||
666 | 667 | ||
667 | 668 | func cR (cf,cH,bE) = cE("M", 3, "SSSS", cf, cH, bE, 0) | |
668 | 669 | ||
669 | 670 | ||
670 | 671 | func cS (cf,cH,bE,aJ,cw) = { | |
671 | 672 | let cA = (r * 4) | |
672 | 673 | if (if (!(aJ)) | |
673 | 674 | then (cw != cA) | |
674 | 675 | else false) | |
675 | 676 | then throw(("Payment attached should be " + toString(cA))) | |
676 | 677 | else cE("L", 4, "SMM", cf, cH, bE, (q * 4)) | |
677 | 678 | } | |
678 | 679 | ||
679 | 680 | ||
680 | 681 | func cT (cf,cH,bE,aJ,cw) = { | |
681 | 682 | let cA = (r * 47) | |
682 | 683 | if (if (!(aJ)) | |
683 | 684 | then (cw != cA) | |
684 | 685 | else false) | |
685 | 686 | then throw(("Payment attached should be " + toString(cA))) | |
686 | 687 | else cE("XL", 5, "SSSML", cf, cH, bE, (q * 47)) | |
687 | 688 | } | |
688 | 689 | ||
689 | 690 | ||
690 | 691 | func cU (cf,cH,bE,aJ,cw) = { | |
691 | 692 | let cA = (r * 54) | |
692 | 693 | if (if (!(aJ)) | |
693 | 694 | then (cw != cA) | |
694 | 695 | else false) | |
695 | 696 | then throw(("Payment attached should be " + toString(cA))) | |
696 | 697 | else cE("XXL", 6, "LXL", cf, cH, bE, (q * 54)) | |
697 | 698 | } | |
698 | 699 | ||
699 | 700 | ||
700 | 701 | func cV (aJ,cf,cw,cH,bE) = { | |
701 | 702 | let cW = { | |
702 | 703 | let c = size(cH) | |
703 | 704 | if ((4 == c)) | |
704 | 705 | then cR(cf, cH, bE) | |
705 | 706 | else if ((3 == c)) | |
706 | 707 | then cS(cf, cH, bE, aJ, cw) | |
707 | 708 | else if ((5 == c)) | |
708 | 709 | then cT(cf, cH, bE, aJ, cw) | |
709 | 710 | else if ((2 == c)) | |
710 | 711 | then cU(cf, cH, bE, aJ, cw) | |
711 | 712 | else throw("Unknown merge") | |
712 | 713 | } | |
713 | 714 | cW | |
714 | 715 | } | |
715 | 716 | ||
716 | 717 | ||
717 | 718 | @Callable(aW) | |
718 | 719 | func stakeLand () = { | |
719 | 720 | let cX = value(aW.payments[0]) | |
720 | 721 | let K = value(cX.assetId) | |
721 | 722 | let cY = toString(aW.caller) | |
722 | 723 | if ((cX.amount != 1)) | |
723 | 724 | then throw((("NFT " + i) + " token should be attached as payment")) | |
724 | 725 | else { | |
725 | 726 | let ci = value(assetInfo(K)) | |
726 | 727 | if ((ci.issuer != this)) | |
727 | 728 | then throw("Unknown issuer of token") | |
728 | 729 | else if (!(contains(ci.name, i))) | |
729 | 730 | then throw((("Only NFT " + i) + " tokens are accepted")) | |
730 | 731 | else { | |
731 | 732 | let cZ = drop(ci.name, 4) | |
732 | 733 | let G = if (contains(cZ, "XXL")) | |
733 | 734 | then dropRight(cZ, 3) | |
734 | 735 | else if (contains(cZ, "XL")) | |
735 | 736 | then dropRight(cZ, 2) | |
736 | 737 | else dropRight(cZ, 1) | |
737 | 738 | let da = valueOrErrorMessage(parseInt(G), ("Cannot parse land number from " + ci.name)) | |
738 | 739 | let ca = toBase58String(K) | |
739 | 740 | let cj = M(ca) | |
740 | 741 | if (isDefined(getInteger(cj))) | |
741 | 742 | then throw((("NFT " + ci.name) + " is already staked")) | |
742 | 743 | else { | |
743 | 744 | let cm = split(ci.description, "_") | |
744 | 745 | let aS = aY(cm[ag]) | |
745 | 746 | let au = aX(aS, (ba(cm[af]) / 25), 1) | |
746 | 747 | [IntegerEntry(cj, lastBlock.timestamp), IntegerEntry(W(i, ca, cY), lastBlock.timestamp), StringEntry(J(ca), cY), StringEntry(Y(G), cY), StringEntry(ad(), au)] | |
747 | 748 | } | |
748 | 749 | } | |
749 | 750 | } | |
750 | 751 | } | |
751 | 752 | ||
752 | 753 | ||
753 | 754 | ||
754 | 755 | @Callable(aW) | |
755 | 756 | func unstakeLand (db) = if ((size(aW.payments) != 0)) | |
756 | 757 | then throw("unstake doesn't require any payments") | |
757 | 758 | else { | |
758 | 759 | let cf = toString(aW.caller) | |
759 | 760 | let co = ce(cf) | |
760 | 761 | let aS = aY(co._3[ag]) | |
761 | 762 | let cb = ba(co._3[af]) | |
762 | 763 | let au = aX(aS, (cb / 25), -1) | |
763 | 764 | let cB = cu(cf, co._2, cb) | |
764 | 765 | [ScriptTransfer(aW.caller, 1, fromBase58String(co._2)), DeleteEntry(M(co._2)), DeleteEntry(W(i, co._2, cf)), StringEntry(ad(), au), StringEntry(cB._2, makeString(cB._3, ":"))] | |
765 | 766 | } | |
766 | 767 | ||
767 | 768 | ||
768 | 769 | ||
769 | 770 | @Callable(aW) | |
770 | 771 | func stakeDuck () = { | |
771 | 772 | let cX = value(aW.payments[0]) | |
772 | 773 | let K = value(cX.assetId) | |
773 | 774 | let cY = toString(aW.caller) | |
774 | 775 | if ((cX.amount != 1)) | |
775 | 776 | then throw((("NFT " + j) + " token should be attached as payment")) | |
776 | 777 | else { | |
777 | 778 | let ci = value(assetInfo(K)) | |
778 | 779 | if (if ((ci.issuer != d)) | |
779 | 780 | then (ci.issuer != e) | |
780 | 781 | else false) | |
781 | 782 | then throw((("Unknown issuer of " + j) + " token")) | |
782 | 783 | else if (!(contains(ci.name, j))) | |
783 | 784 | then throw((("Only NFT " + j) + " tokens are accepted")) | |
784 | 785 | else { | |
785 | 786 | let dc = toBase58String(K) | |
786 | 787 | let cj = M(dc) | |
787 | 788 | if (isDefined(getInteger(cj))) | |
788 | 789 | then throw((("NFT " + ci.name) + " is already staked")) | |
789 | 790 | else if (isDefined(getString(V(cY)))) | |
790 | 791 | then throw(("You already staked one duck: " + ci.name)) | |
791 | 792 | else { | |
792 | 793 | let dd = ab(dc) | |
793 | 794 | let de = getString(dd) | |
794 | 795 | let bP = ac(dc) | |
795 | 796 | let df = getInteger(bP) | |
796 | 797 | let bA = Z(dc) | |
797 | 798 | let dg = getString(bA) | |
798 | 799 | ([IntegerEntry(cj, lastBlock.timestamp), IntegerEntry(W(j, toBase58String(K), cY), lastBlock.timestamp), StringEntry(L(dc), cY), StringEntry(V(cY), dc)] ++ (if (isDefined(de)) | |
799 | 800 | then nil | |
800 | 801 | else ([StringEntry(dd, k)] ++ (if (isDefined(df)) | |
801 | 802 | then nil | |
802 | 803 | else ([IntegerEntry(bP, 100)] ++ (if (isDefined(dg)) | |
803 | 804 | then nil | |
804 | 805 | else [StringEntry(bA, "0:0_0_0_0_0_0:0_0_0_0_0_0:")])))))) | |
805 | 806 | } | |
806 | 807 | } | |
807 | 808 | } | |
808 | 809 | } | |
809 | 810 | ||
810 | 811 | ||
811 | 812 | ||
812 | 813 | @Callable(aW) | |
813 | 814 | func unstakeDuck (dc) = if ((size(aW.payments) != 0)) | |
814 | 815 | then throw("unstake doesn't require any payments") | |
815 | 816 | else { | |
816 | 817 | let K = fromBase58String(dc) | |
817 | 818 | let cY = toString(aW.caller) | |
818 | 819 | let ci = value(assetInfo(K)) | |
819 | 820 | if (if ((ci.issuer != d)) | |
820 | 821 | then (ci.issuer != e) | |
821 | 822 | else false) | |
822 | 823 | then throw((("Unknown issuer of " + j) + " token")) | |
823 | 824 | else if (!(contains(ci.name, j))) | |
824 | 825 | then throw((("Only NFT " + j) + " tokens can be unstaked")) | |
825 | 826 | else { | |
826 | 827 | let cj = M(toBase58String(K)) | |
827 | 828 | if (!(isDefined(cj))) | |
828 | 829 | then throw((("NFT " + ci.name) + " is not staked")) | |
829 | 830 | else if (!(isDefined(V(cY)))) | |
830 | 831 | then throw((("The duck " + ci.name) + " is not staked")) | |
831 | 832 | else { | |
832 | 833 | let cl = valueOrErrorMessage(getString(L(toBase58String(K))), (("NFT " + ci.name) + " is orphaned")) | |
833 | 834 | if ((cl != cY)) | |
834 | 835 | then throw("Staked NFT is not yours") | |
835 | 836 | else [ScriptTransfer(aW.caller, 1, K), DeleteEntry(cj), DeleteEntry(ab(dc)), DeleteEntry(L(dc)), DeleteEntry(W(j, dc, cY)), DeleteEntry(V(cY))] | |
836 | 837 | } | |
837 | 838 | } | |
838 | 839 | } | |
839 | 840 | ||
840 | 841 | ||
841 | 842 | ||
842 | 843 | @Callable(aW) | |
843 | 844 | func claimRes (bd,db) = if ((size(aW.payments) != 0)) | |
844 | 845 | then throw("claimRes doesn't require any payments") | |
845 | 846 | else { | |
846 | 847 | let cf = toString(aW.originCaller) | |
847 | 848 | let aP = cn(cf, bd) | |
848 | 849 | $Tuple2((aP._1 :+ StringEntry(aP._2, makeString(aP._3, ":"))), aP._3[am]) | |
849 | 850 | } | |
850 | 851 | ||
851 | 852 | ||
852 | 853 | ||
853 | 854 | @Callable(aW) | |
854 | 855 | func flight (bF,bG) = if (!(sigVerify_8Kb(bF, bG, g))) | |
855 | 856 | then throw("signature does not match") | |
856 | 857 | else if ((size(aW.payments) != 0)) | |
857 | 858 | then throw("flight doesn't require any payments") | |
858 | 859 | else { | |
859 | 860 | let bH = split(toUtf8String(bF), ";") | |
860 | 861 | let bI = split(split(bH[0], "|")[0], "_") | |
861 | 862 | let bJ = parseIntValue(bI[0]) | |
862 | 863 | let bK = parseIntValue(bI[1]) | |
863 | 864 | let dh = split(bH[1], ":") | |
864 | 865 | let di = dh[0] | |
865 | 866 | let bN = parseIntValue(dh[1]) | |
866 | 867 | if (if ((bN > (lastBlock.timestamp + o))) | |
867 | 868 | then true | |
868 | 869 | else ((lastBlock.timestamp - o) > bN)) | |
869 | 870 | then throw("signature outdated") | |
870 | 871 | else { | |
871 | 872 | let aa = valueOrErrorMessage(getString(V(toString(aW.caller))), "You don't have a duck staked") | |
872 | 873 | let bP = ac(aa) | |
873 | 874 | let bQ = valueOrElse(getInteger(bP), 100) | |
874 | 875 | if ((bQ != bJ)) | |
875 | 876 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bP), 100))) + " from state does not match one from flight log=") + toString(bJ))) | |
876 | 877 | else if ((0 >= bJ)) | |
877 | 878 | then throw("You can't fly with zero health") | |
878 | 879 | else { | |
879 | 880 | let dd = ab(aa) | |
880 | 881 | let cg = valueOrElse(getString(dd), k) | |
881 | 882 | if ((di == cg)) | |
882 | 883 | then throw("You can't fly to the same location") | |
883 | 884 | else $Tuple2([StringEntry(dd, if ((bK > 0)) | |
884 | 885 | then di | |
885 | 886 | else cg), IntegerEntry(bP, bK)], unit) | |
886 | 887 | } | |
887 | 888 | } | |
888 | 889 | } | |
889 | 890 | ||
890 | 891 | ||
891 | 892 | ||
892 | 893 | @Callable(aW) | |
893 | 894 | func setHealth (df,aa) = if (if ((0 > df)) | |
894 | 895 | then true | |
895 | 896 | else (df > 100)) | |
896 | 897 | then throw("HP should be within 0..100") | |
897 | 898 | else [IntegerEntry(ac(aa), df)] | |
898 | 899 | ||
899 | 900 | ||
900 | 901 | ||
901 | 902 | @Callable(aW) | |
902 | 903 | func heal (dj,bd) = if (if ((0 > dj)) | |
903 | 904 | then true | |
904 | 905 | else (dj >= l)) | |
905 | 906 | then throw(("Unknown material: " + toString(dj))) | |
906 | 907 | else if ((0 >= bd)) | |
907 | 908 | then throw(("Amount should be positive! " + toString(bd))) | |
908 | 909 | else { | |
909 | 910 | let aa = valueOrErrorMessage(getString(V(toString(aW.caller))), "You don't have a duck staked") | |
910 | 911 | let bP = ac(aa) | |
911 | 912 | let dk = valueOrElse(getInteger(bP), 100) | |
912 | 913 | if ((dk >= 100)) | |
913 | 914 | then throw("HP should be < 100 to heal") | |
914 | 915 | else { | |
915 | 916 | let bA = Z(aa) | |
916 | 917 | let bR = bz(bA) | |
917 | 918 | let bS = split(bR[an], "_") | |
918 | 919 | let dl = parseIntValue(bS[dj]) | |
919 | 920 | let dm = min([(bd / h), (100 - dk)]) | |
920 | 921 | let dn = (dm * h) | |
921 | 922 | if ((dn > dl)) | |
922 | 923 | then throw(((((("You need " + toString(dn)) + " of ") + B[dj]) + " to heal, but you backpack contains ") + toString(dl))) | |
923 | 924 | else { | |
924 | 925 | let bT = bb(bS, dj, dn) | |
925 | 926 | [IntegerEntry(bP, (dk + dm)), StringEntry(bA, makeString([bR[al], bR[am], bT, bR[ao]], ":"))] | |
926 | 927 | } | |
927 | 928 | } | |
928 | 929 | } | |
929 | 930 | ||
930 | 931 | ||
931 | 932 | ||
932 | 933 | @Callable(aW) | |
933 | 934 | func updateBackpack (aa,do) = if ((aW.caller != f)) | |
934 | 935 | then throw("permission denied") | |
935 | 936 | else $Tuple2([StringEntry(Z(aa), do)], do) | |
936 | 937 | ||
937 | 938 | ||
938 | 939 | ||
939 | 940 | @Callable(aW) | |
940 | 941 | func expeditionBuy (bF,bG) = if ((size(aW.payments) != 1)) | |
941 | 942 | then throw("Exactly one payment required") | |
942 | 943 | else { | |
943 | 944 | let cX = value(aW.payments[0]) | |
944 | 945 | if ((cX.assetId != b)) | |
945 | 946 | then throw("Allowed USDN payment only!") | |
946 | 947 | else if ((cX.amount != t)) | |
947 | 948 | then throw(("Payment attached should be " + toString(t))) | |
948 | 949 | else { | |
949 | 950 | let aP = bC(false, aW.caller, aW.transactionId, bF, bG) | |
950 | 951 | $Tuple2((aP._1 :+ ScriptTransfer(f, cX.amount, b)), aP._2) | |
951 | 952 | } | |
952 | 953 | } | |
953 | 954 | ||
954 | 955 | ||
955 | 956 | ||
956 | 957 | @Callable(aW) | |
957 | 958 | func expedition (bF,bG) = if ((size(aW.payments) != 0)) | |
958 | 959 | then throw("expedition doesn't require any payments") | |
959 | 960 | else bC(true, aW.caller, aW.transactionId, bF, bG) | |
960 | 961 | ||
961 | 962 | ||
962 | 963 | ||
963 | 964 | @Callable(aW) | |
964 | 965 | func upgradeInfra (dp) = if ((size(aW.payments) != 0)) | |
965 | 966 | then throw("Infrastructure upgrade doesn't require any payments") | |
966 | 967 | else cv(true, aW.caller, 0) | |
967 | 968 | ||
968 | 969 | ||
969 | 970 | ||
970 | 971 | @Callable(aW) | |
971 | 972 | func upgradeInfraUsdn (dp) = if ((size(aW.payments) != 1)) | |
972 | 973 | then throw("Exactly one payment required") | |
973 | 974 | else { | |
974 | 975 | let cX = value(aW.payments[0]) | |
975 | 976 | if ((cX.assetId != b)) | |
976 | 977 | then throw("Allowed USDN payment only!") | |
977 | 978 | else { | |
978 | 979 | let aP = cv(false, aW.caller, cX.amount) | |
979 | 980 | $Tuple2((aP._1 :+ ScriptTransfer(f, cX.amount, b)), aP._2) | |
980 | 981 | } | |
981 | 982 | } | |
982 | 983 | ||
983 | 984 | ||
984 | 985 | ||
985 | 986 | @Callable(aW) | |
986 | 987 | func activateArtifact (dq) = if ((size(aW.payments) != 0)) | |
987 | 988 | then throw("Artifact activation doesn't require any payments") | |
988 | 989 | else { | |
989 | 990 | let aP = { | |
990 | 991 | let c = dq | |
991 | 992 | if (("PRESALE" == c)) | |
992 | 993 | then cC(toString(aW.caller)) | |
993 | 994 | else throw("Unknown artifact") | |
994 | 995 | } | |
995 | 996 | aP | |
996 | 997 | } | |
997 | 998 | ||
998 | 999 | ||
999 | 1000 | ||
1000 | 1001 | @Callable(aW) | |
1001 | 1002 | func mergeLands (cH) = if ((size(aW.payments) != 0)) | |
1002 | 1003 | then throw("Lands merging doesn't require any payments") | |
1003 | 1004 | else cV(true, toString(aW.caller), 0, cH, aW.transactionId) | |
1004 | 1005 | ||
1005 | 1006 | ||
1006 | 1007 | ||
1007 | 1008 | @Callable(aW) | |
1008 | 1009 | func mergeLandsUsdn (cH) = if ((size(aW.payments) != 1)) | |
1009 | 1010 | then throw("Exactly one payment required") | |
1010 | 1011 | else { | |
1011 | 1012 | let cX = value(aW.payments[0]) | |
1012 | 1013 | if ((cX.assetId != b)) | |
1013 | 1014 | then throw("Allowed USDN payment only!") | |
1014 | 1015 | else { | |
1015 | 1016 | let aP = cV(false, toString(aW.caller), cX.amount, cH, aW.transactionId) | |
1016 | 1017 | $Tuple2((aP._1 :+ ScriptTransfer(f, cX.amount, b)), aP._2) | |
1017 | 1018 | } | |
1018 | 1019 | } | |
1019 | 1020 | ||
1020 | 1021 |
github/deemru/w8io/026f985 106.94 ms ◑