tx · G72qiqcFjCDoriQCoyoZ2tpPv4Tp8dua9gGQYWsPFZts

3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG:  -0.01400000 Waves

2020.10.10 07:03 [1213965] smart account 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG > SELF 0.00000000 Waves

{ "type": 13, "id": "G72qiqcFjCDoriQCoyoZ2tpPv4Tp8dua9gGQYWsPFZts", "fee": 1400000, "feeAssetId": null, "timestamp": 1602302607630, "version": 2, "chainId": 84, "sender": "3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG", "senderPublicKey": "9SULUbW7L2jV2nv8v48Kdzox4cZ8jEfg778yJHJpgVwM", "proofs": [ "45dsogibMzWHZGPGw2oMnyu9c2zwDoPzaNjkF2ij1a5it6iCTCi2JtH6e9iqz4fLLkqLwWkAKVcq2qs6Y1ehf7vd" ], "script": "base64:AAIEAAAAAAAAAFoIAhIGCgQICAgIEgMKAQgSBgoECAgICBIECgIICBIDCgEIEg4KDAgICAgICAEICAgICBINCgsICAgICAEICAgICBIECgIICBIGCgQIAQEIEgQKAggIEgMKAQgAAAA0AAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAADHNpZ25WZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAAC3VzZG5Bc3NldElkAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAMd2F2ZXNBc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AAMa2V5VXNlclRodW1iAAAAAQUAAAAHYWRkcmVzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAANa2V5VXNlclN0YXR1cwAAAAEFAAAAB2FkZHJlc3MFAAAAC3VzZXJSZW1vdmVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADmxhc3RfaW52b2tlX2lkBQAAAAJpZAUAAAADbmlsCQAAAgAAAAECAAAAHllvdSBhcmUgbm90IGFsbG93ZWQgdG8gZG8gdGhhdAAAAABWciuN", "height": 1213965, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 64P6W5BWr5z8fSPTrzNTRn3tLyPdeXdgf79dbBHDVzuw Next: 8orFhj3AyJFL1AJUSEi31sHAagofQrmcPH167R74bb6V Diff:
OldNewDifferences
538538 let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
539539 let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
540540 let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
541+ let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
541542 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
542543 let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
543544 let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
563564 else {
564565 let newAmountSold = (amountSold + 1)
565566 let entryDate = lastBlock.timestamp
566- let issueMeta = (((((((((((((((((((((((((("{\"version\": 1,
567+ let issueMeta = (((((((((((((((((((((((((((("{\"version\": 1,
567568 \"creator\": \"" + issuer) + "\",
568569 \"artID\": \"") + artId) + "\",
569570 \"maxIssuable\": \"") + toString(maxCanSell)) + "\",
570571 \"signID\": \"") + signID) + "\",
571572 \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\",
572573 \"source_hash\": \"") + sourceHash) + "\",
573- \"artwork_name\": \"") + artworkName) + "\",
574+ \"artwork_name\": \"") + artworkName) + "\",
575+ \"artwork_desc\": \"") + description) + "\",
574576 \"display_cid\": \"") + displayCID) + "\",
575577 \"export_cid\": \"") + exportCID) + "\",
576578 \"export_hash\": \"") + exportHash) + "\",
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 verifyStatus (addr) = match getString(this, ("user_status_" + addr)) {
8989 case b: String =>
9090 b
9191 case _ =>
9292 throw("Something went wrong.")
9393 }
9494
9595
9696 func keyUserAddr (callerAddr) = ("user_" + callerAddr)
9797
9898
9999 func keyUserName (callerAddr) = ("user_name_" + callerAddr)
100100
101101
102102 func keyUserDesc (callerAddr) = ("user_desc_" + callerAddr)
103103
104104
105105 func keyUserSocial (callerAddr) = ("user_social_" + callerAddr)
106106
107107
108108 func keyUserThumb (callerAddr) = ("user_thumb_" + callerAddr)
109109
110110
111111 func keyUserStatus (callerAddr) = ("user_status_" + callerAddr)
112112
113113
114114 func keyUserDate (callerAddr) = ("user_date_" + callerAddr)
115115
116116
117117 func keyArtDate (callerAddr,artId) = ((("art_date_" + artId) + "_") + callerAddr)
118118
119119
120120 func keyArtName (callerAddr,artId) = ((("art_name_" + artId) + "_") + callerAddr)
121121
122122
123123 func keyArtDesc (callerAddr,artId) = ((("art_desc_" + artId) + "_") + callerAddr)
124124
125125
126126 func keyArtDisplayCid (callerAddr,artId) = ((("art_display_cid_" + artId) + "_") + callerAddr)
127127
128128
129129 func keyArtExportHash (callerAddr,artId) = ((("art_export_hash_" + artId) + "_") + callerAddr)
130130
131131
132132 func keyArtExportCid (callerAddr,artId) = ((("art_export_cid_" + artId) + "_") + callerAddr)
133133
134134
135135 func keyArtMaxMint (callerAddr,artId) = ((("art_maxmint_" + artId) + "_") + callerAddr)
136136
137137
138138 func keyArtSignID (callerAddr,artId) = ((("art_signid_" + artId) + "_") + callerAddr)
139139
140140
141141 func keyArtIssued (callerAddr,artId) = ((("art_issued_" + artId) + "_") + callerAddr)
142142
143143
144144 func keyArtOnSale (callerAddr,artId) = ((("art_onsale_" + artId) + "_") + callerAddr)
145145
146146
147147 func keyArtLicenceHash (callerAddr,artId) = ((("art_licence_hash_" + artId) + "_") + callerAddr)
148148
149149
150150 func keyArtLicenceCid (callerAddr,artId) = ((("art_licence_cid_" + artId) + "_") + callerAddr)
151151
152152
153153 func keyArtTags (callerAddr,artId) = ((("art_tags_" + artId) + "_") + callerAddr)
154154
155155
156156 func keyArtType (callerAddr,artId) = ((("art_type_" + artId) + "_") + callerAddr)
157157
158158
159159 func keyArtPrice (callerAddr,artId) = ((("art_price_" + artId) + "_") + callerAddr)
160160
161161
162162 func keyArtAssetIdAccepted (callerAddr,artId) = ((("art_assetAccepted_" + artId) + "_") + callerAddr)
163163
164164
165165 func keyArtHashByTxidAddr (callerAddr,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + callerAddr)
166166
167167
168168 func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
169169
170170
171171 func keyArtArtidBySignid (callerAddr,signId) = ((("get_artidbysignid_" + signId) + "_") + callerAddr)
172172
173173
174174 func keyArtTxidByHashOwner (sha256Hash,callerAddr) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + callerAddr)))))
175175
176176
177177 @Callable(i)
178178 func registerUser (name,description,thumb,social) = {
179179 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
180180 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
181181 let id = toBase58String(i.transactionId)
182182 let timestamp = lastBlock.timestamp
183183 if (if ((userCanRegister == userSuspended))
184184 then true
185185 else (userCanRegister == userRemoved))
186186 then throw("You are now allowed to register, your account have been suspended/ removed.")
187187 else if ((userCanRegister == userRegistered))
188188 then throw("You are already registered, please use update method instead.")
189189 else if (if ((userCanRegister == ""))
190190 then WHITELISTEDONLY
191191 else false)
192192 then throw("You are now allowed to register yet, please contact us first to get approved.")
193193 else if (if ((name == ""))
194194 then true
195195 else (description == ""))
196196 then throw("Name and description cannot be empty")
197197 else if ((size(description) > 600))
198198 then throw("600 Characters maximum for the description")
199199 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)]
200200 }
201201
202202
203203
204204 @Callable(i)
205205 func deleteEntry (entry) = {
206206 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
207207 if ((callerAddr == admin))
208208 then [DeleteEntry(entry)]
209209 else throw("no")
210210 }
211211
212212
213213
214214 @Callable(i)
215215 func updateUser (name,description,thumb,social) = {
216216 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
217217 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
218218 if (if ((userCanRegister == userSuspended))
219219 then true
220220 else (userCanRegister == userRemoved))
221221 then throw("You are now allowed to register, your account have been suspended/ removed.")
222222 else if (if ((userCanRegister == ""))
223223 then true
224224 else (userCanRegister == userAllowed))
225225 then throw("Please register first with registerUser")
226226 else {
227227 let id = toBase58String(i.transactionId)
228228 let timestamp = lastBlock.timestamp
229229 if (if ((name == ""))
230230 then true
231231 else (description == ""))
232232 then throw("Name and description cannot be empty")
233233 else if ((size(description) > 600))
234234 then throw("600 Characters maximum for the description")
235235 else [StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry("last_invoke_id", id)]
236236 }
237237 }
238238
239239
240240
241241 @Callable(i)
242242 func changeUserStatus (address,status) = {
243243 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
244244 let id = toBase58String(i.transactionId)
245245 let statusToSet = if ((status == userVerified))
246246 then userVerified
247247 else if ((status == userRegistered))
248248 then userRegistered
249249 else if ((status == userSuspended))
250250 then userSuspended
251251 else if ((status == userRemoved))
252252 then userRemoved
253253 else if ((status == userAllowed))
254254 then userAllowed
255255 else throw("Unknown status")
256256 if (if ((callerAddr == admin))
257257 then true
258258 else (callerAddr == admin2))
259259 then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
260260 else throw(((("You are not allowed to change user status " + callerAddr) + " / ") + admin))
261261 }
262262
263263
264264
265265 @Callable(i)
266266 func creditUser (address) = {
267267 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
268268 let id = toBase58String(i.transactionId)
269269 if (if ((callerAddr == admin))
270270 then true
271271 else (callerAddr == admin2))
272272 then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)]
273273 else throw("You are not allowed to do that")
274274 }
275275
276276
277277
278278 @Callable(invoke)
279279 func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
280280 let artId = toBase58String(invoke.transactionId)
281281 let callerAddress = toBase58String(invoke.caller.bytes)
282282 if ((size(invoke.payments) == 0))
283283 then throw("No payment attached")
284284 else {
285285 let payment = value(invoke.payments[0])
286286 let amount = value(payment.amount)
287287 let assetId = if (if (isDefined(payment.assetId))
288288 then (payment.assetId == signAssetId)
289289 else false)
290290 then payment.assetId
291291 else throw("Only SIGN token accepted at the moment")
292292 let currentCertificationPrice = match getInteger(storageVerifier, ("certification_fee_" + toBase58String(signAssetId))) {
293293 case price: Int =>
294294 price
295295 case _ =>
296296 throw("Price undefined in oracle")
297297 }
298298 if ((amount != currentCertificationPrice))
299299 then throw(("Payment amount should be " + toString(currentCertificationPrice)))
300300 else {
301301 let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, callerAddress))
302302 if ((entryExist != ""))
303303 then throw("You already added this artwork on Sign Art")
304304 else {
305305 let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
306306 if ((hashExist != ""))
307307 then throw("This artwork hash is already registered on Sign Art")
308308 else {
309309 let isSignCertified = checkSignCertificate(signID, callerAddress, sha256Hash)
310310 if (!(isSignCertified))
311311 then throw("Sign Certificate not found on Sign-web.app smart contract for this address.")
312312 else if ((size(cidDisplay) == 0))
313313 then throw("Display CID cannot be empty")
314314 else if ((size(name) == 0))
315315 then throw("Title cannot be empty")
316316 else if ((size(name) > 100))
317317 then throw("100 Characters maximum for the name")
318318 else if ((size(description) > 1000))
319319 then throw("1000 Characters maximum for the description")
320320 else if ((size(description) == 0))
321321 then throw("Description cannot be empty")
322322 else {
323323 let tagsList = split(tags, ",")
324324 if ((size(tagsList) > 5))
325325 then throw("Tags should be maximum 5 single word separated by space.")
326326 else {
327327 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
328328 case s: String =>
329329 s
330330 case _ =>
331331 userUnregistered
332332 }
333333 let timestamp = lastBlock.timestamp
334334 if (if (isDefined(userIsRegistered))
335335 then (userIsRegistered == userUnregistered)
336336 else false)
337337 then throw("Please register this account first with \"User infos\" tab")
338338 else if ((userIsRegistered == userSuspended))
339339 then throw("Your account is suspended")
340340 else if ((userIsRegistered == userRemoved))
341341 then throw("Your account have been removed")
342342 else if ((maxmint > 10))
343343 then throw("Maximum 10 editions per artwork")
344344 else if ((size(sha256Hash) != 64))
345345 then throw("Hash should be sha256 string composed of 64 char.")
346346 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)]
347347 }
348348 }
349349 }
350350 }
351351 }
352352 }
353353 }
354354
355355
356356
357357 @Callable(invoke)
358358 func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
359359 let updateId = toBase58String(invoke.transactionId)
360360 let callerAddress = toBase58String(invoke.caller.bytes)
361361 let entryExist = getStringByKey(keyArtName(callerAddress, txid))
362362 if ((entryExist == ""))
363363 then throw("This entry doesn't exist or you are not the owner")
364364 else if ((size(name) == 0))
365365 then throw("Title cannot be empty")
366366 else if ((size(name) > 100))
367367 then throw("100 Characters maximum for the name")
368368 else if ((size(description) > 1000))
369369 then throw("1000 Characters maximum for the description")
370370 else if ((size(description) == 0))
371371 then throw("Description cannot be empty")
372372 else {
373373 let artworkMinted = match getInteger(this, keyArtIssued(callerAddress, txid)) {
374374 case b: Int =>
375375 if ((b == 0))
376376 then false
377377 else true
378378 case _ =>
379379 false
380380 }
381381 let tagsList = split(tags, ",")
382382 if ((size(tagsList) > 5))
383383 then throw("Tags should be maximum 5 single word separated by space.")
384384 else {
385385 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
386386 case s: String =>
387387 s
388388 case _ =>
389389 userUnregistered
390390 }
391391 if (if (isDefined(userIsRegistered))
392392 then (userIsRegistered == userUnregistered)
393393 else false)
394394 then throw("Please register this account first with \"User infos\" tab")
395395 else if ((userIsRegistered == userSuspended))
396396 then throw("Your account is suspended")
397397 else if ((userIsRegistered == userRemoved))
398398 then throw("Your account have been removed")
399399 else if ((maxmint > 10))
400400 then throw("Maximum 10 editions per artwork")
401401 else if (!(artworkMinted))
402402 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)]
403403 else [StringEntry(keyArtName(callerAddress, txid), name), StringEntry(keyArtDesc(callerAddress, txid), description), StringEntry(keyArtDisplayCid(callerAddress, txid), cidDisplay), StringEntry(keyArtType(callerAddress, txid), type), StringEntry(keyArtTags(callerAddress, txid), tags), StringEntry("last_invoke_id", updateId)]
404404 }
405405 }
406406 }
407407
408408
409409
410410 @Callable(i)
411411 func deleteArtwork (artId,address) = {
412412 let callerAddress = toString(addressFromPublicKey(i.callerPublicKey))
413413 let id = toBase58String(i.transactionId)
414414 let addressToUse = if (if ((callerAddress == admin))
415415 then true
416416 else (callerAddress == admin2))
417417 then address
418418 else callerAddress
419419 let entryExist = match getString(this, keyArtName(addressToUse, artId)) {
420420 case s: String =>
421421 s
422422 case _ =>
423423 throw("No artwork matching this request or you are not allowed")
424424 }
425425 let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) {
426426 case b: Int =>
427427 if ((b == 0))
428428 then false
429429 else true
430430 case _ =>
431431 false
432432 }
433433 let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) {
434434 case s: String =>
435435 s
436436 case _ =>
437437 throw("No artwork hash matching this request")
438438 }
439439 let signID = match getString(this, keyArtSignID(addressToUse, artId)) {
440440 case s: String =>
441441 s
442442 case _ =>
443443 throw("No SIGN ID matching this request")
444444 }
445445 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))]
446446 if (if ((callerAddress == admin))
447447 then true
448448 else (callerAddress == admin2))
449449 then dataToDelete
450450 else if (!(artworkMinted))
451451 then dataToDelete
452452 else throw("This artwork already have minted NFT, you cannot delete it")
453453 }
454454
455455
456456
457457 @Callable(invoke)
458458 func sellArtwork (artId,price,maxMint,assetId) = {
459459 let id = toBase58String(invoke.transactionId)
460460 let callerAddress = toBase58String(invoke.caller.bytes)
461461 let sellDate = lastBlock.timestamp
462462 let exportCID = getStringByKey(keyArtExportCid(callerAddress, artId))
463463 if ((size(exportCID) == 0))
464464 then throw("You cannot sell artwork with no export file")
465465 else {
466466 let exportHash = getStringByKey(keyArtExportHash(callerAddress, artId))
467467 if ((size(exportHash) == 0))
468468 then throw("You cannot sell artwork with no export hash")
469469 else if (if (if ((assetId != toBase58String(signAssetId)))
470470 then (assetId != toBase58String(wavesAssetId))
471471 else false)
472472 then (assetId != toBase58String(usdnAssetId))
473473 else false)
474474 then throw("Only SIGN, USDN or WAVES currency accepted at the moment")
475475 else {
476476 let artworkName = match getString(this, keyArtName(callerAddress, artId)) {
477477 case s: String =>
478478 s
479479 case _ =>
480480 throw("This artwork doesn't exit or you are not the owner")
481481 }
482482 let userIsRegistered = match getString(this, keyUserStatus(callerAddress)) {
483483 case s: String =>
484484 s
485485 case _ =>
486486 throw("Please register this account first")
487487 }
488488 let amountSold = match getInteger(this, keyArtIssued(callerAddress, artId)) {
489489 case n: Int =>
490490 n
491491 case _ =>
492492 0
493493 }
494494 let maxCanSell = match getInteger(this, keyArtMaxMint(callerAddress, artId)) {
495495 case n: Int =>
496496 n
497497 case _ =>
498498 0
499499 }
500500 if (if ((amountSold != 0))
501501 then (amountSold == maxCanSell)
502502 else false)
503503 then throw("You reached the max edition allowed to sell for this edition.")
504504 else if (if ((amountSold > 0))
505505 then (maxCanSell != maxMint)
506506 else false)
507507 then throw("You cannot change the maximum issuable anymore")
508508 else if ((userIsRegistered == userSuspended))
509509 then throw("Your account is suspended")
510510 else if ((userIsRegistered == userRemoved))
511511 then throw("Your account have been deleted")
512512 else {
513513 let sellStatus = if ((price > 0))
514514 then true
515515 else false
516516 [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)]
517517 }
518518 }
519519 }
520520 }
521521
522522
523523
524524 @Callable(invoke)
525525 func buyArtwork (artId,issuer) = {
526526 let id = toBase58String(invoke.transactionId)
527527 let callerAddress = toBase58String(invoke.caller.bytes)
528528 let totalNFT = getIntegerByKey("total_nft_issued")
529529 let signID = getStringByKey(keyArtSignID(issuer, artId))
530530 let artworkName = match getString(this, keyArtName(issuer, artId)) {
531531 case s: String =>
532532 s
533533 case _ =>
534534 throw("This artwork doesn't exit")
535535 }
536536 let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId))
537537 let exportCID = getStringByKey(keyArtExportCid(issuer, artId))
538538 let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
539539 let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
540540 let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
541+ let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
541542 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
542543 let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
543544 let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
544545 let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId))
545546 let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId))
546547 if ((artworkPrice == 0))
547548 then throw("This artwork is not for sell")
548549 else if (!(isOnSale))
549550 then throw("This artwork is not for sale")
550551 else {
551552 let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
552553 let payment = value(invoke.payments[0])
553554 let amount = value(payment.amount)
554555 let assetId = if (if (isDefined(payment.assetId))
555556 then (payment.assetId == fromBase58String(priceAssetId))
556557 else false)
557558 then payment.assetId
558559 else throw((("Only " + priceAssetId) + " token id accepted at the moment"))
559560 if ((amountSold == maxCanSell))
560561 then throw("Cannot buy this artwork anymore, maximum editions reached")
561562 else if ((artworkPrice != amount))
562563 then throw(((("Payment don't match seller price: " + toString(artworkPrice)) + " vs ") + toString(amount)))
563564 else {
564565 let newAmountSold = (amountSold + 1)
565566 let entryDate = lastBlock.timestamp
566- let issueMeta = (((((((((((((((((((((((((("{\"version\": 1,
567+ let issueMeta = (((((((((((((((((((((((((((("{\"version\": 1,
567568 \"creator\": \"" + issuer) + "\",
568569 \"artID\": \"") + artId) + "\",
569570 \"maxIssuable\": \"") + toString(maxCanSell)) + "\",
570571 \"signID\": \"") + signID) + "\",
571572 \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\",
572573 \"source_hash\": \"") + sourceHash) + "\",
573- \"artwork_name\": \"") + artworkName) + "\",
574+ \"artwork_name\": \"") + artworkName) + "\",
575+ \"artwork_desc\": \"") + description) + "\",
574576 \"display_cid\": \"") + displayCID) + "\",
575577 \"export_cid\": \"") + exportCID) + "\",
576578 \"export_hash\": \"") + exportHash) + "\",
577579 \"licence_cid\": \"") + licenceCID) + "\",
578580 \"licence_hash\": \"") + licenceHash) + "\"}")
579581 let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
580582 let idNFT = calculateAssetId(issueNFT)
581583 let sellStatus = if ((newAmountSold == maxCanSell))
582584 then false
583585 else true
584586 [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)]
585587 }
586588 }
587589 }
588590
589591
590592
591593 @Callable(i)
592594 func deleteUser (address) = {
593595 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
594596 let id = toBase58String(i.transactionId)
595597 if (if ((callerAddr == admin))
596598 then true
597599 else (callerAddr == admin2))
598600 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)]
599601 else throw("You are not allowed to do that")
600602 }
601603
602604

github/deemru/w8io/026f985 
69.39 ms