tx · D3MjKHQsL61EfLEtEQ5eKJmo8hin8HVMoDojNiVBJeEr

3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1:  -0.01400000 Waves

2020.09.29 18:07 [1198766] smart account 3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1 > SELF 0.00000000 Waves

{ "type": 13, "id": "D3MjKHQsL61EfLEtEQ5eKJmo8hin8HVMoDojNiVBJeEr", "fee": 1400000, "feeAssetId": null, "timestamp": 1601392080178, "version": 2, "chainId": 84, "sender": "3N6VmiwyYvN3mje3HrLWZJwpGpXerqPwiY1", "senderPublicKey": "6d67Hi89AYURSDxe1L8huJrSeU9FSdfUJMXWvwZb8goX", "proofs": [ "23rk8ghzNct2XDTioL29ptTkBHknwr51GUd9JoZuz8JMpRiMGJof563MYFef6o5aHZpoiFEgJwj41VzHhVa5CFzM" ], "script": "base64:AAIEAAAAAAAAAFMIAhIGCgQICAgIEgYKBAgICAgSBAoCCAgSAwoBCBIDCgEIEg4KDAgICAgICAEICAgICBINCgsICAgICAEICAgICBIECgIICBIECgIIARIECgIICAAAAC8AAAAAD3N0b3JhZ2VWZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAMc2lnblZlcmlmaWVyCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOQzI4aFNpdnJtc1RVWGFZRDF4NkwzNjJKNFpwVW5vVGRCAAAAAAtmZWVSZWNlaXZlcgIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAAC3NpZ25Bc3NldElkAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAGdXNkbklEAgAAACwzS0ZYQkdHTENqQTVaMkR1VzREcTlmRERySGpKSlAxWkVrYW9halN6dUtzQwAAAAAFYWRtaW4CAAAAIzNNc0c2alBOQ3JWSl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dlbnRyeUlEAgAAAAFfBQAAAAZpc3N1ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAADWNhbGxlckFkZHJlc3MCAAAAAV8JAAGkAAAAAQUAAAAJZW50cnlEYXRlAgAAAAFfBQAAAAJpZAIAAAABXwkAAaQAAAABBQAAAAxhcnR3b3JrUHJpY2UJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAEHRvdGFsX25mdF9pc3N1ZWQJAABkAAAAAgUAAAAIdG90YWxORlQAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAObGFzdF9pbnZva2VfaWQFAAAAAmlkCQAETAAAAAIFAAAACGlzc3VlTkZUCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAthcnRfb25zYWxlXwUAAAAHZW50cnlJRAIAAAABXwUAAAANY2FsbGVyQWRkcmVzcwUAAAAKc2VsbFN0YXR1cwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAGaXNzdWVyBQAAAAZhbW91bnQFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAABmludm9rZQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAABWlkTkZUBQAAAANuaWwAAAAALwbt6w==", "height": 1198766, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3jBXFmDwYWCQ9JC87JVGGJWGMmzw4vVbKiz7jimpG3gq Next: AiQjsZnKnsV9twbwi7KpZ6WE6amwpvjShh9xgoK3Bx9b Diff:
OldNewDifferences
254254 if (if ((callerAddr == admin))
255255 then true
256256 else (callerAddr == admin2))
257- then [ScriptTransfer(Address(fromBase58String(address)), 1500, signAssetId)]
257+ then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)]
258258 else throw("You are not allowed to do that")
259259 }
260260
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 usdnID = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC"
1313
1414 let admin = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
1515
1616 let admin2 = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
1717
1818 let WHITELISTEDONLY = true
1919
2020 let userAllowed = "ALLOWED"
2121
2222 let userRegistered = "REGISTERED"
2323
2424 let userVerified = "VERIFIED"
2525
2626 let userSuspended = "SUSPENDED"
2727
2828 let userRemoved = "REMOVED"
2929
3030 let userUnregistered = "UNREGISTERED"
3131
3232 let onSale = "ON_SALE"
3333
3434 let sold = "SOLD"
3535
3636 let canceled = "CANCELED"
3737
3838 func getStringByKey (key) = match getString(this, key) {
3939 case a: String =>
4040 a
4141 case _ =>
4242 ""
4343 }
4444
4545
4646 func getIntegerByKey (key) = match getInteger(this, key) {
4747 case i: Int =>
4848 i
4949 case _ =>
5050 0
5151 }
5252
5353
5454 func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signVerifier, ((("data_fc_" + signID) + "_") + Owner)) {
5555 case a: String =>
5656 if (contains(a, sha256Hash))
5757 then true
5858 else false
5959 case _ =>
6060 false
6161 }
6262
6363
6464 func validateNFTs (accumulator,id) = {
6565 let assetDetails = value(assetInfo(fromBase58String(id)))
6666 if (if (if ((assetDetails.quantity != 1))
6767 then true
6868 else (assetDetails.decimals != 0))
6969 then true
7070 else (assetDetails.reissuable != false))
7171 then (accumulator + 0)
7272 else (accumulator + 1)
7373 }
7474
7575
7676 func verifyStatus (addr) = match getString(this, ("user_status_" + addr)) {
7777 case b: String =>
7878 b
7979 case _ =>
8080 throw("Something went wrong.")
8181 }
8282
8383
8484 func keyUserAddr (callerAddr) = ("user_" + callerAddr)
8585
8686
8787 func keyUserName (callerAddr) = ("user_name_" + callerAddr)
8888
8989
9090 func keyUserDesc (callerAddr) = ("user_desc_" + callerAddr)
9191
9292
9393 func keyUserSocial (callerAddr) = ("user_social_" + callerAddr)
9494
9595
9696 func keyUserThumb (callerAddr) = ("user_thumb_" + callerAddr)
9797
9898
9999 func keyUserStatus (callerAddr) = ("user_status_" + callerAddr)
100100
101101
102102 func keyUserDate (callerAddr) = ("user_date_" + callerAddr)
103103
104104
105105 func keyArtDate (callerAddr,artId) = ((("art_date_" + artId) + "_") + callerAddr)
106106
107107
108108 func keyArtName (callerAddr,artId) = ((("art_name_" + artId) + "_") + callerAddr)
109109
110110
111111 func keyArtDesc (callerAddr,artId) = ((("art_desc_" + artId) + "_") + callerAddr)
112112
113113
114114 func keyArtDisplayCid (callerAddr,artId) = ((("art_display_cid_" + artId) + "_") + callerAddr)
115115
116116
117117 func keyArtExportHash (callerAddr,artId) = ((("art_export_hash_" + artId) + "_") + callerAddr)
118118
119119
120120 func keyArtExportCid (callerAddr,artId) = ((("art_export_cid_" + artId) + "_") + callerAddr)
121121
122122
123123 func keyArtMaxMint (callerAddr,artId) = ((("art_maxmint_" + artId) + "_") + callerAddr)
124124
125125
126126 func keyArtSignID (callerAddr,artId) = ((("art_signid_" + artId) + "_") + callerAddr)
127127
128128
129129 func keyArtIssued (callerAddr,artId) = ((("art_issued_" + artId) + "_") + callerAddr)
130130
131131
132132 func keyArtOnSale (callerAddr,artId) = ((("art_onsale_" + artId) + "_") + callerAddr)
133133
134134
135135 func keyArtLicenceHash (callerAddr,artId) = ((("art_licence_hash_" + artId) + "_") + callerAddr)
136136
137137
138138 func keyArtLicenceCid (callerAddr,artId) = ((("art_licence_cid_" + artId) + "_") + callerAddr)
139139
140140
141141 func keyArtTags (callerAddr,artId) = ((("art_tags_" + artId) + "_") + callerAddr)
142142
143143
144144 func keyArtType (callerAddr,artId) = ((("art_type_" + artId) + "_") + callerAddr)
145145
146146
147147 func keyArtHashByTxidAddr (callerAddr,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + callerAddr)
148148
149149
150150 func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
151151
152152
153153 func keyArtArtidBySignid (callerAddr,signId) = ((("get_artidbysignid_" + signId) + "_") + callerAddr)
154154
155155
156156 func keyArtTxidByHashOwner (sha256Hash,callerAddr) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + callerAddr)))))
157157
158158
159159 @Callable(i)
160160 func registerUser (name,description,thumb,social) = {
161161 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
162162 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
163163 let id = toBase58String(i.transactionId)
164164 let timestamp = lastBlock.timestamp
165165 if (if ((userCanRegister == userSuspended))
166166 then true
167167 else (userCanRegister == userRemoved))
168168 then throw("You are now allowed to register, your account have been suspended/ removed.")
169169 else if ((userCanRegister == userRegistered))
170170 then throw("You are already registered, please use update method instead.")
171171 else if (if ((userCanRegister == ""))
172172 then WHITELISTEDONLY
173173 else false)
174174 then throw("You are now allowed to register yet, please contact us first to get approved.")
175175 else if (if ((name == ""))
176176 then true
177177 else (description == ""))
178178 then throw("Name and description cannot be empty")
179179 else if ((size(description) > 600))
180180 then throw("600 Characters maximum for the description")
181181 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)]
182182 }
183183
184184
185185
186186 @Callable(i)
187187 func updateUser (name,description,thumb,social) = {
188188 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
189189 let userCanRegister = getStringByKey(keyUserStatus(callerAddr))
190190 if (if ((userCanRegister == userSuspended))
191191 then true
192192 else (userCanRegister == userRemoved))
193193 then throw("You are now allowed to register, your account have been suspended/ removed.")
194194 else if (if ((userCanRegister == ""))
195195 then true
196196 else (userCanRegister == userAllowed))
197197 then throw("Please register first with registerUser")
198198 else {
199199 let id = toBase58String(i.transactionId)
200200 let timestamp = lastBlock.timestamp
201201 if (if ((name == ""))
202202 then true
203203 else (description == ""))
204204 then throw("Name and description cannot be empty")
205205 else if ((size(description) > 600))
206206 then throw("600 Characters maximum for the description")
207207 else [StringEntry(keyUserName(callerAddr), name), StringEntry(keyUserDesc(callerAddr), description), StringEntry(keyUserSocial(callerAddr), social), StringEntry(keyUserThumb(callerAddr), thumb), StringEntry("last_invoke_id", id)]
208208 }
209209 }
210210
211211
212212
213213 @Callable(i)
214214 func changeUserStatus (address,status) = {
215215 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
216216 let id = toBase58String(i.transactionId)
217217 let statusToSet = if ((status == userVerified))
218218 then userVerified
219219 else if ((status == userRegistered))
220220 then userRegistered
221221 else if ((status == userSuspended))
222222 then userSuspended
223223 else if ((status == userRemoved))
224224 then userRemoved
225225 else if ((status == userAllowed))
226226 then userAllowed
227227 else throw("Unknown status")
228228 if (if ((callerAddr == admin))
229229 then true
230230 else (callerAddr == admin2))
231231 then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
232232 else throw(((("You are not allowed to change user status " + callerAddr) + " / ") + admin))
233233 }
234234
235235
236236
237237 @Callable(i)
238238 func deleteUser (address) = {
239239 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
240240 let id = toBase58String(i.transactionId)
241241 if (if ((callerAddr == admin))
242242 then true
243243 else (callerAddr == admin2))
244244 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)]
245245 else throw("You are not allowed to do that")
246246 }
247247
248248
249249
250250 @Callable(i)
251251 func creditUser (address) = {
252252 let callerAddr = toString(addressFromPublicKey(i.callerPublicKey))
253253 let id = toBase58String(i.transactionId)
254254 if (if ((callerAddr == admin))
255255 then true
256256 else (callerAddr == admin2))
257- then [ScriptTransfer(Address(fromBase58String(address)), 1500, signAssetId)]
257+ then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)]
258258 else throw("You are not allowed to do that")
259259 }
260260
261261
262262
263263 @Callable(invoke)
264264 func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
265265 let artId = toBase58String(invoke.transactionId)
266266 let callerAddress = toBase58String(invoke.caller.bytes)
267267 if ((size(invoke.payments) == 0))
268268 then throw("No payment attached")
269269 else {
270270 let payment = value(invoke.payments[0])
271271 let amount = value(payment.amount)
272272 let assetId = if (if (isDefined(payment.assetId))
273273 then (payment.assetId == signAssetId)
274274 else false)
275275 then payment.assetId
276276 else throw("Only SIGN token accepted at the moment")
277277 let currentCertificationPrice = match getInteger(storageVerifier, ("certification_fee_" + toBase58String(signAssetId))) {
278278 case price: Int =>
279279 price
280280 case _ =>
281281 throw("Price undefined in oracle")
282282 }
283283 if ((amount != currentCertificationPrice))
284284 then throw(("Payment amount should be " + toString(currentCertificationPrice)))
285285 else {
286286 let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, callerAddress))
287287 if ((entryExist != ""))
288288 then throw("You already added this artwork on Sign Art")
289289 else {
290290 let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
291291 if ((hashExist != ""))
292292 then throw("This artwork hash is already registered on Sign Art")
293293 else {
294294 let isSignCertified = checkSignCertificate(signID, callerAddress, sha256Hash)
295295 if (!(isSignCertified))
296296 then throw("Sign Certificate not found on Sign-web.app smart contract for this address.")
297297 else if ((size(cidDisplay) == 0))
298298 then throw("Display CID cannot be empty")
299299 else if ((size(name) == 0))
300300 then throw("Title cannot be empty")
301301 else if ((size(name) > 100))
302302 then throw("100 Characters maximum for the name")
303303 else if ((size(description) > 1000))
304304 then throw("1000 Characters maximum for the description")
305305 else if ((size(description) == 0))
306306 then throw("Description cannot be empty")
307307 else {
308308 let tagsList = split(tags, ",")
309309 if ((size(tagsList) > 5))
310310 then throw("Tags should be maximum 5 single word separated by space.")
311311 else {
312312 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
313313 case s: String =>
314314 s
315315 case _ =>
316316 userUnregistered
317317 }
318318 let timestamp = lastBlock.timestamp
319319 if (if (isDefined(userIsRegistered))
320320 then (userIsRegistered == userUnregistered)
321321 else false)
322322 then throw("Please register this account first with \"User infos\" tab")
323323 else if ((userIsRegistered == userSuspended))
324324 then throw("Your account is suspended")
325325 else if ((userIsRegistered == userRemoved))
326326 then throw("Your account have been removed")
327327 else if ((maxmint > 10))
328328 then throw("Maximum 10 editions per artwork")
329329 else if ((size(sha256Hash) != 64))
330330 then throw("Hash should be sha256 string composed of 64 char.")
331331 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)]
332332 }
333333 }
334334 }
335335 }
336336 }
337337 }
338338 }
339339
340340
341341
342342 @Callable(invoke)
343343 func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = {
344344 let updateId = toBase58String(invoke.transactionId)
345345 let callerAddress = toBase58String(invoke.caller.bytes)
346346 let entryExist = getStringByKey(keyArtName(callerAddress, txid))
347347 if ((entryExist == ""))
348348 then throw("This entry doesn't exist or you are not the owner")
349349 else if ((size(name) == 0))
350350 then throw("Title cannot be empty")
351351 else if ((size(name) > 100))
352352 then throw("100 Characters maximum for the name")
353353 else if ((size(description) > 1000))
354354 then throw("1000 Characters maximum for the description")
355355 else if ((size(description) == 0))
356356 then throw("Description cannot be empty")
357357 else {
358358 let artworkMinted = match getInteger(this, keyArtIssued(callerAddress, txid)) {
359359 case b: Int =>
360360 if ((b == 0))
361361 then false
362362 else true
363363 case _ =>
364364 false
365365 }
366366 let tagsList = split(tags, ",")
367367 if ((size(tagsList) > 5))
368368 then throw("Tags should be maximum 5 single word separated by space.")
369369 else {
370370 let userIsRegistered = match getString(this, ("user_status_" + callerAddress)) {
371371 case s: String =>
372372 s
373373 case _ =>
374374 userUnregistered
375375 }
376376 if (if (isDefined(userIsRegistered))
377377 then (userIsRegistered == userUnregistered)
378378 else false)
379379 then throw("Please register this account first with \"User infos\" tab")
380380 else if ((userIsRegistered == userSuspended))
381381 then throw("Your account is suspended")
382382 else if ((userIsRegistered == userRemoved))
383383 then throw("Your account have been removed")
384384 else if ((maxmint > 10))
385385 then throw("Maximum 10 editions per artwork")
386386 else if (!(artworkMinted))
387387 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)]
388388 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)]
389389 }
390390 }
391391 }
392392
393393
394394
395395 @Callable(i)
396396 func deleteArtwork (artId,address) = {
397397 let callerAddress = toString(addressFromPublicKey(i.callerPublicKey))
398398 let id = toBase58String(i.transactionId)
399399 let addressToUse = if (if ((callerAddress == admin))
400400 then true
401401 else (callerAddress == admin2))
402402 then address
403403 else callerAddress
404404 let entryExist = match getString(this, keyArtName(addressToUse, artId)) {
405405 case s: String =>
406406 s
407407 case _ =>
408408 throw("No artwork matching this request or you are not allowed")
409409 }
410410 let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) {
411411 case b: Int =>
412412 if ((b == 0))
413413 then false
414414 else true
415415 case _ =>
416416 false
417417 }
418418 let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) {
419419 case s: String =>
420420 s
421421 case _ =>
422422 throw("No artwork hash matching this request")
423423 }
424424 let signID = match getString(this, keyArtSignID(addressToUse, artId)) {
425425 case s: String =>
426426 s
427427 case _ =>
428428 throw("No SIGN ID matching this request")
429429 }
430430 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))]
431431 if (if ((callerAddress == admin))
432432 then true
433433 else (callerAddress == admin2))
434434 then dataToDelete
435435 else if (!(artworkMinted))
436436 then dataToDelete
437437 else throw("This artwork already have minted NFT, you cannot delete it")
438438 }
439439
440440
441441
442442 @Callable(invoke)
443443 func sellArtwork (hash,price) = {
444444 let id = toBase58String(invoke.transactionId)
445445 let callerAddress = toBase58String(invoke.caller.bytes)
446446 let entryDate = lastBlock.timestamp
447447 let entryID = getStringByKey(((hash + "_") + callerAddress))
448448 if (!(isDefined(entryID)))
449449 then throw("This artwork doesn't exit or you are not the owner")
450450 else {
451451 let userIsRegistered = getStringByKey(("user_status_" + callerAddress))
452452 if ((userIsRegistered == ""))
453453 then throw("Please register this account first")
454454 else {
455455 let amountSold = getIntegerByKey(((("art_issued_" + entryID) + "_") + callerAddress))
456456 let maxCanSell = getIntegerByKey(((("art_maxmint_" + entryID) + "_") + callerAddress))
457457 if ((amountSold == maxCanSell))
458458 then throw("You reached the max edition allowed to sell for this edition.")
459459 else if ((userIsRegistered == userSuspended))
460460 then throw("Your account is suspended")
461461 else if (!(isDefined(entryID)))
462462 then throw("This artwork desn't exist")
463463 else if ((size(hash) != 64))
464464 then throw("This hash is incorrect.")
465465 else {
466466 let sellStatus = if ((price > 0))
467467 then true
468468 else false
469469 [BooleanEntry(((("art_onsale_" + entryID) + "_") + callerAddress), sellStatus), IntegerEntry(((("art_price_" + entryID) + "_") + callerAddress), price), StringEntry("last_invoke_id", id)]
470470 }
471471 }
472472 }
473473 }
474474
475475
476476
477477 @Callable(invoke)
478478 func buyArtwork (hash,issuer) = {
479479 let id = toBase58String(invoke.transactionId)
480480 let callerAddress = toBase58String(invoke.caller.bytes)
481481 let totalNFT = getIntegerByKey("total_nft_issued")
482482 let entryID = getStringByKey(((hash + "_") + issuer))
483483 if ((entryID == ""))
484484 then throw("This artwork doesn't exit or you are not the owner")
485485 else {
486486 let userIsRegistered = getStringByKey(("user_status_" + callerAddress))
487487 if (!(isDefined(userIsRegistered)))
488488 then throw("Please register this account first")
489489 else {
490490 let alreadySoldList = getStringByKey(((("art_sold_" + entryID) + "_") + issuer))
491491 let amountSold = getIntegerByKey(((("art_issued_" + entryID) + "_") + issuer))
492492 let artworkPrice = getIntegerByKey(((("art_price_" + entryID) + "_") + issuer))
493493 if ((artworkPrice == 0))
494494 then throw("This artwork is not for sell")
495495 else {
496496 let maxCanSell = getIntegerByKey(((("art_maxmint_" + entryID) + "_") + issuer))
497497 let payment = value(invoke.payments[0])
498498 let amount = value(payment.amount)
499499 let assetId = if (isDefined(payment.assetId))
500500 then throw("Only Waves token accepted at the moment")
501501 else unit
502502 if ((amountSold == maxCanSell))
503503 then throw("Cannot buy this artwork anymore")
504504 else if ((artworkPrice != amount))
505505 then throw("Payment don't match seller price")
506506 else {
507507 let newAmountSold = (amountSold + 1)
508508 let entryDate = lastBlock.timestamp
509509 let issueMeta = (((((((((((((("{\"version\": 1,\"artID\": \"" + entryID) + "\",\"maxIssuable\": \"") + toString(maxCanSell)) + "\",\"signID\": \"SA_") + toString((totalNFT + 1))) + "\", \"creator\": \"") + issuer) + "\", \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\", \"hash\": ") + hash) + "}")
510510 let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
511511 let idNFT = calculateAssetId(issueNFT)
512512 let sellStatus = if ((newAmountSold == maxCanSell))
513513 then false
514514 else true
515515 [IntegerEntry(((("art_issued_" + entryID) + "_") + issuer), newAmountSold), StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + entryID) + "_") + issuer), ((((((callerAddress + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice))), IntegerEntry("total_nft_issued", (totalNFT + 1)), StringEntry("last_invoke_id", id), issueNFT, BooleanEntry(((("art_onsale_" + entryID) + "_") + callerAddress), sellStatus), ScriptTransfer(Address(fromBase58String(issuer)), amount, assetId), ScriptTransfer(invoke.caller, 1, idNFT)]
516516 }
517517 }
518518 }
519519 }
520520 }
521521
522522

github/deemru/w8io/026f985 
73.40 ms