tx · EiWE5nBSHVa6kcqEcakLJNpEdK3BTSd9GMtMdFx58cQt 3N9sxZZYZV6E5r8xrx2V6dFQAQKmutegPKo: -0.01000000 Waves 2020.12.24 11:26 [1322535] smart account 3N9sxZZYZV6E5r8xrx2V6dFQAQKmutegPKo > SELF 0.00000000 Waves
{ "type": 13, "id": "EiWE5nBSHVa6kcqEcakLJNpEdK3BTSd9GMtMdFx58cQt", "fee": 1000000, "feeAssetId": null, "timestamp": 1608798385478, "version": 2, "chainId": 84, "sender": "3N9sxZZYZV6E5r8xrx2V6dFQAQKmutegPKo", "senderPublicKey": "HCm71hKqpvgVw3BcZgBARv7QW5ohAYyqmtndhYNTCpQj", "proofs": [ "34idXLNBkULumvyo4upnLmMMTZyudRz1QqmiMEGdGoFgPYvDRUtspMZ83sNEGCdLQsoU1NBzbkm9xEGgzUTAcP7B" ], "script": "base64:AAIEAAAAAAAAAEEIAhIOCgwICAgICAgBCAgICAgSDQoLCAgICAgBCAgICAgSBQoDCAgIEgQKAggIEgYKBAgBAQgSBAoCCAgSAwoBCAAAADgAAAAACHVuaXRUZXN0BwAAAAAJb3JhY2xlRmVlCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAAhzaWduRGFwcAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTkMyOGhTaXZybXNUVVhhWUQxeDZMMzYySjRacFVub1RkQgAAAAALZmVlUmVjZWl2ZXICAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAAh1c2VyRGFwcAMFAAAACHVuaXRUZXN0CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNOOHhYYVlqRTI3QWE3OWQ1aEhyaEh1OUhhRm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AAJZAAAAAQUAAAALZmVlUmVjZWl2ZXIFAAAADWFtb3VudEZvclNpZ24FAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAVpZE5GVAUAAAADbmlsAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQQAAAAGY2FsbGVyCQAEJQAAAAEJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQMJAAAAAAAAAgUAAAAGY2FsbGVyBQAAAAVjaHJpcwkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAA3KE+s=", "height": 1322535, "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 = false | |
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 | + | @Callable(ay) | |
251 | + | func addArtwork (J,H,az,aA,aB,aC,aD,ap,at,aq,au,ar) = if (!(q)) | |
252 | + | then throw(t) | |
253 | + | else { | |
254 | + | let R = toBase58String(ay.transactionId) | |
255 | + | let P = toBase58String(ay.caller.bytes) | |
256 | + | let aE = lastBlock.timestamp | |
257 | + | let aF = if ((size(ar) == 0)) | |
258 | + | then o | |
259 | + | else ar | |
260 | + | let aG = if ((size(au) == 0)) | |
261 | + | then p | |
262 | + | else au | |
263 | + | let aH = { | |
264 | + | let r = getString(e, ("user_status_" + P)) | |
265 | + | if ($isInstanceOf(r, "String")) | |
266 | + | then { | |
267 | + | let aI = r | |
268 | + | aI | |
269 | + | } | |
270 | + | else w | |
271 | + | } | |
272 | + | if (if (isDefined(aH)) | |
273 | + | then if ((aH == w)) | |
274 | + | then true | |
275 | + | else (aH == x) | |
276 | + | else false) | |
277 | + | then throw("Register this account first with \"Account\" tab") | |
278 | + | else if ((aH == u)) | |
279 | + | then throw("Account suspended") | |
280 | + | else if ((aH == v)) | |
281 | + | then throw("Account removed") | |
282 | + | else if (!(ao(ap, aq, aF))) | |
283 | + | then throw("Problem with CID") | |
284 | + | else if (!(M(J))) | |
285 | + | then throw("Hash should be 64 characters maximum") | |
286 | + | else if (!(as(at, aG))) | |
287 | + | then throw("Problem with Hashes") | |
288 | + | else if ((size(ay.payments) == 0)) | |
289 | + | then throw("No payment attached") | |
290 | + | else { | |
291 | + | let aJ = value(ay.payments[0]) | |
292 | + | let aK = value(aJ.amount) | |
293 | + | let aL = if (if (isDefined(aJ.assetId)) | |
294 | + | then (aJ.assetId == g) | |
295 | + | else false) | |
296 | + | then aJ.assetId | |
297 | + | else throw("Only SIGN token accepted") | |
298 | + | let aM = B(("certification_fee_" + toBase58String(g))) | |
299 | + | if ((aK != aM)) | |
300 | + | then throw(("Payment amount should be " + toString(aM))) | |
301 | + | else { | |
302 | + | let aN = A(an(J, P)) | |
303 | + | if ((aN != "")) | |
304 | + | then throw("You already added it") | |
305 | + | else { | |
306 | + | let aO = A(ak(J)) | |
307 | + | if ((aO != "")) | |
308 | + | then throw("Hash already registered") | |
309 | + | else { | |
310 | + | let aP = G(H, P, J) | |
311 | + | if (!(aP)) | |
312 | + | then throw("Sign Certificate not found for this address.") | |
313 | + | else if ((size(ap) == 0)) | |
314 | + | then throw("Display CID cannot be empty") | |
315 | + | else if (!(av(az, 100))) | |
316 | + | then throw("100 Char. max name") | |
317 | + | else if (!(av(aA, 1000))) | |
318 | + | then throw("1000 Char. max description") | |
319 | + | else if ((size(split(aB, ",")) > 5)) | |
320 | + | then throw("5 tags max.") | |
321 | + | else if ((aD > 10)) | |
322 | + | then throw("10 editions max") | |
323 | + | else [StringEntry(ak(J), P), StringEntry(an(J, P), R), IntegerEntry(Q(P, R), aE), StringEntry(S(P, R), az), StringEntry(T(P, R), aA), StringEntry(U(P, R), ap), StringEntry(W(P, R), aq), StringEntry(V(P, R), at), StringEntry(ab(P, R), aG), StringEntry(ac(P, R), aF), StringEntry(ae(P, R), aC), StringEntry(ad(P, R), aB), IntegerEntry(X(P, R), aD), 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)), aK, aL)] | |
324 | + | } | |
325 | + | } | |
326 | + | } | |
327 | + | } | |
328 | + | } | |
329 | + | ||
330 | + | ||
331 | + | ||
332 | + | @Callable(ay) | |
333 | + | func updateArtwork (aj,az,aA,aB,aC,aD,ap,at,aq,au,ar) = if (!(q)) | |
334 | + | then throw(t) | |
335 | + | else { | |
336 | + | let aQ = toBase58String(ay.transactionId) | |
337 | + | let P = toBase58String(ay.caller.bytes) | |
338 | + | let aF = if ((size(ar) == 0)) | |
339 | + | then o | |
340 | + | else ar | |
341 | + | let aG = if ((size(au) == 0)) | |
342 | + | then p | |
343 | + | else au | |
344 | + | let aH = y(O(P)) | |
345 | + | if (if ((aH == "")) | |
346 | + | then true | |
347 | + | else (aH == x)) | |
348 | + | then throw("Register first with \"User infos\"") | |
349 | + | else if ((aH == u)) | |
350 | + | then throw("Account suspended") | |
351 | + | else if ((aH == v)) | |
352 | + | then throw("Account removed") | |
353 | + | else if (!(ao(ap, aq, aF))) | |
354 | + | then throw("Problem with CID") | |
355 | + | else if (!(as(at, aG))) | |
356 | + | then throw("Problem with Hashes") | |
357 | + | else { | |
358 | + | let aN = A(S(P, aj)) | |
359 | + | if ((aN == "")) | |
360 | + | then throw("Entry not found") | |
361 | + | else if (!(av(az, 100))) | |
362 | + | then throw("100 Char. max name") | |
363 | + | else if (!(av(aA, 1000))) | |
364 | + | then throw("1000 Char. max description") | |
365 | + | else { | |
366 | + | let aR = A(ah(P, aj)) | |
367 | + | if ((aR == "ILLEGAL")) | |
368 | + | then throw("Cannot update ILLEGAL artwork") | |
369 | + | else { | |
370 | + | let aS = { | |
371 | + | let r = getInteger(this, Z(P, aj)) | |
372 | + | if ($isInstanceOf(r, "Int")) | |
373 | + | then { | |
374 | + | let aT = r | |
375 | + | if ((aT == 0)) | |
376 | + | then false | |
377 | + | else true | |
378 | + | } | |
379 | + | else false | |
380 | + | } | |
381 | + | if ((size(split(aB, ",")) > 5)) | |
382 | + | then throw("5 tags max.") | |
383 | + | else if ((aD > 10)) | |
384 | + | then throw("10 editions max per artwork") | |
385 | + | else if (!(aS)) | |
386 | + | then [StringEntry(S(P, aj), az), StringEntry(T(P, aj), aA), StringEntry(U(P, aj), ap), StringEntry(W(P, aj), aq), StringEntry(V(P, aj), at), StringEntry(ac(P, aj), aF), StringEntry(ab(P, aj), aG), IntegerEntry(X(P, aj), aD), StringEntry(ad(P, aj), aB), StringEntry(ae(P, aj), aC)] | |
387 | + | else throw("Already minted") | |
388 | + | } | |
389 | + | } | |
390 | + | } | |
391 | + | } | |
392 | + | ||
393 | + | ||
394 | + | ||
395 | + | @Callable(D) | |
396 | + | func flagArtwork (R,aU,aR) = { | |
397 | + | let P = toString(addressFromPublicKey(D.callerPublicKey)) | |
398 | + | let aV = toBase58String(D.transactionId) | |
399 | + | if (containsElement([j, k, toString(this)], P)) | |
400 | + | then if ((aR == "CONSENT")) | |
401 | + | then [StringEntry(ah(aU, R), aR)] | |
402 | + | else if ((aR == "")) | |
403 | + | then [StringEntry(ah(aU, R), aR)] | |
404 | + | else if ((aR == "ILLEGAL")) | |
405 | + | then [StringEntry(ah(aU, R), aR), StringEntry(S(aU, R), "ILLEGAL CONTENT"), StringEntry(T(aU, R), "ILLEGAL CONTENT"), StringEntry(U(aU, R), ""), StringEntry(W(aU, R), ""), StringEntry(ac(aU, R), "")] | |
406 | + | else throw(("Unknow status " + aR)) | |
407 | + | else throw("You are not allowed") | |
408 | + | } | |
409 | + | ||
410 | + | ||
411 | + | ||
412 | + | @Callable(D) | |
413 | + | func deleteArtwork (R,aU) = { | |
414 | + | let P = toString(addressFromPublicKey(D.callerPublicKey)) | |
415 | + | let aV = toBase58String(D.transactionId) | |
416 | + | let aW = if (containsElement([j, k, toString(this)], P)) | |
417 | + | then aU | |
418 | + | else P | |
419 | + | let aN = A(S(aW, R)) | |
420 | + | if ((aN == "")) | |
421 | + | then throw("No art matching for this address") | |
422 | + | else { | |
423 | + | let aS = { | |
424 | + | let r = getInteger(this, Z(aW, R)) | |
425 | + | if ($isInstanceOf(r, "Int")) | |
426 | + | then { | |
427 | + | let aT = r | |
428 | + | if ((aT != 0)) | |
429 | + | then true | |
430 | + | else false | |
431 | + | } | |
432 | + | else false | |
433 | + | } | |
434 | + | let aX = C(X(aW, R)) | |
435 | + | let J = A(ai(aW, R)) | |
436 | + | if ((J == "")) | |
437 | + | then throw("No art hash matching for this address") | |
438 | + | else { | |
439 | + | let H = A(Y(aW, R)) | |
440 | + | if ((H == "")) | |
441 | + | then throw("No SIGN ID matching") | |
442 | + | else { | |
443 | + | let aY = [DeleteEntry(Q(aW, R)), DeleteEntry(S(aW, R)), DeleteEntry(T(aW, R)), DeleteEntry(U(aW, R)), DeleteEntry(W(aW, R)), DeleteEntry(V(aW, R)), DeleteEntry(ab(aW, R)), DeleteEntry(ac(aW, R)), DeleteEntry(ae(aW, R)), DeleteEntry(ad(aW, R)), DeleteEntry(X(aW, R)), DeleteEntry(Y(aW, R)), DeleteEntry(Z(aW, R)), DeleteEntry(aa(aW, R)), DeleteEntry(ah(aU, R)), DeleteEntry(ak(J)), DeleteEntry(al(aW, H)), DeleteEntry(an(J, aW))] | |
444 | + | if (!(aS)) | |
445 | + | then if (!(q)) | |
446 | + | then throw(t) | |
447 | + | else aY | |
448 | + | else if (containsElement([j, toString(this)], P)) | |
449 | + | then aY | |
450 | + | else throw("Art already minted, cannot delete") | |
451 | + | } | |
452 | + | } | |
453 | + | } | |
454 | + | } | |
455 | + | ||
456 | + | ||
457 | + | ||
458 | + | @Callable(D) | |
459 | + | func sellArtwork (R,aZ,aX,aL) = if (!(q)) | |
460 | + | then throw(t) | |
461 | + | else { | |
462 | + | let aV = toBase58String(D.transactionId) | |
463 | + | let P = toBase58String(D.caller.bytes) | |
464 | + | let ba = lastBlock.timestamp | |
465 | + | let bb = A(S(P, R)) | |
466 | + | if ((bb == "")) | |
467 | + | then throw("This art doesn't match match your account") | |
468 | + | else { | |
469 | + | let bc = A(W(P, R)) | |
470 | + | if ((size(split(bc, "/")[0]) != 59)) | |
471 | + | then throw("You cannot sell art with no export file") | |
472 | + | else { | |
473 | + | let bd = A(V(P, R)) | |
474 | + | if ((size(bd) != 64)) | |
475 | + | then throw("You cannot sell art with no export hash") | |
476 | + | else if (if (if ((aL != toBase58String(g))) | |
477 | + | then (aL != toBase58String(i)) | |
478 | + | else false) | |
479 | + | then (aL != toBase58String(h)) | |
480 | + | else false) | |
481 | + | then throw("Only SIGN, USDN or WAVES accepted") | |
482 | + | else { | |
483 | + | let be = if (a) | |
484 | + | then 1 | |
485 | + | else B("waves_min_sell") | |
486 | + | let bf = 1000000 | |
487 | + | let bg = if (a) | |
488 | + | then 1 | |
489 | + | else (B(("certification_fee_" + toBase58String(g))) * 2) | |
490 | + | if (if (if (if (if ((aL == toBase58String(h))) | |
491 | + | then (bf > aZ) | |
492 | + | else false) | |
493 | + | then (aZ != 0) | |
494 | + | else false) | |
495 | + | then true | |
496 | + | else if (if ((aL == toBase58String(g))) | |
497 | + | then (bg > aZ) | |
498 | + | else false) | |
499 | + | then (aZ != 0) | |
500 | + | else false) | |
501 | + | then true | |
502 | + | else if (if ((aL == toBase58String(i))) | |
503 | + | then (be > aZ) | |
504 | + | else false) | |
505 | + | then (aZ != 0) | |
506 | + | else false) | |
507 | + | then throw("Wrong minimum sell price") | |
508 | + | else { | |
509 | + | let aH = y(O(P)) | |
510 | + | if (if ((aH == "")) | |
511 | + | then true | |
512 | + | else (aH == x)) | |
513 | + | then throw("Register this account first") | |
514 | + | else if ((aH == u)) | |
515 | + | then throw("Account suspended") | |
516 | + | else if ((aH == v)) | |
517 | + | then throw("Account deleted") | |
518 | + | else { | |
519 | + | let bh = C(Z(P, R)) | |
520 | + | let bi = C(X(P, R)) | |
521 | + | if ((aX > 10)) | |
522 | + | then throw("10 editions max per artwork") | |
523 | + | else if (if ((bh != 0)) | |
524 | + | then (bh == bi) | |
525 | + | else false) | |
526 | + | then throw("Max edition reached.") | |
527 | + | else if (if ((bh > 0)) | |
528 | + | then (bi != aX) | |
529 | + | else false) | |
530 | + | then throw("Cannot change maximum issuable anymore") | |
531 | + | else { | |
532 | + | let bj = if (if ((aZ > 0)) | |
533 | + | then (aX > 0) | |
534 | + | else false) | |
535 | + | then true | |
536 | + | else false | |
537 | + | [BooleanEntry(aa(P, R), bj), IntegerEntry(af(P, R), aZ), IntegerEntry(X(P, R), aX), StringEntry(ag(P, R), aL)] | |
538 | + | } | |
539 | + | } | |
540 | + | } | |
541 | + | } | |
542 | + | } | |
543 | + | } | |
544 | + | } | |
545 | + | ||
546 | + | ||
547 | + | ||
548 | + | @Callable(D) | |
549 | + | func buyArtwork (R,bk) = if (!(q)) | |
550 | + | then throw(t) | |
551 | + | else { | |
552 | + | let aV = toBase58String(D.transactionId) | |
553 | + | let P = toBase58String(D.caller.bytes) | |
554 | + | let bl = C("total_nft_issued") | |
555 | + | let H = A(Y(bk, R)) | |
556 | + | let bb = A(S(bk, R)) | |
557 | + | if ((bb == "")) | |
558 | + | then throw("Art doesn't exist") | |
559 | + | else { | |
560 | + | let bm = A(U(bk, R)) | |
561 | + | let bc = A(W(bk, R)) | |
562 | + | let bd = A(V(bk, R)) | |
563 | + | let aF = A(ac(bk, R)) | |
564 | + | let aG = A(ab(bk, R)) | |
565 | + | let aA = take(A(T(bk, R)), 50) | |
566 | + | let bh = C(Z(bk, R)) | |
567 | + | let bn = C(af(bk, R)) | |
568 | + | let bo = F(aa(bk, R)) | |
569 | + | let bp = A(ag(bk, R)) | |
570 | + | let bq = A(ai(bk, R)) | |
571 | + | let bi = C(X(bk, R)) | |
572 | + | if (if (if ((0 >= bn)) | |
573 | + | then true | |
574 | + | else !(bo)) | |
575 | + | then true | |
576 | + | else (0 >= bi)) | |
577 | + | then throw("Art not for sale") | |
578 | + | else { | |
579 | + | let aJ = value(D.payments[0]) | |
580 | + | let aK = value(aJ.amount) | |
581 | + | let aL = if (!(isDefined(aJ.assetId))) | |
582 | + | then unit | |
583 | + | else if (if ((size(bp) > 0)) | |
584 | + | then (toBase58String(value(aJ.assetId)) == bp) | |
585 | + | else false) | |
586 | + | then aJ.assetId | |
587 | + | else throw("Wrong asset id") | |
588 | + | if (if ((aL == unit)) | |
589 | + | then (bp != "") | |
590 | + | else false) | |
591 | + | then throw("Wrong asset id") | |
592 | + | else { | |
593 | + | let br = E(bk) | |
594 | + | let bs = if ((br == 1)) | |
595 | + | then 0 | |
596 | + | else if ((bp == toBase58String(g))) | |
597 | + | then 8 | |
598 | + | else 10 | |
599 | + | let bt = fraction(aK, bs, 100) | |
600 | + | let bu = (aK - bt) | |
601 | + | if ((bh == bi)) | |
602 | + | then throw("Art sold out") | |
603 | + | else if ((bn != aK)) | |
604 | + | then throw("Payment don't match") | |
605 | + | else { | |
606 | + | let bv = (bh + 1) | |
607 | + | let bw = lastBlock.timestamp | |
608 | + | let bx = ((((((((((((((((((((((((((("Creator: " + bk) + ", | |
609 | + | ArtID: ") + R) + ", | |
610 | + | SignID: ") + H) + ", | |
611 | + | Artwork name: ") + bb) + ", | |
612 | + | Artwork description: ") + aA) + ", | |
613 | + | Issue: ") + toString(bv)) + "/") + toString(bi)) + ", | |
614 | + | Max issuable: ") + toString(bi)) + ", | |
615 | + | Source hash: ") + bq) + ", | |
616 | + | Display cid: ") + bm) + ", | |
617 | + | Export cid: ") + bc) + ", | |
618 | + | Export hash: ") + bd) + ", | |
619 | + | Licence cid: ") + aF) + ", | |
620 | + | Licence hash: ") + aG) | |
621 | + | let by = Issue(("SA_" + toString((bl + 1))), bx, 1, 0, false) | |
622 | + | let bz = calculateAssetId(by) | |
623 | + | let bj = if ((bv == bi)) | |
624 | + | then false | |
625 | + | else true | |
626 | + | [IntegerEntry(Z(bk, R), bv), StringEntry(("nft_" + toBase58String(bz)), ((((((("art_sold_" + toString(bv)) + "_of_") + toString(bi)) + "_") + R) + "_") + bk)), StringEntry(((((((("art_sold_" + toString(bv)) + "_of_") + toString(bi)) + "_") + R) + "_") + bk), ((((((((((P + "_") + toString(bw)) + "_") + aV) + "_") + toString(bn)) + "_") + bp) + "_") + toBase58String(bz))), IntegerEntry("total_nft_issued", (bl + 1)), BooleanEntry(aa(bk, R), bj), by, ScriptTransfer(Address(fromBase58String(bk)), bu, aL), ScriptTransfer(Address(fromBase58String(d)), bt, aL), ScriptTransfer(D.caller, 1, bz)] | |
627 | + | } | |
628 | + | } | |
629 | + | } | |
630 | + | } | |
631 | + | } | |
632 | + | ||
633 | + | ||
634 | + | ||
635 | + | @Callable(D) | |
636 | + | func deleteEntry (bA) = { | |
637 | + | let P = toString(addressFromPublicKey(D.callerPublicKey)) | |
638 | + | if ((P == j)) | |
639 | + | then [DeleteEntry(bA)] | |
640 | + | else throw("no") | |
641 | + | } | |
642 | + | ||
643 | + |
github/deemru/w8io/026f985 42.23 ms ◑