tx · 6BSd8JiJrFHfk31qb713HJUFZd3Cz1XRBBuPMcGxUTfC 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.04200000 Waves 2024.02.21 11:09 [2985740] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "6BSd8JiJrFHfk31qb713HJUFZd3Cz1XRBBuPMcGxUTfC", "fee": 4200000, "feeAssetId": null, "timestamp": 1708502969429, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "wQNJW75VKNJsk1Vbgd1Jogu6kGeqkhqhM6Xwr2U4XdUJRKfQkM9ZU3V1F64cCQK9c5qPxQT1YWaoK8xxnQR5GH8" ], "script": "base64:BgLXAQgCEgASBAoCCAgSBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIhgEABlNDQUxFOAAIAAVNVUxUOACAwtcvAAZNVUxUMTIAgKCUpY0dAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AA5HV1h2aXJ0dWFsUE9PTAIOR1dYdmlydHVhbFBPT0wADGxhYmVsUG9vbHNMcAIIUE9PTFNfTFAADWRlZmF1bHRTcHJlYWQAgIl6AAt3YXZlc1N0cmluZwIFV0FWRVMAEGNvbnRyYWN0RmlsZW5hbWUCD2ZhY3Rvcn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Y2VXcmFwcGVyUkVBRE9OTFkJAMwIAgUPcHJpY2VBc3NldElkU3RyBQNuaWwFA25pbAMJAAECBQFAAgNJbnQFAUAJAAIBCQCsAgIJAAMBBQFAAhggY291bGRuJ3QgYmUgY2FzdCB0byBJbnQEFmFtb3VudEFzc2V0QmFsYW5jZUlzT2sJAGcCBRJhbW91bnRBc3NldEJhbGFuY2UJAGkCBRRhbW91bnRBc3NldE1pbkFtb3VudAACBBVwcmljZUFzc2V0QmFsYW5jZUlzT2sJAGcCBRFwcmljZUFzc2V0QmFsYW5jZQkAaQIFE3ByaWNlQXNzZXRNaW5BbW91bnQAAgQLYmFsYW5jZUlzT2sDBRZhbW91bnRBc3NldEJhbGFuY2VJc09rBRVwcmljZUFzc2V0QmFsYW5jZUlzT2sHCQCUCgIFA25pbAULYmFsYW5jZUlzT2sBAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXm+agdY", "height": 2985740, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5Lj4xDo3LTXdfCyCUJVTgtzYjcj7PrPBnHzuU7tW4oKE Next: HjqtFmehXKdA6RFVXN35LMqvtRRfSksAXjkyedHMMfMF Diff:
Old | New | Differences | |
---|---|---|---|
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | - | func bU (bV,bW,bX,bY,bZ,ca,cb,cc,cd,ce,cf) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bV, bW, bX, bY, bZ, ca, cb, cc, cd, ce, cf], m) | |
372 | + | func bU (bR) = { | |
373 | + | let bn = bM() | |
374 | + | if ($isInstanceOf(bn, "ByteVector")) | |
375 | + | then { | |
376 | + | let bT = bn | |
377 | + | (bR.callerPublicKey == bT) | |
378 | + | } | |
379 | + | else if ($isInstanceOf(bn, "Unit")) | |
380 | + | then (bR.caller == this) | |
381 | + | else throw("Match error") | |
382 | + | } | |
373 | 383 | ||
374 | 384 | ||
375 | - | func | |
385 | + | func bV (bW,bX,bY,bZ,ca,cb,cc,cd,ce,cf,cg) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bW, bX, bY, bZ, ca, cb, cc, cd, ce, cf, cg], m) | |
376 | 386 | ||
377 | 387 | ||
378 | - | func ch ( | |
388 | + | func ch (bW,bX,bY,bZ,ca,cb,cc) = makeString(["%s%s%s%s%s%s", bW, bX, bY, bZ, ca, cb, cc], m) | |
379 | 389 | ||
380 | 390 | ||
381 | - | func | |
391 | + | func ci (af,cj,ck,cl,cm,cn,co,cp,cq,cr,cs) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", af, cj, ck, cl, cm, toString(cn), toString(co), toString(cp), toString(cq), toString(cr), cs], m) | |
382 | 392 | ||
383 | 393 | ||
384 | - | func cv (af) = { | |
385 | - | let cw = split(bg(aC(af)), m) | |
386 | - | let an = cw[1] | |
387 | - | let ao = cw[2] | |
394 | + | func ct (cu,cv) = makeString(["%d%d", toString(cu), toString(cv)], m) | |
395 | + | ||
396 | + | ||
397 | + | func cw (af) = { | |
398 | + | let cx = split(bg(aC(af)), m) | |
399 | + | let an = cx[1] | |
400 | + | let ao = cx[2] | |
388 | 401 | split(bg(am(an, ao)), m) | |
389 | 402 | } | |
390 | 403 | ||
391 | 404 | ||
392 | - | func | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
405 | + | func cy (cz,cA) = { | |
406 | + | let cB = valueOrElse(getInteger(this, ak(cz)), 0) | |
407 | + | let cC = valueOrElse(getInteger(this, ad()), 0) | |
408 | + | let cD = if ((cB == 0)) | |
396 | 409 | then { | |
397 | - | let | |
398 | - | $Tuple3( | |
410 | + | let cE = (cC + cA) | |
411 | + | $Tuple3(cE, [IntegerEntry(ad(), cE), IntegerEntry(ak(cz), cE), StringEntry(ai(cE), cz)], true) | |
399 | 412 | } | |
400 | - | else $Tuple3( | |
401 | - | | |
413 | + | else $Tuple3(cB, nil, false) | |
414 | + | cD | |
402 | 415 | } | |
403 | 416 | ||
404 | 417 | ||
405 | - | func | |
406 | - | let | |
407 | - | if (containsElement( | |
418 | + | func cF (bR) = { | |
419 | + | let cG = split(valueOrElse(getString(W()), n), m) | |
420 | + | if (containsElement(cG, toBase58String(bR.callerPublicKey))) | |
408 | 421 | then true | |
409 | 422 | else { | |
410 | - | let | |
411 | - | if (( | |
423 | + | let cH = bS(bR) | |
424 | + | if ((cH == cH)) | |
412 | 425 | then true | |
413 | 426 | else throw("Strict value is not equal to itself.") | |
414 | 427 | } | |
415 | 428 | } | |
416 | 429 | ||
417 | 430 | ||
418 | - | func | |
431 | + | func cI (bh,cJ,cK) = valueOrElse(getInteger(this, bh), valueOrElse(getInteger(this, cJ), cK)) | |
419 | 432 | ||
420 | 433 | ||
421 | - | func | |
434 | + | func cL (aI,aJ) = { | |
422 | 435 | let an = getInteger(ak(aI)) | |
423 | 436 | let ao = getInteger(ak(aJ)) | |
424 | 437 | if (if ((an == unit)) | |
426 | 439 | else (ao == unit)) | |
427 | 440 | then false | |
428 | 441 | else { | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
442 | + | let cM = toString(value(an)) | |
443 | + | let cN = toString(value(ao)) | |
444 | + | let cO = getString(am(cM, cN)) | |
445 | + | let cP = getString(am(cN, cM)) | |
446 | + | let cQ = if ((cO != unit)) | |
434 | 447 | then true | |
435 | - | else ( | |
436 | - | | |
448 | + | else (cP != unit) | |
449 | + | cQ | |
437 | 450 | } | |
438 | 451 | } | |
439 | 452 | ||
440 | 453 | ||
441 | - | func | |
442 | - | let | |
454 | + | func cR (aD) = { | |
455 | + | let cx = { | |
443 | 456 | let bn = getString(aC(aD)) | |
444 | 457 | if ($isInstanceOf(bn, "String")) | |
445 | 458 | then { | |
448 | 461 | } | |
449 | 462 | else K(makeString([aD, "pool is not found"], " ")) | |
450 | 463 | } | |
451 | - | let an = parseIntValue( | |
452 | - | let ao = parseIntValue( | |
464 | + | let an = parseIntValue(cx[1]) | |
465 | + | let ao = parseIntValue(cx[2]) | |
453 | 466 | let aI = getStringValue(ai(an)) | |
454 | 467 | let aJ = getStringValue(ai(ao)) | |
455 | - | let | |
456 | - | $Tuple5(aI, aJ, | |
468 | + | let ck = getStringValue(aF(aD)) | |
469 | + | $Tuple5(aI, aJ, ck, an, ao) | |
457 | 470 | } | |
458 | 471 | ||
459 | 472 | ||
460 | - | func | |
461 | - | let | |
462 | - | let aI = | |
463 | - | let aJ = | |
464 | - | let | |
465 | - | let an = | |
466 | - | let ao = | |
467 | - | let | |
468 | - | let | |
469 | - | | |
473 | + | func cS (aD) = { | |
474 | + | let cT = cR(aD) | |
475 | + | let aI = cT._1 | |
476 | + | let aJ = cT._2 | |
477 | + | let ck = cT._3 | |
478 | + | let an = cT._4 | |
479 | + | let ao = cT._5 | |
480 | + | let cU = addressFromStringValue(getStringValue(Z())) | |
481 | + | let cV = invoke(cU, "getPoolCreatorREADONLY", [aI, aJ], nil) | |
482 | + | cV | |
470 | 483 | } | |
471 | 484 | ||
472 | 485 | ||
473 | - | func | |
474 | - | let bf = addressFromStringValue( | |
475 | - | if (( | |
486 | + | func cW (cX,cY) = { | |
487 | + | let bf = addressFromStringValue(cX) | |
488 | + | if ((cY == "WAVES")) | |
476 | 489 | then wavesBalance(bf).regular | |
477 | 490 | else { | |
478 | - | let aR = fromBase58String( | |
491 | + | let aR = fromBase58String(cY) | |
479 | 492 | assetBalance(bf, aR) | |
480 | 493 | } | |
481 | 494 | } | |
482 | 495 | ||
483 | 496 | ||
484 | - | func | |
485 | - | let | |
486 | - | let aI = | |
487 | - | let aJ = | |
488 | - | let | |
489 | - | let an = | |
490 | - | let ao = | |
491 | - | if (( | |
492 | - | then ( | |
497 | + | func cZ (aD) = { | |
498 | + | let da = cR(aD) | |
499 | + | let aI = da._1 | |
500 | + | let aJ = da._2 | |
501 | + | let ck = da._3 | |
502 | + | let an = da._4 | |
503 | + | let ao = da._5 | |
504 | + | if ((cW(aD, aI) == 0)) | |
505 | + | then (cW(aD, aJ) == 0) | |
493 | 506 | else false | |
494 | 507 | } | |
495 | 508 | ||
501 | 514 | ||
502 | 515 | @Callable(bR) | |
503 | 516 | func getPoolLeaseConfigREADONLY (af,aR) = { | |
504 | - | let | |
517 | + | let db = { | |
505 | 518 | let bn = getInteger(this, aZ(af, aR)) | |
506 | 519 | if ($isInstanceOf(bn, "Int")) | |
507 | 520 | then { | |
508 | - | let | |
509 | - | $Tuple2(true, min([100, max([0, | |
521 | + | let dc = bn | |
522 | + | $Tuple2(true, min([100, max([0, dc])])) | |
510 | 523 | } | |
511 | 524 | else { | |
512 | - | let | |
513 | - | if ($isInstanceOf( | |
525 | + | let dd = getInteger(this, ba(aR)) | |
526 | + | if ($isInstanceOf(dd, "Int")) | |
514 | 527 | then { | |
515 | - | let | |
516 | - | $Tuple2(true, min([100, max([0, | |
528 | + | let de = dd | |
529 | + | $Tuple2(true, min([100, max([0, de])])) | |
517 | 530 | } | |
518 | 531 | else $Tuple2(false, 0) | |
519 | 532 | } | |
520 | 533 | } | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
534 | + | let df = db._1 | |
535 | + | let dg = db._2 | |
536 | + | let dh = { | |
524 | 537 | let bn = getInteger(this, bc(af, aR)) | |
525 | 538 | if ($isInstanceOf(bn, "Int")) | |
526 | 539 | then { | |
527 | - | let | |
528 | - | max([0, | |
540 | + | let di = bn | |
541 | + | max([0, di]) | |
529 | 542 | } | |
530 | 543 | else { | |
531 | - | let | |
532 | - | if ($isInstanceOf( | |
544 | + | let dd = getInteger(this, bd(aR)) | |
545 | + | if ($isInstanceOf(dd, "Int")) | |
533 | 546 | then { | |
534 | - | let | |
535 | - | max([0, | |
547 | + | let dj = dd | |
548 | + | max([0, dj]) | |
536 | 549 | } | |
537 | 550 | else 0 | |
538 | 551 | } | |
539 | 552 | } | |
540 | - | let | |
553 | + | let dk = if ((aR == "WAVES")) | |
541 | 554 | then $Tuple3(valueOrElse(getString(this, aW()), ""), getString(this, valueOrElse(aX(), "")), c) | |
542 | 555 | else $Tuple3("", "", 0) | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | $Tuple2(nil, $Tuple7( | |
556 | + | let dl = dk._1 | |
557 | + | let dm = dk._2 | |
558 | + | let dn = dk._3 | |
559 | + | let do = valueOrElse(getString(this, aY()), "") | |
560 | + | $Tuple2(nil, $Tuple7(df, dg, dh, dl, dm, dn, do)) | |
548 | 561 | } | |
549 | 562 | ||
550 | 563 | ||
551 | 564 | ||
552 | 565 | @Callable(bR) | |
553 | - | func getLpAssetFromPoolAssetsREADONLY ( | |
554 | - | then ( | |
566 | + | func getLpAssetFromPoolAssetsREADONLY (dp,dq) = if (if ((dp == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS")) | |
567 | + | then (dq == "WAVES") | |
555 | 568 | else false) | |
556 | 569 | then $Tuple2(nil, unit) | |
557 | 570 | else { | |
558 | - | let dq = value(getInteger(this, ak(do))) | |
559 | 571 | let dr = value(getInteger(this, ak(dp))) | |
560 | - | let ds = getString(this, ay(toString(dq), toString(dr))) | |
561 | - | let dt = if ((ds == unit)) | |
572 | + | let ds = value(getInteger(this, ak(dq))) | |
573 | + | let dt = getString(this, ay(toString(dr), toString(ds))) | |
574 | + | let du = if ((dt == unit)) | |
562 | 575 | then unit | |
563 | - | else drop(value( | |
564 | - | $Tuple2(nil, | |
576 | + | else drop(value(dt), 4) | |
577 | + | $Tuple2(nil, du) | |
565 | 578 | } | |
566 | 579 | ||
567 | 580 | ||
568 | 581 | ||
569 | 582 | @Callable(bR) | |
570 | - | func getPoolAddressFromLpAssetREADONLY ( | |
583 | + | func getPoolAddressFromLpAssetREADONLY (dv) = $Tuple2(nil, valueOrElse(getString(this, aG(dv)), "")) | |
571 | 584 | ||
572 | 585 | ||
573 | 586 | ||
574 | 587 | @Callable(bR) | |
575 | - | func constructor ( | |
576 | - | let | |
577 | - | if (( | |
578 | - | then [StringEntry(O(), | |
588 | + | func constructor (dw,dx,bY,bZ,ca,cb,dy,dz) = { | |
589 | + | let dA = bS(bR) | |
590 | + | if ((dA == dA)) | |
591 | + | then [StringEntry(O(), ch(dw, dx, bY, bZ, ca, cb, dy)), IntegerEntry(ab(), dz)] | |
579 | 592 | else throw("Strict value is not equal to itself.") | |
580 | 593 | } | |
581 | 594 | ||
582 | 595 | ||
583 | 596 | ||
584 | 597 | @Callable(bR) | |
585 | - | func constructorV2 ( | |
586 | - | let | |
587 | - | if (( | |
598 | + | func constructorV2 (dB) = { | |
599 | + | let dA = bS(bR) | |
600 | + | if ((dA == dA)) | |
588 | 601 | then { | |
589 | - | let | |
590 | - | if (( | |
591 | - | then [StringEntry(R(), | |
602 | + | let dC = addressFromPublicKey(fromBase58String(dB)) | |
603 | + | if ((dC == dC)) | |
604 | + | then [StringEntry(R(), dB)] | |
592 | 605 | else throw("Strict value is not equal to itself.") | |
593 | 606 | } | |
594 | 607 | else throw("Strict value is not equal to itself.") | |
597 | 610 | ||
598 | 611 | ||
599 | 612 | @Callable(bR) | |
600 | - | func constructorV3 ( | |
601 | - | let | |
602 | - | if (( | |
613 | + | func constructorV3 (cd,ce,cf,cg) = { | |
614 | + | let dA = bS(bR) | |
615 | + | if ((dA == dA)) | |
603 | 616 | then { | |
604 | 617 | let bH = split(bg(O()), m) | |
605 | - | [StringEntry(O(), | |
618 | + | [StringEntry(O(), bV(bH[1], bH[2], bH[3], bH[4], bH[5], bH[6], bH[7], cd, ce, cf, cg))] | |
606 | 619 | } | |
607 | 620 | else throw("Strict value is not equal to itself.") | |
608 | 621 | } | |
610 | 623 | ||
611 | 624 | ||
612 | 625 | @Callable(bR) | |
613 | - | func constructorV4 ( | |
614 | - | let | |
615 | - | if (( | |
616 | - | then [StringEntry(S(), | |
626 | + | func constructorV4 (dD,dE) = { | |
627 | + | let dA = bS(bR) | |
628 | + | if ((dA == dA)) | |
629 | + | then [StringEntry(S(), dD), StringEntry(T(), makeString(dE, m))] | |
617 | 630 | else throw("Strict value is not equal to itself.") | |
618 | 631 | } | |
619 | 632 | ||
620 | 633 | ||
621 | 634 | ||
622 | 635 | @Callable(bR) | |
623 | - | func constructorV5 ( | |
624 | - | let | |
625 | - | if (( | |
626 | - | then [StringEntry(X(), | |
636 | + | func constructorV5 (dF) = { | |
637 | + | let dA = bS(bR) | |
638 | + | if ((dA == dA)) | |
639 | + | then [StringEntry(X(), dF)] | |
627 | 640 | else throw("Strict value is not equal to itself.") | |
628 | 641 | } | |
629 | 642 | ||
630 | 643 | ||
631 | 644 | ||
632 | 645 | @Callable(bR) | |
633 | - | func constructorV6 ( | |
634 | - | let | |
646 | + | func constructorV6 (dG,dH) = { | |
647 | + | let dI = [bS(bR), if ((addressFromString(dG) != unit)) | |
635 | 648 | then true | |
636 | 649 | else "invalid voting emission contract address"] | |
637 | - | if (( | |
638 | - | then [StringEntry(Y(), | |
650 | + | if ((dI == dI)) | |
651 | + | then [StringEntry(Y(), dG), StringEntry(aa(), makeString(dH, m))] | |
639 | 652 | else throw("Strict value is not equal to itself.") | |
640 | 653 | } | |
641 | 654 | ||
642 | 655 | ||
643 | 656 | ||
644 | 657 | @Callable(bR) | |
645 | - | func setAdmins ( | |
646 | - | let | |
647 | - | if (( | |
648 | - | then [StringEntry(W(), makeString( | |
658 | + | func setAdmins (dJ) = { | |
659 | + | let dA = bS(bR) | |
660 | + | if ((dA == dA)) | |
661 | + | then [StringEntry(W(), makeString(dJ, m))] | |
649 | 662 | else throw("Strict value is not equal to itself.") | |
650 | 663 | } | |
651 | 664 | ||
652 | 665 | ||
653 | 666 | ||
654 | 667 | @Callable(bR) | |
655 | - | func activateNewPool (af, | |
656 | - | let | |
657 | - | if (( | |
668 | + | func activateNewPool (af,cl,cm,dK,dL,dM,cs,dN) = { | |
669 | + | let dA = cF(bR) | |
670 | + | if ((dA == dA)) | |
658 | 671 | then if (isDefined(getString(aC(af)))) | |
659 | 672 | then K((("Pool address " + af) + " already registered.")) | |
660 | 673 | else { | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
674 | + | let dO = cy(cl, 1) | |
675 | + | let dP = dO._1 | |
676 | + | let dQ = cy(cm, if (dO._3) | |
664 | 677 | then 2 | |
665 | 678 | else 1) | |
666 | - | let | |
667 | - | let | |
668 | - | let | |
669 | - | let | |
670 | - | if ( | |
671 | - | then K((((("Pool " + | |
679 | + | let dR = dQ._1 | |
680 | + | let dS = valueOrErrorMessage(scriptHash(addressFromStringValue(af)), ("No script has been found on pool account " + af)) | |
681 | + | let dT = getBinaryValue(Q()) | |
682 | + | let dU = cL(cl, cm) | |
683 | + | if (dU) | |
684 | + | then K((((("Pool " + cl) + "/") + cm) + " has already been activated.")) | |
672 | 685 | else { | |
673 | - | let dU = value(getString(this, am(toString(dO), toString(dQ)))) | |
674 | - | let dV = if ((ck == "WAVES")) | |
675 | - | then l | |
676 | - | else pow(10, 0, value(assetInfo(fromBase58String(ck))).decimals, 0, 0, DOWN) | |
686 | + | let dV = value(getString(this, am(toString(dP), toString(dR)))) | |
677 | 687 | let dW = if ((cl == "WAVES")) | |
678 | 688 | then l | |
679 | 689 | else pow(10, 0, value(assetInfo(fromBase58String(cl))).decimals, 0, 0, DOWN) | |
680 | - | let dX = Issue(dJ, dK, 1, 8, true) | |
681 | - | let cj = calculateAssetId(dX) | |
682 | - | let dY = toBase58String(cj) | |
683 | - | let dZ = invoke(addressFromStringValue(af), "activate", [ck, cl], nil) | |
684 | - | if ((dZ == dZ)) | |
685 | - | then if ((dZ != "success")) | |
690 | + | let dX = if ((cm == "WAVES")) | |
691 | + | then l | |
692 | + | else pow(10, 0, value(assetInfo(fromBase58String(cm))).decimals, 0, 0, DOWN) | |
693 | + | let dY = Issue(dK, dL, 1, 8, true) | |
694 | + | let ck = calculateAssetId(dY) | |
695 | + | let dZ = toBase58String(ck) | |
696 | + | let ea = invoke(addressFromStringValue(af), "activate", [cl, cm], nil) | |
697 | + | if ((ea == ea)) | |
698 | + | then if ((ea != "success")) | |
686 | 699 | then K("Pool initialisation error happened.") | |
687 | 700 | else { | |
688 | - | let | |
689 | - | let | |
690 | - | if (( | |
701 | + | let dF = addressFromStringValue(bg(X())) | |
702 | + | let eb = invoke(dF, "createOrUpdate", [dZ, dK, false], nil) | |
703 | + | if ((eb == eb)) | |
691 | 704 | then { | |
692 | - | let | |
693 | - | if (( | |
705 | + | let ec = invoke(dF, "addLabel", [dZ, h], nil) | |
706 | + | if ((ec == ec)) | |
694 | 707 | then { | |
695 | - | let | |
696 | - | if (( | |
708 | + | let ed = invoke(dF, "setLogo", [dZ, dN], nil) | |
709 | + | if ((ed == ed)) | |
697 | 710 | then { | |
698 | - | let | |
699 | - | if (( | |
711 | + | let ee = invoke(dF, "addAssetsLink", [cl, cm, dZ], nil) | |
712 | + | if ((ee == ee)) | |
700 | 713 | then { | |
701 | - | let | |
702 | - | if (( | |
703 | - | then $Tuple2((( | |
714 | + | let ef = invoke(dF, "increaseAssetPoolsNumber", [cl], nil) | |
715 | + | if ((ef == ef)) | |
716 | + | then $Tuple2(((dO._2 ++ dQ._2) ++ [dY, Burn(ck, 1), StringEntry(am(toString(dP), toString(dR)), ci(af, toString(o), dZ, cl, cm, dW, dX, dP, dR, l, cs)), StringEntry(aw(dZ), ct(dP, dR)), StringEntry(ay(toString(dP), toString(dR)), ("%s__" + dZ)), StringEntry(aC(af), ct(dP, dR)), StringEntry(aE(dP, dR), af), StringEntry(aG(dZ), af), StringEntry(aF(af), dZ), IntegerEntry(ae(af), dM), IntegerEntry(aB(af), i)]), dZ) | |
704 | 717 | else throw("Strict value is not equal to itself.") | |
705 | 718 | } | |
706 | 719 | else throw("Strict value is not equal to itself.") | |
720 | 733 | ||
721 | 734 | ||
722 | 735 | @Callable(bR) | |
723 | - | func managePool (af, | |
724 | - | let | |
725 | - | if (( | |
736 | + | func managePool (af,eg) = { | |
737 | + | let dA = bS(bR) | |
738 | + | if ((dA == dA)) | |
726 | 739 | then { | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | let | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
738 | - | [StringEntry(am(toString( | |
740 | + | let eh = cw(af) | |
741 | + | let cj = eh[w] | |
742 | + | let dZ = eh[x] | |
743 | + | let cl = eh[y] | |
744 | + | let cm = eh[z] | |
745 | + | let dW = parseIntValue(eh[A]) | |
746 | + | let dX = parseIntValue(eh[B]) | |
747 | + | let dP = parseIntValue(eh[C]) | |
748 | + | let dR = parseIntValue(eh[D]) | |
749 | + | let ei = parseIntValue(eh[E]) | |
750 | + | let cs = eh[F] | |
751 | + | [StringEntry(am(toString(dP), toString(dR)), ci(af, toString(eg), dZ, cl, cm, dW, dX, dP, dR, ei, cs))] | |
739 | 752 | } | |
740 | 753 | else throw("Strict value is not equal to itself.") | |
741 | 754 | } | |
743 | 756 | ||
744 | 757 | ||
745 | 758 | @Callable(bR) | |
746 | - | func emit ( | |
747 | - | let | |
748 | - | let | |
749 | - | let | |
750 | - | let | |
751 | - | let | |
752 | - | let | |
753 | - | if ((0 >= | |
759 | + | func emit (ej) = { | |
760 | + | let ek = bR.caller | |
761 | + | let el = bR.originCaller | |
762 | + | let em = valueOrErrorMessage(getString(aF(toString(ek))), "Invalid LP address called me.") | |
763 | + | let en = fromBase58String(em) | |
764 | + | let dE = split(valueOrElse(getString(T()), n), m) | |
765 | + | let dD = addressFromStringValue(valueOrErrorMessage(getString(S()), "Legacy factory contract does not exists.")) | |
766 | + | if ((0 >= ej)) | |
754 | 767 | then nil | |
755 | - | else if (containsElement( | |
756 | - | then $Tuple2(nil, | |
757 | - | else $Tuple2([Reissue( | |
768 | + | else if (containsElement(dE, toString(ek))) | |
769 | + | then $Tuple2(nil, dD) | |
770 | + | else $Tuple2([Reissue(en, ej, true), ScriptTransfer(bR.caller, ej, en)], "success") | |
758 | 771 | } | |
759 | 772 | ||
760 | 773 | ||
761 | 774 | ||
762 | 775 | @Callable(bR) | |
763 | - | func burn ( | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | if (( | |
776 | + | func burn (eo) = { | |
777 | + | let ek = bR.caller | |
778 | + | let el = bR.originCaller | |
779 | + | let ep = value(bR.payments[0]) | |
780 | + | let eq = value(ep.amount) | |
781 | + | let er = toBase58String(value(ep.assetId)) | |
782 | + | let es = valueOrErrorMessage(getString(aF(toString(ek))), "Invalid LP address called me.") | |
783 | + | if ((er != es)) | |
771 | 784 | then K("Invalid asset passed.") | |
772 | - | else if (( | |
785 | + | else if ((eo != eq)) | |
773 | 786 | then K("Invalid amount passed.") | |
774 | 787 | else { | |
775 | - | let | |
776 | - | $Tuple2([Burn( | |
788 | + | let en = fromBase58String(es) | |
789 | + | $Tuple2([Burn(en, eo)], "success") | |
777 | 790 | } | |
778 | 791 | } | |
779 | 792 | ||
780 | 793 | ||
781 | 794 | ||
782 | 795 | @Callable(bR) | |
783 | - | func modifyWeight ( | |
784 | - | let | |
796 | + | func modifyWeight (ck,et) = { | |
797 | + | let dA = if ((toBase58String(bR.caller.bytes) == valueOrElse(getString(this, Y()), ""))) | |
785 | 798 | then true | |
786 | 799 | else bS(bR) | |
787 | - | if (( | |
800 | + | if ((dA == dA)) | |
788 | 801 | then { | |
789 | - | let aD = bg(aG( | |
790 | - | let | |
791 | - | let | |
792 | - | let | |
793 | - | let | |
794 | - | let | |
802 | + | let aD = bg(aG(ck)) | |
803 | + | let eu = ae(aD) | |
804 | + | let ev = ae(g) | |
805 | + | let ew = valueOrElse(getInteger(ev), 0) | |
806 | + | let dM = valueOrElse(getInteger(eu), 0) | |
807 | + | let ex = et | |
795 | 808 | let bH = split(bg(O()), m) | |
796 | - | let | |
797 | - | let | |
798 | - | if (( | |
809 | + | let dw = bJ(bH) | |
810 | + | let ey = invoke(dw, "onModifyWeight", [ck, aD], nil) | |
811 | + | if ((ey == ey)) | |
799 | 812 | then { | |
800 | - | let | |
813 | + | let ez = if ((ew == 0)) | |
801 | 814 | then nil | |
802 | - | else [IntegerEntry( | |
803 | - | let | |
804 | - | let | |
805 | - | let | |
815 | + | else [IntegerEntry(ev, 0)] | |
816 | + | let eA = ag(aD, 0) | |
817 | + | let eB = getInteger(eA) | |
818 | + | let eC = if ((eB == unit)) | |
806 | 819 | then nil | |
807 | - | else [DeleteEntry( | |
808 | - | (([IntegerEntry( | |
820 | + | else [DeleteEntry(eA)] | |
821 | + | (([IntegerEntry(eu, ex)] ++ ez) ++ eC) | |
809 | 822 | } | |
810 | 823 | else throw("Strict value is not equal to itself.") | |
811 | 824 | } | |
815 | 828 | ||
816 | 829 | ||
817 | 830 | @Callable(bR) | |
818 | - | func modifyWeights ( | |
819 | - | let | |
820 | - | if (( | |
831 | + | func modifyWeights (eD,eE,eF,eG) = { | |
832 | + | let dA = bS(bR) | |
833 | + | if ((dA == dA)) | |
821 | 834 | then { | |
822 | - | let eG = ((5 * f) / 100) | |
823 | 835 | let eH = ((5 * f) / 100) | |
824 | 836 | let eI = ((5 * f) / 100) | |
837 | + | let eJ = ((5 * f) / 100) | |
825 | 838 | let bH = split(bg(O()), m) | |
826 | - | let eJ = bJ(bH) | |
827 | - | let eK = bK(bH) | |
828 | - | let eL = ae(eC) | |
839 | + | let eK = bJ(bH) | |
840 | + | let eL = bK(bH) | |
829 | 841 | let eM = ae(eD) | |
830 | 842 | let eN = ae(eE) | |
831 | 843 | let eO = ae(eF) | |
832 | - | let eP = | |
844 | + | let eP = ae(eG) | |
833 | 845 | let eQ = bj(eM) | |
834 | - | let eR = (eP - eI) | |
835 | - | let eS = (eQ - eI) | |
836 | - | if ((0 >= eR)) | |
837 | - | then K(("invalid btcWeightNew: " + toString(eR))) | |
838 | - | else if ((0 >= eS)) | |
839 | - | then K(("invalid ethWeightNew: " + toString(eS))) | |
846 | + | let eR = bj(eN) | |
847 | + | let eS = (eQ - eJ) | |
848 | + | let eT = (eR - eJ) | |
849 | + | if ((0 >= eS)) | |
850 | + | then K(("invalid btcWeightNew: " + toString(eS))) | |
851 | + | else if ((0 >= eT)) | |
852 | + | then K(("invalid ethWeightNew: " + toString(eT))) | |
840 | 853 | else { | |
841 | - | let eT = bg(aF(eC)) | |
842 | 854 | let eU = bg(aF(eD)) | |
843 | 855 | let eV = bg(aF(eE)) | |
844 | 856 | let eW = bg(aF(eF)) | |
845 | - | let eX = invoke(eJ, "onModifyWeight", [eT, eC], nil) | |
846 | - | if ((eX == eX)) | |
857 | + | let eX = bg(aF(eG)) | |
858 | + | let eY = invoke(eK, "onModifyWeight", [eU, eD], nil) | |
859 | + | if ((eY == eY)) | |
847 | 860 | then { | |
848 | - | let | |
849 | - | if (( | |
861 | + | let eZ = invoke(eK, "onModifyWeight", [eV, eE], nil) | |
862 | + | if ((eZ == eZ)) | |
850 | 863 | then { | |
851 | - | let | |
852 | - | if (( | |
864 | + | let fa = invoke(eK, "onModifyWeight", [eW, eF], nil) | |
865 | + | if ((fa == fa)) | |
853 | 866 | then { | |
854 | - | let | |
855 | - | if (( | |
856 | - | then [IntegerEntry( | |
867 | + | let fb = invoke(eK, "onModifyWeight", [eX, eG], nil) | |
868 | + | if ((fb == fb)) | |
869 | + | then [IntegerEntry(eM, eS), IntegerEntry(eN, eT), IntegerEntry(eO, eH), IntegerEntry(eP, eI), IntegerEntry(ag(eD, 0), eQ), IntegerEntry(ag(eE, 0), eR), IntegerEntry(ag(eF, 0), eH), IntegerEntry(ag(eG, 0), eI)] | |
857 | 870 | else throw("Strict value is not equal to itself.") | |
858 | 871 | } | |
859 | 872 | else throw("Strict value is not equal to itself.") | |
870 | 883 | ||
871 | 884 | @Callable(bR) | |
872 | 885 | func checkWxEmissionPoolLabel (aI,aJ) = { | |
873 | - | let | |
886 | + | let fc = { | |
874 | 887 | let bn = getBoolean(aH(aI, aJ)) | |
875 | 888 | if ($isInstanceOf(bn, "Boolean")) | |
876 | 889 | then { | |
877 | - | let | |
878 | - | | |
890 | + | let di = bn | |
891 | + | di | |
879 | 892 | } | |
880 | 893 | else false | |
881 | 894 | } | |
882 | - | $Tuple2(nil, | |
895 | + | $Tuple2(nil, fc) | |
883 | 896 | } | |
884 | 897 | ||
885 | 898 | ||
886 | 899 | ||
887 | 900 | @Callable(bR) | |
888 | 901 | func setWxEmissionPoolLabel (aI,aJ) = { | |
889 | - | let | |
890 | - | if (( | |
902 | + | let dA = cF(bR) | |
903 | + | if ((dA == dA)) | |
891 | 904 | then $Tuple2([BooleanEntry(aH(aI, aJ), true)], unit) | |
892 | 905 | else throw("Strict value is not equal to itself.") | |
893 | 906 | } | |
896 | 909 | ||
897 | 910 | @Callable(bR) | |
898 | 911 | func deleteWxEmissionPoolLabel (aI,aJ) = { | |
899 | - | let | |
912 | + | let dA = if ((bR.caller == this)) | |
900 | 913 | then true | |
901 | - | else | |
902 | - | if (( | |
914 | + | else cF(bR) | |
915 | + | if ((dA == dA)) | |
903 | 916 | then $Tuple2([DeleteEntry(aH(aI, aJ))], unit) | |
904 | 917 | else throw("Strict value is not equal to itself.") | |
905 | 918 | } | |
908 | 921 | ||
909 | 922 | @Callable(bR) | |
910 | 923 | func onVerificationLoss (aR) = { | |
911 | - | let | |
924 | + | let dA = if ((toBase58String(bR.caller.bytes) == valueOrElse(getString(this, X()), ""))) | |
912 | 925 | then true | |
913 | 926 | else bS(bR) | |
914 | - | if (( | |
927 | + | if ((dA == dA)) | |
915 | 928 | then { | |
916 | - | let | |
917 | - | let | |
929 | + | let dH = bL() | |
930 | + | let fd = if ((size(dH) > 0)) | |
918 | 931 | then true | |
919 | 932 | else K("invalid price assets") | |
920 | - | if (( | |
933 | + | if ((fd == fd)) | |
921 | 934 | then { | |
922 | - | func | |
923 | - | let | |
924 | - | if (( | |
935 | + | func fe (ff,fg) = { | |
936 | + | let dc = invoke(this, "deleteWxEmissionPoolLabel", [aR, fg], nil) | |
937 | + | if ((dc == dc)) | |
925 | 938 | then unit | |
926 | 939 | else throw("Strict value is not equal to itself.") | |
927 | 940 | } | |
928 | 941 | ||
929 | - | let | |
930 | - | let | |
931 | - | let | |
932 | - | let | |
933 | - | func | |
934 | - | then | |
935 | - | else | |
942 | + | let fh = { | |
943 | + | let fi = dH | |
944 | + | let fj = size(fi) | |
945 | + | let fk = unit | |
946 | + | func fl (fm,fn) = if ((fn >= fj)) | |
947 | + | then fm | |
948 | + | else fe(fm, fi[fn]) | |
936 | 949 | ||
937 | - | func | |
938 | - | then | |
950 | + | func fo (fm,fn) = if ((fn >= fj)) | |
951 | + | then fm | |
939 | 952 | else throw("List size exceeds 13") | |
940 | 953 | ||
941 | - | | |
954 | + | fo(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fk, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13) | |
942 | 955 | } | |
943 | - | if (( | |
956 | + | if ((fh == fh)) | |
944 | 957 | then $Tuple2(nil, unit) | |
945 | 958 | else throw("Strict value is not equal to itself.") | |
946 | 959 | } | |
953 | 966 | ||
954 | 967 | @Callable(bR) | |
955 | 968 | func isPoolOneTokenOperationsDisabledREADONLY (af) = { | |
956 | - | let | |
957 | - | let aq = $Tuple2(parseIntValue( | |
958 | - | let | |
959 | - | let | |
960 | - | $Tuple2(nil, if ( | |
969 | + | let eh = cw(af) | |
970 | + | let aq = $Tuple2(parseIntValue(eh[C]), parseIntValue(eh[D])) | |
971 | + | let fp = valueOrElse(getBoolean(ap(aq)), false) | |
972 | + | let fq = valueOrElse(getBoolean(as()), false) | |
973 | + | $Tuple2(nil, if (fq) | |
961 | 974 | then true | |
962 | - | else | |
975 | + | else fp) | |
963 | 976 | } | |
964 | 977 | ||
965 | 978 | ||
966 | 979 | ||
967 | 980 | @Callable(bR) | |
968 | 981 | func isPoolSwapDisabledREADONLY (af) = { | |
969 | - | let | |
970 | - | let aq = $Tuple2(parseIntValue( | |
971 | - | let | |
972 | - | let | |
973 | - | $Tuple2(nil, if ( | |
982 | + | let eh = cw(af) | |
983 | + | let aq = $Tuple2(parseIntValue(eh[C]), parseIntValue(eh[D])) | |
984 | + | let fr = valueOrElse(getBoolean(at(aq)), false) | |
985 | + | let fs = valueOrElse(getBoolean(av()), false) | |
986 | + | $Tuple2(nil, if (fs) | |
974 | 987 | then true | |
975 | - | else | |
988 | + | else fr) | |
976 | 989 | } | |
977 | 990 | ||
978 | 991 | ||
979 | 992 | ||
980 | 993 | @Callable(bR) | |
981 | 994 | func getInFeeREADONLY (af) = { | |
982 | - | let | |
983 | - | $Tuple2(nil, | |
995 | + | let ft = cI(aK(af), aL(), 0) | |
996 | + | $Tuple2(nil, ft) | |
984 | 997 | } | |
985 | 998 | ||
986 | 999 | ||
987 | 1000 | ||
988 | 1001 | @Callable(bR) | |
989 | 1002 | func getOutFeeREADONLY (af) = { | |
990 | - | let | |
991 | - | $Tuple2(nil, | |
1003 | + | let ft = cI(aN(af), aO(), fraction(10, b, 10000)) | |
1004 | + | $Tuple2(nil, ft) | |
992 | 1005 | } | |
993 | 1006 | ||
994 | 1007 | ||
995 | 1008 | ||
996 | 1009 | @Callable(bR) | |
997 | - | func getSwapFeeREADONLY ( | |
998 | - | let | |
999 | - | let bn = getString(this, aM( | |
1010 | + | func getSwapFeeREADONLY (fu) = { | |
1011 | + | let fv = { | |
1012 | + | let bn = getString(this, aM(fu)) | |
1000 | 1013 | if ($isInstanceOf(bn, "String")) | |
1001 | 1014 | then { | |
1002 | 1015 | let bo = bn | |
1003 | - | let | |
1004 | - | let | |
1005 | - | let | |
1006 | - | $Tuple2( | |
1016 | + | let fw = split(bo, m) | |
1017 | + | let fx = parseIntValue(fw[1]) | |
1018 | + | let fy = parseIntValue(fw[2]) | |
1019 | + | $Tuple2(fx, fy) | |
1007 | 1020 | } | |
1008 | 1021 | else if ($isInstanceOf(bn, "Unit")) | |
1009 | 1022 | then unit | |
1010 | 1023 | else throw("Match error") | |
1011 | 1024 | } | |
1012 | - | $Tuple2(nil, | |
1025 | + | $Tuple2(nil, fv) | |
1013 | 1026 | } | |
1014 | 1027 | ||
1015 | 1028 | ||
1016 | 1029 | ||
1017 | 1030 | @Callable(bR) | |
1018 | - | func poolInfoREADONLY (fy,fz) = { | |
1019 | - | let fA = getInteger(this, ak(fy)) | |
1031 | + | func poolInfoREADONLY (fz,fA) = { | |
1020 | 1032 | let fB = getInteger(this, ak(fz)) | |
1021 | - | let fC = getString(this, aE(value(fA), value(fB))) | |
1022 | - | let fD = getString(this, aF(value(fC))) | |
1023 | - | let dT = if (if (isDefined(fA)) | |
1024 | - | then isDefined(fB) | |
1033 | + | let fC = getInteger(this, ak(fA)) | |
1034 | + | let fD = getString(this, aE(value(fB), value(fC))) | |
1035 | + | let fE = getString(this, aF(value(fD))) | |
1036 | + | let dU = if (if (isDefined(fB)) | |
1037 | + | then isDefined(fC) | |
1025 | 1038 | else false) | |
1026 | - | then isDefined( | |
1039 | + | then isDefined(fD) | |
1027 | 1040 | else false | |
1028 | - | let | |
1029 | - | then $Tuple2(addressFromStringValue(value( | |
1041 | + | let fF = if (dU) | |
1042 | + | then $Tuple2(addressFromStringValue(value(fD)), bk(value(fE))) | |
1030 | 1043 | else unit | |
1031 | - | $Tuple2(nil, | |
1044 | + | $Tuple2(nil, fF) | |
1032 | 1045 | } | |
1033 | 1046 | ||
1034 | 1047 | ||
1035 | 1048 | ||
1036 | 1049 | @Callable(bR) | |
1037 | 1050 | func getPoolStatusREADONLY (af) = { | |
1038 | - | let | |
1039 | - | let an = | |
1040 | - | let ao = | |
1041 | - | let | |
1042 | - | $Tuple2(nil, parseIntValue( | |
1051 | + | let cx = split(bg(aC(af)), m) | |
1052 | + | let an = cx[1] | |
1053 | + | let ao = cx[2] | |
1054 | + | let cO = split(bg(am(an, ao)), m) | |
1055 | + | $Tuple2(nil, parseIntValue(cO[w])) | |
1043 | 1056 | } | |
1044 | 1057 | ||
1045 | 1058 | ||
1046 | 1059 | ||
1047 | 1060 | @Callable(bR) | |
1048 | 1061 | func getPoolConfigREADONLY (af) = { | |
1049 | - | let | |
1050 | - | let an = | |
1051 | - | let ao = | |
1052 | - | let | |
1053 | - | $Tuple2(nil, | |
1062 | + | let cx = split(bg(aC(af)), m) | |
1063 | + | let an = cx[1] | |
1064 | + | let ao = cx[2] | |
1065 | + | let cO = split(bg(am(an, ao)), m) | |
1066 | + | $Tuple2(nil, cO) | |
1054 | 1067 | } | |
1055 | 1068 | ||
1056 | 1069 | ||
1057 | 1070 | ||
1058 | 1071 | @Callable(bR) | |
1059 | - | func getPoolConfigByLpAssetIdREADONLY ( | |
1060 | - | let | |
1061 | - | let an = | |
1062 | - | let ao = | |
1063 | - | let | |
1064 | - | $Tuple2(nil, | |
1072 | + | func getPoolConfigByLpAssetIdREADONLY (dZ) = { | |
1073 | + | let cx = split(bg(aw(dZ)), m) | |
1074 | + | let an = cx[1] | |
1075 | + | let ao = cx[2] | |
1076 | + | let cO = split(bg(am(an, ao)), m) | |
1077 | + | $Tuple2(nil, cO) | |
1065 | 1078 | } | |
1066 | 1079 | ||
1067 | 1080 | ||
1068 | 1081 | ||
1069 | 1082 | @Callable(bR) | |
1070 | - | func poolExistsREADONLY (aI,aJ) = $Tuple2(nil, | |
1083 | + | func poolExistsREADONLY (aI,aJ) = $Tuple2(nil, cL(aI, aJ)) | |
1071 | 1084 | ||
1072 | 1085 | ||
1073 | 1086 | ||
1078 | 1091 | ||
1079 | 1092 | @Callable(bR) | |
1080 | 1093 | func getChangeAmpConfigREADONLY (af) = { | |
1081 | - | let | |
1082 | - | let | |
1083 | - | let | |
1084 | - | $Tuple2(nil, [ | |
1094 | + | let fG = getIntegerValue(aT(af)) | |
1095 | + | let fH = getIntegerValue(aU(af)) | |
1096 | + | let fI = getIntegerValue(aV(af)) | |
1097 | + | $Tuple2(nil, [fG, fH, fI]) | |
1085 | 1098 | } | |
1086 | 1099 | ||
1087 | 1100 | ||
1088 | 1101 | ||
1089 | 1102 | @Callable(bR) | |
1090 | - | func getPoolWeightREADONLY ( | |
1091 | - | let af = bg(aG( | |
1092 | - | let | |
1093 | - | $Tuple2(nil, | |
1103 | + | func getPoolWeightREADONLY (ck) = { | |
1104 | + | let af = bg(aG(ck)) | |
1105 | + | let fJ = valueOrElse(getInteger(ae(af)), 0) | |
1106 | + | $Tuple2(nil, fJ) | |
1094 | 1107 | } | |
1095 | 1108 | ||
1096 | 1109 | ||
1097 | 1110 | ||
1098 | 1111 | @Callable(bR) | |
1099 | 1112 | func deletePool (aD) = { | |
1100 | - | let eg = cv(aD) | |
1101 | - | let dz = if ((toString(bR.caller) == cR(aD))) | |
1102 | - | then if (cY(aD)) | |
1103 | - | then true | |
1104 | - | else K("Pool is not empty") | |
1105 | - | else bS(bR) | |
1106 | - | if ((dz == dz)) | |
1113 | + | let eh = cw(aD) | |
1114 | + | let dA = [if (if (bU(bR)) | |
1115 | + | then true | |
1116 | + | else if ((toString(bR.caller) == cS(aD))) | |
1117 | + | then cZ(aD) | |
1118 | + | else false) | |
1119 | + | then true | |
1120 | + | else K("Pool is not empty")] | |
1121 | + | if ((dA == dA)) | |
1107 | 1122 | then { | |
1108 | - | let | |
1123 | + | let fK = if ((valueOrElse(getInteger(ae(aD)), 0) == 0)) | |
1109 | 1124 | then true | |
1110 | 1125 | else K("Pool weight is not Zero") | |
1111 | - | if (( | |
1126 | + | if ((fK == fK)) | |
1112 | 1127 | then { | |
1113 | - | let | |
1128 | + | let fL = if ((eh[w] == toString(r))) | |
1114 | 1129 | then true | |
1115 | 1130 | else K("Pool must be SHUTDOWN (4)") | |
1116 | - | if (( | |
1131 | + | if ((fL == fL)) | |
1117 | 1132 | then { | |
1118 | - | let | |
1119 | - | let aI = | |
1120 | - | let aJ = | |
1121 | - | let | |
1122 | - | let an = | |
1123 | - | let ao = | |
1124 | - | let | |
1125 | - | let | |
1126 | - | if (( | |
1133 | + | let fM = cR(aD) | |
1134 | + | let aI = fM._1 | |
1135 | + | let aJ = fM._2 | |
1136 | + | let ck = fM._3 | |
1137 | + | let an = fM._4 | |
1138 | + | let ao = fM._5 | |
1139 | + | let cU = addressFromStringValue(getStringValue(Z())) | |
1140 | + | let fN = invoke(cU, "deletePool", [aI, aJ], nil) | |
1141 | + | if ((fN == fN)) | |
1127 | 1142 | then { | |
1128 | - | let | |
1129 | - | let | |
1130 | - | if (( | |
1143 | + | let dG = addressFromStringValue(getStringValue(Y())) | |
1144 | + | let fO = invoke(dG, "deletePool", [aI, aJ], nil) | |
1145 | + | if ((fO == fO)) | |
1131 | 1146 | then { | |
1132 | - | let | |
1133 | - | let | |
1134 | - | if (( | |
1135 | - | then [DeleteEntry(aF(aD)), DeleteEntry(aC(aD)), DeleteEntry(ay(toString(an), toString(ao))), DeleteEntry(aE(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(aw( | |
1147 | + | let dF = addressFromStringValue(getStringValue(X())) | |
1148 | + | let fP = invoke(dF, "deletePool", [aI, aJ], nil) | |
1149 | + | if ((fP == fP)) | |
1150 | + | then [DeleteEntry(aF(aD)), DeleteEntry(aC(aD)), DeleteEntry(ay(toString(an), toString(ao))), DeleteEntry(aE(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(aw(ck)), DeleteEntry(aG(ck)), DeleteEntry(aH(aI, aJ)), DeleteEntry(ae(aD)), DeleteEntry(aB(aD)), DeleteEntry(aK(aD)), DeleteEntry(aN(aD)), DeleteEntry(aS(aD)), DeleteEntry(aT(aD)), DeleteEntry(aU(aD)), DeleteEntry(aV(aD))] | |
1136 | 1151 | else throw("Strict value is not equal to itself.") | |
1137 | 1152 | } | |
1138 | 1153 | else throw("Strict value is not equal to itself.") | |
1149 | 1164 | ||
1150 | 1165 | ||
1151 | 1166 | @Callable(bR) | |
1152 | - | func getPrice ( | |
1153 | - | let af = addressFromStringValue( | |
1154 | - | let | |
1155 | - | let | |
1156 | - | let | |
1157 | - | let aJ = | |
1158 | - | let | |
1159 | - | let | |
1160 | - | let | |
1161 | - | if ($isInstanceOf( | |
1162 | - | then | |
1163 | - | else throw(($getType( | |
1167 | + | func getPrice (fu) = { | |
1168 | + | let af = addressFromStringValue(fu) | |
1169 | + | let cO = cw(fu) | |
1170 | + | let ck = fromBase58String(cO[x]) | |
1171 | + | let fQ = cO[y] | |
1172 | + | let aJ = cO[z] | |
1173 | + | let fR = value(assetInfo(ck)).quantity | |
1174 | + | let fS = { | |
1175 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fQ], nil) | |
1176 | + | if ($isInstanceOf(fT, "Int")) | |
1177 | + | then fT | |
1178 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1164 | 1179 | } | |
1165 | - | let | |
1166 | - | let | |
1167 | - | if ($isInstanceOf( | |
1168 | - | then | |
1169 | - | else throw(($getType( | |
1180 | + | let fU = { | |
1181 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [aJ], nil) | |
1182 | + | if ($isInstanceOf(fT, "Int")) | |
1183 | + | then fT | |
1184 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1170 | 1185 | } | |
1171 | - | let | |
1186 | + | let fV = if ((fR == 0)) | |
1172 | 1187 | then 0 | |
1173 | 1188 | else { | |
1174 | - | let | |
1175 | - | let | |
1176 | - | if ($isInstanceOf( | |
1177 | - | then | |
1178 | - | else throw(($getType( | |
1189 | + | let fT = ({ | |
1190 | + | let fT = invoke(af, "calcPricesWrapperREADONLY", [fS, fU, fR], nil) | |
1191 | + | if ($isInstanceOf(fT, "List[Any]")) | |
1192 | + | then fT | |
1193 | + | else throw(($getType(fT) + " couldn't be cast to List[Any]")) | |
1179 | 1194 | })[0] | |
1180 | - | if ($isInstanceOf( | |
1181 | - | then | |
1182 | - | else throw(($getType( | |
1195 | + | if ($isInstanceOf(fT, "String")) | |
1196 | + | then fT | |
1197 | + | else throw(($getType(fT) + " couldn't be cast to String")) | |
1183 | 1198 | } | |
1184 | - | $Tuple2(nil, | |
1199 | + | $Tuple2(nil, fV) | |
1185 | 1200 | } | |
1186 | 1201 | ||
1187 | 1202 | ||
1188 | 1203 | ||
1189 | 1204 | @Callable(bR) | |
1190 | - | func checkBalance ( | |
1191 | - | let | |
1192 | - | let af = addressFromStringValue( | |
1193 | - | let | |
1194 | - | let | |
1195 | - | let | |
1196 | - | let | |
1197 | - | let | |
1198 | - | let | |
1199 | - | let | |
1200 | - | let | |
1201 | - | if ($isInstanceOf( | |
1202 | - | then | |
1203 | - | else throw(($getType( | |
1205 | + | func checkBalance (dZ) = { | |
1206 | + | let fu = bg(aG(dZ)) | |
1207 | + | let af = addressFromStringValue(fu) | |
1208 | + | let cO = cw(fu) | |
1209 | + | let fz = cO[y] | |
1210 | + | let fA = cO[z] | |
1211 | + | let fW = getIntegerValue(this, aP()) | |
1212 | + | let fX = valueOrElse(getInteger(this, aQ(fz)), fW) | |
1213 | + | let fY = valueOrElse(getInteger(this, aQ(fA)), fW) | |
1214 | + | let fZ = { | |
1215 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fz], nil) | |
1216 | + | if ($isInstanceOf(fT, "Int")) | |
1217 | + | then fT | |
1218 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1204 | 1219 | } | |
1205 | - | let | |
1206 | - | let | |
1207 | - | if ($isInstanceOf( | |
1208 | - | then | |
1209 | - | else throw(($getType( | |
1220 | + | let ga = { | |
1221 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fA], nil) | |
1222 | + | if ($isInstanceOf(fT, "Int")) | |
1223 | + | then fT | |
1224 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1210 | 1225 | } | |
1211 | - | let ga = (fY >= (fW / 2)) | |
1212 | 1226 | let gb = (fZ >= (fX / 2)) | |
1213 | - | let gc = if (ga) | |
1214 | - | then gb | |
1227 | + | let gc = (ga >= (fY / 2)) | |
1228 | + | let gd = if (gb) | |
1229 | + | then gc | |
1215 | 1230 | else false | |
1216 | - | $Tuple2(nil, | |
1231 | + | $Tuple2(nil, gd) | |
1217 | 1232 | } | |
1218 | 1233 | ||
1219 | 1234 | ||
1220 | - | @Verifier( | |
1221 | - | func | |
1222 | - | let | |
1235 | + | @Verifier(ge) | |
1236 | + | func gf () = { | |
1237 | + | let gg = { | |
1223 | 1238 | let bn = bM() | |
1224 | 1239 | if ($isInstanceOf(bn, "ByteVector")) | |
1225 | 1240 | then { | |
1227 | 1242 | bT | |
1228 | 1243 | } | |
1229 | 1244 | else if ($isInstanceOf(bn, "Unit")) | |
1230 | - | then | |
1245 | + | then ge.senderPublicKey | |
1231 | 1246 | else throw("Match error") | |
1232 | 1247 | } | |
1233 | - | sigVerify( | |
1248 | + | sigVerify(ge.bodyBytes, ge.proofs[0], gg) | |
1234 | 1249 | } | |
1235 | 1250 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 1000000000000 | |
9 | 9 | ||
10 | 10 | let d = 18 | |
11 | 11 | ||
12 | 12 | let e = toBigInt(1000000000000000000) | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = "GWXvirtualPOOL" | |
17 | 17 | ||
18 | 18 | let h = "POOLS_LP" | |
19 | 19 | ||
20 | 20 | let i = 2000000 | |
21 | 21 | ||
22 | 22 | let j = "WAVES" | |
23 | 23 | ||
24 | 24 | let k = "factory_v2.ride" | |
25 | 25 | ||
26 | 26 | let l = ((100 * 1000) * 1000) | |
27 | 27 | ||
28 | 28 | let m = "__" | |
29 | 29 | ||
30 | 30 | let n = "" | |
31 | 31 | ||
32 | 32 | let o = 1 | |
33 | 33 | ||
34 | 34 | let p = 2 | |
35 | 35 | ||
36 | 36 | let q = 3 | |
37 | 37 | ||
38 | 38 | let r = 4 | |
39 | 39 | ||
40 | 40 | let s = 1 | |
41 | 41 | ||
42 | 42 | let t = 2 | |
43 | 43 | ||
44 | 44 | let u = 3 | |
45 | 45 | ||
46 | 46 | let v = 1 | |
47 | 47 | ||
48 | 48 | let w = 2 | |
49 | 49 | ||
50 | 50 | let x = 3 | |
51 | 51 | ||
52 | 52 | let y = 4 | |
53 | 53 | ||
54 | 54 | let z = 5 | |
55 | 55 | ||
56 | 56 | let A = 6 | |
57 | 57 | ||
58 | 58 | let B = 7 | |
59 | 59 | ||
60 | 60 | let C = 8 | |
61 | 61 | ||
62 | 62 | let D = 9 | |
63 | 63 | ||
64 | 64 | let E = 10 | |
65 | 65 | ||
66 | 66 | let F = 11 | |
67 | 67 | ||
68 | 68 | let G = "WX_EMISSION" | |
69 | 69 | ||
70 | 70 | let H = [G] | |
71 | 71 | ||
72 | 72 | func I (J) = makeString([k, ": ", J], "") | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func K (J) = throw(I(J)) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func L () = "%s__allowedLpScriptHash" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func M () = "%s__allowedLpStableScriptHash" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func N () = "%s__swapContract" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func O () = "%s__factoryConfig" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func P () = "%s__lpTokensList" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func Q () = "%s%s__pool__scriptHash" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func R () = "%s%s__matcher__publicKey" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func S () = "%s__legacyFactoryContract" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func T () = "%s__legacyPools" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func U () = "%s__managerPublicKey" | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func V () = "%s__managerVaultAddress" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func W () = "%s__adminPubKeys" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func X () = "%s__assetsStoreContract" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func Y () = "%s__votingEmissionContract" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func Z () = "%s__userPoolsContract" | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func aa () = makeString(["%s", "priceAssets"], m) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ab () = "%s__priceDecimals" | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func ac () = "%s__shutdown" | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ad () = "%s__nextInternalAssetId" | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ae (af) = ("%s%s__poolWeight__" + af) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ag (af,ah) = ((("%s%s__poolWeight__" + af) + "__") + toString(ah)) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ai (aj) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(aj)) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ak (al) = ("%s%s%s__mappings__baseAsset2internalId__" + al) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func am (an,ao) = (((("%d%d%s__" + an) + "__") + ao) + "__config") | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ap (aq) = { | |
151 | 151 | let ar = aq | |
152 | 152 | let an = ar._1 | |
153 | 153 | let ao = ar._2 | |
154 | 154 | makeString(["%d%d%s", toString(an), toString(ao), "oneTokenOperationsDisabled"], m) | |
155 | 155 | } | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func as () = makeString(["%s", "oneTokenOperationsDisabled"], m) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func at (aq) = { | |
162 | 162 | let au = aq | |
163 | 163 | let an = au._1 | |
164 | 164 | let ao = au._2 | |
165 | 165 | makeString(["%d%d%s", toString(an), toString(ao), "swapDisabled"], m) | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func av () = makeString(["%s", "swapDisabled"], m) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aw (ax) = (("%s%s%s__" + ax) + "__mappings__lpAsset2Pool") | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func ay (az,aA) = (((("%d%d%s%s__" + az) + "__") + aA) + "__mappings__PoolAssets2LpAsset") | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func aB (af) = ("%s%s__spread__" + af) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aC (aD) = (("%s%s%s__" + aD) + "__mappings__poolContract2PoolAssets") | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func aE (az,aA) = (((("%d%d%s%s__" + toString(az)) + "__") + toString(aA)) + "__mappings__poolAssets2PoolContract") | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func aF (aD) = (("%s%s%s__" + aD) + "__mappings__poolContract2LpAsset") | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aG (ax) = (("%s%s%s__" + ax) + "__mappings__lpAsset2PoolContract") | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func aH (aI,aJ) = ((("%s%s%s__wxEmission__" + aI) + "__") + aJ) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aK (af) = ("%s%s__inFee__" + af) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func aL () = "%s__inFeeDefault" | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func aM (af) = ("%s%s__swapFee__" + af) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aN (af) = ("%s%s__outFee__" + af) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aO () = "%s__outFeeDefault" | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aP () = makeString(["%s", "poolAssetDefaultMinAmount"], m) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aQ (aR) = makeString(["%s%s", "poolAssetMinAmount", aR], m) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aS (af) = ("%s%s__skipOrderValidation__" + af) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aT (af) = ("%s%s__changeAmpDelay__" + af) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aU (af) = ("%s%s__changeAmpDelta__" + af) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func aV (af) = ("%s%s__changeAmpTarget__" + af) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aW () = "%s__sWavesProxyAddress" | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aX () = "%s__sWavesAssetId" | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aY () = "%s__stakingProfitAddress" | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aZ (af,aR) = makeString(["%s%s%s", "leasedRatio", af, aR], m) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func ba (aR) = makeString(["%s%s", "leasedRatioDefault", aR], m) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func bb (af,aR) = makeString(["%s%s%s", "leasedRatioTolerance", af, aR], m) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func bc (af,aR) = makeString(["%s%s%s", "minBalance", af, aR], m) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func bd (aR) = makeString(["%s%s", "minBalanceDefault", aR], m) | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func be (bf) = makeString(["%s%s", "whitelisted", toString(bf)], m) | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func bg (bh) = valueOrErrorMessage(getString(this, bh), ("No data for this.key=" + bh)) | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func bi (bh) = valueOrErrorMessage(getBoolean(this, bh), ("No data for this.key=" + bh)) | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bj (bh) = valueOrErrorMessage(getInteger(this, bh), ("No data for this.key=" + bh)) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bk (bl) = if ((bl == j)) | |
266 | 266 | then unit | |
267 | 267 | else fromBase58String(bl) | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func bm () = { | |
271 | 271 | let bn = getString(V()) | |
272 | 272 | if ($isInstanceOf(bn, "String")) | |
273 | 273 | then { | |
274 | 274 | let bo = bn | |
275 | 275 | addressFromStringValue(bo) | |
276 | 276 | } | |
277 | 277 | else this | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bp (bq,br) = fraction(toBigInt(bq), e, toBigInt(br)) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bs (bt,bu) = toInt(fraction(bt, toBigInt(bu), e)) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | let bv = 1 | |
288 | 288 | ||
289 | 289 | let bw = 2 | |
290 | 290 | ||
291 | 291 | let bx = 3 | |
292 | 292 | ||
293 | 293 | let by = 4 | |
294 | 294 | ||
295 | 295 | let bz = 5 | |
296 | 296 | ||
297 | 297 | let bA = 6 | |
298 | 298 | ||
299 | 299 | let bB = 7 | |
300 | 300 | ||
301 | 301 | let bC = 8 | |
302 | 302 | ||
303 | 303 | let bD = 9 | |
304 | 304 | ||
305 | 305 | let bE = 10 | |
306 | 306 | ||
307 | 307 | let bF = 11 | |
308 | 308 | ||
309 | 309 | func bG (bH) = addressFromStringValue(bH[bw]) | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func bI (bH) = addressFromStringValue(bH[bz]) | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func bJ (bH) = addressFromStringValue(bH[bv]) | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func bK (bH) = addressFromStringValue(bH[bE]) | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | func bL () = { | |
322 | 322 | let bn = getString(aa()) | |
323 | 323 | if ($isInstanceOf(bn, "String")) | |
324 | 324 | then { | |
325 | 325 | let bo = bn | |
326 | 326 | if ((size(bo) == 0)) | |
327 | 327 | then nil | |
328 | 328 | else split_4C(bo, m) | |
329 | 329 | } | |
330 | 330 | else nil | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func bM () = { | |
335 | 335 | let bN = bm() | |
336 | 336 | let bn = getString(bN, U()) | |
337 | 337 | if ($isInstanceOf(bn, "String")) | |
338 | 338 | then { | |
339 | 339 | let bo = bn | |
340 | 340 | fromBase58String(bo) | |
341 | 341 | } | |
342 | 342 | else if ($isInstanceOf(bn, "Unit")) | |
343 | 343 | then unit | |
344 | 344 | else throw("Match error") | |
345 | 345 | } | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | let bO = K("Permission denied") | |
349 | 349 | ||
350 | 350 | let bP = K("Test error here") | |
351 | 351 | ||
352 | 352 | func bQ (bR) = if ((bR.caller == this)) | |
353 | 353 | then true | |
354 | 354 | else bO | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | func bS (bR) = { | |
358 | 358 | let bn = bM() | |
359 | 359 | if ($isInstanceOf(bn, "ByteVector")) | |
360 | 360 | then { | |
361 | 361 | let bT = bn | |
362 | 362 | if ((bR.callerPublicKey == bT)) | |
363 | 363 | then true | |
364 | 364 | else bO | |
365 | 365 | } | |
366 | 366 | else if ($isInstanceOf(bn, "Unit")) | |
367 | 367 | then bQ(bR) | |
368 | 368 | else throw("Match error") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | - | func bU (bV,bW,bX,bY,bZ,ca,cb,cc,cd,ce,cf) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bV, bW, bX, bY, bZ, ca, cb, cc, cd, ce, cf], m) | |
372 | + | func bU (bR) = { | |
373 | + | let bn = bM() | |
374 | + | if ($isInstanceOf(bn, "ByteVector")) | |
375 | + | then { | |
376 | + | let bT = bn | |
377 | + | (bR.callerPublicKey == bT) | |
378 | + | } | |
379 | + | else if ($isInstanceOf(bn, "Unit")) | |
380 | + | then (bR.caller == this) | |
381 | + | else throw("Match error") | |
382 | + | } | |
373 | 383 | ||
374 | 384 | ||
375 | - | func | |
385 | + | func bV (bW,bX,bY,bZ,ca,cb,cc,cd,ce,cf,cg) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bW, bX, bY, bZ, ca, cb, cc, cd, ce, cf, cg], m) | |
376 | 386 | ||
377 | 387 | ||
378 | - | func ch ( | |
388 | + | func ch (bW,bX,bY,bZ,ca,cb,cc) = makeString(["%s%s%s%s%s%s", bW, bX, bY, bZ, ca, cb, cc], m) | |
379 | 389 | ||
380 | 390 | ||
381 | - | func | |
391 | + | func ci (af,cj,ck,cl,cm,cn,co,cp,cq,cr,cs) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", af, cj, ck, cl, cm, toString(cn), toString(co), toString(cp), toString(cq), toString(cr), cs], m) | |
382 | 392 | ||
383 | 393 | ||
384 | - | func cv (af) = { | |
385 | - | let cw = split(bg(aC(af)), m) | |
386 | - | let an = cw[1] | |
387 | - | let ao = cw[2] | |
394 | + | func ct (cu,cv) = makeString(["%d%d", toString(cu), toString(cv)], m) | |
395 | + | ||
396 | + | ||
397 | + | func cw (af) = { | |
398 | + | let cx = split(bg(aC(af)), m) | |
399 | + | let an = cx[1] | |
400 | + | let ao = cx[2] | |
388 | 401 | split(bg(am(an, ao)), m) | |
389 | 402 | } | |
390 | 403 | ||
391 | 404 | ||
392 | - | func | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
405 | + | func cy (cz,cA) = { | |
406 | + | let cB = valueOrElse(getInteger(this, ak(cz)), 0) | |
407 | + | let cC = valueOrElse(getInteger(this, ad()), 0) | |
408 | + | let cD = if ((cB == 0)) | |
396 | 409 | then { | |
397 | - | let | |
398 | - | $Tuple3( | |
410 | + | let cE = (cC + cA) | |
411 | + | $Tuple3(cE, [IntegerEntry(ad(), cE), IntegerEntry(ak(cz), cE), StringEntry(ai(cE), cz)], true) | |
399 | 412 | } | |
400 | - | else $Tuple3( | |
401 | - | | |
413 | + | else $Tuple3(cB, nil, false) | |
414 | + | cD | |
402 | 415 | } | |
403 | 416 | ||
404 | 417 | ||
405 | - | func | |
406 | - | let | |
407 | - | if (containsElement( | |
418 | + | func cF (bR) = { | |
419 | + | let cG = split(valueOrElse(getString(W()), n), m) | |
420 | + | if (containsElement(cG, toBase58String(bR.callerPublicKey))) | |
408 | 421 | then true | |
409 | 422 | else { | |
410 | - | let | |
411 | - | if (( | |
423 | + | let cH = bS(bR) | |
424 | + | if ((cH == cH)) | |
412 | 425 | then true | |
413 | 426 | else throw("Strict value is not equal to itself.") | |
414 | 427 | } | |
415 | 428 | } | |
416 | 429 | ||
417 | 430 | ||
418 | - | func | |
431 | + | func cI (bh,cJ,cK) = valueOrElse(getInteger(this, bh), valueOrElse(getInteger(this, cJ), cK)) | |
419 | 432 | ||
420 | 433 | ||
421 | - | func | |
434 | + | func cL (aI,aJ) = { | |
422 | 435 | let an = getInteger(ak(aI)) | |
423 | 436 | let ao = getInteger(ak(aJ)) | |
424 | 437 | if (if ((an == unit)) | |
425 | 438 | then true | |
426 | 439 | else (ao == unit)) | |
427 | 440 | then false | |
428 | 441 | else { | |
429 | - | let | |
430 | - | let | |
431 | - | let | |
432 | - | let | |
433 | - | let | |
442 | + | let cM = toString(value(an)) | |
443 | + | let cN = toString(value(ao)) | |
444 | + | let cO = getString(am(cM, cN)) | |
445 | + | let cP = getString(am(cN, cM)) | |
446 | + | let cQ = if ((cO != unit)) | |
434 | 447 | then true | |
435 | - | else ( | |
436 | - | | |
448 | + | else (cP != unit) | |
449 | + | cQ | |
437 | 450 | } | |
438 | 451 | } | |
439 | 452 | ||
440 | 453 | ||
441 | - | func | |
442 | - | let | |
454 | + | func cR (aD) = { | |
455 | + | let cx = { | |
443 | 456 | let bn = getString(aC(aD)) | |
444 | 457 | if ($isInstanceOf(bn, "String")) | |
445 | 458 | then { | |
446 | 459 | let bo = bn | |
447 | 460 | split(bo, m) | |
448 | 461 | } | |
449 | 462 | else K(makeString([aD, "pool is not found"], " ")) | |
450 | 463 | } | |
451 | - | let an = parseIntValue( | |
452 | - | let ao = parseIntValue( | |
464 | + | let an = parseIntValue(cx[1]) | |
465 | + | let ao = parseIntValue(cx[2]) | |
453 | 466 | let aI = getStringValue(ai(an)) | |
454 | 467 | let aJ = getStringValue(ai(ao)) | |
455 | - | let | |
456 | - | $Tuple5(aI, aJ, | |
468 | + | let ck = getStringValue(aF(aD)) | |
469 | + | $Tuple5(aI, aJ, ck, an, ao) | |
457 | 470 | } | |
458 | 471 | ||
459 | 472 | ||
460 | - | func | |
461 | - | let | |
462 | - | let aI = | |
463 | - | let aJ = | |
464 | - | let | |
465 | - | let an = | |
466 | - | let ao = | |
467 | - | let | |
468 | - | let | |
469 | - | | |
473 | + | func cS (aD) = { | |
474 | + | let cT = cR(aD) | |
475 | + | let aI = cT._1 | |
476 | + | let aJ = cT._2 | |
477 | + | let ck = cT._3 | |
478 | + | let an = cT._4 | |
479 | + | let ao = cT._5 | |
480 | + | let cU = addressFromStringValue(getStringValue(Z())) | |
481 | + | let cV = invoke(cU, "getPoolCreatorREADONLY", [aI, aJ], nil) | |
482 | + | cV | |
470 | 483 | } | |
471 | 484 | ||
472 | 485 | ||
473 | - | func | |
474 | - | let bf = addressFromStringValue( | |
475 | - | if (( | |
486 | + | func cW (cX,cY) = { | |
487 | + | let bf = addressFromStringValue(cX) | |
488 | + | if ((cY == "WAVES")) | |
476 | 489 | then wavesBalance(bf).regular | |
477 | 490 | else { | |
478 | - | let aR = fromBase58String( | |
491 | + | let aR = fromBase58String(cY) | |
479 | 492 | assetBalance(bf, aR) | |
480 | 493 | } | |
481 | 494 | } | |
482 | 495 | ||
483 | 496 | ||
484 | - | func | |
485 | - | let | |
486 | - | let aI = | |
487 | - | let aJ = | |
488 | - | let | |
489 | - | let an = | |
490 | - | let ao = | |
491 | - | if (( | |
492 | - | then ( | |
497 | + | func cZ (aD) = { | |
498 | + | let da = cR(aD) | |
499 | + | let aI = da._1 | |
500 | + | let aJ = da._2 | |
501 | + | let ck = da._3 | |
502 | + | let an = da._4 | |
503 | + | let ao = da._5 | |
504 | + | if ((cW(aD, aI) == 0)) | |
505 | + | then (cW(aD, aJ) == 0) | |
493 | 506 | else false | |
494 | 507 | } | |
495 | 508 | ||
496 | 509 | ||
497 | 510 | @Callable(bR) | |
498 | 511 | func getSwapContractREADONLY () = $Tuple2(nil, bg(N())) | |
499 | 512 | ||
500 | 513 | ||
501 | 514 | ||
502 | 515 | @Callable(bR) | |
503 | 516 | func getPoolLeaseConfigREADONLY (af,aR) = { | |
504 | - | let | |
517 | + | let db = { | |
505 | 518 | let bn = getInteger(this, aZ(af, aR)) | |
506 | 519 | if ($isInstanceOf(bn, "Int")) | |
507 | 520 | then { | |
508 | - | let | |
509 | - | $Tuple2(true, min([100, max([0, | |
521 | + | let dc = bn | |
522 | + | $Tuple2(true, min([100, max([0, dc])])) | |
510 | 523 | } | |
511 | 524 | else { | |
512 | - | let | |
513 | - | if ($isInstanceOf( | |
525 | + | let dd = getInteger(this, ba(aR)) | |
526 | + | if ($isInstanceOf(dd, "Int")) | |
514 | 527 | then { | |
515 | - | let | |
516 | - | $Tuple2(true, min([100, max([0, | |
528 | + | let de = dd | |
529 | + | $Tuple2(true, min([100, max([0, de])])) | |
517 | 530 | } | |
518 | 531 | else $Tuple2(false, 0) | |
519 | 532 | } | |
520 | 533 | } | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
534 | + | let df = db._1 | |
535 | + | let dg = db._2 | |
536 | + | let dh = { | |
524 | 537 | let bn = getInteger(this, bc(af, aR)) | |
525 | 538 | if ($isInstanceOf(bn, "Int")) | |
526 | 539 | then { | |
527 | - | let | |
528 | - | max([0, | |
540 | + | let di = bn | |
541 | + | max([0, di]) | |
529 | 542 | } | |
530 | 543 | else { | |
531 | - | let | |
532 | - | if ($isInstanceOf( | |
544 | + | let dd = getInteger(this, bd(aR)) | |
545 | + | if ($isInstanceOf(dd, "Int")) | |
533 | 546 | then { | |
534 | - | let | |
535 | - | max([0, | |
547 | + | let dj = dd | |
548 | + | max([0, dj]) | |
536 | 549 | } | |
537 | 550 | else 0 | |
538 | 551 | } | |
539 | 552 | } | |
540 | - | let | |
553 | + | let dk = if ((aR == "WAVES")) | |
541 | 554 | then $Tuple3(valueOrElse(getString(this, aW()), ""), getString(this, valueOrElse(aX(), "")), c) | |
542 | 555 | else $Tuple3("", "", 0) | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | $Tuple2(nil, $Tuple7( | |
556 | + | let dl = dk._1 | |
557 | + | let dm = dk._2 | |
558 | + | let dn = dk._3 | |
559 | + | let do = valueOrElse(getString(this, aY()), "") | |
560 | + | $Tuple2(nil, $Tuple7(df, dg, dh, dl, dm, dn, do)) | |
548 | 561 | } | |
549 | 562 | ||
550 | 563 | ||
551 | 564 | ||
552 | 565 | @Callable(bR) | |
553 | - | func getLpAssetFromPoolAssetsREADONLY ( | |
554 | - | then ( | |
566 | + | func getLpAssetFromPoolAssetsREADONLY (dp,dq) = if (if ((dp == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS")) | |
567 | + | then (dq == "WAVES") | |
555 | 568 | else false) | |
556 | 569 | then $Tuple2(nil, unit) | |
557 | 570 | else { | |
558 | - | let dq = value(getInteger(this, ak(do))) | |
559 | 571 | let dr = value(getInteger(this, ak(dp))) | |
560 | - | let ds = getString(this, ay(toString(dq), toString(dr))) | |
561 | - | let dt = if ((ds == unit)) | |
572 | + | let ds = value(getInteger(this, ak(dq))) | |
573 | + | let dt = getString(this, ay(toString(dr), toString(ds))) | |
574 | + | let du = if ((dt == unit)) | |
562 | 575 | then unit | |
563 | - | else drop(value( | |
564 | - | $Tuple2(nil, | |
576 | + | else drop(value(dt), 4) | |
577 | + | $Tuple2(nil, du) | |
565 | 578 | } | |
566 | 579 | ||
567 | 580 | ||
568 | 581 | ||
569 | 582 | @Callable(bR) | |
570 | - | func getPoolAddressFromLpAssetREADONLY ( | |
583 | + | func getPoolAddressFromLpAssetREADONLY (dv) = $Tuple2(nil, valueOrElse(getString(this, aG(dv)), "")) | |
571 | 584 | ||
572 | 585 | ||
573 | 586 | ||
574 | 587 | @Callable(bR) | |
575 | - | func constructor ( | |
576 | - | let | |
577 | - | if (( | |
578 | - | then [StringEntry(O(), | |
588 | + | func constructor (dw,dx,bY,bZ,ca,cb,dy,dz) = { | |
589 | + | let dA = bS(bR) | |
590 | + | if ((dA == dA)) | |
591 | + | then [StringEntry(O(), ch(dw, dx, bY, bZ, ca, cb, dy)), IntegerEntry(ab(), dz)] | |
579 | 592 | else throw("Strict value is not equal to itself.") | |
580 | 593 | } | |
581 | 594 | ||
582 | 595 | ||
583 | 596 | ||
584 | 597 | @Callable(bR) | |
585 | - | func constructorV2 ( | |
586 | - | let | |
587 | - | if (( | |
598 | + | func constructorV2 (dB) = { | |
599 | + | let dA = bS(bR) | |
600 | + | if ((dA == dA)) | |
588 | 601 | then { | |
589 | - | let | |
590 | - | if (( | |
591 | - | then [StringEntry(R(), | |
602 | + | let dC = addressFromPublicKey(fromBase58String(dB)) | |
603 | + | if ((dC == dC)) | |
604 | + | then [StringEntry(R(), dB)] | |
592 | 605 | else throw("Strict value is not equal to itself.") | |
593 | 606 | } | |
594 | 607 | else throw("Strict value is not equal to itself.") | |
595 | 608 | } | |
596 | 609 | ||
597 | 610 | ||
598 | 611 | ||
599 | 612 | @Callable(bR) | |
600 | - | func constructorV3 ( | |
601 | - | let | |
602 | - | if (( | |
613 | + | func constructorV3 (cd,ce,cf,cg) = { | |
614 | + | let dA = bS(bR) | |
615 | + | if ((dA == dA)) | |
603 | 616 | then { | |
604 | 617 | let bH = split(bg(O()), m) | |
605 | - | [StringEntry(O(), | |
618 | + | [StringEntry(O(), bV(bH[1], bH[2], bH[3], bH[4], bH[5], bH[6], bH[7], cd, ce, cf, cg))] | |
606 | 619 | } | |
607 | 620 | else throw("Strict value is not equal to itself.") | |
608 | 621 | } | |
609 | 622 | ||
610 | 623 | ||
611 | 624 | ||
612 | 625 | @Callable(bR) | |
613 | - | func constructorV4 ( | |
614 | - | let | |
615 | - | if (( | |
616 | - | then [StringEntry(S(), | |
626 | + | func constructorV4 (dD,dE) = { | |
627 | + | let dA = bS(bR) | |
628 | + | if ((dA == dA)) | |
629 | + | then [StringEntry(S(), dD), StringEntry(T(), makeString(dE, m))] | |
617 | 630 | else throw("Strict value is not equal to itself.") | |
618 | 631 | } | |
619 | 632 | ||
620 | 633 | ||
621 | 634 | ||
622 | 635 | @Callable(bR) | |
623 | - | func constructorV5 ( | |
624 | - | let | |
625 | - | if (( | |
626 | - | then [StringEntry(X(), | |
636 | + | func constructorV5 (dF) = { | |
637 | + | let dA = bS(bR) | |
638 | + | if ((dA == dA)) | |
639 | + | then [StringEntry(X(), dF)] | |
627 | 640 | else throw("Strict value is not equal to itself.") | |
628 | 641 | } | |
629 | 642 | ||
630 | 643 | ||
631 | 644 | ||
632 | 645 | @Callable(bR) | |
633 | - | func constructorV6 ( | |
634 | - | let | |
646 | + | func constructorV6 (dG,dH) = { | |
647 | + | let dI = [bS(bR), if ((addressFromString(dG) != unit)) | |
635 | 648 | then true | |
636 | 649 | else "invalid voting emission contract address"] | |
637 | - | if (( | |
638 | - | then [StringEntry(Y(), | |
650 | + | if ((dI == dI)) | |
651 | + | then [StringEntry(Y(), dG), StringEntry(aa(), makeString(dH, m))] | |
639 | 652 | else throw("Strict value is not equal to itself.") | |
640 | 653 | } | |
641 | 654 | ||
642 | 655 | ||
643 | 656 | ||
644 | 657 | @Callable(bR) | |
645 | - | func setAdmins ( | |
646 | - | let | |
647 | - | if (( | |
648 | - | then [StringEntry(W(), makeString( | |
658 | + | func setAdmins (dJ) = { | |
659 | + | let dA = bS(bR) | |
660 | + | if ((dA == dA)) | |
661 | + | then [StringEntry(W(), makeString(dJ, m))] | |
649 | 662 | else throw("Strict value is not equal to itself.") | |
650 | 663 | } | |
651 | 664 | ||
652 | 665 | ||
653 | 666 | ||
654 | 667 | @Callable(bR) | |
655 | - | func activateNewPool (af, | |
656 | - | let | |
657 | - | if (( | |
668 | + | func activateNewPool (af,cl,cm,dK,dL,dM,cs,dN) = { | |
669 | + | let dA = cF(bR) | |
670 | + | if ((dA == dA)) | |
658 | 671 | then if (isDefined(getString(aC(af)))) | |
659 | 672 | then K((("Pool address " + af) + " already registered.")) | |
660 | 673 | else { | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
674 | + | let dO = cy(cl, 1) | |
675 | + | let dP = dO._1 | |
676 | + | let dQ = cy(cm, if (dO._3) | |
664 | 677 | then 2 | |
665 | 678 | else 1) | |
666 | - | let | |
667 | - | let | |
668 | - | let | |
669 | - | let | |
670 | - | if ( | |
671 | - | then K((((("Pool " + | |
679 | + | let dR = dQ._1 | |
680 | + | let dS = valueOrErrorMessage(scriptHash(addressFromStringValue(af)), ("No script has been found on pool account " + af)) | |
681 | + | let dT = getBinaryValue(Q()) | |
682 | + | let dU = cL(cl, cm) | |
683 | + | if (dU) | |
684 | + | then K((((("Pool " + cl) + "/") + cm) + " has already been activated.")) | |
672 | 685 | else { | |
673 | - | let dU = value(getString(this, am(toString(dO), toString(dQ)))) | |
674 | - | let dV = if ((ck == "WAVES")) | |
675 | - | then l | |
676 | - | else pow(10, 0, value(assetInfo(fromBase58String(ck))).decimals, 0, 0, DOWN) | |
686 | + | let dV = value(getString(this, am(toString(dP), toString(dR)))) | |
677 | 687 | let dW = if ((cl == "WAVES")) | |
678 | 688 | then l | |
679 | 689 | else pow(10, 0, value(assetInfo(fromBase58String(cl))).decimals, 0, 0, DOWN) | |
680 | - | let dX = Issue(dJ, dK, 1, 8, true) | |
681 | - | let cj = calculateAssetId(dX) | |
682 | - | let dY = toBase58String(cj) | |
683 | - | let dZ = invoke(addressFromStringValue(af), "activate", [ck, cl], nil) | |
684 | - | if ((dZ == dZ)) | |
685 | - | then if ((dZ != "success")) | |
690 | + | let dX = if ((cm == "WAVES")) | |
691 | + | then l | |
692 | + | else pow(10, 0, value(assetInfo(fromBase58String(cm))).decimals, 0, 0, DOWN) | |
693 | + | let dY = Issue(dK, dL, 1, 8, true) | |
694 | + | let ck = calculateAssetId(dY) | |
695 | + | let dZ = toBase58String(ck) | |
696 | + | let ea = invoke(addressFromStringValue(af), "activate", [cl, cm], nil) | |
697 | + | if ((ea == ea)) | |
698 | + | then if ((ea != "success")) | |
686 | 699 | then K("Pool initialisation error happened.") | |
687 | 700 | else { | |
688 | - | let | |
689 | - | let | |
690 | - | if (( | |
701 | + | let dF = addressFromStringValue(bg(X())) | |
702 | + | let eb = invoke(dF, "createOrUpdate", [dZ, dK, false], nil) | |
703 | + | if ((eb == eb)) | |
691 | 704 | then { | |
692 | - | let | |
693 | - | if (( | |
705 | + | let ec = invoke(dF, "addLabel", [dZ, h], nil) | |
706 | + | if ((ec == ec)) | |
694 | 707 | then { | |
695 | - | let | |
696 | - | if (( | |
708 | + | let ed = invoke(dF, "setLogo", [dZ, dN], nil) | |
709 | + | if ((ed == ed)) | |
697 | 710 | then { | |
698 | - | let | |
699 | - | if (( | |
711 | + | let ee = invoke(dF, "addAssetsLink", [cl, cm, dZ], nil) | |
712 | + | if ((ee == ee)) | |
700 | 713 | then { | |
701 | - | let | |
702 | - | if (( | |
703 | - | then $Tuple2((( | |
714 | + | let ef = invoke(dF, "increaseAssetPoolsNumber", [cl], nil) | |
715 | + | if ((ef == ef)) | |
716 | + | then $Tuple2(((dO._2 ++ dQ._2) ++ [dY, Burn(ck, 1), StringEntry(am(toString(dP), toString(dR)), ci(af, toString(o), dZ, cl, cm, dW, dX, dP, dR, l, cs)), StringEntry(aw(dZ), ct(dP, dR)), StringEntry(ay(toString(dP), toString(dR)), ("%s__" + dZ)), StringEntry(aC(af), ct(dP, dR)), StringEntry(aE(dP, dR), af), StringEntry(aG(dZ), af), StringEntry(aF(af), dZ), IntegerEntry(ae(af), dM), IntegerEntry(aB(af), i)]), dZ) | |
704 | 717 | else throw("Strict value is not equal to itself.") | |
705 | 718 | } | |
706 | 719 | else throw("Strict value is not equal to itself.") | |
707 | 720 | } | |
708 | 721 | else throw("Strict value is not equal to itself.") | |
709 | 722 | } | |
710 | 723 | else throw("Strict value is not equal to itself.") | |
711 | 724 | } | |
712 | 725 | else throw("Strict value is not equal to itself.") | |
713 | 726 | } | |
714 | 727 | else throw("Strict value is not equal to itself.") | |
715 | 728 | } | |
716 | 729 | } | |
717 | 730 | else throw("Strict value is not equal to itself.") | |
718 | 731 | } | |
719 | 732 | ||
720 | 733 | ||
721 | 734 | ||
722 | 735 | @Callable(bR) | |
723 | - | func managePool (af, | |
724 | - | let | |
725 | - | if (( | |
736 | + | func managePool (af,eg) = { | |
737 | + | let dA = bS(bR) | |
738 | + | if ((dA == dA)) | |
726 | 739 | then { | |
727 | - | let | |
728 | - | let | |
729 | - | let | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
733 | - | let | |
734 | - | let | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
738 | - | [StringEntry(am(toString( | |
740 | + | let eh = cw(af) | |
741 | + | let cj = eh[w] | |
742 | + | let dZ = eh[x] | |
743 | + | let cl = eh[y] | |
744 | + | let cm = eh[z] | |
745 | + | let dW = parseIntValue(eh[A]) | |
746 | + | let dX = parseIntValue(eh[B]) | |
747 | + | let dP = parseIntValue(eh[C]) | |
748 | + | let dR = parseIntValue(eh[D]) | |
749 | + | let ei = parseIntValue(eh[E]) | |
750 | + | let cs = eh[F] | |
751 | + | [StringEntry(am(toString(dP), toString(dR)), ci(af, toString(eg), dZ, cl, cm, dW, dX, dP, dR, ei, cs))] | |
739 | 752 | } | |
740 | 753 | else throw("Strict value is not equal to itself.") | |
741 | 754 | } | |
742 | 755 | ||
743 | 756 | ||
744 | 757 | ||
745 | 758 | @Callable(bR) | |
746 | - | func emit ( | |
747 | - | let | |
748 | - | let | |
749 | - | let | |
750 | - | let | |
751 | - | let | |
752 | - | let | |
753 | - | if ((0 >= | |
759 | + | func emit (ej) = { | |
760 | + | let ek = bR.caller | |
761 | + | let el = bR.originCaller | |
762 | + | let em = valueOrErrorMessage(getString(aF(toString(ek))), "Invalid LP address called me.") | |
763 | + | let en = fromBase58String(em) | |
764 | + | let dE = split(valueOrElse(getString(T()), n), m) | |
765 | + | let dD = addressFromStringValue(valueOrErrorMessage(getString(S()), "Legacy factory contract does not exists.")) | |
766 | + | if ((0 >= ej)) | |
754 | 767 | then nil | |
755 | - | else if (containsElement( | |
756 | - | then $Tuple2(nil, | |
757 | - | else $Tuple2([Reissue( | |
768 | + | else if (containsElement(dE, toString(ek))) | |
769 | + | then $Tuple2(nil, dD) | |
770 | + | else $Tuple2([Reissue(en, ej, true), ScriptTransfer(bR.caller, ej, en)], "success") | |
758 | 771 | } | |
759 | 772 | ||
760 | 773 | ||
761 | 774 | ||
762 | 775 | @Callable(bR) | |
763 | - | func burn ( | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | if (( | |
776 | + | func burn (eo) = { | |
777 | + | let ek = bR.caller | |
778 | + | let el = bR.originCaller | |
779 | + | let ep = value(bR.payments[0]) | |
780 | + | let eq = value(ep.amount) | |
781 | + | let er = toBase58String(value(ep.assetId)) | |
782 | + | let es = valueOrErrorMessage(getString(aF(toString(ek))), "Invalid LP address called me.") | |
783 | + | if ((er != es)) | |
771 | 784 | then K("Invalid asset passed.") | |
772 | - | else if (( | |
785 | + | else if ((eo != eq)) | |
773 | 786 | then K("Invalid amount passed.") | |
774 | 787 | else { | |
775 | - | let | |
776 | - | $Tuple2([Burn( | |
788 | + | let en = fromBase58String(es) | |
789 | + | $Tuple2([Burn(en, eo)], "success") | |
777 | 790 | } | |
778 | 791 | } | |
779 | 792 | ||
780 | 793 | ||
781 | 794 | ||
782 | 795 | @Callable(bR) | |
783 | - | func modifyWeight ( | |
784 | - | let | |
796 | + | func modifyWeight (ck,et) = { | |
797 | + | let dA = if ((toBase58String(bR.caller.bytes) == valueOrElse(getString(this, Y()), ""))) | |
785 | 798 | then true | |
786 | 799 | else bS(bR) | |
787 | - | if (( | |
800 | + | if ((dA == dA)) | |
788 | 801 | then { | |
789 | - | let aD = bg(aG( | |
790 | - | let | |
791 | - | let | |
792 | - | let | |
793 | - | let | |
794 | - | let | |
802 | + | let aD = bg(aG(ck)) | |
803 | + | let eu = ae(aD) | |
804 | + | let ev = ae(g) | |
805 | + | let ew = valueOrElse(getInteger(ev), 0) | |
806 | + | let dM = valueOrElse(getInteger(eu), 0) | |
807 | + | let ex = et | |
795 | 808 | let bH = split(bg(O()), m) | |
796 | - | let | |
797 | - | let | |
798 | - | if (( | |
809 | + | let dw = bJ(bH) | |
810 | + | let ey = invoke(dw, "onModifyWeight", [ck, aD], nil) | |
811 | + | if ((ey == ey)) | |
799 | 812 | then { | |
800 | - | let | |
813 | + | let ez = if ((ew == 0)) | |
801 | 814 | then nil | |
802 | - | else [IntegerEntry( | |
803 | - | let | |
804 | - | let | |
805 | - | let | |
815 | + | else [IntegerEntry(ev, 0)] | |
816 | + | let eA = ag(aD, 0) | |
817 | + | let eB = getInteger(eA) | |
818 | + | let eC = if ((eB == unit)) | |
806 | 819 | then nil | |
807 | - | else [DeleteEntry( | |
808 | - | (([IntegerEntry( | |
820 | + | else [DeleteEntry(eA)] | |
821 | + | (([IntegerEntry(eu, ex)] ++ ez) ++ eC) | |
809 | 822 | } | |
810 | 823 | else throw("Strict value is not equal to itself.") | |
811 | 824 | } | |
812 | 825 | else throw("Strict value is not equal to itself.") | |
813 | 826 | } | |
814 | 827 | ||
815 | 828 | ||
816 | 829 | ||
817 | 830 | @Callable(bR) | |
818 | - | func modifyWeights ( | |
819 | - | let | |
820 | - | if (( | |
831 | + | func modifyWeights (eD,eE,eF,eG) = { | |
832 | + | let dA = bS(bR) | |
833 | + | if ((dA == dA)) | |
821 | 834 | then { | |
822 | - | let eG = ((5 * f) / 100) | |
823 | 835 | let eH = ((5 * f) / 100) | |
824 | 836 | let eI = ((5 * f) / 100) | |
837 | + | let eJ = ((5 * f) / 100) | |
825 | 838 | let bH = split(bg(O()), m) | |
826 | - | let eJ = bJ(bH) | |
827 | - | let eK = bK(bH) | |
828 | - | let eL = ae(eC) | |
839 | + | let eK = bJ(bH) | |
840 | + | let eL = bK(bH) | |
829 | 841 | let eM = ae(eD) | |
830 | 842 | let eN = ae(eE) | |
831 | 843 | let eO = ae(eF) | |
832 | - | let eP = | |
844 | + | let eP = ae(eG) | |
833 | 845 | let eQ = bj(eM) | |
834 | - | let eR = (eP - eI) | |
835 | - | let eS = (eQ - eI) | |
836 | - | if ((0 >= eR)) | |
837 | - | then K(("invalid btcWeightNew: " + toString(eR))) | |
838 | - | else if ((0 >= eS)) | |
839 | - | then K(("invalid ethWeightNew: " + toString(eS))) | |
846 | + | let eR = bj(eN) | |
847 | + | let eS = (eQ - eJ) | |
848 | + | let eT = (eR - eJ) | |
849 | + | if ((0 >= eS)) | |
850 | + | then K(("invalid btcWeightNew: " + toString(eS))) | |
851 | + | else if ((0 >= eT)) | |
852 | + | then K(("invalid ethWeightNew: " + toString(eT))) | |
840 | 853 | else { | |
841 | - | let eT = bg(aF(eC)) | |
842 | 854 | let eU = bg(aF(eD)) | |
843 | 855 | let eV = bg(aF(eE)) | |
844 | 856 | let eW = bg(aF(eF)) | |
845 | - | let eX = invoke(eJ, "onModifyWeight", [eT, eC], nil) | |
846 | - | if ((eX == eX)) | |
857 | + | let eX = bg(aF(eG)) | |
858 | + | let eY = invoke(eK, "onModifyWeight", [eU, eD], nil) | |
859 | + | if ((eY == eY)) | |
847 | 860 | then { | |
848 | - | let | |
849 | - | if (( | |
861 | + | let eZ = invoke(eK, "onModifyWeight", [eV, eE], nil) | |
862 | + | if ((eZ == eZ)) | |
850 | 863 | then { | |
851 | - | let | |
852 | - | if (( | |
864 | + | let fa = invoke(eK, "onModifyWeight", [eW, eF], nil) | |
865 | + | if ((fa == fa)) | |
853 | 866 | then { | |
854 | - | let | |
855 | - | if (( | |
856 | - | then [IntegerEntry( | |
867 | + | let fb = invoke(eK, "onModifyWeight", [eX, eG], nil) | |
868 | + | if ((fb == fb)) | |
869 | + | then [IntegerEntry(eM, eS), IntegerEntry(eN, eT), IntegerEntry(eO, eH), IntegerEntry(eP, eI), IntegerEntry(ag(eD, 0), eQ), IntegerEntry(ag(eE, 0), eR), IntegerEntry(ag(eF, 0), eH), IntegerEntry(ag(eG, 0), eI)] | |
857 | 870 | else throw("Strict value is not equal to itself.") | |
858 | 871 | } | |
859 | 872 | else throw("Strict value is not equal to itself.") | |
860 | 873 | } | |
861 | 874 | else throw("Strict value is not equal to itself.") | |
862 | 875 | } | |
863 | 876 | else throw("Strict value is not equal to itself.") | |
864 | 877 | } | |
865 | 878 | } | |
866 | 879 | else throw("Strict value is not equal to itself.") | |
867 | 880 | } | |
868 | 881 | ||
869 | 882 | ||
870 | 883 | ||
871 | 884 | @Callable(bR) | |
872 | 885 | func checkWxEmissionPoolLabel (aI,aJ) = { | |
873 | - | let | |
886 | + | let fc = { | |
874 | 887 | let bn = getBoolean(aH(aI, aJ)) | |
875 | 888 | if ($isInstanceOf(bn, "Boolean")) | |
876 | 889 | then { | |
877 | - | let | |
878 | - | | |
890 | + | let di = bn | |
891 | + | di | |
879 | 892 | } | |
880 | 893 | else false | |
881 | 894 | } | |
882 | - | $Tuple2(nil, | |
895 | + | $Tuple2(nil, fc) | |
883 | 896 | } | |
884 | 897 | ||
885 | 898 | ||
886 | 899 | ||
887 | 900 | @Callable(bR) | |
888 | 901 | func setWxEmissionPoolLabel (aI,aJ) = { | |
889 | - | let | |
890 | - | if (( | |
902 | + | let dA = cF(bR) | |
903 | + | if ((dA == dA)) | |
891 | 904 | then $Tuple2([BooleanEntry(aH(aI, aJ), true)], unit) | |
892 | 905 | else throw("Strict value is not equal to itself.") | |
893 | 906 | } | |
894 | 907 | ||
895 | 908 | ||
896 | 909 | ||
897 | 910 | @Callable(bR) | |
898 | 911 | func deleteWxEmissionPoolLabel (aI,aJ) = { | |
899 | - | let | |
912 | + | let dA = if ((bR.caller == this)) | |
900 | 913 | then true | |
901 | - | else | |
902 | - | if (( | |
914 | + | else cF(bR) | |
915 | + | if ((dA == dA)) | |
903 | 916 | then $Tuple2([DeleteEntry(aH(aI, aJ))], unit) | |
904 | 917 | else throw("Strict value is not equal to itself.") | |
905 | 918 | } | |
906 | 919 | ||
907 | 920 | ||
908 | 921 | ||
909 | 922 | @Callable(bR) | |
910 | 923 | func onVerificationLoss (aR) = { | |
911 | - | let | |
924 | + | let dA = if ((toBase58String(bR.caller.bytes) == valueOrElse(getString(this, X()), ""))) | |
912 | 925 | then true | |
913 | 926 | else bS(bR) | |
914 | - | if (( | |
927 | + | if ((dA == dA)) | |
915 | 928 | then { | |
916 | - | let | |
917 | - | let | |
929 | + | let dH = bL() | |
930 | + | let fd = if ((size(dH) > 0)) | |
918 | 931 | then true | |
919 | 932 | else K("invalid price assets") | |
920 | - | if (( | |
933 | + | if ((fd == fd)) | |
921 | 934 | then { | |
922 | - | func | |
923 | - | let | |
924 | - | if (( | |
935 | + | func fe (ff,fg) = { | |
936 | + | let dc = invoke(this, "deleteWxEmissionPoolLabel", [aR, fg], nil) | |
937 | + | if ((dc == dc)) | |
925 | 938 | then unit | |
926 | 939 | else throw("Strict value is not equal to itself.") | |
927 | 940 | } | |
928 | 941 | ||
929 | - | let | |
930 | - | let | |
931 | - | let | |
932 | - | let | |
933 | - | func | |
934 | - | then | |
935 | - | else | |
942 | + | let fh = { | |
943 | + | let fi = dH | |
944 | + | let fj = size(fi) | |
945 | + | let fk = unit | |
946 | + | func fl (fm,fn) = if ((fn >= fj)) | |
947 | + | then fm | |
948 | + | else fe(fm, fi[fn]) | |
936 | 949 | ||
937 | - | func | |
938 | - | then | |
950 | + | func fo (fm,fn) = if ((fn >= fj)) | |
951 | + | then fm | |
939 | 952 | else throw("List size exceeds 13") | |
940 | 953 | ||
941 | - | | |
954 | + | fo(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fl(fk, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13) | |
942 | 955 | } | |
943 | - | if (( | |
956 | + | if ((fh == fh)) | |
944 | 957 | then $Tuple2(nil, unit) | |
945 | 958 | else throw("Strict value is not equal to itself.") | |
946 | 959 | } | |
947 | 960 | else throw("Strict value is not equal to itself.") | |
948 | 961 | } | |
949 | 962 | else throw("Strict value is not equal to itself.") | |
950 | 963 | } | |
951 | 964 | ||
952 | 965 | ||
953 | 966 | ||
954 | 967 | @Callable(bR) | |
955 | 968 | func isPoolOneTokenOperationsDisabledREADONLY (af) = { | |
956 | - | let | |
957 | - | let aq = $Tuple2(parseIntValue( | |
958 | - | let | |
959 | - | let | |
960 | - | $Tuple2(nil, if ( | |
969 | + | let eh = cw(af) | |
970 | + | let aq = $Tuple2(parseIntValue(eh[C]), parseIntValue(eh[D])) | |
971 | + | let fp = valueOrElse(getBoolean(ap(aq)), false) | |
972 | + | let fq = valueOrElse(getBoolean(as()), false) | |
973 | + | $Tuple2(nil, if (fq) | |
961 | 974 | then true | |
962 | - | else | |
975 | + | else fp) | |
963 | 976 | } | |
964 | 977 | ||
965 | 978 | ||
966 | 979 | ||
967 | 980 | @Callable(bR) | |
968 | 981 | func isPoolSwapDisabledREADONLY (af) = { | |
969 | - | let | |
970 | - | let aq = $Tuple2(parseIntValue( | |
971 | - | let | |
972 | - | let | |
973 | - | $Tuple2(nil, if ( | |
982 | + | let eh = cw(af) | |
983 | + | let aq = $Tuple2(parseIntValue(eh[C]), parseIntValue(eh[D])) | |
984 | + | let fr = valueOrElse(getBoolean(at(aq)), false) | |
985 | + | let fs = valueOrElse(getBoolean(av()), false) | |
986 | + | $Tuple2(nil, if (fs) | |
974 | 987 | then true | |
975 | - | else | |
988 | + | else fr) | |
976 | 989 | } | |
977 | 990 | ||
978 | 991 | ||
979 | 992 | ||
980 | 993 | @Callable(bR) | |
981 | 994 | func getInFeeREADONLY (af) = { | |
982 | - | let | |
983 | - | $Tuple2(nil, | |
995 | + | let ft = cI(aK(af), aL(), 0) | |
996 | + | $Tuple2(nil, ft) | |
984 | 997 | } | |
985 | 998 | ||
986 | 999 | ||
987 | 1000 | ||
988 | 1001 | @Callable(bR) | |
989 | 1002 | func getOutFeeREADONLY (af) = { | |
990 | - | let | |
991 | - | $Tuple2(nil, | |
1003 | + | let ft = cI(aN(af), aO(), fraction(10, b, 10000)) | |
1004 | + | $Tuple2(nil, ft) | |
992 | 1005 | } | |
993 | 1006 | ||
994 | 1007 | ||
995 | 1008 | ||
996 | 1009 | @Callable(bR) | |
997 | - | func getSwapFeeREADONLY ( | |
998 | - | let | |
999 | - | let bn = getString(this, aM( | |
1010 | + | func getSwapFeeREADONLY (fu) = { | |
1011 | + | let fv = { | |
1012 | + | let bn = getString(this, aM(fu)) | |
1000 | 1013 | if ($isInstanceOf(bn, "String")) | |
1001 | 1014 | then { | |
1002 | 1015 | let bo = bn | |
1003 | - | let | |
1004 | - | let | |
1005 | - | let | |
1006 | - | $Tuple2( | |
1016 | + | let fw = split(bo, m) | |
1017 | + | let fx = parseIntValue(fw[1]) | |
1018 | + | let fy = parseIntValue(fw[2]) | |
1019 | + | $Tuple2(fx, fy) | |
1007 | 1020 | } | |
1008 | 1021 | else if ($isInstanceOf(bn, "Unit")) | |
1009 | 1022 | then unit | |
1010 | 1023 | else throw("Match error") | |
1011 | 1024 | } | |
1012 | - | $Tuple2(nil, | |
1025 | + | $Tuple2(nil, fv) | |
1013 | 1026 | } | |
1014 | 1027 | ||
1015 | 1028 | ||
1016 | 1029 | ||
1017 | 1030 | @Callable(bR) | |
1018 | - | func poolInfoREADONLY (fy,fz) = { | |
1019 | - | let fA = getInteger(this, ak(fy)) | |
1031 | + | func poolInfoREADONLY (fz,fA) = { | |
1020 | 1032 | let fB = getInteger(this, ak(fz)) | |
1021 | - | let fC = getString(this, aE(value(fA), value(fB))) | |
1022 | - | let fD = getString(this, aF(value(fC))) | |
1023 | - | let dT = if (if (isDefined(fA)) | |
1024 | - | then isDefined(fB) | |
1033 | + | let fC = getInteger(this, ak(fA)) | |
1034 | + | let fD = getString(this, aE(value(fB), value(fC))) | |
1035 | + | let fE = getString(this, aF(value(fD))) | |
1036 | + | let dU = if (if (isDefined(fB)) | |
1037 | + | then isDefined(fC) | |
1025 | 1038 | else false) | |
1026 | - | then isDefined( | |
1039 | + | then isDefined(fD) | |
1027 | 1040 | else false | |
1028 | - | let | |
1029 | - | then $Tuple2(addressFromStringValue(value( | |
1041 | + | let fF = if (dU) | |
1042 | + | then $Tuple2(addressFromStringValue(value(fD)), bk(value(fE))) | |
1030 | 1043 | else unit | |
1031 | - | $Tuple2(nil, | |
1044 | + | $Tuple2(nil, fF) | |
1032 | 1045 | } | |
1033 | 1046 | ||
1034 | 1047 | ||
1035 | 1048 | ||
1036 | 1049 | @Callable(bR) | |
1037 | 1050 | func getPoolStatusREADONLY (af) = { | |
1038 | - | let | |
1039 | - | let an = | |
1040 | - | let ao = | |
1041 | - | let | |
1042 | - | $Tuple2(nil, parseIntValue( | |
1051 | + | let cx = split(bg(aC(af)), m) | |
1052 | + | let an = cx[1] | |
1053 | + | let ao = cx[2] | |
1054 | + | let cO = split(bg(am(an, ao)), m) | |
1055 | + | $Tuple2(nil, parseIntValue(cO[w])) | |
1043 | 1056 | } | |
1044 | 1057 | ||
1045 | 1058 | ||
1046 | 1059 | ||
1047 | 1060 | @Callable(bR) | |
1048 | 1061 | func getPoolConfigREADONLY (af) = { | |
1049 | - | let | |
1050 | - | let an = | |
1051 | - | let ao = | |
1052 | - | let | |
1053 | - | $Tuple2(nil, | |
1062 | + | let cx = split(bg(aC(af)), m) | |
1063 | + | let an = cx[1] | |
1064 | + | let ao = cx[2] | |
1065 | + | let cO = split(bg(am(an, ao)), m) | |
1066 | + | $Tuple2(nil, cO) | |
1054 | 1067 | } | |
1055 | 1068 | ||
1056 | 1069 | ||
1057 | 1070 | ||
1058 | 1071 | @Callable(bR) | |
1059 | - | func getPoolConfigByLpAssetIdREADONLY ( | |
1060 | - | let | |
1061 | - | let an = | |
1062 | - | let ao = | |
1063 | - | let | |
1064 | - | $Tuple2(nil, | |
1072 | + | func getPoolConfigByLpAssetIdREADONLY (dZ) = { | |
1073 | + | let cx = split(bg(aw(dZ)), m) | |
1074 | + | let an = cx[1] | |
1075 | + | let ao = cx[2] | |
1076 | + | let cO = split(bg(am(an, ao)), m) | |
1077 | + | $Tuple2(nil, cO) | |
1065 | 1078 | } | |
1066 | 1079 | ||
1067 | 1080 | ||
1068 | 1081 | ||
1069 | 1082 | @Callable(bR) | |
1070 | - | func poolExistsREADONLY (aI,aJ) = $Tuple2(nil, | |
1083 | + | func poolExistsREADONLY (aI,aJ) = $Tuple2(nil, cL(aI, aJ)) | |
1071 | 1084 | ||
1072 | 1085 | ||
1073 | 1086 | ||
1074 | 1087 | @Callable(bR) | |
1075 | 1088 | func skipOrderValidationREADONLY (af) = $Tuple2(nil, valueOrElse(getBoolean(aS(af)), false)) | |
1076 | 1089 | ||
1077 | 1090 | ||
1078 | 1091 | ||
1079 | 1092 | @Callable(bR) | |
1080 | 1093 | func getChangeAmpConfigREADONLY (af) = { | |
1081 | - | let | |
1082 | - | let | |
1083 | - | let | |
1084 | - | $Tuple2(nil, [ | |
1094 | + | let fG = getIntegerValue(aT(af)) | |
1095 | + | let fH = getIntegerValue(aU(af)) | |
1096 | + | let fI = getIntegerValue(aV(af)) | |
1097 | + | $Tuple2(nil, [fG, fH, fI]) | |
1085 | 1098 | } | |
1086 | 1099 | ||
1087 | 1100 | ||
1088 | 1101 | ||
1089 | 1102 | @Callable(bR) | |
1090 | - | func getPoolWeightREADONLY ( | |
1091 | - | let af = bg(aG( | |
1092 | - | let | |
1093 | - | $Tuple2(nil, | |
1103 | + | func getPoolWeightREADONLY (ck) = { | |
1104 | + | let af = bg(aG(ck)) | |
1105 | + | let fJ = valueOrElse(getInteger(ae(af)), 0) | |
1106 | + | $Tuple2(nil, fJ) | |
1094 | 1107 | } | |
1095 | 1108 | ||
1096 | 1109 | ||
1097 | 1110 | ||
1098 | 1111 | @Callable(bR) | |
1099 | 1112 | func deletePool (aD) = { | |
1100 | - | let eg = cv(aD) | |
1101 | - | let dz = if ((toString(bR.caller) == cR(aD))) | |
1102 | - | then if (cY(aD)) | |
1103 | - | then true | |
1104 | - | else K("Pool is not empty") | |
1105 | - | else bS(bR) | |
1106 | - | if ((dz == dz)) | |
1113 | + | let eh = cw(aD) | |
1114 | + | let dA = [if (if (bU(bR)) | |
1115 | + | then true | |
1116 | + | else if ((toString(bR.caller) == cS(aD))) | |
1117 | + | then cZ(aD) | |
1118 | + | else false) | |
1119 | + | then true | |
1120 | + | else K("Pool is not empty")] | |
1121 | + | if ((dA == dA)) | |
1107 | 1122 | then { | |
1108 | - | let | |
1123 | + | let fK = if ((valueOrElse(getInteger(ae(aD)), 0) == 0)) | |
1109 | 1124 | then true | |
1110 | 1125 | else K("Pool weight is not Zero") | |
1111 | - | if (( | |
1126 | + | if ((fK == fK)) | |
1112 | 1127 | then { | |
1113 | - | let | |
1128 | + | let fL = if ((eh[w] == toString(r))) | |
1114 | 1129 | then true | |
1115 | 1130 | else K("Pool must be SHUTDOWN (4)") | |
1116 | - | if (( | |
1131 | + | if ((fL == fL)) | |
1117 | 1132 | then { | |
1118 | - | let | |
1119 | - | let aI = | |
1120 | - | let aJ = | |
1121 | - | let | |
1122 | - | let an = | |
1123 | - | let ao = | |
1124 | - | let | |
1125 | - | let | |
1126 | - | if (( | |
1133 | + | let fM = cR(aD) | |
1134 | + | let aI = fM._1 | |
1135 | + | let aJ = fM._2 | |
1136 | + | let ck = fM._3 | |
1137 | + | let an = fM._4 | |
1138 | + | let ao = fM._5 | |
1139 | + | let cU = addressFromStringValue(getStringValue(Z())) | |
1140 | + | let fN = invoke(cU, "deletePool", [aI, aJ], nil) | |
1141 | + | if ((fN == fN)) | |
1127 | 1142 | then { | |
1128 | - | let | |
1129 | - | let | |
1130 | - | if (( | |
1143 | + | let dG = addressFromStringValue(getStringValue(Y())) | |
1144 | + | let fO = invoke(dG, "deletePool", [aI, aJ], nil) | |
1145 | + | if ((fO == fO)) | |
1131 | 1146 | then { | |
1132 | - | let | |
1133 | - | let | |
1134 | - | if (( | |
1135 | - | then [DeleteEntry(aF(aD)), DeleteEntry(aC(aD)), DeleteEntry(ay(toString(an), toString(ao))), DeleteEntry(aE(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(aw( | |
1147 | + | let dF = addressFromStringValue(getStringValue(X())) | |
1148 | + | let fP = invoke(dF, "deletePool", [aI, aJ], nil) | |
1149 | + | if ((fP == fP)) | |
1150 | + | then [DeleteEntry(aF(aD)), DeleteEntry(aC(aD)), DeleteEntry(ay(toString(an), toString(ao))), DeleteEntry(aE(an, ao)), DeleteEntry(am(toString(an), toString(ao))), DeleteEntry(aw(ck)), DeleteEntry(aG(ck)), DeleteEntry(aH(aI, aJ)), DeleteEntry(ae(aD)), DeleteEntry(aB(aD)), DeleteEntry(aK(aD)), DeleteEntry(aN(aD)), DeleteEntry(aS(aD)), DeleteEntry(aT(aD)), DeleteEntry(aU(aD)), DeleteEntry(aV(aD))] | |
1136 | 1151 | else throw("Strict value is not equal to itself.") | |
1137 | 1152 | } | |
1138 | 1153 | else throw("Strict value is not equal to itself.") | |
1139 | 1154 | } | |
1140 | 1155 | else throw("Strict value is not equal to itself.") | |
1141 | 1156 | } | |
1142 | 1157 | else throw("Strict value is not equal to itself.") | |
1143 | 1158 | } | |
1144 | 1159 | else throw("Strict value is not equal to itself.") | |
1145 | 1160 | } | |
1146 | 1161 | else throw("Strict value is not equal to itself.") | |
1147 | 1162 | } | |
1148 | 1163 | ||
1149 | 1164 | ||
1150 | 1165 | ||
1151 | 1166 | @Callable(bR) | |
1152 | - | func getPrice ( | |
1153 | - | let af = addressFromStringValue( | |
1154 | - | let | |
1155 | - | let | |
1156 | - | let | |
1157 | - | let aJ = | |
1158 | - | let | |
1159 | - | let | |
1160 | - | let | |
1161 | - | if ($isInstanceOf( | |
1162 | - | then | |
1163 | - | else throw(($getType( | |
1167 | + | func getPrice (fu) = { | |
1168 | + | let af = addressFromStringValue(fu) | |
1169 | + | let cO = cw(fu) | |
1170 | + | let ck = fromBase58String(cO[x]) | |
1171 | + | let fQ = cO[y] | |
1172 | + | let aJ = cO[z] | |
1173 | + | let fR = value(assetInfo(ck)).quantity | |
1174 | + | let fS = { | |
1175 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fQ], nil) | |
1176 | + | if ($isInstanceOf(fT, "Int")) | |
1177 | + | then fT | |
1178 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1164 | 1179 | } | |
1165 | - | let | |
1166 | - | let | |
1167 | - | if ($isInstanceOf( | |
1168 | - | then | |
1169 | - | else throw(($getType( | |
1180 | + | let fU = { | |
1181 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [aJ], nil) | |
1182 | + | if ($isInstanceOf(fT, "Int")) | |
1183 | + | then fT | |
1184 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1170 | 1185 | } | |
1171 | - | let | |
1186 | + | let fV = if ((fR == 0)) | |
1172 | 1187 | then 0 | |
1173 | 1188 | else { | |
1174 | - | let | |
1175 | - | let | |
1176 | - | if ($isInstanceOf( | |
1177 | - | then | |
1178 | - | else throw(($getType( | |
1189 | + | let fT = ({ | |
1190 | + | let fT = invoke(af, "calcPricesWrapperREADONLY", [fS, fU, fR], nil) | |
1191 | + | if ($isInstanceOf(fT, "List[Any]")) | |
1192 | + | then fT | |
1193 | + | else throw(($getType(fT) + " couldn't be cast to List[Any]")) | |
1179 | 1194 | })[0] | |
1180 | - | if ($isInstanceOf( | |
1181 | - | then | |
1182 | - | else throw(($getType( | |
1195 | + | if ($isInstanceOf(fT, "String")) | |
1196 | + | then fT | |
1197 | + | else throw(($getType(fT) + " couldn't be cast to String")) | |
1183 | 1198 | } | |
1184 | - | $Tuple2(nil, | |
1199 | + | $Tuple2(nil, fV) | |
1185 | 1200 | } | |
1186 | 1201 | ||
1187 | 1202 | ||
1188 | 1203 | ||
1189 | 1204 | @Callable(bR) | |
1190 | - | func checkBalance ( | |
1191 | - | let | |
1192 | - | let af = addressFromStringValue( | |
1193 | - | let | |
1194 | - | let | |
1195 | - | let | |
1196 | - | let | |
1197 | - | let | |
1198 | - | let | |
1199 | - | let | |
1200 | - | let | |
1201 | - | if ($isInstanceOf( | |
1202 | - | then | |
1203 | - | else throw(($getType( | |
1205 | + | func checkBalance (dZ) = { | |
1206 | + | let fu = bg(aG(dZ)) | |
1207 | + | let af = addressFromStringValue(fu) | |
1208 | + | let cO = cw(fu) | |
1209 | + | let fz = cO[y] | |
1210 | + | let fA = cO[z] | |
1211 | + | let fW = getIntegerValue(this, aP()) | |
1212 | + | let fX = valueOrElse(getInteger(this, aQ(fz)), fW) | |
1213 | + | let fY = valueOrElse(getInteger(this, aQ(fA)), fW) | |
1214 | + | let fZ = { | |
1215 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fz], nil) | |
1216 | + | if ($isInstanceOf(fT, "Int")) | |
1217 | + | then fT | |
1218 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1204 | 1219 | } | |
1205 | - | let | |
1206 | - | let | |
1207 | - | if ($isInstanceOf( | |
1208 | - | then | |
1209 | - | else throw(($getType( | |
1220 | + | let ga = { | |
1221 | + | let fT = invoke(af, "getAccBalanceWrapperREADONLY", [fA], nil) | |
1222 | + | if ($isInstanceOf(fT, "Int")) | |
1223 | + | then fT | |
1224 | + | else throw(($getType(fT) + " couldn't be cast to Int")) | |
1210 | 1225 | } | |
1211 | - | let ga = (fY >= (fW / 2)) | |
1212 | 1226 | let gb = (fZ >= (fX / 2)) | |
1213 | - | let gc = if (ga) | |
1214 | - | then gb | |
1227 | + | let gc = (ga >= (fY / 2)) | |
1228 | + | let gd = if (gb) | |
1229 | + | then gc | |
1215 | 1230 | else false | |
1216 | - | $Tuple2(nil, | |
1231 | + | $Tuple2(nil, gd) | |
1217 | 1232 | } | |
1218 | 1233 | ||
1219 | 1234 | ||
1220 | - | @Verifier( | |
1221 | - | func | |
1222 | - | let | |
1235 | + | @Verifier(ge) | |
1236 | + | func gf () = { | |
1237 | + | let gg = { | |
1223 | 1238 | let bn = bM() | |
1224 | 1239 | if ($isInstanceOf(bn, "ByteVector")) | |
1225 | 1240 | then { | |
1226 | 1241 | let bT = bn | |
1227 | 1242 | bT | |
1228 | 1243 | } | |
1229 | 1244 | else if ($isInstanceOf(bn, "Unit")) | |
1230 | - | then | |
1245 | + | then ge.senderPublicKey | |
1231 | 1246 | else throw("Match error") | |
1232 | 1247 | } | |
1233 | - | sigVerify( | |
1248 | + | sigVerify(ge.bodyBytes, ge.proofs[0], gg) | |
1234 | 1249 | } | |
1235 | 1250 |
github/deemru/w8io/026f985 345.57 ms ◑