tx · 6puYSoNpCRV3cY7175YX8AjWgrrK78cW2c6ZckQ8UF2U 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.03900000 Waves 2023.08.27 17:36 [2729208] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "6puYSoNpCRV3cY7175YX8AjWgrrK78cW2c6ZckQ8UF2U", "fee": 3900000, "feeAssetId": null, "timestamp": 1693146982271, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "2dvtYw1fT62fiE9cr5cX43bmRGysL9Yq21E1MRBATF7EKZMRGd9aiFvb8FiasgfvrkAaTrpMyWLQs9E19CzeWK8r" ], "script": "base64:BgJcCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEIEgASAwoBCBIDCgEBEgASBAoCAQi9AQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAAtQTEFZRVJTSEFSRQCAtRgACllFQVJNSUxMSVMAgIbrx3UAA0RBWQCAuJkpABBtYXJrZXRpbmdBZGRyS2V5Ag1tYXJrZXRpbmdBZGRyAAt0ZWFtQWRkcktleQIIdGVhbUFkZHIAFGxhc3RNYXJrZXRpbmdUaW1lS2V5AhlsYXN0Q2xhaW1lZFRpbWVfbWFya2V0aW5nABZtYXJrZXRpbmdBbW91bnRMZWZ0S2V5AhNtYXJrZXRpbmdBbW91bnRMZWZ0AA9sYXN0VGVhbVRpbWVLZXkCFGxhc3RDbGFpbWVkVGltZV90ZWFtABF0ZWFtQW1vdW50TGVmdEtleQIOdGVhbUFt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CZXN0UmVzdWx0QnlUb3VyQW5kRHVjawIFA3RJZAULZHVja0Fzc2V0SWQAAAkAlAoCBQNuaWwJAMwIAgkArAICAhslcyVzX190b3VybmFtZW50RHVja1N0YXRzX18JALkJAgkAzAgCCQClAwEFCWlzRHVja1JlZwkAzAgCCQCkAwEFD2xhc3REdWNrQXR0ZW1wdAkAzAgCCQCkAwEFDmJlc3REdWNrUmVzdWx0BQNuaWwCAV8FA25pbADky39y", "height": 2729208, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GRxsjK2A7NP7UX79ohbKmXfxbKdikYpbqGMXEUuaW5wa Next: 8p5kbRWHMjsrSZM1UP95zvsDsLDPqFpuQVzo3ynqNkJq Diff:
Old | New | Differences | |
---|---|---|---|
219 | 219 | ||
220 | 220 | let by = 400 | |
221 | 221 | ||
222 | - | func bz (bA) = ("duckHealth_" + bA) | |
222 | + | let bz = ["free", "locked", "afterLockCooldown", "robbedCooldown", "defendedCooldown"] | |
223 | + | ||
224 | + | func bA (bB) = ("duckHealth_" + bB) | |
223 | 225 | ||
224 | 226 | ||
225 | - | func | |
227 | + | func bC (bB) = ("duckChars_" + bB) | |
226 | 228 | ||
227 | 229 | ||
228 | - | func | |
230 | + | func bD (bB) = ("duckXP_" + bB) | |
229 | 231 | ||
230 | 232 | ||
231 | - | func | |
233 | + | func bE (bB) = ("duckLevel_" + bB) | |
232 | 234 | ||
233 | 235 | ||
234 | - | func | |
236 | + | func bF (bB) = ("duckFreePoints_" + bB) | |
235 | 237 | ||
236 | 238 | ||
237 | - | func | |
239 | + | func bG (bB) = ("duckEquipment_" + bB) | |
238 | 240 | ||
239 | 241 | ||
240 | - | func | |
242 | + | func bH (t) = ("userXP_" + t) | |
241 | 243 | ||
242 | 244 | ||
243 | - | func | |
245 | + | func bI (t) = ("userLevel_" + t) | |
244 | 246 | ||
245 | 247 | ||
246 | - | func | |
248 | + | func bJ (t) = ("userFreePoints_" + t) | |
247 | 249 | ||
248 | 250 | ||
249 | - | func | |
251 | + | func bK (bB) = ("duckBuffs_" + bB) | |
250 | 252 | ||
251 | 253 | ||
252 | - | func | |
254 | + | func bL (bB) = ("lastRobberyTime_" + bB) | |
253 | 255 | ||
254 | 256 | ||
255 | - | func | |
257 | + | func bM (bB) = ("lastRobberyCost_" + bB) | |
256 | 258 | ||
257 | 259 | ||
258 | - | func | |
260 | + | func bN (bO) = ("landRobberyState_" + bO) | |
259 | 261 | ||
260 | 262 | ||
261 | - | func bO (aj,bA) = { | |
262 | - | let bP = valueOrElse(getInteger(aj, bL(bA)), 0) | |
263 | - | let bQ = valueOrElse(getInteger(aj, bK(bA)), 0) | |
263 | + | func bP (bO) = ("landCooldownETA_" + bO) | |
264 | + | ||
265 | + | ||
266 | + | func bQ (bR) = (100 + bR) | |
267 | + | ||
268 | + | ||
269 | + | func bS (aj,bB) = { | |
270 | + | let bT = valueOrElse(getInteger(aj, bM(bB)), 0) | |
271 | + | let bU = valueOrElse(getInteger(aj, bL(bB)), 0) | |
264 | 272 | let aM = lastBlock.timestamp | |
265 | - | let | |
266 | - | $Tuple2( | |
273 | + | let bV = max([bx, (bT - (by * (aM - bU)))]) | |
274 | + | $Tuple2(bV, bU) | |
267 | 275 | } | |
268 | 276 | ||
269 | 277 | ||
270 | - | let | |
278 | + | let bW = "PRESALE" | |
271 | 279 | ||
272 | - | let | |
280 | + | let bX = "ONBOARD" | |
273 | 281 | ||
274 | - | let | |
282 | + | let bY = 6 | |
275 | 283 | ||
276 | - | let | |
284 | + | let bZ = 3456000 | |
277 | 285 | ||
278 | - | let | |
286 | + | let ca = 86400000 | |
279 | 287 | ||
280 | - | let | |
288 | + | let cb = 10000000000 | |
281 | 289 | ||
282 | - | let | |
290 | + | let cc = 39637 | |
283 | 291 | ||
284 | - | let | |
292 | + | let cd = 3 | |
285 | 293 | ||
286 | - | let ca = 4 | |
287 | - | ||
288 | - | let cb = 10 | |
289 | - | ||
290 | - | let cc = 10000000 | |
291 | - | ||
292 | - | let cd = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
293 | - | ||
294 | - | let ce = 6 | |
294 | + | let ce = 4 | |
295 | 295 | ||
296 | 296 | let cf = 10 | |
297 | 297 | ||
298 | - | func cg (t) = ("lastTxIdByUser_" + t) | |
298 | + | let cg = 10000000 | |
299 | + | ||
300 | + | let ch = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
301 | + | ||
302 | + | let ci = 6 | |
303 | + | ||
304 | + | let cj = 10 | |
305 | + | ||
306 | + | func ck (t) = ("lastTxIdByUser_" + t) | |
299 | 307 | ||
300 | 308 | ||
301 | - | func | |
309 | + | func cl (cm) = ("nftOwner_" + cm) | |
302 | 310 | ||
303 | 311 | ||
304 | - | func | |
312 | + | func cn (cm) = ("landCustomNameByAssetId_" + cm) | |
305 | 313 | ||
306 | 314 | ||
307 | - | func | |
315 | + | func co (cm) = ("stakedTime_" + cm) | |
308 | 316 | ||
309 | 317 | ||
310 | - | func | |
318 | + | func cp (cq,cm) = makeString(["landArtStatus", cq, cm], "_") | |
311 | 319 | ||
312 | 320 | ||
313 | - | func | |
321 | + | func cr (bO) = ("wareHouse_" + bO) | |
314 | 322 | ||
315 | 323 | ||
316 | - | func | |
324 | + | func cs (cm) = ("infraLevel_" + cm) | |
317 | 325 | ||
318 | 326 | ||
319 | - | func | |
327 | + | func ct (bO) = ("fortifications_" + bO) | |
320 | 328 | ||
321 | 329 | ||
322 | - | func | |
330 | + | func cu (cm) = ("duckCustomNameByAssetId_" + cm) | |
323 | 331 | ||
324 | 332 | ||
325 | - | func | |
333 | + | func cv (t) = ("accountCustomNameByAddr_" + t) | |
326 | 334 | ||
327 | 335 | ||
328 | - | func | |
336 | + | func cw (t) = ("accRefBy_" + t) | |
329 | 337 | ||
330 | 338 | ||
331 | - | func | |
339 | + | func cx (t) = ("onboardArtActivatedDuckBy_" + t) | |
332 | 340 | ||
333 | 341 | ||
334 | - | func | |
342 | + | func cy (t) = ("accReferrals_" + t) | |
335 | 343 | ||
336 | 344 | ||
337 | - | func | |
345 | + | func cz (cm) = ("duckOwner_" + cm) | |
338 | 346 | ||
339 | 347 | ||
340 | - | func | |
348 | + | func cA (cB) = ("stakedDuckByOwner_" + cB) | |
341 | 349 | ||
342 | 350 | ||
343 | - | func | |
351 | + | func cC (bB) = ("duckLocation_" + bB) | |
344 | 352 | ||
345 | 353 | ||
346 | - | func | |
354 | + | func cD () = "contractsBlocked" | |
347 | 355 | ||
348 | 356 | ||
349 | - | func | |
357 | + | func cE (bO) = ("landOrder_" + bO) | |
350 | 358 | ||
351 | 359 | ||
352 | - | func | |
360 | + | func cF () = "emergencyWarehouseProducts" | |
353 | 361 | ||
354 | 362 | ||
355 | - | func cD () = "emergencyWarehouseProducts" | |
363 | + | let cG = "%s__lastTourId" | |
364 | + | ||
365 | + | func cH (cI) = ("%s%d__tourStaticData__" + toString(cI)) | |
356 | 366 | ||
357 | 367 | ||
358 | - | let cE = "%s__lastTourId" | |
359 | - | ||
360 | - | func cF (cG) = ("%s%d__tourStaticData__" + toString(cG)) | |
368 | + | func cJ (cI) = ("%s%d__tourDynamicData__" + toString(cI)) | |
361 | 369 | ||
362 | 370 | ||
363 | - | func | |
371 | + | func cK (cI) = ("%s%d__allRegistrants__" + toString(cI)) | |
364 | 372 | ||
365 | 373 | ||
366 | - | ||
374 | + | let cL = 0 | |
367 | 375 | ||
376 | + | let cM = 1 | |
368 | 377 | ||
369 | - | let cJ = 0 | |
370 | - | ||
371 | - | let cK = 1 | |
372 | - | ||
373 | - | func cL (cM,cG) = { | |
374 | - | let cN = split(valueOrErrorMessage(getString(cM, cF(cG)), (("Error reading tournament " + toString(cG)) + " data")), "__") | |
375 | - | let cO = split(valueOrErrorMessage(getString(cM, cH(cG)), (("Error reading tournament " + toString(cG)) + " data")), "__") | |
376 | - | [cN, cO] | |
378 | + | func cN (cO,cI) = { | |
379 | + | let cP = split(valueOrErrorMessage(getString(cO, cH(cI)), (("Error reading tournament " + toString(cI)) + " data")), "__") | |
380 | + | let cQ = split(valueOrErrorMessage(getString(cO, cJ(cI)), (("Error reading tournament " + toString(cI)) + " data")), "__") | |
381 | + | [cP, cQ] | |
377 | 382 | } | |
378 | 383 | ||
379 | 384 | ||
380 | - | let | |
385 | + | let cR = 2 | |
381 | 386 | ||
382 | - | let | |
387 | + | let cS = 3 | |
383 | 388 | ||
384 | - | let | |
389 | + | let cT = 5 | |
385 | 390 | ||
386 | - | let | |
391 | + | let cU = 6 | |
387 | 392 | ||
388 | - | let | |
393 | + | let cV = 1 | |
389 | 394 | ||
390 | - | let | |
395 | + | let cW = 2 | |
391 | 396 | ||
392 | - | let | |
397 | + | let cX = 3 | |
393 | 398 | ||
394 | - | let | |
399 | + | let cY = 4 | |
395 | 400 | ||
396 | - | let | |
401 | + | let cZ = 5 | |
397 | 402 | ||
398 | - | func | |
403 | + | func da (cI,bB) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(cI), bB], "__") | |
399 | 404 | ||
400 | 405 | ||
401 | - | func | |
406 | + | func db (cI,bB) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(cI), bB], "__") | |
402 | 407 | ||
403 | 408 | ||
404 | - | func | |
409 | + | func dc (cI,bB) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(cI), bB], "__") | |
405 | 410 | ||
406 | 411 | ||
407 | - | func | |
412 | + | func dd (de) = (parseIntValue(de[ci]) * cg) | |
408 | 413 | ||
409 | 414 | ||
410 | - | let | |
415 | + | let df = take(drop(this.bytes, 1), 1) | |
411 | 416 | ||
412 | - | let | |
413 | - | let | |
414 | - | if ((base58'2W' == | |
417 | + | let dg = { | |
418 | + | let dh = df | |
419 | + | if ((base58'2W' == dh)) | |
415 | 420 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
416 | - | else if ((base58'2T' == | |
421 | + | else if ((base58'2T' == dh)) | |
417 | 422 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
418 | 423 | else throw("Unknown chain") | |
419 | 424 | } | |
420 | 425 | ||
421 | - | let | |
422 | - | let | |
423 | - | if ((base58'2W' == | |
426 | + | let di = { | |
427 | + | let dh = df | |
428 | + | if ((base58'2W' == dh)) | |
424 | 429 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
425 | - | else if ((base58'2T' == | |
430 | + | else if ((base58'2T' == dh)) | |
426 | 431 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
427 | 432 | else throw("Unknown chain") | |
428 | 433 | } | |
429 | 434 | ||
430 | - | let | |
431 | - | let | |
432 | - | if ((base58'2W' == | |
435 | + | let dj = { | |
436 | + | let dh = df | |
437 | + | if ((base58'2W' == dh)) | |
433 | 438 | then 10000000000 | |
434 | - | else if ((base58'2T' == | |
439 | + | else if ((base58'2T' == dh)) | |
435 | 440 | then 100000000 | |
436 | 441 | else throw("Unknown chain") | |
437 | 442 | } | |
438 | 443 | ||
439 | - | let di = { | |
440 | - | let df = dd | |
441 | - | if ((base58'2W' == df)) | |
442 | - | then 21600000 | |
443 | - | else if ((base58'2T' == df)) | |
444 | - | then 600000 | |
445 | - | else throw("Unknown chain") | |
446 | - | } | |
444 | + | let dk = "__" | |
447 | 445 | ||
448 | - | let | |
446 | + | let dl = 1000000 | |
449 | 447 | ||
450 | - | let | |
448 | + | let dm = 100000000 | |
451 | 449 | ||
452 | - | let | |
450 | + | let dn = 25 | |
453 | 451 | ||
454 | - | let | |
452 | + | let do = 100 | |
455 | 453 | ||
456 | - | let | |
454 | + | let dp = 225 | |
457 | 455 | ||
458 | - | let | |
456 | + | let dq = 400 | |
459 | 457 | ||
460 | - | let | |
458 | + | let dr = 625 | |
461 | 459 | ||
462 | - | let dq = 625 | |
463 | - | ||
464 | - | func dr (ds,dt) = valueOrErrorMessage(getString(ds, dt), makeString(["mandatory ", toString(ds), ".", dt, " is not defined"], "")) | |
460 | + | func ds (dt,du) = valueOrErrorMessage(getString(dt, du), makeString(["mandatory ", toString(dt), ".", du, " is not defined"], "")) | |
465 | 461 | ||
466 | 462 | ||
467 | - | let | |
463 | + | let dv = 1 | |
468 | 464 | ||
469 | - | let | |
465 | + | let dw = 2 | |
470 | 466 | ||
471 | - | let | |
467 | + | let dx = 4 | |
472 | 468 | ||
473 | - | let | |
469 | + | let dy = 5 | |
474 | 470 | ||
475 | - | let | |
471 | + | let dz = 6 | |
476 | 472 | ||
477 | - | let | |
473 | + | let dA = 7 | |
478 | 474 | ||
479 | - | func | |
475 | + | func dB () = "%s__restConfig" | |
480 | 476 | ||
481 | 477 | ||
482 | - | func | |
478 | + | func dC () = "%s__restAddr" | |
483 | 479 | ||
484 | 480 | ||
485 | - | func | |
481 | + | func dD (dE) = split_4C(ds(dE, dB()), dk) | |
486 | 482 | ||
487 | 483 | ||
488 | - | func | |
484 | + | func dF (dG,dH) = valueOrErrorMessage(addressFromString(dG[dH]), ("Rest cfg doesn't contain address at index " + toString(dH))) | |
489 | 485 | ||
490 | 486 | ||
491 | - | let | |
487 | + | let dI = addressFromStringValue(valueOrElse(getString(this, dC()), di)) | |
492 | 488 | ||
493 | - | let | |
489 | + | let dG = dD(dI) | |
494 | 490 | ||
495 | - | let aj = | |
491 | + | let aj = dF(dG, dv) | |
496 | 492 | ||
497 | - | let | |
493 | + | let dJ = dF(dG, dw) | |
498 | 494 | ||
499 | - | let | |
495 | + | let dK = dF(dG, dx) | |
500 | 496 | ||
501 | - | let | |
497 | + | let dL = dF(dG, dy) | |
502 | 498 | ||
503 | - | let aI = | |
499 | + | let aI = dF(dG, dz) | |
504 | 500 | ||
505 | - | let | |
501 | + | let dM = dF(dG, dA) | |
506 | 502 | ||
507 | - | let | |
503 | + | let dN = 0 | |
508 | 504 | ||
509 | - | let | |
505 | + | let dO = 1 | |
510 | 506 | ||
511 | - | let | |
507 | + | let dP = 2 | |
512 | 508 | ||
513 | - | let | |
509 | + | let dQ = 3 | |
514 | 510 | ||
515 | - | let | |
511 | + | let dR = "wlg_assetId" | |
516 | 512 | ||
517 | - | let | |
513 | + | let dS = valueOrErrorMessage(getBinary(dK, dR), "Not initialized yet") | |
518 | 514 | ||
519 | - | let | |
515 | + | let dT = 1 | |
520 | 516 | ||
521 | - | func | |
517 | + | func dU () = "resTypesProportions" | |
522 | 518 | ||
523 | 519 | ||
524 | - | func | |
520 | + | func dV (cB) = ("stakedLandsByOwner_" + cB) | |
525 | 521 | ||
526 | 522 | ||
527 | - | func | |
523 | + | func dW (cB) = ("stakedPiecesByOwner_" + cB) | |
528 | 524 | ||
529 | 525 | ||
530 | - | func | |
531 | - | let | |
532 | - | if ($isInstanceOf( | |
526 | + | func dX (dY) = { | |
527 | + | let dh = dY | |
528 | + | if ($isInstanceOf(dh, "String")) | |
533 | 529 | then { | |
534 | - | let | |
535 | - | | |
530 | + | let dZ = dh | |
531 | + | dZ | |
536 | 532 | } | |
537 | 533 | else throw("fail to cast into String") | |
538 | 534 | } | |
539 | 535 | ||
540 | 536 | ||
541 | - | func | |
542 | - | let | |
543 | - | if ($isInstanceOf( | |
537 | + | func ea (dY) = { | |
538 | + | let dh = dY | |
539 | + | if ($isInstanceOf(dh, "Int")) | |
544 | 540 | then { | |
545 | - | let | |
546 | - | | |
541 | + | let eb = dh | |
542 | + | eb | |
547 | 543 | } | |
548 | 544 | else throw("fail to cast into Int") | |
549 | 545 | } | |
550 | 546 | ||
551 | 547 | ||
552 | - | func | |
553 | - | let | |
554 | - | if ($isInstanceOf( | |
548 | + | func ec (dY) = { | |
549 | + | let dh = dY | |
550 | + | if ($isInstanceOf(dh, "Boolean")) | |
555 | 551 | then { | |
556 | - | let | |
557 | - | | |
552 | + | let dZ = dh | |
553 | + | dZ | |
558 | 554 | } | |
559 | 555 | else throw("fail to cast into Boolean") | |
560 | 556 | } | |
561 | 557 | ||
562 | 558 | ||
563 | - | func | |
564 | - | let | |
565 | - | if (("S" == | |
566 | - | then | |
567 | - | else if (("M" == | |
568 | - | then | |
569 | - | else if (("L" == | |
570 | - | then | |
571 | - | else if (("XL" == | |
572 | - | then | |
573 | - | else if (("XXL" == | |
574 | - | then | |
559 | + | func ed (ee) = { | |
560 | + | let dh = ee | |
561 | + | if (("S" == dh)) | |
562 | + | then dn | |
563 | + | else if (("M" == dh)) | |
564 | + | then do | |
565 | + | else if (("L" == dh)) | |
566 | + | then dp | |
567 | + | else if (("XL" == dh)) | |
568 | + | then dq | |
569 | + | else if (("XXL" == dh)) | |
570 | + | then dr | |
575 | 571 | else throw("Unknown land size") | |
576 | 572 | } | |
577 | 573 | ||
578 | 574 | ||
579 | - | func | |
580 | - | let ak = split(valueOrElse(getString(aj, | |
575 | + | func ef (ai) = { | |
576 | + | let ak = split(valueOrElse(getString(aj, dU()), "0_0_0_0_0_0"), "_") | |
581 | 577 | func al (am,an) = (am + parseIntValue(an)) | |
582 | 578 | ||
583 | 579 | let ao = { | |
594 | 590 | ||
595 | 591 | av(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6) | |
596 | 592 | } | |
597 | - | let aw = valueOrElse(getInteger(aj, | |
593 | + | let aw = valueOrElse(getInteger(aj, dW(ai)), 0) | |
598 | 594 | [ao, aw] | |
599 | 595 | } | |
600 | 596 | ||
601 | 597 | ||
602 | - | let | |
598 | + | let eg = 500000 | |
603 | 599 | ||
604 | - | let | |
605 | - | let | |
606 | - | if ((base58'2W' == | |
600 | + | let eh = [toString(this), { | |
601 | + | let dh = df | |
602 | + | if ((base58'2W' == dh)) | |
607 | 603 | then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja" | |
608 | - | else if ((base58'2T' == | |
604 | + | else if ((base58'2T' == dh)) | |
609 | 605 | then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs" | |
610 | 606 | else throw("Unknown chain") | |
611 | 607 | }] | |
612 | 608 | ||
613 | - | func | |
614 | - | let | |
615 | - | if ($isInstanceOf( | |
609 | + | func ei (ej) = { | |
610 | + | let dh = ej | |
611 | + | if ($isInstanceOf(dh, "List[Any]")) | |
616 | 612 | then { | |
617 | - | let | |
618 | - | if ((size( | |
619 | - | then throw(("Array size is " + toString(size( | |
613 | + | let ek = dh | |
614 | + | if ((size(ek) != bY)) | |
615 | + | then throw(("Array size is " + toString(size(ek)))) | |
620 | 616 | else { | |
621 | - | func | |
622 | - | let | |
623 | - | if ($isInstanceOf( | |
617 | + | func el (am,an) = { | |
618 | + | let em = an | |
619 | + | if ($isInstanceOf(em, "Int")) | |
624 | 620 | then { | |
625 | - | let | |
626 | - | (am :+ toString( | |
621 | + | let en = em | |
622 | + | (am :+ toString(en)) | |
627 | 623 | } | |
628 | 624 | else throw("List type is not Int") | |
629 | 625 | } | |
630 | 626 | ||
631 | - | let | |
632 | - | let ap = | |
627 | + | let eo = { | |
628 | + | let ap = ek | |
633 | 629 | let aq = size(ap) | |
634 | 630 | let ar = nil | |
635 | 631 | func as (at,au) = if ((au >= aq)) | |
636 | 632 | then at | |
637 | - | else | |
633 | + | else el(at, ap[au]) | |
638 | 634 | ||
639 | 635 | func av (at,au) = if ((au >= aq)) | |
640 | 636 | then at | |
642 | 638 | ||
643 | 639 | av(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6) | |
644 | 640 | } | |
645 | - | makeString( | |
641 | + | makeString(eo, "_") | |
646 | 642 | } | |
647 | 643 | } | |
648 | 644 | else throw("fail to cast into List") | |
649 | 645 | } | |
650 | 646 | ||
651 | 647 | ||
652 | - | func | |
653 | - | let | |
654 | - | if ($isInstanceOf( | |
648 | + | func ep (ej) = { | |
649 | + | let dh = ej | |
650 | + | if ($isInstanceOf(dh, "(List[Any], List[Any])")) | |
655 | 651 | then { | |
656 | - | let | |
657 | - | $Tuple2( | |
652 | + | let eq = dh | |
653 | + | $Tuple2(ei(eq._1), ei(eq._2)) | |
658 | 654 | } | |
659 | 655 | else throw("fail to cast into (List, List)") | |
660 | 656 | } | |
661 | 657 | ||
662 | 658 | ||
663 | - | func | |
664 | - | let t = addressFromString( | |
665 | - | let | |
659 | + | func er (es) = { | |
660 | + | let t = addressFromString(es) | |
661 | + | let et = if (isDefined(t)) | |
666 | 662 | then wavesBalance(value(t)) | |
667 | 663 | else BalanceDetails(0, 0, 0, 0) | |
668 | - | let | |
669 | - | then assetBalance(value(t), | |
664 | + | let eu = if (isDefined(t)) | |
665 | + | then assetBalance(value(t), dg) | |
670 | 666 | else 0 | |
671 | - | let | |
672 | - | then assetBalance(value(t), | |
667 | + | let ev = if (isDefined(t)) | |
668 | + | then assetBalance(value(t), dS) | |
673 | 669 | else 0 | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let | |
684 | - | then ( | |
685 | - | then isDefined(getString(aj, | |
670 | + | let ew = valueOrElse(getString(aj, cv(es)), es) | |
671 | + | let ex = cw(es) | |
672 | + | let ey = getString(aj, ex) | |
673 | + | let ez = valueOrElse(getString(aj, cy(es)), "") | |
674 | + | let eA = valueOrElse(getString(aj, ck(es)), "") | |
675 | + | let eB = ef(es)[dT] | |
676 | + | let eC = valueOrElse(getInteger(aj, bH(es)), 0) | |
677 | + | let eD = valueOrElse(getInteger(aj, bI(es)), 0) | |
678 | + | let eE = valueOrElse(getInteger(aj, bJ(es)), 0) | |
679 | + | let eF = if (isDefined(ey)) | |
680 | + | then (bX + (if (if (isDefined(t)) | |
681 | + | then isDefined(getString(aj, cx(es))) | |
686 | 682 | else false) | |
687 | 683 | then ":1" | |
688 | 684 | else ":0")) | |
689 | 685 | else "" | |
690 | - | [("%s%s__customName__" + | |
686 | + | [("%s%s__customName__" + ew), ("%s%s__referredBy__" + valueOrElse(ey, "")), ("%s%s__referrals__" + ez), ("%s%s__lastTxId__" + eA), ("%s%d__wavesBalance__" + toString(et.available)), ("%s%d__wlgoldBalance__" + toString(ev)), ("%s%d__usdtBalance__" + toString(eu)), ("%s%d__stakedPieces__" + toString(eB)), ("%s%d__currentXp__" + toString(eC)), ("%s%d__currentLvl__" + toString(eD)), ("%s%d__pointsToDistribute__" + toString(eE)), ("%s%s__walletArtefacts__" + eF)] | |
691 | 687 | } | |
692 | 688 | ||
693 | 689 | ||
694 | - | func | |
695 | - | let | |
696 | - | let | |
697 | - | let | |
698 | - | let | |
699 | - | $Tuple3( | |
690 | + | func eG (bO,eB) = { | |
691 | + | let eH = valueOrElse(getInteger(aj, cs(bO)), 0) | |
692 | + | let eI = valueOrElse(getInteger(aj, cp(bW, bO)), 0) | |
693 | + | let eJ = (eH / 6) | |
694 | + | let eK = (eH / 7) | |
695 | + | $Tuple3(eH, eI, ((bZ + fraction(bZ, ((eH + eJ) + (2 * eK)), 5)) + fraction(bZ, eI, (eB * 5)))) | |
700 | 696 | } | |
701 | 697 | ||
702 | 698 | ||
703 | - | func | |
704 | - | let | |
705 | - | (( | |
699 | + | func eL (eM) = { | |
700 | + | let eN = split(eM, "_") | |
701 | + | ((cb * (parseIntValue(eN[1]) + 1)) * parseIntValue(eN[0])) | |
706 | 702 | } | |
707 | 703 | ||
708 | 704 | ||
709 | - | func | |
710 | - | let | |
711 | - | let | |
712 | - | let | |
713 | - | split( | |
705 | + | func eO (eP,eQ,eH) = { | |
706 | + | let eM = ((toString(eQ) + "_") + toString(eH)) | |
707 | + | let eR = toString(eL(eM)) | |
708 | + | let eS = valueOrElse(getString(aj, eP), ((((eM + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + eR) + "_") + eR)) | |
709 | + | split(eS, ":") | |
714 | 710 | } | |
715 | 711 | ||
716 | 712 | ||
717 | - | func | |
718 | - | let | |
719 | - | $Tuple5(valueOrElse(getInteger(aj, | |
713 | + | func eT (bB) = { | |
714 | + | let eU = bQ(valueOrElse(getInteger(aj, bE(bB)), 0)) | |
715 | + | $Tuple5(valueOrElse(getInteger(aj, co(bB)), -1), value(assetInfo(fromBase58String(bB))).name, valueOrElse(getString(aj, cC(bB)), ""), valueOrElse(getInteger(aj, bA(bB)), eU), dX(invoke(aj, "getBackpackREADONLY", [bB], nil))) | |
720 | 716 | } | |
721 | 717 | ||
722 | 718 | ||
723 | - | func | |
724 | - | let | |
725 | - | let | |
726 | - | let | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | [("%s%s__assetId__" + | |
719 | + | func eV (bB,eW,eX) = { | |
720 | + | let ew = valueOrElse(getString(aj, cu(bB)), eX._2) | |
721 | + | let eY = valueOrElse(getString(aj, bC(bB)), "0_0_0_0_0") | |
722 | + | let eC = valueOrElse(getInteger(aj, bD(bB)), 0) | |
723 | + | let eD = valueOrElse(getInteger(aj, bE(bB)), 0) | |
724 | + | let eE = valueOrElse(getInteger(aj, bF(bB)), 0) | |
725 | + | let eZ = valueOrElse(getString(aj, bG(bB)), ";_;_;_;_;_;") | |
726 | + | let fa = valueOrElse(getString(aj, bK(bB)), "0_0_0_0_0") | |
727 | + | let fb = bS(aj, bB) | |
728 | + | let bV = fb._1 | |
729 | + | let bU = fb._2 | |
730 | + | [("%s%s__assetId__" + bB), ("%s%s__owner__" + eW), ("%s%s__customName__" + ew), ("%s%d__stakedTime__" + toString(eX._1)), ("%s%s__name__" + eX._2), ("%s%s__location__" + eX._3), ("%s%d__health__" + toString(eX._4)), ("%s%d__maxHealth__" + toString(bQ(eD))), ("%s%s__characteristics__" + eY), ("%s%d__currentXp__" + toString(eC)), ("%s%d__currentLvl__" + toString(eD)), ("%s%d__pointsToDistribute__" + toString(eE)), ("%s%s__backPack__" + eX._5), ("%s%s__equipment__" + eZ), ("%s%s__buffs__" + fa), ("%s%d__robberyCost__" + toString(bV)), ("%s%d__robberyTime__" + toString(bU))] | |
735 | 731 | } | |
736 | 732 | ||
737 | 733 | ||
738 | - | func | |
734 | + | func fc (bO,eW,fd) = if ((bO == "")) | |
739 | 735 | then throw("landAssetId is required") | |
740 | 736 | else { | |
741 | - | let | |
742 | - | let | |
743 | - | let | |
744 | - | then | |
745 | - | else ("-" + | |
746 | - | let | |
747 | - | let | |
748 | - | let | |
749 | - | let | |
750 | - | then fraction( | |
737 | + | let fe = value(assetInfo(fromBase58String(bO))) | |
738 | + | let ff = split(fe.description, "_") | |
739 | + | let fg = if ((fe.quantity > 0)) | |
740 | + | then ff[dN] | |
741 | + | else ("-" + ff[dN]) | |
742 | + | let eB = ed(ff[dO]) | |
743 | + | let fh = eG(bO, eB) | |
744 | + | let fi = (lastBlock.timestamp - fd) | |
745 | + | let fj = if ((fd > 0)) | |
746 | + | then fraction(fi, (fh._3 * eB), ca) | |
751 | 747 | else 0 | |
752 | - | let fj = fraction(dh, (eA * (fg._1 + 1)), dm) | |
753 | - | let fk = if ((fc > 0)) | |
754 | - | then eo(invoke(aj, "splitByGlobalAndLocalWeightsREADONLY", [fj, fi, fe[dO]], nil)) | |
755 | - | else $Tuple2(eh(invoke(aj, "splitByGlobalWeightsREADONLY", [fj], nil)), "") | |
756 | - | let ev = valueOrElse(getString(aj, cj(co)), ((fe[dP] + "-") + fe[dM])) | |
757 | - | let fl = valueOrElse(getString(aj, cq(co)), ":0_15:0_18:0") | |
758 | - | let fm = valueOrElse(getInteger(aj, cr(co)), 0) | |
759 | - | [("%s%s__assetId__" + co), ("%s%s__owner__" + eV), ("%s%s__customName__" + ev), ("%s%d__stakedTime__" + toString(fc)), ("%s%s__description__" + makeString([ff, fe[dN], fe[dO], fe[dP]], "_")), ("%s%d__infraLevel__" + toString(fg._1)), ("%s%s__availResByType__" + fk._2), ("%s%d__availResTotal__" + toString(fi)), ("%s%s__needMaterial__" + fk._1), ("%s%s__landArtefacts__PRESALE:" + toString(fg._2)), ("%s%s__warehouse__" + makeString(eN(cn(co), (eA / dm), fg._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dI, cC(co)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:")), ("%s%s__fortifications__" + fl), ("%s%d__canBeRobbedAfter__" + toString((fm + di)))] | |
748 | + | let fk = fraction(dj, (eB * (fh._1 + 1)), dn) | |
749 | + | let fl = if ((fd > 0)) | |
750 | + | then ep(invoke(aj, "splitByGlobalAndLocalWeightsREADONLY", [fk, fj, ff[dP]], nil)) | |
751 | + | else $Tuple2(ei(invoke(aj, "splitByGlobalWeightsREADONLY", [fk], nil)), "") | |
752 | + | let ew = valueOrElse(getString(aj, cn(bO)), ((ff[dQ] + "-") + ff[dN])) | |
753 | + | let fm = valueOrElse(getString(aj, ct(bO)), ":0_15:0_18:0") | |
754 | + | let fn = valueOrElse(getInteger(aj, bN(bO)), 0) | |
755 | + | let fo = valueOrElse(getInteger(aj, bP(bO)), 0) | |
756 | + | [("%s%s__assetId__" + bO), ("%s%s__owner__" + eW), ("%s%s__customName__" + ew), ("%s%d__stakedTime__" + toString(fd)), ("%s%s__description__" + makeString([fg, ff[dO], ff[dP], ff[dQ]], "_")), ("%s%d__infraLevel__" + toString(fh._1)), ("%s%s__availResByType__" + fl._2), ("%s%d__availResTotal__" + toString(fj)), ("%s%s__needMaterial__" + fl._1), ("%s%s__landArtefacts__PRESALE:" + toString(fh._2)), ("%s%s__warehouse__" + makeString(eO(cr(bO), (eB / dn), fh._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dJ, cE(bO)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:")), ("%s%s__fortifications__" + fm), ("%s%s__robberyState__" + bz[fn]), ("%s%d__canBeRobbedAfter__" + toString(fo))] | |
760 | 757 | } | |
761 | 758 | ||
762 | 759 | ||
763 | - | func | |
760 | + | func fp (bO,eW) = if ((bO == "")) | |
764 | 761 | then throw("landAssetId is required") | |
765 | 762 | else { | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | [("%s%s__assetId__" + | |
763 | + | let fe = value(assetInfo(fromBase58String(bO))) | |
764 | + | let ff = split(fe.description, "_") | |
765 | + | let eB = ed(ff[dO]) | |
766 | + | let fh = eG(bO, eB) | |
767 | + | [("%s%s__assetId__" + bO), ("%s%s__owner__" + eW), ("%s%s__warehouse__" + makeString(eO(cr(bO), (eB / dn), fh._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dJ, cE(bO)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
771 | 768 | } | |
772 | 769 | ||
773 | 770 | ||
774 | - | @Callable( | |
775 | - | func constructorV1 (az) = if (( | |
771 | + | @Callable(fq) | |
772 | + | func constructorV1 (az) = if ((fq.caller != this)) | |
776 | 773 | then throw("permissions denied") | |
777 | 774 | else { | |
778 | - | func | |
775 | + | func fr (am,fs) = (am + "%s") | |
779 | 776 | ||
780 | - | let | |
777 | + | let ft = { | |
781 | 778 | let ap = az | |
782 | 779 | let aq = size(ap) | |
783 | 780 | let ar = "" | |
784 | 781 | func as (at,au) = if ((au >= aq)) | |
785 | 782 | then at | |
786 | - | else | |
783 | + | else fr(at, ap[au]) | |
787 | 784 | ||
788 | 785 | func av (at,au) = if ((au >= aq)) | |
789 | 786 | then at | |
791 | 788 | ||
792 | 789 | av(as(as(as(as(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
793 | 790 | } | |
794 | - | [StringEntry( | |
791 | + | [StringEntry(dB(), makeString(ft :: az, dk)), StringEntry(dC(), toString(this))] | |
795 | 792 | } | |
796 | 793 | ||
797 | 794 | ||
798 | 795 | ||
799 | - | @Callable( | |
800 | - | func walletInfoREADONLY ( | |
796 | + | @Callable(fq) | |
797 | + | func walletInfoREADONLY (es) = $Tuple2(nil, er(es)) | |
801 | 798 | ||
802 | 799 | ||
803 | 800 | ||
804 | - | @Callable( | |
805 | - | func duckByOwnerInfoREADONLY ( | |
806 | - | let | |
807 | - | $Tuple2(nil, if (if (isDefined(addressFromString( | |
808 | - | then isDefined( | |
801 | + | @Callable(fq) | |
802 | + | func duckByOwnerInfoREADONLY (fu) = { | |
803 | + | let fv = getString(aj, cA(fu)) | |
804 | + | $Tuple2(nil, if (if (isDefined(addressFromString(fu))) | |
805 | + | then isDefined(fv) | |
809 | 806 | else false) | |
810 | 807 | then { | |
811 | - | let | |
812 | - | | |
808 | + | let bB = value(fv) | |
809 | + | eV(bB, fu, eT(bB)) | |
813 | 810 | } | |
814 | - | else | |
811 | + | else eV("", fu, $Tuple5(-1, "", "", -1, ""))) | |
815 | 812 | } | |
816 | 813 | ||
817 | 814 | ||
818 | 815 | ||
819 | - | @Callable( | |
820 | - | func duckByAssetIdInfoREADONLY ( | |
821 | - | let | |
822 | - | $Tuple2(nil, | |
823 | - | then value( | |
824 | - | else "", | |
816 | + | @Callable(fq) | |
817 | + | func duckByAssetIdInfoREADONLY (bB) = { | |
818 | + | let eW = getString(aj, cz(bB)) | |
819 | + | $Tuple2(nil, eV(bB, if (isDefined(eW)) | |
820 | + | then value(eW) | |
821 | + | else "", eT(bB))) | |
825 | 822 | } | |
826 | 823 | ||
827 | 824 | ||
828 | 825 | ||
829 | - | @Callable( | |
830 | - | func landByAssetIdInfoREADONLY ( | |
826 | + | @Callable(fq) | |
827 | + | func landByAssetIdInfoREADONLY (bO) = if ((bO == "")) | |
831 | 828 | then throw("landAssetId is required") | |
832 | 829 | else { | |
833 | - | let | |
834 | - | let | |
835 | - | then value(getString(aj, | |
830 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
831 | + | let eW = if ((fd > 0)) | |
832 | + | then value(getString(aj, cl(bO))) | |
836 | 833 | else "" | |
837 | - | $Tuple2(nil, | |
834 | + | $Tuple2(nil, fc(bO, eW, fd)) | |
838 | 835 | } | |
839 | 836 | ||
840 | 837 | ||
841 | 838 | ||
842 | - | @Callable( | |
843 | - | func stakedLandsByOwnerInfoREADONLY ( | |
839 | + | @Callable(fq) | |
840 | + | func stakedLandsByOwnerInfoREADONLY (fw) = if ((fw == "")) | |
844 | 841 | then throw("landOwnerAddress is required") | |
845 | 842 | else { | |
846 | - | let | |
847 | - | let | |
848 | - | then split_51C(value( | |
843 | + | let fx = getString(aj, dV(fw)) | |
844 | + | let fy = if (isDefined(fx)) | |
845 | + | then split_51C(value(fx), "_") | |
849 | 846 | else nil | |
850 | - | func | |
847 | + | func fz (am,bO) = if ((bO == "")) | |
851 | 848 | then throw("landAssetId is required") | |
852 | 849 | else { | |
853 | - | let | |
854 | - | (am :+ | |
850 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
851 | + | (am :+ fc(bO, fw, fd)) | |
855 | 852 | } | |
856 | 853 | ||
857 | - | let | |
858 | - | let ap = | |
854 | + | let eo = { | |
855 | + | let ap = fy | |
859 | 856 | let aq = size(ap) | |
860 | 857 | let ar = nil | |
861 | 858 | func as (at,au) = if ((au >= aq)) | |
862 | 859 | then at | |
863 | - | else | |
860 | + | else fz(at, ap[au]) | |
864 | 861 | ||
865 | 862 | func av (at,au) = if ((au >= aq)) | |
866 | 863 | then at | |
868 | 865 | ||
869 | 866 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
870 | 867 | } | |
871 | - | $Tuple2(nil, | |
868 | + | $Tuple2(nil, eo) | |
872 | 869 | } | |
873 | 870 | ||
874 | 871 | ||
875 | 872 | ||
876 | - | @Callable( | |
877 | - | func landsByIdsInfoREADONLY ( | |
878 | - | func | |
873 | + | @Callable(fq) | |
874 | + | func landsByIdsInfoREADONLY (fA) = { | |
875 | + | func fz (am,bO) = if ((bO == "")) | |
879 | 876 | then throw("landAssetId is required") | |
880 | 877 | else { | |
881 | - | let | |
882 | - | let | |
883 | - | then value(getString(aj, | |
878 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
879 | + | let eW = if ((fd > 0)) | |
880 | + | then value(getString(aj, cl(bO))) | |
884 | 881 | else "" | |
885 | - | (am :+ | |
882 | + | (am :+ fc(bO, eW, fd)) | |
886 | 883 | } | |
887 | 884 | ||
888 | - | let | |
889 | - | let ap = | |
885 | + | let eo = { | |
886 | + | let ap = fA | |
890 | 887 | let aq = size(ap) | |
891 | 888 | let ar = nil | |
892 | 889 | func as (at,au) = if ((au >= aq)) | |
893 | 890 | then at | |
894 | - | else | |
891 | + | else fz(at, ap[au]) | |
895 | 892 | ||
896 | 893 | func av (at,au) = if ((au >= aq)) | |
897 | 894 | then at | |
899 | 896 | ||
900 | 897 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
901 | 898 | } | |
902 | - | $Tuple2(nil, | |
899 | + | $Tuple2(nil, eo) | |
903 | 900 | } | |
904 | 901 | ||
905 | 902 | ||
906 | 903 | ||
907 | - | @Callable( | |
908 | - | func warehouseOrderByAssetIdInfoREADONLY ( | |
904 | + | @Callable(fq) | |
905 | + | func warehouseOrderByAssetIdInfoREADONLY (bO) = if ((bO == "")) | |
909 | 906 | then throw("landAssetId is required") | |
910 | 907 | else { | |
911 | - | let | |
912 | - | let | |
913 | - | then value(getString(aj, | |
908 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
909 | + | let eW = if ((fd > 0)) | |
910 | + | then value(getString(aj, cl(bO))) | |
914 | 911 | else "" | |
915 | - | $Tuple2(nil, | |
912 | + | $Tuple2(nil, fp(bO, eW)) | |
916 | 913 | } | |
917 | 914 | ||
918 | 915 | ||
919 | 916 | ||
920 | - | @Callable( | |
921 | - | func ordersByLandIdsInfoREADONLY ( | |
922 | - | func | |
917 | + | @Callable(fq) | |
918 | + | func ordersByLandIdsInfoREADONLY (fA) = { | |
919 | + | func fz (am,bO) = if ((bO == "")) | |
923 | 920 | then throw("landAssetId is required") | |
924 | 921 | else { | |
925 | - | let | |
926 | - | let | |
927 | - | then value(getString(aj, | |
922 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
923 | + | let eW = if ((fd > 0)) | |
924 | + | then value(getString(aj, cl(bO))) | |
928 | 925 | else "" | |
929 | - | (am :+ | |
926 | + | (am :+ fp(bO, eW)) | |
930 | 927 | } | |
931 | 928 | ||
932 | - | let | |
933 | - | let ap = | |
929 | + | let eo = { | |
930 | + | let ap = fA | |
934 | 931 | let aq = size(ap) | |
935 | 932 | let ar = nil | |
936 | 933 | func as (at,au) = if ((au >= aq)) | |
937 | 934 | then at | |
938 | - | else | |
935 | + | else fz(at, ap[au]) | |
939 | 936 | ||
940 | 937 | func av (at,au) = if ((au >= aq)) | |
941 | 938 | then at | |
943 | 940 | ||
944 | 941 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
945 | 942 | } | |
946 | - | $Tuple2(nil, | |
943 | + | $Tuple2(nil, eo) | |
947 | 944 | } | |
948 | 945 | ||
949 | 946 | ||
950 | 947 | ||
951 | - | @Callable( | |
952 | - | func cancelWarehouseOrders ( | |
948 | + | @Callable(fq) | |
949 | + | func cancelWarehouseOrders (fA) = if ((fq.caller != this)) | |
953 | 950 | then throw("permission denied") | |
954 | 951 | else { | |
955 | - | let | |
956 | - | if (if (!(isDefined( | |
952 | + | let fB = getBoolean(aj, cD()) | |
953 | + | if (if (!(isDefined(fB))) | |
957 | 954 | then true | |
958 | - | else (value( | |
955 | + | else (value(fB) == false)) | |
959 | 956 | then throw("Contracts should be blocked before canceling orders") | |
960 | 957 | else { | |
961 | - | func | |
958 | + | func fz (fe,bO) = if ((bO == "")) | |
962 | 959 | then throw("landAssetId is required") | |
963 | 960 | else { | |
964 | - | let | |
965 | - | if (if ( | |
961 | + | let fC = ec(invoke(dJ, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", bO], nil)) | |
962 | + | if (if (fe) | |
966 | 963 | then true | |
967 | - | else | |
968 | - | then !(if ( | |
969 | - | then | |
964 | + | else fC) | |
965 | + | then !(if (fe) | |
966 | + | then fC | |
970 | 967 | else false) | |
971 | 968 | else false | |
972 | 969 | } | |
973 | 970 | ||
974 | - | let | |
975 | - | let ap = | |
971 | + | let eo = { | |
972 | + | let ap = fA | |
976 | 973 | let aq = size(ap) | |
977 | 974 | let ar = false | |
978 | 975 | func as (at,au) = if ((au >= aq)) | |
979 | 976 | then at | |
980 | - | else | |
977 | + | else fz(at, ap[au]) | |
981 | 978 | ||
982 | 979 | func av (at,au) = if ((au >= aq)) | |
983 | 980 | then at | |
985 | 982 | ||
986 | 983 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
987 | 984 | } | |
988 | - | $Tuple2(nil, | |
985 | + | $Tuple2(nil, eo) | |
989 | 986 | } | |
990 | 987 | } | |
991 | 988 | ||
992 | 989 | ||
993 | 990 | ||
994 | - | @Callable( | |
995 | - | func fixWarehouseFormats ( | |
991 | + | @Callable(fq) | |
992 | + | func fixWarehouseFormats (fA) = if ((fq.caller != this)) | |
996 | 993 | then throw("permission denied") | |
997 | 994 | else { | |
998 | - | func | |
995 | + | func fz (am,bO) = if ((bO == "")) | |
999 | 996 | then throw("landAssetId is required") | |
1000 | - | else (am + size( | |
997 | + | else (am + size(dX(invoke(aj, "fixWarehouseFormat", [bO], nil)))) | |
1001 | 998 | ||
1002 | - | let | |
1003 | - | let ap = | |
999 | + | let eo = { | |
1000 | + | let ap = fA | |
1004 | 1001 | let aq = size(ap) | |
1005 | 1002 | let ar = 0 | |
1006 | 1003 | func as (at,au) = if ((au >= aq)) | |
1007 | 1004 | then at | |
1008 | - | else | |
1005 | + | else fz(at, ap[au]) | |
1009 | 1006 | ||
1010 | 1007 | func av (at,au) = if ((au >= aq)) | |
1011 | 1008 | then at | |
1013 | 1010 | ||
1014 | 1011 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
1015 | 1012 | } | |
1016 | - | $Tuple2(nil, | |
1013 | + | $Tuple2(nil, eo) | |
1017 | 1014 | } | |
1018 | 1015 | ||
1019 | 1016 | ||
1020 | 1017 | ||
1021 | - | @Callable( | |
1022 | - | func fixStakedPieces ( | |
1018 | + | @Callable(fq) | |
1019 | + | func fixStakedPieces (fD) = if ((fq.caller != this)) | |
1023 | 1020 | then throw("permission denied") | |
1024 | 1021 | else { | |
1025 | - | func | |
1022 | + | func fE (am,t) = if ((t == "")) | |
1026 | 1023 | then throw("address is required") | |
1027 | - | else (am + | |
1024 | + | else (am + ea(invoke(aj, "fixStakedPieces", [t], nil))) | |
1028 | 1025 | ||
1029 | - | let | |
1030 | - | let ap = | |
1026 | + | let eo = { | |
1027 | + | let ap = fD | |
1031 | 1028 | let aq = size(ap) | |
1032 | 1029 | let ar = 0 | |
1033 | 1030 | func as (at,au) = if ((au >= aq)) | |
1034 | 1031 | then at | |
1035 | - | else | |
1032 | + | else fE(at, ap[au]) | |
1036 | 1033 | ||
1037 | 1034 | func av (at,au) = if ((au >= aq)) | |
1038 | 1035 | then at | |
1040 | 1037 | ||
1041 | 1038 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16) | |
1042 | 1039 | } | |
1043 | - | $Tuple2(nil, | |
1040 | + | $Tuple2(nil, eo) | |
1044 | 1041 | } | |
1045 | 1042 | ||
1046 | 1043 | ||
1047 | 1044 | ||
1048 | - | @Callable( | |
1049 | - | func fixStakedLands ( | |
1050 | - | let | |
1051 | - | if (!(containsElement( | |
1045 | + | @Callable(fq) | |
1046 | + | func fixStakedLands (fA) = { | |
1047 | + | let fF = toString(fq.caller) | |
1048 | + | if (!(containsElement(eh, fF))) | |
1052 | 1049 | then throw("Permission denied") | |
1053 | 1050 | else { | |
1054 | - | let | |
1055 | - | $Tuple2(nil, | |
1051 | + | let eo = ea(invoke(aj, "fixContinentProportions", [fA], nil)) | |
1052 | + | $Tuple2(nil, eo) | |
1056 | 1053 | } | |
1057 | 1054 | } | |
1058 | 1055 | ||
1059 | 1056 | ||
1060 | 1057 | ||
1061 | - | @Callable( | |
1062 | - | func sendUsdtPrize ( | |
1058 | + | @Callable(fq) | |
1059 | + | func sendUsdtPrize (fu) = if ((fq.caller != aj)) | |
1063 | 1060 | then throw("permission denied") | |
1064 | 1061 | else { | |
1065 | - | let | |
1066 | - | $Tuple2([ScriptTransfer(addressFromStringValue( | |
1062 | + | let fG = fraction(assetBalance(this, dg), eg, dl) | |
1063 | + | $Tuple2([ScriptTransfer(addressFromStringValue(fu), fG, dg)], fG) | |
1067 | 1064 | } | |
1068 | 1065 | ||
1069 | 1066 | ||
1070 | 1067 | ||
1071 | - | @Callable( | |
1068 | + | @Callable(fq) | |
1072 | 1069 | func getEmergencyServiceDataREADONLY () = { | |
1073 | - | let | |
1074 | - | let | |
1075 | - | then split_4C(value( | |
1070 | + | let fH = getString(dJ, cF()) | |
1071 | + | let fI = if (isDefined(fH)) | |
1072 | + | then split_4C(value(fH), "_") | |
1076 | 1073 | else nil | |
1077 | - | func | |
1078 | - | let | |
1079 | - | let | |
1080 | - | let | |
1081 | - | then ( | |
1074 | + | func fJ (am,fK) = { | |
1075 | + | let eb = am._2 | |
1076 | + | let de = split(fK, "_") | |
1077 | + | let fL = if ((eb == 0)) | |
1078 | + | then (cd * cj) | |
1082 | 1079 | else 0 | |
1083 | - | let | |
1084 | - | then parseIntValue( | |
1080 | + | let fM = if ((size(fI) > eb)) | |
1081 | + | then parseIntValue(fI[eb]) | |
1085 | 1082 | else 0 | |
1086 | - | let | |
1087 | - | let | |
1088 | - | let | |
1089 | - | let | |
1090 | - | $Tuple2((am._1 :+ | |
1083 | + | let fN = dd(de) | |
1084 | + | let fO = fraction((fN * ce), cc, (dm * cj)) | |
1085 | + | let fP = fraction((fN * cf), cc, (dm * cj)) | |
1086 | + | let fQ = makeString([toString(fL), toString(fM), toString(fO), toString(fP)], "_") | |
1087 | + | $Tuple2((am._1 :+ fQ), (eb + 1)) | |
1091 | 1088 | } | |
1092 | 1089 | ||
1093 | - | let | |
1090 | + | let dZ = makeString_2C(( let ap = ch | |
1094 | 1091 | let aq = size(ap) | |
1095 | 1092 | let ar = $Tuple2(nil, 0) | |
1096 | 1093 | func as (at,au) = if ((au >= aq)) | |
1097 | 1094 | then at | |
1098 | - | else | |
1095 | + | else fJ(at, ap[au]) | |
1099 | 1096 | ||
1100 | 1097 | func av (at,au) = if ((au >= aq)) | |
1101 | 1098 | then at | |
1102 | 1099 | else throw("List size exceeds 50") | |
1103 | 1100 | ||
1104 | 1101 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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))._1, ":") | |
1105 | - | let | |
1106 | - | $Tuple2(nil, | |
1102 | + | let fR = ("%s%s__emergencyServiceData__" + dZ) | |
1103 | + | $Tuple2(nil, fR) | |
1107 | 1104 | } | |
1108 | 1105 | ||
1109 | 1106 | ||
1110 | 1107 | ||
1111 | - | @Callable( | |
1108 | + | @Callable(fq) | |
1112 | 1109 | func wlgStatsREADONLY (ay) = { | |
1113 | - | let | |
1114 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
1110 | + | let fS = ax(ay, [dI, aj, dJ, dK, dL, aI], dg, 0, dl) | |
1111 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(fS[z])), ("%s%d__wlgPrice__" + toString(fS[A])), ("%s%d__usdtFunds__" + toString(fS[B])), ("%s%d__usdtEconomy__" + toString(fS[C])), ("%s%d__usdtActivity__" + toString(fS[D])), ("%s%d__usdtArbitrage__" + toString(fS[E])), ("%s%d__usdtPool__" + toString(fS[F])), ("%s%d__wlgIssueTime__" + toString(fS[G])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(fS[H])), ("%s%d__wlgMarketingTotal__" + toString(fS[I])), ("%s%d__wlgMarketingAmLeft__" + toString(fS[J])), ("%s%d__wlgMarketingAmAvailNow__" + toString(fS[K])), ("%s%d__wlgMarketingWlgold__" + toString(fS[L])), ("%s%d__wlgTeamTotal__" + toString(fS[M])), ("%s%d__wlgTeamAmLeft__" + toString(fS[N])), ("%s%d__wlgTeamAmAvailNow__" + toString(fS[O])), ("%s%d__wlgTeamWlgold__" + toString(fS[P])), ("%s%d__wlgActTotal__" + toString(fS[Q])), ("%s%d__wlgActAmLeft__" + toString(fS[R])), ("%s%d__wlgActAmAvailNow__" + toString(fS[S])), ("%s%d__wlgActWlgold__" + toString(fS[T])), ("%s%d__wlgCurPeriod__" + toString(fS[U])), ("%s%d__wlgAmLeftTotal__" + toString(fS[V])), ("%s%d__wlgCurPeriodDistribution__" + toString(fS[W])), ("%s%d__wlgLastUserTime__" + toString(fS[X])), ("%s%d__wlgUserAmAvailNow__" + toString(fS[Y])), ("%s%d__wlgGuestSLandDaily__" + toString(fS[Z])), ("%s%d__wlgInvestFundTotal__" + toString(fS[aa]))]) | |
1115 | 1112 | } | |
1116 | 1113 | ||
1117 | 1114 | ||
1118 | 1115 | ||
1119 | - | @Callable( | |
1120 | - | func tournamentStatsREADONLY ( | |
1121 | - | let | |
1122 | - | let | |
1123 | - | let | |
1124 | - | let | |
1116 | + | @Callable(fq) | |
1117 | + | func tournamentStatsREADONLY (fT) = { | |
1118 | + | let fU = cN(dM, fT) | |
1119 | + | let cP = fU[cL] | |
1120 | + | let cQ = fU[cM] | |
1121 | + | let fV = if ((cQ[cW] == "")) | |
1125 | 1122 | then " " | |
1126 | - | else | |
1127 | - | let | |
1128 | - | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([ | |
1123 | + | else cQ[cW] | |
1124 | + | let fW = valueOrElse(getString(dM, cK(fT)), "") | |
1125 | + | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([cP[cR], cP[cS], cP[cT], cP[cU]], "_")), ("%s%s__tournamentDynamicData__" + makeString([cQ[cV], fV, cQ[cX], cQ[cY], cQ[cZ]], "_")), ("%s%s__tournamentRegistrants__" + fW)]) | |
1129 | 1126 | } | |
1130 | 1127 | ||
1131 | 1128 | ||
1132 | 1129 | ||
1133 | - | @Callable( | |
1130 | + | @Callable(fq) | |
1134 | 1131 | func lastTournamentStatsREADONLY () = { | |
1135 | - | let | |
1136 | - | let | |
1137 | - | let | |
1138 | - | let | |
1132 | + | let fT = valueOrElse(getInteger(dM, cG), 0) | |
1133 | + | let cP = split(valueOrElse(getString(dM, cH(fT)), "%s%d%d%d%d%d____________"), dk) | |
1134 | + | let cQ = split(valueOrElse(getString(dM, cJ(fT)), "%s%s%d%d%d__________"), dk) | |
1135 | + | let fV = if ((cQ[cW] == "")) | |
1139 | 1136 | then " " | |
1140 | - | else | |
1141 | - | let | |
1142 | - | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString( | |
1137 | + | else cQ[cW] | |
1138 | + | let fW = valueOrElse(getString(dM, cK(fT)), "") | |
1139 | + | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(fT)), ("%s%s__tournamentStaticData__" + makeString([cP[cR], cP[cS], cP[cT], cP[cU]], "_")), ("%s%s__tournamentDynamicData__" + makeString([cQ[cV], fV, cQ[cX], cQ[cY], cQ[cZ]], "_")), ("%s%s__tournamentRegistrants__" + fW)]) | |
1143 | 1140 | } | |
1144 | 1141 | ||
1145 | 1142 | ||
1146 | 1143 | ||
1147 | - | @Callable( | |
1148 | - | func tournamentDuckStatsREADONLY ( | |
1149 | - | let | |
1150 | - | let | |
1151 | - | let | |
1152 | - | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString( | |
1144 | + | @Callable(fq) | |
1145 | + | func tournamentDuckStatsREADONLY (cI,bB) = { | |
1146 | + | let fX = valueOrElse(getBoolean(dM, da(cI, bB)), false) | |
1147 | + | let fY = valueOrElse(getInteger(dM, db(cI, bB)), 0) | |
1148 | + | let fZ = valueOrElse(getInteger(dM, dc(cI, bB)), 0) | |
1149 | + | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(fX), toString(fY), toString(fZ)], "_"))]) | |
1153 | 1150 | } | |
1154 | 1151 | ||
1155 | 1152 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1000000 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 100000000000000 | |
9 | 9 | ||
10 | 10 | let d = 100000 | |
11 | 11 | ||
12 | 12 | let e = 200000 | |
13 | 13 | ||
14 | 14 | let f = 100000 | |
15 | 15 | ||
16 | 16 | let g = 400000 | |
17 | 17 | ||
18 | 18 | let h = 31557600000 | |
19 | 19 | ||
20 | 20 | let i = 86400000 | |
21 | 21 | ||
22 | 22 | let j = "marketingAddr" | |
23 | 23 | ||
24 | 24 | let k = "teamAddr" | |
25 | 25 | ||
26 | 26 | let l = "lastClaimedTime_marketing" | |
27 | 27 | ||
28 | 28 | let m = "marketingAmountLeft" | |
29 | 29 | ||
30 | 30 | let n = "lastClaimedTime_team" | |
31 | 31 | ||
32 | 32 | let o = "teamAmountLeft" | |
33 | 33 | ||
34 | 34 | let p = "lastClaimedTime_activities" | |
35 | 35 | ||
36 | 36 | let q = "activitiesAmountLeft" | |
37 | 37 | ||
38 | 38 | let r = "stakersAmountLeft" | |
39 | 39 | ||
40 | 40 | func s (t) = ("lastClaimedTimeUser_" + t) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func u (v) = fraction(c, (g * (v + 1)), (6 * a)) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | let w = "wlg_issueTime" | |
47 | 47 | ||
48 | 48 | let x = "wlg_issuedAmount" | |
49 | 49 | ||
50 | 50 | let y = "zbill_issuedAmount" | |
51 | 51 | ||
52 | 52 | let z = 0 | |
53 | 53 | ||
54 | 54 | let A = 1 | |
55 | 55 | ||
56 | 56 | let B = 2 | |
57 | 57 | ||
58 | 58 | let C = 3 | |
59 | 59 | ||
60 | 60 | let D = 4 | |
61 | 61 | ||
62 | 62 | let E = 5 | |
63 | 63 | ||
64 | 64 | let F = 6 | |
65 | 65 | ||
66 | 66 | let G = 7 | |
67 | 67 | ||
68 | 68 | let H = 8 | |
69 | 69 | ||
70 | 70 | let I = 9 | |
71 | 71 | ||
72 | 72 | let J = 10 | |
73 | 73 | ||
74 | 74 | let K = 11 | |
75 | 75 | ||
76 | 76 | let L = 12 | |
77 | 77 | ||
78 | 78 | let M = 13 | |
79 | 79 | ||
80 | 80 | let N = 14 | |
81 | 81 | ||
82 | 82 | let O = 15 | |
83 | 83 | ||
84 | 84 | let P = 16 | |
85 | 85 | ||
86 | 86 | let Q = 17 | |
87 | 87 | ||
88 | 88 | let R = 18 | |
89 | 89 | ||
90 | 90 | let S = 19 | |
91 | 91 | ||
92 | 92 | let T = 20 | |
93 | 93 | ||
94 | 94 | let U = 21 | |
95 | 95 | ||
96 | 96 | let V = 22 | |
97 | 97 | ||
98 | 98 | let W = 23 | |
99 | 99 | ||
100 | 100 | let X = 24 | |
101 | 101 | ||
102 | 102 | let Y = 25 | |
103 | 103 | ||
104 | 104 | let Z = 26 | |
105 | 105 | ||
106 | 106 | let aa = 27 | |
107 | 107 | ||
108 | 108 | let ab = 0 | |
109 | 109 | ||
110 | 110 | let ac = 1 | |
111 | 111 | ||
112 | 112 | let ad = 2 | |
113 | 113 | ||
114 | 114 | let ae = 3 | |
115 | 115 | ||
116 | 116 | let af = 4 | |
117 | 117 | ||
118 | 118 | let ag = 5 | |
119 | 119 | ||
120 | 120 | func ah (ai,aj) = { | |
121 | 121 | let ak = split(valueOrElse(getString(aj, "resTypesProportions"), "0_0_0_0_0_0"), "_") | |
122 | 122 | func al (am,an) = (am + parseIntValue(an)) | |
123 | 123 | ||
124 | 124 | let ao = { | |
125 | 125 | let ap = ak | |
126 | 126 | let aq = size(ap) | |
127 | 127 | let ar = 0 | |
128 | 128 | func as (at,au) = if ((au >= aq)) | |
129 | 129 | then at | |
130 | 130 | else al(at, ap[au]) | |
131 | 131 | ||
132 | 132 | func av (at,au) = if ((au >= aq)) | |
133 | 133 | then at | |
134 | 134 | else throw("List size exceeds 6") | |
135 | 135 | ||
136 | 136 | av(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6) | |
137 | 137 | } | |
138 | 138 | let aw = valueOrElse(getInteger(aj, ("stakedPiecesByOwner_" + ai)), 0) | |
139 | 139 | [ao, aw] | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ax (ay,az,aA,aB,aC) = { | |
144 | 144 | let aD = valueOrErrorMessage(getInteger(az[ae], x), "WLGOLD is not issued yet") | |
145 | 145 | let aE = assetBalance(az[ad], aA) | |
146 | 146 | let aF = assetBalance(az[ab], aA) | |
147 | 147 | let aG = (assetBalance(az[ae], aA) - aB) | |
148 | 148 | let aH = assetBalance(az[af], aA) | |
149 | 149 | let aI = az[ag] | |
150 | 150 | let aJ = (assetBalance(aI, aA) + valueOrElse(getInteger(aI, y), 0)) | |
151 | 151 | let aK = ((aE + aG) + aJ) | |
152 | 152 | let aL = valueOrErrorMessage(getBinary(az[ae], "wlg_assetId"), "Not initialized yet") | |
153 | 153 | let aM = lastBlock.timestamp | |
154 | 154 | let aN = valueOrErrorMessage(getInteger(az[ae], w), "Not initialized") | |
155 | 155 | let aO = fraction(c, d, a) | |
156 | 156 | let aP = valueOrElse(getInteger(az[ae], m), aO) | |
157 | 157 | let aQ = valueOrElse(getInteger(az[ae], l), aN) | |
158 | 158 | let aR = addressFromStringValue(value(getString(az[ae], j))) | |
159 | 159 | let aS = min([fraction(aO, (aM - aQ), h), aP]) | |
160 | 160 | let aT = assetBalance(aR, aL) | |
161 | 161 | let aU = fraction(c, e, a) | |
162 | 162 | let aV = valueOrElse(getInteger(az[ae], o), aU) | |
163 | 163 | let aW = valueOrElse(getInteger(az[ae], n), aN) | |
164 | 164 | let aX = addressFromStringValue(value(getString(az[ae], k))) | |
165 | 165 | let aY = min([fraction(aU, (aM - aW), (3 * h)), aV]) | |
166 | 166 | let aZ = assetBalance(aX, aL) | |
167 | 167 | let ba = fraction(c, f, a) | |
168 | 168 | let bb = valueOrElse(getInteger(az[ae], q), ba) | |
169 | 169 | let bc = valueOrElse(getInteger(az[ae], p), aN) | |
170 | 170 | let bd = min([fraction(ba, (aM - bc), (3 * h)), bb]) | |
171 | 171 | let be = assetBalance(az[ab], aL) | |
172 | 172 | let bf = valueOrElse(getInteger(az[ae], s(ay)), aN) | |
173 | 173 | let bg = ((bf - aN) / h) | |
174 | 174 | let bh = min([aM, (aN + (3 * h))]) | |
175 | 175 | let bi = min([((aM - aN) / h), 2]) | |
176 | 176 | let bj = ah(ay, az[ac]) | |
177 | 177 | let bk = u(bi) | |
178 | 178 | let bl = if ((bg == bi)) | |
179 | 179 | then { | |
180 | 180 | let bm = fraction(bk, (bh - bf), h) | |
181 | 181 | let bn = fraction(bm, aC, a) | |
182 | 182 | let bo = (bf + fraction((bh - bf), aC, a)) | |
183 | 183 | $Tuple3(bn, bm, bo) | |
184 | 184 | } | |
185 | 185 | else if ((bg == (bi - 1))) | |
186 | 186 | then { | |
187 | 187 | let bp = fraction(u((bi - 1)), ((aN + (h * bi)) - bf), h) | |
188 | 188 | let bm = fraction(bk, (bh - (aN + (h * bi))), h) | |
189 | 189 | let bq = (bp + bm) | |
190 | 190 | let bn = fraction(bq, aC, a) | |
191 | 191 | let bo = if ((bp >= bn)) | |
192 | 192 | then (bf + fraction(h, bn, u((bi - 1)))) | |
193 | 193 | else ((aN + (h * bi)) + fraction(h, (bn - bp), bk)) | |
194 | 194 | $Tuple3(bn, bq, bo) | |
195 | 195 | } | |
196 | 196 | else { | |
197 | 197 | let br = fraction(u((bi - 2)), ((aN + (h * (bi - 1))) - bf), h) | |
198 | 198 | let bp = u((bi - 1)) | |
199 | 199 | let bm = fraction(bk, (bh - (aN + (h * bi))), h) | |
200 | 200 | let bq = ((br + bp) + bm) | |
201 | 201 | let bn = fraction(bq, aC, a) | |
202 | 202 | let bo = if ((br >= bn)) | |
203 | 203 | then (bf + fraction(h, bn, u((bi - 2)))) | |
204 | 204 | else if (((br + bp) >= bn)) | |
205 | 205 | then ((aN + (h * (bi - 1))) + fraction(h, (bn - br), u((bi - 1)))) | |
206 | 206 | else ((aN + (h * bi)) + fraction(h, ((bn - br) - bp), bk)) | |
207 | 207 | $Tuple3(bn, bq, bo) | |
208 | 208 | } | |
209 | 209 | let bs = bl._1 | |
210 | 210 | let bt = bl._2 | |
211 | 211 | let bu = bl._3 | |
212 | 212 | let bv = fraction(fraction(bk, i, h), 25, bj[0]) | |
213 | 213 | let bw = valueOrElse(getInteger(az[ae], r), 0) | |
214 | 214 | [aD, fraction(aK, b, aD), aK, aE, aF, aG, aH, aN, aQ, aO, aP, aS, aT, aU, aV, aY, aZ, ba, bb, bd, be, bi, bw, bk, bf, fraction(bs, bj[1], bj[0]), bv, aJ, fraction(bt, bj[1], bj[0]), bu] | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | let bx = 100000000 | |
219 | 219 | ||
220 | 220 | let by = 400 | |
221 | 221 | ||
222 | - | func bz (bA) = ("duckHealth_" + bA) | |
222 | + | let bz = ["free", "locked", "afterLockCooldown", "robbedCooldown", "defendedCooldown"] | |
223 | + | ||
224 | + | func bA (bB) = ("duckHealth_" + bB) | |
223 | 225 | ||
224 | 226 | ||
225 | - | func | |
227 | + | func bC (bB) = ("duckChars_" + bB) | |
226 | 228 | ||
227 | 229 | ||
228 | - | func | |
230 | + | func bD (bB) = ("duckXP_" + bB) | |
229 | 231 | ||
230 | 232 | ||
231 | - | func | |
233 | + | func bE (bB) = ("duckLevel_" + bB) | |
232 | 234 | ||
233 | 235 | ||
234 | - | func | |
236 | + | func bF (bB) = ("duckFreePoints_" + bB) | |
235 | 237 | ||
236 | 238 | ||
237 | - | func | |
239 | + | func bG (bB) = ("duckEquipment_" + bB) | |
238 | 240 | ||
239 | 241 | ||
240 | - | func | |
242 | + | func bH (t) = ("userXP_" + t) | |
241 | 243 | ||
242 | 244 | ||
243 | - | func | |
245 | + | func bI (t) = ("userLevel_" + t) | |
244 | 246 | ||
245 | 247 | ||
246 | - | func | |
248 | + | func bJ (t) = ("userFreePoints_" + t) | |
247 | 249 | ||
248 | 250 | ||
249 | - | func | |
251 | + | func bK (bB) = ("duckBuffs_" + bB) | |
250 | 252 | ||
251 | 253 | ||
252 | - | func | |
254 | + | func bL (bB) = ("lastRobberyTime_" + bB) | |
253 | 255 | ||
254 | 256 | ||
255 | - | func | |
257 | + | func bM (bB) = ("lastRobberyCost_" + bB) | |
256 | 258 | ||
257 | 259 | ||
258 | - | func | |
260 | + | func bN (bO) = ("landRobberyState_" + bO) | |
259 | 261 | ||
260 | 262 | ||
261 | - | func bO (aj,bA) = { | |
262 | - | let bP = valueOrElse(getInteger(aj, bL(bA)), 0) | |
263 | - | let bQ = valueOrElse(getInteger(aj, bK(bA)), 0) | |
263 | + | func bP (bO) = ("landCooldownETA_" + bO) | |
264 | + | ||
265 | + | ||
266 | + | func bQ (bR) = (100 + bR) | |
267 | + | ||
268 | + | ||
269 | + | func bS (aj,bB) = { | |
270 | + | let bT = valueOrElse(getInteger(aj, bM(bB)), 0) | |
271 | + | let bU = valueOrElse(getInteger(aj, bL(bB)), 0) | |
264 | 272 | let aM = lastBlock.timestamp | |
265 | - | let | |
266 | - | $Tuple2( | |
273 | + | let bV = max([bx, (bT - (by * (aM - bU)))]) | |
274 | + | $Tuple2(bV, bU) | |
267 | 275 | } | |
268 | 276 | ||
269 | 277 | ||
270 | - | let | |
278 | + | let bW = "PRESALE" | |
271 | 279 | ||
272 | - | let | |
280 | + | let bX = "ONBOARD" | |
273 | 281 | ||
274 | - | let | |
282 | + | let bY = 6 | |
275 | 283 | ||
276 | - | let | |
284 | + | let bZ = 3456000 | |
277 | 285 | ||
278 | - | let | |
286 | + | let ca = 86400000 | |
279 | 287 | ||
280 | - | let | |
288 | + | let cb = 10000000000 | |
281 | 289 | ||
282 | - | let | |
290 | + | let cc = 39637 | |
283 | 291 | ||
284 | - | let | |
292 | + | let cd = 3 | |
285 | 293 | ||
286 | - | let ca = 4 | |
287 | - | ||
288 | - | let cb = 10 | |
289 | - | ||
290 | - | let cc = 10000000 | |
291 | - | ||
292 | - | let cd = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
293 | - | ||
294 | - | let ce = 6 | |
294 | + | let ce = 4 | |
295 | 295 | ||
296 | 296 | let cf = 10 | |
297 | 297 | ||
298 | - | func cg (t) = ("lastTxIdByUser_" + t) | |
298 | + | let cg = 10000000 | |
299 | + | ||
300 | + | let ch = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
301 | + | ||
302 | + | let ci = 6 | |
303 | + | ||
304 | + | let cj = 10 | |
305 | + | ||
306 | + | func ck (t) = ("lastTxIdByUser_" + t) | |
299 | 307 | ||
300 | 308 | ||
301 | - | func | |
309 | + | func cl (cm) = ("nftOwner_" + cm) | |
302 | 310 | ||
303 | 311 | ||
304 | - | func | |
312 | + | func cn (cm) = ("landCustomNameByAssetId_" + cm) | |
305 | 313 | ||
306 | 314 | ||
307 | - | func | |
315 | + | func co (cm) = ("stakedTime_" + cm) | |
308 | 316 | ||
309 | 317 | ||
310 | - | func | |
318 | + | func cp (cq,cm) = makeString(["landArtStatus", cq, cm], "_") | |
311 | 319 | ||
312 | 320 | ||
313 | - | func | |
321 | + | func cr (bO) = ("wareHouse_" + bO) | |
314 | 322 | ||
315 | 323 | ||
316 | - | func | |
324 | + | func cs (cm) = ("infraLevel_" + cm) | |
317 | 325 | ||
318 | 326 | ||
319 | - | func | |
327 | + | func ct (bO) = ("fortifications_" + bO) | |
320 | 328 | ||
321 | 329 | ||
322 | - | func | |
330 | + | func cu (cm) = ("duckCustomNameByAssetId_" + cm) | |
323 | 331 | ||
324 | 332 | ||
325 | - | func | |
333 | + | func cv (t) = ("accountCustomNameByAddr_" + t) | |
326 | 334 | ||
327 | 335 | ||
328 | - | func | |
336 | + | func cw (t) = ("accRefBy_" + t) | |
329 | 337 | ||
330 | 338 | ||
331 | - | func | |
339 | + | func cx (t) = ("onboardArtActivatedDuckBy_" + t) | |
332 | 340 | ||
333 | 341 | ||
334 | - | func | |
342 | + | func cy (t) = ("accReferrals_" + t) | |
335 | 343 | ||
336 | 344 | ||
337 | - | func | |
345 | + | func cz (cm) = ("duckOwner_" + cm) | |
338 | 346 | ||
339 | 347 | ||
340 | - | func | |
348 | + | func cA (cB) = ("stakedDuckByOwner_" + cB) | |
341 | 349 | ||
342 | 350 | ||
343 | - | func | |
351 | + | func cC (bB) = ("duckLocation_" + bB) | |
344 | 352 | ||
345 | 353 | ||
346 | - | func | |
354 | + | func cD () = "contractsBlocked" | |
347 | 355 | ||
348 | 356 | ||
349 | - | func | |
357 | + | func cE (bO) = ("landOrder_" + bO) | |
350 | 358 | ||
351 | 359 | ||
352 | - | func | |
360 | + | func cF () = "emergencyWarehouseProducts" | |
353 | 361 | ||
354 | 362 | ||
355 | - | func cD () = "emergencyWarehouseProducts" | |
363 | + | let cG = "%s__lastTourId" | |
364 | + | ||
365 | + | func cH (cI) = ("%s%d__tourStaticData__" + toString(cI)) | |
356 | 366 | ||
357 | 367 | ||
358 | - | let cE = "%s__lastTourId" | |
359 | - | ||
360 | - | func cF (cG) = ("%s%d__tourStaticData__" + toString(cG)) | |
368 | + | func cJ (cI) = ("%s%d__tourDynamicData__" + toString(cI)) | |
361 | 369 | ||
362 | 370 | ||
363 | - | func | |
371 | + | func cK (cI) = ("%s%d__allRegistrants__" + toString(cI)) | |
364 | 372 | ||
365 | 373 | ||
366 | - | ||
374 | + | let cL = 0 | |
367 | 375 | ||
376 | + | let cM = 1 | |
368 | 377 | ||
369 | - | let cJ = 0 | |
370 | - | ||
371 | - | let cK = 1 | |
372 | - | ||
373 | - | func cL (cM,cG) = { | |
374 | - | let cN = split(valueOrErrorMessage(getString(cM, cF(cG)), (("Error reading tournament " + toString(cG)) + " data")), "__") | |
375 | - | let cO = split(valueOrErrorMessage(getString(cM, cH(cG)), (("Error reading tournament " + toString(cG)) + " data")), "__") | |
376 | - | [cN, cO] | |
378 | + | func cN (cO,cI) = { | |
379 | + | let cP = split(valueOrErrorMessage(getString(cO, cH(cI)), (("Error reading tournament " + toString(cI)) + " data")), "__") | |
380 | + | let cQ = split(valueOrErrorMessage(getString(cO, cJ(cI)), (("Error reading tournament " + toString(cI)) + " data")), "__") | |
381 | + | [cP, cQ] | |
377 | 382 | } | |
378 | 383 | ||
379 | 384 | ||
380 | - | let | |
385 | + | let cR = 2 | |
381 | 386 | ||
382 | - | let | |
387 | + | let cS = 3 | |
383 | 388 | ||
384 | - | let | |
389 | + | let cT = 5 | |
385 | 390 | ||
386 | - | let | |
391 | + | let cU = 6 | |
387 | 392 | ||
388 | - | let | |
393 | + | let cV = 1 | |
389 | 394 | ||
390 | - | let | |
395 | + | let cW = 2 | |
391 | 396 | ||
392 | - | let | |
397 | + | let cX = 3 | |
393 | 398 | ||
394 | - | let | |
399 | + | let cY = 4 | |
395 | 400 | ||
396 | - | let | |
401 | + | let cZ = 5 | |
397 | 402 | ||
398 | - | func | |
403 | + | func da (cI,bB) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(cI), bB], "__") | |
399 | 404 | ||
400 | 405 | ||
401 | - | func | |
406 | + | func db (cI,bB) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(cI), bB], "__") | |
402 | 407 | ||
403 | 408 | ||
404 | - | func | |
409 | + | func dc (cI,bB) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(cI), bB], "__") | |
405 | 410 | ||
406 | 411 | ||
407 | - | func | |
412 | + | func dd (de) = (parseIntValue(de[ci]) * cg) | |
408 | 413 | ||
409 | 414 | ||
410 | - | let | |
415 | + | let df = take(drop(this.bytes, 1), 1) | |
411 | 416 | ||
412 | - | let | |
413 | - | let | |
414 | - | if ((base58'2W' == | |
417 | + | let dg = { | |
418 | + | let dh = df | |
419 | + | if ((base58'2W' == dh)) | |
415 | 420 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
416 | - | else if ((base58'2T' == | |
421 | + | else if ((base58'2T' == dh)) | |
417 | 422 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
418 | 423 | else throw("Unknown chain") | |
419 | 424 | } | |
420 | 425 | ||
421 | - | let | |
422 | - | let | |
423 | - | if ((base58'2W' == | |
426 | + | let di = { | |
427 | + | let dh = df | |
428 | + | if ((base58'2W' == dh)) | |
424 | 429 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
425 | - | else if ((base58'2T' == | |
430 | + | else if ((base58'2T' == dh)) | |
426 | 431 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
427 | 432 | else throw("Unknown chain") | |
428 | 433 | } | |
429 | 434 | ||
430 | - | let | |
431 | - | let | |
432 | - | if ((base58'2W' == | |
435 | + | let dj = { | |
436 | + | let dh = df | |
437 | + | if ((base58'2W' == dh)) | |
433 | 438 | then 10000000000 | |
434 | - | else if ((base58'2T' == | |
439 | + | else if ((base58'2T' == dh)) | |
435 | 440 | then 100000000 | |
436 | 441 | else throw("Unknown chain") | |
437 | 442 | } | |
438 | 443 | ||
439 | - | let di = { | |
440 | - | let df = dd | |
441 | - | if ((base58'2W' == df)) | |
442 | - | then 21600000 | |
443 | - | else if ((base58'2T' == df)) | |
444 | - | then 600000 | |
445 | - | else throw("Unknown chain") | |
446 | - | } | |
444 | + | let dk = "__" | |
447 | 445 | ||
448 | - | let | |
446 | + | let dl = 1000000 | |
449 | 447 | ||
450 | - | let | |
448 | + | let dm = 100000000 | |
451 | 449 | ||
452 | - | let | |
450 | + | let dn = 25 | |
453 | 451 | ||
454 | - | let | |
452 | + | let do = 100 | |
455 | 453 | ||
456 | - | let | |
454 | + | let dp = 225 | |
457 | 455 | ||
458 | - | let | |
456 | + | let dq = 400 | |
459 | 457 | ||
460 | - | let | |
458 | + | let dr = 625 | |
461 | 459 | ||
462 | - | let dq = 625 | |
463 | - | ||
464 | - | func dr (ds,dt) = valueOrErrorMessage(getString(ds, dt), makeString(["mandatory ", toString(ds), ".", dt, " is not defined"], "")) | |
460 | + | func ds (dt,du) = valueOrErrorMessage(getString(dt, du), makeString(["mandatory ", toString(dt), ".", du, " is not defined"], "")) | |
465 | 461 | ||
466 | 462 | ||
467 | - | let | |
463 | + | let dv = 1 | |
468 | 464 | ||
469 | - | let | |
465 | + | let dw = 2 | |
470 | 466 | ||
471 | - | let | |
467 | + | let dx = 4 | |
472 | 468 | ||
473 | - | let | |
469 | + | let dy = 5 | |
474 | 470 | ||
475 | - | let | |
471 | + | let dz = 6 | |
476 | 472 | ||
477 | - | let | |
473 | + | let dA = 7 | |
478 | 474 | ||
479 | - | func | |
475 | + | func dB () = "%s__restConfig" | |
480 | 476 | ||
481 | 477 | ||
482 | - | func | |
478 | + | func dC () = "%s__restAddr" | |
483 | 479 | ||
484 | 480 | ||
485 | - | func | |
481 | + | func dD (dE) = split_4C(ds(dE, dB()), dk) | |
486 | 482 | ||
487 | 483 | ||
488 | - | func | |
484 | + | func dF (dG,dH) = valueOrErrorMessage(addressFromString(dG[dH]), ("Rest cfg doesn't contain address at index " + toString(dH))) | |
489 | 485 | ||
490 | 486 | ||
491 | - | let | |
487 | + | let dI = addressFromStringValue(valueOrElse(getString(this, dC()), di)) | |
492 | 488 | ||
493 | - | let | |
489 | + | let dG = dD(dI) | |
494 | 490 | ||
495 | - | let aj = | |
491 | + | let aj = dF(dG, dv) | |
496 | 492 | ||
497 | - | let | |
493 | + | let dJ = dF(dG, dw) | |
498 | 494 | ||
499 | - | let | |
495 | + | let dK = dF(dG, dx) | |
500 | 496 | ||
501 | - | let | |
497 | + | let dL = dF(dG, dy) | |
502 | 498 | ||
503 | - | let aI = | |
499 | + | let aI = dF(dG, dz) | |
504 | 500 | ||
505 | - | let | |
501 | + | let dM = dF(dG, dA) | |
506 | 502 | ||
507 | - | let | |
503 | + | let dN = 0 | |
508 | 504 | ||
509 | - | let | |
505 | + | let dO = 1 | |
510 | 506 | ||
511 | - | let | |
507 | + | let dP = 2 | |
512 | 508 | ||
513 | - | let | |
509 | + | let dQ = 3 | |
514 | 510 | ||
515 | - | let | |
511 | + | let dR = "wlg_assetId" | |
516 | 512 | ||
517 | - | let | |
513 | + | let dS = valueOrErrorMessage(getBinary(dK, dR), "Not initialized yet") | |
518 | 514 | ||
519 | - | let | |
515 | + | let dT = 1 | |
520 | 516 | ||
521 | - | func | |
517 | + | func dU () = "resTypesProportions" | |
522 | 518 | ||
523 | 519 | ||
524 | - | func | |
520 | + | func dV (cB) = ("stakedLandsByOwner_" + cB) | |
525 | 521 | ||
526 | 522 | ||
527 | - | func | |
523 | + | func dW (cB) = ("stakedPiecesByOwner_" + cB) | |
528 | 524 | ||
529 | 525 | ||
530 | - | func | |
531 | - | let | |
532 | - | if ($isInstanceOf( | |
526 | + | func dX (dY) = { | |
527 | + | let dh = dY | |
528 | + | if ($isInstanceOf(dh, "String")) | |
533 | 529 | then { | |
534 | - | let | |
535 | - | | |
530 | + | let dZ = dh | |
531 | + | dZ | |
536 | 532 | } | |
537 | 533 | else throw("fail to cast into String") | |
538 | 534 | } | |
539 | 535 | ||
540 | 536 | ||
541 | - | func | |
542 | - | let | |
543 | - | if ($isInstanceOf( | |
537 | + | func ea (dY) = { | |
538 | + | let dh = dY | |
539 | + | if ($isInstanceOf(dh, "Int")) | |
544 | 540 | then { | |
545 | - | let | |
546 | - | | |
541 | + | let eb = dh | |
542 | + | eb | |
547 | 543 | } | |
548 | 544 | else throw("fail to cast into Int") | |
549 | 545 | } | |
550 | 546 | ||
551 | 547 | ||
552 | - | func | |
553 | - | let | |
554 | - | if ($isInstanceOf( | |
548 | + | func ec (dY) = { | |
549 | + | let dh = dY | |
550 | + | if ($isInstanceOf(dh, "Boolean")) | |
555 | 551 | then { | |
556 | - | let | |
557 | - | | |
552 | + | let dZ = dh | |
553 | + | dZ | |
558 | 554 | } | |
559 | 555 | else throw("fail to cast into Boolean") | |
560 | 556 | } | |
561 | 557 | ||
562 | 558 | ||
563 | - | func | |
564 | - | let | |
565 | - | if (("S" == | |
566 | - | then | |
567 | - | else if (("M" == | |
568 | - | then | |
569 | - | else if (("L" == | |
570 | - | then | |
571 | - | else if (("XL" == | |
572 | - | then | |
573 | - | else if (("XXL" == | |
574 | - | then | |
559 | + | func ed (ee) = { | |
560 | + | let dh = ee | |
561 | + | if (("S" == dh)) | |
562 | + | then dn | |
563 | + | else if (("M" == dh)) | |
564 | + | then do | |
565 | + | else if (("L" == dh)) | |
566 | + | then dp | |
567 | + | else if (("XL" == dh)) | |
568 | + | then dq | |
569 | + | else if (("XXL" == dh)) | |
570 | + | then dr | |
575 | 571 | else throw("Unknown land size") | |
576 | 572 | } | |
577 | 573 | ||
578 | 574 | ||
579 | - | func | |
580 | - | let ak = split(valueOrElse(getString(aj, | |
575 | + | func ef (ai) = { | |
576 | + | let ak = split(valueOrElse(getString(aj, dU()), "0_0_0_0_0_0"), "_") | |
581 | 577 | func al (am,an) = (am + parseIntValue(an)) | |
582 | 578 | ||
583 | 579 | let ao = { | |
584 | 580 | let ap = ak | |
585 | 581 | let aq = size(ap) | |
586 | 582 | let ar = 0 | |
587 | 583 | func as (at,au) = if ((au >= aq)) | |
588 | 584 | then at | |
589 | 585 | else al(at, ap[au]) | |
590 | 586 | ||
591 | 587 | func av (at,au) = if ((au >= aq)) | |
592 | 588 | then at | |
593 | 589 | else throw("List size exceeds 6") | |
594 | 590 | ||
595 | 591 | av(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6) | |
596 | 592 | } | |
597 | - | let aw = valueOrElse(getInteger(aj, | |
593 | + | let aw = valueOrElse(getInteger(aj, dW(ai)), 0) | |
598 | 594 | [ao, aw] | |
599 | 595 | } | |
600 | 596 | ||
601 | 597 | ||
602 | - | let | |
598 | + | let eg = 500000 | |
603 | 599 | ||
604 | - | let | |
605 | - | let | |
606 | - | if ((base58'2W' == | |
600 | + | let eh = [toString(this), { | |
601 | + | let dh = df | |
602 | + | if ((base58'2W' == dh)) | |
607 | 603 | then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja" | |
608 | - | else if ((base58'2T' == | |
604 | + | else if ((base58'2T' == dh)) | |
609 | 605 | then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs" | |
610 | 606 | else throw("Unknown chain") | |
611 | 607 | }] | |
612 | 608 | ||
613 | - | func | |
614 | - | let | |
615 | - | if ($isInstanceOf( | |
609 | + | func ei (ej) = { | |
610 | + | let dh = ej | |
611 | + | if ($isInstanceOf(dh, "List[Any]")) | |
616 | 612 | then { | |
617 | - | let | |
618 | - | if ((size( | |
619 | - | then throw(("Array size is " + toString(size( | |
613 | + | let ek = dh | |
614 | + | if ((size(ek) != bY)) | |
615 | + | then throw(("Array size is " + toString(size(ek)))) | |
620 | 616 | else { | |
621 | - | func | |
622 | - | let | |
623 | - | if ($isInstanceOf( | |
617 | + | func el (am,an) = { | |
618 | + | let em = an | |
619 | + | if ($isInstanceOf(em, "Int")) | |
624 | 620 | then { | |
625 | - | let | |
626 | - | (am :+ toString( | |
621 | + | let en = em | |
622 | + | (am :+ toString(en)) | |
627 | 623 | } | |
628 | 624 | else throw("List type is not Int") | |
629 | 625 | } | |
630 | 626 | ||
631 | - | let | |
632 | - | let ap = | |
627 | + | let eo = { | |
628 | + | let ap = ek | |
633 | 629 | let aq = size(ap) | |
634 | 630 | let ar = nil | |
635 | 631 | func as (at,au) = if ((au >= aq)) | |
636 | 632 | then at | |
637 | - | else | |
633 | + | else el(at, ap[au]) | |
638 | 634 | ||
639 | 635 | func av (at,au) = if ((au >= aq)) | |
640 | 636 | then at | |
641 | 637 | else throw("List size exceeds 6") | |
642 | 638 | ||
643 | 639 | av(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6) | |
644 | 640 | } | |
645 | - | makeString( | |
641 | + | makeString(eo, "_") | |
646 | 642 | } | |
647 | 643 | } | |
648 | 644 | else throw("fail to cast into List") | |
649 | 645 | } | |
650 | 646 | ||
651 | 647 | ||
652 | - | func | |
653 | - | let | |
654 | - | if ($isInstanceOf( | |
648 | + | func ep (ej) = { | |
649 | + | let dh = ej | |
650 | + | if ($isInstanceOf(dh, "(List[Any], List[Any])")) | |
655 | 651 | then { | |
656 | - | let | |
657 | - | $Tuple2( | |
652 | + | let eq = dh | |
653 | + | $Tuple2(ei(eq._1), ei(eq._2)) | |
658 | 654 | } | |
659 | 655 | else throw("fail to cast into (List, List)") | |
660 | 656 | } | |
661 | 657 | ||
662 | 658 | ||
663 | - | func | |
664 | - | let t = addressFromString( | |
665 | - | let | |
659 | + | func er (es) = { | |
660 | + | let t = addressFromString(es) | |
661 | + | let et = if (isDefined(t)) | |
666 | 662 | then wavesBalance(value(t)) | |
667 | 663 | else BalanceDetails(0, 0, 0, 0) | |
668 | - | let | |
669 | - | then assetBalance(value(t), | |
664 | + | let eu = if (isDefined(t)) | |
665 | + | then assetBalance(value(t), dg) | |
670 | 666 | else 0 | |
671 | - | let | |
672 | - | then assetBalance(value(t), | |
667 | + | let ev = if (isDefined(t)) | |
668 | + | then assetBalance(value(t), dS) | |
673 | 669 | else 0 | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let | |
684 | - | then ( | |
685 | - | then isDefined(getString(aj, | |
670 | + | let ew = valueOrElse(getString(aj, cv(es)), es) | |
671 | + | let ex = cw(es) | |
672 | + | let ey = getString(aj, ex) | |
673 | + | let ez = valueOrElse(getString(aj, cy(es)), "") | |
674 | + | let eA = valueOrElse(getString(aj, ck(es)), "") | |
675 | + | let eB = ef(es)[dT] | |
676 | + | let eC = valueOrElse(getInteger(aj, bH(es)), 0) | |
677 | + | let eD = valueOrElse(getInteger(aj, bI(es)), 0) | |
678 | + | let eE = valueOrElse(getInteger(aj, bJ(es)), 0) | |
679 | + | let eF = if (isDefined(ey)) | |
680 | + | then (bX + (if (if (isDefined(t)) | |
681 | + | then isDefined(getString(aj, cx(es))) | |
686 | 682 | else false) | |
687 | 683 | then ":1" | |
688 | 684 | else ":0")) | |
689 | 685 | else "" | |
690 | - | [("%s%s__customName__" + | |
686 | + | [("%s%s__customName__" + ew), ("%s%s__referredBy__" + valueOrElse(ey, "")), ("%s%s__referrals__" + ez), ("%s%s__lastTxId__" + eA), ("%s%d__wavesBalance__" + toString(et.available)), ("%s%d__wlgoldBalance__" + toString(ev)), ("%s%d__usdtBalance__" + toString(eu)), ("%s%d__stakedPieces__" + toString(eB)), ("%s%d__currentXp__" + toString(eC)), ("%s%d__currentLvl__" + toString(eD)), ("%s%d__pointsToDistribute__" + toString(eE)), ("%s%s__walletArtefacts__" + eF)] | |
691 | 687 | } | |
692 | 688 | ||
693 | 689 | ||
694 | - | func | |
695 | - | let | |
696 | - | let | |
697 | - | let | |
698 | - | let | |
699 | - | $Tuple3( | |
690 | + | func eG (bO,eB) = { | |
691 | + | let eH = valueOrElse(getInteger(aj, cs(bO)), 0) | |
692 | + | let eI = valueOrElse(getInteger(aj, cp(bW, bO)), 0) | |
693 | + | let eJ = (eH / 6) | |
694 | + | let eK = (eH / 7) | |
695 | + | $Tuple3(eH, eI, ((bZ + fraction(bZ, ((eH + eJ) + (2 * eK)), 5)) + fraction(bZ, eI, (eB * 5)))) | |
700 | 696 | } | |
701 | 697 | ||
702 | 698 | ||
703 | - | func | |
704 | - | let | |
705 | - | (( | |
699 | + | func eL (eM) = { | |
700 | + | let eN = split(eM, "_") | |
701 | + | ((cb * (parseIntValue(eN[1]) + 1)) * parseIntValue(eN[0])) | |
706 | 702 | } | |
707 | 703 | ||
708 | 704 | ||
709 | - | func | |
710 | - | let | |
711 | - | let | |
712 | - | let | |
713 | - | split( | |
705 | + | func eO (eP,eQ,eH) = { | |
706 | + | let eM = ((toString(eQ) + "_") + toString(eH)) | |
707 | + | let eR = toString(eL(eM)) | |
708 | + | let eS = valueOrElse(getString(aj, eP), ((((eM + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + eR) + "_") + eR)) | |
709 | + | split(eS, ":") | |
714 | 710 | } | |
715 | 711 | ||
716 | 712 | ||
717 | - | func | |
718 | - | let | |
719 | - | $Tuple5(valueOrElse(getInteger(aj, | |
713 | + | func eT (bB) = { | |
714 | + | let eU = bQ(valueOrElse(getInteger(aj, bE(bB)), 0)) | |
715 | + | $Tuple5(valueOrElse(getInteger(aj, co(bB)), -1), value(assetInfo(fromBase58String(bB))).name, valueOrElse(getString(aj, cC(bB)), ""), valueOrElse(getInteger(aj, bA(bB)), eU), dX(invoke(aj, "getBackpackREADONLY", [bB], nil))) | |
720 | 716 | } | |
721 | 717 | ||
722 | 718 | ||
723 | - | func | |
724 | - | let | |
725 | - | let | |
726 | - | let | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | [("%s%s__assetId__" + | |
719 | + | func eV (bB,eW,eX) = { | |
720 | + | let ew = valueOrElse(getString(aj, cu(bB)), eX._2) | |
721 | + | let eY = valueOrElse(getString(aj, bC(bB)), "0_0_0_0_0") | |
722 | + | let eC = valueOrElse(getInteger(aj, bD(bB)), 0) | |
723 | + | let eD = valueOrElse(getInteger(aj, bE(bB)), 0) | |
724 | + | let eE = valueOrElse(getInteger(aj, bF(bB)), 0) | |
725 | + | let eZ = valueOrElse(getString(aj, bG(bB)), ";_;_;_;_;_;") | |
726 | + | let fa = valueOrElse(getString(aj, bK(bB)), "0_0_0_0_0") | |
727 | + | let fb = bS(aj, bB) | |
728 | + | let bV = fb._1 | |
729 | + | let bU = fb._2 | |
730 | + | [("%s%s__assetId__" + bB), ("%s%s__owner__" + eW), ("%s%s__customName__" + ew), ("%s%d__stakedTime__" + toString(eX._1)), ("%s%s__name__" + eX._2), ("%s%s__location__" + eX._3), ("%s%d__health__" + toString(eX._4)), ("%s%d__maxHealth__" + toString(bQ(eD))), ("%s%s__characteristics__" + eY), ("%s%d__currentXp__" + toString(eC)), ("%s%d__currentLvl__" + toString(eD)), ("%s%d__pointsToDistribute__" + toString(eE)), ("%s%s__backPack__" + eX._5), ("%s%s__equipment__" + eZ), ("%s%s__buffs__" + fa), ("%s%d__robberyCost__" + toString(bV)), ("%s%d__robberyTime__" + toString(bU))] | |
735 | 731 | } | |
736 | 732 | ||
737 | 733 | ||
738 | - | func | |
734 | + | func fc (bO,eW,fd) = if ((bO == "")) | |
739 | 735 | then throw("landAssetId is required") | |
740 | 736 | else { | |
741 | - | let | |
742 | - | let | |
743 | - | let | |
744 | - | then | |
745 | - | else ("-" + | |
746 | - | let | |
747 | - | let | |
748 | - | let | |
749 | - | let | |
750 | - | then fraction( | |
737 | + | let fe = value(assetInfo(fromBase58String(bO))) | |
738 | + | let ff = split(fe.description, "_") | |
739 | + | let fg = if ((fe.quantity > 0)) | |
740 | + | then ff[dN] | |
741 | + | else ("-" + ff[dN]) | |
742 | + | let eB = ed(ff[dO]) | |
743 | + | let fh = eG(bO, eB) | |
744 | + | let fi = (lastBlock.timestamp - fd) | |
745 | + | let fj = if ((fd > 0)) | |
746 | + | then fraction(fi, (fh._3 * eB), ca) | |
751 | 747 | else 0 | |
752 | - | let fj = fraction(dh, (eA * (fg._1 + 1)), dm) | |
753 | - | let fk = if ((fc > 0)) | |
754 | - | then eo(invoke(aj, "splitByGlobalAndLocalWeightsREADONLY", [fj, fi, fe[dO]], nil)) | |
755 | - | else $Tuple2(eh(invoke(aj, "splitByGlobalWeightsREADONLY", [fj], nil)), "") | |
756 | - | let ev = valueOrElse(getString(aj, cj(co)), ((fe[dP] + "-") + fe[dM])) | |
757 | - | let fl = valueOrElse(getString(aj, cq(co)), ":0_15:0_18:0") | |
758 | - | let fm = valueOrElse(getInteger(aj, cr(co)), 0) | |
759 | - | [("%s%s__assetId__" + co), ("%s%s__owner__" + eV), ("%s%s__customName__" + ev), ("%s%d__stakedTime__" + toString(fc)), ("%s%s__description__" + makeString([ff, fe[dN], fe[dO], fe[dP]], "_")), ("%s%d__infraLevel__" + toString(fg._1)), ("%s%s__availResByType__" + fk._2), ("%s%d__availResTotal__" + toString(fi)), ("%s%s__needMaterial__" + fk._1), ("%s%s__landArtefacts__PRESALE:" + toString(fg._2)), ("%s%s__warehouse__" + makeString(eN(cn(co), (eA / dm), fg._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dI, cC(co)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:")), ("%s%s__fortifications__" + fl), ("%s%d__canBeRobbedAfter__" + toString((fm + di)))] | |
748 | + | let fk = fraction(dj, (eB * (fh._1 + 1)), dn) | |
749 | + | let fl = if ((fd > 0)) | |
750 | + | then ep(invoke(aj, "splitByGlobalAndLocalWeightsREADONLY", [fk, fj, ff[dP]], nil)) | |
751 | + | else $Tuple2(ei(invoke(aj, "splitByGlobalWeightsREADONLY", [fk], nil)), "") | |
752 | + | let ew = valueOrElse(getString(aj, cn(bO)), ((ff[dQ] + "-") + ff[dN])) | |
753 | + | let fm = valueOrElse(getString(aj, ct(bO)), ":0_15:0_18:0") | |
754 | + | let fn = valueOrElse(getInteger(aj, bN(bO)), 0) | |
755 | + | let fo = valueOrElse(getInteger(aj, bP(bO)), 0) | |
756 | + | [("%s%s__assetId__" + bO), ("%s%s__owner__" + eW), ("%s%s__customName__" + ew), ("%s%d__stakedTime__" + toString(fd)), ("%s%s__description__" + makeString([fg, ff[dO], ff[dP], ff[dQ]], "_")), ("%s%d__infraLevel__" + toString(fh._1)), ("%s%s__availResByType__" + fl._2), ("%s%d__availResTotal__" + toString(fj)), ("%s%s__needMaterial__" + fl._1), ("%s%s__landArtefacts__PRESALE:" + toString(fh._2)), ("%s%s__warehouse__" + makeString(eO(cr(bO), (eB / dn), fh._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dJ, cE(bO)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:")), ("%s%s__fortifications__" + fm), ("%s%s__robberyState__" + bz[fn]), ("%s%d__canBeRobbedAfter__" + toString(fo))] | |
760 | 757 | } | |
761 | 758 | ||
762 | 759 | ||
763 | - | func | |
760 | + | func fp (bO,eW) = if ((bO == "")) | |
764 | 761 | then throw("landAssetId is required") | |
765 | 762 | else { | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | [("%s%s__assetId__" + | |
763 | + | let fe = value(assetInfo(fromBase58String(bO))) | |
764 | + | let ff = split(fe.description, "_") | |
765 | + | let eB = ed(ff[dO]) | |
766 | + | let fh = eG(bO, eB) | |
767 | + | [("%s%s__assetId__" + bO), ("%s%s__owner__" + eW), ("%s%s__warehouse__" + makeString(eO(cr(bO), (eB / dn), fh._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(dJ, cE(bO)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
771 | 768 | } | |
772 | 769 | ||
773 | 770 | ||
774 | - | @Callable( | |
775 | - | func constructorV1 (az) = if (( | |
771 | + | @Callable(fq) | |
772 | + | func constructorV1 (az) = if ((fq.caller != this)) | |
776 | 773 | then throw("permissions denied") | |
777 | 774 | else { | |
778 | - | func | |
775 | + | func fr (am,fs) = (am + "%s") | |
779 | 776 | ||
780 | - | let | |
777 | + | let ft = { | |
781 | 778 | let ap = az | |
782 | 779 | let aq = size(ap) | |
783 | 780 | let ar = "" | |
784 | 781 | func as (at,au) = if ((au >= aq)) | |
785 | 782 | then at | |
786 | - | else | |
783 | + | else fr(at, ap[au]) | |
787 | 784 | ||
788 | 785 | func av (at,au) = if ((au >= aq)) | |
789 | 786 | then at | |
790 | 787 | else throw("List size exceeds 10") | |
791 | 788 | ||
792 | 789 | av(as(as(as(as(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
793 | 790 | } | |
794 | - | [StringEntry( | |
791 | + | [StringEntry(dB(), makeString(ft :: az, dk)), StringEntry(dC(), toString(this))] | |
795 | 792 | } | |
796 | 793 | ||
797 | 794 | ||
798 | 795 | ||
799 | - | @Callable( | |
800 | - | func walletInfoREADONLY ( | |
796 | + | @Callable(fq) | |
797 | + | func walletInfoREADONLY (es) = $Tuple2(nil, er(es)) | |
801 | 798 | ||
802 | 799 | ||
803 | 800 | ||
804 | - | @Callable( | |
805 | - | func duckByOwnerInfoREADONLY ( | |
806 | - | let | |
807 | - | $Tuple2(nil, if (if (isDefined(addressFromString( | |
808 | - | then isDefined( | |
801 | + | @Callable(fq) | |
802 | + | func duckByOwnerInfoREADONLY (fu) = { | |
803 | + | let fv = getString(aj, cA(fu)) | |
804 | + | $Tuple2(nil, if (if (isDefined(addressFromString(fu))) | |
805 | + | then isDefined(fv) | |
809 | 806 | else false) | |
810 | 807 | then { | |
811 | - | let | |
812 | - | | |
808 | + | let bB = value(fv) | |
809 | + | eV(bB, fu, eT(bB)) | |
813 | 810 | } | |
814 | - | else | |
811 | + | else eV("", fu, $Tuple5(-1, "", "", -1, ""))) | |
815 | 812 | } | |
816 | 813 | ||
817 | 814 | ||
818 | 815 | ||
819 | - | @Callable( | |
820 | - | func duckByAssetIdInfoREADONLY ( | |
821 | - | let | |
822 | - | $Tuple2(nil, | |
823 | - | then value( | |
824 | - | else "", | |
816 | + | @Callable(fq) | |
817 | + | func duckByAssetIdInfoREADONLY (bB) = { | |
818 | + | let eW = getString(aj, cz(bB)) | |
819 | + | $Tuple2(nil, eV(bB, if (isDefined(eW)) | |
820 | + | then value(eW) | |
821 | + | else "", eT(bB))) | |
825 | 822 | } | |
826 | 823 | ||
827 | 824 | ||
828 | 825 | ||
829 | - | @Callable( | |
830 | - | func landByAssetIdInfoREADONLY ( | |
826 | + | @Callable(fq) | |
827 | + | func landByAssetIdInfoREADONLY (bO) = if ((bO == "")) | |
831 | 828 | then throw("landAssetId is required") | |
832 | 829 | else { | |
833 | - | let | |
834 | - | let | |
835 | - | then value(getString(aj, | |
830 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
831 | + | let eW = if ((fd > 0)) | |
832 | + | then value(getString(aj, cl(bO))) | |
836 | 833 | else "" | |
837 | - | $Tuple2(nil, | |
834 | + | $Tuple2(nil, fc(bO, eW, fd)) | |
838 | 835 | } | |
839 | 836 | ||
840 | 837 | ||
841 | 838 | ||
842 | - | @Callable( | |
843 | - | func stakedLandsByOwnerInfoREADONLY ( | |
839 | + | @Callable(fq) | |
840 | + | func stakedLandsByOwnerInfoREADONLY (fw) = if ((fw == "")) | |
844 | 841 | then throw("landOwnerAddress is required") | |
845 | 842 | else { | |
846 | - | let | |
847 | - | let | |
848 | - | then split_51C(value( | |
843 | + | let fx = getString(aj, dV(fw)) | |
844 | + | let fy = if (isDefined(fx)) | |
845 | + | then split_51C(value(fx), "_") | |
849 | 846 | else nil | |
850 | - | func | |
847 | + | func fz (am,bO) = if ((bO == "")) | |
851 | 848 | then throw("landAssetId is required") | |
852 | 849 | else { | |
853 | - | let | |
854 | - | (am :+ | |
850 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
851 | + | (am :+ fc(bO, fw, fd)) | |
855 | 852 | } | |
856 | 853 | ||
857 | - | let | |
858 | - | let ap = | |
854 | + | let eo = { | |
855 | + | let ap = fy | |
859 | 856 | let aq = size(ap) | |
860 | 857 | let ar = nil | |
861 | 858 | func as (at,au) = if ((au >= aq)) | |
862 | 859 | then at | |
863 | - | else | |
860 | + | else fz(at, ap[au]) | |
864 | 861 | ||
865 | 862 | func av (at,au) = if ((au >= aq)) | |
866 | 863 | then at | |
867 | 864 | else throw("List size exceeds 100") | |
868 | 865 | ||
869 | 866 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
870 | 867 | } | |
871 | - | $Tuple2(nil, | |
868 | + | $Tuple2(nil, eo) | |
872 | 869 | } | |
873 | 870 | ||
874 | 871 | ||
875 | 872 | ||
876 | - | @Callable( | |
877 | - | func landsByIdsInfoREADONLY ( | |
878 | - | func | |
873 | + | @Callable(fq) | |
874 | + | func landsByIdsInfoREADONLY (fA) = { | |
875 | + | func fz (am,bO) = if ((bO == "")) | |
879 | 876 | then throw("landAssetId is required") | |
880 | 877 | else { | |
881 | - | let | |
882 | - | let | |
883 | - | then value(getString(aj, | |
878 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
879 | + | let eW = if ((fd > 0)) | |
880 | + | then value(getString(aj, cl(bO))) | |
884 | 881 | else "" | |
885 | - | (am :+ | |
882 | + | (am :+ fc(bO, eW, fd)) | |
886 | 883 | } | |
887 | 884 | ||
888 | - | let | |
889 | - | let ap = | |
885 | + | let eo = { | |
886 | + | let ap = fA | |
890 | 887 | let aq = size(ap) | |
891 | 888 | let ar = nil | |
892 | 889 | func as (at,au) = if ((au >= aq)) | |
893 | 890 | then at | |
894 | - | else | |
891 | + | else fz(at, ap[au]) | |
895 | 892 | ||
896 | 893 | func av (at,au) = if ((au >= aq)) | |
897 | 894 | then at | |
898 | 895 | else throw("List size exceeds 100") | |
899 | 896 | ||
900 | 897 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
901 | 898 | } | |
902 | - | $Tuple2(nil, | |
899 | + | $Tuple2(nil, eo) | |
903 | 900 | } | |
904 | 901 | ||
905 | 902 | ||
906 | 903 | ||
907 | - | @Callable( | |
908 | - | func warehouseOrderByAssetIdInfoREADONLY ( | |
904 | + | @Callable(fq) | |
905 | + | func warehouseOrderByAssetIdInfoREADONLY (bO) = if ((bO == "")) | |
909 | 906 | then throw("landAssetId is required") | |
910 | 907 | else { | |
911 | - | let | |
912 | - | let | |
913 | - | then value(getString(aj, | |
908 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
909 | + | let eW = if ((fd > 0)) | |
910 | + | then value(getString(aj, cl(bO))) | |
914 | 911 | else "" | |
915 | - | $Tuple2(nil, | |
912 | + | $Tuple2(nil, fp(bO, eW)) | |
916 | 913 | } | |
917 | 914 | ||
918 | 915 | ||
919 | 916 | ||
920 | - | @Callable( | |
921 | - | func ordersByLandIdsInfoREADONLY ( | |
922 | - | func | |
917 | + | @Callable(fq) | |
918 | + | func ordersByLandIdsInfoREADONLY (fA) = { | |
919 | + | func fz (am,bO) = if ((bO == "")) | |
923 | 920 | then throw("landAssetId is required") | |
924 | 921 | else { | |
925 | - | let | |
926 | - | let | |
927 | - | then value(getString(aj, | |
922 | + | let fd = valueOrElse(getInteger(aj, co(bO)), -1) | |
923 | + | let eW = if ((fd > 0)) | |
924 | + | then value(getString(aj, cl(bO))) | |
928 | 925 | else "" | |
929 | - | (am :+ | |
926 | + | (am :+ fp(bO, eW)) | |
930 | 927 | } | |
931 | 928 | ||
932 | - | let | |
933 | - | let ap = | |
929 | + | let eo = { | |
930 | + | let ap = fA | |
934 | 931 | let aq = size(ap) | |
935 | 932 | let ar = nil | |
936 | 933 | func as (at,au) = if ((au >= aq)) | |
937 | 934 | then at | |
938 | - | else | |
935 | + | else fz(at, ap[au]) | |
939 | 936 | ||
940 | 937 | func av (at,au) = if ((au >= aq)) | |
941 | 938 | then at | |
942 | 939 | else throw("List size exceeds 40") | |
943 | 940 | ||
944 | 941 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
945 | 942 | } | |
946 | - | $Tuple2(nil, | |
943 | + | $Tuple2(nil, eo) | |
947 | 944 | } | |
948 | 945 | ||
949 | 946 | ||
950 | 947 | ||
951 | - | @Callable( | |
952 | - | func cancelWarehouseOrders ( | |
948 | + | @Callable(fq) | |
949 | + | func cancelWarehouseOrders (fA) = if ((fq.caller != this)) | |
953 | 950 | then throw("permission denied") | |
954 | 951 | else { | |
955 | - | let | |
956 | - | if (if (!(isDefined( | |
952 | + | let fB = getBoolean(aj, cD()) | |
953 | + | if (if (!(isDefined(fB))) | |
957 | 954 | then true | |
958 | - | else (value( | |
955 | + | else (value(fB) == false)) | |
959 | 956 | then throw("Contracts should be blocked before canceling orders") | |
960 | 957 | else { | |
961 | - | func | |
958 | + | func fz (fe,bO) = if ((bO == "")) | |
962 | 959 | then throw("landAssetId is required") | |
963 | 960 | else { | |
964 | - | let | |
965 | - | if (if ( | |
961 | + | let fC = ec(invoke(dJ, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", bO], nil)) | |
962 | + | if (if (fe) | |
966 | 963 | then true | |
967 | - | else | |
968 | - | then !(if ( | |
969 | - | then | |
964 | + | else fC) | |
965 | + | then !(if (fe) | |
966 | + | then fC | |
970 | 967 | else false) | |
971 | 968 | else false | |
972 | 969 | } | |
973 | 970 | ||
974 | - | let | |
975 | - | let ap = | |
971 | + | let eo = { | |
972 | + | let ap = fA | |
976 | 973 | let aq = size(ap) | |
977 | 974 | let ar = false | |
978 | 975 | func as (at,au) = if ((au >= aq)) | |
979 | 976 | then at | |
980 | - | else | |
977 | + | else fz(at, ap[au]) | |
981 | 978 | ||
982 | 979 | func av (at,au) = if ((au >= aq)) | |
983 | 980 | then at | |
984 | 981 | else throw("List size exceeds 30") | |
985 | 982 | ||
986 | 983 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
987 | 984 | } | |
988 | - | $Tuple2(nil, | |
985 | + | $Tuple2(nil, eo) | |
989 | 986 | } | |
990 | 987 | } | |
991 | 988 | ||
992 | 989 | ||
993 | 990 | ||
994 | - | @Callable( | |
995 | - | func fixWarehouseFormats ( | |
991 | + | @Callable(fq) | |
992 | + | func fixWarehouseFormats (fA) = if ((fq.caller != this)) | |
996 | 993 | then throw("permission denied") | |
997 | 994 | else { | |
998 | - | func | |
995 | + | func fz (am,bO) = if ((bO == "")) | |
999 | 996 | then throw("landAssetId is required") | |
1000 | - | else (am + size( | |
997 | + | else (am + size(dX(invoke(aj, "fixWarehouseFormat", [bO], nil)))) | |
1001 | 998 | ||
1002 | - | let | |
1003 | - | let ap = | |
999 | + | let eo = { | |
1000 | + | let ap = fA | |
1004 | 1001 | let aq = size(ap) | |
1005 | 1002 | let ar = 0 | |
1006 | 1003 | func as (at,au) = if ((au >= aq)) | |
1007 | 1004 | then at | |
1008 | - | else | |
1005 | + | else fz(at, ap[au]) | |
1009 | 1006 | ||
1010 | 1007 | func av (at,au) = if ((au >= aq)) | |
1011 | 1008 | then at | |
1012 | 1009 | else throw("List size exceeds 25") | |
1013 | 1010 | ||
1014 | 1011 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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) | |
1015 | 1012 | } | |
1016 | - | $Tuple2(nil, | |
1013 | + | $Tuple2(nil, eo) | |
1017 | 1014 | } | |
1018 | 1015 | ||
1019 | 1016 | ||
1020 | 1017 | ||
1021 | - | @Callable( | |
1022 | - | func fixStakedPieces ( | |
1018 | + | @Callable(fq) | |
1019 | + | func fixStakedPieces (fD) = if ((fq.caller != this)) | |
1023 | 1020 | then throw("permission denied") | |
1024 | 1021 | else { | |
1025 | - | func | |
1022 | + | func fE (am,t) = if ((t == "")) | |
1026 | 1023 | then throw("address is required") | |
1027 | - | else (am + | |
1024 | + | else (am + ea(invoke(aj, "fixStakedPieces", [t], nil))) | |
1028 | 1025 | ||
1029 | - | let | |
1030 | - | let ap = | |
1026 | + | let eo = { | |
1027 | + | let ap = fD | |
1031 | 1028 | let aq = size(ap) | |
1032 | 1029 | let ar = 0 | |
1033 | 1030 | func as (at,au) = if ((au >= aq)) | |
1034 | 1031 | then at | |
1035 | - | else | |
1032 | + | else fE(at, ap[au]) | |
1036 | 1033 | ||
1037 | 1034 | func av (at,au) = if ((au >= aq)) | |
1038 | 1035 | then at | |
1039 | 1036 | else throw("List size exceeds 16") | |
1040 | 1037 | ||
1041 | 1038 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16) | |
1042 | 1039 | } | |
1043 | - | $Tuple2(nil, | |
1040 | + | $Tuple2(nil, eo) | |
1044 | 1041 | } | |
1045 | 1042 | ||
1046 | 1043 | ||
1047 | 1044 | ||
1048 | - | @Callable( | |
1049 | - | func fixStakedLands ( | |
1050 | - | let | |
1051 | - | if (!(containsElement( | |
1045 | + | @Callable(fq) | |
1046 | + | func fixStakedLands (fA) = { | |
1047 | + | let fF = toString(fq.caller) | |
1048 | + | if (!(containsElement(eh, fF))) | |
1052 | 1049 | then throw("Permission denied") | |
1053 | 1050 | else { | |
1054 | - | let | |
1055 | - | $Tuple2(nil, | |
1051 | + | let eo = ea(invoke(aj, "fixContinentProportions", [fA], nil)) | |
1052 | + | $Tuple2(nil, eo) | |
1056 | 1053 | } | |
1057 | 1054 | } | |
1058 | 1055 | ||
1059 | 1056 | ||
1060 | 1057 | ||
1061 | - | @Callable( | |
1062 | - | func sendUsdtPrize ( | |
1058 | + | @Callable(fq) | |
1059 | + | func sendUsdtPrize (fu) = if ((fq.caller != aj)) | |
1063 | 1060 | then throw("permission denied") | |
1064 | 1061 | else { | |
1065 | - | let | |
1066 | - | $Tuple2([ScriptTransfer(addressFromStringValue( | |
1062 | + | let fG = fraction(assetBalance(this, dg), eg, dl) | |
1063 | + | $Tuple2([ScriptTransfer(addressFromStringValue(fu), fG, dg)], fG) | |
1067 | 1064 | } | |
1068 | 1065 | ||
1069 | 1066 | ||
1070 | 1067 | ||
1071 | - | @Callable( | |
1068 | + | @Callable(fq) | |
1072 | 1069 | func getEmergencyServiceDataREADONLY () = { | |
1073 | - | let | |
1074 | - | let | |
1075 | - | then split_4C(value( | |
1070 | + | let fH = getString(dJ, cF()) | |
1071 | + | let fI = if (isDefined(fH)) | |
1072 | + | then split_4C(value(fH), "_") | |
1076 | 1073 | else nil | |
1077 | - | func | |
1078 | - | let | |
1079 | - | let | |
1080 | - | let | |
1081 | - | then ( | |
1074 | + | func fJ (am,fK) = { | |
1075 | + | let eb = am._2 | |
1076 | + | let de = split(fK, "_") | |
1077 | + | let fL = if ((eb == 0)) | |
1078 | + | then (cd * cj) | |
1082 | 1079 | else 0 | |
1083 | - | let | |
1084 | - | then parseIntValue( | |
1080 | + | let fM = if ((size(fI) > eb)) | |
1081 | + | then parseIntValue(fI[eb]) | |
1085 | 1082 | else 0 | |
1086 | - | let | |
1087 | - | let | |
1088 | - | let | |
1089 | - | let | |
1090 | - | $Tuple2((am._1 :+ | |
1083 | + | let fN = dd(de) | |
1084 | + | let fO = fraction((fN * ce), cc, (dm * cj)) | |
1085 | + | let fP = fraction((fN * cf), cc, (dm * cj)) | |
1086 | + | let fQ = makeString([toString(fL), toString(fM), toString(fO), toString(fP)], "_") | |
1087 | + | $Tuple2((am._1 :+ fQ), (eb + 1)) | |
1091 | 1088 | } | |
1092 | 1089 | ||
1093 | - | let | |
1090 | + | let dZ = makeString_2C(( let ap = ch | |
1094 | 1091 | let aq = size(ap) | |
1095 | 1092 | let ar = $Tuple2(nil, 0) | |
1096 | 1093 | func as (at,au) = if ((au >= aq)) | |
1097 | 1094 | then at | |
1098 | - | else | |
1095 | + | else fJ(at, ap[au]) | |
1099 | 1096 | ||
1100 | 1097 | func av (at,au) = if ((au >= aq)) | |
1101 | 1098 | then at | |
1102 | 1099 | else throw("List size exceeds 50") | |
1103 | 1100 | ||
1104 | 1101 | av(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(as(ar, 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))._1, ":") | |
1105 | - | let | |
1106 | - | $Tuple2(nil, | |
1102 | + | let fR = ("%s%s__emergencyServiceData__" + dZ) | |
1103 | + | $Tuple2(nil, fR) | |
1107 | 1104 | } | |
1108 | 1105 | ||
1109 | 1106 | ||
1110 | 1107 | ||
1111 | - | @Callable( | |
1108 | + | @Callable(fq) | |
1112 | 1109 | func wlgStatsREADONLY (ay) = { | |
1113 | - | let | |
1114 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
1110 | + | let fS = ax(ay, [dI, aj, dJ, dK, dL, aI], dg, 0, dl) | |
1111 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(fS[z])), ("%s%d__wlgPrice__" + toString(fS[A])), ("%s%d__usdtFunds__" + toString(fS[B])), ("%s%d__usdtEconomy__" + toString(fS[C])), ("%s%d__usdtActivity__" + toString(fS[D])), ("%s%d__usdtArbitrage__" + toString(fS[E])), ("%s%d__usdtPool__" + toString(fS[F])), ("%s%d__wlgIssueTime__" + toString(fS[G])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(fS[H])), ("%s%d__wlgMarketingTotal__" + toString(fS[I])), ("%s%d__wlgMarketingAmLeft__" + toString(fS[J])), ("%s%d__wlgMarketingAmAvailNow__" + toString(fS[K])), ("%s%d__wlgMarketingWlgold__" + toString(fS[L])), ("%s%d__wlgTeamTotal__" + toString(fS[M])), ("%s%d__wlgTeamAmLeft__" + toString(fS[N])), ("%s%d__wlgTeamAmAvailNow__" + toString(fS[O])), ("%s%d__wlgTeamWlgold__" + toString(fS[P])), ("%s%d__wlgActTotal__" + toString(fS[Q])), ("%s%d__wlgActAmLeft__" + toString(fS[R])), ("%s%d__wlgActAmAvailNow__" + toString(fS[S])), ("%s%d__wlgActWlgold__" + toString(fS[T])), ("%s%d__wlgCurPeriod__" + toString(fS[U])), ("%s%d__wlgAmLeftTotal__" + toString(fS[V])), ("%s%d__wlgCurPeriodDistribution__" + toString(fS[W])), ("%s%d__wlgLastUserTime__" + toString(fS[X])), ("%s%d__wlgUserAmAvailNow__" + toString(fS[Y])), ("%s%d__wlgGuestSLandDaily__" + toString(fS[Z])), ("%s%d__wlgInvestFundTotal__" + toString(fS[aa]))]) | |
1115 | 1112 | } | |
1116 | 1113 | ||
1117 | 1114 | ||
1118 | 1115 | ||
1119 | - | @Callable( | |
1120 | - | func tournamentStatsREADONLY ( | |
1121 | - | let | |
1122 | - | let | |
1123 | - | let | |
1124 | - | let | |
1116 | + | @Callable(fq) | |
1117 | + | func tournamentStatsREADONLY (fT) = { | |
1118 | + | let fU = cN(dM, fT) | |
1119 | + | let cP = fU[cL] | |
1120 | + | let cQ = fU[cM] | |
1121 | + | let fV = if ((cQ[cW] == "")) | |
1125 | 1122 | then " " | |
1126 | - | else | |
1127 | - | let | |
1128 | - | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([ | |
1123 | + | else cQ[cW] | |
1124 | + | let fW = valueOrElse(getString(dM, cK(fT)), "") | |
1125 | + | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([cP[cR], cP[cS], cP[cT], cP[cU]], "_")), ("%s%s__tournamentDynamicData__" + makeString([cQ[cV], fV, cQ[cX], cQ[cY], cQ[cZ]], "_")), ("%s%s__tournamentRegistrants__" + fW)]) | |
1129 | 1126 | } | |
1130 | 1127 | ||
1131 | 1128 | ||
1132 | 1129 | ||
1133 | - | @Callable( | |
1130 | + | @Callable(fq) | |
1134 | 1131 | func lastTournamentStatsREADONLY () = { | |
1135 | - | let | |
1136 | - | let | |
1137 | - | let | |
1138 | - | let | |
1132 | + | let fT = valueOrElse(getInteger(dM, cG), 0) | |
1133 | + | let cP = split(valueOrElse(getString(dM, cH(fT)), "%s%d%d%d%d%d____________"), dk) | |
1134 | + | let cQ = split(valueOrElse(getString(dM, cJ(fT)), "%s%s%d%d%d__________"), dk) | |
1135 | + | let fV = if ((cQ[cW] == "")) | |
1139 | 1136 | then " " | |
1140 | - | else | |
1141 | - | let | |
1142 | - | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString( | |
1137 | + | else cQ[cW] | |
1138 | + | let fW = valueOrElse(getString(dM, cK(fT)), "") | |
1139 | + | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(fT)), ("%s%s__tournamentStaticData__" + makeString([cP[cR], cP[cS], cP[cT], cP[cU]], "_")), ("%s%s__tournamentDynamicData__" + makeString([cQ[cV], fV, cQ[cX], cQ[cY], cQ[cZ]], "_")), ("%s%s__tournamentRegistrants__" + fW)]) | |
1143 | 1140 | } | |
1144 | 1141 | ||
1145 | 1142 | ||
1146 | 1143 | ||
1147 | - | @Callable( | |
1148 | - | func tournamentDuckStatsREADONLY ( | |
1149 | - | let | |
1150 | - | let | |
1151 | - | let | |
1152 | - | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString( | |
1144 | + | @Callable(fq) | |
1145 | + | func tournamentDuckStatsREADONLY (cI,bB) = { | |
1146 | + | let fX = valueOrElse(getBoolean(dM, da(cI, bB)), false) | |
1147 | + | let fY = valueOrElse(getInteger(dM, db(cI, bB)), 0) | |
1148 | + | let fZ = valueOrElse(getInteger(dM, dc(cI, bB)), 0) | |
1149 | + | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(fX), toString(fY), toString(fZ)], "_"))]) | |
1153 | 1150 | } | |
1154 | 1151 | ||
1155 | 1152 |
github/deemru/w8io/169f3d6 466.91 ms ◑