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