tx · 8y85ZrncL4p65aih76BGhm1LVsVxLm514RftSrs6Q1rT 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T: -0.02400000 Waves 2022.08.24 12:34 [2198388] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves
{ "type": 13, "id": "8y85ZrncL4p65aih76BGhm1LVsVxLm514RftSrs6Q1rT", "fee": 2400000, "feeAssetId": null, "timestamp": 1661333679527, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "2qNZ3GNkCNJXCFProMo2fVtt3uKzH1MegTLAbj9pKBcGn5QbaJXpoW9Q5jWJxZZrbcNVyjrYCHB8s3nJu2JT7fKt" ], "script": "base64:AAIFAAAAAAAAAEAIAhINCgsICAgICAgBCAEIARIDCgEBEgQKAggIEgUKAwgIBBIECgIICBIDCgEBEgMKAQESBAoCCAgSAwoBCBIAAAAAJAAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAADmtleUVwb2NoTGVuZ3RoCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V3hBc3N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VoYXNQTQUAAAAFaGFzUE0EAAAAB2NoZWNrUE0DCQAAAAAAAAIIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkBAAAABXZhbHVlAAAAAQUAAAACcG0GCQAAAgAAAAECAAAAG3lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAAAAAAAAgUAAAAHY2hlY2tQTQUAAAAHY2hlY2tQTQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACcG0JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5N0f/Kg==", "chainId": 84, "height": 2198388, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F2NWJ3rUpfZ8e61fpWa6UuKTRetnMCM6GJXcHcBwN6hq Next: 8MKav2rn1NUcv3tZgZwrCg8bSPQ92ATYwMXDyyvTPTqM Diff:
Old | New | Differences | |
---|---|---|---|
221 | 221 | } | |
222 | 222 | if ((aq == aq)) | |
223 | 223 | then { | |
224 | - | let ar = { | |
225 | - | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
226 | - | if ($isInstanceOf(R, "Boolean")) | |
227 | - | then { | |
228 | - | let as = R | |
229 | - | if (as) | |
230 | - | then true | |
224 | + | let ar = if (U(V)) | |
225 | + | then unit | |
226 | + | else { | |
227 | + | let as = { | |
228 | + | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
229 | + | if ($isInstanceOf(R, "Boolean")) | |
230 | + | then { | |
231 | + | let at = R | |
232 | + | if (at) | |
233 | + | then true | |
234 | + | else throw("asset is not verified") | |
235 | + | } | |
231 | 236 | else throw("asset is not verified") | |
232 | 237 | } | |
233 | - | else throw("asset is not verified") | |
234 | - | } | |
238 | + | if ((as == as)) | |
239 | + | then unit | |
240 | + | else throw("Strict value is not equal to itself.") | |
241 | + | } | |
235 | 242 | if ((ar == ar)) | |
236 | 243 | then { | |
237 | - | let | |
238 | - | if (( | |
244 | + | let au = invoke(M, "burn", nil, [AttachedPayment(ao.assetId, ao.amount)]) | |
245 | + | if ((au == au)) | |
239 | 246 | then { | |
240 | - | let | |
247 | + | let av = { | |
241 | 248 | let R = getInteger(t(r, s)) | |
242 | 249 | if ($isInstanceOf(R, "Int")) | |
243 | 250 | then { | |
244 | - | let | |
245 | - | ( | |
251 | + | let aw = R | |
252 | + | (aw + 1) | |
246 | 253 | } | |
247 | 254 | else 0 | |
248 | 255 | } | |
249 | - | $Tuple2([IntegerEntry(q(r, s), | |
256 | + | $Tuple2([IntegerEntry(q(r, s), av), IntegerEntry(u(r, s, av), height), StringEntry(w(r, s, av), x("0", "0")), IntegerEntry(t(r, s), av)], unit) | |
250 | 257 | } | |
251 | 258 | else throw("Strict value is not equal to itself.") | |
252 | 259 | } | |
260 | 267 | ||
261 | 268 | ||
262 | 269 | @Callable(V) | |
263 | - | func vote (r,s, | |
270 | + | func vote (r,s,ax) = { | |
264 | 271 | let v = value(getInteger(q(r, s))) | |
265 | - | let | |
272 | + | let ay = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
266 | 273 | let am = [if (isDefined(getInteger(q(r, s)))) | |
267 | 274 | then true | |
268 | - | else throw("the token isn't on the voting list"), if (( | |
275 | + | else throw("the token isn't on the voting list"), if ((ay > height)) | |
269 | 276 | then true | |
270 | 277 | else throw("too late to vote")] | |
271 | 278 | if ((am == am)) | |
272 | 279 | then { | |
273 | - | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), | |
274 | - | let | |
280 | + | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), ay], nil) | |
281 | + | let az = if ((Y(D) > 0)) | |
275 | 282 | then true | |
276 | 283 | else throw("you don't have gwx") | |
277 | - | if (( | |
284 | + | if ((az == az)) | |
278 | 285 | then { | |
279 | 286 | let E = { | |
280 | 287 | let R = getString(A(r, s, v, toString(V.caller))) | |
282 | 289 | then { | |
283 | 290 | let S = R | |
284 | 291 | let E = split(S, a) | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | then ( | |
292 | + | let aA = E[1] | |
293 | + | let aB = E[2] | |
294 | + | let aC = if (if ((aB == "yes")) | |
295 | + | then (ax == true) | |
289 | 296 | else false) | |
290 | 297 | then true | |
291 | - | else if (( | |
292 | - | then ( | |
298 | + | else if ((aB == "no")) | |
299 | + | then (ax == false) | |
293 | 300 | else false | |
294 | - | let | |
295 | - | then (Y(D) == parseIntValue( | |
301 | + | let aD = if (aC) | |
302 | + | then (Y(D) == parseIntValue(aA)) | |
296 | 303 | else false | |
297 | - | let | |
298 | - | then | |
304 | + | let aE = if (if (aC) | |
305 | + | then aD | |
299 | 306 | else false) | |
300 | 307 | then throw("you already voted") | |
301 | 308 | else invoke(this, "cancelVote", [r, s], nil) | |
302 | - | | |
309 | + | aE | |
303 | 310 | } | |
304 | 311 | else if ($isInstanceOf(R, "Unit")) | |
305 | 312 | then { | |
306 | - | let | |
307 | - | | |
313 | + | let aF = R | |
314 | + | aF | |
308 | 315 | } | |
309 | 316 | else throw("Match error") | |
310 | 317 | } | |
311 | 318 | if ((E == E)) | |
312 | 319 | then { | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
320 | + | let aG = split(value(getString(w(r, s, v))), a) | |
321 | + | let aH = aG[1] | |
322 | + | let aI = aG[2] | |
323 | + | let aJ = if (ax) | |
317 | 324 | then { | |
318 | - | let | |
319 | - | [toString( | |
325 | + | let aK = (parseIntValue(aH) + Y(D)) | |
326 | + | [toString(aK), aI] | |
320 | 327 | } | |
321 | 328 | else { | |
322 | - | let | |
323 | - | [ | |
329 | + | let aL = (parseIntValue(aI) + Y(D)) | |
330 | + | [aH, toString(aL)] | |
324 | 331 | } | |
325 | - | let | |
326 | - | let | |
327 | - | $Tuple2([StringEntry(w(r, s, v), x( | |
332 | + | let aM = A(r, s, v, toString(V.caller)) | |
333 | + | let aA = C(toString(Y(D)), ax) | |
334 | + | $Tuple2([StringEntry(w(r, s, v), x(aJ[0], aJ[1])), StringEntry(aM, aA)], unit) | |
328 | 335 | } | |
329 | 336 | else throw("Strict value is not equal to itself.") | |
330 | 337 | } | |
337 | 344 | ||
338 | 345 | @Callable(V) | |
339 | 346 | func cancelVote (r,s) = { | |
340 | - | let | |
347 | + | let aN = if ((V.caller == this)) | |
341 | 348 | then toString(V.originCaller) | |
342 | 349 | else toString(V.caller) | |
343 | 350 | let v = value(getInteger(q(r, s))) | |
346 | 353 | else throw("no vote for assets pair")] | |
347 | 354 | if ((am == am)) | |
348 | 355 | then { | |
349 | - | let E = split(value(getString(A(r, s, v, | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | + | let E = split(value(getString(A(r, s, v, aN))), a) | |
357 | + | let aA = E[1] | |
358 | + | let aB = E[2] | |
359 | + | let aG = split(value(getString(w(r, s, v))), a) | |
360 | + | let aH = aG[1] | |
361 | + | let aI = aG[2] | |
362 | + | let aO = if ((aB == "yes")) | |
356 | 363 | then { | |
357 | - | let | |
358 | - | $Tuple2([StringEntry(w(r, s, v), x(toString( | |
364 | + | let aK = (parseIntValue(aH) - parseIntValue(aA)) | |
365 | + | $Tuple2([StringEntry(w(r, s, v), x(toString(aK), aI)), DeleteEntry(A(r, s, v, aN))], unit) | |
359 | 366 | } | |
360 | 367 | else { | |
361 | - | let | |
362 | - | $Tuple2([StringEntry(w(r, s, v), x( | |
368 | + | let aL = (parseIntValue(aI) - parseIntValue(aA)) | |
369 | + | $Tuple2([StringEntry(w(r, s, v), x(aH, toString(aL))), DeleteEntry(A(r, s, v, aN))], unit) | |
363 | 370 | } | |
364 | - | | |
371 | + | aO | |
365 | 372 | } | |
366 | 373 | else throw("Strict value is not equal to itself.") | |
367 | 374 | } | |
369 | 376 | ||
370 | 377 | ||
371 | 378 | @Callable(V) | |
372 | - | func setFee ( | |
379 | + | func setFee (aP) = { | |
373 | 380 | let am = [X(V)] | |
374 | 381 | if ((am == am)) | |
375 | - | then [IntegerEntry(b, | |
382 | + | then [IntegerEntry(b, aP)] | |
376 | 383 | else throw("Strict value is not equal to itself.") | |
377 | 384 | } | |
378 | 385 | ||
379 | 386 | ||
380 | 387 | ||
381 | 388 | @Callable(V) | |
382 | - | func setThreshold ( | |
383 | - | let am = [X(V), if (( | |
389 | + | func setThreshold (aQ) = { | |
390 | + | let am = [X(V), if ((aQ > 0)) | |
384 | 391 | then true | |
385 | 392 | else throw("invalid threshold")] | |
386 | 393 | if ((am == am)) | |
387 | - | then $Tuple2([IntegerEntry(m, | |
394 | + | then $Tuple2([IntegerEntry(m, aQ)], unit) | |
388 | 395 | else throw("Strict value is not equal to itself.") | |
389 | 396 | } | |
390 | 397 | ||
393 | 400 | @Callable(V) | |
394 | 401 | func finalize (r,s) = { | |
395 | 402 | let v = value(getInteger(q(r, s))) | |
396 | - | let | |
403 | + | let ay = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
397 | 404 | let am = [if (isDefined(getInteger(q(r, s)))) | |
398 | 405 | then true | |
399 | - | else throw("no assets pair"), if ((height >= | |
406 | + | else throw("no assets pair"), if ((height >= ay)) | |
400 | 407 | then true | |
401 | 408 | else throw("insufficient height for completion")] | |
402 | 409 | if ((am == am)) | |
403 | 410 | then { | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
411 | + | let aG = split(value(getString(w(r, s, v))), a) | |
412 | + | let aH = parseIntValue(aG[1]) | |
413 | + | let aI = parseIntValue(aG[2]) | |
414 | + | let aR = (aH + aI) | |
408 | 415 | let an = p(m) | |
409 | - | let | |
410 | - | then ( | |
416 | + | let aO = if (if ((aR >= an)) | |
417 | + | then (aH > aI) | |
411 | 418 | else false) | |
412 | 419 | then { | |
413 | - | let | |
414 | - | if (( | |
420 | + | let aS = invoke(N, "setWxEmissionPoolLabel", [r, s], nil) | |
421 | + | if ((aS == aS)) | |
415 | 422 | then { | |
416 | - | let | |
417 | - | if (( | |
423 | + | let aT = invoke(P, "create", [r, s], nil) | |
424 | + | if ((aT == aT)) | |
418 | 425 | then $Tuple2([DeleteEntry(q(r, s))], unit) | |
419 | 426 | else throw("Strict value is not equal to itself.") | |
420 | 427 | } | |
421 | 428 | else throw("Strict value is not equal to itself.") | |
422 | 429 | } | |
423 | 430 | else $Tuple2([DeleteEntry(q(r, s))], unit) | |
424 | - | | |
431 | + | aO | |
425 | 432 | } | |
426 | 433 | else throw("Strict value is not equal to itself.") | |
427 | 434 | } | |
429 | 436 | ||
430 | 437 | ||
431 | 438 | @Callable(V) | |
432 | - | func setManager ( | |
433 | - | let | |
434 | - | if (( | |
439 | + | func setManager (aU) = { | |
440 | + | let aV = X(V) | |
441 | + | if ((aV == aV)) | |
435 | 442 | then { | |
436 | - | let | |
437 | - | if (( | |
438 | - | then [StringEntry(J(), | |
443 | + | let aW = fromBase58String(aU) | |
444 | + | if ((aW == aW)) | |
445 | + | then [StringEntry(J(), aU)] | |
439 | 446 | else throw("Strict value is not equal to itself.") | |
440 | 447 | } | |
441 | 448 | else throw("Strict value is not equal to itself.") | |
445 | 452 | ||
446 | 453 | @Callable(V) | |
447 | 454 | func confirmManager () = { | |
448 | - | let | |
449 | - | let | |
455 | + | let aX = T() | |
456 | + | let aY = if (isDefined(aX)) | |
450 | 457 | then true | |
451 | 458 | else throw("no pending manager") | |
452 | - | if (( | |
459 | + | if ((aY == aY)) | |
453 | 460 | then { | |
454 | - | let | |
461 | + | let aZ = if ((V.callerPublicKey == value(aX))) | |
455 | 462 | then true | |
456 | 463 | else throw("you are not pending manager") | |
457 | - | if (( | |
458 | - | then [StringEntry(I(), toBase58String(value( | |
464 | + | if ((aZ == aZ)) | |
465 | + | then [StringEntry(I(), toBase58String(value(aX))), DeleteEntry(J())] | |
459 | 466 | else throw("Strict value is not equal to itself.") | |
460 | 467 | } | |
461 | 468 | else throw("Strict value is not equal to itself.") | |
462 | 469 | } | |
463 | 470 | ||
464 | 471 | ||
465 | - | @Verifier( | |
466 | - | func | |
467 | - | let | |
472 | + | @Verifier(ba) | |
473 | + | func bb () = { | |
474 | + | let bc = { | |
468 | 475 | let R = Q() | |
469 | 476 | if ($isInstanceOf(R, "ByteVector")) | |
470 | 477 | then { | |
472 | 479 | W | |
473 | 480 | } | |
474 | 481 | else if ($isInstanceOf(R, "Unit")) | |
475 | - | then | |
482 | + | then ba.senderPublicKey | |
476 | 483 | else throw("Match error") | |
477 | 484 | } | |
478 | - | sigVerify( | |
485 | + | sigVerify(ba.bodyBytes, ba.proofs[0], bc) | |
479 | 486 | } | |
480 | 487 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = makeString(["%s", "fee"], a) | |
7 | 7 | ||
8 | 8 | let c = makeString(["%s", "usdnAssetId"], a) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "epochLength"], a) | |
11 | 11 | ||
12 | 12 | let e = makeString(["%s", "finalizeReward"], a) | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "wxAssetId"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s", "assetsStoreContract"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s", "userPoolContract"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "emissionContract"], a) | |
21 | 21 | ||
22 | 22 | let j = makeString(["%s", "boostingContract"], a) | |
23 | 23 | ||
24 | 24 | let k = makeString(["%s", "factoryContract"], a) | |
25 | 25 | ||
26 | 26 | let l = makeString(["%s", "votingEmissionContract"], a) | |
27 | 27 | ||
28 | 28 | let m = makeString(["%s", "votingThreshold"], a) | |
29 | 29 | ||
30 | 30 | func n (o) = valueOrErrorMessage(getString(this, o), (o + " is not defined")) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func p (o) = valueOrErrorMessage(getInteger(this, o), (o + " is not defined")) | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func q (r,s) = makeString(["%s%s%s", "inList", r, s], a) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func t (r,s) = makeString(["%s%s%s", "suggestIndex", r, s], a) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func u (r,s,v) = makeString(["%s%s%s%d", "startHeight", r, s, toString(v)], a) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func w (r,s,v) = makeString(["%s%s%s%d", "votingResult", r, s, toString(v)], a) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func x (y,z) = makeString(["%d%d", y, z], a) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func A (r,s,v,B) = makeString(["%s%s%s%d%s", "vote", r, s, toString(v), B], a) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func C (D,E) = { | |
55 | 55 | let o = if (E) | |
56 | 56 | then makeString(["%d%s", D, "yes"], a) | |
57 | 57 | else makeString(["%d%s", D, "no"], a) | |
58 | 58 | o | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func F (G) = { | |
63 | 63 | let H = G | |
64 | 64 | let r = H._1 | |
65 | 65 | let s = H._2 | |
66 | 66 | makeString(["%s%s%s", "inList", r, s], a) | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func I () = "%s__managerPublicKey" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func J () = "%s__pendingManagerPublicKey" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let K = addressFromStringValue(n(g)) | |
77 | 77 | ||
78 | 78 | let L = addressFromStringValue(n(j)) | |
79 | 79 | ||
80 | 80 | let M = addressFromStringValue(n(i)) | |
81 | 81 | ||
82 | 82 | let N = addressFromStringValue(n(k)) | |
83 | 83 | ||
84 | 84 | let O = addressFromStringValue(n(h)) | |
85 | 85 | ||
86 | 86 | let P = addressFromStringValue(n(l)) | |
87 | 87 | ||
88 | 88 | func Q () = { | |
89 | 89 | let R = getString(I()) | |
90 | 90 | if ($isInstanceOf(R, "String")) | |
91 | 91 | then { | |
92 | 92 | let S = R | |
93 | 93 | fromBase58String(S) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(R, "Unit")) | |
96 | 96 | then unit | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func T () = { | |
102 | 102 | let R = getString(J()) | |
103 | 103 | if ($isInstanceOf(R, "String")) | |
104 | 104 | then { | |
105 | 105 | let S = R | |
106 | 106 | fromBase58String(S) | |
107 | 107 | } | |
108 | 108 | else if ($isInstanceOf(R, "Unit")) | |
109 | 109 | then unit | |
110 | 110 | else throw("Match error") | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (V) = { | |
115 | 115 | let R = Q() | |
116 | 116 | if ($isInstanceOf(R, "ByteVector")) | |
117 | 117 | then { | |
118 | 118 | let W = R | |
119 | 119 | (V.callerPublicKey == W) | |
120 | 120 | } | |
121 | 121 | else if ($isInstanceOf(R, "Unit")) | |
122 | 122 | then (V.caller == this) | |
123 | 123 | else throw("Match error") | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func X (V) = if (U(V)) | |
128 | 128 | then true | |
129 | 129 | else throw("permission denied") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func Y (Z) = { | |
133 | 133 | let R = Z | |
134 | 134 | if ($isInstanceOf(R, "Int")) | |
135 | 135 | then { | |
136 | 136 | let aa = R | |
137 | 137 | aa | |
138 | 138 | } | |
139 | 139 | else throw("failed to cast into Integer") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | @Callable(V) | |
144 | 144 | func constructor (ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al) = { | |
145 | 145 | let am = [X(V), if (isDefined(addressFromString(ab))) | |
146 | 146 | then true | |
147 | 147 | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(ac))) | |
148 | 148 | then true | |
149 | 149 | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(af))) | |
150 | 150 | then true | |
151 | 151 | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(ad))) | |
152 | 152 | then true | |
153 | 153 | else throw("Invalid emission contract address"), if (isDefined(addressFromString(ae))) | |
154 | 154 | then true | |
155 | 155 | else throw("Invalid factory contract address"), if ((ah >= 0)) | |
156 | 156 | then true | |
157 | 157 | else throw("Invalid fee amount"), if ((aj > 0)) | |
158 | 158 | then true | |
159 | 159 | else throw("Invalid voting duration"), if ((al >= 0)) | |
160 | 160 | then true | |
161 | 161 | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(ai)))) | |
162 | 162 | then true | |
163 | 163 | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(ak)))) | |
164 | 164 | then true | |
165 | 165 | else throw("Invalid USDN asset ID")] | |
166 | 166 | if ((am == am)) | |
167 | 167 | then $Tuple2([StringEntry(g, ab), StringEntry(j, ac), StringEntry(i, ad), StringEntry(k, ae), StringEntry(h, af), StringEntry(l, ag), IntegerEntry(b, ah), IntegerEntry(d, aj), IntegerEntry(e, al), StringEntry(f, ai), StringEntry(c, ak)], unit) | |
168 | 168 | else throw("Strict value is not equal to itself.") | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(V) | |
174 | 174 | func constructorV2 (an) = { | |
175 | 175 | let am = [X(V), if ((an > 0)) | |
176 | 176 | then true | |
177 | 177 | else throw("invalid threshold")] | |
178 | 178 | if ((am == am)) | |
179 | 179 | then $Tuple2([IntegerEntry(m, an)], unit) | |
180 | 180 | else throw("Strict value is not equal to itself.") | |
181 | 181 | } | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | ||
185 | 185 | @Callable(V) | |
186 | 186 | func suggest (r,s) = { | |
187 | 187 | let G = $Tuple2(r, s) | |
188 | 188 | let ao = value(V.payments[0]) | |
189 | 189 | let ap = valueOrErrorMessage(assetInfo(fromBase58String(r)), "invalid amountAssetId ID") | |
190 | 190 | let am = [if (if (U(V)) | |
191 | 191 | then true | |
192 | 192 | else (ap.issuer == V.caller)) | |
193 | 193 | then true | |
194 | 194 | else throw("asset can only be suggested by its issuer"), if ((ap.scripted == false)) | |
195 | 195 | then true | |
196 | 196 | else throw("asset is smart"), if ((toBase58String(value(ao.assetId)) == value(getString(f)))) | |
197 | 197 | then true | |
198 | 198 | else throw("invalid fee asset"), if ((ao.amount == value(getInteger(b)))) | |
199 | 199 | then true | |
200 | 200 | else throw("invalid fee amount"), if (if (U(V)) | |
201 | 201 | then true | |
202 | 202 | else (s == value(getString(c)))) | |
203 | 203 | then true | |
204 | 204 | else throw("priceAssetId is not USDN"), if ((getInteger(q(r, s)) == unit)) | |
205 | 205 | then true | |
206 | 206 | else throw("already in voting list"), if (!(valueOrElse(getBoolean(P, F(G)), false))) | |
207 | 207 | then true | |
208 | 208 | else throw("pool is in emission voting list")] | |
209 | 209 | if ((am == am)) | |
210 | 210 | then { | |
211 | 211 | let aq = { | |
212 | 212 | let R = invoke(O, "statusREADONLY", [r, s], nil) | |
213 | 213 | if ($isInstanceOf(R, "String")) | |
214 | 214 | then { | |
215 | 215 | let S = R | |
216 | 216 | if ((S == "active")) | |
217 | 217 | then true | |
218 | 218 | else throw("user pool is not active") | |
219 | 219 | } | |
220 | 220 | else throw("user pool is not active") | |
221 | 221 | } | |
222 | 222 | if ((aq == aq)) | |
223 | 223 | then { | |
224 | - | let ar = { | |
225 | - | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
226 | - | if ($isInstanceOf(R, "Boolean")) | |
227 | - | then { | |
228 | - | let as = R | |
229 | - | if (as) | |
230 | - | then true | |
224 | + | let ar = if (U(V)) | |
225 | + | then unit | |
226 | + | else { | |
227 | + | let as = { | |
228 | + | let R = invoke(K, "isVerifiedREADONLY", [r], nil) | |
229 | + | if ($isInstanceOf(R, "Boolean")) | |
230 | + | then { | |
231 | + | let at = R | |
232 | + | if (at) | |
233 | + | then true | |
234 | + | else throw("asset is not verified") | |
235 | + | } | |
231 | 236 | else throw("asset is not verified") | |
232 | 237 | } | |
233 | - | else throw("asset is not verified") | |
234 | - | } | |
238 | + | if ((as == as)) | |
239 | + | then unit | |
240 | + | else throw("Strict value is not equal to itself.") | |
241 | + | } | |
235 | 242 | if ((ar == ar)) | |
236 | 243 | then { | |
237 | - | let | |
238 | - | if (( | |
244 | + | let au = invoke(M, "burn", nil, [AttachedPayment(ao.assetId, ao.amount)]) | |
245 | + | if ((au == au)) | |
239 | 246 | then { | |
240 | - | let | |
247 | + | let av = { | |
241 | 248 | let R = getInteger(t(r, s)) | |
242 | 249 | if ($isInstanceOf(R, "Int")) | |
243 | 250 | then { | |
244 | - | let | |
245 | - | ( | |
251 | + | let aw = R | |
252 | + | (aw + 1) | |
246 | 253 | } | |
247 | 254 | else 0 | |
248 | 255 | } | |
249 | - | $Tuple2([IntegerEntry(q(r, s), | |
256 | + | $Tuple2([IntegerEntry(q(r, s), av), IntegerEntry(u(r, s, av), height), StringEntry(w(r, s, av), x("0", "0")), IntegerEntry(t(r, s), av)], unit) | |
250 | 257 | } | |
251 | 258 | else throw("Strict value is not equal to itself.") | |
252 | 259 | } | |
253 | 260 | else throw("Strict value is not equal to itself.") | |
254 | 261 | } | |
255 | 262 | else throw("Strict value is not equal to itself.") | |
256 | 263 | } | |
257 | 264 | else throw("Strict value is not equal to itself.") | |
258 | 265 | } | |
259 | 266 | ||
260 | 267 | ||
261 | 268 | ||
262 | 269 | @Callable(V) | |
263 | - | func vote (r,s, | |
270 | + | func vote (r,s,ax) = { | |
264 | 271 | let v = value(getInteger(q(r, s))) | |
265 | - | let | |
272 | + | let ay = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
266 | 273 | let am = [if (isDefined(getInteger(q(r, s)))) | |
267 | 274 | then true | |
268 | - | else throw("the token isn't on the voting list"), if (( | |
275 | + | else throw("the token isn't on the voting list"), if ((ay > height)) | |
269 | 276 | then true | |
270 | 277 | else throw("too late to vote")] | |
271 | 278 | if ((am == am)) | |
272 | 279 | then { | |
273 | - | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), | |
274 | - | let | |
280 | + | let D = invoke(L, "getUserGwxAmountAtHeightREADONLY", [toString(V.caller), ay], nil) | |
281 | + | let az = if ((Y(D) > 0)) | |
275 | 282 | then true | |
276 | 283 | else throw("you don't have gwx") | |
277 | - | if (( | |
284 | + | if ((az == az)) | |
278 | 285 | then { | |
279 | 286 | let E = { | |
280 | 287 | let R = getString(A(r, s, v, toString(V.caller))) | |
281 | 288 | if ($isInstanceOf(R, "String")) | |
282 | 289 | then { | |
283 | 290 | let S = R | |
284 | 291 | let E = split(S, a) | |
285 | - | let | |
286 | - | let | |
287 | - | let | |
288 | - | then ( | |
292 | + | let aA = E[1] | |
293 | + | let aB = E[2] | |
294 | + | let aC = if (if ((aB == "yes")) | |
295 | + | then (ax == true) | |
289 | 296 | else false) | |
290 | 297 | then true | |
291 | - | else if (( | |
292 | - | then ( | |
298 | + | else if ((aB == "no")) | |
299 | + | then (ax == false) | |
293 | 300 | else false | |
294 | - | let | |
295 | - | then (Y(D) == parseIntValue( | |
301 | + | let aD = if (aC) | |
302 | + | then (Y(D) == parseIntValue(aA)) | |
296 | 303 | else false | |
297 | - | let | |
298 | - | then | |
304 | + | let aE = if (if (aC) | |
305 | + | then aD | |
299 | 306 | else false) | |
300 | 307 | then throw("you already voted") | |
301 | 308 | else invoke(this, "cancelVote", [r, s], nil) | |
302 | - | | |
309 | + | aE | |
303 | 310 | } | |
304 | 311 | else if ($isInstanceOf(R, "Unit")) | |
305 | 312 | then { | |
306 | - | let | |
307 | - | | |
313 | + | let aF = R | |
314 | + | aF | |
308 | 315 | } | |
309 | 316 | else throw("Match error") | |
310 | 317 | } | |
311 | 318 | if ((E == E)) | |
312 | 319 | then { | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
320 | + | let aG = split(value(getString(w(r, s, v))), a) | |
321 | + | let aH = aG[1] | |
322 | + | let aI = aG[2] | |
323 | + | let aJ = if (ax) | |
317 | 324 | then { | |
318 | - | let | |
319 | - | [toString( | |
325 | + | let aK = (parseIntValue(aH) + Y(D)) | |
326 | + | [toString(aK), aI] | |
320 | 327 | } | |
321 | 328 | else { | |
322 | - | let | |
323 | - | [ | |
329 | + | let aL = (parseIntValue(aI) + Y(D)) | |
330 | + | [aH, toString(aL)] | |
324 | 331 | } | |
325 | - | let | |
326 | - | let | |
327 | - | $Tuple2([StringEntry(w(r, s, v), x( | |
332 | + | let aM = A(r, s, v, toString(V.caller)) | |
333 | + | let aA = C(toString(Y(D)), ax) | |
334 | + | $Tuple2([StringEntry(w(r, s, v), x(aJ[0], aJ[1])), StringEntry(aM, aA)], unit) | |
328 | 335 | } | |
329 | 336 | else throw("Strict value is not equal to itself.") | |
330 | 337 | } | |
331 | 338 | else throw("Strict value is not equal to itself.") | |
332 | 339 | } | |
333 | 340 | else throw("Strict value is not equal to itself.") | |
334 | 341 | } | |
335 | 342 | ||
336 | 343 | ||
337 | 344 | ||
338 | 345 | @Callable(V) | |
339 | 346 | func cancelVote (r,s) = { | |
340 | - | let | |
347 | + | let aN = if ((V.caller == this)) | |
341 | 348 | then toString(V.originCaller) | |
342 | 349 | else toString(V.caller) | |
343 | 350 | let v = value(getInteger(q(r, s))) | |
344 | 351 | let am = [if (isDefined(getString(w(r, s, v)))) | |
345 | 352 | then true | |
346 | 353 | else throw("no vote for assets pair")] | |
347 | 354 | if ((am == am)) | |
348 | 355 | then { | |
349 | - | let E = split(value(getString(A(r, s, v, | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
354 | - | let | |
355 | - | let | |
356 | + | let E = split(value(getString(A(r, s, v, aN))), a) | |
357 | + | let aA = E[1] | |
358 | + | let aB = E[2] | |
359 | + | let aG = split(value(getString(w(r, s, v))), a) | |
360 | + | let aH = aG[1] | |
361 | + | let aI = aG[2] | |
362 | + | let aO = if ((aB == "yes")) | |
356 | 363 | then { | |
357 | - | let | |
358 | - | $Tuple2([StringEntry(w(r, s, v), x(toString( | |
364 | + | let aK = (parseIntValue(aH) - parseIntValue(aA)) | |
365 | + | $Tuple2([StringEntry(w(r, s, v), x(toString(aK), aI)), DeleteEntry(A(r, s, v, aN))], unit) | |
359 | 366 | } | |
360 | 367 | else { | |
361 | - | let | |
362 | - | $Tuple2([StringEntry(w(r, s, v), x( | |
368 | + | let aL = (parseIntValue(aI) - parseIntValue(aA)) | |
369 | + | $Tuple2([StringEntry(w(r, s, v), x(aH, toString(aL))), DeleteEntry(A(r, s, v, aN))], unit) | |
363 | 370 | } | |
364 | - | | |
371 | + | aO | |
365 | 372 | } | |
366 | 373 | else throw("Strict value is not equal to itself.") | |
367 | 374 | } | |
368 | 375 | ||
369 | 376 | ||
370 | 377 | ||
371 | 378 | @Callable(V) | |
372 | - | func setFee ( | |
379 | + | func setFee (aP) = { | |
373 | 380 | let am = [X(V)] | |
374 | 381 | if ((am == am)) | |
375 | - | then [IntegerEntry(b, | |
382 | + | then [IntegerEntry(b, aP)] | |
376 | 383 | else throw("Strict value is not equal to itself.") | |
377 | 384 | } | |
378 | 385 | ||
379 | 386 | ||
380 | 387 | ||
381 | 388 | @Callable(V) | |
382 | - | func setThreshold ( | |
383 | - | let am = [X(V), if (( | |
389 | + | func setThreshold (aQ) = { | |
390 | + | let am = [X(V), if ((aQ > 0)) | |
384 | 391 | then true | |
385 | 392 | else throw("invalid threshold")] | |
386 | 393 | if ((am == am)) | |
387 | - | then $Tuple2([IntegerEntry(m, | |
394 | + | then $Tuple2([IntegerEntry(m, aQ)], unit) | |
388 | 395 | else throw("Strict value is not equal to itself.") | |
389 | 396 | } | |
390 | 397 | ||
391 | 398 | ||
392 | 399 | ||
393 | 400 | @Callable(V) | |
394 | 401 | func finalize (r,s) = { | |
395 | 402 | let v = value(getInteger(q(r, s))) | |
396 | - | let | |
403 | + | let ay = (value(getInteger(u(r, s, v))) + value(getInteger(d))) | |
397 | 404 | let am = [if (isDefined(getInteger(q(r, s)))) | |
398 | 405 | then true | |
399 | - | else throw("no assets pair"), if ((height >= | |
406 | + | else throw("no assets pair"), if ((height >= ay)) | |
400 | 407 | then true | |
401 | 408 | else throw("insufficient height for completion")] | |
402 | 409 | if ((am == am)) | |
403 | 410 | then { | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
411 | + | let aG = split(value(getString(w(r, s, v))), a) | |
412 | + | let aH = parseIntValue(aG[1]) | |
413 | + | let aI = parseIntValue(aG[2]) | |
414 | + | let aR = (aH + aI) | |
408 | 415 | let an = p(m) | |
409 | - | let | |
410 | - | then ( | |
416 | + | let aO = if (if ((aR >= an)) | |
417 | + | then (aH > aI) | |
411 | 418 | else false) | |
412 | 419 | then { | |
413 | - | let | |
414 | - | if (( | |
420 | + | let aS = invoke(N, "setWxEmissionPoolLabel", [r, s], nil) | |
421 | + | if ((aS == aS)) | |
415 | 422 | then { | |
416 | - | let | |
417 | - | if (( | |
423 | + | let aT = invoke(P, "create", [r, s], nil) | |
424 | + | if ((aT == aT)) | |
418 | 425 | then $Tuple2([DeleteEntry(q(r, s))], unit) | |
419 | 426 | else throw("Strict value is not equal to itself.") | |
420 | 427 | } | |
421 | 428 | else throw("Strict value is not equal to itself.") | |
422 | 429 | } | |
423 | 430 | else $Tuple2([DeleteEntry(q(r, s))], unit) | |
424 | - | | |
431 | + | aO | |
425 | 432 | } | |
426 | 433 | else throw("Strict value is not equal to itself.") | |
427 | 434 | } | |
428 | 435 | ||
429 | 436 | ||
430 | 437 | ||
431 | 438 | @Callable(V) | |
432 | - | func setManager ( | |
433 | - | let | |
434 | - | if (( | |
439 | + | func setManager (aU) = { | |
440 | + | let aV = X(V) | |
441 | + | if ((aV == aV)) | |
435 | 442 | then { | |
436 | - | let | |
437 | - | if (( | |
438 | - | then [StringEntry(J(), | |
443 | + | let aW = fromBase58String(aU) | |
444 | + | if ((aW == aW)) | |
445 | + | then [StringEntry(J(), aU)] | |
439 | 446 | else throw("Strict value is not equal to itself.") | |
440 | 447 | } | |
441 | 448 | else throw("Strict value is not equal to itself.") | |
442 | 449 | } | |
443 | 450 | ||
444 | 451 | ||
445 | 452 | ||
446 | 453 | @Callable(V) | |
447 | 454 | func confirmManager () = { | |
448 | - | let | |
449 | - | let | |
455 | + | let aX = T() | |
456 | + | let aY = if (isDefined(aX)) | |
450 | 457 | then true | |
451 | 458 | else throw("no pending manager") | |
452 | - | if (( | |
459 | + | if ((aY == aY)) | |
453 | 460 | then { | |
454 | - | let | |
461 | + | let aZ = if ((V.callerPublicKey == value(aX))) | |
455 | 462 | then true | |
456 | 463 | else throw("you are not pending manager") | |
457 | - | if (( | |
458 | - | then [StringEntry(I(), toBase58String(value( | |
464 | + | if ((aZ == aZ)) | |
465 | + | then [StringEntry(I(), toBase58String(value(aX))), DeleteEntry(J())] | |
459 | 466 | else throw("Strict value is not equal to itself.") | |
460 | 467 | } | |
461 | 468 | else throw("Strict value is not equal to itself.") | |
462 | 469 | } | |
463 | 470 | ||
464 | 471 | ||
465 | - | @Verifier( | |
466 | - | func | |
467 | - | let | |
472 | + | @Verifier(ba) | |
473 | + | func bb () = { | |
474 | + | let bc = { | |
468 | 475 | let R = Q() | |
469 | 476 | if ($isInstanceOf(R, "ByteVector")) | |
470 | 477 | then { | |
471 | 478 | let W = R | |
472 | 479 | W | |
473 | 480 | } | |
474 | 481 | else if ($isInstanceOf(R, "Unit")) | |
475 | - | then | |
482 | + | then ba.senderPublicKey | |
476 | 483 | else throw("Match error") | |
477 | 484 | } | |
478 | - | sigVerify( | |
485 | + | sigVerify(ba.bodyBytes, ba.proofs[0], bc) | |
479 | 486 | } | |
480 | 487 |
github/deemru/w8io/169f3d6 117.66 ms ◑