tx · Aieh5C88UoWkgED9ZDydThQbPAFibWVDUMBSwJkDoYUN 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz: -0.02200000 Waves 2022.12.29 09:49 [2381223] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves
{ "type": 13, "id": "Aieh5C88UoWkgED9ZDydThQbPAFibWVDUMBSwJkDoYUN", "fee": 2200000, "feeAssetId": null, "timestamp": 1672296589393, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "4LiU5vYCfUKTHZtGZdEKQT74m2LiMxZHCKfQhZA5baneGgwQwFYRZh8X4Y1sYWq6MR85xtEcY9WKm3QdXNyzZYg1" ], "script": "base64:BgL1HggCEgMKAQgSAwoBCBIDCgEIEgASABIECgIIARIDCgEIEgQKAggIEgYKBAEYCBgSBAoCGAgSBAoCCAgSAwoBCBIECgIICCIGU0NBTEU4IgVNVUxUOCIHU0NBTEUxOCIGTVVMVDE4IgNTRVAiDlBPT0xXRUlHSFRNVUxUIgp6ZXJvQmlnSW50IglvbmVCaWdJbnQiCWFzQW55TGlzdCIDdmFsIgckbWF0Y2gwIgp2YWxBbnlMeXN0IgVhc0ludCIGdmFsSW50Ighhc1N0cmluZyIGdmFsU3RyIgxhc0J5dGVWZWN0b3IiBnZhbEJpbiIPZ2V0U3RyaW5nT3JGYWlsIgdhZGRyZXNzIgNrZXkiGGdldFN0cmluZ0J5QWRkcmVzc09yRmFpbCIMZ2V0SW50T3JaZXJvIg9nZXRJbnRPckRlZmF1bHQiCmRlZmF1bHRWYWwiDGdldEludE9yRmFpbCIZZ2V0QmlnSW50RnJvbVN0cmluZ09yWmVybyIcZ2V0QmlnSW50RnJvbVN0cmluZ09yRGVmYXVsdCIBcyIFdG9YMTgiB29yaWdWYWwiDW9yaWdTY2FsZU11bH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JAQJhcwIFAmF5BQJhQQQCY0EJAQF2AgUCYVUJAQFaAQUCYXkEAmNhCAkBAmJRBAUCYXkFAmFBBQJjQQAAAl8xBAJjQgkAuAICBQJjYQUCY3oEAmNDAwkAvwICBQJjQgUBZwkA/AcEBQR0aGlzAg9jbGFpbVd4SU5URVJOQUwJAMwIAgUCYXkJAMwIAgUCYUEFA25pbAUDbmlsBQR1bml0AwkAAAIFAmNDBQJjQwQCZHAJAKIIAQkBAmJlAgUCYmEFAmFBBAJkbgUCZHADCQABAgUCZG4CBFVuaXQJAJQKAgkAzAgCCQELRGVsZXRlRW50cnkBCQECYVgBBQJheQUDbmlsBwMJAAECBQJkbgIGU3RyaW5nBAJkcQUCZG4JAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQECYVgBBQJheQUCZHEFA25pbAYJAAIBAgtNYXRjaCBlcnJvcgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECC01hdGNoIGVycm9yCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAmNoAQ5vbk1vZGlmeVdlaWdodAICYXECYnQDCQECIT0CCAUCY2gGY2FsbGVyBQJhVQkAAgECEnBlcm1pc3Npb25zIGRlbmllZAQCZHIJAQJicwMFAmFxBQJidAAABAJicQgFAmRyAl8xBAJiUwgFAmRyAl8yBAJiVAgFAmRyAl8zBQJiUwECZHMBAmR0AAQCZHUEAWsJAQJjZAADCQABAgUBawIKQnl0ZVZlY3RvcgQCY2oFAWsFAmNqAwkAAQIFAWsCBFVuaXQIBQJkcw9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCZHMJYm9keUJ5dGVzCQCRAwIIBQJkcwZwcm9vZnMAAAUCZHUKmMew", "chainId": 84, "height": 2381223, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ho73qmkuiq51E6b5Gy8nJ7t5ZFoY5fqwky7Y9nVHFBPb Next: Ea5R9LAmeNvYGdNgbYZMmkVGDwtzsfxDJyHkNh593DHN Diff:
Old | New | Differences | |
---|---|---|---|
596 | 596 | let cM = max([m(i(invoke(aW, "claimWxBoost", [aq, ap], nil))[0]), 0]) | |
597 | 597 | let cN = cB | |
598 | 598 | let cO = min([(cN * toBigInt(2)), toBigInt(cM)]) | |
599 | - | let cP = (cN + cO) | |
600 | - | let cQ = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0]) | |
601 | - | let cR = i(invoke(aV, "emit", [toInt(cO)], nil)) | |
602 | - | if ((cR == cR)) | |
599 | + | let cP = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0]) | |
600 | + | let cQ = i(invoke(aV, "emit", [toInt(cO)], nil)) | |
601 | + | if ((cQ == cQ)) | |
603 | 602 | then { | |
604 | - | let cS = (cz + cB) | |
603 | + | let cR = (cz + cB) | |
604 | + | let cS = (cI + cN) | |
605 | 605 | let cT = (cI + cN) | |
606 | 606 | let cU = (cI + cN) | |
607 | - | let cV = (cI + cN) | |
608 | - | $Tuple2([StringEntry(cE, toString(cS)), StringEntry(cG, toString(cT)), StringEntry(cH, toString(cU)), StringEntry(cF, toString(cV)), ScriptTransfer(aA, toInt(cN), cQ), ScriptTransfer(aA, toInt(cO), cQ), aR("claim", ap, aq, toInt(cB), ch.transactionId)], cP) | |
607 | + | [StringEntry(cE, toString(cR)), StringEntry(cG, toString(cS)), StringEntry(cH, toString(cT)), StringEntry(cF, toString(cU)), ScriptTransfer(aA, toInt(cN), cP), ScriptTransfer(aA, toInt(cO), cP), aR("claim", ap, aq, toInt(cB), ch.transactionId)] | |
609 | 608 | } | |
610 | 609 | else throw("Strict value is not equal to itself.") | |
611 | 610 | } | |
616 | 615 | ||
617 | 616 | ||
618 | 617 | @Callable(ch) | |
619 | - | func claimWxBulkInternalREADONLY (cW | |
620 | - | then $Tuple2(nil, | |
618 | + | func claimWxBulkInternalREADONLY (cV,cW,ap,cX) = if ((cV == size(cW))) | |
619 | + | then $Tuple2(nil, cX) | |
621 | 620 | else { | |
622 | - | let ay = | |
623 | - | let | |
624 | - | let | |
625 | - | if ($isInstanceOf( | |
626 | - | then | |
627 | - | else throw(($getType( | |
621 | + | let ay = cW[cV] | |
622 | + | let cY = split({ | |
623 | + | let cZ = invoke(this, "claimWxREADONLY", [ay, ap], nil) | |
624 | + | if ($isInstanceOf(cZ, "String")) | |
625 | + | then cZ | |
626 | + | else throw(($getType(cZ) + " couldn't be cast to String")) | |
628 | 627 | }, e) | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | let | |
634 | - | if ($isInstanceOf( | |
635 | - | then | |
636 | - | else throw(($getType( | |
628 | + | let da = cY[3] | |
629 | + | let db = cY[4] | |
630 | + | let dc = (cX :+ makeString(["%d%d", da, db], e)) | |
631 | + | let dd = { | |
632 | + | let cZ = invoke(this, "claimWxBulkInternalREADONLY", [(cV + 1), cW, ap, dc], nil) | |
633 | + | if ($isInstanceOf(cZ, "List[Any]")) | |
634 | + | then cZ | |
635 | + | else throw(($getType(cZ) + " couldn't be cast to List[Any]")) | |
637 | 636 | } | |
638 | - | if (( | |
639 | - | then $Tuple2(nil, | |
637 | + | if ((dd == dd)) | |
638 | + | then $Tuple2(nil, dd) | |
640 | 639 | else throw("Strict value is not equal to itself.") | |
641 | 640 | } | |
642 | 641 | ||
643 | 642 | ||
644 | 643 | ||
645 | 644 | @Callable(ch) | |
646 | - | func claimWxBulkREADONLY ( | |
647 | - | let | |
648 | - | $Tuple2(nil, | |
645 | + | func claimWxBulkREADONLY (cW,ap) = { | |
646 | + | let dc = invoke(this, "claimWxBulkInternalREADONLY", [0, cW, ap, nil], nil) | |
647 | + | $Tuple2(nil, dc) | |
649 | 648 | } | |
650 | 649 | ||
651 | 650 | ||
660 | 659 | let cz = A(this, cE) | |
661 | 660 | let bt = v(aU, Z(aq)) | |
662 | 661 | let by = getIntegerValue(aU, aa(bt)) | |
663 | - | let | |
662 | + | let de = z(aV, aj()) | |
664 | 663 | let bz = z(aV, al()) | |
665 | - | let | |
664 | + | let df = if ((bz > height)) | |
666 | 665 | then 0 | |
667 | 666 | else (height - bz) | |
668 | - | let | |
669 | - | let | |
670 | - | let | |
671 | - | let ca = | |
672 | - | let cw = | |
673 | - | let bP = | |
667 | + | let dg = fraction((de * df), by, f) | |
668 | + | let dh = fraction(dg, bo, bw) | |
669 | + | let di = bQ(aq, ap, bt, 0) | |
670 | + | let ca = di._1 | |
671 | + | let cw = di._2 | |
672 | + | let bP = di._3 | |
674 | 673 | let cB = max([(ca - cz), g]) | |
675 | - | let | |
676 | - | let cM = max([m( | |
677 | - | let | |
674 | + | let dj = i(invoke(aW, "claimWxBoostREADONLY", [aq, ap], nil)) | |
675 | + | let cM = max([m(dj[0]), 0]) | |
676 | + | let dk = o(dj[1]) | |
678 | 677 | let cN = cB | |
679 | 678 | let cO = min([(cN * toBigInt(2)), toBigInt(cM)]) | |
680 | - | let cP = (cN + cO) | |
681 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(cP), toString(cz), toString(cN), toString(cO), "soon"], e)) | |
682 | - | } | |
683 | - | ||
684 | - | ||
685 | - | ||
686 | - | @Callable(ch) | |
687 | - | func stakedByUserREADONLY (aq,ap) = { | |
688 | - | let bo = valueOrElse(getInteger(ao(ap, aq)), 0) | |
689 | - | $Tuple2(nil, bo) | |
679 | + | let dl = (cN + cO) | |
680 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(dl), toString(cz), toString(cN), toString(cO), "soon"], e)) | |
690 | 681 | } | |
691 | 682 | ||
692 | 683 |
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 = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(1) | |
19 | 19 | ||
20 | 20 | func i (j) = { | |
21 | 21 | let k = j | |
22 | 22 | if ($isInstanceOf(k, "List[Any]")) | |
23 | 23 | then { | |
24 | 24 | let l = k | |
25 | 25 | l | |
26 | 26 | } | |
27 | 27 | else throw("fail to cast into List[Any]") | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func m (j) = { | |
32 | 32 | let k = j | |
33 | 33 | if ($isInstanceOf(k, "Int")) | |
34 | 34 | then { | |
35 | 35 | let n = k | |
36 | 36 | n | |
37 | 37 | } | |
38 | 38 | else throw("fail to cast into Int") | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func o (j) = { | |
43 | 43 | let k = j | |
44 | 44 | if ($isInstanceOf(k, "String")) | |
45 | 45 | then { | |
46 | 46 | let p = k | |
47 | 47 | p | |
48 | 48 | } | |
49 | 49 | else throw("fail to cast into Int") | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func q (j) = { | |
54 | 54 | let k = j | |
55 | 55 | if ($isInstanceOf(k, "ByteVector")) | |
56 | 56 | then { | |
57 | 57 | let r = k | |
58 | 58 | r | |
59 | 59 | } | |
60 | 60 | else throw("fail to cast into Int") | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func s (t,u) = valueOrErrorMessage(getString(t, u), (("mandatory this." + u) + " is not defined")) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func v (t,u) = valueOrErrorMessage(getString(t, u), (((("mandatory " + toString(t)) + ".") + u) + " is not defined")) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func w (t,u) = valueOrElse(getInteger(t, u), 0) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func x (t,u,y) = valueOrElse(getInteger(t, u), y) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func z (t,u) = valueOrErrorMessage(getInteger(t, u), (("mandatory this." + u) + " is not defined")) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func A (t,u) = value(parseBigInt(valueOrElse(getString(t, u), "0"))) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func B (t,u,y) = { | |
83 | 83 | let k = getString(t, u) | |
84 | 84 | if ($isInstanceOf(k, "String")) | |
85 | 85 | then { | |
86 | 86 | let C = k | |
87 | 87 | value(parseBigInt(C)) | |
88 | 88 | } | |
89 | 89 | else if ($isInstanceOf(k, "Unit")) | |
90 | 90 | then y | |
91 | 91 | else throw("Match error") | |
92 | 92 | } | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func D (E,F) = fraction(toBigInt(E), d, toBigInt(F)) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func G (j,H) = toInt(fraction(j, toBigInt(H), d)) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func I () = "%s%s__config__factoryAddress" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func J () = "%s__votingEmissionContract" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | let K = 1 | |
108 | 108 | ||
109 | 109 | let L = 2 | |
110 | 110 | ||
111 | 111 | let M = 3 | |
112 | 112 | ||
113 | 113 | let N = 4 | |
114 | 114 | ||
115 | 115 | let O = 5 | |
116 | 116 | ||
117 | 117 | let P = 6 | |
118 | 118 | ||
119 | 119 | let Q = 7 | |
120 | 120 | ||
121 | 121 | func R () = "%s__factoryConfig" | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func S () = "%s__managerPublicKey" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func T () = "%s__pendingManagerPublicKey" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func U () = "%s__stablePoolAddonAddr" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func V () = "%s__addonAddr" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func W (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Y () = "%s__lpTokensList" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Z (X) = makeString(["%s%s%s", X, "mappings__lpAsset2PoolContract"], e) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func aa (ab) = makeString(["%s%s", "poolWeight", ab], e) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ac (ad) = split(valueOrElse(getString(ad, Y()), ""), e) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ae (ad) = split(v(ad, R()), e) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func af (ag) = addressFromStringValue(ag[L]) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ah (ag) = addressFromStringValue(ag[O]) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ai (ag) = addressFromStringValue(ag[K]) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aj () = "%s%s__ratePerBlock__current" | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func ak () = "%s%s__ratePerBlockMax__current" | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func al () = "%s%s__emission__startBlock" | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func am () = "%s%s__emission__duration" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func an () = "%s%s__emission__endBlock" | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func ao (ap,aq) = makeString(["%s%s%s__staked", ap, aq], e) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func ar (aq) = ("%s%s%s__staked__total__" + aq) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func as (aq,ap) = makeString(["%s%s%s__claimed", ap, aq], e) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func at (aq,ap) = makeString(["%s%s%s__claimedMinReward", ap, aq], e) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func au (aq,ap) = makeString(["%s%s%s__claimedBoostReward", ap, aq], e) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func av (aq) = makeString(["%s%s%s__claimed__total", aq], e) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aw (u) = valueOrElse(getInteger(this, u), 0) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ax (ay) = makeString(["%s%s%s", ay, "total", "bal"], e) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func az (ay,aA) = makeString(["%s%s%s", ay, aA, "bal"], e) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aB (ay) = makeString(["%s%s%s", ay, "total", "balINT"], e) | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aC (ay,aA) = makeString(["%s%s%s", ay, aA, "balINT"], e) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aD (ay) = makeString(["%s%s%s", ay, "total", "lastUpd"], e) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aE (ay,aA) = makeString(["%s%s%s", ay, aA, "lastUpd"], e) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func aF (ay) = makeString(["%s%s%s%s", ay, "common", "lpInt"], e) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func aG (ay) = makeString(["%s%s%s%s", ay, "common", "lpIntH"], e) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func aH (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpInt"], e) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func aI (ay,aA) = makeString(["%s%s%s%s", ay, aA, "lpIntH"], e) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aJ (ay) = makeString(["%s", ay, "wxPerLp"], e) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aK (ay) = makeString(["%s", ay, "wxPerLpX18"], e) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func aL (ay,aA) = makeString(["%s%s%s%s", ay, aA, "uIntL"], e) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func aM (aN,aA,aO) = makeString(["%s%s%s%s__history", aN, aA, aO], e) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func aP (aA,ay,aN,aQ) = makeString(["%s%s%s%d%d%d", aA, ay, aN, toString(height), toString(lastBlock.timestamp), toString(aQ)], e) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func aR (aN,aA,ay,aQ,aS) = StringEntry(aM(aN, aA, toBase58String(aS)), aP(aA, ay, aN, aQ)) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | let aT = s(this, I()) | |
248 | 248 | ||
249 | 249 | let aU = addressFromStringValue(aT) | |
250 | 250 | ||
251 | 251 | let ag = ae(aU) | |
252 | 252 | ||
253 | 253 | let aV = ah(ag) | |
254 | 254 | ||
255 | 255 | let aW = af(ag) | |
256 | 256 | ||
257 | 257 | func aX (ay) = makeString(["%s%s", ay, "nextUser"], e) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func aY (ay) = makeString(["users", ay], e) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func aZ (ba) = makeString(["%s%s%s", ba, "head"], e) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func bb (ba) = makeString(["%s%s%s", ba, "size"], e) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func bc (ba,bd) = makeString(["%s%s%s%s", ba, bd, "prev"], e) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func be (ba,bd) = makeString(["%s%s%s%s", ba, bd, "next"], e) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bf (ba,bd) = { | |
276 | 276 | let bg = getString(this, aZ(ba)) | |
277 | 277 | let bh = getString(this, bc(ba, bd)) | |
278 | 278 | let bi = getString(this, be(ba, bd)) | |
279 | 279 | if (if ((bd == valueOrElse(bg, ""))) | |
280 | 280 | then true | |
281 | 281 | else (bh != unit)) | |
282 | 282 | then true | |
283 | 283 | else (bi != unit) | |
284 | 284 | } | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bj (ba,bd) = { | |
288 | 288 | let bg = getString(this, aZ(ba)) | |
289 | 289 | let bk = valueOrElse(getInteger(this, bb(ba)), 0) | |
290 | 290 | let bl = if (!(bf(ba, bd))) | |
291 | 291 | then true | |
292 | 292 | else throw("Node exists") | |
293 | 293 | if ((bl == bl)) | |
294 | 294 | then (([IntegerEntry(bb(ba), (bk + 1))] ++ (if ((bg != unit)) | |
295 | 295 | then [StringEntry(be(ba, bd), value(bg)), StringEntry(bc(ba, value(bg)), bd)] | |
296 | 296 | else nil)) ++ [StringEntry(aZ(ba), bd)]) | |
297 | 297 | else throw("Strict value is not equal to itself.") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func bm (ba,bd) = { | |
302 | 302 | let bg = getString(this, aZ(ba)) | |
303 | 303 | let bk = valueOrElse(getInteger(this, bb(ba)), 0) | |
304 | 304 | let bh = getString(this, bc(ba, bd)) | |
305 | 305 | let bi = getString(this, be(ba, bd)) | |
306 | 306 | ([IntegerEntry(bb(ba), (bk - 1))] ++ (if (if ((bh != unit)) | |
307 | 307 | then (bi != unit) | |
308 | 308 | else false) | |
309 | 309 | then [StringEntry(be(ba, value(bh)), value(bi)), StringEntry(bc(ba, value(bi)), value(bh)), DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, bd))] | |
310 | 310 | else if ((bi != unit)) | |
311 | 311 | then [StringEntry(aZ(ba), value(bi)), DeleteEntry(be(ba, bd)), DeleteEntry(bc(ba, value(bi)))] | |
312 | 312 | else if ((bh != unit)) | |
313 | 313 | then [DeleteEntry(bc(ba, bd)), DeleteEntry(be(ba, value(bh)))] | |
314 | 314 | else if ((bd == valueOrElse(bg, ""))) | |
315 | 315 | then [DeleteEntry(aZ(ba))] | |
316 | 316 | else throw(((("invalid node: " + ba) + ".") + bd)))) | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func bn (bo,bp,bq,br) = if (if ((bp == g)) | |
321 | 321 | then (bo > g) | |
322 | 322 | else false) | |
323 | 323 | then g | |
324 | 324 | else if ((bo == g)) | |
325 | 325 | then bq | |
326 | 326 | else if (if ((bp > g)) | |
327 | 327 | then (bo > g) | |
328 | 328 | else false) | |
329 | 329 | then value(parseBigInt(s(this, br))) | |
330 | 330 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bs (aq,bt,bu) = { | |
334 | 334 | let bv = ar(aq) | |
335 | 335 | let bw = toBigInt(aw(bv)) | |
336 | 336 | let bx = if ((bw == g)) | |
337 | 337 | then h | |
338 | 338 | else bw | |
339 | 339 | let by = getIntegerValue(aU, aa(bt)) | |
340 | 340 | let bz = z(aV, al()) | |
341 | 341 | let bA = 1000 | |
342 | 342 | let bB = (z(aV, aj()) * bA) | |
343 | 343 | let bC = fraction(bB, by, (f * 3)) | |
344 | 344 | let bD = aF(aq) | |
345 | 345 | let bE = aG(aq) | |
346 | 346 | let bF = aJ(aq) | |
347 | 347 | let bG = x(this, bE, bz) | |
348 | 348 | let bH = A(this, bD) | |
349 | 349 | let bI = 0 | |
350 | 350 | let bJ = max([(height - bG), 0]) | |
351 | 351 | let bK = if ((bI != 0)) | |
352 | 352 | then toBigInt(bI) | |
353 | 353 | else fraction(toBigInt(bC), toBigInt(b), bx) | |
354 | 354 | let bL = (bw + toBigInt(bu)) | |
355 | 355 | let bM = if ((bL == g)) | |
356 | 356 | then h | |
357 | 357 | else bL | |
358 | 358 | let bq = (bH + (bK * toBigInt(bJ))) | |
359 | 359 | let bN = (toBigInt(bC) / bM) | |
360 | 360 | let bO = height | |
361 | 361 | let bP = makeString([toString(bq), toString(bJ), toString(bK), toString(bw), toString(bC), toString(bB), toString(by)], "::") | |
362 | 362 | $Tuple3(bq, [StringEntry(bD, toString(bq)), IntegerEntry(bE, bO), StringEntry(bF, toString(bN))], bP) | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func bQ (aq,ap,bt,bu) = { | |
367 | 367 | let bR = bs(aq, bt, bu) | |
368 | 368 | let bq = bR._1 | |
369 | 369 | let bS = bR._2 | |
370 | 370 | let bT = bR._3 | |
371 | 371 | let bA = 1000 | |
372 | 372 | let bU = ao(ap, aq) | |
373 | 373 | let bo = aw(bU) | |
374 | 374 | let bV = aH(aq, ap) | |
375 | 375 | let bW = aI(aq, ap) | |
376 | 376 | let br = aL(aq, ap) | |
377 | 377 | let bX = A(this, bV) | |
378 | 378 | let bp = w(this, bW) | |
379 | 379 | let bY = bn(toBigInt(bo), toBigInt(bp), bq, br) | |
380 | 380 | let bZ = (b * bA) | |
381 | 381 | let ca = max([(bX + fraction((bq - bY), toBigInt(bo), toBigInt(bZ))), g]) | |
382 | 382 | let cb = bq | |
383 | 383 | let cc = height | |
384 | 384 | let bP = makeString([toString(bX), toString(bY), toString(bo), bT, toString(height)], "::") | |
385 | 385 | $Tuple3(ca, (bS ++ [StringEntry(bV, toString(ca)), IntegerEntry(bW, cc), StringEntry(br, toString(cb))]), bP) | |
386 | 386 | } | |
387 | 387 | ||
388 | 388 | ||
389 | 389 | func cd () = { | |
390 | 390 | let k = getString(S()) | |
391 | 391 | if ($isInstanceOf(k, "String")) | |
392 | 392 | then { | |
393 | 393 | let C = k | |
394 | 394 | fromBase58String(C) | |
395 | 395 | } | |
396 | 396 | else if ($isInstanceOf(k, "Unit")) | |
397 | 397 | then unit | |
398 | 398 | else throw("Match error") | |
399 | 399 | } | |
400 | 400 | ||
401 | 401 | ||
402 | 402 | func ce () = { | |
403 | 403 | let k = getString(T()) | |
404 | 404 | if ($isInstanceOf(k, "String")) | |
405 | 405 | then { | |
406 | 406 | let C = k | |
407 | 407 | fromBase58String(C) | |
408 | 408 | } | |
409 | 409 | else if ($isInstanceOf(k, "Unit")) | |
410 | 410 | then unit | |
411 | 411 | else throw("Match error") | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | let cf = throw("Permission denied") | |
416 | 416 | ||
417 | 417 | func cg (ch) = if ((ch.caller == this)) | |
418 | 418 | then true | |
419 | 419 | else cf | |
420 | 420 | ||
421 | 421 | ||
422 | 422 | func ci (ch) = { | |
423 | 423 | let k = cd() | |
424 | 424 | if ($isInstanceOf(k, "ByteVector")) | |
425 | 425 | then { | |
426 | 426 | let cj = k | |
427 | 427 | if ((ch.callerPublicKey == cj)) | |
428 | 428 | then true | |
429 | 429 | else cf | |
430 | 430 | } | |
431 | 431 | else if ($isInstanceOf(k, "Unit")) | |
432 | 432 | then if ((ch.caller == this)) | |
433 | 433 | then true | |
434 | 434 | else cf | |
435 | 435 | else throw("Match error") | |
436 | 436 | } | |
437 | 437 | ||
438 | 438 | ||
439 | 439 | @Callable(ch) | |
440 | 440 | func constructor (ck) = { | |
441 | 441 | let cl = ci(ch) | |
442 | 442 | if ((cl == cl)) | |
443 | 443 | then [StringEntry(I(), ck)] | |
444 | 444 | else throw("Strict value is not equal to itself.") | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(ch) | |
450 | 450 | func constructorV2 (cm) = { | |
451 | 451 | let cn = [ci(ch), if ((addressFromString(cm) != unit)) | |
452 | 452 | then true | |
453 | 453 | else "invalid voting emission contract address"] | |
454 | 454 | if ((cn == cn)) | |
455 | 455 | then [StringEntry(J(), cm)] | |
456 | 456 | else throw("Strict value is not equal to itself.") | |
457 | 457 | } | |
458 | 458 | ||
459 | 459 | ||
460 | 460 | ||
461 | 461 | @Callable(ch) | |
462 | 462 | func setManager (co) = { | |
463 | 463 | let cl = ci(ch) | |
464 | 464 | if ((cl == cl)) | |
465 | 465 | then { | |
466 | 466 | let cp = fromBase58String(co) | |
467 | 467 | if ((cp == cp)) | |
468 | 468 | then [StringEntry(T(), co)] | |
469 | 469 | else throw("Strict value is not equal to itself.") | |
470 | 470 | } | |
471 | 471 | else throw("Strict value is not equal to itself.") | |
472 | 472 | } | |
473 | 473 | ||
474 | 474 | ||
475 | 475 | ||
476 | 476 | @Callable(ch) | |
477 | 477 | func confirmManager () = { | |
478 | 478 | let cq = ce() | |
479 | 479 | let cr = if (isDefined(cq)) | |
480 | 480 | then true | |
481 | 481 | else throw("No pending manager") | |
482 | 482 | if ((cr == cr)) | |
483 | 483 | then { | |
484 | 484 | let cs = if ((ch.callerPublicKey == value(cq))) | |
485 | 485 | then true | |
486 | 486 | else throw("You are not pending manager") | |
487 | 487 | if ((cs == cs)) | |
488 | 488 | then [StringEntry(S(), toBase58String(value(cq))), DeleteEntry(T())] | |
489 | 489 | else throw("Strict value is not equal to itself.") | |
490 | 490 | } | |
491 | 491 | else throw("Strict value is not equal to itself.") | |
492 | 492 | } | |
493 | 493 | ||
494 | 494 | ||
495 | 495 | ||
496 | 496 | @Callable(ch) | |
497 | 497 | func stake () = if ((size(ch.payments) != 1)) | |
498 | 498 | then throw("invalid payment - exact one payment must be attached") | |
499 | 499 | else { | |
500 | 500 | let ct = ch.payments[0] | |
501 | 501 | let ay = value(ct.assetId) | |
502 | 502 | let aq = toBase58String(ay) | |
503 | 503 | let aQ = ct.amount | |
504 | 504 | let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq)) | |
505 | 505 | let cu = toString(ch.caller) | |
506 | 506 | let ap = if ((cu == bt)) | |
507 | 507 | then toString(ch.originCaller) | |
508 | 508 | else cu | |
509 | 509 | let bU = ao(ap, aq) | |
510 | 510 | let bv = ar(aq) | |
511 | 511 | let bo = aw(bU) | |
512 | 512 | let bw = aw(bv) | |
513 | 513 | let cv = bQ(aq, ap, bt, aQ) | |
514 | 514 | let ca = cv._1 | |
515 | 515 | let cw = cv._2 | |
516 | 516 | let bP = cv._3 | |
517 | 517 | let ba = aY(aq) | |
518 | 518 | let cx = if (bf(ba, ap)) | |
519 | 519 | then nil | |
520 | 520 | else bj(ba, ap) | |
521 | 521 | (([IntegerEntry(bU, (bo + aQ)), IntegerEntry(bv, (bw + aQ)), aR("stake", ap, aq, aQ, ch.transactionId)] ++ cw) ++ cx) | |
522 | 522 | } | |
523 | 523 | ||
524 | 524 | ||
525 | 525 | ||
526 | 526 | @Callable(ch) | |
527 | 527 | func unstake (aq,aQ) = { | |
528 | 528 | let ay = fromBase58String(aq) | |
529 | 529 | let bt = valueOrErrorMessage(getString(aU, W(aq)), ("unsupported lp asset " + aq)) | |
530 | 530 | let cy = valueOrElse(getString(addressFromStringValue(bt), V()), bt) | |
531 | 531 | let cu = toString(ch.caller) | |
532 | 532 | let ap = if (if ((cu == bt)) | |
533 | 533 | then true | |
534 | 534 | else (cu == cy)) | |
535 | 535 | then toString(ch.originCaller) | |
536 | 536 | else cu | |
537 | 537 | let bU = ao(ap, aq) | |
538 | 538 | let bv = ar(aq) | |
539 | 539 | let bo = aw(bU) | |
540 | 540 | let bw = aw(bv) | |
541 | 541 | let cw = bQ(aq, ap, bt, -(aQ))._2 | |
542 | 542 | let ba = aY(aq) | |
543 | 543 | let cx = if (if (bf(ba, ap)) | |
544 | 544 | then (aQ == bo) | |
545 | 545 | else false) | |
546 | 546 | then bm(ba, ap) | |
547 | 547 | else nil | |
548 | 548 | let cz = A(this, as(aq, ap)) | |
549 | 549 | let cA = v(aU, Z(aq)) | |
550 | 550 | let ca = bQ(aq, ap, cA, 0)._1 | |
551 | 551 | let cB = (ca - cz) | |
552 | 552 | let cC = if ((cB > g)) | |
553 | 553 | then invoke(this, "claimWxINTERNAL", [aq, ap], nil) | |
554 | 554 | else unit | |
555 | 555 | if ((cC == cC)) | |
556 | 556 | then if ((aQ > bo)) | |
557 | 557 | then throw(((((((("passed amount=" + toString(aQ)) + " is greater than available=") + toString(bo)) + ". lpAssetId=") + aq) + ". stakedByUserKEY=") + bU)) | |
558 | 558 | else (([IntegerEntry(bU, (bo - aQ)), IntegerEntry(bv, (bw - aQ)), ScriptTransfer(ch.caller, aQ, ay), aR("unstake", ap, aq, aQ, ch.transactionId)] ++ cw) ++ cx) | |
559 | 559 | else throw("Strict value is not equal to itself.") | |
560 | 560 | } | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | ||
564 | 564 | @Callable(ch) | |
565 | 565 | func claimWx (aq) = { | |
566 | 566 | let ap = toString(ch.caller) | |
567 | 567 | let cD = invoke(this, "claimWxINTERNAL", [aq, ap], nil) | |
568 | 568 | $Tuple2(nil, cD) | |
569 | 569 | } | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | ||
573 | 573 | @Callable(ch) | |
574 | 574 | func claimWxINTERNAL (aq,ap) = { | |
575 | 575 | let cl = cg(ch) | |
576 | 576 | if ((cl == cl)) | |
577 | 577 | then { | |
578 | 578 | let aA = valueOrErrorMessage(addressFromString(ap), "claimWxINTERNAL: invalid user address") | |
579 | 579 | let bt = v(aU, Z(aq)) | |
580 | 580 | let cE = as(aq, ap) | |
581 | 581 | let cF = av(aq) | |
582 | 582 | let cG = at(aq, ap) | |
583 | 583 | let cH = au(aq, ap) | |
584 | 584 | let cz = A(this, cE) | |
585 | 585 | let cI = A(this, cG) | |
586 | 586 | let cJ = A(this, cH) | |
587 | 587 | let cK = A(this, cF) | |
588 | 588 | let cL = bQ(aq, ap, bt, 0) | |
589 | 589 | let ca = cL._1 | |
590 | 590 | let cw = cL._2 | |
591 | 591 | let bP = cL._3 | |
592 | 592 | let cB = max([(ca - cz), g]) | |
593 | 593 | if ((g >= cB)) | |
594 | 594 | then throw("nothing to claim") | |
595 | 595 | else { | |
596 | 596 | let cM = max([m(i(invoke(aW, "claimWxBoost", [aq, ap], nil))[0]), 0]) | |
597 | 597 | let cN = cB | |
598 | 598 | let cO = min([(cN * toBigInt(2)), toBigInt(cM)]) | |
599 | - | let cP = (cN + cO) | |
600 | - | let cQ = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0]) | |
601 | - | let cR = i(invoke(aV, "emit", [toInt(cO)], nil)) | |
602 | - | if ((cR == cR)) | |
599 | + | let cP = q(i(invoke(aV, "emit", [toInt(cN)], nil))[0]) | |
600 | + | let cQ = i(invoke(aV, "emit", [toInt(cO)], nil)) | |
601 | + | if ((cQ == cQ)) | |
603 | 602 | then { | |
604 | - | let cS = (cz + cB) | |
603 | + | let cR = (cz + cB) | |
604 | + | let cS = (cI + cN) | |
605 | 605 | let cT = (cI + cN) | |
606 | 606 | let cU = (cI + cN) | |
607 | - | let cV = (cI + cN) | |
608 | - | $Tuple2([StringEntry(cE, toString(cS)), StringEntry(cG, toString(cT)), StringEntry(cH, toString(cU)), StringEntry(cF, toString(cV)), ScriptTransfer(aA, toInt(cN), cQ), ScriptTransfer(aA, toInt(cO), cQ), aR("claim", ap, aq, toInt(cB), ch.transactionId)], cP) | |
607 | + | [StringEntry(cE, toString(cR)), StringEntry(cG, toString(cS)), StringEntry(cH, toString(cT)), StringEntry(cF, toString(cU)), ScriptTransfer(aA, toInt(cN), cP), ScriptTransfer(aA, toInt(cO), cP), aR("claim", ap, aq, toInt(cB), ch.transactionId)] | |
609 | 608 | } | |
610 | 609 | else throw("Strict value is not equal to itself.") | |
611 | 610 | } | |
612 | 611 | } | |
613 | 612 | else throw("Strict value is not equal to itself.") | |
614 | 613 | } | |
615 | 614 | ||
616 | 615 | ||
617 | 616 | ||
618 | 617 | @Callable(ch) | |
619 | - | func claimWxBulkInternalREADONLY (cW | |
620 | - | then $Tuple2(nil, | |
618 | + | func claimWxBulkInternalREADONLY (cV,cW,ap,cX) = if ((cV == size(cW))) | |
619 | + | then $Tuple2(nil, cX) | |
621 | 620 | else { | |
622 | - | let ay = | |
623 | - | let | |
624 | - | let | |
625 | - | if ($isInstanceOf( | |
626 | - | then | |
627 | - | else throw(($getType( | |
621 | + | let ay = cW[cV] | |
622 | + | let cY = split({ | |
623 | + | let cZ = invoke(this, "claimWxREADONLY", [ay, ap], nil) | |
624 | + | if ($isInstanceOf(cZ, "String")) | |
625 | + | then cZ | |
626 | + | else throw(($getType(cZ) + " couldn't be cast to String")) | |
628 | 627 | }, e) | |
629 | - | let | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | let | |
634 | - | if ($isInstanceOf( | |
635 | - | then | |
636 | - | else throw(($getType( | |
628 | + | let da = cY[3] | |
629 | + | let db = cY[4] | |
630 | + | let dc = (cX :+ makeString(["%d%d", da, db], e)) | |
631 | + | let dd = { | |
632 | + | let cZ = invoke(this, "claimWxBulkInternalREADONLY", [(cV + 1), cW, ap, dc], nil) | |
633 | + | if ($isInstanceOf(cZ, "List[Any]")) | |
634 | + | then cZ | |
635 | + | else throw(($getType(cZ) + " couldn't be cast to List[Any]")) | |
637 | 636 | } | |
638 | - | if (( | |
639 | - | then $Tuple2(nil, | |
637 | + | if ((dd == dd)) | |
638 | + | then $Tuple2(nil, dd) | |
640 | 639 | else throw("Strict value is not equal to itself.") | |
641 | 640 | } | |
642 | 641 | ||
643 | 642 | ||
644 | 643 | ||
645 | 644 | @Callable(ch) | |
646 | - | func claimWxBulkREADONLY ( | |
647 | - | let | |
648 | - | $Tuple2(nil, | |
645 | + | func claimWxBulkREADONLY (cW,ap) = { | |
646 | + | let dc = invoke(this, "claimWxBulkInternalREADONLY", [0, cW, ap, nil], nil) | |
647 | + | $Tuple2(nil, dc) | |
649 | 648 | } | |
650 | 649 | ||
651 | 650 | ||
652 | 651 | ||
653 | 652 | @Callable(ch) | |
654 | 653 | func claimWxREADONLY (aq,ap) = { | |
655 | 654 | let bU = ao(ap, aq) | |
656 | 655 | let bv = ar(aq) | |
657 | 656 | let cE = as(aq, ap) | |
658 | 657 | let bo = aw(bU) | |
659 | 658 | let bw = aw(bv) | |
660 | 659 | let cz = A(this, cE) | |
661 | 660 | let bt = v(aU, Z(aq)) | |
662 | 661 | let by = getIntegerValue(aU, aa(bt)) | |
663 | - | let | |
662 | + | let de = z(aV, aj()) | |
664 | 663 | let bz = z(aV, al()) | |
665 | - | let | |
664 | + | let df = if ((bz > height)) | |
666 | 665 | then 0 | |
667 | 666 | else (height - bz) | |
668 | - | let | |
669 | - | let | |
670 | - | let | |
671 | - | let ca = | |
672 | - | let cw = | |
673 | - | let bP = | |
667 | + | let dg = fraction((de * df), by, f) | |
668 | + | let dh = fraction(dg, bo, bw) | |
669 | + | let di = bQ(aq, ap, bt, 0) | |
670 | + | let ca = di._1 | |
671 | + | let cw = di._2 | |
672 | + | let bP = di._3 | |
674 | 673 | let cB = max([(ca - cz), g]) | |
675 | - | let | |
676 | - | let cM = max([m( | |
677 | - | let | |
674 | + | let dj = i(invoke(aW, "claimWxBoostREADONLY", [aq, ap], nil)) | |
675 | + | let cM = max([m(dj[0]), 0]) | |
676 | + | let dk = o(dj[1]) | |
678 | 677 | let cN = cB | |
679 | 678 | let cO = min([(cN * toBigInt(2)), toBigInt(cM)]) | |
680 | - | let cP = (cN + cO) | |
681 | - | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(cP), toString(cz), toString(cN), toString(cO), "soon"], e)) | |
682 | - | } | |
683 | - | ||
684 | - | ||
685 | - | ||
686 | - | @Callable(ch) | |
687 | - | func stakedByUserREADONLY (aq,ap) = { | |
688 | - | let bo = valueOrElse(getInteger(ao(ap, aq)), 0) | |
689 | - | $Tuple2(nil, bo) | |
679 | + | let dl = (cN + cO) | |
680 | + | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", aq, ap, toString(dl), toString(cz), toString(cN), toString(cO), "soon"], e)) | |
690 | 681 | } | |
691 | 682 | ||
692 | 683 | ||
693 | 684 | ||
694 | 685 | @Callable(ch) | |
695 | 686 | func usersListTraversal (ay) = { | |
696 | 687 | let cl = if ((toBase58String(ch.caller.bytes) == valueOrElse(getString(this, J()), ""))) | |
697 | 688 | then true | |
698 | 689 | else ci(ch) | |
699 | 690 | if ((cl == cl)) | |
700 | 691 | then { | |
701 | 692 | let ba = aY(ay) | |
702 | 693 | let dm = getString(aX(ay)) | |
703 | 694 | let bg = getString(aZ(ba)) | |
704 | 695 | let k = dm | |
705 | 696 | if ($isInstanceOf(k, "Unit")) | |
706 | 697 | then { | |
707 | 698 | let dn = bg | |
708 | 699 | if ($isInstanceOf(dn, "Unit")) | |
709 | 700 | then $Tuple2(nil, false) | |
710 | 701 | else if ($isInstanceOf(dn, "String")) | |
711 | 702 | then { | |
712 | 703 | let do = dn | |
713 | 704 | $Tuple2([StringEntry(aX(ay), do)], true) | |
714 | 705 | } | |
715 | 706 | else throw("Match error") | |
716 | 707 | } | |
717 | 708 | else if ($isInstanceOf(k, "String")) | |
718 | 709 | then { | |
719 | 710 | let aA = k | |
720 | 711 | let cz = A(this, as(ay, aA)) | |
721 | 712 | let cA = v(aU, Z(ay)) | |
722 | 713 | let ca = bQ(ay, aA, cA, 0)._1 | |
723 | 714 | let cB = (ca - cz) | |
724 | 715 | let cC = if ((cB > g)) | |
725 | 716 | then invoke(this, "claimWxINTERNAL", [ay, aA], nil) | |
726 | 717 | else unit | |
727 | 718 | if ((cC == cC)) | |
728 | 719 | then { | |
729 | 720 | let dp = getString(be(ba, aA)) | |
730 | 721 | let dn = dp | |
731 | 722 | if ($isInstanceOf(dn, "Unit")) | |
732 | 723 | then $Tuple2([DeleteEntry(aX(ay))], false) | |
733 | 724 | else if ($isInstanceOf(dn, "String")) | |
734 | 725 | then { | |
735 | 726 | let dq = dn | |
736 | 727 | $Tuple2([StringEntry(aX(ay), dq)], true) | |
737 | 728 | } | |
738 | 729 | else throw("Match error") | |
739 | 730 | } | |
740 | 731 | else throw("Strict value is not equal to itself.") | |
741 | 732 | } | |
742 | 733 | else throw("Match error") | |
743 | 734 | } | |
744 | 735 | else throw("Strict value is not equal to itself.") | |
745 | 736 | } | |
746 | 737 | ||
747 | 738 | ||
748 | 739 | ||
749 | 740 | @Callable(ch) | |
750 | 741 | func onModifyWeight (aq,bt) = if ((ch.caller != aU)) | |
751 | 742 | then throw("permissions denied") | |
752 | 743 | else { | |
753 | 744 | let dr = bs(aq, bt, 0) | |
754 | 745 | let bq = dr._1 | |
755 | 746 | let bS = dr._2 | |
756 | 747 | let bT = dr._3 | |
757 | 748 | bS | |
758 | 749 | } | |
759 | 750 | ||
760 | 751 | ||
761 | 752 | @Verifier(ds) | |
762 | 753 | func dt () = { | |
763 | 754 | let du = { | |
764 | 755 | let k = cd() | |
765 | 756 | if ($isInstanceOf(k, "ByteVector")) | |
766 | 757 | then { | |
767 | 758 | let cj = k | |
768 | 759 | cj | |
769 | 760 | } | |
770 | 761 | else if ($isInstanceOf(k, "Unit")) | |
771 | 762 | then ds.senderPublicKey | |
772 | 763 | else throw("Match error") | |
773 | 764 | } | |
774 | 765 | sigVerify(ds.bodyBytes, ds.proofs[0], du) | |
775 | 766 | } | |
776 | 767 |
github/deemru/w8io/026f985 98.33 ms ◑