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