tx · B5LvnzZWtybPu3ApyvpE1ahsjKTnQEZKn3ExATh18VGw 3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA: -0.02000000 Waves 2023.07.04 10:32 [2650865] smart account 3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA > SELF 0.00000000 Waves
{ "type": 13, "id": "B5LvnzZWtybPu3ApyvpE1ahsjKTnQEZKn3ExATh18VGw", "fee": 2000000, "feeAssetId": null, "timestamp": 1688455964504, "version": 1, "sender": "3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA", "senderPublicKey": "8nr9XxGKmrRg6E6Zss6YPynBYEFbCf39Z2D9WvVuUgzY", "proofs": [ "5ZJtShEELgFbTcKFpB1t5X4DYH8aegAXBSpmxgvZeD47Zuy5RaWbYWbMfK5SfiYvhAAH518heN44rdPXgvwAuXai" ], "script": "base64:BwIqCAISAwoBAhIGCgQCAQEBEgMKAQISAwoBAhIECgICAhIECgICAhIDCgECKAADU0VQAgJfXwANQ09OVFJBQ1RfTkFNRQIPY2FsY3VsYXRvci5yaWRlAAZTQ0FMRTgAgMLXLwAHUEVORElORwIHUEVORElORwAIRklOSVNIRUQCCEZJTklTSEVEAAVXQVZFUwIFV0FWRVMBB3dyYXBFcnIBAXMJAKwCAgkArAICBQ1DT05UUkFDVF9OQU1FAgI6IAUBcwEIdGhyb3dFcnIBAXMJAAIBCQEHd3JhcEVycgEFAXMBD2Fzc2V0SWRUb1N0cmluZwEHYXNzZXRJZAQHJG1hdGNoMAUHYXNzZXRJZAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAFiBQckbWF0Y2gwCQDYBAEFAWIDCQABAgUHJG1hdGNoMAIEVW5pdAUFV0FWRVMJAAIBAgtNYXRjaCBlcnJvcgEDYWJzAQFuAwkAZgIAAAUBbgkBAS0BBQFuBQFuARFrZXlGYWN0b3J5QWRkcmVzcwAJALkJAgkAzAgCAgIlcwkAzAgCAgdmYWN0b3J5BQNuaWwFA1NFUAEMa2V5THBBc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kAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkgUpu8", "chainId": 84, "height": 2650865, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3Lr7BqyTgiuPQMK8VPqWbFxwxUJMcBJ81f3LUhbLKDUz Next: 44m9yjWpS7gNhmv6EENXArPuAkciZcSLmL6kCRfkzgjP Diff:
Old | New | Differences | |
---|---|---|---|
533 | 533 | let bP = bH._2 | |
534 | 534 | let bQ = bH._1 | |
535 | 535 | let bR = (bP - br) | |
536 | - | let bf = [ | |
536 | + | let bf = [invoke(T, "reissue", [bQ], nil), invoke(T, "integerEntry", [E(), (aE + bq)], nil), invoke(T, "transferFromProxyTreasury", [ab.bytes, bR], nil), invoke(T, "transferFromProxyTreasury", [as, br], nil)] | |
537 | 537 | if ((bf == bf)) | |
538 | 538 | then $Tuple2(nil, unit) | |
539 | 539 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 7 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "calculator.ride" | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = "PENDING" | |
11 | 11 | ||
12 | 12 | let e = "FINISHED" | |
13 | 13 | ||
14 | 14 | let f = "WAVES" | |
15 | 15 | ||
16 | 16 | func g (h) = ((b + ": ") + h) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func i (h) = throw(g(h)) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func j (k) = { | |
23 | 23 | let l = k | |
24 | 24 | if ($isInstanceOf(l, "ByteVector")) | |
25 | 25 | then { | |
26 | 26 | let m = l | |
27 | 27 | toBase58String(m) | |
28 | 28 | } | |
29 | 29 | else if ($isInstanceOf(l, "Unit")) | |
30 | 30 | then f | |
31 | 31 | else throw("Match error") | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func n (o) = if ((0 > o)) | |
36 | 36 | then -(o) | |
37 | 37 | else o | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func p () = makeString(["%s", "factory"], a) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func q () = makeString(["%s", "lpAssetId"], a) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func r () = makeString(["%s", "proxyTreasury"], a) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func s () = makeString(["%s", "mainTreasury"], a) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func t (k) = makeString(["%s%s", "invested", j(k)], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func u (k) = makeString(["%s%s", "donated", j(k)], a) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func v (w) = makeString(["%s%s", "available", toString(w)], a) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func x (w) = makeString(["%s%s", "claimed", toString(w)], a) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func y () = makeString(["%s", "currentPeriod"], a) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func z (A) = makeString(["%s%d", "price", toString(A)], a) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func B (A) = makeString(["%s%d", "startHeight", toString(A)], a) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func C () = "%s__periodLength" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func D () = "%s__blockProcessingReward" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func E () = "%s__nextBlockToProcess" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func F (G) = makeString(["%s%d", "blockProcessed", toString(G)], a) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func H () = "%s__withdrawal" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func I (w,J) = makeString(["%s%s%s", "withdrawal", toString(w), toBase58String(J)], a) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func K (L,M,N,O) = { | |
92 | 92 | let P = { | |
93 | 93 | let l = O | |
94 | 94 | if ($isInstanceOf(l, "ByteVector")) | |
95 | 95 | then { | |
96 | 96 | let m = l | |
97 | 97 | toBase58String(m) | |
98 | 98 | } | |
99 | 99 | else if ($isInstanceOf(l, "Unit")) | |
100 | 100 | then "SOON" | |
101 | 101 | else throw("Match error") | |
102 | 102 | } | |
103 | 103 | makeString(["%s%d%d%s", L, toString(M), toString(N), P], a) | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func Q (h) = { | |
108 | 108 | let R = split(h, a) | |
109 | 109 | if ((size(R) == 5)) | |
110 | 110 | then { | |
111 | 111 | let L = R[1] | |
112 | 112 | let M = valueOrErrorMessage(parseInt(R[2]), g("invalid lpAssetAmount")) | |
113 | 113 | let N = valueOrErrorMessage(parseInt(R[3]), g("invalid targetPeriod")) | |
114 | 114 | let O = R[4] | |
115 | 115 | $Tuple4(L, M, N, O) | |
116 | 116 | } | |
117 | 117 | else i("invalid withdrawal request value") | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | let S = { | |
122 | 122 | let l = getString(this, p()) | |
123 | 123 | if ($isInstanceOf(l, "String")) | |
124 | 124 | then { | |
125 | 125 | let h = l | |
126 | 126 | addressFromString(h) | |
127 | 127 | } | |
128 | 128 | else if ($isInstanceOf(l, "Unit")) | |
129 | 129 | then unit | |
130 | 130 | else throw("Match error") | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | let T = valueOrErrorMessage(S, g("invalid factory address")) | |
134 | 134 | ||
135 | 135 | let U = { | |
136 | 136 | let l = S | |
137 | 137 | if ($isInstanceOf(l, "Address")) | |
138 | 138 | then { | |
139 | 139 | let V = l | |
140 | 140 | let W = getString(V, q()) | |
141 | 141 | if ($isInstanceOf(W, "String")) | |
142 | 142 | then { | |
143 | 143 | let h = W | |
144 | 144 | fromBase58String(h) | |
145 | 145 | } | |
146 | 146 | else if ($isInstanceOf(W, "Unit")) | |
147 | 147 | then unit | |
148 | 148 | else throw("Match error") | |
149 | 149 | } | |
150 | 150 | else if ($isInstanceOf(l, "Unit")) | |
151 | 151 | then unit | |
152 | 152 | else throw("Match error") | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | let X = valueOrErrorMessage(U, g("invalid lpAssetId")) | |
156 | 156 | ||
157 | 157 | let Y = { | |
158 | 158 | let l = S | |
159 | 159 | if ($isInstanceOf(l, "Address")) | |
160 | 160 | then { | |
161 | 161 | let V = l | |
162 | 162 | let W = getString(V, r()) | |
163 | 163 | if ($isInstanceOf(W, "String")) | |
164 | 164 | then { | |
165 | 165 | let h = W | |
166 | 166 | addressFromString(h) | |
167 | 167 | } | |
168 | 168 | else if ($isInstanceOf(W, "Unit")) | |
169 | 169 | then unit | |
170 | 170 | else throw("Match error") | |
171 | 171 | } | |
172 | 172 | else if ($isInstanceOf(l, "Unit")) | |
173 | 173 | then unit | |
174 | 174 | else throw("Match error") | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | let Z = valueOrErrorMessage(Y, g("invalid proxy treasury address")) | |
178 | 178 | ||
179 | 179 | let aa = { | |
180 | 180 | let l = S | |
181 | 181 | if ($isInstanceOf(l, "Address")) | |
182 | 182 | then { | |
183 | 183 | let V = l | |
184 | 184 | let W = getString(V, s()) | |
185 | 185 | if ($isInstanceOf(W, "String")) | |
186 | 186 | then { | |
187 | 187 | let h = W | |
188 | 188 | addressFromString(h) | |
189 | 189 | } | |
190 | 190 | else if ($isInstanceOf(W, "Unit")) | |
191 | 191 | then unit | |
192 | 192 | else throw("Match error") | |
193 | 193 | } | |
194 | 194 | else if ($isInstanceOf(l, "Unit")) | |
195 | 195 | then unit | |
196 | 196 | else throw("Match error") | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | let ab = valueOrErrorMessage(aa, g("invalid feature treasury address")) | |
200 | 200 | ||
201 | 201 | func ac (ad,ae) = if ((ad.caller == ae)) | |
202 | 202 | then true | |
203 | 203 | else i("permission denied") | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func af (ad) = ac(ad, T) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func ag (ah,ai) = { | |
210 | 210 | let h = size(ah) | |
211 | 211 | let aj = ah[0] | |
212 | 212 | let ak = aj._1 | |
213 | 213 | let al = aj._2 | |
214 | 214 | let am = ah[1] | |
215 | 215 | let an = am._1 | |
216 | 216 | let ao = am._2 | |
217 | 217 | let ap = ah[2] | |
218 | 218 | let aq = ap._1 | |
219 | 219 | let ar = ap._2 | |
220 | 220 | if (if ((h > 0)) | |
221 | 221 | then (ak == ai) | |
222 | 222 | else false) | |
223 | 223 | then al | |
224 | 224 | else if (if ((h > 1)) | |
225 | 225 | then (an == ai) | |
226 | 226 | else false) | |
227 | 227 | then ao | |
228 | 228 | else if (if ((h > 2)) | |
229 | 229 | then (aq == ai) | |
230 | 230 | else false) | |
231 | 231 | then ar | |
232 | 232 | else unit | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | @Callable(ad) | |
237 | 237 | func claimLP (as) = { | |
238 | 238 | let at = af(ad) | |
239 | 239 | if ((at == at)) | |
240 | 240 | then { | |
241 | 241 | let w = Address(as) | |
242 | 242 | let au = valueOrElse(getInteger(T, v(w)), 0) | |
243 | 243 | let av = valueOrElse(getInteger(T, x(w)), 0) | |
244 | 244 | let aw = if ((au > 0)) | |
245 | 245 | then [invoke(T, "transferAsset", [as, au, X], nil), invoke(T, "integerEntry", [v(w), 0], nil), invoke(T, "integerEntry", [x(w), (av + au)], nil)] | |
246 | 246 | else i("nothing to claim") | |
247 | 247 | $Tuple2(nil, aw) | |
248 | 248 | } | |
249 | 249 | else throw("Strict value is not equal to itself.") | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | ||
254 | 254 | @Callable(ad) | |
255 | 255 | func finalize (as,ax,ay,az) = { | |
256 | 256 | let at = af(ad) | |
257 | 257 | if ((at == at)) | |
258 | 258 | then { | |
259 | 259 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
260 | 260 | let aB = valueOrErrorMessage(getInteger(T, C()), g("invalid period length")) | |
261 | 261 | let aC = valueOrErrorMessage(getInteger(T, B(aA)), g("invalid start height")) | |
262 | 262 | let aD = valueOrErrorMessage(getInteger(T, z(aA)), g("invalid price")) | |
263 | 263 | let aE = valueOrErrorMessage(getInteger(T, E()), g("invalid next block to process")) | |
264 | 264 | let aF = ((aC + aB) - 1) | |
265 | 265 | let aG = [if ((ad.originCaller == ab)) | |
266 | 266 | then true | |
267 | 267 | else i("permission denied"), if ((aE > aF)) | |
268 | 268 | then true | |
269 | 269 | else i("unprocessed blocks"), if ((ax >= 0)) | |
270 | 270 | then true | |
271 | 271 | else i("invalid new treasury volume"), if ((ay >= 0)) | |
272 | 272 | then true | |
273 | 273 | else i("invalid PWR managers bonus"), if (if ((az >= -(c))) | |
274 | 274 | then (c >= az) | |
275 | 275 | else false) | |
276 | 276 | then true | |
277 | 277 | else i("invalid treasury volume diff allocation coefficient")] | |
278 | 278 | if ((aG == aG)) | |
279 | 279 | then { | |
280 | 280 | let aH = valueOrElse(getInteger(T, u(unit)), 0) | |
281 | 281 | let aI = valueOrElse(getInteger(T, t(unit)), 0) | |
282 | 282 | let aJ = (aH + aI) | |
283 | 283 | let aK = (ax - aJ) | |
284 | 284 | let aL = if (if ((aK > 0)) | |
285 | 285 | then (aK >= ay) | |
286 | 286 | else false) | |
287 | 287 | then ay | |
288 | 288 | else 0 | |
289 | 289 | let aM = (aK - aL) | |
290 | 290 | let aN = if ((aJ > 0)) | |
291 | 291 | then fraction(aH, c, aJ) | |
292 | 292 | else 0 | |
293 | 293 | let aO = fraction(aM, aN, c) | |
294 | 294 | let aP = (aM - aO) | |
295 | 295 | let aQ = n(az) | |
296 | 296 | let aR = fraction(aP, if ((0 > az)) | |
297 | 297 | then aQ | |
298 | 298 | else 0, c) | |
299 | 299 | let aS = fraction(aO, if ((az > 0)) | |
300 | 300 | then aQ | |
301 | 301 | else 0, c) | |
302 | 302 | let aT = ((aO - aS) + aR) | |
303 | 303 | let aU = ((aP - aR) + aS) | |
304 | 304 | let aV = (aI + aU) | |
305 | 305 | let aW = (aA + 1) | |
306 | 306 | let aX = valueOrErrorMessage(assetInfo(X), g("invalid lpAsset info")).quantity | |
307 | 307 | let aY = fraction(aV, c, aX) | |
308 | 308 | let aZ = valueOrElse(getInteger(T, H()), 0) | |
309 | 309 | let ba = max([0, fraction(aZ, aY, c)]) | |
310 | 310 | let bb = if ((size(ad.payments) > 0)) | |
311 | 311 | then ad.payments[0] | |
312 | 312 | else unit | |
313 | 313 | let bc = value(bb).amount | |
314 | 314 | let bd = value(bb).assetId | |
315 | 315 | let be = if (if ((ba == 0)) | |
316 | 316 | then true | |
317 | 317 | else if (if ((bb != unit)) | |
318 | 318 | then (bd == unit) | |
319 | 319 | else false) | |
320 | 320 | then (bc >= ba) | |
321 | 321 | else false) | |
322 | 322 | then true | |
323 | 323 | else i(("invalid payments, payment amount min: " + toString(ba))) | |
324 | 324 | if ((be == be)) | |
325 | 325 | then { | |
326 | 326 | let bf = if ((bb != unit)) | |
327 | 327 | then [ScriptTransfer(T, bc, bd)] | |
328 | 328 | else nil | |
329 | 329 | let aw = [invoke(T, "integerEntry", [y(), aW], nil), invoke(T, "integerEntry", [z(aW), aY], nil), invoke(T, "integerEntry", [B(aW), (aF + 1)], nil), invoke(T, "burn", [aZ], nil), invoke(T, "integerEntry", [H(), 0], nil)] | |
330 | 330 | $Tuple2(bf, aw) | |
331 | 331 | } | |
332 | 332 | else throw("Strict value is not equal to itself.") | |
333 | 333 | } | |
334 | 334 | else throw("Strict value is not equal to itself.") | |
335 | 335 | } | |
336 | 336 | else throw("Strict value is not equal to itself.") | |
337 | 337 | } | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | ||
341 | 341 | @Callable(ad) | |
342 | 342 | func invest (as) = { | |
343 | 343 | let at = af(ad) | |
344 | 344 | if ((at == at)) | |
345 | 345 | then { | |
346 | 346 | let w = Address(as) | |
347 | 347 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
348 | 348 | let aD = valueOrErrorMessage(getInteger(T, z(aA)), g("invalid price")) | |
349 | 349 | let bg = if ((size(ad.payments) == 1)) | |
350 | 350 | then ad.payments[0] | |
351 | 351 | else i("invalid payments") | |
352 | 352 | let bh = if (if ((bg.assetId == unit)) | |
353 | 353 | then (bg.amount > 0) | |
354 | 354 | else false) | |
355 | 355 | then $Tuple2(bg.amount, bg.assetId) | |
356 | 356 | else i("invalid payment amount") | |
357 | 357 | let bc = bh._1 | |
358 | 358 | let bd = bh._2 | |
359 | 359 | let M = if ((aD > 0)) | |
360 | 360 | then fraction(bc, c, aD) | |
361 | 361 | else 0 | |
362 | 362 | let bi = valueOrElse(getInteger(T, t(unit)), 0) | |
363 | 363 | let bf = [ScriptTransfer(ab, bc, bd)] | |
364 | 364 | let aw = [invoke(T, "integerEntry", [t(unit), (bi + bc)], nil), invoke(T, "reissue", [M], nil), invoke(T, "transferAsset", [as, M, X], nil)] | |
365 | 365 | $Tuple2(bf, aw) | |
366 | 366 | } | |
367 | 367 | else throw("Strict value is not equal to itself.") | |
368 | 368 | } | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | ||
372 | 372 | @Callable(ad) | |
373 | 373 | func withdraw (as) = { | |
374 | 374 | let at = af(ad) | |
375 | 375 | if ((at == at)) | |
376 | 376 | then { | |
377 | 377 | let w = Address(as) | |
378 | 378 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
379 | 379 | let bg = if ((size(ad.payments) == 1)) | |
380 | 380 | then ad.payments[0] | |
381 | 381 | else i(g("invalid payments")) | |
382 | 382 | let bd = if ((bg.assetId == X)) | |
383 | 383 | then X | |
384 | 384 | else i("invalid payment asset") | |
385 | 385 | let bc = if ((bg.amount > 0)) | |
386 | 386 | then bg.amount | |
387 | 387 | else i("invalid payment amount") | |
388 | 388 | let bj = valueOrElse(getInteger(T, H()), 0) | |
389 | 389 | let bf = [ScriptTransfer(T, bc, bd)] | |
390 | 390 | let aw = [invoke(T, "integerEntry", [H(), (bj + bc)], nil), invoke(T, "stringEntry", [I(w, ad.transactionId), K(d, bc, (aA + 1), unit)], nil)] | |
391 | 391 | if ((aw == aw)) | |
392 | 392 | then $Tuple2(bf, aw) | |
393 | 393 | else throw("Strict value is not equal to itself.") | |
394 | 394 | } | |
395 | 395 | else throw("Strict value is not equal to itself.") | |
396 | 396 | } | |
397 | 397 | ||
398 | 398 | ||
399 | 399 | ||
400 | 400 | @Callable(ad) | |
401 | 401 | func cancelWithdraw (as,J) = { | |
402 | 402 | let at = af(ad) | |
403 | 403 | if ((at == at)) | |
404 | 404 | then { | |
405 | 405 | let w = Address(as) | |
406 | 406 | let bk = valueOrErrorMessage(getString(T, I(w, J)), g("invalid withdrawal request")) | |
407 | 407 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
408 | 408 | let bl = Q(bk) | |
409 | 409 | let L = bl._1 | |
410 | 410 | let M = bl._2 | |
411 | 411 | let N = bl._3 | |
412 | 412 | let O = bl._4 | |
413 | 413 | let aG = [if ((L == d)) | |
414 | 414 | then true | |
415 | 415 | else i("invalid withdrawal request status"), if ((N > aA)) | |
416 | 416 | then true | |
417 | 417 | else i("invalid withdrawal request period")] | |
418 | 418 | if ((aG == aG)) | |
419 | 419 | then { | |
420 | 420 | let bj = valueOrErrorMessage(getInteger(T, H()), g("invalid total withdrawal amount")) | |
421 | 421 | let aw = [invoke(T, "integerEntry", [H(), if ((bj >= M)) | |
422 | 422 | then (bj - M) | |
423 | 423 | else i("invalid withdrawal amount")], nil), invoke(T, "deleteEntry", [I(w, J)], nil), invoke(T, "transferAsset", [as, M, X], nil)] | |
424 | 424 | if ((aw == aw)) | |
425 | 425 | then $Tuple2(nil, aw) | |
426 | 426 | else throw("Strict value is not equal to itself.") | |
427 | 427 | } | |
428 | 428 | else throw("Strict value is not equal to itself.") | |
429 | 429 | } | |
430 | 430 | else throw("Strict value is not equal to itself.") | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | ||
435 | 435 | @Callable(ad) | |
436 | 436 | func claimWaves (as,J) = { | |
437 | 437 | let at = af(ad) | |
438 | 438 | if ((at == at)) | |
439 | 439 | then { | |
440 | 440 | let w = Address(as) | |
441 | 441 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
442 | 442 | let bk = valueOrErrorMessage(getString(T, I(w, J)), g("invalid withdrawal request")) | |
443 | 443 | let bm = Q(bk) | |
444 | 444 | let L = bm._1 | |
445 | 445 | let M = bm._2 | |
446 | 446 | let N = bm._3 | |
447 | 447 | let O = bm._4 | |
448 | 448 | if ((L == e)) | |
449 | 449 | then i("invalid withdrawal request status") | |
450 | 450 | else if ((N > aA)) | |
451 | 451 | then i("invalid withdrawal request period") | |
452 | 452 | else { | |
453 | 453 | let bn = valueOrErrorMessage(getInteger(T, z(N)), g("invalid price")) | |
454 | 454 | let bo = if ((bn > 0)) | |
455 | 455 | then fraction(M, bn, c) | |
456 | 456 | else 0 | |
457 | 457 | let aw = [invoke(T, "stringEntry", [I(w, J), K(e, M, N, ad.transactionId)], nil), invoke(T, "transferWaves", [as, bo], nil)] | |
458 | 458 | $Tuple2(nil, aw) | |
459 | 459 | } | |
460 | 460 | } | |
461 | 461 | else throw("Strict value is not equal to itself.") | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | ||
466 | 466 | @Callable(ad) | |
467 | 467 | func processBlocks (as) = { | |
468 | 468 | let at = af(ad) | |
469 | 469 | if ((at == at)) | |
470 | 470 | then { | |
471 | 471 | let w = Address(as) | |
472 | 472 | let aA = valueOrErrorMessage(getInteger(T, y()), g("invalid period")) | |
473 | 473 | let aB = valueOrErrorMessage(getInteger(T, C()), g("invalid period length")) | |
474 | 474 | let aC = valueOrErrorMessage(getInteger(T, B(aA)), g("invalid start height")) | |
475 | 475 | let aD = valueOrErrorMessage(getInteger(T, z(aA)), g("invalid price")) | |
476 | 476 | let aE = valueOrErrorMessage(getInteger(T, E()), g("invalid next block to process")) | |
477 | 477 | let aF = ((aC + aB) - 1) | |
478 | 478 | let bp = 40 | |
479 | 479 | let bq = if (if (if ((height >= aE)) | |
480 | 480 | then if ((aE >= aC)) | |
481 | 481 | then true | |
482 | 482 | else (aA == 0) | |
483 | 483 | else false) | |
484 | 484 | then (aF >= aE) | |
485 | 485 | else false) | |
486 | 486 | then min([((aF - aE) + 1), bp]) | |
487 | 487 | else i(g("invalid target block")) | |
488 | 488 | let br = valueOrErrorMessage(getInteger(T, D()), g("invalid block processing reward")) | |
489 | 489 | let bs = (br / bq) | |
490 | 490 | let bt = (br - (bs * bq)) | |
491 | 491 | func bu (bv,bw) = if ((bw >= bq)) | |
492 | 492 | then bv | |
493 | 493 | else { | |
494 | 494 | let bx = (aE + bw) | |
495 | 495 | let by = valueOrErrorMessage(blockInfoByHeight(bx), g("invalid block info")) | |
496 | 496 | let bz = valueOrErrorMessage(ag(by.rewards, Z), g(("invalid treasury reward for height " + toString(bx)))) | |
497 | 497 | let bA = by.generator | |
498 | 498 | let au = valueOrElse(getInteger(T, v(bA)), 0) | |
499 | 499 | let bB = if ((bw == (bq - 1))) | |
500 | 500 | then (bs + bt) | |
501 | 501 | else bs | |
502 | 502 | let M = if ((aD > 0)) | |
503 | 503 | then fraction((bz - bB), c, aD) | |
504 | 504 | else 0 | |
505 | 505 | let bC = [invoke(T, "stringEntry", [F(bx), makeString([toBase58String(ad.transactionId), toString(aA), toString(bA), toBase58String(as), toString(bz), toString(bB), toString(M)], a)], nil), invoke(T, "integerEntry", [v(bA), (au + M)], nil)] | |
506 | 506 | if ((bC == bC)) | |
507 | 507 | then { | |
508 | 508 | let bD = bv | |
509 | 509 | let bE = bD._1 | |
510 | 510 | let bF = bD._2 | |
511 | 511 | $Tuple2((bE + M), (bF + bz)) | |
512 | 512 | } | |
513 | 513 | else throw("Strict value is not equal to itself.") | |
514 | 514 | } | |
515 | 515 | ||
516 | 516 | let bG = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39] | |
517 | 517 | let bH = { | |
518 | 518 | let bI = bG | |
519 | 519 | let bJ = size(bI) | |
520 | 520 | let bK = $Tuple2(0, 0) | |
521 | 521 | func bL (bM,bN) = if ((bN >= bJ)) | |
522 | 522 | then bM | |
523 | 523 | else bu(bM, bI[bN]) | |
524 | 524 | ||
525 | 525 | func bO (bM,bN) = if ((bN >= bJ)) | |
526 | 526 | then bM | |
527 | 527 | else throw("List size exceeds 40") | |
528 | 528 | ||
529 | 529 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40) | |
530 | 530 | } | |
531 | 531 | if ((bH == bH)) | |
532 | 532 | then { | |
533 | 533 | let bP = bH._2 | |
534 | 534 | let bQ = bH._1 | |
535 | 535 | let bR = (bP - br) | |
536 | - | let bf = [ | |
536 | + | let bf = [invoke(T, "reissue", [bQ], nil), invoke(T, "integerEntry", [E(), (aE + bq)], nil), invoke(T, "transferFromProxyTreasury", [ab.bytes, bR], nil), invoke(T, "transferFromProxyTreasury", [as, br], nil)] | |
537 | 537 | if ((bf == bf)) | |
538 | 538 | then $Tuple2(nil, unit) | |
539 | 539 | else throw("Strict value is not equal to itself.") | |
540 | 540 | } | |
541 | 541 | else throw("Strict value is not equal to itself.") | |
542 | 542 | } | |
543 | 543 | else throw("Strict value is not equal to itself.") | |
544 | 544 | } | |
545 | 545 | ||
546 | 546 | ||
547 | 547 | @Verifier(bS) | |
548 | 548 | func bT () = sigVerify(bS.bodyBytes, bS.proofs[0], bS.senderPublicKey) | |
549 | 549 |
github/deemru/w8io/169f3d6 87.97 ms ◑