tx · A5LiwtMDwgZ1KvJ5eM6vHr6WaFVxzoSa1115CAr5fexm

3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL:  -0.01400000 Waves

2021.01.22 13:19 [1364519] smart account 3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL > SELF 0.00000000 Waves

{ "type": 13, "id": "A5LiwtMDwgZ1KvJ5eM6vHr6WaFVxzoSa1115CAr5fexm", "fee": 1400000, "feeAssetId": null, "timestamp": 1611310774583, "version": 2, "chainId": 84, "sender": "3NBquYd5fTq8HRDkagrtNLQ3HmWd7wcZoeL", "senderPublicKey": "7irc2VpK5czoyVdwrCuQqr2JU9ZaZnEZn8RPChnfi3yL", "proofs": [ "4XjRZYDqvTwa3mQxGsk9XaYrRDLGKvBB7tTFGaqmCQs1BP6PtX9ea8ZBJg5w6JJo3UQKZiMjgUEapUskGAniSjKw" ], "script": "base64:AAIEAAAAAAAAAE8IAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSBAoCCAgSBgoECAgICBIDCgEIAAAAQQAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAACHNpZ25EYXBwCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAACHVzZXJEYXBwAwUAAAAIdW5pdFRlc3QJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM010NFJHTUV5alNXWUFvY1RQcWQ1NXdkSFFRQjNQVTJVQ20JAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQ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AAABWJpZElkBQAAAAhiaWRPd25lcgAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkDCQAAAAAAAAIFAAAABmNhbGxlcgUAAAAFY2hyaXMJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAAB2YwAL", "height": 1364519, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HvPJwDoxQScPzPcYZ3aMVM34SnWoUqJySnKLEvxPugTv Next: GLJKD2fnS1x23FQSNnUMx5m8enZ1uf5i6iECwpHQZggs Diff:
OldNewDifferences
433433 if (!(validateHash(sha256Hash)))
434434 then throw("Hash should be 64 characters maximum")
435435 else {
436- let $t01715017219 = setLIcence(cidLicence, sha256Licence)
437- let licenceCID = $t01715017219._1
438- let licenceHash = $t01715017219._2
436+ let $t01716617235 = setLIcence(cidLicence, sha256Licence)
437+ let licenceCID = $t01716617235._1
438+ let licenceHash = $t01716617235._2
439439 let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags, maxmint)
440440 if ((validateArtwork != ""))
441441 then throw("Something went wrong!")
442442 else {
443- let $t01744717494 = validatePayment(invoke)
444- let amount = $t01744717494._1
445- let assetId = $t01744717494._2
443+ let $t01746317510 = validatePayment(invoke)
444+ let amount = $t01746317510._1
445+ let assetId = $t01746317510._2
446446 if (!(isDefined(amount)))
447447 then throw("Something went wrong")
448448 else {
473473 else {
474474 let updateId = toBase58String(invoke.transactionId)
475475 let caller = toBase58String(invoke.caller.bytes)
476- let $t02034920418 = setLIcence(cidLicence, sha256Licence)
477- let licenceCID = $t02034920418._1
478- let licenceHash = $t02034920418._2
476+ let $t02036520434 = setLIcence(cidLicence, sha256Licence)
477+ let licenceCID = $t02036520434._1
478+ let licenceHash = $t02036520434._2
479479 let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags, maxmint)
480480 if ((validateArtwork != ""))
481481 then throw("Something went wrong!")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let unitTest = false
55
66 let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
77
88 let signDapp = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
99
1010 let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
1111
1212 let userDapp = if (unitTest)
1313 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1414 else value(addressFromString("3MwDZagoYEiNfQLc31cGpYoaE54MGMwoFrZ"))
1515
1616 let whitelistDapp = value(addressFromString("3N6BaV1dCB4zg43goNNHaCtvR13BcyJ5Gsq"))
1717
1818 let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
1919
2020 let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
2121
2222 let wavesAssetId = base58''
2323
2424 let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
2525
2626 let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
2727
2828 let signCut = 7
2929
3030 let usdnWaveCut = 10
3131
3232 let defaultLicence = "bafybeifuyo4pqu54ismqgtb6e4h6kkvgx7zg4u3zibh2r7y6mb64i7bzza/licence.pdf"
3333
3434 let defaultHashLicence = "a87758c354e30a9e78fb84fa3a0010a5090ab20df0be11ad45b5720cc187e639"
3535
3636 let dappRunning = valueOrElse(getBoolean(userDapp, "conf_dapp_is_running"), true)
3737
3838 let maintenanceMSG = valueOrElse(getString(userDapp, "conf_maintenance_msg"), "")
3939
4040 let userSuspended = "SUSPENDED"
4141
4242 let userRemoved = "REMOVED"
4343
4444 let userUnregistered = "UNREGISTERED"
4545
4646 let userAllowed = "ALLOWED"
4747
4848 func getStringByKeyFromUsers (key) = valueOrElse(getString(userDapp, key), "")
4949
5050
5151 func getStringByKey (key) = valueOrElse(getString(this, key), "")
5252
5353
5454 func getIntegerByKeyFromOracle (key) = valueOrErrorMessage(getInteger(oracleFee, key), "Integer undefine or 0 in oracle")
5555
5656
5757 func getIntegerByKey (key) = valueOrElse(getInteger(this, key), 0)
5858
5959
6060 func checkWhitelist (key) = valueOrElse(getInteger(whitelistDapp, key), 0)
6161
6262
6363 func getBooleanByKey (key) = valueOrElse(getBoolean(this, key), false)
6464
6565
6666 func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signDapp, ((("data_fc_" + signID) + "_") + Owner)) {
6767 case a: String =>
6868 if (contains(a, sha256Hash))
6969 then true
7070 else false
7171 case _ =>
7272 false
7373 }
7474
7575
7676 func validateCID (cid) = if (contains(cid, "/"))
7777 then if (if ((76 > size(cid)))
7878 then (size(split(cid, "/")[0]) == 59)
7979 else false)
8080 then (16 > size(split(cid, "/")[1]))
8181 else false
8282 else false
8383
8484
8585 func validateHash (hash) = (size(hash) == 64)
8686
8787
8888 func keyUserStatus (caller) = ("user_status_" + caller)
8989
9090
9191 func keyArtDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
9292
9393
9494 func keyArtName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
9595
9696
9797 func keyArtDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
9898
9999
100100 func keyArtDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
101101
102102
103103 func keyArtExportHash (caller,artId) = ((("art_export_hash_" + artId) + "_") + caller)
104104
105105
106106 func keyArtExportCid (caller,artId) = ((("art_export_cid_" + artId) + "_") + caller)
107107
108108
109109 func keyArtMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
110110
111111
112112 func keyArtSignID (caller,artId) = ((("art_signid_" + artId) + "_") + caller)
113113
114114
115115 func keyArtIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
116116
117117
118118 func keyArtOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
119119
120120
121121 func keyArtLicenceHash (caller,artId) = ((("art_licence_hash_" + artId) + "_") + caller)
122122
123123
124124 func keyArtLicenceCid (caller,artId) = ((("art_licence_cid_" + artId) + "_") + caller)
125125
126126
127127 func keyArtTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
128128
129129
130130 func keyArtType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
131131
132132
133133 func keyArtPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
134134
135135
136136 func keyArtAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
137137
138138
139139 func keyArtFlag (caller,artId) = ((("art_flag_" + artId) + "_") + caller)
140140
141141
142142 func keyArtHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
143143
144144
145145 func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
146146
147147
148148 func keyArtArtidBySignid (caller,signId) = ((("get_artidbysignid_" + signId) + "_") + caller)
149149
150150
151151 func keyArtTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
152152
153153
154154 func validateAllCID (cidDisplay,cidExport,cidLicence) = if (!(validateCID(cidDisplay)))
155155 then throw("Wrong Display CID")
156156 else if (!(validateCID(cidExport)))
157157 then throw("Wrong Export CID")
158158 else if (if ((cidLicence != ""))
159159 then !(validateCID(cidLicence))
160160 else false)
161161 then throw("Wrong Licence CID")
162162 else true
163163
164164
165165 func validateAllHash (sha256Export,sha256Licence) = if (!(validateHash(sha256Export)))
166166 then throw("Export Hash 64 char. max")
167167 else if (!(validateHash(sha256Licence)))
168168 then throw("Licence Hash 64 char. max")
169169 else true
170170
171171
172172 func validateString (str,max) = if ((size(str) == 0))
173173 then throw("Field cannot be is empty")
174174 else if ((size(str) > max))
175175 then throw((str + " is too long"))
176176 else true
177177
178178
179179 func validateUser (caller) = {
180180 let userStatus = valueOrElse(getString(userDapp, keyUserStatus(caller)), userUnregistered)
181181 if (if ((userStatus == userUnregistered))
182182 then true
183183 else (userStatus == userAllowed))
184184 then "Register this account first with \"Account\" tab"
185185 else if ((userStatus == userSuspended))
186186 then "Account suspended"
187187 else if ((userStatus == userRemoved))
188188 then "Account removed"
189189 else ""
190190 }
191191
192192
193193 func setLIcence (cidLicence,sha256Licence) = {
194194 let cid = if ((size(cidLicence) == 0))
195195 then defaultLicence
196196 else cidLicence
197197 let hash = if ((size(sha256Licence) == 0))
198198 then defaultHashLicence
199199 else sha256Licence
200200 $Tuple2(cid, hash)
201201 }
202202
203203
204204 func validateArtworkData (caller,cidDisplay,cidExport,licenceCID,sha256Export,licenceHash,name,description,tags,maxmint) = {
205205 let checkUser = validateUser(caller)
206206 if ((checkUser != ""))
207207 then throw(checkUser)
208208 else if ((size(cidDisplay) == 0))
209209 then throw("Display CID cannot be empty")
210210 else if (!(validateAllCID(cidDisplay, cidExport, licenceCID)))
211211 then throw("Problem with CID")
212212 else if (!(validateAllHash(sha256Export, licenceHash)))
213213 then throw("Problem with Hashes")
214214 else if (!(validateString(name, 100)))
215215 then throw("100 Char. max name")
216216 else if (!(validateString(description, 1000)))
217217 then throw("1000 Char. max description")
218218 else if ((size(split(tags, ",")) > 5))
219219 then throw("5 tags max.")
220220 else if ((maxmint > 10))
221221 then throw("10 editions max per artwork")
222222 else ""
223223 }
224224
225225
226226 func validatePayment (invoke) = if ((size(invoke.payments) == 0))
227227 then throw("No payment attached")
228228 else {
229229 let payment = value(invoke.payments[0])
230230 let amount = value(payment.amount)
231231 let assetId = if (if (isDefined(payment.assetId))
232232 then (payment.assetId == signAssetId)
233233 else false)
234234 then payment.assetId
235235 else throw("Only SIGN token accepted as transaction fee")
236236 let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId)))
237237 if ((amount != currentCertificationPrice))
238238 then throw(("Payment amount should be " + toString(currentCertificationPrice)))
239239 else $Tuple2(amount, assetId)
240240 }
241241
242242
243243 func isArtMinted (addressToUse,artId) = match getInteger(this, keyArtIssued(addressToUse, artId)) {
244244 case b: Int =>
245245 if ((b != 0))
246246 then true
247247 else false
248248 case _ =>
249249 false
250250 }
251251
252252
253253 func validatePriceAssetId (invoke,priceAssetId,artworkPrice) = {
254254 let payment = value(invoke.payments[0])
255255 let amount = value(payment.amount)
256256 let assetId = if (!(isDefined(payment.assetId)))
257257 then unit
258258 else if (if ((size(priceAssetId) > 0))
259259 then (toBase58String(value(payment.assetId)) == priceAssetId)
260260 else false)
261261 then payment.assetId
262262 else throw("Wrong asset id")
263263 if (if ((assetId == unit))
264264 then (priceAssetId != "")
265265 else false)
266266 then throw("Wrong asset id")
267267 else if ((artworkPrice != amount))
268268 then throw("Payment don't match")
269269 else $Tuple2(amount, assetId)
270270 }
271271
272272
273273 func acceptedAssetIds (assetId) = if (if (if ((assetId != toBase58String(signAssetId)))
274274 then (assetId != toBase58String(wavesAssetId))
275275 else false)
276276 then (assetId != toBase58String(usdnAssetId))
277277 else false)
278278 then throw("Only SIGN, USDN or WAVES accepted")
279279 else true
280280
281281
282282 func validateMinSell (assetId,price) = {
283283 let minSellWaves = if (unitTest)
284284 then 1
285285 else getIntegerByKeyFromOracle("waves_min_sell")
286286 let minSellUsdn = 1000000
287287 let minSellSign = if (unitTest)
288288 then 1
289289 else (getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId))) * 2)
290290 if (if (if (if (if ((assetId == toBase58String(usdnAssetId)))
291291 then (minSellUsdn > price)
292292 else false)
293293 then (price != 0)
294294 else false)
295295 then true
296296 else if (if ((assetId == toBase58String(signAssetId)))
297297 then (minSellSign > price)
298298 else false)
299299 then (price != 0)
300300 else false)
301301 then true
302302 else if (if ((assetId == toBase58String(wavesAssetId)))
303303 then (minSellWaves > price)
304304 else false)
305305 then (price != 0)
306306 else false)
307307 then throw("Wrong minimum sell price")
308308 else true
309309 }
310310
311311
312312 func getPriceAssetIdFromBid (artId,issuer,bidId,bidOwner) = {
313313 let bidData = getStringByKey((((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId) + "_OPEN"))
314314 if (!(isDefined(bidData)))
315315 then throw("Bid not found")
316316 else {
317317 let bidDataArr = split(bidData, "_")
318318 let bidAmount = parseIntValue(bidDataArr[1])
319319 let bidAssetId = if ((bidDataArr[0] == "WAVES"))
320320 then unit
321321 else fromBase58String(bidDataArr[0])
322322 if ((0 >= bidAmount))
323323 then throw("Wrong amount")
324324 else $Tuple2(bidAmount, bidAssetId)
325325 }
326326 }
327327
328328
329329 func buyMint (invoke,artId,issuer,bidId,bidOwner) = {
330330 let id = toBase58String(invoke.transactionId)
331331 let caller = toBase58String(invoke.caller.bytes)
332332 let totalNFT = getIntegerByKey("total_nft_issued")
333333 let signID = getStringByKey(keyArtSignID(issuer, artId))
334334 let artworkName = getStringByKey(keyArtName(issuer, artId))
335335 if ((artworkName == ""))
336336 then throw("Art doesn't exist")
337337 else {
338338 let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId))
339339 let exportCID = getStringByKey(keyArtExportCid(issuer, artId))
340340 let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
341341 let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
342342 let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
343343 let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
344344 let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
345345 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
346346 let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
347347 let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId))
348348 let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId))
349349 let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
350350 if (if (if ((0 >= artworkPrice))
351351 then true
352352 else !(isOnSale))
353353 then true
354354 else (0 >= maxCanSell))
355355 then throw("Art not for sale")
356356 else {
357357 let $t01293513133 = if (if (if ((caller == issuer))
358358 then (bidOwner != "")
359359 else false)
360360 then (bidId != "")
361361 else false)
362362 then getPriceAssetIdFromBid(artId, issuer, bidId, bidOwner)
363363 else validatePriceAssetId(invoke, priceAssetId, artworkPrice)
364364 let amount = $t01293513133._1
365365 let assetId = $t01293513133._2
366366 let isWhitelisted = checkWhitelist(issuer)
367367 let cut = if ((isWhitelisted > height))
368368 then 0
369369 else if ((priceAssetId == toBase58String(signAssetId)))
370370 then signCut
371371 else usdnWaveCut
372372 let amountForSign = fraction(amount, cut, 100)
373373 let amountForCreator = (amount - amountForSign)
374374 if ((amountSold == maxCanSell))
375375 then throw("Art sold out")
376376 else {
377377 let newAmountSold = (amountSold + 1)
378378 let entryDate = lastBlock.timestamp
379379 let issueMeta = ((((((((((((((((((((((((((("Creator: " + issuer) + ",
380380 ArtID: ") + artId) + ",
381381 SignID: ") + signID) + ",
382382 Artwork name: ") + artworkName) + ",
383383 Artwork description: ") + description) + ",
384384 Issue: ") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + ",
385385 Max issuable: ") + toString(maxCanSell)) + ",
386386 Source hash: ") + sourceHash) + ",
387387 Display cid: ") + displayCID) + ",
388388 Export cid: ") + exportCID) + ",
389389 Export hash: ") + exportHash) + ",
390390 Licence cid: ") + licenceCID) + ",
391391 Licence hash: ") + licenceHash)
392392 let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
393393 let idNFT = calculateAssetId(issueNFT)
394394 let sellStatus = if ((newAmountSold == maxCanSell))
395395 then false
396396 else true
397397 let receiveNFT = if (if (if ((caller == issuer))
398398 then (bidOwner != "")
399399 else false)
400400 then (bidId != "")
401401 else false)
402402 then addressFromStringValue(bidOwner)
403403 else invoke.caller
404404 let buyRes = [IntegerEntry(keyArtIssued(issuer, artId), newAmountSold), StringEntry(("nft_" + toBase58String(idNFT)), ((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer)), 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(receiveNFT, 1, idNFT)]
405405 let soldData = StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((((((caller + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + toBase58String(idNFT)))
406406 let assetIdBid = if (!(isDefined(assetId)))
407407 then "WAVES"
408408 else toBase58String(value(assetId))
409409 let getBidData = getStringByKey((((((((("bid_" + artId) + "_") + issuer) + "_") + bidOwner) + "_") + bidId) + "_OPEN"))
410410 let bidDelOld = DeleteEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"))
411411 let bidUpdate = StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_CLOSED"), getBidData)
412412 let bidSoldData = StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((((((toString(receiveNFT) + "_") + toString(entryDate)) + "_") + id) + "_") + toString(amount)) + "_") + assetIdBid) + "_") + toBase58String(idNFT)))
413413 if (if (if ((caller == issuer))
414414 then (bidOwner != "")
415415 else false)
416416 then (bidId != "")
417417 else false)
418418 then [bidSoldData, bidUpdate, bidDelOld] :: buyRes
419419 else soldData :: buyRes
420420 }
421421 }
422422 }
423423 }
424424
425425
426426 @Callable(invoke)
427427 func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
428428 then throw(maintenanceMSG)
429429 else {
430430 let artId = toBase58String(invoke.transactionId)
431431 let timestamp = lastBlock.timestamp
432432 let caller = toBase58String(invoke.caller.bytes)
433433 if (!(validateHash(sha256Hash)))
434434 then throw("Hash should be 64 characters maximum")
435435 else {
436- let $t01715017219 = setLIcence(cidLicence, sha256Licence)
437- let licenceCID = $t01715017219._1
438- let licenceHash = $t01715017219._2
436+ let $t01716617235 = setLIcence(cidLicence, sha256Licence)
437+ let licenceCID = $t01716617235._1
438+ let licenceHash = $t01716617235._2
439439 let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags, maxmint)
440440 if ((validateArtwork != ""))
441441 then throw("Something went wrong!")
442442 else {
443- let $t01744717494 = validatePayment(invoke)
444- let amount = $t01744717494._1
445- let assetId = $t01744717494._2
443+ let $t01746317510 = validatePayment(invoke)
444+ let amount = $t01746317510._1
445+ let assetId = $t01746317510._2
446446 if (!(isDefined(amount)))
447447 then throw("Something went wrong")
448448 else {
449449 let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, caller))
450450 if ((entryExist != ""))
451451 then throw("You already added it")
452452 else {
453453 let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
454454 if ((hashExist != ""))
455455 then throw("Hash already registered")
456456 else {
457457 let isSignCertified = checkSignCertificate(signID, caller, sha256Hash)
458458 if (!(isSignCertified))
459459 then throw("Sign Certificate not found for this address.")
460460 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), licenceHash), StringEntry(keyArtLicenceCid(caller, artId), licenceCID), 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)]
461461 }
462462 }
463463 }
464464 }
465465 }
466466 }
467467
468468
469469
470470 @Callable(invoke)
471471 func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
472472 then throw(maintenanceMSG)
473473 else {
474474 let updateId = toBase58String(invoke.transactionId)
475475 let caller = toBase58String(invoke.caller.bytes)
476- let $t02034920418 = setLIcence(cidLicence, sha256Licence)
477- let licenceCID = $t02034920418._1
478- let licenceHash = $t02034920418._2
476+ let $t02036520434 = setLIcence(cidLicence, sha256Licence)
477+ let licenceCID = $t02036520434._1
478+ let licenceHash = $t02036520434._2
479479 let validateArtwork = validateArtworkData(caller, cidDisplay, cidExport, licenceCID, sha256Export, licenceHash, name, description, tags, maxmint)
480480 if ((validateArtwork != ""))
481481 then throw("Something went wrong!")
482482 else {
483483 let entryExist = getStringByKey(keyArtName(caller, txid))
484484 if ((entryExist == ""))
485485 then throw("Entry not found")
486486 else {
487487 let flag = getStringByKey(keyArtFlag(caller, txid))
488488 if ((flag == "ILLEGAL"))
489489 then throw("Cannot update ILLEGAL artwork")
490490 else if (!(isArtMinted(caller, txid)))
491491 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), licenceCID), StringEntry(keyArtLicenceHash(caller, txid), licenceHash), IntegerEntry(keyArtMaxMint(caller, txid), maxmint), StringEntry(keyArtTags(caller, txid), tags), StringEntry(keyArtType(caller, txid), type)]
492492 else throw("Already minted")
493493 }
494494 }
495495 }
496496
497497
498498
499499 @Callable(invoke)
500500 func flagArtwork (artId,addr,flag) = {
501501 let caller = toString(addressFromPublicKey(invoke.callerPublicKey))
502502 let id = toBase58String(invoke.transactionId)
503503 if (containsElement([chris, joep, toString(this)], caller))
504504 then if ((flag == "CONSENT"))
505505 then [StringEntry(keyArtFlag(addr, artId), flag)]
506506 else if ((flag == ""))
507507 then [StringEntry(keyArtFlag(addr, artId), flag)]
508508 else if ((flag == "ILLEGAL"))
509509 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), "")]
510510 else throw(("Unknow status " + flag))
511511 else throw("You are not allowed")
512512 }
513513
514514
515515
516516 @Callable(invoke)
517517 func deleteArtwork (artId,addr) = {
518518 let caller = toString(addressFromPublicKey(invoke.callerPublicKey))
519519 let id = toBase58String(invoke.transactionId)
520520 let addressToUse = if (containsElement([chris, joep, toString(this)], caller))
521521 then addr
522522 else caller
523523 let entryExist = getStringByKey(keyArtName(addressToUse, artId))
524524 if ((entryExist == ""))
525525 then throw("No art matching for this address")
526526 else {
527527 let sha256Hash = getStringByKey(keyArtHashByTxidAddr(addressToUse, artId))
528528 if ((sha256Hash == ""))
529529 then throw("No art hash matching for this address")
530530 else {
531531 let signID = getStringByKey(keyArtSignID(addressToUse, artId))
532532 if ((signID == ""))
533533 then throw("No SIGN ID matching")
534534 else {
535535 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(keyArtPrice(addr, artId)), DeleteEntry(keyArtAssetIdAccepted(addr, artId)), DeleteEntry(keyArtOwnerByHash(sha256Hash)), DeleteEntry(keyArtArtidBySignid(addressToUse, signID)), DeleteEntry(keyArtTxidByHashOwner(sha256Hash, addressToUse))]
536536 if (!(isArtMinted(addressToUse, artId)))
537537 then if (!(dappRunning))
538538 then throw(maintenanceMSG)
539539 else dataToDelete
540540 else if (containsElement([chris, toString(this)], caller))
541541 then dataToDelete
542542 else throw("Art already minted, you cannot delete it")
543543 }
544544 }
545545 }
546546 }
547547
548548
549549
550550 @Callable(invoke)
551551 func sellArtwork (artId,price,maxMint,assetId) = if (!(dappRunning))
552552 then throw(maintenanceMSG)
553553 else {
554554 let id = toBase58String(invoke.transactionId)
555555 let caller = toBase58String(invoke.caller.bytes)
556556 let sellDate = lastBlock.timestamp
557557 let artworkName = getStringByKey(keyArtName(caller, artId))
558558 if ((artworkName == ""))
559559 then throw("This art doesn't match match your account")
560560 else {
561561 let exportCID = getStringByKey(keyArtExportCid(caller, artId))
562562 if ((size(split(exportCID, "/")[0]) != 59))
563563 then throw("You cannot sell art with no export file")
564564 else {
565565 let exportHash = getStringByKey(keyArtExportHash(caller, artId))
566566 if ((size(exportHash) != 64))
567567 then throw("You cannot sell art with no export hash")
568568 else if (!(acceptedAssetIds(assetId)))
569569 then throw("Something went wrong!")
570570 else if (!(validateMinSell(assetId, price)))
571571 then throw("Something went wrong!")
572572 else {
573573 let checkUser = validateUser(caller)
574574 if ((checkUser != ""))
575575 then throw(checkUser)
576576 else {
577577 let amountSold = getIntegerByKey(keyArtIssued(caller, artId))
578578 let maxCanSell = getIntegerByKey(keyArtMaxMint(caller, artId))
579579 if ((maxMint > 10))
580580 then throw("10 editions max per artwork")
581581 else if (if ((amountSold != 0))
582582 then (amountSold == maxCanSell)
583583 else false)
584584 then throw("Max edition reached.")
585585 else if (if ((amountSold > 0))
586586 then (maxCanSell != maxMint)
587587 else false)
588588 then throw("Cannot change maximum issuable anymore")
589589 else {
590590 let sellStatus = if (if ((price > 0))
591591 then (maxMint > 0)
592592 else false)
593593 then true
594594 else false
595595 [BooleanEntry(keyArtOnSale(caller, artId), sellStatus), IntegerEntry(keyArtPrice(caller, artId), price), IntegerEntry(keyArtMaxMint(caller, artId), maxMint), StringEntry(keyArtAssetIdAccepted(caller, artId), assetId)]
596596 }
597597 }
598598 }
599599 }
600600 }
601601 }
602602
603603
604604
605605 @Callable(invoke)
606606 func buyArtwork (artId,issuer) = if (!(dappRunning))
607607 then throw(maintenanceMSG)
608608 else buyMint(invoke, artId, issuer, "", "")
609609
610610
611611
612612 @Callable(invoke)
613613 func setBid (artId,issuer) = if (!(dappRunning))
614614 then throw(maintenanceMSG)
615615 else {
616616 let id = toBase58String(invoke.transactionId)
617617 let caller = toBase58String(invoke.caller.bytes)
618618 let timestamp = lastBlock.timestamp
619619 if ((size(invoke.payments) == 0))
620620 then throw("No payment attached")
621621 else {
622622 let payment = value(invoke.payments[0])
623623 let amount = value(payment.amount)
624624 let assetId = if (!(isDefined(payment.assetId)))
625625 then "WAVES"
626626 else toBase58String(value(payment.assetId))
627627 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
628628 let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
629629 if ((amountSold >= maxCanSell))
630630 then throw("Sold out, you cannot bid")
631631 else [StringEntry((((((((("bid_" + artId) + "_") + issuer) + "_") + caller) + "_") + id) + "_OPEN"), ((((assetId + "_") + toString(amount)) + "_") + toString(timestamp)))]
632632 }
633633 }
634634
635635
636636
637637 @Callable(invoke)
638638 func acceptBid (artId,issuer,bidId,bidOwner) = if (!(dappRunning))
639639 then throw(maintenanceMSG)
640640 else {
641641 let caller = toBase58String(invoke.caller.bytes)
642642 if ((caller != issuer))
643643 then throw("You cannot do this action")
644644 else buyMint(invoke, artId, issuer, bidId, bidOwner)
645645 }
646646
647647
648648
649649 @Callable(i)
650650 func deleteEntry (entry) = {
651651 let caller = toString(addressFromPublicKey(i.callerPublicKey))
652652 if ((caller == chris))
653653 then [DeleteEntry(entry)]
654654 else throw("no")
655655 }
656656
657657

github/deemru/w8io/026f985 
72.96 ms