tx · C9f4Ed4UEj4hr2tRjbsizvTPFP1YHeGAWgouW8RJygCh 3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu: -0.01000000 Waves 2022.04.13 17:57 [2006951] smart account 3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu > SELF 0.00000000 Waves
{ "type": 13, "id": "C9f4Ed4UEj4hr2tRjbsizvTPFP1YHeGAWgouW8RJygCh", "fee": 1000000, "feeAssetId": null, "timestamp": 1649861875611, "version": 2, "chainId": 84, "sender": "3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu", "senderPublicKey": "914UmzBhcoS4onGGVcBRgb4VPV88m9VCFjsj5WWck5vm", "proofs": [ "3vaiyhkmQSme6e1eqnrUTwxGRStg1m8NCd71K54gV8AuBV3VToRe3wvSMgJQ27pXaJ1D3f86eDJ1mwnMSyPmmB4P" ], "script": "base64:AAIFAAAAAAAAAFgIAhIDCgEIEgMKAQgSBQoDAQgIEgwKCggICAgICAgICAgSDgoMCAEBCAgBCAgIAQEBEgQKAggIEgUKAwgICBIDCgEIEgQKAggIEgYKBAgICAgSBQoDCAgIAAAAUwAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVLZXkCAAAACW9yYWNsZUtleQEAAAAGZ2V0U3RyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAAZvd25lcnMJAARMAAAAAgkABB0AAAACBQAAAAlvcmFjbGVGZWUCAAAABm93bmVyMQkABEwAAAACCQAEHQAAAAIFAAAACW9yYWNsZUZlZQIAAAAGb3duZXIy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cGUyCQEAAAAUYWNjZXB0QmlkVHJhZGl0aW9uYWwAAAAFBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAUAAAAIYmlkT3duZXIJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAFlVua25vd24gYXVjdGlvbiB0eXBlIDoFAAAAC2F1Y3Rpb25UeXBlAgAAABssIHBsZWFzZSBjb250YWN0IHRoZSBhZG1pbnMAAAABaQEAAAAJY2FuY2VsQmlkAAAAAwAAAAVhcnRJZAAAAAZpc3N1ZXIAAAAFYmlkSWQEAAAAC2F1Y3Rpb25UeXBlCQEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABCQEAAAAOa2V5QXVjdGlvblR5cGUAAAACBQAAAAZpc3N1ZXIFAAAABWFydElkAwkAAAAAAAACBQAAAAthdWN0aW9uVHlwZQUAAAAMYXVjdGlvblR5cGUxCQEAAAANY2FuY2VsQmlkSW1wbAAAAAQFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkCQEAAAAYY2FuY2VsQmlkSW1wbFRyYWRpdGlvbmFsAAAABAUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQAAAAA/kRrZg==", "height": 2006951, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7dEFrEspPnskpxMiE7KkxFZNMMpKuvNdva5auwG9uYYb Next: J4hu6oG8ckdoaQuJS7VH15TKgPY8rCqK1Fu2a7tj1gJW Diff:
Old | New | Differences | |
---|---|---|---|
161 | 161 | ||
162 | 162 | func ar (M) = { | |
163 | 163 | let U = B(S(M)) | |
164 | - | if ((U == "")) | |
165 | - | then 0 | |
166 | - | else aq(U) | |
164 | + | aq(U) | |
167 | 165 | } | |
168 | 166 | ||
169 | 167 | ||
253 | 251 | then aF.assetId | |
254 | 252 | else throw("Wrong asset id") | |
255 | 253 | if (if ((aJ == unit)) | |
256 | - | then | |
257 | - | else | |
254 | + | then true | |
255 | + | else (aN != "")) | |
258 | 256 | then throw("Wrong asset id") | |
259 | 257 | else if ((aO != aG)) | |
260 | 258 | then throw(((("Payment don't match " + toString(aO)) + " ") + toString(aG))) | |
521 | 519 | let bZ = F(W(bd, M)) | |
522 | 520 | let ca = F(V(bd, M)) | |
523 | 521 | let bS = (ca + height) | |
524 | - | if ((height > bZ)) | |
525 | - | then if ((bj == bk)) | |
522 | + | if ((bZ >= height)) | |
523 | + | then throw("Previous auction isn't completed yet") | |
524 | + | else if ((bj == bk)) | |
526 | 525 | then throw("Can't restart auction, max amount sold") | |
527 | 526 | else [IntegerEntry(W(bd, M), bS), DeleteEntry(S(M))] | |
528 | - | else throw("Previous auction isn't completed yet") | |
529 | 527 | } | |
530 | 528 | ||
531 | 529 | ||
532 | 530 | func cb (aE,M,bd,U,bm) = { | |
533 | 531 | let bS = F(W(bd, M)) | |
534 | 532 | let cc = B(S(M)) | |
535 | - | if ((height > bS)) | |
536 | - | then if ((U == cc)) | |
537 | - | then { | |
533 | + | if ((bS >= height)) | |
534 | + | then throw("This auction is not yet finished!") | |
535 | + | else if ((U != cc)) | |
536 | + | then throw("This is not the winning bid!") | |
537 | + | else { | |
538 | 538 | let cd = by(aE, M, bd, U, bm, true) | |
539 | 539 | let ce = bY(M, bd) | |
540 | 540 | (ce ++ cd) | |
541 | 541 | } | |
542 | - | else throw("This is not the winning bid!") | |
543 | - | else throw("This auction is not yet finished!") | |
544 | 542 | } | |
545 | 543 | ||
546 | 544 | ||
595 | 593 | ||
596 | 594 | ||
597 | 595 | @Callable(aE) | |
598 | - | func mintNft (bg,bq,bs) = if ((aE.caller == this)) | |
599 | - | then { | |
596 | + | func mintNft (bg,bq,bs) = if ((aE.caller != this)) | |
597 | + | then throw("Only the dApp can mint NFT's") | |
598 | + | else { | |
600 | 599 | let ck = Address(fromBase58String(bs)) | |
601 | 600 | let cl = Issue(("SCONEX_" + toString((bg + 1))), bq, 1, 0, false) | |
602 | 601 | let bE = calculateAssetId(cl) | |
603 | 602 | $Tuple2([cl, ScriptTransfer(ck, 1, bE)], toBase58String(bE)) | |
604 | 603 | } | |
605 | - | else throw("Only the dApp can mint NFT's") | |
606 | 604 | ||
607 | 605 | ||
608 | 606 | ||
612 | 610 | let M = cr._1 | |
613 | 611 | let K = cr._2 | |
614 | 612 | let bu = cr._3 | |
615 | - | if (containsElement(q, cm)) | |
616 | - | then { | |
613 | + | if (!(containsElement(q, cm))) | |
614 | + | then throw("Unknown type") | |
615 | + | else { | |
617 | 616 | let cs = ax(K, ay, az, aA, aB) | |
618 | 617 | if ((cs != "")) | |
619 | 618 | then throw("Something went wrong!") | |
630 | 629 | let cv = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cp, cq, K], nil) | |
631 | 630 | if ((cv == cv)) | |
632 | 631 | then { | |
633 | - | let cw = { | |
634 | - | let e = cv | |
635 | - | if ($isInstanceOf(e, "String")) | |
636 | - | then { | |
637 | - | let bF = e | |
638 | - | bF | |
639 | - | } | |
640 | - | else throw("Incorrect invoke result") | |
641 | - | } | |
642 | - | let cx = B(am(al, K)) | |
643 | - | if ((cx != "")) | |
632 | + | let cw = B(am(al, K)) | |
633 | + | if ((cw != "")) | |
644 | 634 | then throw("You already added it") | |
645 | 635 | else { | |
646 | - | let | |
647 | - | if (( | |
636 | + | let cx = B(ak(al)) | |
637 | + | if ((cx != "")) | |
648 | 638 | then throw("This hash is already registered") | |
649 | 639 | else (cu ++ [StringEntry(ak(al), K), StringEntry(am(al, K), M), IntegerEntry(L(K, M), bu), StringEntry(N(K, M), az), StringEntry(O(K, M), aA), StringEntry(P(K, M), ay), StringEntry(af(K, M), cm), StringEntry(ae(K, M), aB), IntegerEntry(R(K, M), 0), IntegerEntry(Y(K, M), 0), BooleanEntry(ac(K, M), false), StringEntry(ai(K, M), al), StringEntry(ad(K, M), cn), ScriptTransfer(Address(fromBase58String(k)), aG, aJ)]) | |
650 | 640 | } | |
653 | 643 | } | |
654 | 644 | } | |
655 | 645 | } | |
656 | - | else throw("Unknown type") | |
657 | 646 | } | |
658 | 647 | ||
659 | 648 | ||
660 | 649 | ||
661 | 650 | @Callable(aE) | |
662 | - | func sellArtwork (M,aS, | |
663 | - | let | |
664 | - | let bA = | |
665 | - | let K = | |
651 | + | func sellArtwork (M,aS,cy,aJ,cz,ca,cA,cB,cC,cD,cE,cF) = { | |
652 | + | let cG = bb(aE) | |
653 | + | let bA = cG._1 | |
654 | + | let K = cG._2 | |
666 | 655 | let bj = F(Y(K, M)) | |
667 | 656 | let bQ = F(("current_bidamount_" + M)) | |
668 | 657 | if (if ((bQ > 0)) | |
671 | 660 | then throw("There are bids or items sold, you can not edit anything!") | |
672 | 661 | else { | |
673 | 662 | let bh = B(N(K, M)) | |
674 | - | if (!(containsElement([x, y, z], | |
663 | + | if (!(containsElement([x, y, z], cz))) | |
675 | 664 | then throw("We don't know this auction type") | |
676 | 665 | else if ((bh == "")) | |
677 | 666 | then throw("This art doesn't match your account") | |
683 | 672 | let aC = av(K) | |
684 | 673 | if ((aC != "")) | |
685 | 674 | then throw(aC) | |
686 | - | else if (( | |
675 | + | else if ((cy > 10000)) | |
687 | 676 | then throw("10000 editions max per artwork") | |
688 | 677 | else { | |
689 | 678 | let br = if ((aS > 0)) | |
690 | - | then ( | |
679 | + | then (cy > 0) | |
691 | 680 | else false | |
692 | - | let | |
693 | - | if (( | |
681 | + | let cH = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [M, k, "", "", 15, 0, 0], nil) | |
682 | + | if ((cH == cH)) | |
694 | 683 | then { | |
695 | - | let | |
696 | - | if (( | |
684 | + | let cI = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [M, cA, cB, cC, cD, cE, cF], nil) | |
685 | + | if ((cI == cI)) | |
697 | 686 | then { | |
698 | 687 | let bS = (ca + height) | |
699 | - | [BooleanEntry(ac(K, M), br), IntegerEntry(ag(K, M), aS), IntegerEntry(R(K, M), | |
688 | + | [BooleanEntry(ac(K, M), br), IntegerEntry(ag(K, M), aS), IntegerEntry(R(K, M), cy), IntegerEntry(V(K, M), ca), IntegerEntry(W(K, M), bS), StringEntry(ah(K, M), aJ), StringEntry(X(K, M), cz)] | |
700 | 689 | } | |
701 | 690 | else throw("Strict value is not equal to itself.") | |
702 | 691 | } | |
710 | 699 | ||
711 | 700 | @Callable(aE) | |
712 | 701 | func buyArtwork (M,bd) = { | |
713 | - | let | |
714 | - | if (( | |
702 | + | let cz = B(X(bd, M)) | |
703 | + | if ((cz == z)) | |
715 | 704 | then by(aE, M, bd, "", "", false) | |
716 | 705 | else throw("Direct buy only allowed when no auction type is set!") | |
717 | 706 | } | |
719 | 708 | ||
720 | 709 | ||
721 | 710 | @Callable(aE) | |
722 | - | func updateTags ( | |
711 | + | func updateTags (cJ,M,aB) = { | |
723 | 712 | let K = toString(addressFromPublicKey(aE.callerPublicKey)) | |
724 | - | if (containsElement(i, K)) | |
725 | - | then if ((size(split(aB, ",")) > 5)) | |
713 | + | if (!(containsElement(i, K))) | |
714 | + | then throw("no") | |
715 | + | else if ((size(split(aB, ",")) > 5)) | |
726 | 716 | then throw("5 tags max.") | |
727 | 717 | else { | |
728 | - | let | |
729 | - | if ((aB == | |
718 | + | let cK = C(ae(cJ, M), "No tags created with this key, so can't update!") | |
719 | + | if ((aB == cK)) | |
730 | 720 | then throw("Tags are the same as old tags!") | |
731 | - | else [StringEntry(ae( | |
721 | + | else [StringEntry(ae(cJ, M), aB)] | |
732 | 722 | } | |
733 | - | else throw("no") | |
734 | 723 | } | |
735 | 724 | ||
736 | 725 | ||
737 | 726 | ||
738 | 727 | @Callable(aE) | |
739 | - | func deleteEntry ( | |
728 | + | func deleteEntry (cL) = { | |
740 | 729 | let K = toString(addressFromPublicKey(aE.callerPublicKey)) | |
741 | - | if (containsElement(i, K)) | |
742 | - | then | |
743 | - | else | |
730 | + | if (!(containsElement(i, K))) | |
731 | + | then throw("no") | |
732 | + | else [DeleteEntry(cL)] | |
744 | 733 | } | |
745 | 734 | ||
746 | 735 | ||
747 | 736 | ||
748 | 737 | @Callable(aE) | |
749 | 738 | func setBid (M,bd) = { | |
750 | - | let | |
751 | - | if (( | |
739 | + | let cz = B(X(bd, M)) | |
740 | + | if ((cz == x)) | |
752 | 741 | then bN(aE, M, bd) | |
753 | - | else if (( | |
742 | + | else if ((cz == y)) | |
754 | 743 | then bR(aE, M, bd) | |
755 | - | else throw((("Unknown auction type :" + | |
744 | + | else throw((("Unknown auction type :" + cz) + ", please contact the admins")) | |
756 | 745 | } | |
757 | 746 | ||
758 | 747 | ||
759 | 748 | ||
760 | 749 | @Callable(aE) | |
761 | 750 | func acceptBid (M,bd,U,bm) = { | |
762 | - | let | |
763 | - | if (( | |
751 | + | let cz = B(X(bd, M)) | |
752 | + | if ((cz == x)) | |
764 | 753 | then bX(aE, M, bd, U, bm) | |
765 | - | else if (( | |
754 | + | else if ((cz == y)) | |
766 | 755 | then cb(aE, M, bd, U, bm) | |
767 | - | else throw((("Unknown auction type :" + | |
756 | + | else throw((("Unknown auction type :" + cz) + ", please contact the admins")) | |
768 | 757 | } | |
769 | 758 | ||
770 | 759 | ||
771 | 760 | ||
772 | 761 | @Callable(aE) | |
773 | 762 | func cancelBid (M,bd,U) = { | |
774 | - | let | |
775 | - | if (( | |
763 | + | let cz = B(X(bd, M)) | |
764 | + | if ((cz == x)) | |
776 | 765 | then cf(aE, M, bd, U) | |
777 | 766 | else ci(aE, M, bd, U) | |
778 | 767 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = false | |
5 | 5 | ||
6 | 6 | let b = "oracleKey" | |
7 | 7 | ||
8 | 8 | func c (d) = { | |
9 | 9 | let e = getString(this, d) | |
10 | 10 | if ($isInstanceOf(e, "String")) | |
11 | 11 | then { | |
12 | 12 | let f = e | |
13 | 13 | f | |
14 | 14 | } | |
15 | 15 | else "" | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | let g = c(b) | |
20 | 20 | ||
21 | 21 | let h = value(addressFromString(g)) | |
22 | 22 | ||
23 | 23 | let i = [getString(h, "owner1"), getString(h, "owner2")] | |
24 | 24 | ||
25 | 25 | let j = valueOrErrorMessage(getString(h, "collectionsDapp"), "collectionDapp not found") | |
26 | 26 | ||
27 | 27 | let k = valueOrErrorMessage(getString(h, "feeReceiver"), "feeReceiver not found") | |
28 | 28 | ||
29 | 29 | let l = valueOrErrorMessage(getString(h, "certDapp"), "certDapp not found") | |
30 | 30 | ||
31 | 31 | let m = valueOrErrorMessage(getString(h, "feeDapp"), "feeDapp not found") | |
32 | 32 | ||
33 | 33 | let n = value(addressFromString(valueOrErrorMessage(getString(h, "userDapp"), "userdapp not found"))) | |
34 | 34 | ||
35 | 35 | let o = fromBase58String(getStringValue(h, "USDNAssetId")) | |
36 | 36 | ||
37 | 37 | let p = fromBase58String(getStringValue(h, "SconexAssetId")) | |
38 | 38 | ||
39 | 39 | let q = ["IMAGE", "PDF", "VIDEO"] | |
40 | 40 | ||
41 | 41 | let r = ["PDF"] | |
42 | 42 | ||
43 | 43 | let s = valueOrElse(getBoolean(n, "conf_dapp_is_running"), true) | |
44 | 44 | ||
45 | 45 | let t = valueOrElse(getString(n, "conf_maintenance_msg"), "") | |
46 | 46 | ||
47 | 47 | let u = "SUSPENDED" | |
48 | 48 | ||
49 | 49 | let v = "REMOVED" | |
50 | 50 | ||
51 | 51 | let w = "UNREGISTERED" | |
52 | 52 | ||
53 | 53 | let x = "BIDTYPE" | |
54 | 54 | ||
55 | 55 | let y = "TRADITIONAL" | |
56 | 56 | ||
57 | 57 | let z = "DIRECT" | |
58 | 58 | ||
59 | 59 | func A (d) = valueOrElse(getString(n, d), "") | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func B (d) = valueOrElse(getString(this, d), "") | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func C (d,D) = valueOrErrorMessage(getString(this, d), D) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func E (d) = valueOrErrorMessage(getInteger(h, d), "Integer undefine or 0 in oracle") | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func F (d) = valueOrElse(getInteger(this, d), 0) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func G (d) = valueOrElse(getBoolean(this, d), false) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func H (I) = (size(I) == 64) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func J (K) = ("user_status_" + K) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func L (K,M) = ((("art_date_" + M) + "_") + K) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func N (K,M) = ((("art_name_" + M) + "_") + K) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func O (K,M) = ((("art_desc_" + M) + "_") + K) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func P (K,M) = ((("art_display_cid_" + M) + "_") + K) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func Q (K,M) = ((("art_preview_cid_" + M) + "_") + K) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func R (K,M) = ((("art_maxmint_" + M) + "_") + K) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func S (M) = ("art_highestBidBidId_" + M) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func T (U) = ("bid_" + U) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func V (K,M) = ((("art_duration_" + M) + "_") + K) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func W (K,M) = ((("art_endheight_" + M) + "_") + K) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func X (K,M) = ((("art_auctiontype_" + M) + "_") + K) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func Y (K,M) = ((("art_issued_" + M) + "_") + K) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func Z (aa) = ("nft_issued_" + aa) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ab (aa) = ("nft_artId_" + aa) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ac (K,M) = ((("art_onsale_" + M) + "_") + K) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func ad (K,M) = ((("art_entitlement_" + M) + "_") + K) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func ae (K,M) = ((("art_tags_" + M) + "_") + K) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func af (K,M) = ((("art_type_" + M) + "_") + K) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ag (K,M) = ((("art_price_" + M) + "_") + K) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ah (K,M) = ((("art_assetAccepted_" + M) + "_") + K) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ai (K,aj) = ((("get_hashbytxidaddr_" + aj) + "_") + K) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ak (al) = ("get_owner_by_hash_" + al) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func am (al,K) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((al + K))))) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func an (K,M) = ((("collection_" + M) + "_") + K) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | let ao = E(("min_" + toBase58String(o))) | |
156 | 156 | ||
157 | 157 | let ap = E(("fee_" + toBase58String(p))) | |
158 | 158 | ||
159 | 159 | func aq (U) = valueOrElse(F(T(U)), 0) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ar (M) = { | |
163 | 163 | let U = B(S(M)) | |
164 | - | if ((U == "")) | |
165 | - | then 0 | |
166 | - | else aq(U) | |
164 | + | aq(U) | |
167 | 165 | } | |
168 | 166 | ||
169 | 167 | ||
170 | 168 | func as (at,au) = if ((size(at) == 0)) | |
171 | 169 | then throw("Field cannot be is empty") | |
172 | 170 | else if ((size(at) > au)) | |
173 | 171 | then throw((at + " is too long")) | |
174 | 172 | else true | |
175 | 173 | ||
176 | 174 | ||
177 | 175 | func av (K) = { | |
178 | 176 | let aw = valueOrElse(getString(n, J(K)), w) | |
179 | 177 | if ((aw == w)) | |
180 | 178 | then "Register this account first with 'Account' tab" | |
181 | 179 | else if ((aw == u)) | |
182 | 180 | then "Account suspended" | |
183 | 181 | else if ((aw == v)) | |
184 | 182 | then "Account removed" | |
185 | 183 | else "" | |
186 | 184 | } | |
187 | 185 | ||
188 | 186 | ||
189 | 187 | func ax (K,ay,az,aA,aB) = { | |
190 | 188 | let aC = av(K) | |
191 | 189 | if ((aC != "")) | |
192 | 190 | then throw(aC) | |
193 | 191 | else if ((size(ay) == 0)) | |
194 | 192 | then throw("Display CID cannot be empty") | |
195 | 193 | else if ((size(ay) != 46)) | |
196 | 194 | then throw("This doesn't seem a valid CID!") | |
197 | 195 | else if (!(as(az, 100))) | |
198 | 196 | then throw("100 Char. max name") | |
199 | 197 | else if (!(as(aA, 1000))) | |
200 | 198 | then throw("1000 Char. max description") | |
201 | 199 | else if ((size(split(aB, ",")) > 5)) | |
202 | 200 | then throw("5 tags max.") | |
203 | 201 | else "" | |
204 | 202 | } | |
205 | 203 | ||
206 | 204 | ||
207 | 205 | func aD (aE) = if ((size(aE.payments) == 0)) | |
208 | 206 | then throw("No payment attached") | |
209 | 207 | else { | |
210 | 208 | let aF = value(aE.payments[0]) | |
211 | 209 | let aG = value(aF.amount) | |
212 | 210 | $Tuple2(aF, aG) | |
213 | 211 | } | |
214 | 212 | ||
215 | 213 | ||
216 | 214 | func aH (aE) = { | |
217 | 215 | let aI = aD(aE) | |
218 | 216 | let aF = aI._1 | |
219 | 217 | let aG = aI._2 | |
220 | 218 | let aJ = if (if (isDefined(aF.assetId)) | |
221 | 219 | then (aF.assetId == p) | |
222 | 220 | else false) | |
223 | 221 | then aF.assetId | |
224 | 222 | else throw((("Only " + toBase58String(p)) + " token accepted as transaction fee")) | |
225 | 223 | if ((aG != ap)) | |
226 | 224 | then throw(((("Payment amount should be " + toString(ap)) + " but is: ") + toString(aG))) | |
227 | 225 | else $Tuple2(aG, aJ) | |
228 | 226 | } | |
229 | 227 | ||
230 | 228 | ||
231 | 229 | func aK (aL,M) = { | |
232 | 230 | let e = getInteger(this, Y(aL, M)) | |
233 | 231 | if ($isInstanceOf(e, "Int")) | |
234 | 232 | then { | |
235 | 233 | let f = e | |
236 | 234 | if ((f != 0)) | |
237 | 235 | then true | |
238 | 236 | else false | |
239 | 237 | } | |
240 | 238 | else false | |
241 | 239 | } | |
242 | 240 | ||
243 | 241 | ||
244 | 242 | func aM (aE,aN,aO) = { | |
245 | 243 | let aP = aD(aE) | |
246 | 244 | let aF = aP._1 | |
247 | 245 | let aG = aP._2 | |
248 | 246 | let aJ = if (!(isDefined(aF.assetId))) | |
249 | 247 | then throw("Wrong asset id") | |
250 | 248 | else if (if ((size(aN) > 0)) | |
251 | 249 | then (toBase58String(value(aF.assetId)) == aN) | |
252 | 250 | else false) | |
253 | 251 | then aF.assetId | |
254 | 252 | else throw("Wrong asset id") | |
255 | 253 | if (if ((aJ == unit)) | |
256 | - | then | |
257 | - | else | |
254 | + | then true | |
255 | + | else (aN != "")) | |
258 | 256 | then throw("Wrong asset id") | |
259 | 257 | else if ((aO != aG)) | |
260 | 258 | then throw(((("Payment don't match " + toString(aO)) + " ") + toString(aG))) | |
261 | 259 | else $Tuple2(aG, aJ) | |
262 | 260 | } | |
263 | 261 | ||
264 | 262 | ||
265 | 263 | func aQ (aJ) = if ((aJ != toBase58String(o))) | |
266 | 264 | then throw("Only USDN accepted") | |
267 | 265 | else true | |
268 | 266 | ||
269 | 267 | ||
270 | 268 | func aR (aJ,aS) = { | |
271 | 269 | let aT = ao | |
272 | 270 | if (if ((aT > aS)) | |
273 | 271 | then true | |
274 | 272 | else (aJ != toBase58String(o))) | |
275 | 273 | then throw(("Wrong minimum sell price " + toString(aT))) | |
276 | 274 | else true | |
277 | 275 | } | |
278 | 276 | ||
279 | 277 | ||
280 | 278 | func aU (aJ) = if ((aJ == "WAVES")) | |
281 | 279 | then throw("Only USDN is accepted!") | |
282 | 280 | else fromBase58String(aJ) | |
283 | 281 | ||
284 | 282 | ||
285 | 283 | func aV (aW) = { | |
286 | 284 | let aX = B((aW + "_OPEN")) | |
287 | 285 | if ((aX == "")) | |
288 | 286 | then throw("Bid not found") | |
289 | 287 | else { | |
290 | 288 | let aY = split(aX, "_") | |
291 | 289 | let aZ = parseIntValue(aY[1]) | |
292 | 290 | let ba = aU(aY[0]) | |
293 | 291 | if ((0 >= aZ)) | |
294 | 292 | then throw("Wrong amount") | |
295 | 293 | else $Tuple2(aZ, ba) | |
296 | 294 | } | |
297 | 295 | } | |
298 | 296 | ||
299 | 297 | ||
300 | 298 | func bb (aE) = if (!(s)) | |
301 | 299 | then throw(t) | |
302 | 300 | else $Tuple3(toBase58String(aE.transactionId), toBase58String(aE.caller.bytes), lastBlock.timestamp) | |
303 | 301 | ||
304 | 302 | ||
305 | 303 | func bc (aE,bd,M,be) = { | |
306 | 304 | let bf = (toBase58String(aE.caller.bytes) == bd) | |
307 | 305 | let bg = F("total_nft_issued") | |
308 | 306 | let bh = B(N(bd, M)) | |
309 | 307 | if ((bh == "")) | |
310 | 308 | then throw("Art doesn't exist") | |
311 | 309 | else { | |
312 | 310 | let bi = G(ac(bd, M)) | |
313 | 311 | let bj = F(Y(bd, M)) | |
314 | 312 | let aO = valueOrElse(F(ag(bd, M)), ao) | |
315 | 313 | let aN = if (bf) | |
316 | 314 | then toBase58String(o) | |
317 | 315 | else B(ah(bd, M)) | |
318 | 316 | let bk = F(R(bd, M)) | |
319 | 317 | if (if (if (!(be)) | |
320 | 318 | then !(bf) | |
321 | 319 | else false) | |
322 | 320 | then if (if ((0 >= aO)) | |
323 | 321 | then true | |
324 | 322 | else !(bi)) | |
325 | 323 | then true | |
326 | 324 | else (0 >= bk) | |
327 | 325 | else false) | |
328 | 326 | then throw("Art not for sale") | |
329 | 327 | else if (if (if (!(be)) | |
330 | 328 | then bf | |
331 | 329 | else false) | |
332 | 330 | then (0 >= bk) | |
333 | 331 | else false) | |
334 | 332 | then throw("Max issuable not set") | |
335 | 333 | else $Tuple7(bg, bh, bj, aO, aN, bk, bi) | |
336 | 334 | } | |
337 | 335 | } | |
338 | 336 | ||
339 | 337 | ||
340 | 338 | func bl (aE,K,bd,M,bm,U,aN,aO,be) = { | |
341 | 339 | let aC = av(bd) | |
342 | 340 | if (if (be) | |
343 | 341 | then (aC != "") | |
344 | 342 | else false) | |
345 | 343 | then throw(aC) | |
346 | 344 | else { | |
347 | 345 | let aW = ((((((("bid_" + M) + "_") + bd) + "_") + bm) + "_") + U) | |
348 | 346 | let bn = if (be) | |
349 | 347 | then aV(aW) | |
350 | 348 | else aM(aE, aN, aO) | |
351 | 349 | let aG = bn._1 | |
352 | 350 | let aJ = bn._2 | |
353 | 351 | $Tuple3(aW, aG, aJ) | |
354 | 352 | } | |
355 | 353 | } | |
356 | 354 | ||
357 | 355 | ||
358 | 356 | func bo (bd,M,bh,bp,bk,bg,K,bm,U,aE,bi) = { | |
359 | 357 | let bq = ((((((((("Creator: " + bd) + ",ArtID: ") + M) + ",Artwork name: ") + bh) + ",Issue: ") + toString(bp)) + "/") + toString(bk)) | |
360 | 358 | let br = if (if ((bp == bk)) | |
361 | 359 | then true | |
362 | 360 | else !(bi)) | |
363 | 361 | then false | |
364 | 362 | else true | |
365 | 363 | let bs = if ((bm != "")) | |
366 | 364 | then addressFromStringValue(bm) | |
367 | 365 | else aE.caller | |
368 | 366 | $Tuple3(br, bs, bq) | |
369 | 367 | } | |
370 | 368 | ||
371 | 369 | ||
372 | 370 | func bt (aJ,aW,bu) = { | |
373 | 371 | let bv = if (!(isDefined(aJ))) | |
374 | 372 | then throw("Only USDN is accepted") | |
375 | 373 | else toBase58String(value(aJ)) | |
376 | 374 | let aX = B((aW + "_OPEN")) | |
377 | 375 | let bw = DeleteEntry((aW + "_OPEN")) | |
378 | 376 | let bx = StringEntry((aW + "_CLOSED"), ((aX + "_") + toString(bu))) | |
379 | 377 | $Tuple3(bv, bw, bx) | |
380 | 378 | } | |
381 | 379 | ||
382 | 380 | ||
383 | 381 | func by (aE,M,bd,U,bm,be) = { | |
384 | 382 | let bz = bb(aE) | |
385 | 383 | let bA = bz._1 | |
386 | 384 | let K = bz._2 | |
387 | 385 | let bu = bz._3 | |
388 | 386 | let bB = bc(aE, bd, M, be) | |
389 | 387 | let bg = bB._1 | |
390 | 388 | let bh = bB._2 | |
391 | 389 | let bj = bB._3 | |
392 | 390 | let aO = bB._4 | |
393 | 391 | let aN = bB._5 | |
394 | 392 | let bk = bB._6 | |
395 | 393 | let bi = bB._7 | |
396 | 394 | let aX = bl(aE, K, bd, M, bm, U, aN, aO, be) | |
397 | 395 | let aW = aX._1 | |
398 | 396 | let aG = aX._2 | |
399 | 397 | let aJ = aX._3 | |
400 | 398 | let bp = if ((bj == bk)) | |
401 | 399 | then throw("Max items sold") | |
402 | 400 | else (bj + 1) | |
403 | 401 | let bC = bo(bd, M, bh, bp, bk, bg, K, bm, U, aE, bi) | |
404 | 402 | let br = bC._1 | |
405 | 403 | let bs = bC._2 | |
406 | 404 | let bq = bC._3 | |
407 | 405 | let bD = invoke(this, "mintNft", [bg, bq, toString(bs)], nil) | |
408 | 406 | if ((bD == bD)) | |
409 | 407 | then { | |
410 | 408 | let bE = { | |
411 | 409 | let e = bD | |
412 | 410 | if ($isInstanceOf(e, "String")) | |
413 | 411 | then { | |
414 | 412 | let bF = e | |
415 | 413 | bF | |
416 | 414 | } | |
417 | 415 | else throw("Incorrect invoke result") | |
418 | 416 | } | |
419 | 417 | let bG = bt(aJ, aW, bu) | |
420 | 418 | let bv = bG._1 | |
421 | 419 | let bw = bG._2 | |
422 | 420 | let bx = bG._3 | |
423 | 421 | let bH = ((((((("art_sold_" + toString(bp)) + "_of_") + toString(bk)) + "_") + M) + "_") + bd) | |
424 | 422 | let bI = if (!(be)) | |
425 | 423 | then ((((((((((K + "_") + toString(bu)) + "_") + bA) + "_") + toString(aO)) + "_") + aN) + "_") + bE) | |
426 | 424 | else ((((((((((toString(bs) + "_") + toString(bu)) + "_") + bA) + "_") + toString(aG)) + "_") + bv) + "_") + bE) | |
427 | 425 | let bJ = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "payFee", [M, bd], [AttachedPayment(aJ, aG)]) | |
428 | 426 | if ((bJ == bJ)) | |
429 | 427 | then { | |
430 | 428 | let bK = StringEntry(bH, bI) | |
431 | 429 | let bL = [IntegerEntry(Y(bd, M), bp), StringEntry(("nft_" + bE), bH), IntegerEntry("total_nft_issued", (bg + 1)), BooleanEntry(ac(bd, M), br), StringEntry(Z(bE), bd), StringEntry(ab(bE), M)] | |
432 | 430 | let bM = invoke(addressFromStringValue(l), "createCert", [toString(bs), bE, bd], nil) | |
433 | 431 | if ((bM == bM)) | |
434 | 432 | then if (be) | |
435 | 433 | then (((bL :+ bK) :+ bx) :+ bw) | |
436 | 434 | else bK :: bL | |
437 | 435 | else throw("Strict value is not equal to itself.") | |
438 | 436 | } | |
439 | 437 | else throw("Strict value is not equal to itself.") | |
440 | 438 | } | |
441 | 439 | else throw("Strict value is not equal to itself.") | |
442 | 440 | } | |
443 | 441 | ||
444 | 442 | ||
445 | 443 | func bN (aE,M,bd) = { | |
446 | 444 | let bO = bb(aE) | |
447 | 445 | let bA = bO._1 | |
448 | 446 | let K = bO._2 | |
449 | 447 | let bu = bO._3 | |
450 | 448 | let bP = aD(aE) | |
451 | 449 | let aF = bP._1 | |
452 | 450 | let aG = bP._2 | |
453 | 451 | let aJ = if (!(isDefined(aF.assetId))) | |
454 | 452 | then throw("Only USDN is accepted!") | |
455 | 453 | else toBase58String(value(aF.assetId)) | |
456 | 454 | let bQ = F(("current_bidamount_" + M)) | |
457 | 455 | if (!(aQ(aJ))) | |
458 | 456 | then throw("asset not accepted") | |
459 | 457 | else { | |
460 | 458 | let bj = F(Y(bd, M)) | |
461 | 459 | let bk = F(R(bd, M)) | |
462 | 460 | if ((0 >= bk)) | |
463 | 461 | then throw("No max edition set for this artwork") | |
464 | 462 | else if ((bj >= bk)) | |
465 | 463 | then throw("Sold out, you cannot bid") | |
466 | 464 | else [StringEntry((((((((("bid_" + M) + "_") + bd) + "_") + K) + "_") + bA) + "_OPEN"), ((((aJ + "_") + toString(aG)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + M), (bQ + 1))] | |
467 | 465 | } | |
468 | 466 | } | |
469 | 467 | ||
470 | 468 | ||
471 | 469 | func bR (aE,M,bd) = { | |
472 | 470 | let bS = F(W(bd, M)) | |
473 | 471 | let bT = ar(M) | |
474 | 472 | if ((height > bS)) | |
475 | 473 | then throw("This auction is finished already!") | |
476 | 474 | else { | |
477 | 475 | let bU = bb(aE) | |
478 | 476 | let bA = bU._1 | |
479 | 477 | let K = bU._2 | |
480 | 478 | let bu = bU._3 | |
481 | 479 | let bV = aD(aE) | |
482 | 480 | let aF = bV._1 | |
483 | 481 | let aG = bV._2 | |
484 | 482 | if ((bT >= aG)) | |
485 | 483 | then throw(("Please place a bid higher than: " + toString(bT))) | |
486 | 484 | else { | |
487 | 485 | let aJ = if (!(isDefined(aF.assetId))) | |
488 | 486 | then throw("Only USDN is accepted!") | |
489 | 487 | else toBase58String(value(aF.assetId)) | |
490 | 488 | let bQ = F(("current_bidamount_" + M)) | |
491 | 489 | let bW = valueOrElse(F(ag(bd, M)), ao) | |
492 | 490 | if (!(aQ(aJ))) | |
493 | 491 | then throw("asset not accepted") | |
494 | 492 | else if ((bW > aG)) | |
495 | 493 | then throw("Bid is below min price!") | |
496 | 494 | else { | |
497 | 495 | let bj = F(Y(bd, M)) | |
498 | 496 | let bk = F(R(bd, M)) | |
499 | 497 | if ((0 >= bk)) | |
500 | 498 | then throw("No max edition set for this artwork") | |
501 | 499 | else if ((bj >= bk)) | |
502 | 500 | then throw("Sold out, you cannot bid") | |
503 | 501 | else [StringEntry((((((((("bid_" + M) + "_") + bd) + "_") + K) + "_") + bA) + "_OPEN"), ((((aJ + "_") + toString(aG)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + M), (bQ + 1)), StringEntry(S(M), toBase58String(aE.transactionId)), IntegerEntry(T(toBase58String(aE.transactionId)), aG)] | |
504 | 502 | } | |
505 | 503 | } | |
506 | 504 | } | |
507 | 505 | } | |
508 | 506 | ||
509 | 507 | ||
510 | 508 | func bX (aE,M,bd,U,bm) = { | |
511 | 509 | let K = toBase58String(aE.caller.bytes) | |
512 | 510 | if ((K != bd)) | |
513 | 511 | then throw("You cannot do this action") | |
514 | 512 | else by(aE, M, bd, U, bm, true) | |
515 | 513 | } | |
516 | 514 | ||
517 | 515 | ||
518 | 516 | func bY (M,bd) = { | |
519 | 517 | let bj = F(Y(bd, M)) | |
520 | 518 | let bk = F(R(bd, M)) | |
521 | 519 | let bZ = F(W(bd, M)) | |
522 | 520 | let ca = F(V(bd, M)) | |
523 | 521 | let bS = (ca + height) | |
524 | - | if ((height > bZ)) | |
525 | - | then if ((bj == bk)) | |
522 | + | if ((bZ >= height)) | |
523 | + | then throw("Previous auction isn't completed yet") | |
524 | + | else if ((bj == bk)) | |
526 | 525 | then throw("Can't restart auction, max amount sold") | |
527 | 526 | else [IntegerEntry(W(bd, M), bS), DeleteEntry(S(M))] | |
528 | - | else throw("Previous auction isn't completed yet") | |
529 | 527 | } | |
530 | 528 | ||
531 | 529 | ||
532 | 530 | func cb (aE,M,bd,U,bm) = { | |
533 | 531 | let bS = F(W(bd, M)) | |
534 | 532 | let cc = B(S(M)) | |
535 | - | if ((height > bS)) | |
536 | - | then if ((U == cc)) | |
537 | - | then { | |
533 | + | if ((bS >= height)) | |
534 | + | then throw("This auction is not yet finished!") | |
535 | + | else if ((U != cc)) | |
536 | + | then throw("This is not the winning bid!") | |
537 | + | else { | |
538 | 538 | let cd = by(aE, M, bd, U, bm, true) | |
539 | 539 | let ce = bY(M, bd) | |
540 | 540 | (ce ++ cd) | |
541 | 541 | } | |
542 | - | else throw("This is not the winning bid!") | |
543 | - | else throw("This auction is not yet finished!") | |
544 | 542 | } | |
545 | 543 | ||
546 | 544 | ||
547 | 545 | func cf (aE,M,bd,U) = { | |
548 | 546 | let cg = bb(aE) | |
549 | 547 | let bA = cg._1 | |
550 | 548 | let K = cg._2 | |
551 | 549 | let bu = cg._3 | |
552 | 550 | let bQ = F(("current_bidamount_" + M)) | |
553 | 551 | let aW = ((((((("bid_" + M) + "_") + bd) + "_") + K) + "_") + U) | |
554 | 552 | let aX = C((aW + "_OPEN"), "Bid not found") | |
555 | 553 | let aY = split(aX, "_") | |
556 | 554 | let aJ = aU(aY[0]) | |
557 | 555 | let ch = "CANCELED" | |
558 | 556 | [DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ch), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + M), (bQ - 1)), ScriptTransfer(Address(fromBase58String(K)), parseIntValue(aY[1]), aJ)] | |
559 | 557 | } | |
560 | 558 | ||
561 | 559 | ||
562 | 560 | func ci (aE,M,bd,U) = { | |
563 | 561 | let cg = bb(aE) | |
564 | 562 | let bA = cg._1 | |
565 | 563 | let K = cg._2 | |
566 | 564 | let bu = cg._3 | |
567 | 565 | let bQ = F(("current_bidamount_" + M)) | |
568 | 566 | let aW = ((((((("bid_" + M) + "_") + bd) + "_") + K) + "_") + U) | |
569 | 567 | let aX = C((aW + "_OPEN"), "Bid not found") | |
570 | 568 | let aY = split(aX, "_") | |
571 | 569 | let aJ = aU(aY[0]) | |
572 | 570 | let ch = "CANCELED" | |
573 | 571 | let aZ = parseIntValue(aY[1]) | |
574 | 572 | let cc = B(S(M)) | |
575 | 573 | if ((U == cc)) | |
576 | 574 | then throw("You can't cancel the highest bid!") | |
577 | 575 | else [DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ch), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + M), (bQ - 1)), ScriptTransfer(Address(fromBase58String(K)), aZ, aJ)] | |
578 | 576 | } | |
579 | 577 | ||
580 | 578 | ||
581 | 579 | @Callable(aE) | |
582 | 580 | func initDapp (cj) = if ((aE.caller != this)) | |
583 | 581 | then throw("You cannot do this action") | |
584 | 582 | else if ((g != "")) | |
585 | 583 | then throw("oracle already set, you can't override!") | |
586 | 584 | else [StringEntry(b, cj)] | |
587 | 585 | ||
588 | 586 | ||
589 | 587 | ||
590 | 588 | @Callable(aE) | |
591 | 589 | func restartAuctionManual (M) = if ((ar(M) != 0)) | |
592 | 590 | then throw("Please accept the highest bid!") | |
593 | 591 | else bY(M, toBase58String(aE.caller.bytes)) | |
594 | 592 | ||
595 | 593 | ||
596 | 594 | ||
597 | 595 | @Callable(aE) | |
598 | - | func mintNft (bg,bq,bs) = if ((aE.caller == this)) | |
599 | - | then { | |
596 | + | func mintNft (bg,bq,bs) = if ((aE.caller != this)) | |
597 | + | then throw("Only the dApp can mint NFT's") | |
598 | + | else { | |
600 | 599 | let ck = Address(fromBase58String(bs)) | |
601 | 600 | let cl = Issue(("SCONEX_" + toString((bg + 1))), bq, 1, 0, false) | |
602 | 601 | let bE = calculateAssetId(cl) | |
603 | 602 | $Tuple2([cl, ScriptTransfer(ck, 1, bE)], toBase58String(bE)) | |
604 | 603 | } | |
605 | - | else throw("Only the dApp can mint NFT's") | |
606 | 604 | ||
607 | 605 | ||
608 | 606 | ||
609 | 607 | @Callable(aE) | |
610 | 608 | func addArtwork (al,az,aA,aB,cm,ay,cn,co,cp,cq) = { | |
611 | 609 | let cr = bb(aE) | |
612 | 610 | let M = cr._1 | |
613 | 611 | let K = cr._2 | |
614 | 612 | let bu = cr._3 | |
615 | - | if (containsElement(q, cm)) | |
616 | - | then { | |
613 | + | if (!(containsElement(q, cm))) | |
614 | + | then throw("Unknown type") | |
615 | + | else { | |
617 | 616 | let cs = ax(K, ay, az, aA, aB) | |
618 | 617 | if ((cs != "")) | |
619 | 618 | then throw("Something went wrong!") | |
620 | 619 | else { | |
621 | 620 | let ct = aH(aE) | |
622 | 621 | let aG = ct._1 | |
623 | 622 | let aJ = ct._2 | |
624 | 623 | if (!(isDefined(aG))) | |
625 | 624 | then throw("Something went wrong") | |
626 | 625 | else { | |
627 | 626 | let cu = if (containsElement(r, cm)) | |
628 | 627 | then [StringEntry(Q(K, M), co)] | |
629 | 628 | else nil | |
630 | 629 | let cv = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cp, cq, K], nil) | |
631 | 630 | if ((cv == cv)) | |
632 | 631 | then { | |
633 | - | let cw = { | |
634 | - | let e = cv | |
635 | - | if ($isInstanceOf(e, "String")) | |
636 | - | then { | |
637 | - | let bF = e | |
638 | - | bF | |
639 | - | } | |
640 | - | else throw("Incorrect invoke result") | |
641 | - | } | |
642 | - | let cx = B(am(al, K)) | |
643 | - | if ((cx != "")) | |
632 | + | let cw = B(am(al, K)) | |
633 | + | if ((cw != "")) | |
644 | 634 | then throw("You already added it") | |
645 | 635 | else { | |
646 | - | let | |
647 | - | if (( | |
636 | + | let cx = B(ak(al)) | |
637 | + | if ((cx != "")) | |
648 | 638 | then throw("This hash is already registered") | |
649 | 639 | else (cu ++ [StringEntry(ak(al), K), StringEntry(am(al, K), M), IntegerEntry(L(K, M), bu), StringEntry(N(K, M), az), StringEntry(O(K, M), aA), StringEntry(P(K, M), ay), StringEntry(af(K, M), cm), StringEntry(ae(K, M), aB), IntegerEntry(R(K, M), 0), IntegerEntry(Y(K, M), 0), BooleanEntry(ac(K, M), false), StringEntry(ai(K, M), al), StringEntry(ad(K, M), cn), ScriptTransfer(Address(fromBase58String(k)), aG, aJ)]) | |
650 | 640 | } | |
651 | 641 | } | |
652 | 642 | else throw("Strict value is not equal to itself.") | |
653 | 643 | } | |
654 | 644 | } | |
655 | 645 | } | |
656 | - | else throw("Unknown type") | |
657 | 646 | } | |
658 | 647 | ||
659 | 648 | ||
660 | 649 | ||
661 | 650 | @Callable(aE) | |
662 | - | func sellArtwork (M,aS, | |
663 | - | let | |
664 | - | let bA = | |
665 | - | let K = | |
651 | + | func sellArtwork (M,aS,cy,aJ,cz,ca,cA,cB,cC,cD,cE,cF) = { | |
652 | + | let cG = bb(aE) | |
653 | + | let bA = cG._1 | |
654 | + | let K = cG._2 | |
666 | 655 | let bj = F(Y(K, M)) | |
667 | 656 | let bQ = F(("current_bidamount_" + M)) | |
668 | 657 | if (if ((bQ > 0)) | |
669 | 658 | then true | |
670 | 659 | else (bj > 0)) | |
671 | 660 | then throw("There are bids or items sold, you can not edit anything!") | |
672 | 661 | else { | |
673 | 662 | let bh = B(N(K, M)) | |
674 | - | if (!(containsElement([x, y, z], | |
663 | + | if (!(containsElement([x, y, z], cz))) | |
675 | 664 | then throw("We don't know this auction type") | |
676 | 665 | else if ((bh == "")) | |
677 | 666 | then throw("This art doesn't match your account") | |
678 | 667 | else if (!(aQ(aJ))) | |
679 | 668 | then throw("Something went wrong!") | |
680 | 669 | else if (!(aR(aJ, aS))) | |
681 | 670 | then throw("Something went wrong!") | |
682 | 671 | else { | |
683 | 672 | let aC = av(K) | |
684 | 673 | if ((aC != "")) | |
685 | 674 | then throw(aC) | |
686 | - | else if (( | |
675 | + | else if ((cy > 10000)) | |
687 | 676 | then throw("10000 editions max per artwork") | |
688 | 677 | else { | |
689 | 678 | let br = if ((aS > 0)) | |
690 | - | then ( | |
679 | + | then (cy > 0) | |
691 | 680 | else false | |
692 | - | let | |
693 | - | if (( | |
681 | + | let cH = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [M, k, "", "", 15, 0, 0], nil) | |
682 | + | if ((cH == cH)) | |
694 | 683 | then { | |
695 | - | let | |
696 | - | if (( | |
684 | + | let cI = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [M, cA, cB, cC, cD, cE, cF], nil) | |
685 | + | if ((cI == cI)) | |
697 | 686 | then { | |
698 | 687 | let bS = (ca + height) | |
699 | - | [BooleanEntry(ac(K, M), br), IntegerEntry(ag(K, M), aS), IntegerEntry(R(K, M), | |
688 | + | [BooleanEntry(ac(K, M), br), IntegerEntry(ag(K, M), aS), IntegerEntry(R(K, M), cy), IntegerEntry(V(K, M), ca), IntegerEntry(W(K, M), bS), StringEntry(ah(K, M), aJ), StringEntry(X(K, M), cz)] | |
700 | 689 | } | |
701 | 690 | else throw("Strict value is not equal to itself.") | |
702 | 691 | } | |
703 | 692 | else throw("Strict value is not equal to itself.") | |
704 | 693 | } | |
705 | 694 | } | |
706 | 695 | } | |
707 | 696 | } | |
708 | 697 | ||
709 | 698 | ||
710 | 699 | ||
711 | 700 | @Callable(aE) | |
712 | 701 | func buyArtwork (M,bd) = { | |
713 | - | let | |
714 | - | if (( | |
702 | + | let cz = B(X(bd, M)) | |
703 | + | if ((cz == z)) | |
715 | 704 | then by(aE, M, bd, "", "", false) | |
716 | 705 | else throw("Direct buy only allowed when no auction type is set!") | |
717 | 706 | } | |
718 | 707 | ||
719 | 708 | ||
720 | 709 | ||
721 | 710 | @Callable(aE) | |
722 | - | func updateTags ( | |
711 | + | func updateTags (cJ,M,aB) = { | |
723 | 712 | let K = toString(addressFromPublicKey(aE.callerPublicKey)) | |
724 | - | if (containsElement(i, K)) | |
725 | - | then if ((size(split(aB, ",")) > 5)) | |
713 | + | if (!(containsElement(i, K))) | |
714 | + | then throw("no") | |
715 | + | else if ((size(split(aB, ",")) > 5)) | |
726 | 716 | then throw("5 tags max.") | |
727 | 717 | else { | |
728 | - | let | |
729 | - | if ((aB == | |
718 | + | let cK = C(ae(cJ, M), "No tags created with this key, so can't update!") | |
719 | + | if ((aB == cK)) | |
730 | 720 | then throw("Tags are the same as old tags!") | |
731 | - | else [StringEntry(ae( | |
721 | + | else [StringEntry(ae(cJ, M), aB)] | |
732 | 722 | } | |
733 | - | else throw("no") | |
734 | 723 | } | |
735 | 724 | ||
736 | 725 | ||
737 | 726 | ||
738 | 727 | @Callable(aE) | |
739 | - | func deleteEntry ( | |
728 | + | func deleteEntry (cL) = { | |
740 | 729 | let K = toString(addressFromPublicKey(aE.callerPublicKey)) | |
741 | - | if (containsElement(i, K)) | |
742 | - | then | |
743 | - | else | |
730 | + | if (!(containsElement(i, K))) | |
731 | + | then throw("no") | |
732 | + | else [DeleteEntry(cL)] | |
744 | 733 | } | |
745 | 734 | ||
746 | 735 | ||
747 | 736 | ||
748 | 737 | @Callable(aE) | |
749 | 738 | func setBid (M,bd) = { | |
750 | - | let | |
751 | - | if (( | |
739 | + | let cz = B(X(bd, M)) | |
740 | + | if ((cz == x)) | |
752 | 741 | then bN(aE, M, bd) | |
753 | - | else if (( | |
742 | + | else if ((cz == y)) | |
754 | 743 | then bR(aE, M, bd) | |
755 | - | else throw((("Unknown auction type :" + | |
744 | + | else throw((("Unknown auction type :" + cz) + ", please contact the admins")) | |
756 | 745 | } | |
757 | 746 | ||
758 | 747 | ||
759 | 748 | ||
760 | 749 | @Callable(aE) | |
761 | 750 | func acceptBid (M,bd,U,bm) = { | |
762 | - | let | |
763 | - | if (( | |
751 | + | let cz = B(X(bd, M)) | |
752 | + | if ((cz == x)) | |
764 | 753 | then bX(aE, M, bd, U, bm) | |
765 | - | else if (( | |
754 | + | else if ((cz == y)) | |
766 | 755 | then cb(aE, M, bd, U, bm) | |
767 | - | else throw((("Unknown auction type :" + | |
756 | + | else throw((("Unknown auction type :" + cz) + ", please contact the admins")) | |
768 | 757 | } | |
769 | 758 | ||
770 | 759 | ||
771 | 760 | ||
772 | 761 | @Callable(aE) | |
773 | 762 | func cancelBid (M,bd,U) = { | |
774 | - | let | |
775 | - | if (( | |
763 | + | let cz = B(X(bd, M)) | |
764 | + | if ((cz == x)) | |
776 | 765 | then cf(aE, M, bd, U) | |
777 | 766 | else ci(aE, M, bd, U) | |
778 | 767 | } | |
779 | 768 | ||
780 | 769 |
github/deemru/w8io/169f3d6 125.43 ms ◑