tx · 3KmqUY2sH7NFrZfRSkLUsSnwcZakfHBZB9By45uSfspj 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.02500000 Waves 2023.01.04 21:15 [2390561] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "3KmqUY2sH7NFrZfRSkLUsSnwcZakfHBZB9By45uSfspj", "fee": 2500000, "feeAssetId": null, "timestamp": 1672856104761, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "5w3HwW42wfC8bxHhXTWzWtcaxVdsftScNCPiN7ZY8acqKgkDJqQgZ5s1agVWes8fQ8otzdb6xpny8fQcn8KZYmLv" ], "script": "base64:BgJECAISABIDCgEIEgASAwoBCBIECgIBCBIECgICAhIECgIBCBIECgIBARIECgIICBIECgICAhIECgICAhIDCgEIEgMKAQhHAAVjaGFpbgkAsAkBCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAt1c2RuQXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAEgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEDCQAAAgIBVAUHJG1hdGNoMAEg93bq9/eDymXbbhPuAjvPWCmVqcHRjfJL2mzYHWKAyN4JAAIBAg1Vbmtub3duIGNoYWluAA1pbmN1YmF0b3JBZGRyBAckbWF0Y2gwBQVjaGFpbgMJAAACAgFXBQckbWF0Y2gwCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUEVrdFZ1eDJSaGNoU042M0RzRG80YjRtejRRcXpLU2VEdgMJAAACAgFUBQckbWF0Y2gwBQR0aGlzCQACAQINVW5rbm93biBjaGFpbgALYnJlZWRlckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2Z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IaQWxsb3dlZCBVU0ROIHBheW1lbnQgb25seSEECG5ld0xldmVsCQBkAgkBC3ZhbHVlT3JFbHNlAgkAnwgBCQEWa2V5SW5mcmFMZXZlbEJ5QXNzZXRJZAEFC2xhbmRBc3NldElkAAAAAQQFYXNzZXQJAQV2YWx1ZQEJAOwHAQkA2QQBBQtsYW5kQXNzZXRJZAQBZAkAtQkCCAUFYXNzZXQLZGVzY3JpcHRpb24CAV8EBGNvc3QJAGsDBRVJbmZyYVVwZ3JhZGVDb3N0U1VzZG4JAGgCCQEPbnVtUGllY2VzQnlTaXplAQkAkQMCBQFkBQtyZWNMYW5kU2l6ZQUIbmV3TGV2ZWwAGQMJAQIhPQIIBQNwbXQGYW1vdW50BQRjb3N0CQACAQkArAICAhtQYXltZW50IGF0dGFjaGVkIHNob3VsZCBiZSAJAKQDAQUEY29zdAkBDXVwSW5mcmFDb21tb24DBwgFAWkGY2FsbGVyBQtsYW5kQXNzZXRJZADQM9n6", "height": 2390561, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DZMse8VpcuNYrx9CAssKY8u72p6yPLLUPK8vKcowGrxi Next: AcVVsBoj3WReYh1Y9Sx18LhYGwSeu28Pud4tdCcg5fbA Diff:
Old | New | Differences | |
---|---|---|---|
669 | 669 | let cg = valueOrErrorMessage(getString(L(toBase58String(K))), (("NFT " + cf.name) + " is orphaned")) | |
670 | 670 | if ((cg != cm)) | |
671 | 671 | then throw("Staked NFT is not yours") | |
672 | - | else [ScriptTransfer(aQ.caller, 1, K), DeleteEntry(bW), DeleteEntry(W(cq)), DeleteEntry(R(j, cq, cm)), DeleteEntry(P(cm))] | |
672 | + | else [ScriptTransfer(aQ.caller, 1, K), DeleteEntry(bW), DeleteEntry(W(cq)), DeleteEntry(L(cq)), DeleteEntry(R(j, cq, cm)), DeleteEntry(P(cm))] | |
673 | 673 | } | |
674 | 674 | } | |
675 | 675 | } |
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 = { | |
99 | 99 | let c = a | |
100 | 100 | if (("W" == c)) | |
101 | 101 | then 1673136000000 | |
102 | 102 | else if (("T" == c)) | |
103 | 103 | then 1672790400000 | |
104 | 104 | else throw("Unknown chain") | |
105 | 105 | } | |
106 | 106 | ||
107 | 107 | let v = 1000000 | |
108 | 108 | ||
109 | 109 | let w = toBigInt(5) | |
110 | 110 | ||
111 | 111 | let x = toBigInt(20) | |
112 | 112 | ||
113 | 113 | let y = toBigInt((20 * 20)) | |
114 | 114 | ||
115 | 115 | let z = toBigInt(((20 * 20) * 20)) | |
116 | 116 | ||
117 | 117 | let A = toBigInt((((20 * 20) * 20) * 20)) | |
118 | 118 | ||
119 | 119 | let B = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
120 | 120 | ||
121 | 121 | let C = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
122 | 122 | ||
123 | 123 | let D = ["Asia", "Europe", "Americas", "Oceania", "Africa"] | |
124 | 124 | ||
125 | 125 | func E () = "nextLandNum" | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func F (G) = ("landToAsset_" + G) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func H (G,I) = ((i + G) + I) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func J (K) = ("nftOwner_" + K) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func L (K) = ("duckOwner_" + K) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func M (K) = ("stakedTime_" + K) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func N (K) = ("infraLevel_" + K) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func O (K) = ("presaleArtActivated_" + K) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func P (Q) = ("stakedDuckByOwner_" + Q) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func R (S,K,Q) = ((((("stakedTimeByTypeAssetIdAndOwner_" + S) + "_") + K) + "_") + Q) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func T (G) = ("landOwner_" + G) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func U (V) = ("backPack_" + V) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func W (V) = ("duckLocation_" + V) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func X (V) = ("duckHealth_" + V) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func Y () = "resTypesProportions" | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | let Z = 0 | |
171 | 171 | ||
172 | 172 | let aa = 1 | |
173 | 173 | ||
174 | 174 | let ab = 2 | |
175 | 175 | ||
176 | 176 | let ac = 3 | |
177 | 177 | ||
178 | 178 | let ad = 0 | |
179 | 179 | ||
180 | 180 | let ae = 1 | |
181 | 181 | ||
182 | 182 | let af = 2 | |
183 | 183 | ||
184 | 184 | let ag = 0 | |
185 | 185 | ||
186 | 186 | let ah = 1 | |
187 | 187 | ||
188 | 188 | let ai = 2 | |
189 | 189 | ||
190 | 190 | let aj = 3 | |
191 | 191 | ||
192 | 192 | func ak (al) = { | |
193 | 193 | let c = al | |
194 | 194 | if ($isInstanceOf(c, "String")) | |
195 | 195 | then { | |
196 | 196 | let am = c | |
197 | 197 | am | |
198 | 198 | } | |
199 | 199 | else throw("fail to cast into String") | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func an (ao) = { | |
204 | 204 | let ap = split(value(getString(Y())), "_") | |
205 | 205 | if ((size(ap) != l)) | |
206 | 206 | then throw("Wrong proportions data") | |
207 | 207 | else { | |
208 | 208 | let aq = [parseIntValue(ap[0]), parseIntValue(ap[1]), parseIntValue(ap[2]), parseIntValue(ap[3]), parseIntValue(ap[4]), parseIntValue(ap[5])] | |
209 | 209 | let ar = (((((aq[0] + aq[1]) + aq[2]) + aq[3]) + aq[4]) + aq[5]) | |
210 | 210 | if ((0 >= ar)) | |
211 | 211 | then throw("No lands staked") | |
212 | 212 | else { | |
213 | 213 | let as = fraction(ao, v, ar) | |
214 | 214 | func at (au,av) = (au :+ fraction(av, as, v)) | |
215 | 215 | ||
216 | 216 | let aw = aq | |
217 | 217 | let ax = size(aw) | |
218 | 218 | let ay = nil | |
219 | 219 | func az (aA,aB) = if ((aB >= ax)) | |
220 | 220 | then aA | |
221 | 221 | else at(aA, aw[aB]) | |
222 | 222 | ||
223 | 223 | func aC (aA,aB) = if ((aB >= ax)) | |
224 | 224 | then aA | |
225 | 225 | else throw("List size exceeds 6") | |
226 | 226 | ||
227 | 227 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
228 | 228 | } | |
229 | 229 | } | |
230 | 230 | } | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func aD (aE,aF,aG) = { | |
234 | 234 | let aH = an(aG) | |
235 | 235 | func aI (au,aJ) = { | |
236 | 236 | let aK = (parseIntValue(aF[aJ]) - aH[aJ]) | |
237 | 237 | if ((0 > aK)) | |
238 | 238 | then throw(((((("Not enough material idx=" + toString(aJ)) + ", you have ") + aF[aJ]) + ", but need ") + toString(aH[aJ]))) | |
239 | 239 | else (au :+ toString(aK)) | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | if (aE) | |
243 | 243 | then { | |
244 | 244 | let aw = [0, 1, 2, 3, 4, 5] | |
245 | 245 | let ax = size(aw) | |
246 | 246 | let ay = nil | |
247 | 247 | func az (aA,aB) = if ((aB >= ax)) | |
248 | 248 | then aA | |
249 | 249 | else aI(aA, aw[aB]) | |
250 | 250 | ||
251 | 251 | func aC (aA,aB) = if ((aB >= ax)) | |
252 | 252 | then aA | |
253 | 253 | else throw("List size exceeds 6") | |
254 | 254 | ||
255 | 255 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
256 | 256 | } | |
257 | 257 | else aF | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | func aL (aM,aN,aO) = { | |
262 | 262 | let ap = split(valueOrElse(getString(Y()), "0_0_0_0_0_0"), "_") | |
263 | 263 | if ((size(ap) != l)) | |
264 | 264 | then throw("Wrong proportions data") | |
265 | 265 | else { | |
266 | 266 | func aP (au,aQ) = { | |
267 | 267 | let aK = (parseIntValue(ap[aQ]) + ((aO * aM[aQ]) * aN)) | |
268 | 268 | if ((0 > aK)) | |
269 | 269 | then throw(((((((("Panic! Pieces of type=" + toString(aQ)) + ", sign=") + toString(aO)) + ", terrainCounts[i]=") + toString(aM[aQ])) + ", landSizeIndex=") + toString(aN))) | |
270 | 270 | else (au :+ toString(aK)) | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | let aq = { | |
274 | 274 | let aw = [0, 1, 2, 3, 4, 5] | |
275 | 275 | let ax = size(aw) | |
276 | 276 | let ay = nil | |
277 | 277 | func az (aA,aB) = if ((aB >= ax)) | |
278 | 278 | then aA | |
279 | 279 | else aP(aA, aw[aB]) | |
280 | 280 | ||
281 | 281 | func aC (aA,aB) = if ((aB >= ax)) | |
282 | 282 | then aA | |
283 | 283 | else throw("List size exceeds 6") | |
284 | 284 | ||
285 | 285 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
286 | 286 | } | |
287 | 287 | makeString(aq, "_") | |
288 | 288 | } | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func aR (aS) = [(size(split(aS, "A")) - 1), (size(split(aS, "B")) - 1), (size(split(aS, "C")) - 1), (size(split(aS, "D")) - 1), (size(split(aS, "E")) - 1), (size(split(aS, "F")) - 1)] | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func aT (I) = { | |
296 | 296 | let c = I | |
297 | 297 | if (("S" == c)) | |
298 | 298 | then 25 | |
299 | 299 | else if (("M" == c)) | |
300 | 300 | then 100 | |
301 | 301 | else if (("L" == c)) | |
302 | 302 | then 225 | |
303 | 303 | else if (("XL" == c)) | |
304 | 304 | then 400 | |
305 | 305 | else if (("XXL" == c)) | |
306 | 306 | then 625 | |
307 | 307 | else throw("Unknown land size") | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func aU (aV,aJ,aW) = { | |
312 | 312 | func aX (au,aQ) = (au :+ (if ((aQ == aJ)) | |
313 | 313 | then toString((parseIntValue(aV[aQ]) - aW)) | |
314 | 314 | else aV[aQ])) | |
315 | 315 | ||
316 | 316 | let aq = { | |
317 | 317 | let aw = [0, 1, 2, 3, 4, 5] | |
318 | 318 | let ax = size(aw) | |
319 | 319 | let ay = nil | |
320 | 320 | func az (aA,aB) = if ((aB >= ax)) | |
321 | 321 | then aA | |
322 | 322 | else aX(aA, aw[aB]) | |
323 | 323 | ||
324 | 324 | func aC (aA,aB) = if ((aB >= ax)) | |
325 | 325 | then aA | |
326 | 326 | else throw("List size exceeds 6") | |
327 | 327 | ||
328 | 328 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
329 | 329 | } | |
330 | 330 | makeString(aq, "_") | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func aY (aZ,aM,ba,aN,bb) = { | |
335 | 335 | func bc (au,aQ) = { | |
336 | 336 | let bd = ((fraction(ba, bb, n) * aM[aQ]) * aN) | |
337 | 337 | (au :+ toString((parseIntValue(aZ[aQ]) + bd))) | |
338 | 338 | } | |
339 | 339 | ||
340 | 340 | let aq = { | |
341 | 341 | let aw = [0, 1, 2, 3, 4, 5] | |
342 | 342 | let ax = size(aw) | |
343 | 343 | let ay = nil | |
344 | 344 | func az (aA,aB) = if ((aB >= ax)) | |
345 | 345 | then aA | |
346 | 346 | else bc(aA, aw[aB]) | |
347 | 347 | ||
348 | 348 | func aC (aA,aB) = if ((aB >= ax)) | |
349 | 349 | then aA | |
350 | 350 | else throw("List size exceeds 6") | |
351 | 351 | ||
352 | 352 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
353 | 353 | } | |
354 | 354 | makeString(aq, "_") | |
355 | 355 | } | |
356 | 356 | ||
357 | 357 | ||
358 | 358 | func be (bf) = if ((bf >= toBigInt(0))) | |
359 | 359 | then bf | |
360 | 360 | else -(bf) | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | let bg = [[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]] | |
364 | 364 | ||
365 | 365 | func bh (bi,bj) = { | |
366 | 366 | let bk = toInt((bi % x)) | |
367 | 367 | let bl = if ((bj[0] > bk)) | |
368 | 368 | then "A" | |
369 | 369 | else if ((bj[1] > bk)) | |
370 | 370 | then "B" | |
371 | 371 | else if ((bj[2] > bk)) | |
372 | 372 | then "C" | |
373 | 373 | else if ((bj[3] > bk)) | |
374 | 374 | then "D" | |
375 | 375 | else if ((bj[4] > bk)) | |
376 | 376 | then "E" | |
377 | 377 | else "F" | |
378 | 378 | bl | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | func bm (bn) = { | |
383 | 383 | let bo = split(valueOrElse(getString(bn), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
384 | 384 | [toString(valueOrElse(parseInt(bo[ag]), 0)), if ((size(split(bo[ah], "_")) == l)) | |
385 | 385 | then bo[ah] | |
386 | 386 | else "0_0_0_0_0_0", if ((size(split(bo[ai], "_")) == l)) | |
387 | 387 | then bo[ai] | |
388 | 388 | else "0_0_0_0_0_0", bo[aj]] | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | func bp (aE,bq,br,bs,bt) = if (!(sigVerify_8Kb(bs, bt, g))) | |
393 | 393 | then throw("signature does not match") | |
394 | 394 | else { | |
395 | 395 | let bu = split(toUtf8String(bs), ";") | |
396 | 396 | let bv = split(split(bu[0], "|")[0], "_") | |
397 | 397 | let bw = parseIntValue(bv[0]) | |
398 | 398 | let bx = parseIntValue(bv[1]) | |
399 | 399 | let by = split(bu[1], ":") | |
400 | 400 | let bz = split(by[0], "_") | |
401 | 401 | if ((bz[1] != "E")) | |
402 | 402 | then throw("expedition target location type should be E") | |
403 | 403 | else { | |
404 | 404 | let bA = parseIntValue(by[1]) | |
405 | 405 | if (if ((bA > (lastBlock.timestamp + o))) | |
406 | 406 | then true | |
407 | 407 | else ((lastBlock.timestamp - o) > bA)) | |
408 | 408 | then throw("signature outdated") | |
409 | 409 | else { | |
410 | 410 | let bB = toString(bq) | |
411 | 411 | let V = valueOrErrorMessage(getString(P(bB)), "You don't have a duck staked") | |
412 | 412 | let bC = X(V) | |
413 | 413 | let bD = valueOrElse(getInteger(bC), 100) | |
414 | 414 | if ((bD != bw)) | |
415 | 415 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw))) | |
416 | 416 | else if ((0 >= bw)) | |
417 | 417 | then throw("You can't fly with zero health") | |
418 | 418 | else if ((0 >= bx)) | |
419 | 419 | then $Tuple2(((if (!(aE)) | |
420 | 420 | then [ScriptTransfer(bq, t, b)] | |
421 | 421 | else nil) :+ IntegerEntry(bC, 0)), "") | |
422 | 422 | else { | |
423 | 423 | let bn = U(V) | |
424 | 424 | let bE = bm(bn) | |
425 | 425 | let bF = split(bE[ai], "_") | |
426 | 426 | let bG = makeString(aD(aE, bF, s), "_") | |
427 | 427 | let bH = be(toBigInt(br)) | |
428 | 428 | let bI = valueOrElse(getInteger(E()), 501) | |
429 | 429 | let G = toString(bI) | |
430 | 430 | let bJ = toInt((bH % w)) | |
431 | 431 | let bK = bg[bJ] | |
432 | 432 | func bL (au,av) = $Tuple2((((((au._1 + bh(au._2, bK)) + bh((au._2 / x), bK)) + bh((au._2 / y), bK)) + bh((au._2 / z), bK)) + bh((au._2 / A), bK)), (au._2 / B)) | |
433 | 433 | ||
434 | 434 | let bM = { | |
435 | 435 | let aw = [1, 2, 3, 4, 5] | |
436 | 436 | let ax = size(aw) | |
437 | 437 | let ay = $Tuple2("", (bH / w)) | |
438 | 438 | func az (aA,aB) = if ((aB >= ax)) | |
439 | 439 | then aA | |
440 | 440 | else bL(aA, aw[aB]) | |
441 | 441 | ||
442 | 442 | func aC (aA,aB) = if ((aB >= ax)) | |
443 | 443 | then aA | |
444 | 444 | else throw("List size exceeds 5") | |
445 | 445 | ||
446 | 446 | aC(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5) | |
447 | 447 | } | |
448 | 448 | let bN = D[bJ] | |
449 | 449 | let bO = Issue(H(G, "S"), makeString([G, "S", bM._1, bN], "_"), 1, 0, false) | |
450 | 450 | let K = calculateAssetId(bO) | |
451 | 451 | let bP = toBase58String(K) | |
452 | 452 | $Tuple2([IntegerEntry(E(), (bI + 1)), bO, StringEntry(F(G), bP), StringEntry(J(bP), bB), StringEntry(T(G), bB), IntegerEntry(N(bP), 0), ScriptTransfer(bq, 1, K), StringEntry(W(V), makeString([bN, "L", bP], "_")), IntegerEntry(bC, bx), StringEntry(bn, makeString([bE[ag], bE[ah], bG, bE[aj]], ":"))], bP) | |
453 | 453 | } | |
454 | 454 | } | |
455 | 455 | } | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | func bQ (bR) = { | |
460 | 460 | let bS = valueOrElse(getInteger(N(bR)), 0) | |
461 | 461 | let bT = if (valueOrElse(getBoolean(O(bR)), false)) | |
462 | 462 | then 3 | |
463 | 463 | else 0 | |
464 | 464 | ((m + fraction(m, bS, 4)) + fraction(m, bT, 20)) | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | func bU (bR,bV) = { | |
469 | 469 | let bW = M(bR) | |
470 | 470 | let bX = valueOrErrorMessage(getInteger(bW), (((i + " ") + bR) + " is not staked")) | |
471 | 471 | let ba = (lastBlock.timestamp - bX) | |
472 | 472 | if ((0 > ba)) | |
473 | 473 | then throw(((("Saved timestamp is in future, saved = " + toString(bX)) + ", current = ") + toString(lastBlock.timestamp))) | |
474 | 474 | else { | |
475 | 475 | let bY = bQ(bR) | |
476 | 476 | let bZ = (fraction(ba, bY, n) * bV) | |
477 | 477 | ak(invoke(this, "claimRes", [bZ, bR], nil)) | |
478 | 478 | } | |
479 | 479 | } | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | func ca (aE,bq,bR) = { | |
483 | 483 | let cb = toString(bq) | |
484 | 484 | let cc = N(bR) | |
485 | 485 | let cd = valueOrElse(getInteger(cc), 0) | |
486 | 486 | if ((cd >= 3)) | |
487 | 487 | then throw("Currently max infrastructure level = 3") | |
488 | 488 | else { | |
489 | 489 | let ce = (cd + 1) | |
490 | 490 | let cf = value(assetInfo(fromBase58String(bR))) | |
491 | 491 | if (!(contains(cf.name, i))) | |
492 | 492 | then throw((("NFT " + i) + " token should be passed as param")) | |
493 | 493 | else { | |
494 | 494 | let cg = getStringValue(J(bR)) | |
495 | 495 | if ((cg != cb)) | |
496 | 496 | then throw((i + " is not yours")) | |
497 | 497 | else { | |
498 | 498 | let ch = split(cf.description, "_") | |
499 | 499 | let I = ch[aa] | |
500 | 500 | let bV = aT(I) | |
501 | 501 | let V = valueOrErrorMessage(getString(P(cb)), "You don't have a duck staked") | |
502 | 502 | let ci = valueOrElse(getString(W(V)), k) | |
503 | 503 | let cj = split(value(ci), "_") | |
504 | 504 | if ((cj[ae] != "L")) | |
505 | 505 | then throw((("Duck location type is " + cj[ae]) + ", but should be L")) | |
506 | 506 | else if ((cj[af] != bR)) | |
507 | 507 | then throw(((("Duck location id is " + cj[af]) + ", but should be ") + bR)) | |
508 | 508 | else { | |
509 | 509 | let bn = U(V) | |
510 | 510 | let bE = bm(bn) | |
511 | 511 | let bF = split(bE[ai], "_") | |
512 | 512 | let bG = makeString(aD(aE, bF, fraction(q, (bV * ce), 25)), "_") | |
513 | 513 | let ck = bU(bR, bV) | |
514 | 514 | $Tuple2([IntegerEntry(cc, ce), StringEntry(bn, makeString([bE[ag], ck, bG, bE[aj]], ":"))], ce) | |
515 | 515 | } | |
516 | 516 | } | |
517 | 517 | } | |
518 | 518 | } | |
519 | 519 | } | |
520 | 520 | ||
521 | 521 | ||
522 | 522 | @Callable(aQ) | |
523 | 523 | func stakeLand () = { | |
524 | 524 | let cl = value(aQ.payments[0]) | |
525 | 525 | let K = value(cl.assetId) | |
526 | 526 | let cm = toString(aQ.caller) | |
527 | 527 | if ((cl.amount != 1)) | |
528 | 528 | then throw((("NFT " + i) + " token should be attached as payment")) | |
529 | 529 | else { | |
530 | 530 | let cf = value(assetInfo(K)) | |
531 | 531 | if ((cf.issuer != this)) | |
532 | 532 | then throw("Unknown issuer of token") | |
533 | 533 | else if (!(contains(cf.name, i))) | |
534 | 534 | then throw((("Only NFT " + i) + " tokens are accepted")) | |
535 | 535 | else { | |
536 | 536 | let cn = drop(cf.name, 4) | |
537 | 537 | let G = if (contains(cn, "XXL")) | |
538 | 538 | then dropRight(cn, 3) | |
539 | 539 | else if (contains(cn, "XL")) | |
540 | 540 | then dropRight(cn, 2) | |
541 | 541 | else dropRight(cn, 1) | |
542 | 542 | let co = valueOrErrorMessage(parseInt(G), ("Cannot parse land number from " + cf.name)) | |
543 | 543 | let bR = toBase58String(K) | |
544 | 544 | let bW = M(bR) | |
545 | 545 | if (isDefined(getInteger(bW))) | |
546 | 546 | then throw((("NFT " + cf.name) + " is already staked")) | |
547 | 547 | else { | |
548 | 548 | let ch = split(cf.description, "_") | |
549 | 549 | let aM = aR(ch[ab]) | |
550 | 550 | let ap = aL(aM, (aT(ch[aa]) / 25), 1) | |
551 | 551 | let cp = if ((500 >= co)) | |
552 | 552 | then (lastBlock.timestamp > u) | |
553 | 553 | else false | |
554 | 554 | [IntegerEntry(bW, lastBlock.timestamp), BooleanEntry(O(bR), cp), IntegerEntry(R(i, bR, cm), lastBlock.timestamp), StringEntry(J(bR), cm), StringEntry(T(G), cm), StringEntry(Y(), ap)] | |
555 | 555 | } | |
556 | 556 | } | |
557 | 557 | } | |
558 | 558 | } | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | ||
562 | 562 | @Callable(aQ) | |
563 | 563 | func unstakeLand (bR) = if ((size(aQ.payments) != 0)) | |
564 | 564 | then throw("unstake doesn't require any payments") | |
565 | 565 | else { | |
566 | 566 | let K = fromBase58String(bR) | |
567 | 567 | let cm = toString(aQ.caller) | |
568 | 568 | let cf = value(assetInfo(K)) | |
569 | 569 | if ((cf.issuer != this)) | |
570 | 570 | then throw("Unknown issuer of token") | |
571 | 571 | else if (!(contains(cf.name, i))) | |
572 | 572 | then throw((("Only NFT " + i) + " tokens can be unstaked")) | |
573 | 573 | else { | |
574 | 574 | let bW = M(bR) | |
575 | 575 | if (!(isDefined(bW))) | |
576 | 576 | then throw((("NFT " + cf.name) + " is not staked")) | |
577 | 577 | else { | |
578 | 578 | let cg = valueOrErrorMessage(getString(J(bR)), (("NFT " + cf.name) + " is orphaned")) | |
579 | 579 | if ((cg != cm)) | |
580 | 580 | then throw((("Staked " + i) + " is not yours")) | |
581 | 581 | else { | |
582 | 582 | let ch = split(cf.description, "_") | |
583 | 583 | let aM = aR(ch[ab]) | |
584 | 584 | let bV = aT(ch[aa]) | |
585 | 585 | let ap = aL(aM, (bV / 25), -1) | |
586 | 586 | let ck = bU(bR, bV) | |
587 | 587 | let V = valueOrErrorMessage(getString(P(cm)), (("You can't unstake " + i) + " without a duck staked")) | |
588 | 588 | let ci = valueOrElse(getString(W(V)), k) | |
589 | 589 | let cj = split(value(ci), "_") | |
590 | 590 | if ((cj[ae] != "L")) | |
591 | 591 | then throw((("Duck location type is " + cj[ae]) + ", but should be L")) | |
592 | 592 | else if ((cj[af] != bR)) | |
593 | 593 | then throw(((("Duck location id is " + cj[af]) + ", but should be ") + bR)) | |
594 | 594 | else { | |
595 | 595 | let bn = U(V) | |
596 | 596 | let bE = bm(bn) | |
597 | 597 | [ScriptTransfer(aQ.caller, 1, K), DeleteEntry(bW), DeleteEntry(R(i, bR, cm)), StringEntry(Y(), ap), StringEntry(bn, makeString([bE[ag], ck, bE[ai], bE[aj]], ":"))] | |
598 | 598 | } | |
599 | 599 | } | |
600 | 600 | } | |
601 | 601 | } | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | @Callable(aQ) | |
607 | 607 | func stakeDuck () = { | |
608 | 608 | let cl = value(aQ.payments[0]) | |
609 | 609 | let K = value(cl.assetId) | |
610 | 610 | let cm = toString(aQ.caller) | |
611 | 611 | if ((cl.amount != 1)) | |
612 | 612 | then throw((("NFT " + j) + " token should be attached as payment")) | |
613 | 613 | else { | |
614 | 614 | let cf = value(assetInfo(K)) | |
615 | 615 | if (if ((cf.issuer != d)) | |
616 | 616 | then (cf.issuer != e) | |
617 | 617 | else false) | |
618 | 618 | then throw((("Unknown issuer of " + j) + " token")) | |
619 | 619 | else if (!(contains(cf.name, j))) | |
620 | 620 | then throw((("Only NFT " + j) + " tokens are accepted")) | |
621 | 621 | else { | |
622 | 622 | let cq = toBase58String(K) | |
623 | 623 | let bW = M(cq) | |
624 | 624 | if (isDefined(getInteger(bW))) | |
625 | 625 | then throw((("NFT " + cf.name) + " is already staked")) | |
626 | 626 | else if (isDefined(getString(P(cm)))) | |
627 | 627 | then throw(("You already staked one duck: " + cf.name)) | |
628 | 628 | else { | |
629 | 629 | let cr = W(cq) | |
630 | 630 | let cs = getString(cr) | |
631 | 631 | let bC = X(cq) | |
632 | 632 | let ct = getInteger(bC) | |
633 | 633 | let bn = U(cq) | |
634 | 634 | let cu = getString(bn) | |
635 | 635 | ([IntegerEntry(bW, lastBlock.timestamp), IntegerEntry(R(j, toBase58String(K), cm), lastBlock.timestamp), StringEntry(L(cq), cm), StringEntry(P(cm), cq)] ++ (if (isDefined(cs)) | |
636 | 636 | then nil | |
637 | 637 | else ([StringEntry(cr, k)] ++ (if (isDefined(ct)) | |
638 | 638 | then nil | |
639 | 639 | else ([IntegerEntry(bC, 100)] ++ (if (isDefined(cu)) | |
640 | 640 | then nil | |
641 | 641 | else [StringEntry(bn, "0:0_0_0_0_0_0:0_0_0_0_0_0:")])))))) | |
642 | 642 | } | |
643 | 643 | } | |
644 | 644 | } | |
645 | 645 | } | |
646 | 646 | ||
647 | 647 | ||
648 | 648 | ||
649 | 649 | @Callable(aQ) | |
650 | 650 | func unstakeDuck (cq) = if ((size(aQ.payments) != 0)) | |
651 | 651 | then throw("unstake doesn't require any payments") | |
652 | 652 | else { | |
653 | 653 | let K = fromBase58String(cq) | |
654 | 654 | let cm = toString(aQ.caller) | |
655 | 655 | let cf = value(assetInfo(K)) | |
656 | 656 | if (if ((cf.issuer != d)) | |
657 | 657 | then (cf.issuer != e) | |
658 | 658 | else false) | |
659 | 659 | then throw((("Unknown issuer of " + j) + " token")) | |
660 | 660 | else if (!(contains(cf.name, j))) | |
661 | 661 | then throw((("Only NFT " + j) + " tokens can be unstaked")) | |
662 | 662 | else { | |
663 | 663 | let bW = M(toBase58String(K)) | |
664 | 664 | if (!(isDefined(bW))) | |
665 | 665 | then throw((("NFT " + cf.name) + " is not staked")) | |
666 | 666 | else if (!(isDefined(P(cm)))) | |
667 | 667 | then throw((("The duck " + cf.name) + " is not staked")) | |
668 | 668 | else { | |
669 | 669 | let cg = valueOrErrorMessage(getString(L(toBase58String(K))), (("NFT " + cf.name) + " is orphaned")) | |
670 | 670 | if ((cg != cm)) | |
671 | 671 | then throw("Staked NFT is not yours") | |
672 | - | else [ScriptTransfer(aQ.caller, 1, K), DeleteEntry(bW), DeleteEntry(W(cq)), DeleteEntry(R(j, cq, cm)), DeleteEntry(P(cm))] | |
672 | + | else [ScriptTransfer(aQ.caller, 1, K), DeleteEntry(bW), DeleteEntry(W(cq)), DeleteEntry(L(cq)), DeleteEntry(R(j, cq, cm)), DeleteEntry(P(cm))] | |
673 | 673 | } | |
674 | 674 | } | |
675 | 675 | } | |
676 | 676 | ||
677 | 677 | ||
678 | 678 | ||
679 | 679 | @Callable(aQ) | |
680 | 680 | func claimRes (aW,bR) = if ((size(aQ.payments) != 0)) | |
681 | 681 | then throw("claimRes doesn't require any payments") | |
682 | 682 | else { | |
683 | 683 | let cb = toString(aQ.originCaller) | |
684 | 684 | let cf = value(assetInfo(fromBase58String(bR))) | |
685 | 685 | if (!(contains(cf.name, i))) | |
686 | 686 | then throw((("NFT " + i) + " token should be passed as param")) | |
687 | 687 | else { | |
688 | 688 | let bW = M(bR) | |
689 | 689 | let cg = getStringValue(J(bR)) | |
690 | 690 | if ((cg != cb)) | |
691 | 691 | then throw((i + " is not yours")) | |
692 | 692 | else { | |
693 | 693 | let ch = split(cf.description, "_") | |
694 | 694 | let I = ch[aa] | |
695 | 695 | let aM = aR(ch[ab]) | |
696 | 696 | let V = valueOrErrorMessage(getString(P(cb)), "You don't have a duck staked") | |
697 | 697 | let ci = valueOrElse(getString(W(V)), k) | |
698 | 698 | let cj = split(value(ci), "_") | |
699 | 699 | if ((cj[ae] != "L")) | |
700 | 700 | then throw((("Duck location type is " + cj[ae]) + ", but should be L")) | |
701 | 701 | else if ((cj[af] != bR)) | |
702 | 702 | then throw(((("Duck location id is " + cj[af]) + ", but should be ") + bR)) | |
703 | 703 | else { | |
704 | 704 | let bX = valueOrErrorMessage(getInteger(bW), (("NFT " + cf.name) + " is not staked")) | |
705 | 705 | let ba = (lastBlock.timestamp - bX) | |
706 | 706 | if ((0 > ba)) | |
707 | 707 | then throw(((("Saved timestamp is in future, saved = " + toString(bX)) + ", current = ") + toString(lastBlock.timestamp))) | |
708 | 708 | else { | |
709 | 709 | let bV = aT(I) | |
710 | 710 | let bY = bQ(bR) | |
711 | 711 | let bZ = fraction(ba, (bY * bV), n) | |
712 | 712 | if ((aW > bZ)) | |
713 | 713 | then throw(((("Not enough resources, available = " + toString(bZ)) + ", requested = ") + toString(aW))) | |
714 | 714 | else { | |
715 | 715 | let cv = fraction((bZ - aW), n, (bY * bV)) | |
716 | 716 | let cw = (lastBlock.timestamp - cv) | |
717 | 717 | let bn = U(V) | |
718 | 718 | let bE = bm(bn) | |
719 | 719 | let aZ = split(bE[ah], "_") | |
720 | 720 | let cx = aY(aZ, aM, (ba - cv), (bV / 25), bY) | |
721 | 721 | let cy = makeString([bE[ag], cx, bE[ai], bE[aj]], ":") | |
722 | 722 | $Tuple2([StringEntry(bn, cy), IntegerEntry(bW, cw), IntegerEntry(R(i, bR, cg), cw)], cx) | |
723 | 723 | } | |
724 | 724 | } | |
725 | 725 | } | |
726 | 726 | } | |
727 | 727 | } | |
728 | 728 | } | |
729 | 729 | ||
730 | 730 | ||
731 | 731 | ||
732 | 732 | @Callable(aQ) | |
733 | 733 | func flight (bs,bt) = if (!(sigVerify_8Kb(bs, bt, g))) | |
734 | 734 | then throw("signature does not match") | |
735 | 735 | else if ((size(aQ.payments) != 0)) | |
736 | 736 | then throw("flight doesn't require any payments") | |
737 | 737 | else { | |
738 | 738 | let bu = split(toUtf8String(bs), ";") | |
739 | 739 | let bv = split(split(bu[0], "|")[0], "_") | |
740 | 740 | let bw = parseIntValue(bv[0]) | |
741 | 741 | let bx = parseIntValue(bv[1]) | |
742 | 742 | let cz = split(bu[1], ":") | |
743 | 743 | let cA = cz[0] | |
744 | 744 | let bA = parseIntValue(cz[1]) | |
745 | 745 | if (if ((bA > (lastBlock.timestamp + o))) | |
746 | 746 | then true | |
747 | 747 | else ((lastBlock.timestamp - o) > bA)) | |
748 | 748 | then throw("signature outdated") | |
749 | 749 | else { | |
750 | 750 | let V = valueOrErrorMessage(getString(P(toString(aQ.caller))), "You don't have a duck staked") | |
751 | 751 | let bC = X(V) | |
752 | 752 | let bD = valueOrElse(getInteger(bC), 100) | |
753 | 753 | if ((bD != bw)) | |
754 | 754 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw))) | |
755 | 755 | else if ((0 >= bw)) | |
756 | 756 | then throw("You can't fly with zero health") | |
757 | 757 | else { | |
758 | 758 | let cr = W(V) | |
759 | 759 | let ci = valueOrElse(getString(cr), k) | |
760 | 760 | if ((cA == ci)) | |
761 | 761 | then throw("You can't fly to the same location") | |
762 | 762 | else $Tuple2([StringEntry(cr, if ((bx > 0)) | |
763 | 763 | then cA | |
764 | 764 | else ci), IntegerEntry(bC, bx)], unit) | |
765 | 765 | } | |
766 | 766 | } | |
767 | 767 | } | |
768 | 768 | ||
769 | 769 | ||
770 | 770 | ||
771 | 771 | @Callable(aQ) | |
772 | 772 | func setHealth (ct,V) = if (if ((0 > ct)) | |
773 | 773 | then true | |
774 | 774 | else (ct > 100)) | |
775 | 775 | then throw("HP should be within 0..100") | |
776 | 776 | else [IntegerEntry(X(V), ct)] | |
777 | 777 | ||
778 | 778 | ||
779 | 779 | ||
780 | 780 | @Callable(aQ) | |
781 | 781 | func heal (cB,aW) = if (if ((0 > cB)) | |
782 | 782 | then true | |
783 | 783 | else (cB >= l)) | |
784 | 784 | then throw(("Unknown material: " + toString(cB))) | |
785 | 785 | else if ((0 >= aW)) | |
786 | 786 | then throw(("Amount should be positive! " + toString(aW))) | |
787 | 787 | else { | |
788 | 788 | let V = valueOrErrorMessage(getString(P(toString(aQ.caller))), "You don't have a duck staked") | |
789 | 789 | let bC = X(V) | |
790 | 790 | let cC = valueOrElse(getInteger(bC), 100) | |
791 | 791 | if ((cC >= 100)) | |
792 | 792 | then throw("HP should be < 100 to heal") | |
793 | 793 | else { | |
794 | 794 | let bn = U(V) | |
795 | 795 | let bE = bm(bn) | |
796 | 796 | let bF = split(bE[ai], "_") | |
797 | 797 | let cD = parseIntValue(bF[cB]) | |
798 | 798 | let cE = min([(aW / h), (100 - cC)]) | |
799 | 799 | let cF = (cE * h) | |
800 | 800 | if ((cF > cD)) | |
801 | 801 | then throw(((((("You need " + toString(cF)) + " of ") + C[cB]) + " to heal, but you backpack contains ") + toString(cD))) | |
802 | 802 | else { | |
803 | 803 | let bG = aU(bF, cB, cF) | |
804 | 804 | [IntegerEntry(bC, (cC + cE)), StringEntry(bn, makeString([bE[ag], bE[ah], bG, bE[aj]], ":"))] | |
805 | 805 | } | |
806 | 806 | } | |
807 | 807 | } | |
808 | 808 | ||
809 | 809 | ||
810 | 810 | ||
811 | 811 | @Callable(aQ) | |
812 | 812 | func updateBackpack (V,cy) = if ((aQ.caller != f)) | |
813 | 813 | then throw("permission denied") | |
814 | 814 | else $Tuple2([StringEntry(U(V), cy)], cy) | |
815 | 815 | ||
816 | 816 | ||
817 | 817 | ||
818 | 818 | @Callable(aQ) | |
819 | 819 | func expeditionBuy (bs,bt) = if ((size(aQ.payments) != 1)) | |
820 | 820 | then throw("Exactly one payment required") | |
821 | 821 | else { | |
822 | 822 | let cl = value(aQ.payments[0]) | |
823 | 823 | if ((cl.assetId != b)) | |
824 | 824 | then throw("Allowed USDN payment only!") | |
825 | 825 | else if ((cl.amount != t)) | |
826 | 826 | then throw(("Payment attached should be " + toString(t))) | |
827 | 827 | else bp(false, aQ.caller, aQ.transactionId, bs, bt) | |
828 | 828 | } | |
829 | 829 | ||
830 | 830 | ||
831 | 831 | ||
832 | 832 | @Callable(aQ) | |
833 | 833 | func expedition (bs,bt) = if ((size(aQ.payments) != 0)) | |
834 | 834 | then throw("expedition doesn't require any payments") | |
835 | 835 | else bp(true, aQ.caller, aQ.transactionId, bs, bt) | |
836 | 836 | ||
837 | 837 | ||
838 | 838 | ||
839 | 839 | @Callable(aQ) | |
840 | 840 | func upgradeInfra (bR) = if ((size(aQ.payments) != 0)) | |
841 | 841 | then throw("Infrastructure upgrade doesn't require any payments") | |
842 | 842 | else ca(true, aQ.caller, bR) | |
843 | 843 | ||
844 | 844 | ||
845 | 845 | ||
846 | 846 | @Callable(aQ) | |
847 | 847 | func upgradeInfraUsdn (bR) = if ((size(aQ.payments) != 1)) | |
848 | 848 | then throw("Exactly one payment required") | |
849 | 849 | else { | |
850 | 850 | let cl = value(aQ.payments[0]) | |
851 | 851 | if ((cl.assetId != b)) | |
852 | 852 | then throw("Allowed USDN payment only!") | |
853 | 853 | else { | |
854 | 854 | let ce = (valueOrElse(getInteger(N(bR)), 0) + 1) | |
855 | 855 | let cf = value(assetInfo(fromBase58String(bR))) | |
856 | 856 | let ch = split(cf.description, "_") | |
857 | 857 | let cG = fraction(r, (aT(ch[aa]) * ce), 25) | |
858 | 858 | if ((cl.amount != cG)) | |
859 | 859 | then throw(("Payment attached should be " + toString(cG))) | |
860 | 860 | else ca(false, aQ.caller, bR) | |
861 | 861 | } | |
862 | 862 | } | |
863 | 863 | ||
864 | 864 |
github/deemru/w8io/026f985 166.70 ms ◑