tx · 3gAXb6hX2WoLvT8tt7ua5GSYUpeo6HVkpkMctobp5L4R 3NBcFbWgspcWLZ3dcNz7VsjXju14KZKD6XS: -0.01000000 Waves 2021.01.05 07:28 [1339614] smart account 3NBcFbWgspcWLZ3dcNz7VsjXju14KZKD6XS > SELF 0.00000000 Waves
{ "type": 13, "id": "3gAXb6hX2WoLvT8tt7ua5GSYUpeo6HVkpkMctobp5L4R", "fee": 1000000, "feeAssetId": null, "timestamp": 1609820950232, "version": 2, "chainId": 84, "sender": "3NBcFbWgspcWLZ3dcNz7VsjXju14KZKD6XS", "senderPublicKey": "2mxaGdu6PBzTkdURryThAc4i2pvLXVSdqzET1NaeFV5Q", "proofs": [ "5dzuCRgq4D8DSULd5dDPrrQRWaq57BZgn6PdLGsfCijDw2CHuoMtHvwJBmT3rSj6zeB8rRJRAkkeP4i1tovkrhT6" ], "script": "base64:AAIEAAAAAAAAADwIAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgAAAA7AAAAAAh1bml0VGVzdAYAAAAACW9yYWNsZUZlZQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAIc2lnbkRhcHAJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQIAAAAjM05DMjhoU2l2cm1zVFVYYVlEMXg2TDM2Mko0WnBVbm9UZEIAAAAAC2ZlZVJlY2VpdmVyAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAAIdXNlckRhcHADBQAAAAh1bml0VGVzdAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXQ0UkdNRXlqU1dZQW9jVFBxZDU1d2RIUVFCM1BVMlVDbQkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjh4WGFZakUyN0FhNzlkNWhIcmhIdTlIYUZ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9vZl8JAAGkAAAAAQUAAAAKbWF4Q2FuU2VsbAIAAAABXwUAAAAFYXJ0SWQCAAAAAV8FAAAABmlzc3VlcgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAZjYWxsZXICAAAAAV8JAAGkAAAAAQUAAAAJZW50cnlEYXRlAgAAAAFfBQAAAAJpZAIAAAABXwkAAaQAAAABBQAAAAxhcnR3b3JrUHJpY2UCAAAAAV8FAAAADHByaWNlQXNzZXRJZAIAAAABXwkAAlgAAAABBQAAAAVpZE5GVAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAQdG90YWxfbmZ0X2lzc3VlZAkAAGQAAAACBQAAAAh0b3RhbE5GVAAAAAAAAAAAAQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgkBAAAADGtleUFydE9uU2FsZQAAAAIFAAAABmlzc3VlcgUAAAAFYXJ0SWQFAAAACnNlbGxTdGF0dXMJAARMAAAAAgUAAAAIaXNzdWVORlQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAABmlzc3VlcgUAAAAQYW1vdW50Rm9yQ3JlYXRvcgUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAALZmVlUmVjZWl2ZXIFAAAADWFtb3VudEZvclNpZ24FAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAVpZE5GVAUAAAADbmlsAAAAAGhMoxY=", "height": 1339614, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = true | |
5 | + | ||
6 | + | let b = value(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
7 | + | ||
8 | + | let c = value(addressFromString("3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB")) | |
9 | + | ||
10 | + | let d = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
11 | + | ||
12 | + | let e = if (a) | |
13 | + | then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm")) | |
14 | + | else value(addressFromString("3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj")) | |
15 | + | ||
16 | + | let f = value(addressFromString("3Mt6jj1WUYqd7DT7dHEubs9jETLUXMcAB8k")) | |
17 | + | ||
18 | + | let g = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
19 | + | ||
20 | + | let h = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' | |
21 | + | ||
22 | + | let i = base58'' | |
23 | + | ||
24 | + | let j = "3MsG6jPNCrVJUtYB7XJBxS7utWsXAf4n9Vp" | |
25 | + | ||
26 | + | let k = "3Mzm4VLwsN9uZwbTMzPj3XuxV6kEfAR8UDN" | |
27 | + | ||
28 | + | let l = 7 | |
29 | + | ||
30 | + | let m = 10 | |
31 | + | ||
32 | + | let n = 10 | |
33 | + | ||
34 | + | let o = "bafybeigisfqtyo2qdfsceh5fpcp7eeymrpeglp6edao2bmyhijbayvausy/licence.pdf" | |
35 | + | ||
36 | + | let p = "3df79d34abbca99308e79cb94461c1893582604d68329a41fd4bec1885e6adb4" | |
37 | + | ||
38 | + | let q = { | |
39 | + | let r = getBoolean(e, "conf_dapp_is_running") | |
40 | + | if ($isInstanceOf(r, "Boolean")) | |
41 | + | then { | |
42 | + | let s = r | |
43 | + | s | |
44 | + | } | |
45 | + | else true | |
46 | + | } | |
47 | + | ||
48 | + | let t = { | |
49 | + | let r = getString(e, "conf_maintenance_msg") | |
50 | + | if ($isInstanceOf(r, "String")) | |
51 | + | then { | |
52 | + | let s = r | |
53 | + | s | |
54 | + | } | |
55 | + | else "" | |
56 | + | } | |
57 | + | ||
58 | + | let u = "SUSPENDED" | |
59 | + | ||
60 | + | let v = "REMOVED" | |
61 | + | ||
62 | + | let w = "UNREGISTERED" | |
63 | + | ||
64 | + | let x = "ALLOWED" | |
65 | + | ||
66 | + | func y (z) = { | |
67 | + | let r = getString(e, z) | |
68 | + | if ($isInstanceOf(r, "String")) | |
69 | + | then { | |
70 | + | let s = r | |
71 | + | s | |
72 | + | } | |
73 | + | else "" | |
74 | + | } | |
75 | + | ||
76 | + | ||
77 | + | func A (z) = { | |
78 | + | let r = getString(this, z) | |
79 | + | if ($isInstanceOf(r, "String")) | |
80 | + | then { | |
81 | + | let s = r | |
82 | + | s | |
83 | + | } | |
84 | + | else "" | |
85 | + | } | |
86 | + | ||
87 | + | ||
88 | + | func B (z) = { | |
89 | + | let r = getInteger(b, z) | |
90 | + | if ($isInstanceOf(r, "Int")) | |
91 | + | then { | |
92 | + | let s = r | |
93 | + | s | |
94 | + | } | |
95 | + | else throw("Integer undefine or 0 in oracle") | |
96 | + | } | |
97 | + | ||
98 | + | ||
99 | + | func C (z) = { | |
100 | + | let r = getInteger(this, z) | |
101 | + | if ($isInstanceOf(r, "Int")) | |
102 | + | then { | |
103 | + | let D = r | |
104 | + | D | |
105 | + | } | |
106 | + | else 0 | |
107 | + | } | |
108 | + | ||
109 | + | ||
110 | + | func E (z) = { | |
111 | + | let r = getInteger(f, z) | |
112 | + | if ($isInstanceOf(r, "Int")) | |
113 | + | then { | |
114 | + | let s = r | |
115 | + | if ((s >= height)) | |
116 | + | then 1 | |
117 | + | else 0 | |
118 | + | } | |
119 | + | else 0 | |
120 | + | } | |
121 | + | ||
122 | + | ||
123 | + | func F (z) = { | |
124 | + | let r = getBoolean(this, z) | |
125 | + | if ($isInstanceOf(r, "Boolean")) | |
126 | + | then { | |
127 | + | let D = r | |
128 | + | D | |
129 | + | } | |
130 | + | else false | |
131 | + | } | |
132 | + | ||
133 | + | ||
134 | + | func G (H,I,J) = { | |
135 | + | let r = getString(c, ((("data_fc_" + H) + "_") + I)) | |
136 | + | if ($isInstanceOf(r, "String")) | |
137 | + | then { | |
138 | + | let s = r | |
139 | + | if (contains(s, J)) | |
140 | + | then true | |
141 | + | else false | |
142 | + | } | |
143 | + | else false | |
144 | + | } | |
145 | + | ||
146 | + | ||
147 | + | func K (L) = if (contains(L, "/")) | |
148 | + | then if (if ((75 > size(L))) | |
149 | + | then (60 > size(split(L, "/")[0])) | |
150 | + | else false) | |
151 | + | then (16 > size(split(L, "/")[1])) | |
152 | + | else false | |
153 | + | else false | |
154 | + | ||
155 | + | ||
156 | + | func M (N) = (65 > size(N)) | |
157 | + | ||
158 | + | ||
159 | + | func O (P) = ("user_status_" + P) | |
160 | + | ||
161 | + | ||
162 | + | func Q (P,R) = ((("art_date_" + R) + "_") + P) | |
163 | + | ||
164 | + | ||
165 | + | func S (P,R) = ((("art_name_" + R) + "_") + P) | |
166 | + | ||
167 | + | ||
168 | + | func T (P,R) = ((("art_desc_" + R) + "_") + P) | |
169 | + | ||
170 | + | ||
171 | + | func U (P,R) = ((("art_display_cid_" + R) + "_") + P) | |
172 | + | ||
173 | + | ||
174 | + | func V (P,R) = ((("art_export_hash_" + R) + "_") + P) | |
175 | + | ||
176 | + | ||
177 | + | func W (P,R) = ((("art_export_cid_" + R) + "_") + P) | |
178 | + | ||
179 | + | ||
180 | + | func X (P,R) = ((("art_maxmint_" + R) + "_") + P) | |
181 | + | ||
182 | + | ||
183 | + | func Y (P,R) = ((("art_signid_" + R) + "_") + P) | |
184 | + | ||
185 | + | ||
186 | + | func Z (P,R) = ((("art_issued_" + R) + "_") + P) | |
187 | + | ||
188 | + | ||
189 | + | func aa (P,R) = ((("art_onsale_" + R) + "_") + P) | |
190 | + | ||
191 | + | ||
192 | + | func ab (P,R) = ((("art_licence_hash_" + R) + "_") + P) | |
193 | + | ||
194 | + | ||
195 | + | func ac (P,R) = ((("art_licence_cid_" + R) + "_") + P) | |
196 | + | ||
197 | + | ||
198 | + | func ad (P,R) = ((("art_tags_" + R) + "_") + P) | |
199 | + | ||
200 | + | ||
201 | + | func ae (P,R) = ((("art_type_" + R) + "_") + P) | |
202 | + | ||
203 | + | ||
204 | + | func af (P,R) = ((("art_price_" + R) + "_") + P) | |
205 | + | ||
206 | + | ||
207 | + | func ag (P,R) = ((("art_assetAccepted_" + R) + "_") + P) | |
208 | + | ||
209 | + | ||
210 | + | func ah (P,R) = ((("art_flag_" + R) + "_") + P) | |
211 | + | ||
212 | + | ||
213 | + | func ai (P,aj) = ((("get_hashbytxidaddr_" + aj) + "_") + P) | |
214 | + | ||
215 | + | ||
216 | + | func ak (J) = ("get_owner_by_hash_" + J) | |
217 | + | ||
218 | + | ||
219 | + | func al (P,am) = ((("get_artidbysignid_" + am) + "_") + P) | |
220 | + | ||
221 | + | ||
222 | + | func an (J,P) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((J + P))))) | |
223 | + | ||
224 | + | ||
225 | + | func ao (ap,aq,ar) = if (!(K(ap))) | |
226 | + | then throw("Wrong Display CID") | |
227 | + | else if (!(K(aq))) | |
228 | + | then throw("Wrong Export CID") | |
229 | + | else if (if ((ar != "")) | |
230 | + | then !(K(ar)) | |
231 | + | else false) | |
232 | + | then throw("Wrong Licence CID") | |
233 | + | else true | |
234 | + | ||
235 | + | ||
236 | + | func as (at,au) = if (!(M(at))) | |
237 | + | then throw("Export Hash 64 char. max") | |
238 | + | else if (!(M(au))) | |
239 | + | then throw("Licence Hash 64 char. max") | |
240 | + | else true | |
241 | + | ||
242 | + | ||
243 | + | func av (aw,ax) = if ((size(aw) == 0)) | |
244 | + | then throw("Field cannot be is empty") | |
245 | + | else if ((size(aw) > ax)) | |
246 | + | then throw((aw + " is too long")) | |
247 | + | else true | |
248 | + | ||
249 | + | ||
250 | + | func ay (az) = if (if ((az == w)) | |
251 | + | then true | |
252 | + | else (az == x)) | |
253 | + | then "Register this account first with \"Account\" tab" | |
254 | + | else if ((az == u)) | |
255 | + | then "Account suspended" | |
256 | + | else if ((az == v)) | |
257 | + | then "Account removed" | |
258 | + | else "" | |
259 | + | ||
260 | + | ||
261 | + | func aA (ar) = if ((size(ar) == 0)) | |
262 | + | then o | |
263 | + | else ar | |
264 | + | ||
265 | + | ||
266 | + | func aB (au) = if ((size(au) == 0)) | |
267 | + | then p | |
268 | + | else au | |
269 | + | ||
270 | + | ||
271 | + | @Callable(aC) | |
272 | + | func addArtwork (J,H,aD,aE,aF,aG,aH,ap,at,aq,au,ar) = if (!(q)) | |
273 | + | then throw(t) | |
274 | + | else { | |
275 | + | let R = toBase58String(aC.transactionId) | |
276 | + | let aI = lastBlock.timestamp | |
277 | + | let P = toBase58String(aC.caller.bytes) | |
278 | + | let aJ = aA(ar) | |
279 | + | let aK = aB(au) | |
280 | + | let aL = valueOrElse(getString(e, O(P)), w) | |
281 | + | let aM = ay(aL) | |
282 | + | if ((aM != "")) | |
283 | + | then throw(aM) | |
284 | + | else if (!(ao(ap, aq, aJ))) | |
285 | + | then throw("Problem with CID") | |
286 | + | else if (!(M(J))) | |
287 | + | then throw("Hash should be 64 characters maximum") | |
288 | + | else if (!(as(at, aK))) | |
289 | + | then throw("Problem with Hashes") | |
290 | + | else if ((size(aC.payments) == 0)) | |
291 | + | then throw("No payment attached") | |
292 | + | else { | |
293 | + | let aN = value(aC.payments[0]) | |
294 | + | let aO = value(aN.amount) | |
295 | + | let aP = if (if (isDefined(aN.assetId)) | |
296 | + | then (aN.assetId == g) | |
297 | + | else false) | |
298 | + | then aN.assetId | |
299 | + | else throw("Only SIGN token accepted as transaction fee") | |
300 | + | let aQ = B(("certification_fee_" + toBase58String(g))) | |
301 | + | if ((aO != aQ)) | |
302 | + | then throw(("Payment amount should be " + toString(aQ))) | |
303 | + | else { | |
304 | + | let aR = A(an(J, P)) | |
305 | + | if ((aR != "")) | |
306 | + | then throw("You already added it") | |
307 | + | else { | |
308 | + | let aS = A(ak(J)) | |
309 | + | if ((aS != "")) | |
310 | + | then throw("Hash already registered") | |
311 | + | else { | |
312 | + | let aT = G(H, P, J) | |
313 | + | if (!(aT)) | |
314 | + | then throw("Sign Certificate not found for this address.") | |
315 | + | else if ((size(ap) == 0)) | |
316 | + | then throw("Display CID cannot be empty") | |
317 | + | else if (!(av(aD, 100))) | |
318 | + | then throw("100 Char. max name") | |
319 | + | else if (!(av(aE, 1000))) | |
320 | + | then throw("1000 Char. max description") | |
321 | + | else if ((size(split(aF, ",")) > 5)) | |
322 | + | then throw("5 tags max.") | |
323 | + | else if ((aH > 10)) | |
324 | + | then throw("10 editions max") | |
325 | + | else [StringEntry(ak(J), P), StringEntry(an(J, P), R), IntegerEntry(Q(P, R), aI), StringEntry(S(P, R), aD), StringEntry(T(P, R), aE), StringEntry(U(P, R), ap), StringEntry(W(P, R), aq), StringEntry(V(P, R), at), StringEntry(ab(P, R), aK), StringEntry(ac(P, R), aJ), StringEntry(ae(P, R), aG), StringEntry(ad(P, R), aF), IntegerEntry(X(P, R), aH), StringEntry(Y(P, R), H), IntegerEntry(Z(P, R), 0), BooleanEntry(aa(P, R), false), StringEntry(al(P, H), R), StringEntry(ai(P, R), J), ScriptTransfer(Address(fromBase58String(d)), aO, aP)] | |
326 | + | } | |
327 | + | } | |
328 | + | } | |
329 | + | } | |
330 | + | } | |
331 | + | ||
332 | + | ||
333 | + | ||
334 | + | @Callable(aC) | |
335 | + | func updateArtwork (aj,aD,aE,aF,aG,aH,ap,at,aq,au,ar) = if (!(q)) | |
336 | + | then throw(t) | |
337 | + | else { | |
338 | + | let aU = toBase58String(aC.transactionId) | |
339 | + | let P = toBase58String(aC.caller.bytes) | |
340 | + | let aJ = aA(ar) | |
341 | + | let aK = aB(au) | |
342 | + | let aL = y(O(P)) | |
343 | + | let aM = ay(aL) | |
344 | + | if ((aM != "")) | |
345 | + | then throw(aM) | |
346 | + | else if (!(ao(ap, aq, aJ))) | |
347 | + | then throw("Problem with CID") | |
348 | + | else if (!(as(at, aK))) | |
349 | + | then throw("Problem with Hashes") | |
350 | + | else { | |
351 | + | let aR = A(S(P, aj)) | |
352 | + | if ((aR == "")) | |
353 | + | then throw("Entry not found") | |
354 | + | else if (!(av(aD, 100))) | |
355 | + | then throw("100 Char. max name") | |
356 | + | else if (!(av(aE, 1000))) | |
357 | + | then throw("1000 Char. max description") | |
358 | + | else { | |
359 | + | let aV = A(ah(P, aj)) | |
360 | + | if ((aV == "ILLEGAL")) | |
361 | + | then throw("Cannot update ILLEGAL artwork") | |
362 | + | else { | |
363 | + | let aW = { | |
364 | + | let r = getInteger(this, Z(P, aj)) | |
365 | + | if ($isInstanceOf(r, "Int")) | |
366 | + | then { | |
367 | + | let aX = r | |
368 | + | if ((aX == 0)) | |
369 | + | then false | |
370 | + | else true | |
371 | + | } | |
372 | + | else false | |
373 | + | } | |
374 | + | if ((size(split(aF, ",")) > 5)) | |
375 | + | then throw("5 tags max.") | |
376 | + | else if ((aH > 10)) | |
377 | + | then throw("10 editions max per artwork") | |
378 | + | else if (!(aW)) | |
379 | + | then [StringEntry(S(P, aj), aD), StringEntry(T(P, aj), aE), StringEntry(U(P, aj), ap), StringEntry(W(P, aj), aq), StringEntry(V(P, aj), at), StringEntry(ac(P, aj), aJ), StringEntry(ab(P, aj), aK), IntegerEntry(X(P, aj), aH), StringEntry(ad(P, aj), aF), StringEntry(ae(P, aj), aG)] | |
380 | + | else throw("Already minted") | |
381 | + | } | |
382 | + | } | |
383 | + | } | |
384 | + | } | |
385 | + | ||
386 | + | ||
387 | + | ||
388 | + | @Callable(D) | |
389 | + | func flagArtwork (R,aY,aV) = { | |
390 | + | let P = toString(addressFromPublicKey(D.callerPublicKey)) | |
391 | + | let aZ = toBase58String(D.transactionId) | |
392 | + | if (containsElement([j, k, toString(this)], P)) | |
393 | + | then if ((aV == "CONSENT")) | |
394 | + | then [StringEntry(ah(aY, R), aV)] | |
395 | + | else if ((aV == "")) | |
396 | + | then [StringEntry(ah(aY, R), aV)] | |
397 | + | else if ((aV == "ILLEGAL")) | |
398 | + | then [StringEntry(ah(aY, R), aV), StringEntry(S(aY, R), "ILLEGAL CONTENT"), StringEntry(T(aY, R), "ILLEGAL CONTENT"), StringEntry(U(aY, R), ""), StringEntry(W(aY, R), ""), StringEntry(ac(aY, R), "")] | |
399 | + | else throw(("Unknow status " + aV)) | |
400 | + | else throw("You are not allowed") | |
401 | + | } | |
402 | + | ||
403 | + | ||
404 | + | ||
405 | + | @Callable(D) | |
406 | + | func deleteArtwork (R,aY) = { | |
407 | + | let P = toString(addressFromPublicKey(D.callerPublicKey)) | |
408 | + | let aZ = toBase58String(D.transactionId) | |
409 | + | let ba = if (containsElement([j, k, toString(this)], P)) | |
410 | + | then aY | |
411 | + | else P | |
412 | + | let aR = A(S(ba, R)) | |
413 | + | if ((aR == "")) | |
414 | + | then throw("No art matching for this address") | |
415 | + | else { | |
416 | + | let aW = { | |
417 | + | let r = getInteger(this, Z(ba, R)) | |
418 | + | if ($isInstanceOf(r, "Int")) | |
419 | + | then { | |
420 | + | let aX = r | |
421 | + | if ((aX != 0)) | |
422 | + | then true | |
423 | + | else false | |
424 | + | } | |
425 | + | else false | |
426 | + | } | |
427 | + | let J = A(ai(ba, R)) | |
428 | + | if ((J == "")) | |
429 | + | then throw("No art hash matching for this address") | |
430 | + | else { | |
431 | + | let H = A(Y(ba, R)) | |
432 | + | if ((H == "")) | |
433 | + | then throw("No SIGN ID matching") | |
434 | + | else { | |
435 | + | let bb = [DeleteEntry(Q(ba, R)), DeleteEntry(S(ba, R)), DeleteEntry(T(ba, R)), DeleteEntry(U(ba, R)), DeleteEntry(W(ba, R)), DeleteEntry(V(ba, R)), DeleteEntry(ab(ba, R)), DeleteEntry(ac(ba, R)), DeleteEntry(ae(ba, R)), DeleteEntry(ad(ba, R)), DeleteEntry(X(ba, R)), DeleteEntry(Y(ba, R)), DeleteEntry(Z(ba, R)), DeleteEntry(aa(ba, R)), DeleteEntry(ah(aY, R)), DeleteEntry(ak(J)), DeleteEntry(al(ba, H)), DeleteEntry(an(J, ba))] | |
436 | + | if (!(aW)) | |
437 | + | then if (!(q)) | |
438 | + | then throw(t) | |
439 | + | else bb | |
440 | + | else if (containsElement([j, toString(this)], P)) | |
441 | + | then bb | |
442 | + | else throw("Art already minted, cannot delete") | |
443 | + | } | |
444 | + | } | |
445 | + | } | |
446 | + | } | |
447 | + | ||
448 | + | ||
449 | + | ||
450 | + | @Callable(D) | |
451 | + | func sellArtwork (R,bc,bd,aP) = if (!(q)) | |
452 | + | then throw(t) | |
453 | + | else { | |
454 | + | let aZ = toBase58String(D.transactionId) | |
455 | + | let P = toBase58String(D.caller.bytes) | |
456 | + | let be = lastBlock.timestamp | |
457 | + | let bf = A(S(P, R)) | |
458 | + | if ((bf == "")) | |
459 | + | then throw("This art doesn't match match your account") | |
460 | + | else { | |
461 | + | let bg = A(W(P, R)) | |
462 | + | if ((size(split(bg, "/")[0]) != 59)) | |
463 | + | then throw("You cannot sell art with no export file") | |
464 | + | else { | |
465 | + | let bh = A(V(P, R)) | |
466 | + | if ((size(bh) != 64)) | |
467 | + | then throw("You cannot sell art with no export hash") | |
468 | + | else if (if (if ((aP != toBase58String(g))) | |
469 | + | then (aP != toBase58String(i)) | |
470 | + | else false) | |
471 | + | then (aP != toBase58String(h)) | |
472 | + | else false) | |
473 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
474 | + | else { | |
475 | + | let bi = if (a) | |
476 | + | then 1 | |
477 | + | else B("waves_min_sell") | |
478 | + | let bj = 1000000 | |
479 | + | let bk = if (a) | |
480 | + | then 1 | |
481 | + | else (B(("certification_fee_" + toBase58String(g))) * 2) | |
482 | + | if (if (if (if (if ((aP == toBase58String(h))) | |
483 | + | then (bj > bc) | |
484 | + | else false) | |
485 | + | then (bc != 0) | |
486 | + | else false) | |
487 | + | then true | |
488 | + | else if (if ((aP == toBase58String(g))) | |
489 | + | then (bk > bc) | |
490 | + | else false) | |
491 | + | then (bc != 0) | |
492 | + | else false) | |
493 | + | then true | |
494 | + | else if (if ((aP == toBase58String(i))) | |
495 | + | then (bi > bc) | |
496 | + | else false) | |
497 | + | then (bc != 0) | |
498 | + | else false) | |
499 | + | then throw("Wrong minimum sell price") | |
500 | + | else { | |
501 | + | let aL = y(O(P)) | |
502 | + | if (if ((aL == "")) | |
503 | + | then true | |
504 | + | else (aL == x)) | |
505 | + | then throw("Register this account first") | |
506 | + | else if ((aL == u)) | |
507 | + | then throw("Account suspended") | |
508 | + | else if ((aL == v)) | |
509 | + | then throw("Account deleted") | |
510 | + | else { | |
511 | + | let bl = C(Z(P, R)) | |
512 | + | let bm = C(X(P, R)) | |
513 | + | if ((bd > 10)) | |
514 | + | then throw("10 editions max per artwork") | |
515 | + | else if (if ((bl != 0)) | |
516 | + | then (bl == bm) | |
517 | + | else false) | |
518 | + | then throw("Max edition reached.") | |
519 | + | else if (if ((bl > 0)) | |
520 | + | then (bm != bd) | |
521 | + | else false) | |
522 | + | then throw("Cannot change maximum issuable anymore") | |
523 | + | else { | |
524 | + | let bn = if (if ((bc > 0)) | |
525 | + | then (bd > 0) | |
526 | + | else false) | |
527 | + | then true | |
528 | + | else false | |
529 | + | [BooleanEntry(aa(P, R), bn), IntegerEntry(af(P, R), bc), IntegerEntry(X(P, R), bd), StringEntry(ag(P, R), aP)] | |
530 | + | } | |
531 | + | } | |
532 | + | } | |
533 | + | } | |
534 | + | } | |
535 | + | } | |
536 | + | } | |
537 | + | ||
538 | + | ||
539 | + | ||
540 | + | @Callable(D) | |
541 | + | func buyArtwork (R,bo) = if (!(q)) | |
542 | + | then throw(t) | |
543 | + | else { | |
544 | + | let aZ = toBase58String(D.transactionId) | |
545 | + | let P = toBase58String(D.caller.bytes) | |
546 | + | let bp = C("total_nft_issued") | |
547 | + | let H = A(Y(bo, R)) | |
548 | + | let bf = A(S(bo, R)) | |
549 | + | if ((bf == "")) | |
550 | + | then throw("Art doesn't exist") | |
551 | + | else { | |
552 | + | let bq = A(U(bo, R)) | |
553 | + | let bg = A(W(bo, R)) | |
554 | + | let bh = A(V(bo, R)) | |
555 | + | let aJ = A(ac(bo, R)) | |
556 | + | let aK = A(ab(bo, R)) | |
557 | + | let aE = take(A(T(bo, R)), 50) | |
558 | + | let br = F(aa(bo, R)) | |
559 | + | let bl = C(Z(bo, R)) | |
560 | + | let bs = C(af(bo, R)) | |
561 | + | let bt = A(ag(bo, R)) | |
562 | + | let bu = A(ai(bo, R)) | |
563 | + | let bm = C(X(bo, R)) | |
564 | + | if (if (if ((0 >= bs)) | |
565 | + | then true | |
566 | + | else !(br)) | |
567 | + | then true | |
568 | + | else (0 >= bm)) | |
569 | + | then throw("Art not for sale") | |
570 | + | else { | |
571 | + | let aN = value(D.payments[0]) | |
572 | + | let aO = value(aN.amount) | |
573 | + | let aP = if (!(isDefined(aN.assetId))) | |
574 | + | then unit | |
575 | + | else if (if ((size(bt) > 0)) | |
576 | + | then (toBase58String(value(aN.assetId)) == bt) | |
577 | + | else false) | |
578 | + | then aN.assetId | |
579 | + | else throw("Wrong asset id") | |
580 | + | if (if ((aP == unit)) | |
581 | + | then (bt != "") | |
582 | + | else false) | |
583 | + | then throw("Wrong asset id") | |
584 | + | else { | |
585 | + | let bv = E(bo) | |
586 | + | let bw = if ((bv == 1)) | |
587 | + | then 0 | |
588 | + | else if ((bt == toBase58String(g))) | |
589 | + | then 8 | |
590 | + | else 10 | |
591 | + | let bx = fraction(aO, bw, 100) | |
592 | + | let by = (aO - bx) | |
593 | + | if ((bl == bm)) | |
594 | + | then throw("Art sold out") | |
595 | + | else if ((bs != aO)) | |
596 | + | then throw("Payment don't match") | |
597 | + | else { | |
598 | + | let bz = (bl + 1) | |
599 | + | let bA = lastBlock.timestamp | |
600 | + | let bB = ((((((((((((((((((((((((((("Creator: " + bo) + ", | |
601 | + | ArtID: ") + R) + ", | |
602 | + | SignID: ") + H) + ", | |
603 | + | Artwork name: ") + bf) + ", | |
604 | + | Artwork description: ") + aE) + ", | |
605 | + | Issue: ") + toString(bz)) + "/") + toString(bm)) + ", | |
606 | + | Max issuable: ") + toString(bm)) + ", | |
607 | + | Source hash: ") + bu) + ", | |
608 | + | Display cid: ") + bq) + ", | |
609 | + | Export cid: ") + bg) + ", | |
610 | + | Export hash: ") + bh) + ", | |
611 | + | Licence cid: ") + aJ) + ", | |
612 | + | Licence hash: ") + aK) | |
613 | + | let bC = Issue(("SA_" + toString((bp + 1))), bB, 1, 0, false) | |
614 | + | let bD = calculateAssetId(bC) | |
615 | + | let bn = if ((bz == bm)) | |
616 | + | then false | |
617 | + | else true | |
618 | + | [IntegerEntry(Z(bo, R), bz), StringEntry(("nft_" + toBase58String(bD)), ((((((("art_sold_" + toString(bz)) + "_of_") + toString(bm)) + "_") + R) + "_") + bo)), StringEntry(((((((("art_sold_" + toString(bz)) + "_of_") + toString(bm)) + "_") + R) + "_") + bo), ((((((((((P + "_") + toString(bA)) + "_") + aZ) + "_") + toString(bs)) + "_") + bt) + "_") + toBase58String(bD))), IntegerEntry("total_nft_issued", (bp + 1)), BooleanEntry(aa(bo, R), bn), bC, ScriptTransfer(Address(fromBase58String(bo)), by, aP), ScriptTransfer(Address(fromBase58String(d)), bx, aP), ScriptTransfer(D.caller, 1, bD)] | |
619 | + | } | |
620 | + | } | |
621 | + | } | |
622 | + | } | |
623 | + | } | |
624 | + | ||
625 | + |
github/deemru/w8io/026f985 38.38 ms ◑