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