tx · BAMKEZTFigWmNx254BSEAF2ir6nDWqfJH8sMRtF1hCBJ

3MtBXVmcoRyHwL1ZyKgE42anY4fgJgCdbTx:  -0.01000000 Waves

2021.02.15 08:09 [1398829] smart account 3MtBXVmcoRyHwL1ZyKgE42anY4fgJgCdbTx > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
45.24 ms