tx · JAzTvtR5G5pm18JGn9Ay4exnnggGHMN1utSgLHxEQtC4

3MqQvRj5j4e9DLcJVLiw2fTWGPVS3SKSKd2:  -0.01000000 Waves

2020.12.09 12:23 [1300946] smart account 3MqQvRj5j4e9DLcJVLiw2fTWGPVS3SKSKd2 > SELF 0.00000000 Waves

{ "type": 13, "id": "JAzTvtR5G5pm18JGn9Ay4exnnggGHMN1utSgLHxEQtC4", "fee": 1000000, "feeAssetId": null, "timestamp": 1607505843291, "version": 2, "chainId": 84, "sender": "3MqQvRj5j4e9DLcJVLiw2fTWGPVS3SKSKd2", "senderPublicKey": "8mbzDwDeaG77WFirQ5uEZTGJGgWud5YbzTqvL8L6syTt", "proofs": [ "3EyPcpa3JULypzZRsneDsRiauS8zJTAQvduLUwSppVgptbqK9Vb9JDywdApJ8JgeD72jBndTfcLkB2KMyJpu9APh" ], "script": "base64:AAIEAAAAAAAAAEEIAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSAwoBCAAAADQAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY1RQcWQ1NXdkSFFRQjNQVTJVQ20AAAAADXdoaXRlbGlzdERhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NmpqMVdVWXFkN0RUN2RIRXViczlqRVRMVVh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cmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAABmlzc3VlcgUAAAAQYW1vdW50Rm9yQ3JlYXRvcgUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAALZmVlUmVjZWl2ZXIFAAAADWFtb3VudEZvclNpZ24FAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAVpZE5GVAUAAAADbmlsAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQQAAAAGY2FsbGVyCQAEJQAAAAEJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAGY2FsbGVyBQAAAAVjaHJpcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAFz6cBo=", "height": 1300946, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
5+
6+let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
7+
8+let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
9+
10+let userDapp = value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
11+
12+let whitelistDapp = value(addressFromString("3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k"))
13+
14+let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
15+
16+let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
17+
18+let wavesAssetId = base58''
19+
20+let signCut = 7
21+
22+let usdnCut = 10
23+
24+let wavesCut = 10
25+
26+let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
27+
28+let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
29+
30+let dappRunning = match getBoolean(userDapp, "conf_dapp_is_running") {
31+ case a: Boolean =>
32+ a
33+ case _ =>
34+ true
35+}
36+
37+let maintenanceMSG = match getString(userDapp, "conf_maintenance_msg") {
38+ case a: String =>
39+ a
40+ case _ =>
41+ ""
42+}
43+
44+let userSuspended = "SUSPENDED"
45+
46+let userRemoved = "REMOVED"
47+
48+let userUnregistered = "UNREGISTERED"
49+
50+let userAllowed = "ALLOWED"
51+
52+func getStringByKey (key) = match getString(this, key) {
53+ case a: String =>
54+ a
55+ case _ =>
56+ ""
57+}
58+
59+
60+func getIntegerByKeyFromOracle (key) = match getInteger(oracleFee, key) {
61+ case a: Int =>
62+ a
63+ case _ =>
64+ throw("Integer undefine or 0 in oracle")
65+}
66+
67+
68+func getIntegerByKey (key) = match getInteger(this, key) {
69+ case i: Int =>
70+ i
71+ case _ =>
72+ 0
73+}
74+
75+
76+func checkWhitelist (key) = match getInteger(whitelistDapp, key) {
77+ case a: Int =>
78+ if ((a >= height))
79+ then 1
80+ else 0
81+ case _ =>
82+ 0
83+}
84+
85+
86+func getBooleanByKey (key) = match getBoolean(this, key) {
87+ case i: Boolean =>
88+ i
89+ case _ =>
90+ false
91+}
92+
93+
94+func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signDapp, ((("data_fc_" + signID) + "_") + Owner)) {
95+ case a: String =>
96+ if (contains(a, sha256Hash))
97+ then true
98+ else false
99+ case _ =>
100+ false
101+}
102+
103+
104+func validateCID (cid) = if (if ((75 > size(cid)))
105+ then (60 > size(split(cid, "/")[0]))
106+ else false)
107+ then (16 > size(split(cid, "/")[1]))
108+ else false
109+
110+
111+func validateHash (hash) = (65 > size(hash))
112+
113+
114+func keyUserStatus (caller) = ("user_status_" + caller)
115+
116+
117+func keyArtDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
118+
119+
120+func keyArtName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
121+
122+
123+func keyArtDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
124+
125+
126+func keyArtDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
127+
128+
129+func keyArtExportHash (caller,artId) = ((("art_export_hash_" + artId) + "_") + caller)
130+
131+
132+func keyArtExportCid (caller,artId) = ((("art_export_cid_" + artId) + "_") + caller)
133+
134+
135+func keyArtMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
136+
137+
138+func keyArtSignID (caller,artId) = ((("art_signid_" + artId) + "_") + caller)
139+
140+
141+func keyArtIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
142+
143+
144+func keyArtOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
145+
146+
147+func keyArtLicenceHash (caller,artId) = ((("art_licence_hash_" + artId) + "_") + caller)
148+
149+
150+func keyArtLicenceCid (caller,artId) = ((("art_licence_cid_" + artId) + "_") + caller)
151+
152+
153+func keyArtTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
154+
155+
156+func keyArtType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
157+
158+
159+func keyArtPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
160+
161+
162+func keyArtAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
163+
164+
165+func keyArtFlag (caller,artId) = ((("art_flag_" + artId) + "_") + caller)
166+
167+
168+func keyArtHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
169+
170+
171+func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
172+
173+
174+func keyArtArtidBySignid (caller,signId) = ((("get_artidbysignid_" + signId) + "_") + caller)
175+
176+
177+func keyArtTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
178+
179+
180+func validateAllCID (cidDisplay,cidExport,cidLicence) = if (if ((cidDisplay != ""))
181+ then !(validateCID(cidDisplay))
182+ else false)
183+ then throw("Wrong Display CID")
184+ else if (if ((cidExport != ""))
185+ then !(validateCID(cidExport))
186+ else false)
187+ then throw("Wrong Export CID")
188+ else if (if ((cidLicence != ""))
189+ then !(validateCID(cidLicence))
190+ else false)
191+ then throw("Wrong Licence CID")
192+ else true
193+
194+
195+func validateAllHash (sha256Export,sha256Licence) = if (if ((sha256Export != ""))
196+ then !(validateHash(sha256Export))
197+ else false)
198+ then throw("Export Hash 64 char. max")
199+ else if (if ((sha256Licence != ""))
200+ then !(validateHash(sha256Licence))
201+ else false)
202+ then throw("Licence Hash 64 char. max")
203+ else true
204+
205+
206+func validateString (str,max) = if ((size(str) == 0))
207+ then throw("Field cannot be is empty")
208+ else if ((size(str) > max))
209+ then throw((str + " is too long"))
210+ else true
211+
212+
213+@Callable(invoke)
214+func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
215+ then throw(maintenanceMSG)
216+ else {
217+ let artId = toBase58String(invoke.transactionId)
218+ let caller = toBase58String(invoke.caller.bytes)
219+ let timestamp = lastBlock.timestamp
220+ let userIsRegistered = match getString(userDapp, ("user_status_" + caller)) {
221+ case s: String =>
222+ s
223+ case _ =>
224+ userUnregistered
225+ }
226+ if (if (isDefined(userIsRegistered))
227+ then if ((userIsRegistered == userUnregistered))
228+ then true
229+ else (userIsRegistered == userAllowed)
230+ else false)
231+ then throw("Register this account first with \"Account\" tab")
232+ else if ((userIsRegistered == userSuspended))
233+ then throw("Account suspended")
234+ else if ((userIsRegistered == userRemoved))
235+ then throw("Account removed")
236+ else if (!(validateAllCID(cidDisplay, cidExport, cidLicence)))
237+ then throw("Problem with CID")
238+ else if (!(validateHash(sha256Hash)))
239+ then throw("Hash should be 64 characters maximum")
240+ else if (!(validateAllHash(sha256Export, sha256Licence)))
241+ then throw("Problem with Hashes")
242+ else if ((size(invoke.payments) == 0))
243+ then throw("No payment attached")
244+ else {
245+ let payment = value(invoke.payments[0])
246+ let amount = value(payment.amount)
247+ let assetId = if (if (isDefined(payment.assetId))
248+ then (payment.assetId == signAssetId)
249+ else false)
250+ then payment.assetId
251+ else throw("Only SIGN token accepted at the moment")
252+ let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId)))
253+ if ((amount != currentCertificationPrice))
254+ then throw(("Payment amount should be " + toString(currentCertificationPrice)))
255+ else {
256+ let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, caller))
257+ if ((entryExist != ""))
258+ then throw("You already added it")
259+ else {
260+ let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
261+ if ((hashExist != ""))
262+ then throw("Hash already registered")
263+ else {
264+ let isSignCertified = checkSignCertificate(signID, caller, sha256Hash)
265+ if (!(isSignCertified))
266+ then throw("Sign Certificate not found for this address.")
267+ else if ((size(cidDisplay) == 0))
268+ then throw("Display CID cannot be empty")
269+ else if (!(validateString(name, 100)))
270+ then throw("100 Char. max name")
271+ else if (!(validateString(description, 1000)))
272+ then throw("1000 Char. max description")
273+ else if ((size(split(tags, ",")) > 5))
274+ then throw("5 tags max.")
275+ else if ((maxmint > 10))
276+ then throw("10 editions max")
277+ else if ((size(sha256Hash) != 64))
278+ then throw("Hash 64 char. max")
279+ else [StringEntry(keyArtOwnerByHash(sha256Hash), caller), StringEntry(keyArtTxidByHashOwner(sha256Hash, caller), artId), IntegerEntry(keyArtDate(caller, artId), timestamp), StringEntry(keyArtName(caller, artId), name), StringEntry(keyArtDesc(caller, artId), description), StringEntry(keyArtDisplayCid(caller, artId), cidDisplay), StringEntry(keyArtExportCid(caller, artId), cidExport), StringEntry(keyArtExportHash(caller, artId), sha256Export), StringEntry(keyArtLicenceHash(caller, artId), sha256Licence), StringEntry(keyArtLicenceCid(caller, artId), cidLicence), StringEntry(keyArtType(caller, artId), type), StringEntry(keyArtTags(caller, artId), tags), IntegerEntry(keyArtMaxMint(caller, artId), maxmint), StringEntry(keyArtSignID(caller, artId), signID), IntegerEntry(keyArtIssued(caller, artId), 0), BooleanEntry(keyArtOnSale(caller, artId), false), StringEntry(keyArtArtidBySignid(caller, signID), artId), StringEntry(keyArtHashByTxidAddr(caller, artId), sha256Hash), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)]
280+ }
281+ }
282+ }
283+ }
284+ }
285+
286+
287+
288+@Callable(invoke)
289+func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
290+ then throw(maintenanceMSG)
291+ else {
292+ let updateId = toBase58String(invoke.transactionId)
293+ let caller = toBase58String(invoke.caller.bytes)
294+ let userIsRegistered = match getString(userDapp, ("user_status_" + caller)) {
295+ case s: String =>
296+ s
297+ case _ =>
298+ userUnregistered
299+ }
300+ if (if (isDefined(userIsRegistered))
301+ then if ((userIsRegistered == userUnregistered))
302+ then true
303+ else (userIsRegistered == userAllowed)
304+ else false)
305+ then throw("Register first with \"User infos\"")
306+ else if ((userIsRegistered == userSuspended))
307+ then throw("Account suspended")
308+ else if ((userIsRegistered == userRemoved))
309+ then throw("Account removed")
310+ else if (!(validateAllCID(cidDisplay, cidExport, cidLicence)))
311+ then throw("Problem with CID")
312+ else if (!(validateAllHash(sha256Export, sha256Licence)))
313+ then throw("Problem with Hashes")
314+ else {
315+ let entryExist = getStringByKey(keyArtName(caller, txid))
316+ if ((entryExist == ""))
317+ then throw("Entry not found")
318+ else if (!(validateString(name, 100)))
319+ then throw("100 Char. max name")
320+ else if (!(validateString(description, 1000)))
321+ then throw("1000 Char. max description")
322+ else {
323+ let flag = getStringByKey(keyArtFlag(caller, txid))
324+ if ((flag == "ILLEGAL"))
325+ then throw("Cannot update")
326+ else {
327+ let artworkMinted = match getInteger(this, keyArtIssued(caller, txid)) {
328+ case b: Int =>
329+ if ((b == 0))
330+ then false
331+ else true
332+ case _ =>
333+ false
334+ }
335+ if ((size(split(tags, ",")) > 5))
336+ then throw("5 tags max.")
337+ else if ((maxmint > 10))
338+ then throw("10 editions max per artwork")
339+ else if (!(artworkMinted))
340+ then [StringEntry(keyArtName(caller, txid), name), StringEntry(keyArtDesc(caller, txid), description), StringEntry(keyArtDisplayCid(caller, txid), cidDisplay), StringEntry(keyArtExportCid(caller, txid), cidExport), StringEntry(keyArtExportHash(caller, txid), sha256Export), StringEntry(keyArtLicenceCid(caller, txid), cidLicence), StringEntry(keyArtLicenceHash(caller, txid), sha256Licence), IntegerEntry(keyArtMaxMint(caller, txid), maxmint), StringEntry(keyArtTags(caller, txid), tags), StringEntry(keyArtType(caller, txid), type)]
341+ else throw("Already minted")
342+ }
343+ }
344+ }
345+ }
346+
347+
348+
349+@Callable(i)
350+func flagArtwork (artId,addr,flag) = {
351+ let caller = toString(addressFromPublicKey(i.callerPublicKey))
352+ let id = toBase58String(i.transactionId)
353+ if (containsElement([chris, joep], caller))
354+ then if ((flag == "CONSENT"))
355+ then [StringEntry(keyArtFlag(addr, artId), flag)]
356+ else if ((flag == ""))
357+ then [StringEntry(keyArtFlag(addr, artId), flag)]
358+ else if ((flag == "ILLEGAL"))
359+ then [StringEntry(keyArtFlag(addr, artId), flag), StringEntry(keyArtName(addr, artId), "ILLEGAL CONTENT"), StringEntry(keyArtDesc(addr, artId), "ILLEGAL CONTENT"), StringEntry(keyArtDisplayCid(addr, artId), ""), StringEntry(keyArtExportCid(addr, artId), ""), StringEntry(keyArtLicenceCid(addr, artId), "")]
360+ else throw(("Unknow status" + flag))
361+ else throw("no")
362+ }
363+
364+
365+
366+@Callable(i)
367+func deleteArtwork (artId,addr) = {
368+ let caller = toString(addressFromPublicKey(i.callerPublicKey))
369+ let id = toBase58String(i.transactionId)
370+ let addressToUse = if (containsElement([chris, joep], caller))
371+ then addr
372+ else caller
373+ let entryExist = match getString(this, keyArtName(addressToUse, artId)) {
374+ case s: String =>
375+ s
376+ case _ =>
377+ throw("No art matching")
378+ }
379+ let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) {
380+ case b: Int =>
381+ if ((b != 0))
382+ then true
383+ else false
384+ case _ =>
385+ false
386+ }
387+ let maxMint = getIntegerByKey(keyArtMaxMint(addressToUse, artId))
388+ let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) {
389+ case s: String =>
390+ s
391+ case _ =>
392+ throw("No art hash matching")
393+ }
394+ let signID = match getString(this, keyArtSignID(addressToUse, artId)) {
395+ case s: String =>
396+ s
397+ case _ =>
398+ throw("No SIGN ID matching")
399+ }
400+ let dataToDelete = [DeleteEntry(keyArtDate(addressToUse, artId)), DeleteEntry(keyArtName(addressToUse, artId)), DeleteEntry(keyArtDesc(addressToUse, artId)), DeleteEntry(keyArtDisplayCid(addressToUse, artId)), DeleteEntry(keyArtExportCid(addressToUse, artId)), DeleteEntry(keyArtExportHash(addressToUse, artId)), DeleteEntry(keyArtLicenceHash(addressToUse, artId)), DeleteEntry(keyArtLicenceCid(addressToUse, artId)), DeleteEntry(keyArtType(addressToUse, artId)), DeleteEntry(keyArtTags(addressToUse, artId)), DeleteEntry(keyArtMaxMint(addressToUse, artId)), DeleteEntry(keyArtSignID(addressToUse, artId)), DeleteEntry(keyArtIssued(addressToUse, artId)), DeleteEntry(keyArtOnSale(addressToUse, artId)), DeleteEntry(keyArtFlag(addr, artId)), DeleteEntry(keyArtOwnerByHash(sha256Hash)), DeleteEntry(keyArtArtidBySignid(addressToUse, signID)), DeleteEntry(keyArtTxidByHashOwner(sha256Hash, addressToUse))]
401+ if (!(artworkMinted))
402+ then if (!(dappRunning))
403+ then throw(maintenanceMSG)
404+ else dataToDelete
405+ else if (containsElement([chris, joep], caller))
406+ then dataToDelete
407+ else throw("Art already minted, cannot delete")
408+ }
409+
410+
411+
412+@Callable(i)
413+func sellArtwork (artId,price,maxMint,assetId) = if (!(dappRunning))
414+ then throw(maintenanceMSG)
415+ else {
416+ let id = toBase58String(i.transactionId)
417+ let caller = toBase58String(i.caller.bytes)
418+ let sellDate = lastBlock.timestamp
419+ let exportCID = getStringByKey(keyArtExportCid(caller, artId))
420+ if ((size(split(exportCID, "/")[0]) != 59))
421+ then throw("You cannot sell art with no export file")
422+ else {
423+ let exportHash = getStringByKey(keyArtExportHash(caller, artId))
424+ if ((size(exportHash) != 64))
425+ then throw("You cannot sell art with no export hash")
426+ else if (if (if ((assetId != toBase58String(signAssetId)))
427+ then (assetId != toBase58String(wavesAssetId))
428+ else false)
429+ then (assetId != toBase58String(usdnAssetId))
430+ else false)
431+ then throw("Only SIGN, USDN or WAVES accepted")
432+ else {
433+ let minSellWaves = getIntegerByKeyFromOracle("waves_min_sell")
434+ let minSellUsdn = 1000000
435+ let minSellSign = (getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId))) * 2)
436+ if (if (if (if (if ((assetId == toBase58String(usdnAssetId)))
437+ then (minSellUsdn > price)
438+ else false)
439+ then (price != 0)
440+ else false)
441+ then true
442+ else if (if ((assetId == toBase58String(signAssetId)))
443+ then (minSellSign > price)
444+ else false)
445+ then (price != 0)
446+ else false)
447+ then true
448+ else if (if ((assetId == toBase58String(wavesAssetId)))
449+ then (minSellWaves > price)
450+ else false)
451+ then (price != 0)
452+ else false)
453+ then throw("Wrong minimum sell price")
454+ else {
455+ let artworkName = match getString(this, keyArtName(caller, artId)) {
456+ case s: String =>
457+ s
458+ case _ =>
459+ throw("This art doesn't match")
460+ }
461+ let userIsRegistered = match getString(userDapp, keyUserStatus(caller)) {
462+ case s: String =>
463+ s
464+ case _ =>
465+ throw("Register this account first")
466+ }
467+ let amountSold = getIntegerByKey(keyArtIssued(caller, artId))
468+ let maxCanSell = getIntegerByKey(keyArtMaxMint(caller, artId))
469+ if (if ((amountSold != 0))
470+ then (amountSold == maxCanSell)
471+ else false)
472+ then throw("Max edition reached.")
473+ else if (if ((amountSold > 0))
474+ then (maxCanSell != maxMint)
475+ else false)
476+ then throw("Cannot change maximum issuable anymore")
477+ else if ((userIsRegistered == userSuspended))
478+ then throw("Account suspended")
479+ else if ((userIsRegistered == userRemoved))
480+ then throw("Account deleted")
481+ else {
482+ let sellStatus = if (if ((price > 0))
483+ then (maxMint > 0)
484+ else false)
485+ then true
486+ else false
487+[BooleanEntry(keyArtOnSale(caller, artId), sellStatus), IntegerEntry(keyArtPrice(caller, artId), price), IntegerEntry(keyArtMaxMint(caller, artId), maxMint), StringEntry(keyArtAssetIdAccepted(caller, artId), assetId)]
488+ }
489+ }
490+ }
491+ }
492+ }
493+
494+
495+
496+@Callable(i)
497+func buyArtwork (artId,issuer) = if (!(dappRunning))
498+ then throw(maintenanceMSG)
499+ else {
500+ let id = toBase58String(i.transactionId)
501+ let caller = toBase58String(i.caller.bytes)
502+ let totalNFT = getIntegerByKey("total_nft_issued")
503+ let signID = getStringByKey(keyArtSignID(issuer, artId))
504+ let artworkName = match getString(this, keyArtName(issuer, artId)) {
505+ case s: String =>
506+ s
507+ case _ =>
508+ throw("Art doesn't exist")
509+ }
510+ let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId))
511+ let exportCID = getStringByKey(keyArtExportCid(issuer, artId))
512+ let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
513+ let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
514+ let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
515+ let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
516+ let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
517+ let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
518+ let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
519+ let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId))
520+ let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId))
521+ if ((artworkPrice == 0))
522+ then throw("Art not for sell")
523+ else if (!(isOnSale))
524+ then throw("Art not for sale")
525+ else {
526+ let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
527+ let payment = value(i.payments[0])
528+ let amount = value(payment.amount)
529+ let assetId = if (if (if (isDefined(payment.assetId))
530+ then (size(fromBase58String(priceAssetId)) > 0)
531+ else false)
532+ then (payment.assetId == fromBase58String(priceAssetId))
533+ else false)
534+ then payment.assetId
535+ else unit
536+ let isWhitelisted = checkWhitelist(issuer)
537+ let cut = if ((isWhitelisted == 1))
538+ then 0
539+ else if ((priceAssetId == toBase58String(signAssetId)))
540+ then 8
541+ else 10
542+ let amountForSign = fraction(amount, cut, 100)
543+ let amountForCreator = (amount - amountForSign)
544+ if ((amountSold == maxCanSell))
545+ then throw("Art sold out")
546+ else if ((artworkPrice != amount))
547+ then throw("Payment don't match")
548+ else {
549+ let newAmountSold = (amountSold + 1)
550+ let entryDate = lastBlock.timestamp
551+ let issueMeta = ((((((((((((((((((((((((((("Creator: " + issuer) + ",
552+ ArtID: ") + artId) + ",
553+ SignID: ") + signID) + ",
554+ Artwork name: ") + artworkName) + ",
555+ Artwork description: ") + description) + ",
556+ Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + ",
557+ Max issuable: ") + toString(maxCanSell)) + ",
558+ Source hash: ") + sourceHash) + ",
559+ Display cid: ") + displayCID) + ",
560+ Export cid: ") + exportCID) + ",
561+ Export hash: ") + exportHash) + ",
562+ Licence cid: ") + licenceCID) + ",
563+ Licence hash: ") + licenceHash)
564+ let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
565+ let idNFT = calculateAssetId(issueNFT)
566+ let sellStatus = if ((newAmountSold == maxCanSell))
567+ then false
568+ else true
569+[IntegerEntry(keyArtIssued(issuer, artId), newAmountSold), StringEntry(("nft_" + toBase58String(idNFT)), ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer)), StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((((((caller + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + toBase58String(idNFT))), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyArtOnSale(issuer, artId), sellStatus), issueNFT, ScriptTransfer(Address(fromBase58String(issuer)), amountForCreator, assetId), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId), ScriptTransfer(i.caller, 1, idNFT)]
570+ }
571+ }
572+ }
573+
574+
575+
576+@Callable(i)
577+func deleteEntry (entry) = {
578+ let caller = toString(addressFromPublicKey(i.callerPublicKey))
579+ if ((caller == chris))
580+ then [DeleteEntry(entry)]
581+ else throw("no")
582+ }
583+
584+

github/deemru/w8io/026f985 
37.05 ms