tx · 5g2H7FmPjurUc5TquBFWnjWd59BujWEeFAJNT9SC4KhX 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY: -0.01400000 Waves 2022.02.25 03:12 [1938426] smart account 3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY > SELF 0.00000000 Waves
{ "type": 13, "id": "5g2H7FmPjurUc5TquBFWnjWd59BujWEeFAJNT9SC4KhX", "fee": 1400000, "feeAssetId": null, "timestamp": 1645747957556, "version": 2, "chainId": 84, "sender": "3NBynfbXC2KastUxhukcMUaE58K9cBdB9UY", "senderPublicKey": "J9DCtJJxJBWZdtDR12BA1U94Q3cZzMi4R6k5hYkAzmzC", "proofs": [ "64xhb4k3V5AmbT8E4mrNCUDKfnwrS6f4fcxJfAZiJdb6jXyvJ8RdJgRBNjTJgmJ76o9UimYi8XP9dA7BJHhZchQz" ], "script": "base64:AAIFAAAAAAAAAFQIAhIOCgwICAgICAgICAgICAgSDQoLCAgICAgICAgICAgSBgoECAgICBIECgIICBIHCgUIAQEIARIECgIICBIECgIICBIGCgQICAgIEgYKBAgICAgAAABJAAAAAAh1bml0VGVzdAcAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjh4WGFZakUyN0FhNzlkNWhI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YXJ0SWQJAABlAAAAAgUAAAAGYmlkTmJyAAAAAAAAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAA1yZXR1cm5Nb25leVRvCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAKYmlkRGF0YUFycgAAAAAAAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsAAAAAKX9p4M=", "height": 1938426, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: iDubvLbgqhfgmx7U4UT3aFLevyhAukJuiAM5qDkGUai Next: BJY64MKbSrh6xDgHLVrV7exPhHmPioCGhkzvHRJZidNU Diff:
Old | New | Differences | |
---|---|---|---|
432 | 432 | then signCut | |
433 | 433 | else usdnWaveCut | |
434 | 434 | let amountForSign = fraction(amount, cut, 100) | |
435 | - | let amountForAgent = if (if ((agent != feeReceiver)) | |
435 | + | let amountForAgent = if (if (if ((agent != feeReceiver)) | |
436 | 436 | then (agentShare > 0) | |
437 | + | else false) | |
438 | + | then (height > isWhitelisted) | |
437 | 439 | else false) | |
438 | 440 | then fraction(amount, agentShare, 100) | |
439 | 441 | else 0 | |
489 | 491 | ||
490 | 492 | @Callable(i) | |
491 | 493 | func addArtwork (sha256Hash,signID,name,description,tags,type,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence,crawler) = { | |
492 | - | let $ | |
493 | - | let artId = $ | |
494 | - | let caller = $ | |
495 | - | let date = $ | |
494 | + | let $t01768617727 = idCallerDate(i) | |
495 | + | let artId = $t01768617727._1 | |
496 | + | let caller = $t01768617727._2 | |
497 | + | let date = $t01768617727._3 | |
496 | 498 | if (!(validateHash(sha256Hash))) | |
497 | 499 | then throw("Hash should be 64 characters maximum") | |
498 | 500 | else { | |
499 | - | let $ | |
500 | - | let licenceCID = $ | |
501 | - | let licenceHash = $ | |
501 | + | let $t01782817897 = setLIcence(cidLicence, sha256Licence) | |
502 | + | let licenceCID = $t01782817897._1 | |
503 | + | let licenceHash = $t01782817897._2 | |
502 | 504 | let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags) | |
503 | 505 | if ((validateArtwork != "")) | |
504 | 506 | then throw("Something went wrong!") | |
505 | 507 | else { | |
506 | - | let $ | |
507 | - | let amount = $ | |
508 | - | let assetId = $ | |
508 | + | let $t01811618158 = validatePayment(i) | |
509 | + | let amount = $t01811618158._1 | |
510 | + | let assetId = $t01811618158._2 | |
509 | 511 | if (!(isDefined(amount))) | |
510 | 512 | then throw("Something went wrong") | |
511 | 513 | else { | |
535 | 537 | then throw(maintenanceMSG) | |
536 | 538 | else { | |
537 | 539 | let caller = toBase58String(i.caller.bytes) | |
538 | - | let $ | |
539 | - | let licenceCID = $ | |
540 | - | let licenceHash = $ | |
540 | + | let $t02089020959 = setLIcence(cidLicence, sha256Licence) | |
541 | + | let licenceCID = $t02089020959._1 | |
542 | + | let licenceHash = $t02089020959._2 | |
541 | 543 | let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags) | |
542 | 544 | if ((validateArtwork != "")) | |
543 | 545 | then throw("Something went wrong!") | |
560 | 562 | ||
561 | 563 | @Callable(i) | |
562 | 564 | func flagArtwork (artId,addr,flag,note) = { | |
563 | - | let $ | |
564 | - | let id = $ | |
565 | - | let caller = $ | |
565 | + | let $t02238422417 = idCallerDate(i) | |
566 | + | let id = $t02238422417._1 | |
567 | + | let caller = $t02238422417._2 | |
566 | 568 | if (containsElement([chris, toString(this)], caller)) | |
567 | 569 | then if (containsElement(["CONSENT", "", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], flag)) | |
568 | 570 | then [StringEntry(keyFlag(addr, artId), flag), StringEntry(keyNote(addr, artId), note)] | |
574 | 576 | ||
575 | 577 | @Callable(i) | |
576 | 578 | func deleteArtwork (artId,addr) = { | |
577 | - | let $ | |
578 | - | let id = $ | |
579 | - | let caller = $ | |
579 | + | let $t02285322886 = idCallerDate(i) | |
580 | + | let id = $t02285322886._1 | |
581 | + | let caller = $t02285322886._2 | |
580 | 582 | let addrToUse = if (containsElement([chris, joep, toString(this)], caller)) | |
581 | 583 | then addr | |
582 | 584 | else caller | |
609 | 611 | ||
610 | 612 | @Callable(i) | |
611 | 613 | func sellArtwork (artId,price,maxMint,assetId,blockEnd) = { | |
612 | - | let $ | |
613 | - | let id = $ | |
614 | - | let caller = $ | |
614 | + | let $t02565925692 = idCallerDate(i) | |
615 | + | let id = $t02565925692._1 | |
616 | + | let caller = $t02565925692._2 | |
615 | 617 | let artworkName = getStringByKey(keyName(caller, artId)) | |
616 | 618 | if ((artworkName == "")) | |
617 | 619 | then throw("This art doesn't match your account") | |
682 | 684 | ||
683 | 685 | @Callable(i) | |
684 | 686 | func setBid (artId,issuer) = { | |
685 | - | let $ | |
686 | - | let id = $ | |
687 | - | let caller = $ | |
688 | - | let date = $ | |
689 | - | let $ | |
690 | - | let payment = $ | |
691 | - | let amount = $ | |
687 | + | let $t02794927987 = idCallerDate(i) | |
688 | + | let id = $t02794927987._1 | |
689 | + | let caller = $t02794927987._2 | |
690 | + | let date = $t02794927987._3 | |
691 | + | let $t02799228028 = isPayment(i) | |
692 | + | let payment = $t02799228028._1 | |
693 | + | let amount = $t02799228028._2 | |
692 | 694 | let assetId = if (!(isDefined(payment.assetId))) | |
693 | 695 | then "WAVES" | |
694 | 696 | else toBase58String(value(payment.assetId)) | |
729 | 731 | ||
730 | 732 | @Callable(i) | |
731 | 733 | func cancelBid (artId,issuer,bidId,bidOwner) = { | |
732 | - | let $ | |
733 | - | let id = $ | |
734 | - | let caller = $ | |
735 | - | let date = $ | |
734 | + | let $t02945529514 = idCallerDate(i) | |
735 | + | let id = $t02945529514._1 | |
736 | + | let caller = $t02945529514._2 | |
737 | + | let date = $t02945529514._3 | |
736 | 738 | if (if ((caller != bidOwner)) | |
737 | 739 | then (caller != issuer) | |
738 | 740 | else false) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let unitTest = false | |
5 | 5 | ||
6 | 6 | let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | 7 | ||
8 | 8 | let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | 9 | ||
10 | 10 | let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
11 | 11 | ||
12 | 12 | let userDapp = if (unitTest) | |
13 | 13 | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
14 | 14 | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
15 | 15 | ||
16 | 16 | let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq")) | |
17 | 17 | ||
18 | 18 | let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
19 | 19 | ||
20 | 20 | let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
21 | 21 | ||
22 | 22 | let wavesAssetId = base58'' | |
23 | 23 | ||
24 | 24 | let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
25 | 25 | ||
26 | 26 | let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
27 | 27 | ||
28 | 28 | let signCut = 7 | |
29 | 29 | ||
30 | 30 | let usdnWaveCut = 10 | |
31 | 31 | ||
32 | 32 | let defaultLicence = "bafybeifuyo4pqu54ismqgtb6e4h6kkvgx7zg4u3zibh2r7y6mb64i7bzza/licence.pdf" | |
33 | 33 | ||
34 | 34 | let defaultHashLicence = "a87758c354e30a9e78fb84fa3a0010a5090ab20df0be11ad45b5720cc187e639" | |
35 | 35 | ||
36 | 36 | let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true) | |
37 | 37 | ||
38 | 38 | let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "") | |
39 | 39 | ||
40 | 40 | let userSuspended = "SUSPENDED" | |
41 | 41 | ||
42 | 42 | let userRemoved = "REMOVED" | |
43 | 43 | ||
44 | 44 | let userUnregistered = "UNREGISTERED" | |
45 | 45 | ||
46 | 46 | let userAllowed = "ALLOWED" | |
47 | 47 | ||
48 | 48 | func getStringByKey (key) = valueOrElse(getString(this, key), "") | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle") | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func checkWhitelist (key) = valueOrElse(getInteger(whitelistDapp, key), 0) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId))) | |
64 | 64 | ||
65 | 65 | func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signDapp, ((("data_fc_" + signID) + "_") + Owner)) { | |
66 | 66 | case a: String => | |
67 | 67 | if (contains(a, sha256Hash)) | |
68 | 68 | then true | |
69 | 69 | else false | |
70 | 70 | case _ => | |
71 | 71 | false | |
72 | 72 | } | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func validateCID (cid) = if (contains(cid, "/")) | |
76 | 76 | then if (if ((76 > size(cid))) | |
77 | 77 | then (size(split(cid, "/")[0]) == 59) | |
78 | 78 | else false) | |
79 | 79 | then (16 > size(split(cid, "/")[1])) | |
80 | 80 | else false | |
81 | 81 | else false | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func validateHash (hash) = (size(hash) == 64) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func keyUserStatus (caller) = ("user_status_" + caller) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func keyDate (caller,artId) = ((("art_date_" + artId) + "_") + caller) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func keyName (caller,artId) = ((("art_name_" + artId) + "_") + caller) | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func keyDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func keyDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller) | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func keyExportHash (caller,artId) = ((("art_export_hash_" + artId) + "_") + caller) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func keyExportCid (caller,artId) = ((("art_export_cid_" + artId) + "_") + caller) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func keyMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func keySignID (caller,artId) = ((("art_signid_" + artId) + "_") + caller) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func keyIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func keyOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func keyLicenceHash (caller,artId) = ((("art_licence_hash_" + artId) + "_") + caller) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func keyLicenceCid (caller,artId) = ((("art_licence_cid_" + artId) + "_") + caller) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func keyTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func keyType (caller,artId) = ((("art_type_" + artId) + "_") + caller) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func keyNote (caller,artId) = ((("art_note_" + artId) + "_") + caller) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func keyCrawler (caller,artId) = ((("art_crawler_cid_" + artId) + "_") + caller) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func keyPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func keyEndSale (caller,artId) = ((("art_endsale_" + artId) + "_") + caller) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func keyAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func keyFlag (caller,artId) = ((("art_flag_" + artId) + "_") + caller) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func keyArtistAgentAddr (artistAddr) = ("artist_agent_" + artistAddr) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func keyPrimaryShare (artistAddr) = ("artist_agent_primary_" + artistAddr) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func keyHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func keyOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func keyidBySignid (caller,signId) = ((("get_artidbysignid_" + signId) + "_") + caller) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func keyTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller))))) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func validateAllCID (cidDisplay,cidExport,cidLicence) = if (!(validateCID(cidDisplay))) | |
169 | 169 | then throw("Wrong Display CID") | |
170 | 170 | else if (!(validateCID(cidExport))) | |
171 | 171 | then throw("Wrong Export CID") | |
172 | 172 | else if (if ((cidLicence != "")) | |
173 | 173 | then !(validateCID(cidLicence)) | |
174 | 174 | else false) | |
175 | 175 | then throw("Wrong Licence CID") | |
176 | 176 | else true | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func validateAllHash (sha256Export,sha256Licence) = if (!(validateHash(sha256Export))) | |
180 | 180 | then throw("Export Hash 64 char. max") | |
181 | 181 | else if (!(validateHash(sha256Licence))) | |
182 | 182 | then throw("Licence Hash 64 char. max") | |
183 | 183 | else true | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func validateString (str,max) = if ((size(str) == 0)) | |
187 | 187 | then throw("Field cannot be is empty") | |
188 | 188 | else if ((size(str) > max)) | |
189 | 189 | then throw((str + " is too long")) | |
190 | 190 | else true | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func validateUser (caller) = { | |
194 | 194 | let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered) | |
195 | 195 | if (if ((userStatus == userUnregistered)) | |
196 | 196 | then true | |
197 | 197 | else (userStatus == userAllowed)) | |
198 | 198 | then "Register this account first with \"Account\" tab" | |
199 | 199 | else if ((userStatus == userSuspended)) | |
200 | 200 | then "Account suspended" | |
201 | 201 | else if ((userStatus == userRemoved)) | |
202 | 202 | then "Account removed" | |
203 | 203 | else "" | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func setLIcence (cidLicence,sha256Licence) = { | |
208 | 208 | let cid = if ((size(cidLicence) == 0)) | |
209 | 209 | then defaultLicence | |
210 | 210 | else cidLicence | |
211 | 211 | let hash = if ((size(sha256Licence) == 0)) | |
212 | 212 | then defaultHashLicence | |
213 | 213 | else sha256Licence | |
214 | 214 | $Tuple2(cid, hash) | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func validateArtworkData (caller,cidDisplay,cidExport,licenceCID,sha256Export,licenceHash,name,description,tags) = { | |
219 | 219 | let checkUser = validateUser(caller) | |
220 | 220 | if ((checkUser != "")) | |
221 | 221 | then throw(checkUser) | |
222 | 222 | else if ((size(cidDisplay) == 0)) | |
223 | 223 | then throw("Display CID cannot be empty") | |
224 | 224 | else if (!(validateAllCID(cidDisplay, cidExport, licenceCID))) | |
225 | 225 | then throw("Problem with CID") | |
226 | 226 | else if (!(validateAllHash(sha256Export, licenceHash))) | |
227 | 227 | then throw("Problem with Hashes") | |
228 | 228 | else if (!(validateString(name, 100))) | |
229 | 229 | then throw("100 Char. max name") | |
230 | 230 | else if (!(validateString(description, 1000))) | |
231 | 231 | then throw("1000 Char. max description") | |
232 | 232 | else if ((size(split(tags, ",")) > 5)) | |
233 | 233 | then throw("5 tags max.") | |
234 | 234 | else "" | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func isPayment (i) = if ((size(i.payments) == 0)) | |
239 | 239 | then throw("No payment attached") | |
240 | 240 | else { | |
241 | 241 | let payment = value(i.payments[0]) | |
242 | 242 | let amount = value(payment.amount) | |
243 | 243 | $Tuple2(payment, amount) | |
244 | 244 | } | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func validatePayment (i) = { | |
248 | 248 | let $t094199455 = isPayment(i) | |
249 | 249 | let payment = $t094199455._1 | |
250 | 250 | let amount = $t094199455._2 | |
251 | 251 | let assetId = if (if (isDefined(payment.assetId)) | |
252 | 252 | then (payment.assetId == signAssetId) | |
253 | 253 | else false) | |
254 | 254 | then payment.assetId | |
255 | 255 | else throw("Only SIGN token accepted as transaction fee") | |
256 | 256 | if ((amount != currentCertificationPrice)) | |
257 | 257 | then throw(("Payment amount should be " + toString(currentCertificationPrice))) | |
258 | 258 | else $Tuple2(amount, assetId) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func isArtMinted (addrToUse,artId) = match getInteger(this, keyIssued(addrToUse, artId)) { | |
263 | 263 | case b: Int => | |
264 | 264 | if ((b != 0)) | |
265 | 265 | then true | |
266 | 266 | else false | |
267 | 267 | case _ => | |
268 | 268 | false | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func validatePriceAssetId (i,priceAssetId,artworkPrice) = { | |
273 | 273 | let $t01004810084 = isPayment(i) | |
274 | 274 | let payment = $t01004810084._1 | |
275 | 275 | let amount = $t01004810084._2 | |
276 | 276 | let assetId = if (!(isDefined(payment.assetId))) | |
277 | 277 | then unit | |
278 | 278 | else if (if ((size(priceAssetId) > 0)) | |
279 | 279 | then (toBase58String(value(payment.assetId)) == priceAssetId) | |
280 | 280 | else false) | |
281 | 281 | then payment.assetId | |
282 | 282 | else throw("Wrong asset id") | |
283 | 283 | if (if ((assetId == unit)) | |
284 | 284 | then (priceAssetId != "") | |
285 | 285 | else false) | |
286 | 286 | then throw("Wrong asset id") | |
287 | 287 | else if ((artworkPrice != amount)) | |
288 | 288 | then throw("Payment don't match") | |
289 | 289 | else $Tuple2(amount, assetId) | |
290 | 290 | } | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func acceptedAssetIds (assetId) = if (if (if (if ((assetId != toBase58String(signAssetId))) | |
294 | 294 | then (assetId != toBase58String(wavesAssetId)) | |
295 | 295 | else false) | |
296 | 296 | then (assetId != "WAVES") | |
297 | 297 | else false) | |
298 | 298 | then (assetId != toBase58String(usdnAssetId)) | |
299 | 299 | else false) | |
300 | 300 | then throw("Only SIGN, USDN or WAVES accepted") | |
301 | 301 | else true | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func validateMinSell (assetId,price) = { | |
305 | 305 | let minSellWaves = if (unitTest) | |
306 | 306 | then 10 | |
307 | 307 | else getIntegerByKeyFromOracle("waves_min_sell") | |
308 | 308 | let minSellUsdn = 1000000 | |
309 | 309 | let minSellSign = if (unitTest) | |
310 | 310 | then 1 | |
311 | 311 | else (currentCertificationPrice * 2) | |
312 | 312 | if (if (if (if (if ((assetId == toBase58String(usdnAssetId))) | |
313 | 313 | then (minSellUsdn > price) | |
314 | 314 | else false) | |
315 | 315 | then (price != 0) | |
316 | 316 | else false) | |
317 | 317 | then true | |
318 | 318 | else if (if ((assetId == toBase58String(signAssetId))) | |
319 | 319 | then (minSellSign > price) | |
320 | 320 | else false) | |
321 | 321 | then (price != 0) | |
322 | 322 | else false) | |
323 | 323 | then true | |
324 | 324 | else if (if (if ((assetId == toBase58String(wavesAssetId))) | |
325 | 325 | then true | |
326 | 326 | else (assetId == "WAVES")) | |
327 | 327 | then (minSellWaves > price) | |
328 | 328 | else false) | |
329 | 329 | then (price != 0) | |
330 | 330 | else false) | |
331 | 331 | then throw("Wrong minimum sell price") | |
332 | 332 | else true | |
333 | 333 | } | |
334 | 334 | ||
335 | 335 | ||
336 | 336 | func getBidAssetId (assetId) = if ((assetId == "WAVES")) | |
337 | 337 | then unit | |
338 | 338 | else fromBase58String(assetId) | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | func getPriceAssetIdFromBid (bidDataKey) = { | |
342 | 342 | let bidData = getStringByKey((bidDataKey + "_OPEN")) | |
343 | 343 | if ((bidData == "")) | |
344 | 344 | then throw("Bid not found") | |
345 | 345 | else { | |
346 | 346 | let bidDataArr = split(bidData, "_") | |
347 | 347 | let bidAmount = parseIntValue(bidDataArr[1]) | |
348 | 348 | let bidAssetId = getBidAssetId(bidDataArr[0]) | |
349 | 349 | if ((0 >= bidAmount)) | |
350 | 350 | then throw("Wrong amount") | |
351 | 351 | else $Tuple2(bidAmount, bidAssetId) | |
352 | 352 | } | |
353 | 353 | } | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | func idCallerDate (i) = if (!(dappRunning)) | |
357 | 357 | then throw(maintenanceMSG) | |
358 | 358 | else $Tuple3(toBase58String(i.transactionId), toBase58String(i.caller.bytes), lastBlock.timestamp) | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func buyMint (i,artId,issuer,bidId,bidOwner) = { | |
362 | 362 | let $t01230912366 = idCallerDate(i) | |
363 | 363 | let id = $t01230912366._1 | |
364 | 364 | let caller = $t01230912366._2 | |
365 | 365 | let date = $t01230912366._3 | |
366 | 366 | let isBid = if (if (if ((toBase58String(i.caller.bytes) == issuer)) | |
367 | 367 | then (bidOwner != "") | |
368 | 368 | else false) | |
369 | 369 | then (bidId != "") | |
370 | 370 | else false) | |
371 | 371 | then true | |
372 | 372 | else false | |
373 | 373 | let blockEnd = getIntegerByKey(keyEndSale(caller, artId)) | |
374 | 374 | if (if (if ((blockEnd != 0)) | |
375 | 375 | then (height >= blockEnd) | |
376 | 376 | else false) | |
377 | 377 | then !(isBid) | |
378 | 378 | else false) | |
379 | 379 | then throw("Sale ended.") | |
380 | 380 | else { | |
381 | 381 | let callerIsIssuer = (toBase58String(i.caller.bytes) == issuer) | |
382 | 382 | let totalNFT = getIntegerByKey("total_nft_issued") | |
383 | 383 | let signID = getStringByKey(keySignID(issuer, artId)) | |
384 | 384 | let artworkName = getStringByKey(keyName(issuer, artId)) | |
385 | 385 | if ((artworkName == "")) | |
386 | 386 | then throw("Art doesn't exist") | |
387 | 387 | else { | |
388 | 388 | let isOnSale = getBooleanByKey(keyOnSale(issuer, artId)) | |
389 | 389 | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
390 | 390 | let artworkPrice = if (callerIsIssuer) | |
391 | 391 | then (currentCertificationPrice * 2) | |
392 | 392 | else getIntegerByKey(keyPrice(issuer, artId)) | |
393 | 393 | let priceAssetId = if (callerIsIssuer) | |
394 | 394 | then toBase58String(signAssetId) | |
395 | 395 | else getStringByKey(keyAssetIdAccepted(issuer, artId)) | |
396 | 396 | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
397 | 397 | if (if (if (!(isBid)) | |
398 | 398 | then !(callerIsIssuer) | |
399 | 399 | else false) | |
400 | 400 | then if (if ((0 >= artworkPrice)) | |
401 | 401 | then true | |
402 | 402 | else !(isOnSale)) | |
403 | 403 | then true | |
404 | 404 | else (0 >= maxCanSell) | |
405 | 405 | else false) | |
406 | 406 | then throw("Art not for sale") | |
407 | 407 | else if (if (if (!(isBid)) | |
408 | 408 | then callerIsIssuer | |
409 | 409 | else false) | |
410 | 410 | then (0 >= maxCanSell) | |
411 | 411 | else false) | |
412 | 412 | then throw("Max issuable not set") | |
413 | 413 | else { | |
414 | 414 | let checkUser = validateUser(issuer) | |
415 | 415 | if (if (isBid) | |
416 | 416 | then (checkUser != "") | |
417 | 417 | else false) | |
418 | 418 | then throw(checkUser) | |
419 | 419 | else { | |
420 | 420 | let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId) | |
421 | 421 | let $t01411714284 = if (isBid) | |
422 | 422 | then getPriceAssetIdFromBid(bidDataKey) | |
423 | 423 | else validatePriceAssetId(i, priceAssetId, artworkPrice) | |
424 | 424 | let amount = $t01411714284._1 | |
425 | 425 | let assetId = $t01411714284._2 | |
426 | 426 | let agent = valueOrElse(getString(userDapp, keyArtistAgentAddr(issuer)), feeReceiver) | |
427 | 427 | let agentShare = valueOrElse(getInteger(userDapp, keyPrimaryShare(issuer)), 0) | |
428 | 428 | let isWhitelisted = checkWhitelist(issuer) | |
429 | 429 | let cut = if ((isWhitelisted > height)) | |
430 | 430 | then 0 | |
431 | 431 | else if ((assetId == signAssetId)) | |
432 | 432 | then signCut | |
433 | 433 | else usdnWaveCut | |
434 | 434 | let amountForSign = fraction(amount, cut, 100) | |
435 | - | let amountForAgent = if (if ((agent != feeReceiver)) | |
435 | + | let amountForAgent = if (if (if ((agent != feeReceiver)) | |
436 | 436 | then (agentShare > 0) | |
437 | + | else false) | |
438 | + | then (height > isWhitelisted) | |
437 | 439 | else false) | |
438 | 440 | then fraction(amount, agentShare, 100) | |
439 | 441 | else 0 | |
440 | 442 | let amountForCreator = (amount - amountForSign) | |
441 | 443 | if ((amountSold == maxCanSell)) | |
442 | 444 | then throw("Art sold out") | |
443 | 445 | else { | |
444 | 446 | let newAmountSold = (amountSold + 1) | |
445 | 447 | let issueMeta = ((((((((((("Creator: " + issuer) + ", | |
446 | 448 | ArtID: ") + artId) + ", | |
447 | 449 | SignID: ") + signID) + ", | |
448 | 450 | Artwork name: ") + artworkName) + ", | |
449 | 451 | Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell)) | |
450 | 452 | let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false) | |
451 | 453 | let idNFT = calculateAssetId(issueNFT) | |
452 | 454 | let sellStatus = if (if ((newAmountSold == maxCanSell)) | |
453 | 455 | then true | |
454 | 456 | else !(isOnSale)) | |
455 | 457 | then false | |
456 | 458 | else true | |
457 | 459 | let receiveNFT = if (if (if ((caller == issuer)) | |
458 | 460 | then (bidOwner != "") | |
459 | 461 | else false) | |
460 | 462 | then (bidId != "") | |
461 | 463 | else false) | |
462 | 464 | then addressFromStringValue(bidOwner) | |
463 | 465 | else i.caller | |
464 | 466 | let assetIdBid = if (!(isDefined(assetId))) | |
465 | 467 | then "WAVES" | |
466 | 468 | else toBase58String(value(assetId)) | |
467 | 469 | let bidData = getStringByKey((bidDataKey + "_OPEN")) | |
468 | 470 | let bidDelOld = DeleteEntry((bidDataKey + "_OPEN")) | |
469 | 471 | let bidUpdate = StringEntry((bidDataKey + "_CLOSED"), ((bidData + "_") + toString(date))) | |
470 | 472 | let soldKey = ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer) | |
471 | 473 | let soldValue = if (!(isBid)) | |
472 | 474 | then ((((((((((caller + "_") + toString(date)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + toBase58String(idNFT)) | |
473 | 475 | else ((((((((((toString(receiveNFT) + "_") + toString(date)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + toBase58String(idNFT)) | |
474 | 476 | let soldData = StringEntry(soldKey, soldValue) | |
475 | 477 | let commissions = if ((amountForAgent != 0)) | |
476 | 478 | then [ScriptTransfer(Address(fromBase58String(feeReceiver)), (amountForSign - amountForAgent), assetId), ScriptTransfer(Address(fromBase58String(agent)), amountForAgent, assetId)] | |
477 | 479 | else [ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId)] | |
478 | 480 | let buyRes = ([IntegerEntry(keyIssued(issuer, artId), newAmountSold), StringEntry(("nft_" + toBase58String(idNFT)), soldKey), IntegerEntry("total_nft_issued", (totalNFT + 1)), IntegerEntry(keyEndSale(issuer, artId), 0), BooleanEntry(keyOnSale(issuer, artId), sellStatus), issueNFT, ScriptTransfer(Address(fromBase58String(issuer)), amountForCreator, assetId), ScriptTransfer(receiveNFT, 1, idNFT)] ++ commissions) | |
479 | 481 | if (isBid) | |
480 | 482 | then [soldData, bidUpdate, bidDelOld] :: buyRes | |
481 | 483 | else soldData :: buyRes | |
482 | 484 | } | |
483 | 485 | } | |
484 | 486 | } | |
485 | 487 | } | |
486 | 488 | } | |
487 | 489 | } | |
488 | 490 | ||
489 | 491 | ||
490 | 492 | @Callable(i) | |
491 | 493 | func addArtwork (sha256Hash,signID,name,description,tags,type,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence,crawler) = { | |
492 | - | let $ | |
493 | - | let artId = $ | |
494 | - | let caller = $ | |
495 | - | let date = $ | |
494 | + | let $t01768617727 = idCallerDate(i) | |
495 | + | let artId = $t01768617727._1 | |
496 | + | let caller = $t01768617727._2 | |
497 | + | let date = $t01768617727._3 | |
496 | 498 | if (!(validateHash(sha256Hash))) | |
497 | 499 | then throw("Hash should be 64 characters maximum") | |
498 | 500 | else { | |
499 | - | let $ | |
500 | - | let licenceCID = $ | |
501 | - | let licenceHash = $ | |
501 | + | let $t01782817897 = setLIcence(cidLicence, sha256Licence) | |
502 | + | let licenceCID = $t01782817897._1 | |
503 | + | let licenceHash = $t01782817897._2 | |
502 | 504 | let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags) | |
503 | 505 | if ((validateArtwork != "")) | |
504 | 506 | then throw("Something went wrong!") | |
505 | 507 | else { | |
506 | - | let $ | |
507 | - | let amount = $ | |
508 | - | let assetId = $ | |
508 | + | let $t01811618158 = validatePayment(i) | |
509 | + | let amount = $t01811618158._1 | |
510 | + | let assetId = $t01811618158._2 | |
509 | 511 | if (!(isDefined(amount))) | |
510 | 512 | then throw("Something went wrong") | |
511 | 513 | else { | |
512 | 514 | let entryExist = getStringByKey(keyTxidByHashOwner(sha256Hash, caller)) | |
513 | 515 | if ((entryExist != "")) | |
514 | 516 | then throw("You already added it") | |
515 | 517 | else { | |
516 | 518 | let hashExist = getStringByKey(keyOwnerByHash(sha256Hash)) | |
517 | 519 | if ((hashExist != "")) | |
518 | 520 | then throw("Hash already registered") | |
519 | 521 | else { | |
520 | 522 | let isSignCertified = checkSignCertificate(signID, caller, sha256Hash) | |
521 | 523 | if (!(isSignCertified)) | |
522 | 524 | then throw("Sign Certificate not found for this address.") | |
523 | 525 | else [StringEntry(keyOwnerByHash(sha256Hash), caller), StringEntry(keyTxidByHashOwner(sha256Hash, caller), artId), IntegerEntry(keyDate(caller, artId), date), StringEntry(keyName(caller, artId), name), StringEntry(keyDesc(caller, artId), description), StringEntry(keyDisplayCid(caller, artId), cidDisplay), StringEntry(keyExportCid(caller, artId), cidExport), StringEntry(keyExportHash(caller, artId), sha256Export), StringEntry(keyLicenceHash(caller, artId), licenceHash), StringEntry(keyLicenceCid(caller, artId), licenceCID), StringEntry(keyType(caller, artId), type), StringEntry(keyTags(caller, artId), tags), IntegerEntry(keyMaxMint(caller, artId), 0), StringEntry(keySignID(caller, artId), signID), IntegerEntry(keyIssued(caller, artId), 0), BooleanEntry(keyOnSale(caller, artId), false), StringEntry(keyidBySignid(caller, signID), artId), StringEntry(keyHashByTxidAddr(caller, artId), sha256Hash), StringEntry(keyCrawler(caller, artId), crawler), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)] | |
524 | 526 | } | |
525 | 527 | } | |
526 | 528 | } | |
527 | 529 | } | |
528 | 530 | } | |
529 | 531 | } | |
530 | 532 | ||
531 | 533 | ||
532 | 534 | ||
533 | 535 | @Callable(i) | |
534 | 536 | func updateArtwork (txid,name,description,tags,type,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence,crawler) = if (!(dappRunning)) | |
535 | 537 | then throw(maintenanceMSG) | |
536 | 538 | else { | |
537 | 539 | let caller = toBase58String(i.caller.bytes) | |
538 | - | let $ | |
539 | - | let licenceCID = $ | |
540 | - | let licenceHash = $ | |
540 | + | let $t02089020959 = setLIcence(cidLicence, sha256Licence) | |
541 | + | let licenceCID = $t02089020959._1 | |
542 | + | let licenceHash = $t02089020959._2 | |
541 | 543 | let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags) | |
542 | 544 | if ((validateArtwork != "")) | |
543 | 545 | then throw("Something went wrong!") | |
544 | 546 | else { | |
545 | 547 | let entryExist = getStringByKey(keyName(caller, txid)) | |
546 | 548 | if ((entryExist == "")) | |
547 | 549 | then throw("Entry not found") | |
548 | 550 | else { | |
549 | 551 | let flag = getStringByKey(keyFlag(caller, txid)) | |
550 | 552 | if ((flag == "ILLEGAL")) | |
551 | 553 | then throw("Cannot update ILLEGAL artwork") | |
552 | 554 | else if (!(isArtMinted(caller, txid))) | |
553 | 555 | then [StringEntry(keyName(caller, txid), name), StringEntry(keyDesc(caller, txid), description), StringEntry(keyDisplayCid(caller, txid), cidDisplay), StringEntry(keyExportCid(caller, txid), cidExport), StringEntry(keyExportHash(caller, txid), sha256Export), StringEntry(keyLicenceCid(caller, txid), licenceCID), StringEntry(keyLicenceHash(caller, txid), licenceHash), StringEntry(keyTags(caller, txid), tags), StringEntry(keyType(caller, txid), type), StringEntry(keyCrawler(caller, txid), crawler)] | |
554 | 556 | else throw("Already minted") | |
555 | 557 | } | |
556 | 558 | } | |
557 | 559 | } | |
558 | 560 | ||
559 | 561 | ||
560 | 562 | ||
561 | 563 | @Callable(i) | |
562 | 564 | func flagArtwork (artId,addr,flag,note) = { | |
563 | - | let $ | |
564 | - | let id = $ | |
565 | - | let caller = $ | |
565 | + | let $t02238422417 = idCallerDate(i) | |
566 | + | let id = $t02238422417._1 | |
567 | + | let caller = $t02238422417._2 | |
566 | 568 | if (containsElement([chris, toString(this)], caller)) | |
567 | 569 | then if (containsElement(["CONSENT", "", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], flag)) | |
568 | 570 | then [StringEntry(keyFlag(addr, artId), flag), StringEntry(keyNote(addr, artId), note)] | |
569 | 571 | else throw(("Unknow status " + flag)) | |
570 | 572 | else throw("You are not allowed") | |
571 | 573 | } | |
572 | 574 | ||
573 | 575 | ||
574 | 576 | ||
575 | 577 | @Callable(i) | |
576 | 578 | func deleteArtwork (artId,addr) = { | |
577 | - | let $ | |
578 | - | let id = $ | |
579 | - | let caller = $ | |
579 | + | let $t02285322886 = idCallerDate(i) | |
580 | + | let id = $t02285322886._1 | |
581 | + | let caller = $t02285322886._2 | |
580 | 582 | let addrToUse = if (containsElement([chris, joep, toString(this)], caller)) | |
581 | 583 | then addr | |
582 | 584 | else caller | |
583 | 585 | let entryExist = valueOrErrorMessage(getStringByKey(keyName(addrToUse, artId)), "No art matching for this address") | |
584 | 586 | if ((entryExist == "")) | |
585 | 587 | then throw("No art matching for this address") | |
586 | 588 | else { | |
587 | 589 | let sha256Hash = getStringByKey(keyHashByTxidAddr(addrToUse, artId)) | |
588 | 590 | if ((sha256Hash == "")) | |
589 | 591 | then throw("No art hash matching for this address") | |
590 | 592 | else { | |
591 | 593 | let signID = getStringByKey(keySignID(addrToUse, artId)) | |
592 | 594 | if ((signID == "")) | |
593 | 595 | then throw("No SIGN ID matching") | |
594 | 596 | else { | |
595 | 597 | let dataToDelete = [DeleteEntry(keyDate(addrToUse, artId)), DeleteEntry(keyName(addrToUse, artId)), DeleteEntry(keyDesc(addrToUse, artId)), DeleteEntry(keyDisplayCid(addrToUse, artId)), DeleteEntry(keyExportCid(addrToUse, artId)), DeleteEntry(keyExportHash(addrToUse, artId)), DeleteEntry(keyLicenceHash(addrToUse, artId)), DeleteEntry(keyLicenceCid(addrToUse, artId)), DeleteEntry(keyType(addrToUse, artId)), DeleteEntry(keyTags(addrToUse, artId)), DeleteEntry(keyMaxMint(addrToUse, artId)), DeleteEntry(keySignID(addrToUse, artId)), DeleteEntry(keyIssued(addrToUse, artId)), DeleteEntry(keyOnSale(addrToUse, artId)), DeleteEntry(keyFlag(addrToUse, artId)), DeleteEntry(keyPrice(addrToUse, artId)), DeleteEntry(keyAssetIdAccepted(addrToUse, artId)), DeleteEntry(keyOwnerByHash(sha256Hash)), DeleteEntry(keyidBySignid(addrToUse, signID)), DeleteEntry(keyTxidByHashOwner(sha256Hash, addrToUse)), DeleteEntry(keyEndSale(addrToUse, artId)), DeleteEntry(keyNote(addrToUse, artId)), DeleteEntry(keyCrawler(addrToUse, artId))] | |
596 | 598 | if (!(isArtMinted(addrToUse, artId))) | |
597 | 599 | then if (!(dappRunning)) | |
598 | 600 | then throw(maintenanceMSG) | |
599 | 601 | else dataToDelete | |
600 | 602 | else if (containsElement([chris, toString(this)], caller)) | |
601 | 603 | then dataToDelete | |
602 | 604 | else throw("Art already minted, you cannot delete it") | |
603 | 605 | } | |
604 | 606 | } | |
605 | 607 | } | |
606 | 608 | } | |
607 | 609 | ||
608 | 610 | ||
609 | 611 | ||
610 | 612 | @Callable(i) | |
611 | 613 | func sellArtwork (artId,price,maxMint,assetId,blockEnd) = { | |
612 | - | let $ | |
613 | - | let id = $ | |
614 | - | let caller = $ | |
614 | + | let $t02565925692 = idCallerDate(i) | |
615 | + | let id = $t02565925692._1 | |
616 | + | let caller = $t02565925692._2 | |
615 | 617 | let artworkName = getStringByKey(keyName(caller, artId)) | |
616 | 618 | if ((artworkName == "")) | |
617 | 619 | then throw("This art doesn't match your account") | |
618 | 620 | else { | |
619 | 621 | let flag = getStringByKey(keyFlag(caller, artId)) | |
620 | 622 | if (containsElement(["CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], flag)) | |
621 | 623 | then throw("Flagged artwork") | |
622 | 624 | else { | |
623 | 625 | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
624 | 626 | if ((0 > blockEnd)) | |
625 | 627 | then throw("Negative end") | |
626 | 628 | else if (if ((blockEnd > 0)) | |
627 | 629 | then if ((maxMint != 1)) | |
628 | 630 | then true | |
629 | 631 | else (price != 0) | |
630 | 632 | else false) | |
631 | 633 | then throw("Timed offer only allowed for unique edition and offer only") | |
632 | 634 | else { | |
633 | 635 | let baseHeight = if ((blockEnd == 0)) | |
634 | 636 | then 0 | |
635 | 637 | else height | |
636 | 638 | if (!(acceptedAssetIds(assetId))) | |
637 | 639 | then throw("Something went wrong!") | |
638 | 640 | else if (!(validateMinSell(assetId, price))) | |
639 | 641 | then throw("Something went wrong!") | |
640 | 642 | else { | |
641 | 643 | let checkUser = validateUser(caller) | |
642 | 644 | if ((checkUser != "")) | |
643 | 645 | then throw(checkUser) | |
644 | 646 | else { | |
645 | 647 | let amountSold = getIntegerByKey(keyIssued(caller, artId)) | |
646 | 648 | let maxCanSell = getIntegerByKey(keyMaxMint(caller, artId)) | |
647 | 649 | if ((maxMint > 100)) | |
648 | 650 | then throw("100 editions max per artwork") | |
649 | 651 | else if (if ((amountSold != 0)) | |
650 | 652 | then (amountSold == maxCanSell) | |
651 | 653 | else false) | |
652 | 654 | then throw("Max edition reached.") | |
653 | 655 | else if (if ((amountSold > 0)) | |
654 | 656 | then (maxCanSell != maxMint) | |
655 | 657 | else false) | |
656 | 658 | then throw("Cannot change maximum issuable anymore") | |
657 | 659 | else if (if ((bidNbr > 0)) | |
658 | 660 | then (maxCanSell != maxMint) | |
659 | 661 | else false) | |
660 | 662 | then throw("Cannot change maximum issuable with active orders") | |
661 | 663 | else { | |
662 | 664 | let sellStatus = if (if ((price > 0)) | |
663 | 665 | then (maxMint > 0) | |
664 | 666 | else false) | |
665 | 667 | then true | |
666 | 668 | else false | |
667 | 669 | [BooleanEntry(keyOnSale(caller, artId), sellStatus), IntegerEntry(keyPrice(caller, artId), price), IntegerEntry(keyMaxMint(caller, artId), maxMint), StringEntry(keyAssetIdAccepted(caller, artId), assetId), IntegerEntry(keyEndSale(caller, artId), (baseHeight + blockEnd))] | |
668 | 670 | } | |
669 | 671 | } | |
670 | 672 | } | |
671 | 673 | } | |
672 | 674 | } | |
673 | 675 | } | |
674 | 676 | } | |
675 | 677 | ||
676 | 678 | ||
677 | 679 | ||
678 | 680 | @Callable(i) | |
679 | 681 | func buyArtwork (artId,issuer) = buyMint(i, artId, issuer, "", "") | |
680 | 682 | ||
681 | 683 | ||
682 | 684 | ||
683 | 685 | @Callable(i) | |
684 | 686 | func setBid (artId,issuer) = { | |
685 | - | let $ | |
686 | - | let id = $ | |
687 | - | let caller = $ | |
688 | - | let date = $ | |
689 | - | let $ | |
690 | - | let payment = $ | |
691 | - | let amount = $ | |
687 | + | let $t02794927987 = idCallerDate(i) | |
688 | + | let id = $t02794927987._1 | |
689 | + | let caller = $t02794927987._2 | |
690 | + | let date = $t02794927987._3 | |
691 | + | let $t02799228028 = isPayment(i) | |
692 | + | let payment = $t02799228028._1 | |
693 | + | let amount = $t02799228028._2 | |
692 | 694 | let assetId = if (!(isDefined(payment.assetId))) | |
693 | 695 | then "WAVES" | |
694 | 696 | else toBase58String(value(payment.assetId)) | |
695 | 697 | let blockEnd = getIntegerByKey(keyEndSale(issuer, artId)) | |
696 | 698 | if (if ((blockEnd != 0)) | |
697 | 699 | then (height >= blockEnd) | |
698 | 700 | else false) | |
699 | 701 | then throw("Sale ended.") | |
700 | 702 | else { | |
701 | 703 | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
702 | 704 | if (!(acceptedAssetIds(assetId))) | |
703 | 705 | then throw("asset not accepted") | |
704 | 706 | else if (!(validateMinSell(assetId, amount))) | |
705 | 707 | then throw("Wrong min sell") | |
706 | 708 | else { | |
707 | 709 | let amountSold = getIntegerByKey(keyIssued(issuer, artId)) | |
708 | 710 | let maxCanSell = getIntegerByKey(keyMaxMint(issuer, artId)) | |
709 | 711 | if ((0 >= maxCanSell)) | |
710 | 712 | then throw("No max edition set for this artwork") | |
711 | 713 | else if ((amountSold >= maxCanSell)) | |
712 | 714 | then throw("Sold out, you cannot bid") | |
713 | 715 | else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr + 1))] | |
714 | 716 | } | |
715 | 717 | } | |
716 | 718 | } | |
717 | 719 | ||
718 | 720 | ||
719 | 721 | ||
720 | 722 | @Callable(i) | |
721 | 723 | func acceptBid (artId,issuer,bidId,bidOwner) = { | |
722 | 724 | let caller = toBase58String(i.caller.bytes) | |
723 | 725 | if ((caller != issuer)) | |
724 | 726 | then throw("You cannot do this action") | |
725 | 727 | else buyMint(i, artId, issuer, bidId, bidOwner) | |
726 | 728 | } | |
727 | 729 | ||
728 | 730 | ||
729 | 731 | ||
730 | 732 | @Callable(i) | |
731 | 733 | func cancelBid (artId,issuer,bidId,bidOwner) = { | |
732 | - | let $ | |
733 | - | let id = $ | |
734 | - | let caller = $ | |
735 | - | let date = $ | |
734 | + | let $t02945529514 = idCallerDate(i) | |
735 | + | let id = $t02945529514._1 | |
736 | + | let caller = $t02945529514._2 | |
737 | + | let date = $t02945529514._3 | |
736 | 738 | if (if ((caller != bidOwner)) | |
737 | 739 | then (caller != issuer) | |
738 | 740 | else false) | |
739 | 741 | then throw("You cannot do this action") | |
740 | 742 | else { | |
741 | 743 | let returnMoneyTo = if ((caller == issuer)) | |
742 | 744 | then bidOwner | |
743 | 745 | else caller | |
744 | 746 | let bidNbr = getIntegerByKey(("current_bidamount_" + artId)) | |
745 | 747 | let bidDataKey = ((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId) | |
746 | 748 | let bidData = getStringByKey((bidDataKey + "_OPEN")) | |
747 | 749 | if ((bidData == "")) | |
748 | 750 | then throw("Bid not found") | |
749 | 751 | else { | |
750 | 752 | let bidDataArr = split(bidData, "_") | |
751 | 753 | let assetId = getBidAssetId(bidDataArr[0]) | |
752 | 754 | let bidStatus = "CANCELED" | |
753 | 755 | [DeleteEntry((bidDataKey + "_OPEN")), StringEntry(((bidDataKey + "_") + bidStatus), ((bidData + "_") + toString(date))), IntegerEntry(("current_bidamount_" + artId), (bidNbr - 1)), ScriptTransfer(Address(fromBase58String(returnMoneyTo)), parseIntValue(bidDataArr[1]), assetId)] | |
754 | 756 | } | |
755 | 757 | } | |
756 | 758 | } | |
757 | 759 | ||
758 | 760 |
github/deemru/w8io/169f3d6 118.90 ms ◑