tx · 98Pa2kvtNVWtCx7GjJxkoNRtdrwjSTfuZiusS9f4EsSC

3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG:  -0.01400000 Waves

2020.11.14 09:33 [1264688] smart account 3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG > SELF 0.00000000 Waves

{ "type": 13, "id": "98Pa2kvtNVWtCx7GjJxkoNRtdrwjSTfuZiusS9f4EsSC", "fee": 1400000, "feeAssetId": null, "timestamp": 1605335638623, "version": 2, "chainId": 84, "sender": "3N2Tdcx5fzxJAKP5hMp9W35Cp1EFzfiJ1zG", "senderPublicKey": "9SULUbW7L2jV2nv8v48Kdzox4cZ8jEfg778yJHJpgVwM", "proofs": [ "4FsenrQ13r5sAeTGRYcT9RKPV1hg2Dr1nZsdmT9VfYatMGhSsTzSgukSegRFhguDw4fJHFGHmNFUJwcZvxnfRvcg" ], "script": "base64:AAIEAAAAAAAAAGEIAhIGCgQICAgIEgYKBAgICAgSBAoCCAgSDgoMCAgICAgIAQgICAgIEg0KCwgICAgIAQgICAgIEgUKAwgICBIECgIICBIGCgQIAQEIEgQKAggIEgMKAQgSAwoBCBIDCgEIAAAAOwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAtzaWduQXNzZXRJZAEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresAAAAAC3VzZG5Bc3NldElkAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAMd2F2Z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EwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAANa2V5VXNlclN0YXR1cwAAAAEFAAAAB2FkZHJlc3MFAAAAC3VzZXJSZW1vdmVkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAADmxhc3RfaW52b2tlX2lkBQAAAAJpZAUAAAADbmlsCQAAAgAAAAECAAAAC05vdCBhbGxvd2VkAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQQAAAAGY2FsbGVyCQAEJQAAAAEJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAGY2FsbGVyBQAAAAVjaHJpcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAWkBAAAACmNyZWRpdFVzZXIAAAABAAAAB2FkZHJlc3MEAAAABmNhbGxlcgkABCUAAAABCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAAAmlkCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQDCQEAAAAPY29udGFpbnNFbGVtZW50AAAAAgkABEwAAAACBQAAAAVjaHJpcwkABEwAAAACBQAAAARqb2VwBQAAAANuaWwFAAAABmNhbGxlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAHYWRkcmVzcwAAAAAi7LJcAAUAAAALc2lnbkFzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAAAtOb3QgYWxsb3dlZAAAAABOmxgh", "height": 1264688, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HCkiTnpN7Dgpq1tfasvXqJ1gHeDKozinbPoL1p4KimbL Next: 4tKjbNpfXA5VfZuGzfHqoAB5ooB7GQRRPAa5diZJLsEQ Diff:
OldNewDifferences
297297 then (status == userAllowed)
298298 else false)
299299 then throw("User already allowed")
300- else if (if ((currentStatus == userVerified))
300+ else if (if ((currentStatus == userRegistered))
301301 then (status == userAllowed)
302302 else false)
303- then throw("User already allowed & verified")
304- else if (containsElement([chris, joep], caller))
305- then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
306- else throw(((("Not allowed to change user status " + caller) + " / ") + chris))
303+ then throw("User already allowed & registered")
304+ else if (if ((currentStatus == userVerified))
305+ then (status == userAllowed)
306+ else false)
307+ then throw("User already allowed & verified")
308+ else if (containsElement([chris, joep], caller))
309+ then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
310+ else throw(((("Not allowed to change user status " + caller) + " / ") + chris))
307311 }
308312
309313
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let oracleFee = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1"))
55
66 let signDapp = 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 signCut = 8
1717
1818 let usdnCut = 10
1919
2020 let wavesCut = 10
2121
2222 let chris = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp"
2323
2424 let joep = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN"
2525
2626 let WHITELISTEDONLY = true
2727
2828 let dappRunning = true
2929
3030 let maintenanceMSG = "SIGN Art is under maintenance"
3131
3232 let userAllowed = "ALLOWED"
3333
3434 let userRegistered = "REGISTERED"
3535
3636 let userVerified = "VERIFIED"
3737
3838 let userSuspended = "SUSPENDED"
3939
4040 let userRemoved = "REMOVED"
4141
4242 let userUnregistered = "UNREGISTERED"
4343
4444 let userReset = "RESET"
4545
4646 func getStringByKey (key) = match getString(this, key) {
4747 case a: String =>
4848 a
4949 case _ =>
5050 ""
5151 }
5252
5353
5454 func getIntegerByKeyFromOracle (key) = match getInteger(oracleFee, key) {
5555 case a: Int =>
5656 a
5757 case _ =>
5858 throw("Integer undefine or 0 in oracle")
5959 }
6060
6161
6262 func getIntegerByKey (key) = match getInteger(this, key) {
6363 case i: Int =>
6464 i
6565 case _ =>
6666 0
6767 }
6868
6969
7070 func getBooleanByKey (key) = match getBoolean(this, key) {
7171 case i: Boolean =>
7272 i
7373 case _ =>
7474 false
7575 }
7676
7777
7878 func checkSignCertificate (signID,Owner,sha256Hash) = match getString(signDapp, ((("data_fc_" + signID) + "_") + Owner)) {
7979 case a: String =>
8080 if (contains(a, sha256Hash))
8181 then true
8282 else false
8383 case _ =>
8484 false
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 keyUserAddr (caller) = ("user_" + caller)
9999
100100
101101 func keyUserName (caller) = ("user_name_" + caller)
102102
103103
104104 func keyUserDesc (caller) = ("user_desc_" + caller)
105105
106106
107107 func keyUserSocial (caller) = ("user_social_" + caller)
108108
109109
110110 func keyUserThumb (caller) = ("user_thumb_" + caller)
111111
112112
113113 func keyUserStatus (caller) = ("user_status_" + caller)
114114
115115
116116 func keyUserDate (caller) = ("user_date_" + caller)
117117
118118
119119 func keyArtDate (caller,artId) = ((("art_date_" + artId) + "_") + caller)
120120
121121
122122 func keyArtName (caller,artId) = ((("art_name_" + artId) + "_") + caller)
123123
124124
125125 func keyArtDesc (caller,artId) = ((("art_desc_" + artId) + "_") + caller)
126126
127127
128128 func keyArtDisplayCid (caller,artId) = ((("art_display_cid_" + artId) + "_") + caller)
129129
130130
131131 func keyArtExportHash (caller,artId) = ((("art_export_hash_" + artId) + "_") + caller)
132132
133133
134134 func keyArtExportCid (caller,artId) = ((("art_export_cid_" + artId) + "_") + caller)
135135
136136
137137 func keyArtMaxMint (caller,artId) = ((("art_maxmint_" + artId) + "_") + caller)
138138
139139
140140 func keyArtSignID (caller,artId) = ((("art_signid_" + artId) + "_") + caller)
141141
142142
143143 func keyArtIssued (caller,artId) = ((("art_issued_" + artId) + "_") + caller)
144144
145145
146146 func keyArtOnSale (caller,artId) = ((("art_onsale_" + artId) + "_") + caller)
147147
148148
149149 func keyArtLicenceHash (caller,artId) = ((("art_licence_hash_" + artId) + "_") + caller)
150150
151151
152152 func keyArtLicenceCid (caller,artId) = ((("art_licence_cid_" + artId) + "_") + caller)
153153
154154
155155 func keyArtTags (caller,artId) = ((("art_tags_" + artId) + "_") + caller)
156156
157157
158158 func keyArtType (caller,artId) = ((("art_type_" + artId) + "_") + caller)
159159
160160
161161 func keyArtPrice (caller,artId) = ((("art_price_" + artId) + "_") + caller)
162162
163163
164164 func keyArtAssetIdAccepted (caller,artId) = ((("art_assetAccepted_" + artId) + "_") + caller)
165165
166166
167167 func keyArtFlag (caller,artId) = ((("art_flag_" + artId) + "_") + caller)
168168
169169
170170 func keyArtHashByTxidAddr (caller,txid) = ((("get_hashbytxidaddr_" + txid) + "_") + caller)
171171
172172
173173 func keyArtOwnerByHash (sha256Hash) = ("get_owner_by_hash_" + sha256Hash)
174174
175175
176176 func keyArtArtidBySignid (caller,signId) = ((("get_artidbysignid_" + signId) + "_") + caller)
177177
178178
179179 func keyArtTxidByHashOwner (sha256Hash,caller) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((sha256Hash + caller)))))
180180
181181
182182 func validateAllCID (cidDisplay,cidExport,cidLicence) = if (if ((cidDisplay != ""))
183183 then !(validateCID(cidDisplay))
184184 else false)
185185 then throw("Wrong Display CID")
186186 else if (if ((cidExport != ""))
187187 then !(validateCID(cidExport))
188188 else false)
189189 then throw("Wrong Export CID")
190190 else if (if ((cidLicence != ""))
191191 then !(validateCID(cidLicence))
192192 else false)
193193 then throw("Wrong Licence CID")
194194 else true
195195
196196
197197 func validateAllHash (sha256Export,sha256Licence) = if (if ((sha256Export != ""))
198198 then !(validateHash(sha256Export))
199199 else false)
200200 then throw("Export Hash 64 char. max")
201201 else if (if ((sha256Licence != ""))
202202 then !(validateHash(sha256Licence))
203203 else false)
204204 then throw("Licence Hash 64 char. max")
205205 else true
206206
207207
208208 func validateString (str,max) = if ((size(str) == 0))
209209 then throw("Field cannot be is empty")
210210 else if ((size(str) > max))
211211 then throw((str + " is too long"))
212212 else true
213213
214214
215215 @Callable(i)
216216 func registerUser (name,description,thumb,social) = if (!(dappRunning))
217217 then throw(maintenanceMSG)
218218 else {
219219 let caller = toString(addressFromPublicKey(i.callerPublicKey))
220220 let canRegister = getStringByKey(keyUserStatus(caller))
221221 let id = toBase58String(i.transactionId)
222222 let timestamp = lastBlock.timestamp
223223 if (if ((canRegister == userSuspended))
224224 then true
225225 else (canRegister == userRemoved))
226226 then throw("Account suspended/ removed.")
227227 else if ((canRegister == userRegistered))
228228 then throw("Already registered")
229229 else if (if ((canRegister == ""))
230230 then WHITELISTEDONLY
231231 else false)
232232 then throw("Can't register, get approved first.")
233233 else if (if ((name == ""))
234234 then true
235235 else (description == ""))
236236 then throw("Name and description cannot be empty")
237237 else if ((size(description) > 600))
238238 then throw("600 Char. max description")
239239 else if ((size(name) > 45))
240240 then throw("45 Char. max name")
241241 else [IntegerEntry(keyUserDate(caller), timestamp), StringEntry(keyUserAddr(caller), ((id + "_") + toString(timestamp))), StringEntry(keyUserName(caller), name), StringEntry(keyUserDesc(caller), description), StringEntry(keyUserSocial(caller), social), StringEntry(keyUserThumb(caller), thumb), StringEntry(keyUserStatus(caller), userRegistered), StringEntry("last_invoke_id", id)]
242242 }
243243
244244
245245
246246 @Callable(i)
247247 func updateUser (name,description,thumb,social) = if (!(dappRunning))
248248 then throw(maintenanceMSG)
249249 else {
250250 let caller = toString(addressFromPublicKey(i.callerPublicKey))
251251 let id = toBase58String(i.transactionId)
252252 let canUpdate = getStringByKey(keyUserStatus(caller))
253253 if (if ((canUpdate == userSuspended))
254254 then true
255255 else (canUpdate == userRemoved))
256256 then throw("Account suspended/ removed.")
257257 else if (if ((canUpdate == ""))
258258 then true
259259 else (canUpdate == userAllowed))
260260 then throw("Register first")
261261 else if (if ((name == ""))
262262 then true
263263 else (description == ""))
264264 then throw("Name & description cannot be empty")
265265 else if ((size(description) > 600))
266266 then throw("600 Char. max for description")
267267 else if ((size(name) > 45))
268268 then throw("45 Char. max name")
269269 else [StringEntry(keyUserName(caller), name), StringEntry(keyUserDesc(caller), description), StringEntry(keyUserSocial(caller), social), StringEntry(keyUserThumb(caller), thumb), StringEntry("last_invoke_id", id)]
270270 }
271271
272272
273273
274274 @Callable(i)
275275 func changeUserStatus (address,status) = if (!(dappRunning))
276276 then throw(maintenanceMSG)
277277 else {
278278 let caller = toString(addressFromPublicKey(i.callerPublicKey))
279279 let id = toBase58String(i.transactionId)
280280 let currentStatus = getStringByKey(keyUserStatus(address))
281281 let statusToSet = if ((status == userVerified))
282282 then userVerified
283283 else if ((status == userRegistered))
284284 then userRegistered
285285 else if ((status == userSuspended))
286286 then userSuspended
287287 else if ((status == userRemoved))
288288 then userRemoved
289289 else if ((status == userAllowed))
290290 then userAllowed
291291 else if (if ((status == userReset))
292292 then (currentStatus == userAllowed)
293293 else false)
294294 then ""
295295 else throw("Unknown status")
296296 if (if ((currentStatus == userAllowed))
297297 then (status == userAllowed)
298298 else false)
299299 then throw("User already allowed")
300- else if (if ((currentStatus == userVerified))
300+ else if (if ((currentStatus == userRegistered))
301301 then (status == userAllowed)
302302 else false)
303- then throw("User already allowed & verified")
304- else if (containsElement([chris, joep], caller))
305- then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
306- else throw(((("Not allowed to change user status " + caller) + " / ") + chris))
303+ then throw("User already allowed & registered")
304+ else if (if ((currentStatus == userVerified))
305+ then (status == userAllowed)
306+ else false)
307+ then throw("User already allowed & verified")
308+ else if (containsElement([chris, joep], caller))
309+ then [StringEntry(keyUserStatus(address), statusToSet), StringEntry("last_invoke_id", id)]
310+ else throw(((("Not allowed to change user status " + caller) + " / ") + chris))
307311 }
308312
309313
310314
311315 @Callable(invoke)
312316 func addArtwork (sha256Hash,signID,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
313317 then throw(maintenanceMSG)
314318 else {
315319 let artId = toBase58String(invoke.transactionId)
316320 let caller = toBase58String(invoke.caller.bytes)
317321 if (!(validateAllCID(cidDisplay, cidExport, cidLicence)))
318322 then throw("Problem with CID")
319323 else if (!(validateHash(sha256Hash)))
320324 then throw("Hash should be 64 characters maximum")
321325 else if (!(validateAllHash(sha256Export, sha256Licence)))
322326 then throw("Problem with Hashes")
323327 else if ((size(invoke.payments) == 0))
324328 then throw("No payment attached")
325329 else {
326330 let payment = value(invoke.payments[0])
327331 let amount = value(payment.amount)
328332 let assetId = if (if (isDefined(payment.assetId))
329333 then (payment.assetId == signAssetId)
330334 else false)
331335 then payment.assetId
332336 else throw("Only SIGN token accepted at the moment")
333337 let currentCertificationPrice = getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId)))
334338 if ((amount != currentCertificationPrice))
335339 then throw(("Payment amount should be " + toString(currentCertificationPrice)))
336340 else {
337341 let entryExist = getStringByKey(keyArtTxidByHashOwner(sha256Hash, caller))
338342 if ((entryExist != ""))
339343 then throw("You already added it")
340344 else {
341345 let hashExist = getStringByKey(keyArtOwnerByHash(sha256Hash))
342346 if ((hashExist != ""))
343347 then throw("Hash already registered")
344348 else {
345349 let isSignCertified = checkSignCertificate(signID, caller, sha256Hash)
346350 if (!(isSignCertified))
347351 then throw("Sign Certificate not found for this address.")
348352 else if ((size(cidDisplay) == 0))
349353 then throw("Display CID cannot be empty")
350354 else if (!(validateString(name, 100)))
351355 then throw("100 Char. max name")
352356 else if (!(validateString(description, 1000)))
353357 then throw("1000 Char. max description")
354358 else if ((size(split(tags, ",")) > 5))
355359 then throw("5 tags max.")
356360 else {
357361 let userIsRegistered = match getString(this, ("user_status_" + caller)) {
358362 case s: String =>
359363 s
360364 case _ =>
361365 userUnregistered
362366 }
363367 let timestamp = lastBlock.timestamp
364368 if (if (isDefined(userIsRegistered))
365369 then (userIsRegistered == userUnregistered)
366370 else false)
367371 then throw("Register this account first with \"User infos\" tab")
368372 else if ((userIsRegistered == userSuspended))
369373 then throw("Account suspended")
370374 else if ((userIsRegistered == userRemoved))
371375 then throw("Account removed")
372376 else if ((maxmint > 10))
373377 then throw("10 editions max")
374378 else if ((size(sha256Hash) != 64))
375379 then throw("Hash 64 char. max")
376380 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), sha256Licence), StringEntry(keyArtLicenceCid(caller, artId), cidLicence), 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("last_invoke_id", artId), StringEntry(keyArtHashByTxidAddr(caller, artId), sha256Hash), ScriptTransfer(Address(fromBase58String(feeReceiver)), amount, assetId)]
377381 }
378382 }
379383 }
380384 }
381385 }
382386 }
383387
384388
385389
386390 @Callable(invoke)
387391 func updateArtwork (txid,name,description,tags,type,maxmint,cidDisplay,sha256Export,cidExport,sha256Licence,cidLicence) = if (!(dappRunning))
388392 then throw(maintenanceMSG)
389393 else {
390394 let updateId = toBase58String(invoke.transactionId)
391395 let caller = toBase58String(invoke.caller.bytes)
392396 if (!(validateAllCID(cidDisplay, cidExport, cidLicence)))
393397 then throw("Problem with CID")
394398 else if (!(validateAllHash(sha256Export, sha256Licence)))
395399 then throw("Problem with Hashes")
396400 else {
397401 let entryExist = getStringByKey(keyArtName(caller, txid))
398402 if ((entryExist == ""))
399403 then throw("Entry not found")
400404 else if (!(validateString(name, 100)))
401405 then throw("100 Char. max name")
402406 else if (!(validateString(description, 1000)))
403407 then throw("1000 Char. max description")
404408 else {
405409 let flag = getStringByKey(keyArtFlag(caller, txid))
406410 if ((flag == "ILLEGAL"))
407411 then throw("Cannot update")
408412 else {
409413 let artworkMinted = match getInteger(this, keyArtIssued(caller, txid)) {
410414 case b: Int =>
411415 if ((b == 0))
412416 then false
413417 else true
414418 case _ =>
415419 false
416420 }
417421 if ((size(split(tags, ",")) > 5))
418422 then throw("5 tags max.")
419423 else {
420424 let userIsRegistered = match getString(this, ("user_status_" + caller)) {
421425 case s: String =>
422426 s
423427 case _ =>
424428 userUnregistered
425429 }
426430 if (if (isDefined(userIsRegistered))
427431 then (userIsRegistered == userUnregistered)
428432 else false)
429433 then throw("Register first with \"User infos\"")
430434 else if ((userIsRegistered == userSuspended))
431435 then throw("Account suspended")
432436 else if ((userIsRegistered == userRemoved))
433437 then throw("Account removed")
434438 else if ((maxmint > 10))
435439 then throw("10 editions max per artwork")
436440 else if (!(artworkMinted))
437441 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), cidLicence), StringEntry(keyArtLicenceHash(caller, txid), sha256Licence), IntegerEntry(keyArtMaxMint(caller, txid), maxmint), StringEntry(keyArtTags(caller, txid), tags), StringEntry(keyArtType(caller, txid), type), StringEntry("last_invoke_id", updateId)]
438442 else throw("Already minted")
439443 }
440444 }
441445 }
442446 }
443447 }
444448
445449
446450
447451 @Callable(i)
448452 func flagArtwork (artId,addr,flag) = {
449453 let caller = toString(addressFromPublicKey(i.callerPublicKey))
450454 let id = toBase58String(i.transactionId)
451455 if (containsElement([chris, joep], caller))
452456 then if ((flag == "CONSENT"))
453457 then [StringEntry(keyArtFlag(addr, artId), flag), StringEntry("last_invoke_id", id)]
454458 else if ((flag == ""))
455459 then [StringEntry(keyArtFlag(addr, artId), flag), StringEntry("last_invoke_id", id)]
456460 else if ((flag == "ILLEGAL"))
457461 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), ""), StringEntry("last_invoke_id", id)]
458462 else throw(("Unknow status" + flag))
459463 else throw("no")
460464 }
461465
462466
463467
464468 @Callable(i)
465469 func deleteArtwork (artId,addr) = {
466470 let caller = toString(addressFromPublicKey(i.callerPublicKey))
467471 let id = toBase58String(i.transactionId)
468472 let addressToUse = if (containsElement([chris, joep], caller))
469473 then addr
470474 else caller
471475 let entryExist = match getString(this, keyArtName(addressToUse, artId)) {
472476 case s: String =>
473477 s
474478 case _ =>
475479 throw("No art matching")
476480 }
477481 let artworkMinted = match getInteger(this, keyArtIssued(addressToUse, artId)) {
478482 case b: Int =>
479483 if ((b != 0))
480484 then true
481485 else false
482486 case _ =>
483487 false
484488 }
485489 let maxMint = getIntegerByKey(keyArtMaxMint(addressToUse, artId))
486490 let sha256Hash = match getString(this, keyArtHashByTxidAddr(addressToUse, artId)) {
487491 case s: String =>
488492 s
489493 case _ =>
490494 throw("No art hash matching")
491495 }
492496 let signID = match getString(this, keyArtSignID(addressToUse, artId)) {
493497 case s: String =>
494498 s
495499 case _ =>
496500 throw("No SIGN ID matching")
497501 }
498502 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)), StringEntry("last_invoke_id", id), DeleteEntry(keyArtOwnerByHash(sha256Hash)), DeleteEntry(keyArtArtidBySignid(addressToUse, signID)), DeleteEntry(keyArtTxidByHashOwner(sha256Hash, addressToUse))]
499503 if (!(artworkMinted))
500504 then if (!(dappRunning))
501505 then throw(maintenanceMSG)
502506 else dataToDelete
503507 else throw("Art already minted, cannot delete")
504508 }
505509
506510
507511
508512 @Callable(i)
509513 func sellArtwork (artId,price,maxMint,assetId) = if (!(dappRunning))
510514 then throw(maintenanceMSG)
511515 else {
512516 let id = toBase58String(i.transactionId)
513517 let caller = toBase58String(i.caller.bytes)
514518 let sellDate = lastBlock.timestamp
515519 let exportCID = getStringByKey(keyArtExportCid(caller, artId))
516520 if ((size(split(exportCID, "/")[0]) != 59))
517521 then throw("You cannot sell art with no export file")
518522 else {
519523 let exportHash = getStringByKey(keyArtExportHash(caller, artId))
520524 if ((size(exportHash) != 64))
521525 then throw("You cannot sell art with no export hash")
522526 else if (if (if ((assetId != toBase58String(signAssetId)))
523527 then (assetId != toBase58String(wavesAssetId))
524528 else false)
525529 then (assetId != toBase58String(usdnAssetId))
526530 else false)
527531 then throw("Only SIGN, USDN or WAVES accepted")
528532 else {
529533 let minSellWaves = getIntegerByKeyFromOracle("waves_min_sell")
530534 let minSellUsdn = 1000000
531535 let minSellSign = (getIntegerByKeyFromOracle(("certification_fee_" + toBase58String(signAssetId))) * 2)
532536 if (if (if (if (if ((assetId == toBase58String(usdnAssetId)))
533537 then (minSellUsdn > price)
534538 else false)
535539 then (price != 0)
536540 else false)
537541 then true
538542 else if (if ((assetId == toBase58String(signAssetId)))
539543 then (minSellSign > price)
540544 else false)
541545 then (price != 0)
542546 else false)
543547 then true
544548 else if (if ((assetId == toBase58String(wavesAssetId)))
545549 then (minSellWaves > price)
546550 else false)
547551 then (price != 0)
548552 else false)
549553 then throw("Wrong minimum sell price")
550554 else {
551555 let artworkName = match getString(this, keyArtName(caller, artId)) {
552556 case s: String =>
553557 s
554558 case _ =>
555559 throw("This art doesn't match")
556560 }
557561 let userIsRegistered = match getString(this, keyUserStatus(caller)) {
558562 case s: String =>
559563 s
560564 case _ =>
561565 throw("Register this account first")
562566 }
563567 let amountSold = getIntegerByKey(keyArtIssued(caller, artId))
564568 let maxCanSell = getIntegerByKey(keyArtMaxMint(caller, artId))
565569 if (if ((amountSold != 0))
566570 then (amountSold == maxCanSell)
567571 else false)
568572 then throw("Max edition reached.")
569573 else if (if ((amountSold > 0))
570574 then (maxCanSell != maxMint)
571575 else false)
572576 then throw("Cannot change maximum issuable anymore")
573577 else if ((userIsRegistered == userSuspended))
574578 then throw("Account suspended")
575579 else if ((userIsRegistered == userRemoved))
576580 then throw("Account deleted")
577581 else {
578582 let sellStatus = if ((price > 0))
579583 then true
580584 else false
581585 [BooleanEntry(keyArtOnSale(caller, artId), sellStatus), IntegerEntry(keyArtPrice(caller, artId), price), IntegerEntry(keyArtMaxMint(caller, artId), maxMint), StringEntry(keyArtAssetIdAccepted(caller, artId), assetId), StringEntry("last_invoke_id", id)]
582586 }
583587 }
584588 }
585589 }
586590 }
587591
588592
589593
590594 @Callable(i)
591595 func buyArtwork (artId,issuer) = if (!(dappRunning))
592596 then throw(maintenanceMSG)
593597 else {
594598 let id = toBase58String(i.transactionId)
595599 let caller = toBase58String(i.caller.bytes)
596600 let totalNFT = getIntegerByKey("total_nft_issued")
597601 let signID = getStringByKey(keyArtSignID(issuer, artId))
598602 let artworkName = match getString(this, keyArtName(issuer, artId)) {
599603 case s: String =>
600604 s
601605 case _ =>
602606 throw("Art doesn't exist")
603607 }
604608 let displayCID = getStringByKey(keyArtDisplayCid(issuer, artId))
605609 let exportCID = getStringByKey(keyArtExportCid(issuer, artId))
606610 let exportHash = getStringByKey(keyArtExportHash(issuer, artId))
607611 let licenceCID = getStringByKey(keyArtLicenceCid(issuer, artId))
608612 let licenceHash = getStringByKey(keyArtLicenceHash(issuer, artId))
609613 let description = take(getStringByKey(keyArtDesc(issuer, artId)), 50)
610614 let amountSold = getIntegerByKey(keyArtIssued(issuer, artId))
611615 let artworkPrice = getIntegerByKey(keyArtPrice(issuer, artId))
612616 let isOnSale = getBooleanByKey(keyArtOnSale(issuer, artId))
613617 let priceAssetId = getStringByKey(keyArtAssetIdAccepted(issuer, artId))
614618 let sourceHash = getStringByKey(keyArtHashByTxidAddr(issuer, artId))
615619 if ((artworkPrice == 0))
616620 then throw("Art not for sell")
617621 else if (!(isOnSale))
618622 then throw("Art not for sale")
619623 else {
620624 let maxCanSell = getIntegerByKey(keyArtMaxMint(issuer, artId))
621625 let payment = value(i.payments[0])
622626 let amount = value(payment.amount)
623627 let assetId = if (if (if (isDefined(payment.assetId))
624628 then (size(fromBase58String(priceAssetId)) > 0)
625629 else false)
626630 then (payment.assetId == fromBase58String(priceAssetId))
627631 else false)
628632 then payment.assetId
629633 else unit
630634 let cut = if ((priceAssetId == toBase58String(signAssetId)))
631635 then 8
632636 else 10
633637 let amountForSign = fraction(amount, cut, 100)
634638 let amountForCreator = (amount - amountForSign)
635639 if ((amountSold == maxCanSell))
636640 then throw("Art sold out")
637641 else if ((artworkPrice != amount))
638642 then throw("Payment don't match")
639643 else {
640644 let newAmountSold = (amountSold + 1)
641645 let entryDate = lastBlock.timestamp
642646 let issueMeta = (((((((((((((((((((((((((((("{\"version\": 1,
643647 \"creator\": \"" + issuer) + "\",
644648 \"artID\": \"") + artId) + "\",
645649 \"signID\": \"") + signID) + "\",
646650 \"artwork_name\": \"") + artworkName) + "\",
647651 \"artwork_desc\": \"") + description) + "\",
648652 \"issue\": \"") + toString(newAmountSold)) + "/") + toString(maxCanSell)) + "\",
649653 \"maxIssuable\": \"") + toString(maxCanSell)) + "\",
650654 \"source_hash\": \"") + sourceHash) + "\",
651655 \"display_cid\": \"") + displayCID) + "\",
652656 \"export_cid\": \"") + exportCID) + "\",
653657 \"export_hash\": \"") + exportHash) + "\",
654658 \"licence_cid\": \"") + licenceCID) + "\",
655659 \"licence_hash\": \"") + licenceHash) + "\"}")
656660 let issueNFT = Issue(("SA_" + toString((totalNFT + 1))), issueMeta, 1, 0, false)
657661 let idNFT = calculateAssetId(issueNFT)
658662 let sellStatus = if ((newAmountSold == maxCanSell))
659663 then false
660664 else true
661665 [IntegerEntry(keyArtIssued(issuer, artId), newAmountSold), StringEntry(((((((("art_sold_" + toString(newAmountSold)) + "_of_") + toString(maxCanSell)) + "_") + artId) + "_") + issuer), ((((((((((caller + "_") + toString(entryDate)) + "_") + id) + "_") + toString(artworkPrice)) + "_") + priceAssetId) + "_") + toBase58String(idNFT))), IntegerEntry("total_nft_issued", (totalNFT + 1)), BooleanEntry(keyArtOnSale(issuer, artId), sellStatus), StringEntry("last_invoke_id", id), issueNFT, ScriptTransfer(Address(fromBase58String(issuer)), amountForCreator, assetId), ScriptTransfer(Address(fromBase58String(feeReceiver)), amountForSign, assetId), ScriptTransfer(i.caller, 1, idNFT)]
662666 }
663667 }
664668 }
665669
666670
667671
668672 @Callable(i)
669673 func deleteUser (address) = {
670674 let caller = toString(addressFromPublicKey(i.callerPublicKey))
671675 let id = toBase58String(i.transactionId)
672676 if (containsElement([chris, joep], caller))
673677 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)]
674678 else throw("Not allowed")
675679 }
676680
677681
678682
679683 @Callable(i)
680684 func deleteEntry (entry) = {
681685 let caller = toString(addressFromPublicKey(i.callerPublicKey))
682686 if ((caller == chris))
683687 then [DeleteEntry(entry)]
684688 else throw("no")
685689 }
686690
687691
688692
689693 @Callable(i)
690694 func creditUser (address) = {
691695 let caller = toString(addressFromPublicKey(i.callerPublicKey))
692696 let id = toBase58String(i.transactionId)
693697 if (containsElement([chris, joep], caller))
694698 then [ScriptTransfer(Address(fromBase58String(address)), 150000000000, signAssetId)]
695699 else throw("Not allowed")
696700 }
697701
698702

github/deemru/w8io/026f985 
93.85 ms