tx · AbUKsaoRqwiCac6wPsLBq3LraCVShQSW3vXMehpsz2Jj 3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo: -0.01400000 Waves 2021.12.14 18:07 [1834085] smart account 3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo > SELF 0.00000000 Waves
{ "type": 13, "id": "AbUKsaoRqwiCac6wPsLBq3LraCVShQSW3vXMehpsz2Jj", "fee": 1400000, "feeAssetId": null, "timestamp": 1639494444784, "version": 1, "sender": "3N5C2THWC3XfNzmC15YBeTBLamjhhCUdeeo", "senderPublicKey": "BweqtcaAvG8gdYYQoaMsbUczGmHJAwWBShc9noVdvmWx", "proofs": [ "W32WpbCZuu73LJdZfGy4xKaaUp1V9nkL54NgQX4VGCwcqe38iQvfS7mYPDKUf2KmteK4D5qN8JXvB1Y9z4HAXSU" ], "script": "base64:AAIFAAAAAAAAAEwIAhIECgIICBIECgIBBBIDCgEBEgASBAoCAQESAwoBARIECgIICBIAEgMKAQgSBQoDAQEBEgQKAggBEgASAwoBARIDCgEBEgQKAggBAAAAQgAAAAAKbFBkZWNpbWFscwAAAAAAAAAACAAAAAAGc2NhbGU4AAAAAAAF9eEAAAAAAAxzY2FsZThCaWdJbnQJAAE2AAAAAQAAAAAABfXhAAAAAAAHc2NhbGUxOAkAATYAAAABAA3gtrOnZAAAAAAAAAp6ZXJvQmlnSW50CQABNgAAAAEAAAAAAAAAAAAAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXNhYmxlZAAAAAAAAAAAAgAAAAATUG9vbE1hdGNoZXJEaXNhYmxlZAAAAAAAAAAAAwAAAAAMUG9vbFNodXRkb3duAAAAAAAAAAAEAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAANaWR4UG9vbFN0YXR1cwAAAAAAAAAAAgAAAAAQaWR4UG9vbExQQXNzZXRJZAAAAAAAAAAAAwAAAAAN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bHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAFAAAABUVNUFRZAwkAAAAAAAACBQAAAA1tYW5hZ2VyUHVibGljBQAAAAVFTVBUWQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEFAAAADW1hbmFnZXJQdWJsaWMe61ws", "chainId": 84, "height": 1834085, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: nwBDxvd2ntWN7VTDmJr1BEsJdcVJZXjhKfs13WUMoxX Next: 145BJQzaVscfJ5SPBecemxZyhgqBRyLMkyPWkR5ZyME3 Diff:
Old | New | Differences | |
---|---|---|---|
484 | 484 | ||
485 | 485 | ||
486 | 486 | @Callable(cD) | |
487 | - | func activate (db,dc) = if ((toString(cD.caller) != toString(as))) | |
487 | + | func unstakeAndGet (db) = { | |
488 | + | let dc = if ((size(cD.payments) != 0)) | |
489 | + | then throw("No payments are expected") | |
490 | + | else true | |
491 | + | if ((dc == dc)) | |
492 | + | then { | |
493 | + | let bc = av() | |
494 | + | let cM = ay() | |
495 | + | let bp = fromBase58String(bc[n]) | |
496 | + | let cN = valueOrErrorMessage(addressFromString(cM[y]), "Error. Incorrect staking address.") | |
497 | + | let dd = invoke(cN, "unstake", [toBase58String(bp), db], nil) | |
498 | + | if ((dd == dd)) | |
499 | + | then { | |
500 | + | let bY = bl(toBase58String(cD.transactionId), toBase58String(bp), db, cD.caller) | |
501 | + | let bs = parseIntValue(bY._9) | |
502 | + | let bG = bY._10 | |
503 | + | let de = if (if (at()) | |
504 | + | then true | |
505 | + | else (bs == k)) | |
506 | + | then throw(("Get operation is blocked by admin. Status = " + toString(bs))) | |
507 | + | else true | |
508 | + | if ((de == de)) | |
509 | + | then { | |
510 | + | let cY = invoke(as, "burn", [db], [AttachedPayment(bp, db)]) | |
511 | + | if ((cY == cY)) | |
512 | + | then bG | |
513 | + | else throw("Strict value is not equal to itself.") | |
514 | + | } | |
515 | + | else throw("Strict value is not equal to itself.") | |
516 | + | } | |
517 | + | else throw("Strict value is not equal to itself.") | |
518 | + | } | |
519 | + | else throw("Strict value is not equal to itself.") | |
520 | + | } | |
521 | + | ||
522 | + | ||
523 | + | ||
524 | + | @Callable(cD) | |
525 | + | func activate (df,dg) = if ((toString(cD.caller) != toString(as))) | |
488 | 526 | then throw("permissions denied") | |
489 | - | else $Tuple2([StringEntry(V(), db), StringEntry(W(), dc)], "success") | |
527 | + | else $Tuple2([StringEntry(V(), df), StringEntry(W(), dg)], "success") | |
528 | + | ||
529 | + | ||
530 | + | ||
531 | + | @Callable(cD) | |
532 | + | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, av()) | |
533 | + | ||
534 | + | ||
535 | + | ||
536 | + | @Callable(cD) | |
537 | + | func getAccBalanceWrapperREADONLY (aP) = $Tuple2(nil, aO(aP)) | |
538 | + | ||
539 | + | ||
540 | + | ||
541 | + | @Callable(cD) | |
542 | + | func calcPricesWrapperREADONLY (aW,aX,bb) = { | |
543 | + | let bk = ba(aW, aX, bb) | |
544 | + | $Tuple2(nil, [toString(bk[0]), toString(bk[1]), toString(bk[2])]) | |
545 | + | } | |
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | @Callable(cD) | |
550 | + | func fromX18WrapperREADONLY (E,F) = $Tuple2(nil, D(parseBigIntValue(E), F)) | |
490 | 551 | ||
491 | 552 | ||
492 | 553 | ||
500 | 561 | let bS = bc[t] | |
501 | 562 | let bd = parseIntValue(bc[q]) | |
502 | 563 | let be = parseIntValue(bc[r]) | |
503 | - | let | |
564 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
504 | 565 | let cs = aO(cq) | |
505 | 566 | let ct = aO(cr) | |
506 | - | let de = ba(cs, ct, dd) | |
567 | + | let di = if ((dh == 0)) | |
568 | + | then [e, e, e] | |
569 | + | else ba(cs, ct, dh) | |
507 | 570 | let bz = 0 | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(cs), toString(ct), toString( | |
571 | + | let dj = D(di[1], b) | |
572 | + | let dk = D(di[2], b) | |
573 | + | let dl = value(getInteger(as, ai(toString(this)))) | |
574 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(cs), toString(ct), toString(dh), toString(bz), toString(dj), toString(dk), toString(dl)], f)) | |
512 | 575 | } | |
513 | 576 | ||
514 | 577 | ||
524 | 587 | let bd = parseIntValue(bc[q]) | |
525 | 588 | let be = parseIntValue(bc[r]) | |
526 | 589 | let bs = bc[m] | |
527 | - | let | |
590 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
528 | 591 | let cs = aO(bP) | |
529 | 592 | let ct = aO(bQ) | |
530 | 593 | let aY = A(cs, bd) | |
531 | 594 | let aZ = A(ct, be) | |
532 | - | let by = if (( | |
595 | + | let by = if ((dh == 0)) | |
533 | 596 | then e | |
534 | 597 | else aQ(aZ, aY) | |
535 | 598 | let bV = A(bJ, bd) | |
537 | 600 | let bL = D(bW, be) | |
538 | 601 | let cJ = bH("", 500000, bJ, bq, bL, br, "", true, false) | |
539 | 602 | let cg = cJ._1 | |
540 | - | let | |
603 | + | let dm = cJ._3 | |
541 | 604 | let bu = cJ._4 | |
542 | 605 | let bw = cJ._5 | |
543 | 606 | let bt = cJ._6 | |
557 | 620 | let bd = parseIntValue(bc[q]) | |
558 | 621 | let be = parseIntValue(bc[r]) | |
559 | 622 | let bs = bc[m] | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let by = if (( | |
623 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
624 | + | let dn = aO(bP) | |
625 | + | let do = aO(bQ) | |
626 | + | let dp = A(dn, bd) | |
627 | + | let dq = A(do, be) | |
628 | + | let by = if ((dh == 0)) | |
566 | 629 | then e | |
567 | - | else aQ( | |
630 | + | else aQ(dq, dp) | |
568 | 631 | let bW = A(bL, be) | |
569 | 632 | let bV = fraction(bW, d, by) | |
570 | 633 | let bJ = D(bV, bd) | |
571 | 634 | let cJ = bH("", 500000, bJ, bq, bL, br, "", true, false) | |
572 | 635 | let cg = cJ._1 | |
573 | - | let | |
636 | + | let dm = cJ._3 | |
574 | 637 | let bu = cJ._4 | |
575 | 638 | let bw = cJ._5 | |
576 | 639 | let bt = cJ._6 | |
580 | 643 | ||
581 | 644 | ||
582 | 645 | @Callable(cD) | |
583 | - | func evaluateGetREADONLY ( | |
584 | - | let bY = bl("", | |
646 | + | func evaluateGetREADONLY (dr,ds) = { | |
647 | + | let bY = bl("", dr, ds, this) | |
585 | 648 | let bE = bY._1 | |
586 | 649 | let bF = bY._2 | |
587 | 650 | let bu = bY._5 | |
593 | 656 | } | |
594 | 657 | ||
595 | 658 | ||
596 | - | @Verifier( | |
597 | - | func | |
598 | - | let | |
599 | - | if ($isInstanceOf( | |
659 | + | @Verifier(dt) | |
660 | + | func du () = { | |
661 | + | let dv = dt | |
662 | + | if ($isInstanceOf(dv, "Order")) | |
600 | 663 | then { | |
601 | - | let cp = | |
602 | - | let | |
664 | + | let cp = dv | |
665 | + | let dw = au() | |
603 | 666 | let al = co(cp) | |
604 | 667 | let am = sigVerify(cp.bodyBytes, cp.proofs[0], cp.senderPublicKey) | |
605 | - | let an = sigVerify(cp.bodyBytes, cp.proofs[1], | |
668 | + | let an = sigVerify(cp.bodyBytes, cp.proofs[1], dw) | |
606 | 669 | if (if (if (al) | |
607 | 670 | then am | |
608 | 671 | else false) | |
612 | 675 | else ak(al, am, an) | |
613 | 676 | } | |
614 | 677 | else { | |
615 | - | let | |
616 | - | if (( | |
617 | - | then sigVerify( | |
618 | - | else sigVerify( | |
678 | + | let dx = valueOrElse(getString(this, M()), g) | |
679 | + | if ((dx == g)) | |
680 | + | then sigVerify(dt.bodyBytes, dt.proofs[0], dt.senderPublicKey) | |
681 | + | else sigVerify(dt.bodyBytes, dt.proofs[0], fromBase58String(dx)) | |
619 | 682 | } | |
620 | 683 | } | |
621 | 684 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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 = toBigInt(100000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(0) | |
13 | 13 | ||
14 | 14 | let f = "__" | |
15 | 15 | ||
16 | 16 | let g = "" | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 1 | |
27 | 27 | ||
28 | 28 | let m = 2 | |
29 | 29 | ||
30 | 30 | let n = 3 | |
31 | 31 | ||
32 | 32 | let o = 4 | |
33 | 33 | ||
34 | 34 | let p = 5 | |
35 | 35 | ||
36 | 36 | let q = 6 | |
37 | 37 | ||
38 | 38 | let r = 7 | |
39 | 39 | ||
40 | 40 | let s = 8 | |
41 | 41 | ||
42 | 42 | let t = 9 | |
43 | 43 | ||
44 | 44 | let u = 10 | |
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 = 1 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | func A (B,C) = fraction(toBigInt(B), d, toBigInt(C)) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func D (E,F) = toInt(fraction(E, toBigInt(F), d)) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func G (H,I,J) = fraction(H, I, J) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func K (E) = if ((e > E)) | |
66 | 66 | then -(E) | |
67 | 67 | else E | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func L () = "%s__factoryContract" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func M () = "%s__managerPublicKey" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func N () = "%s%s__price__last" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func O (P,Q) = makeString(["%s%s%d%d__price__history", toString(P), toString(Q)], f) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func R (S,T) = ((("%s%s%s__P__" + S) + "__") + T) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func U (S,T) = ((("%s%s%s__G__" + S) + "__") + T) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func V () = "%s__amountAsset" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func W () = "%s__priceAsset" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func X (P,Q) = makeString(["%s%s%d%d__K_history", toString(P), toString(Q)], f) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func Y () = "%s__factoryConfig" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func Z () = "%s%s__matcher__publicKey" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func aa (ab) = (("%s%s%s__" + ab) + "__mappings__poolContract2LpAsset") | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func ac (ad,ae) = (((("%d%d%s__" + ad) + "__") + ae) + "__config") | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func af (ag) = ("%s%s%s__mappings__baseAsset2internalId__" + ag) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func ah () = "%s__shutdown" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func ai (aj) = ("%s%s__poolWeight__" + aj) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func ak (al,am,an) = throw(((((("order validation failed: orderValid=" + toString(al)) + " senderValid=") + toString(am)) + " matcherValid=") + toString(an))) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func ao (ap,aq) = valueOrErrorMessage(getString(ap, aq), makeString(["mandatory ", toString(ap), ".", aq, " is not defined"], "")) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func ar (ap,aq) = valueOrErrorMessage(getInteger(ap, aq), makeString(["mandatory ", toString(ap), ".", aq, " is not defined"], "")) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | let as = addressFromStringValue(ao(this, L())) | |
128 | 128 | ||
129 | 129 | func at () = valueOrElse(getBoolean(as, ah()), false) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func au () = fromBase58String(ao(as, Z())) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func av () = { | |
136 | 136 | let aw = ao(this, V()) | |
137 | 137 | let ax = ao(this, W()) | |
138 | 138 | let ae = ar(as, af(ax)) | |
139 | 139 | let ad = ar(as, af(aw)) | |
140 | 140 | split(ao(as, ac(toString(ad), toString(ae))), f) | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ay () = split(ao(as, Y()), f) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func az (aA,aB,aC,aD,aE,aF,aG,aH,aI,aJ) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(aA), toString(aB), toString(aC), toString(aD), toString(aE), toString(aF), toString(aG), toString(aH), toString(aI), toString(aJ)], f) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func aK (aL,aM,aN,aD,aG,aH) = makeString(["%d%d%d%d%d%d", toString(aL), toString(aM), toString(aN), toString(aD), toString(aG), toString(aH)], f) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aO (aP) = if ((aP == "WAVES")) | |
154 | 154 | then wavesBalance(this).available | |
155 | 155 | else assetBalance(this, fromBase58String(aP)) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func aQ (aR,aS) = fraction(aR, d, aS) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func aT (aU,aV,aW,aX) = { | |
162 | 162 | let aY = A(aW, aU) | |
163 | 163 | let aZ = A(aX, aV) | |
164 | 164 | aQ(aZ, aY) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ba (aW,aX,bb) = { | |
169 | 169 | let bc = av() | |
170 | 170 | let bd = parseIntValue(bc[q]) | |
171 | 171 | let be = parseIntValue(bc[r]) | |
172 | 172 | let bf = aT(bd, be, aW, aX) | |
173 | 173 | let aS = A(aW, bd) | |
174 | 174 | let aR = A(aX, be) | |
175 | 175 | let bg = A(bb, b) | |
176 | 176 | let bh = aQ(aS, bg) | |
177 | 177 | let bi = aQ(aR, bg) | |
178 | 178 | [bf, bh, bi] | |
179 | 179 | } | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func bj (aW,aX,bb) = { | |
183 | 183 | let bk = ba(aW, aX, bb) | |
184 | 184 | [D(bk[0], b), D(bk[1], b), D(bk[2], b)] | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func bl (bm,bn,bo,S) = { | |
189 | 189 | let bc = av() | |
190 | 190 | let bp = bc[n] | |
191 | 191 | let bq = bc[o] | |
192 | 192 | let br = bc[p] | |
193 | 193 | let aU = parseIntValue(bc[q]) | |
194 | 194 | let aV = parseIntValue(bc[r]) | |
195 | 195 | let bs = bc[m] | |
196 | 196 | let bt = valueOrErrorMessage(assetInfo(fromBase58String(bp)), (("Asset " + bp) + " doesn't exist")).quantity | |
197 | 197 | if ((bp != bn)) | |
198 | 198 | then throw("Invalid asset passed.") | |
199 | 199 | else { | |
200 | 200 | let bu = aO(bq) | |
201 | 201 | let bv = A(bu, aU) | |
202 | 202 | let bw = aO(br) | |
203 | 203 | let bx = A(bw, aV) | |
204 | 204 | let by = aQ(bx, bv) | |
205 | 205 | let bz = D(by, b) | |
206 | 206 | let bA = A(bo, b) | |
207 | 207 | let bB = A(bt, b) | |
208 | 208 | let bC = fraction(bv, bA, bB) | |
209 | 209 | let bD = fraction(bx, bA, bB) | |
210 | 210 | let bE = D(bC, aU) | |
211 | 211 | let bF = D(bD, aV) | |
212 | 212 | let bG = if ((bm == "")) | |
213 | 213 | then nil | |
214 | 214 | else [ScriptTransfer(S, bE, if ((bq == "WAVES")) | |
215 | 215 | then unit | |
216 | 216 | else fromBase58String(bq)), ScriptTransfer(S, bF, if ((br == "WAVES")) | |
217 | 217 | then unit | |
218 | 218 | else fromBase58String(br)), StringEntry(U(toString(S), bm), aK(bE, bF, bo, bz, height, lastBlock.timestamp)), IntegerEntry(N(), bz), IntegerEntry(O(height, lastBlock.timestamp), bz)] | |
219 | 219 | $Tuple10(bE, bF, bq, br, bu, bw, bt, by, bs, bG) | |
220 | 220 | } | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func bH (bm,bI,bJ,bK,bL,bM,S,bN,bO) = { | |
225 | 225 | let bc = av() | |
226 | 226 | let bp = fromBase58String(bc[n]) | |
227 | 227 | let bP = bc[o] | |
228 | 228 | let bQ = bc[p] | |
229 | 229 | let bR = bc[s] | |
230 | 230 | let bS = bc[t] | |
231 | 231 | let bd = parseIntValue(bc[q]) | |
232 | 232 | let be = parseIntValue(bc[r]) | |
233 | 233 | let bs = bc[m] | |
234 | 234 | let bt = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
235 | 235 | let bT = toBase58String(valueOrElse(bK, fromBase58String("WAVES"))) | |
236 | 236 | let bU = toBase58String(valueOrElse(bM, fromBase58String("WAVES"))) | |
237 | 237 | if (if ((bP != bT)) | |
238 | 238 | then true | |
239 | 239 | else (bQ != bU)) | |
240 | 240 | then throw("Invalid amt or price asset passed.") | |
241 | 241 | else { | |
242 | 242 | let bu = if (bN) | |
243 | 243 | then aO(bP) | |
244 | 244 | else (aO(bP) - bJ) | |
245 | 245 | let bw = if (bN) | |
246 | 246 | then aO(bQ) | |
247 | 247 | else (aO(bQ) - bL) | |
248 | 248 | let bV = A(bJ, bd) | |
249 | 249 | let bW = A(bL, be) | |
250 | 250 | let bX = aQ(bW, bV) | |
251 | 251 | let bv = A(bu, bd) | |
252 | 252 | let bx = A(bw, be) | |
253 | 253 | let bY = if ((bt == 0)) | |
254 | 254 | then { | |
255 | 255 | let by = e | |
256 | 256 | let bZ = e | |
257 | 257 | let bg = pow((bV * bW), 0, toBigInt(5), 1, 0, DOWN) | |
258 | 258 | $Tuple5(D(bg, b), D(bV, bd), D(bW, be), aQ((bx + bW), (bv + bV)), bZ) | |
259 | 259 | } | |
260 | 260 | else { | |
261 | 261 | let by = aQ(bx, bv) | |
262 | 262 | let bZ = fraction(K((by - bX)), d, by) | |
263 | 263 | let ca = A(bI, b) | |
264 | 264 | if (if ((by != e)) | |
265 | 265 | then (bZ > ca) | |
266 | 266 | else false) | |
267 | 267 | then throw(((("Price slippage " + toString(bZ)) + " exceeded the passed limit of ") + toString(ca))) | |
268 | 268 | else { | |
269 | 269 | let bB = A(bt, b) | |
270 | 270 | let cb = fraction(bV, by, d) | |
271 | 271 | let cc = fraction(bW, d, by) | |
272 | 272 | let cd = if ((cb > bW)) | |
273 | 273 | then $Tuple2(cc, bW) | |
274 | 274 | else $Tuple2(bV, cb) | |
275 | 275 | let ce = cd._1 | |
276 | 276 | let cf = cd._2 | |
277 | 277 | let bg = fraction(bB, cf, bx) | |
278 | 278 | $Tuple5(D(bg, b), D(ce, bd), D(cf, be), by, bZ) | |
279 | 279 | } | |
280 | 280 | } | |
281 | 281 | let cg = bY._1 | |
282 | 282 | let ch = bY._2 | |
283 | 283 | let ci = bY._3 | |
284 | 284 | let bz = D(bY._4, b) | |
285 | 285 | let cj = D(bY._5, b) | |
286 | 286 | if ((0 >= cg)) | |
287 | 287 | then throw("Invalid calculations. LP calculated is less than zero.") | |
288 | 288 | else { | |
289 | 289 | let ck = if (!(bO)) | |
290 | 290 | then 0 | |
291 | 291 | else cg | |
292 | 292 | let cl = (bJ - ch) | |
293 | 293 | let cm = (bL - ci) | |
294 | 294 | let cn = [IntegerEntry(N(), bz), IntegerEntry(O(height, lastBlock.timestamp), bz), StringEntry(R(S, bm), az(ch, ci, ck, bz, bI, cj, height, lastBlock.timestamp, cl, cm))] | |
295 | 295 | $Tuple13(cg, ck, bz, bu, bw, bt, bp, bs, cn, cl, cm, bK, bM) | |
296 | 296 | } | |
297 | 297 | } | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func co (cp) = { | |
302 | 302 | let bc = av() | |
303 | 303 | let cq = bc[o] | |
304 | 304 | let cr = bc[p] | |
305 | 305 | let bs = parseIntValue(bc[m]) | |
306 | 306 | let bd = parseIntValue(bc[q]) | |
307 | 307 | let be = parseIntValue(bc[r]) | |
308 | 308 | let cs = aO(cq) | |
309 | 309 | let ct = aO(cr) | |
310 | 310 | let by = if ((cp.orderType == Buy)) | |
311 | 311 | then aT(bd, be, (cs + cp.amount), ct) | |
312 | 312 | else aT(bd, be, (cs - cp.amount), ct) | |
313 | 313 | let bz = D(by, b) | |
314 | 314 | if (if (if (at()) | |
315 | 315 | then true | |
316 | 316 | else (bs == j)) | |
317 | 317 | then true | |
318 | 318 | else (bs == k)) | |
319 | 319 | then throw("Exchange operations disabled") | |
320 | 320 | else { | |
321 | 321 | let cu = cp.assetPair.amountAsset | |
322 | 322 | let cv = if ((cu == unit)) | |
323 | 323 | then "WAVES" | |
324 | 324 | else toBase58String(value(cu)) | |
325 | 325 | let cw = cp.assetPair.priceAsset | |
326 | 326 | let cx = if ((cw == unit)) | |
327 | 327 | then "WAVES" | |
328 | 328 | else toBase58String(value(cw)) | |
329 | 329 | if (if ((cv != cq)) | |
330 | 330 | then true | |
331 | 331 | else (cx != cr)) | |
332 | 332 | then throw("Wrong order assets.") | |
333 | 333 | else { | |
334 | 334 | let cy = cp.price | |
335 | 335 | let cz = fraction(b, be, bd) | |
336 | 336 | let cA = G(cy, b, cz) | |
337 | 337 | let cB = if ((cp.orderType == Buy)) | |
338 | 338 | then (bz >= cA) | |
339 | 339 | else (cA >= bz) | |
340 | 340 | true | |
341 | 341 | } | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | func cC (cD) = if ((size(cD.payments) != 1)) | |
347 | 347 | then throw("exactly 1 payment is expected") | |
348 | 348 | else { | |
349 | 349 | let cE = value(cD.payments[0]) | |
350 | 350 | let bn = value(cE.assetId) | |
351 | 351 | let cF = cE.amount | |
352 | 352 | let bY = bl(toBase58String(cD.transactionId), toBase58String(bn), cF, cD.caller) | |
353 | 353 | let bE = bY._1 | |
354 | 354 | let bF = bY._2 | |
355 | 355 | let bs = parseIntValue(bY._9) | |
356 | 356 | let bG = bY._10 | |
357 | 357 | if (if (at()) | |
358 | 358 | then true | |
359 | 359 | else (bs == k)) | |
360 | 360 | then throw(("Get operation is blocked by admin. Status = " + toString(bs))) | |
361 | 361 | else $Tuple5(bE, bF, cF, bn, bG) | |
362 | 362 | } | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | func cG (cD,bI,bO) = if ((size(cD.payments) != 2)) | |
366 | 366 | then throw("exactly 2 payments are expected") | |
367 | 367 | else { | |
368 | 368 | let cH = value(cD.payments[0]) | |
369 | 369 | let cI = value(cD.payments[1]) | |
370 | 370 | let cJ = bH(toBase58String(cD.transactionId), bI, cH.amount, cH.assetId, cI.amount, cI.assetId, toString(cD.caller), false, bO) | |
371 | 371 | let bs = parseIntValue(cJ._8) | |
372 | 372 | if (if (if (at()) | |
373 | 373 | then true | |
374 | 374 | else (bs == i)) | |
375 | 375 | then true | |
376 | 376 | else (bs == k)) | |
377 | 377 | then throw(("Put operation is blocked by admin. Status = " + toString(bs))) | |
378 | 378 | else cJ | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | @Callable(cD) | |
383 | 383 | func constructor (as,cK) = if ((cD.caller != this)) | |
384 | 384 | then throw("permissions denied") | |
385 | 385 | else [StringEntry(L(), as), StringEntry(M(), cK)] | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | ||
389 | 389 | @Callable(cD) | |
390 | 390 | func put (bI,cL) = { | |
391 | 391 | let cM = ay() | |
392 | 392 | let cN = valueOrErrorMessage(addressFromString(cM[y]), "Error. Incorrect staking address.") | |
393 | 393 | let cO = valueOrErrorMessage(addressFromString(cM[z]), "Error. Incorrect slippage contract address.") | |
394 | 394 | if ((0 > bI)) | |
395 | 395 | then throw("Invalid slippageTolerance passed") | |
396 | 396 | else { | |
397 | 397 | let cJ = cG(cD, bI, true) | |
398 | 398 | let ck = cJ._2 | |
399 | 399 | let bp = cJ._7 | |
400 | 400 | let bG = cJ._9 | |
401 | 401 | let cl = cJ._10 | |
402 | 402 | let cm = cJ._11 | |
403 | 403 | let cP = cJ._12 | |
404 | 404 | let cQ = cJ._13 | |
405 | 405 | let cR = invoke(as, "emit", [ck], nil) | |
406 | 406 | if ((cR == cR)) | |
407 | 407 | then { | |
408 | 408 | let cS = if ((cl > 0)) | |
409 | 409 | then invoke(cO, "put", nil, [AttachedPayment(cP, cl)]) | |
410 | 410 | else nil | |
411 | 411 | if ((cS == cS)) | |
412 | 412 | then { | |
413 | 413 | let cT = if ((cm > 0)) | |
414 | 414 | then invoke(cO, "put", nil, [AttachedPayment(cQ, cm)]) | |
415 | 415 | else nil | |
416 | 416 | if ((cT == cT)) | |
417 | 417 | then { | |
418 | 418 | let cU = if (cL) | |
419 | 419 | then { | |
420 | 420 | let cV = invoke(cN, "stake", nil, [AttachedPayment(bp, ck)]) | |
421 | 421 | if ((cV == cV)) | |
422 | 422 | then nil | |
423 | 423 | else throw("Strict value is not equal to itself.") | |
424 | 424 | } | |
425 | 425 | else [ScriptTransfer(cD.caller, ck, bp)] | |
426 | 426 | (bG ++ cU) | |
427 | 427 | } | |
428 | 428 | else throw("Strict value is not equal to itself.") | |
429 | 429 | } | |
430 | 430 | else throw("Strict value is not equal to itself.") | |
431 | 431 | } | |
432 | 432 | else throw("Strict value is not equal to itself.") | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | ||
438 | 438 | @Callable(cD) | |
439 | 439 | func putForFree (cW) = if ((0 > cW)) | |
440 | 440 | then throw("Invalid value passed") | |
441 | 441 | else { | |
442 | 442 | let cJ = cG(cD, cW, false) | |
443 | 443 | cJ._9 | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | ||
448 | 448 | @Callable(cD) | |
449 | 449 | func get () = { | |
450 | 450 | let bY = cC(cD) | |
451 | 451 | let cX = bY._1 | |
452 | 452 | let bF = bY._2 | |
453 | 453 | let cF = bY._3 | |
454 | 454 | let bn = bY._4 | |
455 | 455 | let bG = bY._5 | |
456 | 456 | let cY = invoke(as, "burn", [cF], [AttachedPayment(bn, cF)]) | |
457 | 457 | if ((cY == cY)) | |
458 | 458 | then bG | |
459 | 459 | else throw("Strict value is not equal to itself.") | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | ||
464 | 464 | @Callable(cD) | |
465 | 465 | func getNoLess (cZ,da) = { | |
466 | 466 | let bY = cC(cD) | |
467 | 467 | let bE = bY._1 | |
468 | 468 | let bF = bY._2 | |
469 | 469 | let cF = bY._3 | |
470 | 470 | let bn = bY._4 | |
471 | 471 | let bG = bY._5 | |
472 | 472 | if ((cZ > bE)) | |
473 | 473 | then throw(((("noLessThenAmtAsset failed: " + toString(bE)) + " < ") + toString(cZ))) | |
474 | 474 | else if ((da > bF)) | |
475 | 475 | then throw(((("noLessThenPriceAsset failed: " + toString(bF)) + " < ") + toString(da))) | |
476 | 476 | else { | |
477 | 477 | let cY = invoke(as, "burn", [cF], [AttachedPayment(bn, cF)]) | |
478 | 478 | if ((cY == cY)) | |
479 | 479 | then bG | |
480 | 480 | else throw("Strict value is not equal to itself.") | |
481 | 481 | } | |
482 | 482 | } | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | ||
486 | 486 | @Callable(cD) | |
487 | - | func activate (db,dc) = if ((toString(cD.caller) != toString(as))) | |
487 | + | func unstakeAndGet (db) = { | |
488 | + | let dc = if ((size(cD.payments) != 0)) | |
489 | + | then throw("No payments are expected") | |
490 | + | else true | |
491 | + | if ((dc == dc)) | |
492 | + | then { | |
493 | + | let bc = av() | |
494 | + | let cM = ay() | |
495 | + | let bp = fromBase58String(bc[n]) | |
496 | + | let cN = valueOrErrorMessage(addressFromString(cM[y]), "Error. Incorrect staking address.") | |
497 | + | let dd = invoke(cN, "unstake", [toBase58String(bp), db], nil) | |
498 | + | if ((dd == dd)) | |
499 | + | then { | |
500 | + | let bY = bl(toBase58String(cD.transactionId), toBase58String(bp), db, cD.caller) | |
501 | + | let bs = parseIntValue(bY._9) | |
502 | + | let bG = bY._10 | |
503 | + | let de = if (if (at()) | |
504 | + | then true | |
505 | + | else (bs == k)) | |
506 | + | then throw(("Get operation is blocked by admin. Status = " + toString(bs))) | |
507 | + | else true | |
508 | + | if ((de == de)) | |
509 | + | then { | |
510 | + | let cY = invoke(as, "burn", [db], [AttachedPayment(bp, db)]) | |
511 | + | if ((cY == cY)) | |
512 | + | then bG | |
513 | + | else throw("Strict value is not equal to itself.") | |
514 | + | } | |
515 | + | else throw("Strict value is not equal to itself.") | |
516 | + | } | |
517 | + | else throw("Strict value is not equal to itself.") | |
518 | + | } | |
519 | + | else throw("Strict value is not equal to itself.") | |
520 | + | } | |
521 | + | ||
522 | + | ||
523 | + | ||
524 | + | @Callable(cD) | |
525 | + | func activate (df,dg) = if ((toString(cD.caller) != toString(as))) | |
488 | 526 | then throw("permissions denied") | |
489 | - | else $Tuple2([StringEntry(V(), db), StringEntry(W(), dc)], "success") | |
527 | + | else $Tuple2([StringEntry(V(), df), StringEntry(W(), dg)], "success") | |
528 | + | ||
529 | + | ||
530 | + | ||
531 | + | @Callable(cD) | |
532 | + | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, av()) | |
533 | + | ||
534 | + | ||
535 | + | ||
536 | + | @Callable(cD) | |
537 | + | func getAccBalanceWrapperREADONLY (aP) = $Tuple2(nil, aO(aP)) | |
538 | + | ||
539 | + | ||
540 | + | ||
541 | + | @Callable(cD) | |
542 | + | func calcPricesWrapperREADONLY (aW,aX,bb) = { | |
543 | + | let bk = ba(aW, aX, bb) | |
544 | + | $Tuple2(nil, [toString(bk[0]), toString(bk[1]), toString(bk[2])]) | |
545 | + | } | |
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | @Callable(cD) | |
550 | + | func fromX18WrapperREADONLY (E,F) = $Tuple2(nil, D(parseBigIntValue(E), F)) | |
490 | 551 | ||
491 | 552 | ||
492 | 553 | ||
493 | 554 | @Callable(cD) | |
494 | 555 | func statsREADONLY () = { | |
495 | 556 | let bc = av() | |
496 | 557 | let bp = fromBase58String(bc[n]) | |
497 | 558 | let cq = bc[o] | |
498 | 559 | let cr = bc[p] | |
499 | 560 | let bR = bc[s] | |
500 | 561 | let bS = bc[t] | |
501 | 562 | let bd = parseIntValue(bc[q]) | |
502 | 563 | let be = parseIntValue(bc[r]) | |
503 | - | let | |
564 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
504 | 565 | let cs = aO(cq) | |
505 | 566 | let ct = aO(cr) | |
506 | - | let de = ba(cs, ct, dd) | |
567 | + | let di = if ((dh == 0)) | |
568 | + | then [e, e, e] | |
569 | + | else ba(cs, ct, dh) | |
507 | 570 | let bz = 0 | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(cs), toString(ct), toString( | |
571 | + | let dj = D(di[1], b) | |
572 | + | let dk = D(di[2], b) | |
573 | + | let dl = value(getInteger(as, ai(toString(this)))) | |
574 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(cs), toString(ct), toString(dh), toString(bz), toString(dj), toString(dk), toString(dl)], f)) | |
512 | 575 | } | |
513 | 576 | ||
514 | 577 | ||
515 | 578 | ||
516 | 579 | @Callable(cD) | |
517 | 580 | func evaluatePutByAmountAssetREADONLY (bJ) = { | |
518 | 581 | let bc = av() | |
519 | 582 | let bp = fromBase58String(bc[n]) | |
520 | 583 | let bP = bc[o] | |
521 | 584 | let bq = fromBase58String(bP) | |
522 | 585 | let bQ = bc[p] | |
523 | 586 | let br = fromBase58String(bQ) | |
524 | 587 | let bd = parseIntValue(bc[q]) | |
525 | 588 | let be = parseIntValue(bc[r]) | |
526 | 589 | let bs = bc[m] | |
527 | - | let | |
590 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
528 | 591 | let cs = aO(bP) | |
529 | 592 | let ct = aO(bQ) | |
530 | 593 | let aY = A(cs, bd) | |
531 | 594 | let aZ = A(ct, be) | |
532 | - | let by = if (( | |
595 | + | let by = if ((dh == 0)) | |
533 | 596 | then e | |
534 | 597 | else aQ(aZ, aY) | |
535 | 598 | let bV = A(bJ, bd) | |
536 | 599 | let bW = fraction(bV, by, d) | |
537 | 600 | let bL = D(bW, be) | |
538 | 601 | let cJ = bH("", 500000, bJ, bq, bL, br, "", true, false) | |
539 | 602 | let cg = cJ._1 | |
540 | - | let | |
603 | + | let dm = cJ._3 | |
541 | 604 | let bu = cJ._4 | |
542 | 605 | let bw = cJ._5 | |
543 | 606 | let bt = cJ._6 | |
544 | 607 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(cg), toString(D(by, b)), toString(bu), toString(bw), toString(bt), bs, toString(bJ), toString(bL)], f)) | |
545 | 608 | } | |
546 | 609 | ||
547 | 610 | ||
548 | 611 | ||
549 | 612 | @Callable(cD) | |
550 | 613 | func evaluatePutByPriceAssetREADONLY (bL) = { | |
551 | 614 | let bc = av() | |
552 | 615 | let bp = fromBase58String(bc[n]) | |
553 | 616 | let bP = bc[o] | |
554 | 617 | let bq = fromBase58String(bP) | |
555 | 618 | let bQ = bc[p] | |
556 | 619 | let br = fromBase58String(bQ) | |
557 | 620 | let bd = parseIntValue(bc[q]) | |
558 | 621 | let be = parseIntValue(bc[r]) | |
559 | 622 | let bs = bc[m] | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let by = if (( | |
623 | + | let dh = valueOrErrorMessage(assetInfo(bp), (("Asset " + toBase58String(bp)) + " doesn't exist")).quantity | |
624 | + | let dn = aO(bP) | |
625 | + | let do = aO(bQ) | |
626 | + | let dp = A(dn, bd) | |
627 | + | let dq = A(do, be) | |
628 | + | let by = if ((dh == 0)) | |
566 | 629 | then e | |
567 | - | else aQ( | |
630 | + | else aQ(dq, dp) | |
568 | 631 | let bW = A(bL, be) | |
569 | 632 | let bV = fraction(bW, d, by) | |
570 | 633 | let bJ = D(bV, bd) | |
571 | 634 | let cJ = bH("", 500000, bJ, bq, bL, br, "", true, false) | |
572 | 635 | let cg = cJ._1 | |
573 | - | let | |
636 | + | let dm = cJ._3 | |
574 | 637 | let bu = cJ._4 | |
575 | 638 | let bw = cJ._5 | |
576 | 639 | let bt = cJ._6 | |
577 | 640 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(cg), toString(D(by, b)), toString(bu), toString(bw), toString(bt), bs, toString(bJ), toString(bL)], f)) | |
578 | 641 | } | |
579 | 642 | ||
580 | 643 | ||
581 | 644 | ||
582 | 645 | @Callable(cD) | |
583 | - | func evaluateGetREADONLY ( | |
584 | - | let bY = bl("", | |
646 | + | func evaluateGetREADONLY (dr,ds) = { | |
647 | + | let bY = bl("", dr, ds, this) | |
585 | 648 | let bE = bY._1 | |
586 | 649 | let bF = bY._2 | |
587 | 650 | let bu = bY._5 | |
588 | 651 | let bw = bY._6 | |
589 | 652 | let bt = bY._7 | |
590 | 653 | let bz = bY._8 | |
591 | 654 | let bs = parseIntValue(bY._9) | |
592 | 655 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(bE), toString(bF), toString(bu), toString(bw), toString(bt), toString(bz), toString(bs)], f)) | |
593 | 656 | } | |
594 | 657 | ||
595 | 658 | ||
596 | - | @Verifier( | |
597 | - | func | |
598 | - | let | |
599 | - | if ($isInstanceOf( | |
659 | + | @Verifier(dt) | |
660 | + | func du () = { | |
661 | + | let dv = dt | |
662 | + | if ($isInstanceOf(dv, "Order")) | |
600 | 663 | then { | |
601 | - | let cp = | |
602 | - | let | |
664 | + | let cp = dv | |
665 | + | let dw = au() | |
603 | 666 | let al = co(cp) | |
604 | 667 | let am = sigVerify(cp.bodyBytes, cp.proofs[0], cp.senderPublicKey) | |
605 | - | let an = sigVerify(cp.bodyBytes, cp.proofs[1], | |
668 | + | let an = sigVerify(cp.bodyBytes, cp.proofs[1], dw) | |
606 | 669 | if (if (if (al) | |
607 | 670 | then am | |
608 | 671 | else false) | |
609 | 672 | then an | |
610 | 673 | else false) | |
611 | 674 | then true | |
612 | 675 | else ak(al, am, an) | |
613 | 676 | } | |
614 | 677 | else { | |
615 | - | let | |
616 | - | if (( | |
617 | - | then sigVerify( | |
618 | - | else sigVerify( | |
678 | + | let dx = valueOrElse(getString(this, M()), g) | |
679 | + | if ((dx == g)) | |
680 | + | then sigVerify(dt.bodyBytes, dt.proofs[0], dt.senderPublicKey) | |
681 | + | else sigVerify(dt.bodyBytes, dt.proofs[0], fromBase58String(dx)) | |
619 | 682 | } | |
620 | 683 | } | |
621 | 684 |
github/deemru/w8io/026f985 116.22 ms ◑