tx · 8aqnMtMq3mMoGKvXFPvtghf41gL2ZvmvPYthkxAQRNeE

3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG:  -0.01400000 Waves

2020.10.10 11:28 [1214237] smart account 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG > SELF 0.00000000 Waves

{ "type": 13, "id": "8aqnMtMq3mMoGKvXFPvtghf41gL2ZvmvPYthkxAQRNeE", "fee": 1400000, "feeAssetId": null, "timestamp": 1602318559395, "version": 2, "chainId": 84, "sender": "3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG", "senderPublicKey": "9SULUbW7L2jV2nv8v48Kdzox4cZ8jEfg778yJHJpgVwM", "proofs": [ "T8VXwo7aQEUYQoTuE9hcp4Pz4LyaisKuqE9ufdCSwK1Tof36zhRDvrqUuu76cwFWCUnqGT2yHgYxj7sPTMatXyR" ], "script": "base64:AAIEAAAAAAAAAFoIAhIGCgQICAgIEgMKAQgSBgoECAgICBIECgIICBIDCgEIEg4KDAgICAgICAEICAgICBINCgsICAgICAEICAgICBIECgIICBIGCgQIAQEIEgQKAggIEgMKAQgAAAA2AAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAADHNpZ25WZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAAC3VzZG5Bc3NldElkAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAMd2F2ZXNBc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eQAAAAEJAQAAAA1rZXlVc2VyU29jaWFsAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAMa2V5VXNlclRodW1iAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAANa2V5VXNlclN0YXR1cwAAAAEFAAAAB2FkZHJlc3MFAAAAC3VzZXJSZW1vdmVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADmxhc3RfaW52b2tlX2lkBQAAAAJpZAUAAAADbmlsCQAAAgAAAAECAAAAHllvdSBhcmUgbm90IGFsbG93ZWQgdG8gZG8gdGhhdAAAAAAKJ14E", "height": 1214237, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A5ewwrzvGtgchFzDoDUdqoSPybwsBJbTiWMzqhdLcnHU Next: 4P6M3R6iXLaeJhfUwdmGC9Z3AzSSzyH7ywrhEkKxYNEm Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let storageVerifier = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
55
66 let signVerifier = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB"))
77
88 let feeReceiver = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub"
99
1010 let signAssetId = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a'
1111
1212 let usdnAssetId = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
1313
1414 let wavesAssetId = base58''
1515
1616 let usdnID = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC"
1717
1818 let admin = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
1919
2020 let admin2 = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
2121
2222 let WHITELISTEDONLY = true
2323
2424 let userAllowed = "ALLOWED"
2525
2626 let userRegistered = "REGISTERED"
2727
2828 let userVerified = "VERIFIED"
2929
3030 let userSuspended = "SUSPENDED"
3131
3232 let userRemoved = "REMOVED"
3333
3434 let userUnregistered = "UNREGISTERED"
3535
3636 let onSale = "ON_SALE"
3737
3838 let sold = "SOLD"
3939
4040 let canceled = "CANCELED"
4141
4242 func getStringByKey (key) = match getString(this, key) {
4343 case a: String =>
4444 a
4545 case _ =>
4646 ""
4747 }
4848
4949
5050 func getIntegerByKey (key) = match getInteger(this, key) {
5151 case i: Int =>
5252 i
5353 case _ =>
5454 0
5555 }
5656
5757
5858 func getBooleanByKey (key) = match getBoolean(this, key) {
5959 case i: Boolean =>
6060 i
6161 case _ =>
6262 false
6363 }
6464
6565
6666 func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signVerifier, ((("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 validateNFTs (accumulator,id) = {
7777 let assetDetails = value(assetInfo(fromBase58String(id)))
7878 if (if (if ((assetDetails.quantity != 1))
7979 then true
8080 else (assetDetails.decimals != 0))
8181 then true
8282 else (assetDetails.reissuable != false))
8383 then (accumulator + 0)
8484 else (accumulator + 1)
8585 }
8686
8787
8888 func validateCID (cid) = if (if ((75 > size(cid)))
8989 then (60 > size(split(cid, "/")[0]))
9090 else false)
9191 then (16 > size(split(cid, "/")[1]))
9292 else false
9393
9494
9595 func validateHash (hash) = (65 > size(hash))
9696
9797
9898 func verifyStatus (addr) = match getString(this, ("user_status_" + addr)) {
9999 case b: String =>
100100 b
101101 case _ =>
102102 throw("Something went wrong.")
103103 }
104104
105105
106106 func keyUserAddr (callerAddr) = ("user_" + callerAddr)
107107
108108
109109 func keyUserName (callerAddr) = ("user_name_" + callerAddr)
110110
111111
112112 func keyUserDesc (callerAddr) = ("user_desc_" + callerAddr)
113113
114114
115115 func keyUserSocial (callerAddr) = ("user_social_" + callerAddr)
116116
117117
118118 func keyUserThumb (callerAddr) = ("user_thumb_" + callerAddr)
119119
120120
121121 func keyUserStatus (callerAddr) = ("user_status_" + callerAddr)
122122
123123
124124 func keyUserDate (callerAddr) = ("user_date_" + callerAddr)
125125
126126
127127 func keyArtDate (callerAddr,artId) = ((("art_date_" + artId) + "_") + callerAddr)
128128
129129
130130 func keyArtName (callerAddr,artId) = ((("art_name_" + artId) + "_") + callerAddr)
131131
132132
133133 func keyArtDesc (callerAddr,artId) = ((("art_desc_" + artId) + "_") + callerAddr)
134134
135135
136136 func keyArtDisplayCid (callerAddr,artId) = ((("art_display_cid_" + artId) + "_") + callerAddr)
137137
138138
139139 func keyArtExportHash (callerAddr,artId) = ((("art_export_hash_" + artId) + "_") + callerAddr)
140140
141141
142142 func keyArtExportCid (callerAddr,artId) = ((("art_export_cid_" + artId) + "_") + callerAddr)
143143
144144
145145 func keyArtMaxMint (callerAddr,artId) = ((("art_maxmint_" + artId) + "_") + callerAddr)
146146
147147
148148 func keyArtSignID (callerAddr,artId) = ((("art_signid_" + artId) + "_") + callerAddr)
149149
150150
151151 func keyArtIssued (callerAddr,artId) = ((("art_issued_" + artId) + "_") + callerAddr)
152152
153153
154154 func keyArtOnSale (callerAddr,artId) = ((("art_onsale_" + artId) + "_") + callerAddr)
155155
156156
157157 func keyArtLicenceHash (callerAddr,artId) = ((("art_licence_hash_" + artId) + "_") + callerAddr)
158158
159159
160160 func keyArtLicenceCid (callerAddr,artId) = ((("art_licence_cid_" + artId) + "_") + callerAddr)
161161
162162
163163 func keyArtTags (callerAddr,artId) = ((("art_tags_" + artId) + "_") + callerAddr)
164164
165165
166166 func keyArtType (callerAddr,artId) = ((("art_type_" + artId) + "_") + callerAddr)
167167
168168
169169 func keyArtPrice (callerAddr,artId) = ((("art_price_" + artId) + "_") + callerAddr)
170170
171171
172172 func keyArtAssetIdAccepted (callerAddr,artId) = ((("art_assetAccepted_" + artId) + "_") + callerAddr)
173173
174174
175175 func keyArtHashByTxidAddr (callerAddr,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + callerAddr)
176176
177177
178178 func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
179179
180180
181181 func keyArtArtidBySignid (callerAddr,signId) = ((("get_artidbysignid_" + signId) + "_") + callerAddr)
182182
183183
184184 func keyArtTxidByHashOwner (sha256Hash,callerAddr) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + callerAddr)))))
185185
186186
187187 @Callable(i)
188188 func registerUser (name,description,thumb,social) = {
189189 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
190190 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
191191 let id = toBase58String(i.transactionId)
192192 let timestamp = lastBlock.timestamp
193193 if (if ((userCanRegister == userSuspended))
194194 then true
195195 else (userCanRegister == userRemoved))
196196 then throw("You are now allowed to register, your account have been suspended/ removed.")
197197 else if ((userCanRegister == userRegistered))
198198 then throw("You are already registered, please use update method instead.")
199199 else if (if ((userCanRegister == ""))
200200 then WHITELISTEDONLY
201201 else false)
202202 then throw("You are now allowed to register yet, please contact us first to get approved.")
203203 else if (if ((name == ""))
204204 then true
205205 else (description == ""))
206206 then throw("Name and description cannot be empty")
207207 else if ((size(description) > 600))
208208 then throw("600 Characters maximum for the description")
209209 else [IntegerEntry(keyUserDate(callerAddr), timestamp), StringEntry(keyUserAddr(callerAddr), ((id + "_") + toString(lastBlock.timestamp))), StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry(keyUserStatus(callerAddr), userRegistered), StringEntry("last_invoke_id", id)]
210210 }
211211
212212
213213
214214 @Callable(i)
215215 func deleteEntry (entry) = {
216216 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
217217 if ((callerAddr == admin))
218218 then [DeleteEntry(entry)]
219219 else throw("no")
220220 }
221221
222222
223223
224224 @Callable(i)
225225 func updateUser (name,description,thumb,social) = {
226226 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
227227 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
228228 if (if ((userCanRegister == userSuspended))
229229 then true
230230 else (userCanRegister == userRemoved))
231231 then throw("You are now allowed to register, your account have been suspended/ removed.")
232232 else if (if ((userCanRegister == ""))
233233 then true
234234 else (userCanRegister == userAllowed))
235235 then throw("Please register first with registerUser")
236236 else {
237237 let id = toBase58String(i.transactionId)
238238 let timestamp = lastBlock.timestamp
239239 if (if ((name == ""))
240240 then true
241241 else (description == ""))
242242 then throw("Name and description cannot be empty")
243243 else if ((size(description) > 600))
244244 then throw("600 Characters maximum for the description")
245245 else [StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry("last_invoke_id", id)]
246246 }
247247 }
248248
249249
250250
251251 @Callable(i)
252252 func changeUserStatus (address,status) = {
253253 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
254254 let id = toBase58String(i.transactionId)
255255 let statusToSet = if ((status == userVerified))
256256 then userVerified
257257 else if ((status == userRegistered))
258258 then userRegistered
259259 else if ((status == userSuspended))
260260 then userSuspended
261261 else if ((status == userRemoved))
262262 then userRemoved
263263 else if ((status == userAllowed))
264264 then userAllowed
265265 else throw("Unknown status")
266266 if (if ((callerAddr == admin))
267267 then true
268268 else (callerAddr == admin2))
269269 then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
270270 else throw(((("You are not allowed to change user status " + callerAddr) + " / ") + admin))
271271 }
272272
273273
274274
275275 @Callable(i)
276276 func creditUser (address) = {
277277 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
278278 let id = toBase58String(i.transactionId)
279279 if (if ((callerAddr == admin))
280280 then true
281281 else (callerAddr == admin2))
282282 then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)]
283283 else throw("You are not allowed to do that")
284284 }
285285
286286
287287
288288 @Callable(invoke)
289289 func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
290290 let artId = toBase58String(invoke.transactionId)
291291 let callerAddress = toBase58String(invoke.caller.bytes)
292292 if (!(validateCID(cidDisplay)))
293293 then throw("Wrong Display CID length")
294294 else if (!(validateCID(cidExport)))
295295 then throw("Wrong Export CID length")
296296 else if (!(validateCID(cidLicence)))
297297 then throw("Wrong Licence CID length")
298298 else if (!(validateHash(sha256Hash)))
299299 then throw("Source Hash should be 64 characters maximum")
300300 else if (!(validateHash(sha256Export)))
301301 then throw("Export Hash should be 64 characters maximum")
302302 else if (!(validateHash(sha256Licence)))
303303 then throw("Licence Hash should be 64 characters maximum")
304304 else if ((size(invoke.payments) == 0))
305305 then throw("No payment attached")
306306 else {
307307 let payment = value(invoke.payments[0])
308308 let amount = value(payment.amount)
309309 let assetId = if (if (isDefined(payment.assetId))
310310 then (payment.assetId == signAssetId)
311311 else false)
312312 then payment.assetId
313313 else throw("Only SIGN token accepted at the moment")
314314 let currentCertificationPrice = match getInteger(storageVerifier, ("certification_fee_" + toBase58String(signAssetId))) {
315315 case price: Int =>
316316 price
317317 case _ =>
318318 throw("Price undefined in oracle")
319319 }
320320 if ((amount != currentCertificationPrice))
321321 then throw(("Payment amount should be " + toString(currentCertificationPrice)))
322322 else {
323323 let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, callerAddress))
324324 if ((entryExist != ""))
325325 then throw("You already added this artwork on Sign Art")
326326 else {
327327 let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
328328 if ((hashExist != ""))
329329 then throw("This artwork hash is already registered on Sign Art")
330330 else {
331331 let isSignCertified = checkSignCertificate(signID, callerAddress, sha256Hash)
332332 if (!(isSignCertified))
333333 then throw("Sign Certificate not found on Sign-web.app smart contract for this address.")
334334 else if ((size(cidDisplay) == 0))
335335 then throw("Display CID cannot be empty")
336336 else if ((size(name) == 0))
337337 then throw("Title cannot be empty")
338338 else if ((size(name) > 100))
339339 then throw("100 Characters maximum for the name")
340340 else if ((size(description) > 1000))
341341 then throw("1000 Characters maximum for the description")
342342 else if ((size(description) == 0))
343343 then throw("Description cannot be empty")
344344 else {
345345 let tagsList = split(tags, ",")
346346 if ((size(tagsList) > 5))
347347 then throw("Tags should be maximum 5 single word separated by space.")
348348 else {
349349 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
350350 case s: String =>
351351 s
352352 case _ =>
353353 userUnregistered
354354 }
355355 let timestamp = lastBlock.timestamp
356356 if (if (isDefined(userIsRegistered))
357357 then (userIsRegistered == userUnregistered)
358358 else false)
359359 then throw("Please register this account first with \"User infos\" tab")
360360 else if ((userIsRegistered == userSuspended))
361361 then throw("Your account is suspended")
362362 else if ((userIsRegistered == userRemoved))
363363 then throw("Your account have been removed")
364364 else if ((maxmint > 10))
365365 then throw("Maximum 10 editions per artwork")
366366 else if ((size(sha256Hash) != 64))
367367 then throw("Hash should be sha256 string composed of 64 char.")
368368 else [StringEntry(keyArtOwnerByHash(sha256Hash), callerAddress), StringEntry(keyArtTxidByHashOwner(sha256Hash, callerAddress), artId), IntegerEntry(keyArtDate(callerAddress, artId), timestamp), StringEntry(keyArtName(callerAddress, artId), name), StringEntry(keyArtDesc(callerAddress, artId), description), StringEntry(keyArtDisplayCid(callerAddress, artId), cidDisplay), StringEntry(keyArtExportCid(callerAddress, artId), cidExport), StringEntry(keyArtExportHash(callerAddress, artId), sha256Export), StringEntry(keyArtLicenceHash(callerAddress, artId), sha256Licence), StringEntry(keyArtLicenceCid(callerAddress, artId), cidLicence), StringEntry(keyArtType(callerAddress, artId), type), StringEntry(keyArtTags(callerAddress, artId), tags), IntegerEntry(keyArtMaxMint(callerAddress, artId), maxmint), StringEntry(keyArtSignID(callerAddress, artId), signID), IntegerEntry(keyArtIssued(callerAddress, artId), 0), BooleanEntry(keyArtOnSale(callerAddress, artId), false), StringEntry(keyArtArtidBySignid(callerAddress, signID), artId), StringEntry("last_invoke_id", artId), StringEntry(keyArtHashByTxidAddr(callerAddress, artId), sha256Hash), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)]
369369 }
370370 }
371371 }
372372 }
373373 }
374374 }
375375 }
376376
377377
378378
379379 @Callable(invoke)
380380 func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
381381 let updateId = toBase58String(invoke.transactionId)
382382 let callerAddress = toBase58String(invoke.caller.bytes)
383383 if (!(validateCID(cidDisplay)))
384384 then throw("Wrong Display CID length")
385385 else if (!(validateCID(cidExport)))
386386 then throw("Wrong Export CID length")
387387 else if (!(validateCID(cidLicence)))
388388 then throw("Wrong Licence CID length")
389389 else if (!(validateHash(sha256Export)))
390390 then throw("Export Hash should be 64 characters maximum")
391391 else if (!(validateHash(sha256Licence)))
392392 then throw("Licence Hash should be 64 characters maximum")
393393 else {
394394 let entryExist = getStringByKey(keyArtName(callerAddress, txid))
395395 if ((entryExist == ""))
396396 then throw("This entry doesn't exist or you are not the owner")
397397 else if ((size(name) == 0))
398398 then throw("Title cannot be empty")
399399 else if ((size(name) > 100))
400400 then throw("100 Characters maximum for the name")
401401 else if ((size(description) > 1000))
402402 then throw("1000 Characters maximum for the description")
403403 else if ((size(description) == 0))
404404 then throw("Description cannot be empty")
405405 else {
406406 let artworkMinted = match getInteger(this, keyArtIssued(callerAddress, txid)) {
407407 case b: Int =>
408408 if ((b == 0))
409409 then false
410410 else true
411411 case _ =>
412412 false
413413 }
414414 let tagsList = split(tags, ",")
415415 if ((size(tagsList) > 5))
416416 then throw("Tags should be maximum 5 single word separated by space.")
417417 else {
418418 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
419419 case s: String =>
420420 s
421421 case _ =>
422422 userUnregistered
423423 }
424424 if (if (isDefined(userIsRegistered))
425425 then (userIsRegistered == userUnregistered)
426426 else false)
427427 then throw("Please register this account first with \"User infos\" tab")
428428 else if ((userIsRegistered == userSuspended))
429429 then throw("Your account is suspended")
430430 else if ((userIsRegistered == userRemoved))
431431 then throw("Your account have been removed")
432432 else if ((maxmint > 10))
433433 then throw("Maximum 10 editions per artwork")
434434 else if (!(artworkMinted))
435435 then [StringEntry(keyArtName(callerAddress, txid), name), StringEntry(keyArtDesc(callerAddress, txid), description), StringEntry(keyArtDisplayCid(callerAddress, txid), cidDisplay), StringEntry(keyArtExportCid(callerAddress, txid), cidExport), StringEntry(keyArtExportHash(callerAddress, txid), sha256Export), StringEntry(keyArtLicenceCid(callerAddress, txid), cidLicence), StringEntry(keyArtLicenceHash(callerAddress, txid), sha256Licence), IntegerEntry(keyArtMaxMint(callerAddress, txid), maxmint), StringEntry(keyArtTags(callerAddress, txid), tags), StringEntry(keyArtType(callerAddress, txid), type), StringEntry("last_invoke_id", updateId)]
436436 else throw("You cannot edit artwork that have already minted NFT(s)")
437437 }
438438 }
439439 }
440440 }
441441
442442
443443
444444 @Callable(i)
445445 func deleteArtwork (artId,address) = {
446446 let callerAddress = toString(addressFromPublicKey(i.callerPublicKey))
447447 let id = toBase58String(i.transactionId)
448448 let addressToUse = if (if ((callerAddress == admin))
449449 then true
450450 else (callerAddress == admin2))
451451 then address
452452 else callerAddress
453453 let entryExist = match getString(this, keyArtName(addressToUse, artId)) {
454454 case s: String =>
455455 s
456456 case _ =>
457457 throw("No artwork matching this request or you are not allowed")
458458 }
459459 let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) {
460460 case b: Int =>
461461 if ((b == 0))
462462 then false
463463 else true
464464 case _ =>
465465 false
466466 }
467467 let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) {
468468 case s: String =>
469469 s
470470 case _ =>
471471 throw("No artwork hash matching this request")
472472 }
473473 let signID = match getString(this, keyArtSignID(addressToUse, artId)) {
474474 case s: String =>
475475 s
476476 case _ =>
477477 throw("No SIGN ID matching this request")
478478 }
479479 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)), StringEntry("last_invoke_id", id), DeleteEntry(keyArtOwnerByHash(sha256Hash)), DeleteEntry(keyArtArtidBySignid(addressToUse, signID)), DeleteEntry(keyArtTxidByHashOwner(sha256Hash, addressToUse))]
480480 if (if ((callerAddress == admin))
481481 then true
482482 else (callerAddress == admin2))
483483 then dataToDelete
484484 else if (!(artworkMinted))
485485 then dataToDelete
486486 else throw("This artwork already have minted NFT, you cannot delete it")
487487 }
488488
489489
490490
491491 @Callable(invoke)
492492 func sellArtwork (artId,price,maxMint,assetId) = {
493493 let id = toBase58String(invoke.transactionId)
494494 let callerAddress = toBase58String(invoke.caller.bytes)
495495 let sellDate = lastBlock.timestamp
496496 let exportCID = getStringByKey(keyArtExportCid(callerAddress, artId))
497497 if ((size(split(exportCID, "/")[0]) != 59))
498498 then throw("You cannot sell artwork with no export file")
499499 else {
500500 let exportHash = getStringByKey(keyArtExportHash(callerAddress, artId))
501501 if ((size(exportHash) != 64))
502502 then throw("You cannot sell artwork with no export hash")
503503 else if (if (if ((assetId != toBase58String(signAssetId)))
504504 then (assetId != toBase58String(wavesAssetId))
505505 else false)
506506 then (assetId != toBase58String(usdnAssetId))
507507 else false)
508508 then throw("Only SIGN, USDN or WAVES currency accepted at the moment")
509509 else {
510510 let artworkName = match getString(this, keyArtName(callerAddress, artId)) {
511511 case s: String =>
512512 s
513513 case _ =>
514514 throw("This artwork doesn't exit or you are not the owner")
515515 }
516516 let userIsRegistered = match getString(this, keyUserStatus(callerAddress)) {
517517 case s: String =>
518518 s
519519 case _ =>
520520 throw("Please register this account first")
521521 }
522522 let amountSold = match getInteger(this, keyArtIssued(callerAddress, artId)) {
523523 case n: Int =>
524524 n
525525 case _ =>
526526 0
527527 }
528528 let maxCanSell = match getInteger(this, keyArtMaxMint(callerAddress, artId)) {
529529 case n: Int =>
530530 n
531531 case _ =>
532532 0
533533 }
534534 if (if ((amountSold != 0))
535535 then (amountSold == maxCanSell)
536536 else false)
537537 then throw("You reached the max edition allowed to sell for this edition.")
538538 else if (if ((amountSold > 0))
539539 then (maxCanSell != maxMint)
540540 else false)
541541 then throw("You cannot change the maximum issuable anymore")
542542 else if ((userIsRegistered == userSuspended))
543543 then throw("Your account is suspended")
544544 else if ((userIsRegistered == userRemoved))
545545 then throw("Your account have been deleted")
546546 else {
547547 let sellStatus = if ((price > 0))
548548 then true
549549 else false
550550 [BooleanEntry(keyArtOnSale(callerAddress, artId), sellStatus), IntegerEntry(keyArtPrice(callerAddress, artId), price), IntegerEntry(keyArtMaxMint(callerAddress, artId), maxMint), StringEntry(keyArtAssetIdAccepted(callerAddress, artId), assetId), StringEntry("last_invoke_id", id)]
551551 }
552552 }
553553 }
554554 }
555555
556556
557557
558558 @Callable(invoke)
559559 func buyArtwork (artId,issuer) = {
560560 let id = toBase58String(invoke.transactionId)
561561 let callerAddress = toBase58String(invoke.caller.bytes)
562562 let totalNFT = getIntegerByKey("total_nft_issued")
563563 let signID = getStringByKey(keyArtSignID(issuer, artId))
564564 let artworkName = match getString(this, keyArtName(issuer, artId)) {
565565 case s: String =>
566566 s
567567 case _ =>
568568 throw("This artwork doesn't exit")
569569 }
570570 let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId))
571571 let exportCID = getStringByKey(keyArtExportCid(issuer, artId))
572572 let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
573573 let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
574574 let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
575575 let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
576576 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
577577 let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
578578 let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
579579 let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId))
580580 let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId))
581581 if ((artworkPrice == 0))
582582 then throw("This artwork is not for sell")
583583 else if (!(isOnSale))
584584 then throw("This artwork is not for sale")
585585 else {
586586 let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
587587 let payment = value(invoke.payments[0])
588588 let amount = value(payment.amount)
589589 let assetId = if (if (isDefined(payment.assetId))
590590 then (payment.assetId == fromBase58String(priceAssetId))
591591 else false)
592592 then payment.assetId
593593 else throw((("Only " + priceAssetId) + " token id accepted at the moment"))
594594 if ((amountSold == maxCanSell))
595595 then throw("Cannot buy this artwork anymore, maximum editions reached")
596596 else if ((artworkPrice != amount))
597597 then throw(((("Payment don't match seller price: " + toString(artworkPrice)) + " vs ") + toString(amount)))
598598 else {
599599 let newAmountSold = (amountSold + 1)
600600 let entryDate = lastBlock.timestamp
601601 let issueMeta = (((((((((((((((((((((((((((("{\"version\": 1,
602602 \"creator\": \"" + issuer) + "\",
603603 \"artID\": \"") + artId) + "\",
604604 \"signID\": \"") + signID) + "\",
605605 \"artwork_name\": \"") + artworkName) + "\",
606606 \"artwork_desc\": \"") + description) + "\",
607607 \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\",
608608 \"maxIssuable\": \"") + toString(maxCanSell)) + "\",
609609 \"source_hash\": \"") + sourceHash) + "\",
610610 \"display_cid\": \"") + displayCID) + "\",
611611 \"export_cid\": \"") + exportCID) + "\",
612612 \"export_hash\": \"") + exportHash) + "\",
613613 \"licence_cid\": \"") + licenceCID) + "\",
614614 \"licence_hash\": \"") + licenceHash) + "\"}")
615615 let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
616616 let idNFT = calculateAssetId(issueNFT)
617617 let sellStatus = if ((newAmountSold == maxCanSell))
618618 then false
619619 else true
620620 [IntegerEntry(keyArtIssued(issuer, artId), newAmountSold), StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((callerAddress + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice))), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyArtOnSale(issuer, artId), sellStatus), StringEntry("last_invoke_id", id), issueNFT, ScriptTransfer(Address(fromBase58String(issuer)), amount, assetId), ScriptTransfer(invoke.caller, 1, idNFT)]
621621 }
622622 }
623623 }
624624
625625
626626
627627 @Callable(i)
628628 func deleteUser (address) = {
629629 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
630630 let id = toBase58String(i.transactionId)
631631 if (if ((callerAddr == admin))
632632 then true
633633 else (callerAddr == admin2))
634634 then [DeleteEntry(keyUserDate(address)), DeleteEntry(keyUserAddr(address)), DeleteEntry(keyUserName(address)), DeleteEntry(keyUserDesc(address)), DeleteEntry(keyUserSocial(address)), DeleteEntry(keyUserThumb(address)), StringEntry(keyUserStatus(address), userRemoved), StringEntry("last_invoke_id", id)]
635635 else throw("You are not allowed to do that")
636636 }
637637
638638

github/deemru/w8io/026f985 
71.88 ms