tx · DP216si7ba7vUuiPUync6re2pYRGkEb1CseP8fQgVqSH 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH: -0.02400000 Waves 2023.03.15 01:28 [2490310] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves
{ "type": 13, "id": "DP216si7ba7vUuiPUync6re2pYRGkEb1CseP8fQgVqSH", "fee": 2400000, "feeAssetId": null, "timestamp": 1678832992033, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "3qMKmVzQWjSNpFrjS45cZvPMVeL9bk5pGTA787SVbt9j5Nfj8FkdJnYrwCbsVVB8JUp5oLF1rdumZEkCHRXLpNKy" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRAADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgkAaAIAwIQ9BQ1fdW5pdERlY2ltYWxzAA5fcGVyY2VudGFnZUZlZQkAawMFDV91bml0RGVjaW1hbHMACgBkABpfcGVyY2VudGFnZVJlZHVjdGlvbkZhY3RvcgIpQ3VycmVudF9QZXJjZW50YWdlUmVkdWN0aW9uX0ZhY3Rvcl9Gb3JfTXIAA19NcgIMTWludGluZ19SYXRlAAxfc3Rhd0Fzc2V0SWQCDFN0YXdfQXNzZXRJZAAIX21hbmFnZXICB21hbmFnZXIABF9EZngCA0RmeAAVX2NpcmN1bGF0a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Wx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBuaj68", "height": 2490310, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5RigmQHJEPqUMKNpqDMHvHQ8pSA7ZSQJysAyEBxQRdTG Next: G7zQtraAbwTR3JVguAtZzw6DP9F8GAo3q3MmpU3PRMty Diff:
Old | New | Differences | |
---|---|---|---|
340 | 340 | ||
341 | 341 | ||
342 | 342 | func aP (aQ,aR,aS,aT) = { | |
343 | - | let aU = (Y(L(I), "global waves sum not previously defined") + aQ) | |
344 | - | let aV = (Y(L(H), "gobal staw minted not previously defined") + aR) | |
345 | - | let aW = (Y(L(J), "global stawPL not previously defined") + aS) | |
346 | - | let aX = (Y(L(K), "global index count not previously defined") + aT) | |
347 | - | [aa(I, aU), aa(H, aV), aa(J, aW), aa(K, aX)] | |
343 | + | let aU = { | |
344 | + | let U = ai(I) | |
345 | + | if ($isInstanceOf(U, "Int")) | |
346 | + | then { | |
347 | + | let aV = U | |
348 | + | (aV + aQ) | |
349 | + | } | |
350 | + | else throw("failed to get global total waves") | |
351 | + | } | |
352 | + | if ((aU == aU)) | |
353 | + | then { | |
354 | + | let aW = { | |
355 | + | let U = ai(H) | |
356 | + | if ($isInstanceOf(U, "Int")) | |
357 | + | then { | |
358 | + | let aV = U | |
359 | + | (aV + aR) | |
360 | + | } | |
361 | + | else throw("failed to get global total staw minted") | |
362 | + | } | |
363 | + | if ((aW == aW)) | |
364 | + | then { | |
365 | + | let aX = { | |
366 | + | let U = ai(J) | |
367 | + | if ($isInstanceOf(U, "Int")) | |
368 | + | then { | |
369 | + | let aV = U | |
370 | + | (aV + aS) | |
371 | + | } | |
372 | + | else throw("failed to get global total stawpl") | |
373 | + | } | |
374 | + | if ((aX == aX)) | |
375 | + | then { | |
376 | + | let aY = { | |
377 | + | let U = ai(K) | |
378 | + | if ($isInstanceOf(U, "Int")) | |
379 | + | then { | |
380 | + | let aV = U | |
381 | + | (aV + aT) | |
382 | + | } | |
383 | + | else throw("failed to get global index count") | |
384 | + | } | |
385 | + | if ((aY == aY)) | |
386 | + | then [af(I, aU), af(H, aW), af(J, aX), af(K, aY)] | |
387 | + | else throw("Strict value is not equal to itself.") | |
388 | + | } | |
389 | + | else throw("Strict value is not equal to itself.") | |
390 | + | } | |
391 | + | else throw("Strict value is not equal to itself.") | |
392 | + | } | |
393 | + | else throw("Strict value is not equal to itself.") | |
348 | 394 | } | |
349 | 395 | ||
350 | 396 | ||
351 | - | func aY (aZ,ba,bb,bc,bd,aQ,aR,be,bf,bg,bh,bi,bj) = { | |
352 | - | let bk = makeString([ba, aZ, C], a) | |
353 | - | let bl = makeString([ba, aZ, w], a) | |
354 | - | let bm = makeString([ba, aZ, x], a) | |
355 | - | let bn = makeString([ba, aZ, z], a) | |
356 | - | let bo = makeString([ba, aZ, A], a) | |
357 | - | let bp = makeString([ba, aZ, B], a) | |
358 | - | let bq = makeString([ba, aZ, D], a) | |
359 | - | let br = makeString([ba, aZ, y], a) | |
360 | - | let bs = makeString([ba, v], a) | |
361 | - | let bt = makeString([ba, u], a) | |
362 | - | let bu = makeString([ba, aZ, E], a) | |
363 | - | let bv = makeString([ba, aZ, F], a) | |
364 | - | let bw = makeString([ba, aZ, G], a) | |
365 | - | let bx = makeString(["%s", aZ], a) | |
366 | - | let by = makeString(["%d", toString(bb)], a) | |
367 | - | let bz = makeString(["%d", toString(bd)], a) | |
368 | - | let bA = makeString(["%d", toString(aQ)], a) | |
369 | - | let bB = makeString(["%d", toString(aR)], a) | |
370 | - | let bC = makeString(["%d", toString(be)], a) | |
397 | + | func aZ (ba,bb,bc,bd,be,aQ,aR,bf,bg,bh,bi,bj,bk) = { | |
398 | + | let bl = makeString([bb, ba, C], a) | |
399 | + | let bm = makeString([bb, ba, w], a) | |
400 | + | let bn = makeString([bb, ba, x], a) | |
401 | + | let bo = makeString([bb, ba, z], a) | |
402 | + | let bp = makeString([bb, ba, A], a) | |
403 | + | let bq = makeString([bb, ba, B], a) | |
404 | + | let br = makeString([bb, ba, D], a) | |
405 | + | let bs = makeString([bb, ba, y], a) | |
406 | + | let bt = makeString([bb, v], a) | |
407 | + | let bu = makeString([bb, u], a) | |
408 | + | let bv = makeString([bb, ba, E], a) | |
409 | + | let bw = makeString([bb, ba, F], a) | |
410 | + | let bx = makeString([bb, ba, G], a) | |
411 | + | let by = makeString(["%s", ba], a) | |
412 | + | let bz = makeString(["%d", toString(bc)], a) | |
413 | + | let bA = makeString(["%d", toString(be)], a) | |
414 | + | let bB = makeString(["%d", toString(aQ)], a) | |
415 | + | let bC = makeString(["%d", toString(aR)], a) | |
371 | 416 | let bD = makeString(["%d", toString(bf)], a) | |
372 | - | let bE = makeString(["% | |
373 | - | let bF = makeString(["% | |
417 | + | let bE = makeString(["%d", toString(bg)], a) | |
418 | + | let bF = makeString(["%b", bh], a) | |
374 | 419 | let bG = makeString(["%d", toString(bi)], a) | |
375 | - | let bH = makeString(["%d", toString(bc)], a) | |
376 | - | let bI = makeString(["%d", toString(0)], a) | |
377 | - | let bJ = makeString(["%s", bj], a) | |
378 | - | [aq(bk, bx), aq(bm, bz), ac(bt, bG), ac(bs, bF), aq(bl, by), aq(bu, bH), aq(bn, bA), aq(bo, bB), ac(bp, bC), ac(bv, bI), aq(bq, bD), aq(br, bE), ac(bw, bJ)] | |
420 | + | let bH = makeString(["%d", toString(bj)], a) | |
421 | + | let bI = makeString(["%d", toString(bd)], a) | |
422 | + | let bJ = makeString(["%d", toString(0)], a) | |
423 | + | let bK = makeString(["%s", bk], a) | |
424 | + | [aq(bl, by), aq(bn, bA), ac(bu, bH), ac(bt, bG), aq(bm, bz), aq(bv, bI), aq(bo, bB), aq(bp, bC), ac(bq, bD), ac(bw, bJ), aq(br, bE), aq(bs, bF), ac(bx, bK)] | |
379 | 425 | } | |
380 | 426 | ||
381 | 427 | ||
382 | - | func | |
383 | - | let | |
384 | - | (fraction(c, (f * | |
428 | + | func bL (h,bM) = { | |
429 | + | let bN = aD() | |
430 | + | (fraction(c, (f * bN), g(h)) * bM) | |
385 | 431 | } | |
386 | 432 | ||
387 | 433 | ||
388 | - | func | |
389 | - | let | |
390 | - | (( | |
434 | + | func bO (h,bP) = { | |
435 | + | let bQ = fraction(h, 15, 10) | |
436 | + | ((bP / ((h * bQ) - h)) * f) | |
391 | 437 | } | |
392 | 438 | ||
393 | 439 | ||
394 | - | func | |
395 | - | let | |
396 | - | [aa(J, ( | |
440 | + | func bR (bS) = { | |
441 | + | let bT = Y(L(J), "could not get the running StawLP") | |
442 | + | [aa(J, (bT + bS))] | |
397 | 443 | } | |
398 | 444 | ||
399 | 445 | ||
400 | - | func | |
401 | - | let | |
402 | - | [aa(J, ( | |
446 | + | func bU (bS) = { | |
447 | + | let bT = Y(L(J), "could not get the running StawLP") | |
448 | + | [aa(J, (bT - bS))] | |
403 | 449 | } | |
404 | 450 | ||
405 | 451 | ||
406 | - | func | |
407 | - | let | |
408 | - | [aa(I, ( | |
452 | + | func bV (bS) = { | |
453 | + | let bW = Y(L(I), "could not get total locked waves") | |
454 | + | [aa(I, (bW + bS))] | |
409 | 455 | } | |
410 | 456 | ||
411 | 457 | ||
412 | - | func | |
413 | - | let | |
414 | - | [aa(I, ( | |
458 | + | func bX (bS) = { | |
459 | + | let bW = Y(L(I), "could not get total locked waves") | |
460 | + | [aa(I, (bW - bS))] | |
415 | 461 | } | |
416 | 462 | ||
417 | 463 | ||
418 | - | func | |
419 | - | let | |
420 | - | let U = blockInfoByHeight( | |
464 | + | func bY (bZ) = { | |
465 | + | let ca = { | |
466 | + | let U = blockInfoByHeight(bZ) | |
421 | 467 | if ($isInstanceOf(U, "BlockInfo")) | |
422 | 468 | then { | |
423 | - | let | |
424 | - | | |
469 | + | let cb = U | |
470 | + | cb.timestamp | |
425 | 471 | } | |
426 | 472 | else throw("counld get timestamp") | |
427 | 473 | } | |
428 | - | | |
474 | + | ca | |
429 | 475 | } | |
430 | 476 | ||
431 | 477 | ||
432 | 478 | @Callable(at) | |
433 | - | func getEmission (h, | |
434 | - | let | |
435 | - | if (( | |
436 | - | then $Tuple2(nil, | |
479 | + | func getEmission (h,bP) = { | |
480 | + | let cc = as(at) | |
481 | + | if ((cc == cc)) | |
482 | + | then $Tuple2(nil, bO(h, bP)) | |
437 | 483 | else throw("Strict value is not equal to itself.") | |
438 | 484 | } | |
439 | 485 | ||
440 | 486 | ||
441 | 487 | ||
442 | 488 | @Callable(at) | |
443 | - | func init (au, | |
444 | - | let | |
489 | + | func init (au,cd,aB,ce) = { | |
490 | + | let cf = if (isDefined(N(n))) | |
445 | 491 | then as(at) | |
446 | 492 | else true | |
447 | - | if (( | |
493 | + | if ((cf == cf)) | |
448 | 494 | then { | |
449 | - | let | |
450 | - | if (( | |
495 | + | let cc = aw(au) | |
496 | + | if ((cc == cc)) | |
451 | 497 | then { | |
452 | - | let | |
453 | - | if (( | |
498 | + | let cg = aw(cd) | |
499 | + | if ((cg == cg)) | |
454 | 500 | then { | |
455 | - | let | |
456 | - | if (( | |
501 | + | let ch = aw(ce) | |
502 | + | if ((ch == ch)) | |
457 | 503 | then { | |
458 | - | let | |
459 | - | if (( | |
504 | + | let ci = aA(aB) | |
505 | + | if ((ci == ci)) | |
460 | 506 | then { | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | [af(n, au), af(o, | |
507 | + | let cj = S(p, 0) | |
508 | + | let ck = S(k, 0) | |
509 | + | let cl = S(l, c) | |
510 | + | let cm = S(H, 0) | |
511 | + | let cn = S(J, 0) | |
512 | + | let co = S(K, 0) | |
513 | + | let cp = S(I, 0) | |
514 | + | [af(n, au), af(o, cd), af(m, aB), af(q, ce), af(p, cj), af(l, cl), af(k, ck), af(I, cp), af(J, cn), af(H, cm)] | |
469 | 515 | } | |
470 | 516 | else throw("Strict value is not equal to itself.") | |
471 | 517 | } | |
482 | 528 | ||
483 | 529 | @Callable(at) | |
484 | 530 | func modifyGlobalParams (W) = { | |
485 | - | let | |
486 | - | if (( | |
531 | + | let cc = as(at) | |
532 | + | if ((cc == cc)) | |
487 | 533 | then { | |
488 | - | let | |
489 | - | if (( | |
534 | + | let cg = ad((size(W) == 2), "[global_key, value] pairs expected") | |
535 | + | if ((cg == cg)) | |
490 | 536 | then { | |
491 | 537 | let M = W[0] | |
492 | - | let | |
493 | - | let U = | |
538 | + | let cq = parseInt(W[1]) | |
539 | + | let U = cq | |
494 | 540 | if ($isInstanceOf(U, "Int")) | |
495 | 541 | then { | |
496 | 542 | let ak = U | |
497 | - | let | |
498 | - | if (( | |
543 | + | let cr = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
544 | + | if ((cr == cr)) | |
499 | 545 | then [af(M, ak)] | |
500 | 546 | else throw("Strict value is not equal to itself.") | |
501 | 547 | } | |
502 | 548 | else if ($isInstanceOf(U, "Unit")) | |
503 | 549 | then { | |
504 | 550 | let ak = U | |
505 | - | let | |
506 | - | if (( | |
551 | + | let cr = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
552 | + | if ((cr == cr)) | |
507 | 553 | then { | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let az = | |
554 | + | let cs = W[1] | |
555 | + | let ct = ai(n) | |
556 | + | let ci = { | |
557 | + | let az = ct | |
512 | 558 | if ($isInstanceOf(az, "String")) | |
513 | 559 | then { | |
514 | - | let | |
515 | - | if ((size( | |
516 | - | then aw( | |
517 | - | else aA( | |
560 | + | let cu = az | |
561 | + | if ((size(cu) == size(cs))) | |
562 | + | then aw(cs) | |
563 | + | else aA(cs) | |
518 | 564 | } | |
519 | 565 | else throw("value type not supported") | |
520 | 566 | } | |
521 | - | if (( | |
522 | - | then [af(M, | |
567 | + | if ((ci == ci)) | |
568 | + | then [af(M, cs)] | |
523 | 569 | else throw("Strict value is not equal to itself.") | |
524 | 570 | } | |
525 | 571 | else throw("Strict value is not equal to itself.") | |
535 | 581 | ||
536 | 582 | @Callable(at) | |
537 | 583 | func revokeLock () = { | |
538 | - | let | |
539 | - | if (( | |
584 | + | let cc = as(at) | |
585 | + | if ((cc == cc)) | |
540 | 586 | then nil | |
541 | 587 | else throw("Strict value is not equal to itself.") | |
542 | 588 | } | |
544 | 590 | ||
545 | 591 | ||
546 | 592 | @Callable(at) | |
547 | - | func claim (aZ) = { | |
548 | - | let cu = toBase58String(at.caller.bytes) | |
549 | - | let cv = makeString([cu, aZ, z], a) | |
550 | - | let cw = makeString([cu, aZ, w], a) | |
551 | - | let cx = makeString([cu, aZ, y], a) | |
552 | - | let cy = makeString([cu, aZ, E], a) | |
553 | - | let cz = makeString([cu, aZ, F], a) | |
554 | - | let cA = makeString([cu, aZ, B], a) | |
555 | - | let cB = makeString([cu, aZ, z], a) | |
556 | - | let cC = makeString([cu, v], a) | |
557 | - | let cD = makeString([cu, aZ, G], a) | |
558 | - | let cE = makeString([cu, aZ, G], a) | |
559 | - | let cF = Q(I) | |
560 | - | if ((cF == cF)) | |
593 | + | func claim (ba) = { | |
594 | + | let cv = toBase58String(at.caller.bytes) | |
595 | + | let cw = makeString([cv, ba, z], a) | |
596 | + | let cx = makeString([cv, ba, w], a) | |
597 | + | let cy = makeString([cv, ba, y], a) | |
598 | + | let cz = makeString([cv, ba, E], a) | |
599 | + | let cA = makeString([cv, ba, F], a) | |
600 | + | let cB = makeString([cv, ba, B], a) | |
601 | + | let cC = makeString([cv, ba, z], a) | |
602 | + | let cD = makeString([cv, v], a) | |
603 | + | let cE = makeString([cv, ba, G], a) | |
604 | + | let cF = makeString([cv, ba, G], a) | |
605 | + | let cG = { | |
606 | + | let U = ai(I) | |
607 | + | if ($isInstanceOf(U, "Int")) | |
608 | + | then { | |
609 | + | let aV = U | |
610 | + | aV | |
611 | + | } | |
612 | + | else throw("failed to get global total waves") | |
613 | + | } | |
614 | + | if ((cG == cG)) | |
561 | 615 | then { | |
562 | - | let cG = Q(J) | |
563 | - | if ((cG == cG)) | |
616 | + | let cH = { | |
617 | + | let U = ai(J) | |
618 | + | if ($isInstanceOf(U, "Int")) | |
619 | + | then { | |
620 | + | let aV = U | |
621 | + | aV | |
622 | + | } | |
623 | + | else throw("failed to get global total waves") | |
624 | + | } | |
625 | + | if ((cH == cH)) | |
564 | 626 | then { | |
565 | - | let | |
566 | - | let U = ai( | |
627 | + | let bh = { | |
628 | + | let U = ai(cy) | |
567 | 629 | if ($isInstanceOf(U, "ByteVector")) | |
568 | 630 | then { | |
569 | - | let | |
570 | - | | |
631 | + | let aV = U | |
632 | + | aV | |
571 | 633 | } | |
572 | 634 | else throw("failed to get lease id") | |
573 | 635 | } | |
574 | - | if (( | |
636 | + | if ((bh == bh)) | |
575 | 637 | then { | |
576 | 638 | let cI = { | |
577 | - | let U = ai( | |
639 | + | let U = ai(cD) | |
578 | 640 | if ($isInstanceOf(U, "Int")) | |
579 | 641 | then { | |
580 | - | let | |
581 | - | | |
642 | + | let aV = U | |
643 | + | aV | |
582 | 644 | } | |
583 | 645 | else throw("failed to get total waves locked by this address") | |
584 | 646 | } | |
585 | 647 | if ((cI == cI)) | |
586 | 648 | then { | |
587 | 649 | let aQ = { | |
588 | - | let U = ai( | |
650 | + | let U = ai(cC) | |
589 | 651 | if ($isInstanceOf(U, "Int")) | |
590 | 652 | then { | |
591 | - | let | |
592 | - | | |
653 | + | let aV = U | |
654 | + | aV | |
593 | 655 | } | |
594 | 656 | else throw("failed to get total waves locked") | |
595 | 657 | } | |
596 | 658 | if ((aQ == aQ)) | |
597 | 659 | then { | |
598 | 660 | let cJ = { | |
599 | - | let U = ai( | |
661 | + | let U = ai(cA) | |
600 | 662 | if ($isInstanceOf(U, "Int")) | |
601 | 663 | then { | |
602 | - | let | |
603 | - | | |
664 | + | let aV = U | |
665 | + | aV | |
604 | 666 | } | |
605 | 667 | else throw("failed to get total waves claimed") | |
606 | 668 | } | |
607 | 669 | if ((cJ == cJ)) | |
608 | 670 | then { | |
609 | - | let | |
610 | - | let U = ai( | |
671 | + | let bf = { | |
672 | + | let U = ai(cB) | |
611 | 673 | if ($isInstanceOf(U, "Int")) | |
612 | 674 | then { | |
613 | - | let | |
614 | - | | |
675 | + | let aV = U | |
676 | + | aV | |
615 | 677 | } | |
616 | 678 | else throw("failed to get stawPL") | |
617 | 679 | } | |
618 | - | if (( | |
680 | + | if ((bf == bf)) | |
619 | 681 | then { | |
620 | 682 | let cK = { | |
621 | - | let U = ai( | |
683 | + | let U = ai(cz) | |
622 | 684 | if ($isInstanceOf(U, "Int")) | |
623 | 685 | then { | |
624 | - | let | |
625 | - | | |
686 | + | let aV = U | |
687 | + | aV | |
626 | 688 | } | |
627 | 689 | else throw("failed to get lock period timespam") | |
628 | 690 | } | |
629 | 691 | if ((cK == cK)) | |
630 | 692 | then { | |
631 | 693 | let cL = { | |
632 | - | let U = | |
694 | + | let U = bY(height) | |
633 | 695 | if ($isInstanceOf(U, "Int")) | |
634 | 696 | then { | |
635 | - | let | |
636 | - | | |
697 | + | let aV = U | |
698 | + | aV | |
637 | 699 | } | |
638 | 700 | else throw("failed to get current timestamp") | |
639 | 701 | } | |
640 | 702 | if ((cL == cL)) | |
641 | 703 | then { | |
642 | - | let | |
643 | - | let U = ai( | |
704 | + | let bP = { | |
705 | + | let U = ai(cw) | |
644 | 706 | if ($isInstanceOf(U, "Int")) | |
645 | 707 | then { | |
646 | - | let | |
647 | - | | |
708 | + | let aV = U | |
709 | + | aV | |
648 | 710 | } | |
649 | 711 | else throw("failed to get collateral") | |
650 | 712 | } | |
651 | - | if (( | |
713 | + | if ((bP == bP)) | |
652 | 714 | then { | |
653 | 715 | let h = { | |
654 | - | let U = ai( | |
716 | + | let U = ai(cx) | |
655 | 717 | if ($isInstanceOf(U, "Int")) | |
656 | 718 | then { | |
657 | - | let | |
658 | - | | |
719 | + | let aV = U | |
720 | + | aV | |
659 | 721 | } | |
660 | 722 | else throw("failed to get lockPeriod") | |
661 | 723 | } | |
662 | 724 | if ((h == h)) | |
663 | 725 | then { | |
664 | 726 | let cM = { | |
665 | - | let U = ai( | |
727 | + | let U = ai(cE) | |
666 | 728 | if ($isInstanceOf(U, "String")) | |
667 | 729 | then { | |
668 | - | let | |
669 | - | | |
730 | + | let aV = U | |
731 | + | aV | |
670 | 732 | } | |
671 | 733 | else throw("failed to get lease state") | |
672 | 734 | } | |
673 | 735 | if ((cM == cM)) | |
674 | 736 | then { | |
675 | - | let | |
676 | - | let U = ai( | |
737 | + | let bk = { | |
738 | + | let U = ai(cF) | |
677 | 739 | if ($isInstanceOf(U, "String")) | |
678 | 740 | then { | |
679 | - | let | |
680 | - | | |
741 | + | let aV = U | |
742 | + | aV | |
681 | 743 | } | |
682 | 744 | else throw("failed to get lease state for user") | |
683 | 745 | } | |
684 | - | if (( | |
746 | + | if ((bk == bk)) | |
685 | 747 | then { | |
686 | - | let | |
687 | - | if (( | |
748 | + | let cc = ad((cK > cL), "lock period for this entry has not elapsed") | |
749 | + | if ((cc == cc)) | |
688 | 750 | then { | |
689 | 751 | let cN = if ((cM == "leased")) | |
690 | - | then $Tuple2(LeaseCancel( | |
691 | - | else $Tuple2(ac( | |
752 | + | then $Tuple2(LeaseCancel(bh), ac(cE, "cancelled")) | |
753 | + | else $Tuple2(ac(cE, "cancelled"), ac(cE, "cancelled")) | |
692 | 754 | if ((cN == cN)) | |
693 | 755 | then { | |
694 | - | let | |
756 | + | let cg = ad(if ((0 == aQ)) | |
695 | 757 | then true | |
696 | - | else (0 == | |
697 | - | if (( | |
758 | + | else (0 == bf), "all claims exhausted for this trx") | |
759 | + | if ((cg == cg)) | |
698 | 760 | then { | |
699 | - | let cO = ( | |
761 | + | let cO = (bO(h, bP) * f) | |
700 | 762 | let cP = { | |
701 | 763 | let cQ = (cL - cK) | |
702 | 764 | let cR = (cQ / f) | |
722 | 784 | then (aQ - cS) | |
723 | 785 | else (aQ - (cS - cJ)) | |
724 | 786 | let cY = if ((cR == 1)) | |
725 | - | then ( | |
726 | - | else ( | |
727 | - | let cZ = ( | |
728 | - | let da = ( | |
787 | + | then (bf - cS) | |
788 | + | else (bf - (cS - cJ)) | |
789 | + | let cZ = (cG - cX) | |
790 | + | let da = (cH - cY) | |
729 | 791 | let db = (cI - cV) | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
792 | + | let bB = makeString(["%d", toString(cX)], a) | |
793 | + | let bD = makeString(["%d", toString(cY)], a) | |
794 | + | let bJ = makeString(["%d", toString(cW)], a) | |
733 | 795 | let dc = makeString(["%d", toString(db)], a) | |
734 | - | [cN._1, cN._2, ac(cB, | |
796 | + | [cN._1, cN._2, ac(cC, bB), ac(cB, bD), ac(cA, bJ), ac(cD, dc), af(I, cZ), af(J, da), ScriptTransfer(Address(at.caller.bytes), cV, unit)] | |
735 | 797 | } | |
736 | 798 | else throw("Strict value is not equal to itself.") | |
737 | 799 | } | |
779 | 841 | ||
780 | 842 | @Callable(at) | |
781 | 843 | func mintStaw (h) = { | |
782 | - | let | |
844 | + | let cv = toBase58String(at.caller.bytes) | |
783 | 845 | let dd = toBase58String(at.transactionId) | |
784 | - | let | |
785 | - | if (( | |
846 | + | let cc = ad((1 != size(at.payments)), "no payments attached") | |
847 | + | if ((cc == cc)) | |
786 | 848 | then { | |
787 | - | let | |
849 | + | let cg = if (isDefined(at.payments[0].assetId)) | |
788 | 850 | then throw("only waves supported") | |
789 | 851 | else true | |
790 | - | if (( | |
852 | + | if ((cg == cg)) | |
791 | 853 | then { | |
792 | 854 | let de = at.payments[0].amount | |
793 | - | let | |
855 | + | let ch = if (if ((d > de)) | |
794 | 856 | then true | |
795 | 857 | else (de > e)) | |
796 | 858 | then throw("amount to lock is out of range") | |
797 | 859 | else true | |
798 | - | if (( | |
860 | + | if ((ch == ch)) | |
799 | 861 | then { | |
800 | - | let | |
862 | + | let ci = if ((b > h)) | |
801 | 863 | then throw("minimum of 14 days lock period") | |
802 | 864 | else true | |
803 | - | if (( | |
865 | + | if ((ci == ci)) | |
804 | 866 | then { | |
805 | - | let df = | |
867 | + | let df = bL(h, de) | |
806 | 868 | let aS = de | |
807 | 869 | let dg = fraction(df, 10, 100) | |
808 | 870 | let dh = (df - dg) | |
809 | - | let di = ( | |
871 | + | let di = (bY(height) + an(h)) | |
810 | 872 | if ((di == di)) | |
811 | 873 | then { | |
812 | 874 | let dj = (Y(L(K), "global index not previously defined") + 1) | |
821 | 883 | let dl = Address(fromBase58String(V(N(q), "lease node not previously defined"))) | |
822 | 884 | if ((dl == dl)) | |
823 | 885 | then { | |
824 | - | let dm = makeString([ | |
825 | - | let dn = makeString([ | |
886 | + | let dm = makeString([cv, u], a) | |
887 | + | let dn = makeString([cv, v], a) | |
826 | 888 | let do = { | |
827 | 889 | let U = ai(dm) | |
828 | 890 | if ($isInstanceOf(U, "Int")) | |
850 | 912 | then { | |
851 | 913 | let dr = toBase58String(calculateLeaseId(dq)) | |
852 | 914 | if ((dr == dr)) | |
853 | - | then (([dq, ScriptTransfer(dk, dg, aF), ScriptTransfer(Address(at.caller.bytes), dh, aF)] ++ | |
915 | + | then (([dq, ScriptTransfer(dk, dg, aF), ScriptTransfer(Address(at.caller.bytes), dh, aF)] ++ aZ(dd, cv, h, di, dj, de, dh, aS, height, dr, dp, do, "leased")) ++ aP(de, df, aS, dj)) | |
854 | 916 | else throw("Strict value is not equal to itself.") | |
855 | 917 | } | |
856 | 918 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "_" | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = (1 * c) | |
11 | 11 | ||
12 | 12 | let e = (1000 * c) | |
13 | 13 | ||
14 | 14 | let f = 86400000 | |
15 | 15 | ||
16 | 16 | func g (h) = fraction(c, 365, h) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | let i = (1000000 * c) | |
20 | 20 | ||
21 | 21 | let j = fraction(c, 10, 100) | |
22 | 22 | ||
23 | 23 | let k = "Current_PercentageReduction_Factor_For_Mr" | |
24 | 24 | ||
25 | 25 | let l = "Minting_Rate" | |
26 | 26 | ||
27 | 27 | let m = "Staw_AssetId" | |
28 | 28 | ||
29 | 29 | let n = "manager" | |
30 | 30 | ||
31 | 31 | let o = "Dfx" | |
32 | 32 | ||
33 | 33 | let p = "CirculationIncrementIndex" | |
34 | 34 | ||
35 | 35 | let q = "LeaseNode" | |
36 | 36 | ||
37 | 37 | let r = "EmissionAmountClaimed" | |
38 | 38 | ||
39 | 39 | let s = "CanClaimEmissionAmount" | |
40 | 40 | ||
41 | 41 | let t = "WalletAddress" | |
42 | 42 | ||
43 | 43 | let u = "TotalEntryIndexCount" | |
44 | 44 | ||
45 | 45 | let v = "TotalLocked" | |
46 | 46 | ||
47 | 47 | let w = "LockDuration" | |
48 | 48 | ||
49 | 49 | let x = "GlobalLockIndex" | |
50 | 50 | ||
51 | 51 | let y = "LockIdentifier" | |
52 | 52 | ||
53 | 53 | let z = "AmountInWaves" | |
54 | 54 | ||
55 | 55 | let A = "AmountInStaw" | |
56 | 56 | ||
57 | 57 | let B = "AmountInStawLP" | |
58 | 58 | ||
59 | 59 | let C = "TXID" | |
60 | 60 | ||
61 | 61 | let D = "LockAtHeight" | |
62 | 62 | ||
63 | 63 | let E = "LocKPeriodInMilliSec" | |
64 | 64 | ||
65 | 65 | let F = "TotalWavesClaimed" | |
66 | 66 | ||
67 | 67 | let G = "LeaseState" | |
68 | 68 | ||
69 | 69 | let H = "TotalStawMinted" | |
70 | 70 | ||
71 | 71 | let I = "TotalWavesLocked" | |
72 | 72 | ||
73 | 73 | let J = "TotalStawLP" | |
74 | 74 | ||
75 | 75 | let K = "IndexCount" | |
76 | 76 | ||
77 | 77 | func L (M) = getInteger(this, M) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func N (M) = getString(this, M) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func O (M) = getBoolean(this, M) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func P (M) = value(getBoolean(this, M)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func Q (M) = value(getInteger(this, M)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func R (M) = value(getString(this, M)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func S (M,T) = { | |
96 | 96 | let U = T | |
97 | 97 | if ($isInstanceOf(U, "String")) | |
98 | 98 | then { | |
99 | 99 | let T = U | |
100 | 100 | if (isDefined(N(M))) | |
101 | 101 | then R(M) | |
102 | 102 | else T | |
103 | 103 | } | |
104 | 104 | else if ($isInstanceOf(U, "Int")) | |
105 | 105 | then { | |
106 | 106 | let T = U | |
107 | 107 | if (isDefined(L(M))) | |
108 | 108 | then Q(M) | |
109 | 109 | else T | |
110 | 110 | } | |
111 | 111 | else if ($isInstanceOf(U, "Boolean")) | |
112 | 112 | then { | |
113 | 113 | let T = U | |
114 | 114 | if (isDefined(O(M))) | |
115 | 115 | then P(M) | |
116 | 116 | else T | |
117 | 117 | } | |
118 | 118 | else throw(("value type not supported for " + M)) | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func V (W,X) = { | |
123 | 123 | let U = W | |
124 | 124 | if ($isInstanceOf(U, "String")) | |
125 | 125 | then { | |
126 | 126 | let W = U | |
127 | 127 | W | |
128 | 128 | } | |
129 | 129 | else throw(X) | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func Y (W,X) = { | |
134 | 134 | let U = W | |
135 | 135 | if ($isInstanceOf(U, "Int")) | |
136 | 136 | then { | |
137 | 137 | let W = U | |
138 | 138 | W | |
139 | 139 | } | |
140 | 140 | else throw(X) | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func Z (W,X) = { | |
145 | 145 | let U = W | |
146 | 146 | if ($isInstanceOf(U, "Boolean")) | |
147 | 147 | then { | |
148 | 148 | let W = U | |
149 | 149 | W | |
150 | 150 | } | |
151 | 151 | else throw(X) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func aa (M,ab) = if ((0 > ab)) | |
156 | 156 | then throw(((("writing negative value " + toString(ab)) + " for key ") + M)) | |
157 | 157 | else IntegerEntry(M, ab) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ac (M,ab) = if ((" " == ab)) | |
161 | 161 | then throw(("writing an empty string " + ab)) | |
162 | 162 | else StringEntry(M, ab) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ad (ae,X) = if (ae) | |
166 | 166 | then throw(X) | |
167 | 167 | else true | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func af (M,ag) = { | |
171 | 171 | let U = ag | |
172 | 172 | if ($isInstanceOf(U, "Int")) | |
173 | 173 | then { | |
174 | 174 | let ag = U | |
175 | 175 | let ah = makeString(["%d", toString(ag)], a) | |
176 | 176 | ac(M, ah) | |
177 | 177 | } | |
178 | 178 | else if ($isInstanceOf(U, "String")) | |
179 | 179 | then { | |
180 | 180 | let ag = U | |
181 | 181 | let ah = makeString(["%s", ag], a) | |
182 | 182 | ac(M, ah) | |
183 | 183 | } | |
184 | 184 | else if ($isInstanceOf(U, "Boolean")) | |
185 | 185 | then { | |
186 | 186 | let ag = U | |
187 | 187 | let ah = makeString(["%b", toString(ag)], a) | |
188 | 188 | ac(M, ah) | |
189 | 189 | } | |
190 | 190 | else throw("type not supported") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func ai (M) = { | |
195 | 195 | let aj = V(N(M), "entry not found") | |
196 | 196 | if ((aj == aj)) | |
197 | 197 | then { | |
198 | 198 | let ak = split(aj, a) | |
199 | 199 | let al = takeRight(ak[0], 1) | |
200 | 200 | let am = ak[(size(ak) - 1)] | |
201 | 201 | let ag = if ((al == "s")) | |
202 | 202 | then am | |
203 | 203 | else if ((al == "d")) | |
204 | 204 | then parseIntValue(am) | |
205 | 205 | else if ((al == "b")) | |
206 | 206 | then fromBase58String(am) | |
207 | 207 | else throw(("could not parse registry value for " + M)) | |
208 | 208 | ag | |
209 | 209 | } | |
210 | 210 | else throw("Strict value is not equal to itself.") | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func an (ao) = { | |
215 | 215 | let ap = ad((ao >= 0), "invalid locking days!") | |
216 | 216 | if ((ap == ap)) | |
217 | 217 | then (ao * f) | |
218 | 218 | else throw("Strict value is not equal to itself.") | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aq (M,ab) = if (!(isDefined(N(M)))) | |
223 | 223 | then ac(M, ab) | |
224 | 224 | else throw(("entry already initialized: " + M)) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func ar (M,ab) = if (!(isDefined(N(M)))) | |
228 | 228 | then aa(M, ab) | |
229 | 229 | else throw((" entry already initialized: " + M)) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func as (at) = { | |
233 | 233 | let au = { | |
234 | 234 | let U = ai(n) | |
235 | 235 | if ($isInstanceOf(U, "String")) | |
236 | 236 | then { | |
237 | 237 | let W = U | |
238 | 238 | W | |
239 | 239 | } | |
240 | 240 | else "failed to get manager" | |
241 | 241 | } | |
242 | 242 | if ((au == au)) | |
243 | 243 | then ad((toBase58String(at.caller.bytes) != au), "address not authorized") | |
244 | 244 | else throw("Strict value is not equal to itself.") | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func av (W) = if ((0 > W)) | |
249 | 249 | then -(W) | |
250 | 250 | else W | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func aw (ax) = { | |
254 | 254 | let U = ax | |
255 | 255 | if ($isInstanceOf(U, "String")) | |
256 | 256 | then { | |
257 | 257 | let ax = U | |
258 | 258 | let ay = addressFromString(ax) | |
259 | 259 | let az = ay | |
260 | 260 | if ($isInstanceOf(az, "Address")) | |
261 | 261 | then { | |
262 | 262 | let ay = az | |
263 | 263 | true | |
264 | 264 | } | |
265 | 265 | else throw("invalid address") | |
266 | 266 | } | |
267 | 267 | else if ($isInstanceOf(U, "ByteVector")) | |
268 | 268 | then { | |
269 | 269 | let ax = U | |
270 | 270 | let ay = addressFromPublicKey(ax) | |
271 | 271 | let az = ay | |
272 | 272 | if ($isInstanceOf(az, "Address")) | |
273 | 273 | then { | |
274 | 274 | let ay = az | |
275 | 275 | true | |
276 | 276 | } | |
277 | 277 | else throw("invalid public key") | |
278 | 278 | } | |
279 | 279 | else throw("invalid input type") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func aA (aB) = { | |
284 | 284 | let U = assetInfo(fromBase58String(aB)) | |
285 | 285 | if ($isInstanceOf(U, "Asset")) | |
286 | 286 | then { | |
287 | 287 | let aC = U | |
288 | 288 | true | |
289 | 289 | } | |
290 | 290 | else throw(("invalid asset id: " + aB)) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func aD () = { | |
295 | 295 | let aE = Y(L(p), "increment index not previously defined") | |
296 | 296 | if ((aE == aE)) | |
297 | 297 | then { | |
298 | 298 | let aF = V(N(m), "asset id not previouly defined") | |
299 | 299 | if ((aF == aF)) | |
300 | 300 | then { | |
301 | 301 | let aG = { | |
302 | 302 | let U = assetInfo(fromBase58String(aF)) | |
303 | 303 | if ($isInstanceOf(U, "Asset")) | |
304 | 304 | then { | |
305 | 305 | let aC = U | |
306 | 306 | aC.quantity | |
307 | 307 | } | |
308 | 308 | else throw(("asset not found for " + aF)) | |
309 | 309 | } | |
310 | 310 | let aH = (av((aG - i)) / i) | |
311 | 311 | let aI = if ((aH > aE)) | |
312 | 312 | then (aH + aE) | |
313 | 313 | else aE | |
314 | 314 | let aJ = Y(l, "miniting rate not previously defined") | |
315 | 315 | if ((aI == aE)) | |
316 | 316 | then aJ | |
317 | 317 | else { | |
318 | 318 | let aK = (Y(k, "reduction factor not previously defined") + 10) | |
319 | 319 | let aL = (aJ - fraction(aJ, aK, 100)) | |
320 | 320 | let aM = aa(l, aL) | |
321 | 321 | if ((aM == aM)) | |
322 | 322 | then { | |
323 | 323 | let aN = aa(k, aK) | |
324 | 324 | if ((aN == aN)) | |
325 | 325 | then { | |
326 | 326 | let aO = aa(p, aI) | |
327 | 327 | if ((aO == aO)) | |
328 | 328 | then aL | |
329 | 329 | else throw("Strict value is not equal to itself.") | |
330 | 330 | } | |
331 | 331 | else throw("Strict value is not equal to itself.") | |
332 | 332 | } | |
333 | 333 | else throw("Strict value is not equal to itself.") | |
334 | 334 | } | |
335 | 335 | } | |
336 | 336 | else throw("Strict value is not equal to itself.") | |
337 | 337 | } | |
338 | 338 | else throw("Strict value is not equal to itself.") | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func aP (aQ,aR,aS,aT) = { | |
343 | - | let aU = (Y(L(I), "global waves sum not previously defined") + aQ) | |
344 | - | let aV = (Y(L(H), "gobal staw minted not previously defined") + aR) | |
345 | - | let aW = (Y(L(J), "global stawPL not previously defined") + aS) | |
346 | - | let aX = (Y(L(K), "global index count not previously defined") + aT) | |
347 | - | [aa(I, aU), aa(H, aV), aa(J, aW), aa(K, aX)] | |
343 | + | let aU = { | |
344 | + | let U = ai(I) | |
345 | + | if ($isInstanceOf(U, "Int")) | |
346 | + | then { | |
347 | + | let aV = U | |
348 | + | (aV + aQ) | |
349 | + | } | |
350 | + | else throw("failed to get global total waves") | |
351 | + | } | |
352 | + | if ((aU == aU)) | |
353 | + | then { | |
354 | + | let aW = { | |
355 | + | let U = ai(H) | |
356 | + | if ($isInstanceOf(U, "Int")) | |
357 | + | then { | |
358 | + | let aV = U | |
359 | + | (aV + aR) | |
360 | + | } | |
361 | + | else throw("failed to get global total staw minted") | |
362 | + | } | |
363 | + | if ((aW == aW)) | |
364 | + | then { | |
365 | + | let aX = { | |
366 | + | let U = ai(J) | |
367 | + | if ($isInstanceOf(U, "Int")) | |
368 | + | then { | |
369 | + | let aV = U | |
370 | + | (aV + aS) | |
371 | + | } | |
372 | + | else throw("failed to get global total stawpl") | |
373 | + | } | |
374 | + | if ((aX == aX)) | |
375 | + | then { | |
376 | + | let aY = { | |
377 | + | let U = ai(K) | |
378 | + | if ($isInstanceOf(U, "Int")) | |
379 | + | then { | |
380 | + | let aV = U | |
381 | + | (aV + aT) | |
382 | + | } | |
383 | + | else throw("failed to get global index count") | |
384 | + | } | |
385 | + | if ((aY == aY)) | |
386 | + | then [af(I, aU), af(H, aW), af(J, aX), af(K, aY)] | |
387 | + | else throw("Strict value is not equal to itself.") | |
388 | + | } | |
389 | + | else throw("Strict value is not equal to itself.") | |
390 | + | } | |
391 | + | else throw("Strict value is not equal to itself.") | |
392 | + | } | |
393 | + | else throw("Strict value is not equal to itself.") | |
348 | 394 | } | |
349 | 395 | ||
350 | 396 | ||
351 | - | func aY (aZ,ba,bb,bc,bd,aQ,aR,be,bf,bg,bh,bi,bj) = { | |
352 | - | let bk = makeString([ba, aZ, C], a) | |
353 | - | let bl = makeString([ba, aZ, w], a) | |
354 | - | let bm = makeString([ba, aZ, x], a) | |
355 | - | let bn = makeString([ba, aZ, z], a) | |
356 | - | let bo = makeString([ba, aZ, A], a) | |
357 | - | let bp = makeString([ba, aZ, B], a) | |
358 | - | let bq = makeString([ba, aZ, D], a) | |
359 | - | let br = makeString([ba, aZ, y], a) | |
360 | - | let bs = makeString([ba, v], a) | |
361 | - | let bt = makeString([ba, u], a) | |
362 | - | let bu = makeString([ba, aZ, E], a) | |
363 | - | let bv = makeString([ba, aZ, F], a) | |
364 | - | let bw = makeString([ba, aZ, G], a) | |
365 | - | let bx = makeString(["%s", aZ], a) | |
366 | - | let by = makeString(["%d", toString(bb)], a) | |
367 | - | let bz = makeString(["%d", toString(bd)], a) | |
368 | - | let bA = makeString(["%d", toString(aQ)], a) | |
369 | - | let bB = makeString(["%d", toString(aR)], a) | |
370 | - | let bC = makeString(["%d", toString(be)], a) | |
397 | + | func aZ (ba,bb,bc,bd,be,aQ,aR,bf,bg,bh,bi,bj,bk) = { | |
398 | + | let bl = makeString([bb, ba, C], a) | |
399 | + | let bm = makeString([bb, ba, w], a) | |
400 | + | let bn = makeString([bb, ba, x], a) | |
401 | + | let bo = makeString([bb, ba, z], a) | |
402 | + | let bp = makeString([bb, ba, A], a) | |
403 | + | let bq = makeString([bb, ba, B], a) | |
404 | + | let br = makeString([bb, ba, D], a) | |
405 | + | let bs = makeString([bb, ba, y], a) | |
406 | + | let bt = makeString([bb, v], a) | |
407 | + | let bu = makeString([bb, u], a) | |
408 | + | let bv = makeString([bb, ba, E], a) | |
409 | + | let bw = makeString([bb, ba, F], a) | |
410 | + | let bx = makeString([bb, ba, G], a) | |
411 | + | let by = makeString(["%s", ba], a) | |
412 | + | let bz = makeString(["%d", toString(bc)], a) | |
413 | + | let bA = makeString(["%d", toString(be)], a) | |
414 | + | let bB = makeString(["%d", toString(aQ)], a) | |
415 | + | let bC = makeString(["%d", toString(aR)], a) | |
371 | 416 | let bD = makeString(["%d", toString(bf)], a) | |
372 | - | let bE = makeString(["% | |
373 | - | let bF = makeString(["% | |
417 | + | let bE = makeString(["%d", toString(bg)], a) | |
418 | + | let bF = makeString(["%b", bh], a) | |
374 | 419 | let bG = makeString(["%d", toString(bi)], a) | |
375 | - | let bH = makeString(["%d", toString(bc)], a) | |
376 | - | let bI = makeString(["%d", toString(0)], a) | |
377 | - | let bJ = makeString(["%s", bj], a) | |
378 | - | [aq(bk, bx), aq(bm, bz), ac(bt, bG), ac(bs, bF), aq(bl, by), aq(bu, bH), aq(bn, bA), aq(bo, bB), ac(bp, bC), ac(bv, bI), aq(bq, bD), aq(br, bE), ac(bw, bJ)] | |
420 | + | let bH = makeString(["%d", toString(bj)], a) | |
421 | + | let bI = makeString(["%d", toString(bd)], a) | |
422 | + | let bJ = makeString(["%d", toString(0)], a) | |
423 | + | let bK = makeString(["%s", bk], a) | |
424 | + | [aq(bl, by), aq(bn, bA), ac(bu, bH), ac(bt, bG), aq(bm, bz), aq(bv, bI), aq(bo, bB), aq(bp, bC), ac(bq, bD), ac(bw, bJ), aq(br, bE), aq(bs, bF), ac(bx, bK)] | |
379 | 425 | } | |
380 | 426 | ||
381 | 427 | ||
382 | - | func | |
383 | - | let | |
384 | - | (fraction(c, (f * | |
428 | + | func bL (h,bM) = { | |
429 | + | let bN = aD() | |
430 | + | (fraction(c, (f * bN), g(h)) * bM) | |
385 | 431 | } | |
386 | 432 | ||
387 | 433 | ||
388 | - | func | |
389 | - | let | |
390 | - | (( | |
434 | + | func bO (h,bP) = { | |
435 | + | let bQ = fraction(h, 15, 10) | |
436 | + | ((bP / ((h * bQ) - h)) * f) | |
391 | 437 | } | |
392 | 438 | ||
393 | 439 | ||
394 | - | func | |
395 | - | let | |
396 | - | [aa(J, ( | |
440 | + | func bR (bS) = { | |
441 | + | let bT = Y(L(J), "could not get the running StawLP") | |
442 | + | [aa(J, (bT + bS))] | |
397 | 443 | } | |
398 | 444 | ||
399 | 445 | ||
400 | - | func | |
401 | - | let | |
402 | - | [aa(J, ( | |
446 | + | func bU (bS) = { | |
447 | + | let bT = Y(L(J), "could not get the running StawLP") | |
448 | + | [aa(J, (bT - bS))] | |
403 | 449 | } | |
404 | 450 | ||
405 | 451 | ||
406 | - | func | |
407 | - | let | |
408 | - | [aa(I, ( | |
452 | + | func bV (bS) = { | |
453 | + | let bW = Y(L(I), "could not get total locked waves") | |
454 | + | [aa(I, (bW + bS))] | |
409 | 455 | } | |
410 | 456 | ||
411 | 457 | ||
412 | - | func | |
413 | - | let | |
414 | - | [aa(I, ( | |
458 | + | func bX (bS) = { | |
459 | + | let bW = Y(L(I), "could not get total locked waves") | |
460 | + | [aa(I, (bW - bS))] | |
415 | 461 | } | |
416 | 462 | ||
417 | 463 | ||
418 | - | func | |
419 | - | let | |
420 | - | let U = blockInfoByHeight( | |
464 | + | func bY (bZ) = { | |
465 | + | let ca = { | |
466 | + | let U = blockInfoByHeight(bZ) | |
421 | 467 | if ($isInstanceOf(U, "BlockInfo")) | |
422 | 468 | then { | |
423 | - | let | |
424 | - | | |
469 | + | let cb = U | |
470 | + | cb.timestamp | |
425 | 471 | } | |
426 | 472 | else throw("counld get timestamp") | |
427 | 473 | } | |
428 | - | | |
474 | + | ca | |
429 | 475 | } | |
430 | 476 | ||
431 | 477 | ||
432 | 478 | @Callable(at) | |
433 | - | func getEmission (h, | |
434 | - | let | |
435 | - | if (( | |
436 | - | then $Tuple2(nil, | |
479 | + | func getEmission (h,bP) = { | |
480 | + | let cc = as(at) | |
481 | + | if ((cc == cc)) | |
482 | + | then $Tuple2(nil, bO(h, bP)) | |
437 | 483 | else throw("Strict value is not equal to itself.") | |
438 | 484 | } | |
439 | 485 | ||
440 | 486 | ||
441 | 487 | ||
442 | 488 | @Callable(at) | |
443 | - | func init (au, | |
444 | - | let | |
489 | + | func init (au,cd,aB,ce) = { | |
490 | + | let cf = if (isDefined(N(n))) | |
445 | 491 | then as(at) | |
446 | 492 | else true | |
447 | - | if (( | |
493 | + | if ((cf == cf)) | |
448 | 494 | then { | |
449 | - | let | |
450 | - | if (( | |
495 | + | let cc = aw(au) | |
496 | + | if ((cc == cc)) | |
451 | 497 | then { | |
452 | - | let | |
453 | - | if (( | |
498 | + | let cg = aw(cd) | |
499 | + | if ((cg == cg)) | |
454 | 500 | then { | |
455 | - | let | |
456 | - | if (( | |
501 | + | let ch = aw(ce) | |
502 | + | if ((ch == ch)) | |
457 | 503 | then { | |
458 | - | let | |
459 | - | if (( | |
504 | + | let ci = aA(aB) | |
505 | + | if ((ci == ci)) | |
460 | 506 | then { | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | let | |
468 | - | [af(n, au), af(o, | |
507 | + | let cj = S(p, 0) | |
508 | + | let ck = S(k, 0) | |
509 | + | let cl = S(l, c) | |
510 | + | let cm = S(H, 0) | |
511 | + | let cn = S(J, 0) | |
512 | + | let co = S(K, 0) | |
513 | + | let cp = S(I, 0) | |
514 | + | [af(n, au), af(o, cd), af(m, aB), af(q, ce), af(p, cj), af(l, cl), af(k, ck), af(I, cp), af(J, cn), af(H, cm)] | |
469 | 515 | } | |
470 | 516 | else throw("Strict value is not equal to itself.") | |
471 | 517 | } | |
472 | 518 | else throw("Strict value is not equal to itself.") | |
473 | 519 | } | |
474 | 520 | else throw("Strict value is not equal to itself.") | |
475 | 521 | } | |
476 | 522 | else throw("Strict value is not equal to itself.") | |
477 | 523 | } | |
478 | 524 | else throw("Strict value is not equal to itself.") | |
479 | 525 | } | |
480 | 526 | ||
481 | 527 | ||
482 | 528 | ||
483 | 529 | @Callable(at) | |
484 | 530 | func modifyGlobalParams (W) = { | |
485 | - | let | |
486 | - | if (( | |
531 | + | let cc = as(at) | |
532 | + | if ((cc == cc)) | |
487 | 533 | then { | |
488 | - | let | |
489 | - | if (( | |
534 | + | let cg = ad((size(W) == 2), "[global_key, value] pairs expected") | |
535 | + | if ((cg == cg)) | |
490 | 536 | then { | |
491 | 537 | let M = W[0] | |
492 | - | let | |
493 | - | let U = | |
538 | + | let cq = parseInt(W[1]) | |
539 | + | let U = cq | |
494 | 540 | if ($isInstanceOf(U, "Int")) | |
495 | 541 | then { | |
496 | 542 | let ak = U | |
497 | - | let | |
498 | - | if (( | |
543 | + | let cr = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
544 | + | if ((cr == cr)) | |
499 | 545 | then [af(M, ak)] | |
500 | 546 | else throw("Strict value is not equal to itself.") | |
501 | 547 | } | |
502 | 548 | else if ($isInstanceOf(U, "Unit")) | |
503 | 549 | then { | |
504 | 550 | let ak = U | |
505 | - | let | |
506 | - | if (( | |
551 | + | let cr = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
552 | + | if ((cr == cr)) | |
507 | 553 | then { | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let az = | |
554 | + | let cs = W[1] | |
555 | + | let ct = ai(n) | |
556 | + | let ci = { | |
557 | + | let az = ct | |
512 | 558 | if ($isInstanceOf(az, "String")) | |
513 | 559 | then { | |
514 | - | let | |
515 | - | if ((size( | |
516 | - | then aw( | |
517 | - | else aA( | |
560 | + | let cu = az | |
561 | + | if ((size(cu) == size(cs))) | |
562 | + | then aw(cs) | |
563 | + | else aA(cs) | |
518 | 564 | } | |
519 | 565 | else throw("value type not supported") | |
520 | 566 | } | |
521 | - | if (( | |
522 | - | then [af(M, | |
567 | + | if ((ci == ci)) | |
568 | + | then [af(M, cs)] | |
523 | 569 | else throw("Strict value is not equal to itself.") | |
524 | 570 | } | |
525 | 571 | else throw("Strict value is not equal to itself.") | |
526 | 572 | } | |
527 | 573 | else throw(("failed to modify " + W[0])) | |
528 | 574 | } | |
529 | 575 | else throw("Strict value is not equal to itself.") | |
530 | 576 | } | |
531 | 577 | else throw("Strict value is not equal to itself.") | |
532 | 578 | } | |
533 | 579 | ||
534 | 580 | ||
535 | 581 | ||
536 | 582 | @Callable(at) | |
537 | 583 | func revokeLock () = { | |
538 | - | let | |
539 | - | if (( | |
584 | + | let cc = as(at) | |
585 | + | if ((cc == cc)) | |
540 | 586 | then nil | |
541 | 587 | else throw("Strict value is not equal to itself.") | |
542 | 588 | } | |
543 | 589 | ||
544 | 590 | ||
545 | 591 | ||
546 | 592 | @Callable(at) | |
547 | - | func claim (aZ) = { | |
548 | - | let cu = toBase58String(at.caller.bytes) | |
549 | - | let cv = makeString([cu, aZ, z], a) | |
550 | - | let cw = makeString([cu, aZ, w], a) | |
551 | - | let cx = makeString([cu, aZ, y], a) | |
552 | - | let cy = makeString([cu, aZ, E], a) | |
553 | - | let cz = makeString([cu, aZ, F], a) | |
554 | - | let cA = makeString([cu, aZ, B], a) | |
555 | - | let cB = makeString([cu, aZ, z], a) | |
556 | - | let cC = makeString([cu, v], a) | |
557 | - | let cD = makeString([cu, aZ, G], a) | |
558 | - | let cE = makeString([cu, aZ, G], a) | |
559 | - | let cF = Q(I) | |
560 | - | if ((cF == cF)) | |
593 | + | func claim (ba) = { | |
594 | + | let cv = toBase58String(at.caller.bytes) | |
595 | + | let cw = makeString([cv, ba, z], a) | |
596 | + | let cx = makeString([cv, ba, w], a) | |
597 | + | let cy = makeString([cv, ba, y], a) | |
598 | + | let cz = makeString([cv, ba, E], a) | |
599 | + | let cA = makeString([cv, ba, F], a) | |
600 | + | let cB = makeString([cv, ba, B], a) | |
601 | + | let cC = makeString([cv, ba, z], a) | |
602 | + | let cD = makeString([cv, v], a) | |
603 | + | let cE = makeString([cv, ba, G], a) | |
604 | + | let cF = makeString([cv, ba, G], a) | |
605 | + | let cG = { | |
606 | + | let U = ai(I) | |
607 | + | if ($isInstanceOf(U, "Int")) | |
608 | + | then { | |
609 | + | let aV = U | |
610 | + | aV | |
611 | + | } | |
612 | + | else throw("failed to get global total waves") | |
613 | + | } | |
614 | + | if ((cG == cG)) | |
561 | 615 | then { | |
562 | - | let cG = Q(J) | |
563 | - | if ((cG == cG)) | |
616 | + | let cH = { | |
617 | + | let U = ai(J) | |
618 | + | if ($isInstanceOf(U, "Int")) | |
619 | + | then { | |
620 | + | let aV = U | |
621 | + | aV | |
622 | + | } | |
623 | + | else throw("failed to get global total waves") | |
624 | + | } | |
625 | + | if ((cH == cH)) | |
564 | 626 | then { | |
565 | - | let | |
566 | - | let U = ai( | |
627 | + | let bh = { | |
628 | + | let U = ai(cy) | |
567 | 629 | if ($isInstanceOf(U, "ByteVector")) | |
568 | 630 | then { | |
569 | - | let | |
570 | - | | |
631 | + | let aV = U | |
632 | + | aV | |
571 | 633 | } | |
572 | 634 | else throw("failed to get lease id") | |
573 | 635 | } | |
574 | - | if (( | |
636 | + | if ((bh == bh)) | |
575 | 637 | then { | |
576 | 638 | let cI = { | |
577 | - | let U = ai( | |
639 | + | let U = ai(cD) | |
578 | 640 | if ($isInstanceOf(U, "Int")) | |
579 | 641 | then { | |
580 | - | let | |
581 | - | | |
642 | + | let aV = U | |
643 | + | aV | |
582 | 644 | } | |
583 | 645 | else throw("failed to get total waves locked by this address") | |
584 | 646 | } | |
585 | 647 | if ((cI == cI)) | |
586 | 648 | then { | |
587 | 649 | let aQ = { | |
588 | - | let U = ai( | |
650 | + | let U = ai(cC) | |
589 | 651 | if ($isInstanceOf(U, "Int")) | |
590 | 652 | then { | |
591 | - | let | |
592 | - | | |
653 | + | let aV = U | |
654 | + | aV | |
593 | 655 | } | |
594 | 656 | else throw("failed to get total waves locked") | |
595 | 657 | } | |
596 | 658 | if ((aQ == aQ)) | |
597 | 659 | then { | |
598 | 660 | let cJ = { | |
599 | - | let U = ai( | |
661 | + | let U = ai(cA) | |
600 | 662 | if ($isInstanceOf(U, "Int")) | |
601 | 663 | then { | |
602 | - | let | |
603 | - | | |
664 | + | let aV = U | |
665 | + | aV | |
604 | 666 | } | |
605 | 667 | else throw("failed to get total waves claimed") | |
606 | 668 | } | |
607 | 669 | if ((cJ == cJ)) | |
608 | 670 | then { | |
609 | - | let | |
610 | - | let U = ai( | |
671 | + | let bf = { | |
672 | + | let U = ai(cB) | |
611 | 673 | if ($isInstanceOf(U, "Int")) | |
612 | 674 | then { | |
613 | - | let | |
614 | - | | |
675 | + | let aV = U | |
676 | + | aV | |
615 | 677 | } | |
616 | 678 | else throw("failed to get stawPL") | |
617 | 679 | } | |
618 | - | if (( | |
680 | + | if ((bf == bf)) | |
619 | 681 | then { | |
620 | 682 | let cK = { | |
621 | - | let U = ai( | |
683 | + | let U = ai(cz) | |
622 | 684 | if ($isInstanceOf(U, "Int")) | |
623 | 685 | then { | |
624 | - | let | |
625 | - | | |
686 | + | let aV = U | |
687 | + | aV | |
626 | 688 | } | |
627 | 689 | else throw("failed to get lock period timespam") | |
628 | 690 | } | |
629 | 691 | if ((cK == cK)) | |
630 | 692 | then { | |
631 | 693 | let cL = { | |
632 | - | let U = | |
694 | + | let U = bY(height) | |
633 | 695 | if ($isInstanceOf(U, "Int")) | |
634 | 696 | then { | |
635 | - | let | |
636 | - | | |
697 | + | let aV = U | |
698 | + | aV | |
637 | 699 | } | |
638 | 700 | else throw("failed to get current timestamp") | |
639 | 701 | } | |
640 | 702 | if ((cL == cL)) | |
641 | 703 | then { | |
642 | - | let | |
643 | - | let U = ai( | |
704 | + | let bP = { | |
705 | + | let U = ai(cw) | |
644 | 706 | if ($isInstanceOf(U, "Int")) | |
645 | 707 | then { | |
646 | - | let | |
647 | - | | |
708 | + | let aV = U | |
709 | + | aV | |
648 | 710 | } | |
649 | 711 | else throw("failed to get collateral") | |
650 | 712 | } | |
651 | - | if (( | |
713 | + | if ((bP == bP)) | |
652 | 714 | then { | |
653 | 715 | let h = { | |
654 | - | let U = ai( | |
716 | + | let U = ai(cx) | |
655 | 717 | if ($isInstanceOf(U, "Int")) | |
656 | 718 | then { | |
657 | - | let | |
658 | - | | |
719 | + | let aV = U | |
720 | + | aV | |
659 | 721 | } | |
660 | 722 | else throw("failed to get lockPeriod") | |
661 | 723 | } | |
662 | 724 | if ((h == h)) | |
663 | 725 | then { | |
664 | 726 | let cM = { | |
665 | - | let U = ai( | |
727 | + | let U = ai(cE) | |
666 | 728 | if ($isInstanceOf(U, "String")) | |
667 | 729 | then { | |
668 | - | let | |
669 | - | | |
730 | + | let aV = U | |
731 | + | aV | |
670 | 732 | } | |
671 | 733 | else throw("failed to get lease state") | |
672 | 734 | } | |
673 | 735 | if ((cM == cM)) | |
674 | 736 | then { | |
675 | - | let | |
676 | - | let U = ai( | |
737 | + | let bk = { | |
738 | + | let U = ai(cF) | |
677 | 739 | if ($isInstanceOf(U, "String")) | |
678 | 740 | then { | |
679 | - | let | |
680 | - | | |
741 | + | let aV = U | |
742 | + | aV | |
681 | 743 | } | |
682 | 744 | else throw("failed to get lease state for user") | |
683 | 745 | } | |
684 | - | if (( | |
746 | + | if ((bk == bk)) | |
685 | 747 | then { | |
686 | - | let | |
687 | - | if (( | |
748 | + | let cc = ad((cK > cL), "lock period for this entry has not elapsed") | |
749 | + | if ((cc == cc)) | |
688 | 750 | then { | |
689 | 751 | let cN = if ((cM == "leased")) | |
690 | - | then $Tuple2(LeaseCancel( | |
691 | - | else $Tuple2(ac( | |
752 | + | then $Tuple2(LeaseCancel(bh), ac(cE, "cancelled")) | |
753 | + | else $Tuple2(ac(cE, "cancelled"), ac(cE, "cancelled")) | |
692 | 754 | if ((cN == cN)) | |
693 | 755 | then { | |
694 | - | let | |
756 | + | let cg = ad(if ((0 == aQ)) | |
695 | 757 | then true | |
696 | - | else (0 == | |
697 | - | if (( | |
758 | + | else (0 == bf), "all claims exhausted for this trx") | |
759 | + | if ((cg == cg)) | |
698 | 760 | then { | |
699 | - | let cO = ( | |
761 | + | let cO = (bO(h, bP) * f) | |
700 | 762 | let cP = { | |
701 | 763 | let cQ = (cL - cK) | |
702 | 764 | let cR = (cQ / f) | |
703 | 765 | if ((cR == 0)) | |
704 | 766 | then throw("less than 24hrs before first claim") | |
705 | 767 | else if (((cQ % f) != 0)) | |
706 | 768 | then throw("already claimed or less than 24hrs before next claim") | |
707 | 769 | else if ((cR > h)) | |
708 | 770 | then throw("all claims exhausted") | |
709 | 771 | else { | |
710 | 772 | let cS = (cR * cO) | |
711 | 773 | let cT = ad((cS == cJ), "can only claim once in 24hrs") | |
712 | 774 | if ((cT == cT)) | |
713 | 775 | then { | |
714 | 776 | let cU = ad(((cS + cJ) > aQ), "all claims exhausted") | |
715 | 777 | if ((cU == cU)) | |
716 | 778 | then { | |
717 | 779 | let cV = if ((cR == 1)) | |
718 | 780 | then cS | |
719 | 781 | else (cS - cJ) | |
720 | 782 | let cW = cS | |
721 | 783 | let cX = if ((cR == 1)) | |
722 | 784 | then (aQ - cS) | |
723 | 785 | else (aQ - (cS - cJ)) | |
724 | 786 | let cY = if ((cR == 1)) | |
725 | - | then ( | |
726 | - | else ( | |
727 | - | let cZ = ( | |
728 | - | let da = ( | |
787 | + | then (bf - cS) | |
788 | + | else (bf - (cS - cJ)) | |
789 | + | let cZ = (cG - cX) | |
790 | + | let da = (cH - cY) | |
729 | 791 | let db = (cI - cV) | |
730 | - | let | |
731 | - | let | |
732 | - | let | |
792 | + | let bB = makeString(["%d", toString(cX)], a) | |
793 | + | let bD = makeString(["%d", toString(cY)], a) | |
794 | + | let bJ = makeString(["%d", toString(cW)], a) | |
733 | 795 | let dc = makeString(["%d", toString(db)], a) | |
734 | - | [cN._1, cN._2, ac(cB, | |
796 | + | [cN._1, cN._2, ac(cC, bB), ac(cB, bD), ac(cA, bJ), ac(cD, dc), af(I, cZ), af(J, da), ScriptTransfer(Address(at.caller.bytes), cV, unit)] | |
735 | 797 | } | |
736 | 798 | else throw("Strict value is not equal to itself.") | |
737 | 799 | } | |
738 | 800 | else throw("Strict value is not equal to itself.") | |
739 | 801 | } | |
740 | 802 | } | |
741 | 803 | if ((cP == cP)) | |
742 | 804 | then cP | |
743 | 805 | else throw("Strict value is not equal to itself.") | |
744 | 806 | } | |
745 | 807 | else throw("Strict value is not equal to itself.") | |
746 | 808 | } | |
747 | 809 | else throw("Strict value is not equal to itself.") | |
748 | 810 | } | |
749 | 811 | else throw("Strict value is not equal to itself.") | |
750 | 812 | } | |
751 | 813 | else throw("Strict value is not equal to itself.") | |
752 | 814 | } | |
753 | 815 | else throw("Strict value is not equal to itself.") | |
754 | 816 | } | |
755 | 817 | else throw("Strict value is not equal to itself.") | |
756 | 818 | } | |
757 | 819 | else throw("Strict value is not equal to itself.") | |
758 | 820 | } | |
759 | 821 | else throw("Strict value is not equal to itself.") | |
760 | 822 | } | |
761 | 823 | else throw("Strict value is not equal to itself.") | |
762 | 824 | } | |
763 | 825 | else throw("Strict value is not equal to itself.") | |
764 | 826 | } | |
765 | 827 | else throw("Strict value is not equal to itself.") | |
766 | 828 | } | |
767 | 829 | else throw("Strict value is not equal to itself.") | |
768 | 830 | } | |
769 | 831 | else throw("Strict value is not equal to itself.") | |
770 | 832 | } | |
771 | 833 | else throw("Strict value is not equal to itself.") | |
772 | 834 | } | |
773 | 835 | else throw("Strict value is not equal to itself.") | |
774 | 836 | } | |
775 | 837 | else throw("Strict value is not equal to itself.") | |
776 | 838 | } | |
777 | 839 | ||
778 | 840 | ||
779 | 841 | ||
780 | 842 | @Callable(at) | |
781 | 843 | func mintStaw (h) = { | |
782 | - | let | |
844 | + | let cv = toBase58String(at.caller.bytes) | |
783 | 845 | let dd = toBase58String(at.transactionId) | |
784 | - | let | |
785 | - | if (( | |
846 | + | let cc = ad((1 != size(at.payments)), "no payments attached") | |
847 | + | if ((cc == cc)) | |
786 | 848 | then { | |
787 | - | let | |
849 | + | let cg = if (isDefined(at.payments[0].assetId)) | |
788 | 850 | then throw("only waves supported") | |
789 | 851 | else true | |
790 | - | if (( | |
852 | + | if ((cg == cg)) | |
791 | 853 | then { | |
792 | 854 | let de = at.payments[0].amount | |
793 | - | let | |
855 | + | let ch = if (if ((d > de)) | |
794 | 856 | then true | |
795 | 857 | else (de > e)) | |
796 | 858 | then throw("amount to lock is out of range") | |
797 | 859 | else true | |
798 | - | if (( | |
860 | + | if ((ch == ch)) | |
799 | 861 | then { | |
800 | - | let | |
862 | + | let ci = if ((b > h)) | |
801 | 863 | then throw("minimum of 14 days lock period") | |
802 | 864 | else true | |
803 | - | if (( | |
865 | + | if ((ci == ci)) | |
804 | 866 | then { | |
805 | - | let df = | |
867 | + | let df = bL(h, de) | |
806 | 868 | let aS = de | |
807 | 869 | let dg = fraction(df, 10, 100) | |
808 | 870 | let dh = (df - dg) | |
809 | - | let di = ( | |
871 | + | let di = (bY(height) + an(h)) | |
810 | 872 | if ((di == di)) | |
811 | 873 | then { | |
812 | 874 | let dj = (Y(L(K), "global index not previously defined") + 1) | |
813 | 875 | if ((dj == dj)) | |
814 | 876 | then { | |
815 | 877 | let dk = Address(fromBase58String(V(N(o), "dfx not previously defined"))) | |
816 | 878 | if ((dk == dk)) | |
817 | 879 | then { | |
818 | 880 | let aF = fromBase58String(V(N(m), "asset id not previously defined")) | |
819 | 881 | if ((aF == aF)) | |
820 | 882 | then { | |
821 | 883 | let dl = Address(fromBase58String(V(N(q), "lease node not previously defined"))) | |
822 | 884 | if ((dl == dl)) | |
823 | 885 | then { | |
824 | - | let dm = makeString([ | |
825 | - | let dn = makeString([ | |
886 | + | let dm = makeString([cv, u], a) | |
887 | + | let dn = makeString([cv, v], a) | |
826 | 888 | let do = { | |
827 | 889 | let U = ai(dm) | |
828 | 890 | if ($isInstanceOf(U, "Int")) | |
829 | 891 | then { | |
830 | 892 | let ak = U | |
831 | 893 | (ak + 1) | |
832 | 894 | } | |
833 | 895 | else 0 | |
834 | 896 | } | |
835 | 897 | if ((do == do)) | |
836 | 898 | then { | |
837 | 899 | let dp = { | |
838 | 900 | let U = ai(dn) | |
839 | 901 | if ($isInstanceOf(U, "Int")) | |
840 | 902 | then { | |
841 | 903 | let ak = U | |
842 | 904 | (ak + de) | |
843 | 905 | } | |
844 | 906 | else de | |
845 | 907 | } | |
846 | 908 | if ((dp == dp)) | |
847 | 909 | then { | |
848 | 910 | let dq = Lease(dl, de) | |
849 | 911 | if ((dq == dq)) | |
850 | 912 | then { | |
851 | 913 | let dr = toBase58String(calculateLeaseId(dq)) | |
852 | 914 | if ((dr == dr)) | |
853 | - | then (([dq, ScriptTransfer(dk, dg, aF), ScriptTransfer(Address(at.caller.bytes), dh, aF)] ++ | |
915 | + | then (([dq, ScriptTransfer(dk, dg, aF), ScriptTransfer(Address(at.caller.bytes), dh, aF)] ++ aZ(dd, cv, h, di, dj, de, dh, aS, height, dr, dp, do, "leased")) ++ aP(de, df, aS, dj)) | |
854 | 916 | else throw("Strict value is not equal to itself.") | |
855 | 917 | } | |
856 | 918 | else throw("Strict value is not equal to itself.") | |
857 | 919 | } | |
858 | 920 | else throw("Strict value is not equal to itself.") | |
859 | 921 | } | |
860 | 922 | else throw("Strict value is not equal to itself.") | |
861 | 923 | } | |
862 | 924 | else throw("Strict value is not equal to itself.") | |
863 | 925 | } | |
864 | 926 | else throw("Strict value is not equal to itself.") | |
865 | 927 | } | |
866 | 928 | else throw("Strict value is not equal to itself.") | |
867 | 929 | } | |
868 | 930 | else throw("Strict value is not equal to itself.") | |
869 | 931 | } | |
870 | 932 | else throw("Strict value is not equal to itself.") | |
871 | 933 | } | |
872 | 934 | else throw("Strict value is not equal to itself.") | |
873 | 935 | } | |
874 | 936 | else throw("Strict value is not equal to itself.") | |
875 | 937 | } | |
876 | 938 | else throw("Strict value is not equal to itself.") | |
877 | 939 | } | |
878 | 940 | else throw("Strict value is not equal to itself.") | |
879 | 941 | } | |
880 | 942 | ||
881 | 943 |
github/deemru/w8io/169f3d6 335.25 ms ◑