tx · 7LRtFbJeLzG3d19mGGd2G2cQL2cZKnMqh9BpwTKh7AgC 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW: -0.01400000 Waves 2021.06.17 18:29 [1574557] smart account 3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW > SELF 0.00000000 Waves
{ "type": 13, "id": "7LRtFbJeLzG3d19mGGd2G2cQL2cZKnMqh9BpwTKh7AgC", "fee": 1400000, "feeAssetId": null, "timestamp": 1623943768111, "version": 2, "chainId": 84, "sender": "3N5Xd7QVQZWntaJwha9Kg42is626GUPjtUW", "senderPublicKey": "DfbjpZJBbZwnUKysUkxCbWTE1ZWuoUb6Y6BZdu5iAE8j", "proofs": [ "27DQsHVnpMgF5h2XoV1xvjRuCNU73JeCLJc2r6ntkiLhyoPP9wWSHEfHSNu4sStkPVi3oSPJQ2mv5zxbyXrMca3T" ], "script": "base64:AAIEAAAAAAAAACAIAhIAEgMKAQESBAoCAQESABIECgIBARIAEgASAwoBAQAAAEYAAAAAB3ZlcnNpb24CAAAABTIuMC4wAAAAAAhrVmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAHa0FjdGl2ZQIAAAAGYWN0aXZlAAAAAAlrQXNzZXRJZEECAAAACkFfYXNzZXRfaWQAAAAACWtBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAAJa0JhbGFuY2VBAgAAAA9BX2Fzc2V0X2JhbGFuY2UAAAAACWtCYWxhbmNlQgIAAAAPQl9hc3NldF9iYWxhbmNlAAAAAA1rU2hhcmVBc3NldElkAgAAAA5zaGFyZV9hc3NldF9pZAAAAAARa1NoYXJlQXNzZXRTdXBwbHkCAAAAEnNoYXJlX2Fzc2V0X3N1cHBseQAAAAAEa0ZlZQIAAAAKY29tbWlzc2lvbgAAAAASa0ZlZVNjYWxlRGVsaW1pdGVyAgAAABpjb21taXNzaW9uX3NjYWxlX2RlbGltaXRlcgAAAAAKa0ludmFyaWFudAIAAAAJaW52YXJpYW50AAAAAAZrQ2F1c2UCAA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eXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAARhZG0yBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAABGFkbTMGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAKYWRtU3Rha2luZwMFAAAAE2NhbGxUYWtlSW50b0FjY291bnQGBQAAAAtjYWxsU3Rha2luZwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmVIrcl", "height": 1574557, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GErAXooRkwXL1Uwiw9Y2x5EmHsgVvr5MPhpPx6FZWzDC Next: BrsdPMHTQcxJFP33QCN89kuHGarX49JYbGK9sDze5ZEq Diff:
Old | New | Differences | |
---|---|---|---|
410 | 410 | then aY() | |
411 | 411 | else { | |
412 | 412 | let bU = if ((bN == z)) | |
413 | - | then $ | |
414 | - | else $ | |
413 | + | then $Tuple7((bM - bJ), bK, (G + bJ), (H - bK), an((G + bM), H), (G + bM), H) | |
414 | + | else $Tuple7(bK, (bM - bJ), (G - bK), (H + bJ), an(G, (H + bM)), G, (H + bM)) | |
415 | 415 | let bV = bU._1 | |
416 | 416 | let bW = bU._2 | |
417 | 417 | let bX = bU._3 | |
418 | 418 | let bY = bU._4 | |
419 | - | let bZ = bU._5 | |
420 | - | let ca = bU._6 | |
419 | + | let bD = bU._5 | |
420 | + | let bZ = bU._6 | |
421 | + | let ca = bU._7 | |
422 | + | let cb = [IntegerEntry(f, aS(bZ, z)), IntegerEntry(g, aS(ca, A))] | |
421 | 423 | let aw = an(bX, bY) | |
422 | 424 | let ax = fraction(P, K, aw) | |
423 | - | let | |
424 | - | let | |
425 | + | let cc = (fraction((P * P), bX, bY) / fraction(P, bV, bW)) | |
426 | + | let cd = fraction((bZ + ca), T, (2 * U)) | |
425 | 427 | if (if ((bT >= ax)) | |
426 | 428 | then true | |
427 | 429 | else (K > aw)) | |
428 | 430 | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
429 | - | else if (if ((bR > | |
431 | + | else if (if ((bR > cc)) | |
430 | 432 | then true | |
431 | - | else ( | |
433 | + | else (cc > bS)) | |
432 | 434 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
433 | - | else if (if (( | |
435 | + | else if (if ((cd > bZ)) | |
434 | 436 | then true | |
435 | - | else ( | |
436 | - | then aZ( | |
437 | + | else (cd > ca)) | |
438 | + | then aZ(cd, bZ, ca) | |
437 | 439 | else { | |
438 | 440 | let bG = fraction(aS(bV, z), P, bX) | |
439 | 441 | let bH = fraction(aS(bW, A), P, bY) | |
440 | 442 | let bI = fraction(min([bG, bH]), J, P) | |
441 | - | let cd = fraction(bI, (N - (L / 2)), N) | |
442 | - | let ce = fraction(bI, (M / 2), N) | |
443 | - | let cf = fraction(ce, G, J) | |
444 | - | let cg = fraction(ce, H, J) | |
445 | - | let bD = an((bZ - cf), (ca - cg)) | |
446 | - | [Reissue(I, cd, true), ScriptTransfer(bi.caller, cd, I), ScriptTransfer(s, cf, z), ScriptTransfer(s, cg, A), IntegerEntry(f, (bZ - cf)), IntegerEntry(g, (ca - cg)), IntegerEntry(i, (J + cd)), IntegerEntry(l, bD)] | |
443 | + | ([Reissue(I, bI, true), ScriptTransfer(bi.caller, bI, I), IntegerEntry(i, (J + bI)), IntegerEntry(l, bD)] ++ cb) | |
447 | 444 | } | |
448 | 445 | } | |
449 | 446 | } | |
452 | 449 | ||
453 | 450 | @Callable(bi) | |
454 | 451 | func withdraw () = { | |
455 | - | let | |
456 | - | let bM = | |
457 | - | let bN = | |
458 | - | let | |
459 | - | let | |
460 | - | let bD = an((G - | |
452 | + | let ce = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
453 | + | let bM = ce._1 | |
454 | + | let bN = ce._2 | |
455 | + | let cf = aS(fraction(bM, G, J), z) | |
456 | + | let cg = aS(fraction(bM, H, J), A) | |
457 | + | let bD = an((G - cf), (H - cg)) | |
461 | 458 | if (!(w)) | |
462 | 459 | then aW() | |
463 | 460 | else if ((size(bi.payments) != 1)) | |
466 | 463 | then throw(("Incorrect asset attached. Expected: " + toBase58String(I))) | |
467 | 464 | else if (!(aj)) | |
468 | 465 | then bh() | |
469 | - | else if (if (( | |
466 | + | else if (if ((cf > af)) | |
470 | 467 | then true | |
471 | - | else ( | |
472 | - | then bg( | |
473 | - | else [IntegerEntry(f, (G - | |
468 | + | else (cg > ag)) | |
469 | + | then bg(cf, cg) | |
470 | + | else [IntegerEntry(f, (G - cf)), IntegerEntry(g, (H - cg)), IntegerEntry(i, (J - bM)), IntegerEntry(l, bD), Burn(I, bM), ScriptTransfer(bi.caller, cf, z), ScriptTransfer(bi.caller, cg, A)] | |
474 | 471 | } | |
475 | 472 | ||
476 | 473 | ||
477 | 474 | ||
478 | 475 | @Callable(bi) | |
479 | - | func exchange ( | |
480 | - | let | |
481 | - | let bM = | |
482 | - | let bN = | |
476 | + | func exchange (ch,ci) = { | |
477 | + | let cj = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
478 | + | let bM = cj._1 | |
479 | + | let bN = cj._2 | |
483 | 480 | if (!(w)) | |
484 | 481 | then aW() | |
485 | - | else if ((0 >= | |
486 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
487 | - | else if (( | |
488 | - | then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString( | |
482 | + | else if ((0 >= ch)) | |
483 | + | then throw(("Estimated amount must be positive. Actual: " + toString(ch))) | |
484 | + | else if ((ci > ch)) | |
485 | + | then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString(ch)) + ". Minimal: ") + toString(ci))) | |
489 | 486 | else if ((size(bi.payments) != 1)) | |
490 | 487 | then throw("One attached payment expected") | |
491 | 488 | else if (!(aj)) | |
496 | 493 | then aY() | |
497 | 494 | else if ((10000000 > bM)) | |
498 | 495 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
499 | - | else if (if ((V > fraction(P, | |
496 | + | else if (if ((V > fraction(P, ci, bM))) | |
500 | 497 | then true | |
501 | - | else (fraction(P, | |
498 | + | else (fraction(P, ch, bM) > W)) | |
502 | 499 | then throw("Incorrect args and pmt ratio") | |
503 | 500 | else { | |
504 | - | let | |
501 | + | let ck = if ((bN == z)) | |
505 | 502 | then A | |
506 | 503 | else z | |
507 | - | let aT = ap( | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | then $Tuple2((G + bM), ((H - | |
512 | - | else $Tuple2(((G - | |
513 | - | let bZ = | |
514 | - | let ca = | |
515 | - | let | |
516 | - | if (if (( | |
504 | + | let aT = ap(ch, ci, bM, bN) | |
505 | + | let cl = fraction(aT, M, N) | |
506 | + | let cm = fraction(aT, (N - L), N) | |
507 | + | let cn = if ((bN == z)) | |
508 | + | then $Tuple2((G + bM), ((H - cm) - cl)) | |
509 | + | else $Tuple2(((G - cm) - cl), (H + bM)) | |
510 | + | let bZ = cn._1 | |
511 | + | let ca = cn._2 | |
512 | + | let cd = fraction((bZ + ca), T, (2 * U)) | |
513 | + | if (if ((cd > bZ)) | |
517 | 514 | then true | |
518 | - | else ( | |
519 | - | then aZ( | |
515 | + | else (cd > ca)) | |
516 | + | then aZ(cd, bZ, ca) | |
520 | 517 | else if (if (if ((z == u)) | |
521 | - | then ( | |
518 | + | then (ck == z) | |
522 | 519 | else false) | |
523 | 520 | then (ac >= bZ) | |
524 | 521 | else false) | |
525 | - | then bd( | |
522 | + | then bd(cm, af, B) | |
526 | 523 | else if (if (if ((A == u)) | |
527 | - | then ( | |
524 | + | then (ck == A) | |
528 | 525 | else false) | |
529 | 526 | then (ac >= ca) | |
530 | 527 | else false) | |
531 | - | then bd( | |
532 | - | else [IntegerEntry(f, bZ), IntegerEntry(g, ca), IntegerEntry(l, an(bZ, ca)), ScriptTransfer(bi.caller, | |
528 | + | then bd(cm, ag, F) | |
529 | + | else [IntegerEntry(f, bZ), IntegerEntry(g, ca), IntegerEntry(l, an(bZ, ca)), ScriptTransfer(bi.caller, cm, ck), ScriptTransfer(s, cl, ck)] | |
533 | 530 | } | |
534 | 531 | } | |
535 | 532 | ||
554 | 551 | ||
555 | 552 | ||
556 | 553 | @Callable(bi) | |
557 | - | func takeIntoAccountExtraFunds ( | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | then | |
554 | + | func takeIntoAccountExtraFunds (co) = { | |
555 | + | let cp = (ah - G) | |
556 | + | let cq = (ai - H) | |
557 | + | let cr = (cp - (if ((z == u)) | |
558 | + | then co | |
562 | 559 | else 0)) | |
563 | - | let | |
564 | - | then | |
560 | + | let cs = (cq - (if ((A == u)) | |
561 | + | then co | |
565 | 562 | else 0)) | |
566 | - | let aw = an((G + | |
563 | + | let aw = an((G + cr), (H + cs)) | |
567 | 564 | if (!(w)) | |
568 | 565 | then aW() | |
569 | 566 | else if ((bi.caller != this)) | |
570 | 567 | then aX() | |
571 | - | else if ((0 > | |
572 | - | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString( | |
573 | - | else if (if ((0 > | |
568 | + | else if ((0 > co)) | |
569 | + | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(co))) | |
570 | + | else if (if ((0 > cp)) | |
574 | 571 | then true | |
575 | - | else (0 > | |
572 | + | else (0 > cq)) | |
576 | 573 | then aQ("Enroll amount negative") | |
577 | - | else if (if ((0 > | |
574 | + | else if (if ((0 > cr)) | |
578 | 575 | then true | |
579 | - | else (0 > | |
576 | + | else (0 > cs)) | |
580 | 577 | then throw("Too large amountLeave") | |
581 | - | else [IntegerEntry(l, aw), IntegerEntry(f, (G + | |
578 | + | else [IntegerEntry(l, aw), IntegerEntry(f, (G + cr)), IntegerEntry(g, (H + cs)), IntegerEntry(("last_income_" + x), cr), IntegerEntry(("last_income_" + y), cs)] | |
582 | 579 | } | |
583 | 580 | ||
584 | 581 | ||
585 | - | @Verifier( | |
586 | - | func | |
587 | - | let C = | |
582 | + | @Verifier(ct) | |
583 | + | func cu () = { | |
584 | + | let C = ct | |
588 | 585 | if ($isInstanceOf(C, "InvokeScriptTransaction")) | |
589 | 586 | then { | |
590 | - | let | |
591 | - | let | |
592 | - | then ( | |
587 | + | let cv = C | |
588 | + | let cw = if ((cv.dApp == this)) | |
589 | + | then (cv.function == "takeIntoAccountExtraFunds") | |
593 | 590 | else false | |
594 | - | let | |
595 | - | then if (if (if (( | |
596 | - | then (size( | |
591 | + | let cx = if ((cv.dApp == t)) | |
592 | + | then if (if (if ((cv.function == "lockNeutrino")) | |
593 | + | then (size(cv.payments) == 1) | |
597 | 594 | else false) | |
598 | - | then ( | |
595 | + | then (cv.payments[0].assetId == u) | |
599 | 596 | else false) | |
600 | 597 | then true | |
601 | - | else if (( | |
602 | - | then (size( | |
598 | + | else if ((cv.function == "unlockNeutrino")) | |
599 | + | then (size(cv.payments) == 0) | |
603 | 600 | else false | |
604 | 601 | else false | |
605 | - | let | |
602 | + | let cy = if (if (if (sigVerify(ct.bodyBytes, ct.proofs[0], n)) | |
606 | 603 | then true | |
607 | - | else sigVerify( | |
604 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], o)) | |
608 | 605 | then true | |
609 | - | else sigVerify( | |
606 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], p)) | |
610 | 607 | then true | |
611 | - | else sigVerify( | |
612 | - | if ( | |
608 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], r) | |
609 | + | if (cw) | |
613 | 610 | then true | |
614 | - | else | |
611 | + | else cx | |
615 | 612 | } | |
616 | - | else sigVerify( | |
613 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], ct.senderPublicKey) | |
617 | 614 | } | |
618 | 615 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "2.0.0" | |
5 | 5 | ||
6 | 6 | let b = "version" | |
7 | 7 | ||
8 | 8 | let c = "active" | |
9 | 9 | ||
10 | 10 | let d = "A_asset_id" | |
11 | 11 | ||
12 | 12 | let e = "B_asset_id" | |
13 | 13 | ||
14 | 14 | let f = "A_asset_balance" | |
15 | 15 | ||
16 | 16 | let g = "B_asset_balance" | |
17 | 17 | ||
18 | 18 | let h = "share_asset_id" | |
19 | 19 | ||
20 | 20 | let i = "share_asset_supply" | |
21 | 21 | ||
22 | 22 | let j = "commission" | |
23 | 23 | ||
24 | 24 | let k = "commission_scale_delimiter" | |
25 | 25 | ||
26 | 26 | let l = "invariant" | |
27 | 27 | ||
28 | 28 | let m = "shutdown_cause" | |
29 | 29 | ||
30 | 30 | let n = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
31 | 31 | ||
32 | 32 | let o = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
33 | 33 | ||
34 | 34 | let p = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
35 | 35 | ||
36 | 36 | let q = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
37 | 37 | ||
38 | 38 | let r = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
39 | 39 | ||
40 | 40 | let s = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
41 | 41 | ||
42 | 42 | let t = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
43 | 43 | ||
44 | 44 | let u = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
45 | 45 | ||
46 | 46 | let v = (9 * value(value(assetInfo(u)).minSponsoredFee)) | |
47 | 47 | ||
48 | 48 | let w = getBooleanValue(this, c) | |
49 | 49 | ||
50 | 50 | let x = getStringValue(this, d) | |
51 | 51 | ||
52 | 52 | let y = getStringValue(this, e) | |
53 | 53 | ||
54 | 54 | let z = if ((x == "WAVES")) | |
55 | 55 | then unit | |
56 | 56 | else fromBase58String(x) | |
57 | 57 | ||
58 | 58 | let A = if ((y == "WAVES")) | |
59 | 59 | then unit | |
60 | 60 | else fromBase58String(y) | |
61 | 61 | ||
62 | 62 | let B = { | |
63 | 63 | let C = z | |
64 | 64 | if ($isInstanceOf(C, "ByteVector")) | |
65 | 65 | then { | |
66 | 66 | let D = C | |
67 | 67 | value(assetInfo(D)).name | |
68 | 68 | } | |
69 | 69 | else if ($isInstanceOf(C, "Unit")) | |
70 | 70 | then { | |
71 | 71 | let E = C | |
72 | 72 | "WAVES" | |
73 | 73 | } | |
74 | 74 | else throw("Match error") | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | let F = { | |
78 | 78 | let C = A | |
79 | 79 | if ($isInstanceOf(C, "ByteVector")) | |
80 | 80 | then { | |
81 | 81 | let D = C | |
82 | 82 | value(assetInfo(D)).name | |
83 | 83 | } | |
84 | 84 | else if ($isInstanceOf(C, "Unit")) | |
85 | 85 | then { | |
86 | 86 | let E = C | |
87 | 87 | "WAVES" | |
88 | 88 | } | |
89 | 89 | else throw("Match error") | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | let G = getIntegerValue(this, f) | |
93 | 93 | ||
94 | 94 | let H = getIntegerValue(this, g) | |
95 | 95 | ||
96 | 96 | let I = fromBase58String(getStringValue(this, h)) | |
97 | 97 | ||
98 | 98 | let J = getIntegerValue(this, i) | |
99 | 99 | ||
100 | 100 | let K = getIntegerValue(this, l) | |
101 | 101 | ||
102 | 102 | let L = 500 | |
103 | 103 | ||
104 | 104 | let M = 200 | |
105 | 105 | ||
106 | 106 | let N = 1000000 | |
107 | 107 | ||
108 | 108 | let O = 1000 | |
109 | 109 | ||
110 | 110 | let P = 100000000 | |
111 | 111 | ||
112 | 112 | let Q = 1000000000000 | |
113 | 113 | ||
114 | 114 | let R = 1000 | |
115 | 115 | ||
116 | 116 | let S = 8 | |
117 | 117 | ||
118 | 118 | let T = 50 | |
119 | 119 | ||
120 | 120 | let U = 100 | |
121 | 121 | ||
122 | 122 | let V = 90000000 | |
123 | 123 | ||
124 | 124 | let W = 110000000 | |
125 | 125 | ||
126 | 126 | let X = 50 | |
127 | 127 | ||
128 | 128 | let Y = 2 | |
129 | 129 | ||
130 | 130 | let Z = 46000000 | |
131 | 131 | ||
132 | 132 | func aa (ab) = { | |
133 | 133 | let C = ab | |
134 | 134 | if ($isInstanceOf(C, "ByteVector")) | |
135 | 135 | then { | |
136 | 136 | let D = C | |
137 | 137 | assetBalance(this, D) | |
138 | 138 | } | |
139 | 139 | else if ($isInstanceOf(C, "Unit")) | |
140 | 140 | then { | |
141 | 141 | let E = C | |
142 | 142 | wavesBalance(this).available | |
143 | 143 | } | |
144 | 144 | else throw("Match error") | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | let ac = { | |
149 | 149 | let C = getInteger(t, ((("rpd_balance_" + toBase58String(u)) + "_") + toString(this))) | |
150 | 150 | if ($isInstanceOf(C, "Int")) | |
151 | 151 | then { | |
152 | 152 | let ad = C | |
153 | 153 | ad | |
154 | 154 | } | |
155 | 155 | else if ($isInstanceOf(C, "Unit")) | |
156 | 156 | then { | |
157 | 157 | let ae = C | |
158 | 158 | 0 | |
159 | 159 | } | |
160 | 160 | else throw("Match error") | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | let af = (G - (if ((z == u)) | |
164 | 164 | then ac | |
165 | 165 | else 0)) | |
166 | 166 | ||
167 | 167 | let ag = (H - (if ((A == u)) | |
168 | 168 | then ac | |
169 | 169 | else 0)) | |
170 | 170 | ||
171 | 171 | let ah = (aa(z) + (if ((z == u)) | |
172 | 172 | then ac | |
173 | 173 | else 0)) | |
174 | 174 | ||
175 | 175 | let ai = (aa(A) + (if ((A == u)) | |
176 | 176 | then ac | |
177 | 177 | else 0)) | |
178 | 178 | ||
179 | 179 | let aj = if ((ah >= G)) | |
180 | 180 | then (ai >= H) | |
181 | 181 | else false | |
182 | 182 | ||
183 | 183 | func ak (al,am) = (((fraction(Q, al, am) + fraction(Q, am, al)) / 2) / 10000) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func an (al,am) = { | |
187 | 187 | let ao = ak(al, am) | |
188 | 188 | (fraction((al + am), P, pow(ao, S, X, Y, S, UP)) + (2 * fraction(pow(fraction(al, am, P), 0, 5, 1, (S / 2), DOWN), pow((ao - Z), S, X, Y, S, DOWN), P))) | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func ap (aq,ar,as,at) = { | |
193 | 193 | let au = (P - ((P * 1) / 10000000)) | |
194 | 194 | let av = (aq - ar) | |
195 | 195 | let al = (G + as) | |
196 | 196 | let am = (H + as) | |
197 | 197 | let aw = if ((at == z)) | |
198 | 198 | then an(al, (H - aq)) | |
199 | 199 | else if ((at == A)) | |
200 | 200 | then an((G - aq), am) | |
201 | 201 | else throw("Wrong asset in payment") | |
202 | 202 | let ax = fraction(P, K, aw) | |
203 | 203 | func ay (az,aA) = if ((az == -1)) | |
204 | 204 | then { | |
205 | 205 | let aB = (aq - ((aA * av) / 5)) | |
206 | 206 | let aC = if ((at == z)) | |
207 | 207 | then an(al, (H - aB)) | |
208 | 208 | else an((G - aB), am) | |
209 | 209 | if ((aC > K)) | |
210 | 210 | then aB | |
211 | 211 | else -1 | |
212 | 212 | } | |
213 | 213 | else az | |
214 | 214 | ||
215 | 215 | let aD = { | |
216 | 216 | let aE = [1, 2, 3, 4, 5] | |
217 | 217 | let aF = size(aE) | |
218 | 218 | let aG = -1 | |
219 | 219 | if ((aF == 0)) | |
220 | 220 | then aG | |
221 | 221 | else { | |
222 | 222 | let aH = ay(aG, aE[0]) | |
223 | 223 | if ((aF == 1)) | |
224 | 224 | then aH | |
225 | 225 | else { | |
226 | 226 | let aI = ay(aH, aE[1]) | |
227 | 227 | if ((aF == 2)) | |
228 | 228 | then aI | |
229 | 229 | else { | |
230 | 230 | let aJ = ay(aI, aE[2]) | |
231 | 231 | if ((aF == 3)) | |
232 | 232 | then aJ | |
233 | 233 | else { | |
234 | 234 | let aK = ay(aJ, aE[3]) | |
235 | 235 | if ((aF == 4)) | |
236 | 236 | then aK | |
237 | 237 | else { | |
238 | 238 | let aL = ay(aK, aE[4]) | |
239 | 239 | if ((aF == 5)) | |
240 | 240 | then aL | |
241 | 241 | else { | |
242 | 242 | let aM = ay(aL, aE[5]) | |
243 | 243 | throw("List size exceed 5") | |
244 | 244 | } | |
245 | 245 | } | |
246 | 246 | } | |
247 | 247 | } | |
248 | 248 | } | |
249 | 249 | } | |
250 | 250 | } | |
251 | 251 | if ((0 > aD)) | |
252 | 252 | then throw("something went wrong while working with amountToSend") | |
253 | 253 | else if (if ((ax > au)) | |
254 | 254 | then (aw > K) | |
255 | 255 | else false) | |
256 | 256 | then aq | |
257 | 257 | else aD | |
258 | 258 | } | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | func aN (ab) = { | |
262 | 262 | let C = ab | |
263 | 263 | if ($isInstanceOf(C, "ByteVector")) | |
264 | 264 | then { | |
265 | 265 | let D = C | |
266 | 266 | let aO = toBase58String(D) | |
267 | 267 | let aP = valueOrErrorMessage(assetInfo(D), (("Asset " + aO) + " doesn't exist")) | |
268 | 268 | $Tuple3(aO, aP.name, aP.decimals) | |
269 | 269 | } | |
270 | 270 | else if ($isInstanceOf(C, "Unit")) | |
271 | 271 | then { | |
272 | 272 | let E = C | |
273 | 273 | $Tuple3("WAVES", "WAVES", 8) | |
274 | 274 | } | |
275 | 275 | else throw("Match error") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func aQ (aR) = [BooleanEntry(c, false), StringEntry(m, aR)] | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func aS (aT,ab) = if ((ab == u)) | |
283 | 283 | then { | |
284 | 284 | let aU = (aT - v) | |
285 | 285 | if ((0 >= aU)) | |
286 | 286 | then throw((((("Insufficient amount " + toString(aT)) + " to deduct staking fee ") + toString(v)) + " USD-N")) | |
287 | 287 | else aU | |
288 | 288 | } | |
289 | 289 | else aT | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func aV () = throw("DApp is already active") | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func aW () = throw("DApp is inactive at this moment") | |
296 | 296 | ||
297 | 297 | ||
298 | 298 | func aX () = throw("Only admin can call this function") | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func aY () = throw(((("Incorrect assets attached. Expected: " + x) + " and ") + y)) | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func aZ (ba,bb,bc) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(ba)) + ": ") + toString(bb)) + " ") + B) + ", ") + toString(bc)) + " ") + F)) | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | func bd (aT,be,bf) = throw((((((((("Insufficient DApp balance to pay " + toString(aT)) + " ") + bf) + " due to staking. Available: ") + toString(be)) + " ") + bf) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | func bg (bb,bc) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(bb)) + " ") + B) + " and ") + toString(bc)) + " ") + F) + " due to staking. Available: ") + toString(af)) + " ") + B) + " and ") + toString(ag)) + " ") + F) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func bh () = aQ(((((((((((((((("Suspicious state. Actual balances: " + toString(G)) + " ") + B) + ", ") + toString(H)) + " ") + F) + ". State: ") + toString(aa(z))) + " ") + B) + ", ") + toString(aa(A))) + " ") + F)) | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | @Callable(bi) | |
317 | 317 | func init () = { | |
318 | 318 | let bj = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
319 | 319 | let bk = bj._1 | |
320 | 320 | let bl = bj._2 | |
321 | 321 | let bm = $Tuple2(bi.payments[1].amount, bi.payments[1].assetId) | |
322 | 322 | let bn = bm._1 | |
323 | 323 | let bo = bm._2 | |
324 | 324 | let bp = aN(bl) | |
325 | 325 | let bq = bp._1 | |
326 | 326 | let br = bp._2 | |
327 | 327 | let bs = bp._3 | |
328 | 328 | let bt = aN(bo) | |
329 | 329 | let bu = bt._1 | |
330 | 330 | let bv = bt._2 | |
331 | 331 | let bw = bt._3 | |
332 | 332 | if (isDefined(getBoolean(this, c))) | |
333 | 333 | then aV() | |
334 | 334 | else if ((bl == bo)) | |
335 | 335 | then throw("Assets must be different") | |
336 | 336 | else { | |
337 | 337 | let bx = ((("s" + take(br, 7)) + "_") + take(bv, 7)) | |
338 | 338 | let by = ((((("ShareToken of SwopFi protocol for " + br) + " and ") + bv) + " at address ") + toString(this)) | |
339 | 339 | let bz = ((bs + bw) / 2) | |
340 | 340 | let bA = fraction(pow(bk, bs, 5, 1, bs, HALFDOWN), pow(bn, bw, 5, 1, bw, HALFDOWN), pow(10, 0, bz, 0, 0, HALFDOWN)) | |
341 | 341 | let bB = Issue(bx, by, bA, bz, true) | |
342 | 342 | let bC = calculateAssetId(bB) | |
343 | 343 | let bD = an(bk, bn) | |
344 | 344 | [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bq), StringEntry(e, bu), IntegerEntry(f, bk), IntegerEntry(g, bn), IntegerEntry(l, bD), IntegerEntry(j, L), IntegerEntry(k, N), bB, StringEntry(h, toBase58String(bC)), IntegerEntry(i, bA), ScriptTransfer(bi.caller, bA, bC)] | |
345 | 345 | } | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | ||
350 | 350 | @Callable(bi) | |
351 | 351 | func replenishWithTwoTokens (bE) = { | |
352 | 352 | let bl = bi.payments[0].assetId | |
353 | 353 | let bo = bi.payments[1].assetId | |
354 | 354 | let bk = aS(bi.payments[0].amount, bl) | |
355 | 355 | let bn = aS(bi.payments[1].amount, bo) | |
356 | 356 | let bF = fraction(fraction(P, G, bk), O, fraction(P, H, bn)) | |
357 | 357 | let bG = fraction(P, bk, G) | |
358 | 358 | let bH = fraction(P, bn, H) | |
359 | 359 | let bI = fraction(min([bG, bH]), J, P) | |
360 | 360 | let bD = an((G + bk), (H + bn)) | |
361 | 361 | if (!(w)) | |
362 | 362 | then aW() | |
363 | 363 | else if (if ((0 > bE)) | |
364 | 364 | then true | |
365 | 365 | else (bE > 10)) | |
366 | 366 | then throw("Slippage tolerance must be <= 1%") | |
367 | 367 | else if ((size(bi.payments) != 2)) | |
368 | 368 | then throw("Two attached assets expected") | |
369 | 369 | else if (if ((bl != z)) | |
370 | 370 | then true | |
371 | 371 | else (bo != A)) | |
372 | 372 | then aY() | |
373 | 373 | else if (if ((((O * (R - bE)) / R) > bF)) | |
374 | 374 | then true | |
375 | 375 | else (bF > ((O * (R + bE)) / R))) | |
376 | 376 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
377 | 377 | else if ((bI == 0)) | |
378 | 378 | then throw("Too small amount to replenish") | |
379 | 379 | else if (!(aj)) | |
380 | 380 | then bh() | |
381 | 381 | else [IntegerEntry(f, (G + bk)), IntegerEntry(g, (H + bn)), IntegerEntry(i, (J + bI)), IntegerEntry(l, bD), Reissue(I, bI, true), ScriptTransfer(bi.caller, bI, I)] | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | ||
386 | 386 | @Callable(bi) | |
387 | 387 | func replenishWithOneToken (bJ,bK) = { | |
388 | 388 | let bL = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
389 | 389 | let bM = bL._1 | |
390 | 390 | let bN = bL._2 | |
391 | 391 | let bO = 5000000 | |
392 | 392 | let bP = 50000000 | |
393 | 393 | let bQ = if ((bP > bM)) | |
394 | 394 | then 100000 | |
395 | 395 | else 1 | |
396 | 396 | let bR = (P - ((P * bQ) / 10000000)) | |
397 | 397 | let bS = (P + ((P * bQ) / 10000000)) | |
398 | 398 | let bT = (P - ((P * 1) / 10000000)) | |
399 | 399 | if (!(w)) | |
400 | 400 | then aW() | |
401 | 401 | else if ((bO > bM)) | |
402 | 402 | then throw((((("Payment amount " + toString(bM)) + " does not exceed the minimum amount of ") + toString(bO)) + " tokens")) | |
403 | 403 | else if ((size(bi.payments) != 1)) | |
404 | 404 | then throw("One attached payment expected") | |
405 | 405 | else if (!(aj)) | |
406 | 406 | then bh() | |
407 | 407 | else if (if ((bN != z)) | |
408 | 408 | then (bN != A) | |
409 | 409 | else false) | |
410 | 410 | then aY() | |
411 | 411 | else { | |
412 | 412 | let bU = if ((bN == z)) | |
413 | - | then $ | |
414 | - | else $ | |
413 | + | then $Tuple7((bM - bJ), bK, (G + bJ), (H - bK), an((G + bM), H), (G + bM), H) | |
414 | + | else $Tuple7(bK, (bM - bJ), (G - bK), (H + bJ), an(G, (H + bM)), G, (H + bM)) | |
415 | 415 | let bV = bU._1 | |
416 | 416 | let bW = bU._2 | |
417 | 417 | let bX = bU._3 | |
418 | 418 | let bY = bU._4 | |
419 | - | let bZ = bU._5 | |
420 | - | let ca = bU._6 | |
419 | + | let bD = bU._5 | |
420 | + | let bZ = bU._6 | |
421 | + | let ca = bU._7 | |
422 | + | let cb = [IntegerEntry(f, aS(bZ, z)), IntegerEntry(g, aS(ca, A))] | |
421 | 423 | let aw = an(bX, bY) | |
422 | 424 | let ax = fraction(P, K, aw) | |
423 | - | let | |
424 | - | let | |
425 | + | let cc = (fraction((P * P), bX, bY) / fraction(P, bV, bW)) | |
426 | + | let cd = fraction((bZ + ca), T, (2 * U)) | |
425 | 427 | if (if ((bT >= ax)) | |
426 | 428 | then true | |
427 | 429 | else (K > aw)) | |
428 | 430 | then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value") | |
429 | - | else if (if ((bR > | |
431 | + | else if (if ((bR > cc)) | |
430 | 432 | then true | |
431 | - | else ( | |
433 | + | else (cc > bS)) | |
432 | 434 | then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect") | |
433 | - | else if (if (( | |
435 | + | else if (if ((cd > bZ)) | |
434 | 436 | then true | |
435 | - | else ( | |
436 | - | then aZ( | |
437 | + | else (cd > ca)) | |
438 | + | then aZ(cd, bZ, ca) | |
437 | 439 | else { | |
438 | 440 | let bG = fraction(aS(bV, z), P, bX) | |
439 | 441 | let bH = fraction(aS(bW, A), P, bY) | |
440 | 442 | let bI = fraction(min([bG, bH]), J, P) | |
441 | - | let cd = fraction(bI, (N - (L / 2)), N) | |
442 | - | let ce = fraction(bI, (M / 2), N) | |
443 | - | let cf = fraction(ce, G, J) | |
444 | - | let cg = fraction(ce, H, J) | |
445 | - | let bD = an((bZ - cf), (ca - cg)) | |
446 | - | [Reissue(I, cd, true), ScriptTransfer(bi.caller, cd, I), ScriptTransfer(s, cf, z), ScriptTransfer(s, cg, A), IntegerEntry(f, (bZ - cf)), IntegerEntry(g, (ca - cg)), IntegerEntry(i, (J + cd)), IntegerEntry(l, bD)] | |
443 | + | ([Reissue(I, bI, true), ScriptTransfer(bi.caller, bI, I), IntegerEntry(i, (J + bI)), IntegerEntry(l, bD)] ++ cb) | |
447 | 444 | } | |
448 | 445 | } | |
449 | 446 | } | |
450 | 447 | ||
451 | 448 | ||
452 | 449 | ||
453 | 450 | @Callable(bi) | |
454 | 451 | func withdraw () = { | |
455 | - | let | |
456 | - | let bM = | |
457 | - | let bN = | |
458 | - | let | |
459 | - | let | |
460 | - | let bD = an((G - | |
452 | + | let ce = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
453 | + | let bM = ce._1 | |
454 | + | let bN = ce._2 | |
455 | + | let cf = aS(fraction(bM, G, J), z) | |
456 | + | let cg = aS(fraction(bM, H, J), A) | |
457 | + | let bD = an((G - cf), (H - cg)) | |
461 | 458 | if (!(w)) | |
462 | 459 | then aW() | |
463 | 460 | else if ((size(bi.payments) != 1)) | |
464 | 461 | then throw("One attached payment expected") | |
465 | 462 | else if ((bN != I)) | |
466 | 463 | then throw(("Incorrect asset attached. Expected: " + toBase58String(I))) | |
467 | 464 | else if (!(aj)) | |
468 | 465 | then bh() | |
469 | - | else if (if (( | |
466 | + | else if (if ((cf > af)) | |
470 | 467 | then true | |
471 | - | else ( | |
472 | - | then bg( | |
473 | - | else [IntegerEntry(f, (G - | |
468 | + | else (cg > ag)) | |
469 | + | then bg(cf, cg) | |
470 | + | else [IntegerEntry(f, (G - cf)), IntegerEntry(g, (H - cg)), IntegerEntry(i, (J - bM)), IntegerEntry(l, bD), Burn(I, bM), ScriptTransfer(bi.caller, cf, z), ScriptTransfer(bi.caller, cg, A)] | |
474 | 471 | } | |
475 | 472 | ||
476 | 473 | ||
477 | 474 | ||
478 | 475 | @Callable(bi) | |
479 | - | func exchange ( | |
480 | - | let | |
481 | - | let bM = | |
482 | - | let bN = | |
476 | + | func exchange (ch,ci) = { | |
477 | + | let cj = $Tuple2(bi.payments[0].amount, bi.payments[0].assetId) | |
478 | + | let bM = cj._1 | |
479 | + | let bN = cj._2 | |
483 | 480 | if (!(w)) | |
484 | 481 | then aW() | |
485 | - | else if ((0 >= | |
486 | - | then throw(("Estimated amount must be positive. Actual: " + toString( | |
487 | - | else if (( | |
488 | - | then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString( | |
482 | + | else if ((0 >= ch)) | |
483 | + | then throw(("Estimated amount must be positive. Actual: " + toString(ch))) | |
484 | + | else if ((ci > ch)) | |
485 | + | then throw(((("Minimal amount can't be greater than estimated. Estimated: " + toString(ch)) + ". Minimal: ") + toString(ci))) | |
489 | 486 | else if ((size(bi.payments) != 1)) | |
490 | 487 | then throw("One attached payment expected") | |
491 | 488 | else if (!(aj)) | |
492 | 489 | then bh() | |
493 | 490 | else if (if ((bN != z)) | |
494 | 491 | then (bN != A) | |
495 | 492 | else false) | |
496 | 493 | then aY() | |
497 | 494 | else if ((10000000 > bM)) | |
498 | 495 | then throw("Only swap of 10.000000 or more tokens is allowed") | |
499 | - | else if (if ((V > fraction(P, | |
496 | + | else if (if ((V > fraction(P, ci, bM))) | |
500 | 497 | then true | |
501 | - | else (fraction(P, | |
498 | + | else (fraction(P, ch, bM) > W)) | |
502 | 499 | then throw("Incorrect args and pmt ratio") | |
503 | 500 | else { | |
504 | - | let | |
501 | + | let ck = if ((bN == z)) | |
505 | 502 | then A | |
506 | 503 | else z | |
507 | - | let aT = ap( | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | then $Tuple2((G + bM), ((H - | |
512 | - | else $Tuple2(((G - | |
513 | - | let bZ = | |
514 | - | let ca = | |
515 | - | let | |
516 | - | if (if (( | |
504 | + | let aT = ap(ch, ci, bM, bN) | |
505 | + | let cl = fraction(aT, M, N) | |
506 | + | let cm = fraction(aT, (N - L), N) | |
507 | + | let cn = if ((bN == z)) | |
508 | + | then $Tuple2((G + bM), ((H - cm) - cl)) | |
509 | + | else $Tuple2(((G - cm) - cl), (H + bM)) | |
510 | + | let bZ = cn._1 | |
511 | + | let ca = cn._2 | |
512 | + | let cd = fraction((bZ + ca), T, (2 * U)) | |
513 | + | if (if ((cd > bZ)) | |
517 | 514 | then true | |
518 | - | else ( | |
519 | - | then aZ( | |
515 | + | else (cd > ca)) | |
516 | + | then aZ(cd, bZ, ca) | |
520 | 517 | else if (if (if ((z == u)) | |
521 | - | then ( | |
518 | + | then (ck == z) | |
522 | 519 | else false) | |
523 | 520 | then (ac >= bZ) | |
524 | 521 | else false) | |
525 | - | then bd( | |
522 | + | then bd(cm, af, B) | |
526 | 523 | else if (if (if ((A == u)) | |
527 | - | then ( | |
524 | + | then (ck == A) | |
528 | 525 | else false) | |
529 | 526 | then (ac >= ca) | |
530 | 527 | else false) | |
531 | - | then bd( | |
532 | - | else [IntegerEntry(f, bZ), IntegerEntry(g, ca), IntegerEntry(l, an(bZ, ca)), ScriptTransfer(bi.caller, | |
528 | + | then bd(cm, ag, F) | |
529 | + | else [IntegerEntry(f, bZ), IntegerEntry(g, ca), IntegerEntry(l, an(bZ, ca)), ScriptTransfer(bi.caller, cm, ck), ScriptTransfer(s, cl, ck)] | |
533 | 530 | } | |
534 | 531 | } | |
535 | 532 | ||
536 | 533 | ||
537 | 534 | ||
538 | 535 | @Callable(bi) | |
539 | 536 | func shutdown () = if (!(w)) | |
540 | 537 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, m), "the cause wasn't specified"))) | |
541 | 538 | else if (!(containsElement([n, o, p, q], bi.callerPublicKey))) | |
542 | 539 | then aX() | |
543 | 540 | else aQ("Paused by admin") | |
544 | 541 | ||
545 | 542 | ||
546 | 543 | ||
547 | 544 | @Callable(bi) | |
548 | 545 | func activate () = if (w) | |
549 | 546 | then aV() | |
550 | 547 | else if (!(containsElement([n, o, p, q], bi.callerPublicKey))) | |
551 | 548 | then aX() | |
552 | 549 | else [BooleanEntry(c, true), DeleteEntry(m)] | |
553 | 550 | ||
554 | 551 | ||
555 | 552 | ||
556 | 553 | @Callable(bi) | |
557 | - | func takeIntoAccountExtraFunds ( | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | then | |
554 | + | func takeIntoAccountExtraFunds (co) = { | |
555 | + | let cp = (ah - G) | |
556 | + | let cq = (ai - H) | |
557 | + | let cr = (cp - (if ((z == u)) | |
558 | + | then co | |
562 | 559 | else 0)) | |
563 | - | let | |
564 | - | then | |
560 | + | let cs = (cq - (if ((A == u)) | |
561 | + | then co | |
565 | 562 | else 0)) | |
566 | - | let aw = an((G + | |
563 | + | let aw = an((G + cr), (H + cs)) | |
567 | 564 | if (!(w)) | |
568 | 565 | then aW() | |
569 | 566 | else if ((bi.caller != this)) | |
570 | 567 | then aX() | |
571 | - | else if ((0 > | |
572 | - | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString( | |
573 | - | else if (if ((0 > | |
568 | + | else if ((0 > co)) | |
569 | + | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(co))) | |
570 | + | else if (if ((0 > cp)) | |
574 | 571 | then true | |
575 | - | else (0 > | |
572 | + | else (0 > cq)) | |
576 | 573 | then aQ("Enroll amount negative") | |
577 | - | else if (if ((0 > | |
574 | + | else if (if ((0 > cr)) | |
578 | 575 | then true | |
579 | - | else (0 > | |
576 | + | else (0 > cs)) | |
580 | 577 | then throw("Too large amountLeave") | |
581 | - | else [IntegerEntry(l, aw), IntegerEntry(f, (G + | |
578 | + | else [IntegerEntry(l, aw), IntegerEntry(f, (G + cr)), IntegerEntry(g, (H + cs)), IntegerEntry(("last_income_" + x), cr), IntegerEntry(("last_income_" + y), cs)] | |
582 | 579 | } | |
583 | 580 | ||
584 | 581 | ||
585 | - | @Verifier( | |
586 | - | func | |
587 | - | let C = | |
582 | + | @Verifier(ct) | |
583 | + | func cu () = { | |
584 | + | let C = ct | |
588 | 585 | if ($isInstanceOf(C, "InvokeScriptTransaction")) | |
589 | 586 | then { | |
590 | - | let | |
591 | - | let | |
592 | - | then ( | |
587 | + | let cv = C | |
588 | + | let cw = if ((cv.dApp == this)) | |
589 | + | then (cv.function == "takeIntoAccountExtraFunds") | |
593 | 590 | else false | |
594 | - | let | |
595 | - | then if (if (if (( | |
596 | - | then (size( | |
591 | + | let cx = if ((cv.dApp == t)) | |
592 | + | then if (if (if ((cv.function == "lockNeutrino")) | |
593 | + | then (size(cv.payments) == 1) | |
597 | 594 | else false) | |
598 | - | then ( | |
595 | + | then (cv.payments[0].assetId == u) | |
599 | 596 | else false) | |
600 | 597 | then true | |
601 | - | else if (( | |
602 | - | then (size( | |
598 | + | else if ((cv.function == "unlockNeutrino")) | |
599 | + | then (size(cv.payments) == 0) | |
603 | 600 | else false | |
604 | 601 | else false | |
605 | - | let | |
602 | + | let cy = if (if (if (sigVerify(ct.bodyBytes, ct.proofs[0], n)) | |
606 | 603 | then true | |
607 | - | else sigVerify( | |
604 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], o)) | |
608 | 605 | then true | |
609 | - | else sigVerify( | |
606 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], p)) | |
610 | 607 | then true | |
611 | - | else sigVerify( | |
612 | - | if ( | |
608 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], r) | |
609 | + | if (cw) | |
613 | 610 | then true | |
614 | - | else | |
611 | + | else cx | |
615 | 612 | } | |
616 | - | else sigVerify( | |
613 | + | else sigVerify(ct.bodyBytes, ct.proofs[0], ct.senderPublicKey) | |
617 | 614 | } | |
618 | 615 |
github/deemru/w8io/169f3d6 138.63 ms ◑